GriefPrevention3D
简介
GriefPrevention3D 是一款功能全面的 Minecraft 服务器防破坏插件。它允许玩家通过创建三维领地、管理信任等级等方式来保护自己的建筑。本插件受原版 GriefPrevention 插件启发,但增加了三维领地的特性。
特性
- 三维领地: 创建长方体领地,在三个维度上全面保护你的建筑。
- 领地调整大小: 使用金铲右键点击角落标记,即可轻松调整领地大小。
- 领地区块系统: 随时间推移获得领地区块,以扩大你的保护区域。
- 信任系统: 为你的领地中的其他玩家授予不同级别的权限。
- 子领地: 将你的领地划分为更小、更易管理的子区域。
- 高级防护: 防止爆炸、活塞和流体流动造成的破坏。
- FAWE 集成: 使用 FastAsyncWorldEdit 保存和加载领地作为结构文件(schematics)。
- 可配置: 通过
config.yml 文件自定义插件以满足你服务器的需求。
安装
- 将
GriefPrevention3D.jar 文件放入服务器的 plugins 目录中。
- 安装最新版本的 FastAsyncWorldEdit。
- 重启服务器。
调整领地大小
要调整领地大小,请手持金铲。你将看到领地的角落用金块标记。右键点击其中一个角落块以选择它进行调整。然后,右键点击新位置以移动该角落。插件会自动计算新的领地体积,并检查你是否拥有足够的领地区块。
命令
| 命令 |
描述 |
/claim create |
创建新领地。 |
/claim abandon |
删除你当前站立的领地。 |
/claim trust <player> <level> |
在你的领地中信任某玩家。 |
/claim untrust <player> |
在你的领地中取消对某玩家的信任。 |
/claim subdivide |
切换子领地模式。 |
/claim blocks |
显示你的领地区块余额。 |
/claim giveblocks <player> <amount> |
给予某玩家领地区块。(仅限管理员) |
/claim saveall |
将所有领地保存为结构文件,并删除旧的未使用的结构文件。(仅限管理员) |
/claim loadall |
从结构文件加载所有领地。(仅限管理员) |
/claim abandonall |
放弃该玩家的所有领地。 |
权限
| 权限 |
描述 |
默认值 |
griefprevention3d.claim.create |
允许玩家创建领地。 |
true |
griefprevention3d.claim.abandon |
允许玩家放弃他们的领地。 |
true |
griefprevention3d.claim.abandonall |
允许玩家放弃他们所有的领地。 |
true |
griefprevention3d.claim.trust |
允许玩家信任其他玩家。 |
true |
griefprevention3d.claim.untrust |
允许玩家取消对其他玩家的信任。 |
true |
griefprevention3d.claim.subdivide |
允许玩家划分他们的领地。 |
true |
griefprevention3d.claim.blocks |
允许玩家查看他们的领地区块余额。 |
true |
griefprevention3d.visualize |
允许玩家使用木棍可视化领地边界。 |
true |
griefprevention3d.admin.giveblocks |
允许管理员发放领地区块。 |
op |
griefprevention3d.admin.saveall |
允许管理员保存所有领地。 |
op |
griefprevention3d.admin.loadall |
允许管理员加载所有领地。 |
op |
griefprevention3d.admin.bypass |
允许玩家绕过领地保护。 |
op |
griefprevention3d.max-accrued-claim-blocks.<tier_name> |
根据配置的层级设置玩家的最大领地区块数。 |
false |
配置
config.yml 文件允许你自定义插件的各个方面。
claim-block-accrual:
amount: 500
max-limit: 10000
new-player-claim-blocks: 1000
visualization:
particle: "FLAME"
messages:
no-permission-break: "&c你没有权限在此领地内破坏方块。"
no-permission-place: "&c你没有权限在此领地内放置方块。"
no-permission-interact: "&c你没有权限与此领地内的方块交互。"
max-claim-blocks-by-permission:
default: 10000
griefprevention3d.max-accrued-claim-blocks.tier1: 20000
griefprevention3d.max-accrued-claim-blocks.tier2: 50000
claim-block-accrual.amount: 玩家每小时获得的领地区块数量。
claim-block-accrual.max-limit: 如果未找到特定权限,玩家拥有的最大领地区块数量的默认值。
new-player-claim-blocks: 新玩家初始拥有的领地区块数量。
visualization.particle: 用于可视化领地边界的粒子效果。
messages: 各种插件操作的可自定义消息。
max-claim-blocks-by-permission: 此部分基于权限定义不同的最大领地区块限制。插件将检查玩家是否具有此处列出的任何权限(例如 griefprevention3d.max-accrued-claim-blocks.tier1),并应用相应的最高限制。如果未找到特定权限,则将使用 default 值。
GriefPrevention3D
Introduction
GriefPrevention3D is a comprehensive grief prevention plugin for Minecraft servers. It allows players to protect their builds by creating 3D claims, managing trust levels, and more. This plugin is inspired by the original GriefPrevention plugin but with the added dimension of 3D claims.
Features
- 3D Claims: Create cuboid claims to protect your builds in all three dimensions.
- Claim Resizing: Easily resize your claims by right-clicking the corner markers with a golden shovel.
- Claim Block System: Earn claim blocks over time to expand your protected area.
- Trust System: Grant different levels of permission to other players in your claims.
- Subclaims: Divide your claims into smaller, manageable sub-areas.
- Advanced Protection: Protects against explosions, pistons, and fluid flow.
- FAWE Integration: Save and load claims as schematics using FastAsyncWorldEdit.
- Configurable: Customize the plugin to your server's needs through the
config.yml file.
Installation
- Place the
GriefPrevention3D.jar file in your server's plugins directory.
- Install the latest version of FastAsyncWorldEdit.
- Restart your server.
Resizing Claims
To resize a claim, hold a golden shovel. You will see the corners of your claims marked with gold blocks. Right-click one of the corner blocks to select it for resizing. Then, right-click a new location to move the corner. The plugin will automatically calculate the new claim volume and check if you have enough claim blocks.
Commands
| Command |
Description |
/claim create |
Creates a new claim. |
/claim abandon |
Deletes the claim you are standing in. |
/claim trust <player> <level> |
Trusts a player in your claim. |
/claim untrust <player> |
Untrusts a player in your claim. |
/claim subdivide |
Toggles subdivide mode. |
/claim blocks |
Shows your claim block balance. |
/claim giveblocks <player> <amount> |
Gives claim blocks to a player. (Admin only) |
/claim saveall |
Saves all claims to schematics and deletes old, unused schematic files. (Admin only) |
/claim loadall |
Loads all claims from schematics. (Admin only) |
/claim abandonall |
Abandons all of the player's claims. |
Permissions
| Permission |
Description |
Default |
griefprevention3d.claim.create |
Allows players to create claims. |
true |
griefprevention3d.claim.abandon |
Allows players to abandon their claims. |
true |
griefprevention3d.claim.abandonall |
Allows players to abandon all their claims. |
true |
griefprevention3d.claim.trust |
Allows players to trust other players. |
true |
griefprevention3d.claim.untrust |
Allows players to untrust other players. |
true |
griefprevention3d.claim.subdivide |
Allows players to subdivide their claims. |
true |
griefprevention3d.claim.blocks |
Allows players to check their claim block balance. |
true |
griefprevention3d.visualize |
Allows players to visualize claims with a stick. |
true |
griefprevention3d.admin.giveblocks |
Allows admins to give claim blocks. |
op |
griefprevention3d.admin.saveall |
Allows admins to save all claims. |
op |
griefprevention3d.admin.loadall |
Allows admins to load all claims. |
op |
griefprevention3d.admin.bypass |
Allows players to bypass claim protections. |
op |
griefprevention3d.max-accrued-claim-blocks.<tier_name> |
Sets a player's maximum claim blocks based on a configured tier. |
false |
Configuration
The config.yml file allows you to customize various aspects of the plugin.
claim-block-accrual:
amount: 500
max-limit: 10000
new-player-claim-blocks: 1000
visualization:
particle: "FLAME"
messages:
no-permission-break: "&cYou do not have permission to break blocks in this claim."
no-permission-place: "&cYou do not have permission to place blocks in this claim."
no-permission-interact: "&cYou do not have permission to interact with blocks in this claim."
max-claim-blocks-by-permission:
default: 10000
griefprevention3d.max-accrued-claim-blocks.tier1: 20000
griefprevention3d.max-accrued-claim-blocks.tier2: 50000
claim-block-accrual.amount: The number of claim blocks players receive every hour.
claim-block-accrual.max-limit: The default maximum number of claim blocks a player can have if no specific permission is found.
new-player-claim-blocks: The number of claim blocks a new player starts with.
visualization.particle: The particle effect used to visualize claim boundaries.
messages: Customizable messages for various plugin actions.
max-claim-blocks-by-permission: This section defines different maximum claim block limits based on permissions. The plugin will check if a player has any of the permissions listed here (e.g., griefprevention3d.max-accrued-claim-blocks.tier1) and apply the highest corresponding limit. If no specific permission is found, the default value will be used.
评论 0
登录后参与评分
还没有评论,来抢沙发吧