BlockProtection
这是 Kanlaki101 的 BlockProtection 插件的后续版本。这是一个基于 cvenomz 的 OwnBlocks 开发的区块保护插件。
BlockProtection 会保存你放置的任何方块,以防止其他玩家破坏它。
只有放置该方块的玩家、其好友列表中的任何人或管理员才能破坏该方块。
开发者、有建议或想要提供帮助?
我欢迎任何形式的帮助。加入 IRC 频道,或直接私信我!
依赖项
Vault:Vault 是 BlockProtection 在你的服务器上运行所必需的。
Vault 被用作 API,以便 BlockProtection 可以挂钩到几乎所有的权限系统。
你可以获取 Vault 链接。
WorldEdit 为软依赖。
用于已选区域方块保护的转移。
你可以获取 WorldEdit 链接。
功能:
方块保护
你的玩家放置的每个方块都将在数据库中得到保护。
排除方块列表
防止某些方块被保护。
管理员绕过
你的管理员可以绕过 BlockProtection 并破坏任何玩家的方块。
好友系统
允许你的玩家与好友一起建造!他们可以根据需要添加/移除好友。
从哪里开始?
安装:
- 确保你已经安装了 Vault。
- 将 BlockProtection.jar 放入 /plugins 文件夹中。
- 首次加载时,将创建 config.yml、friendslist.yml 和 Database.db。
- 打开 config.yml 并根据需要进行编辑,然后使用 /bpreload 命令。
权限:
- bp.admin(默认为 op)
允许玩家绕过 BlockProtection,手动添加方块,并获得工具
- bp.friend(默认为 true)
允许访问所有好友列表功能
- bp.reload(默认为 op)
允许管理员从配置文件中重新加载所有设置
- bp.user(默认为 true)
允许玩家使用 BlockProtection,并查看方块的拥有者
- bp.giveblock(默认为 op)
允许给予方块(通过工具,默认是木棍)
- bp.transfer(默认为 op)
允许从 WorldEdit 选定区域转移方块
命令
- /bp [on/off]
开启/关闭 BlockProtection,添加 on/off 是可选的。
- /bpadd [playername]
将玩家添加到你的好友列表
- /bpadmin
开启/关闭 BlockProtection 绕过
- /bpreload
(不会重新加载“save-interval”的更改!需要重启服务器!)
从 config.yml 重新加载设置
- /bpremove [playername]
从好友列表中移除玩家
- /bpgive [playername]
使用工具将所有方块给予指定名称的玩家。要禁用此功能,请输入 /bpgive。
- /bptransfer [playername]
在 WorldEdit 选择区域后。此命令将所选方块的保护转移给 [playername]。
如果不提供参数,所选方块的保护将被移除。你需要 bp.transfer 或 bp.admin 权限才能执行此操作。
- /bpimport [world]
从 WatchBlock MySQL 导入方块。请检查配置文件中的 MySQL 连接设置。如果数据库中有大量方块,请耐心等待。
建议/帮助:
非常重要:如果你想添加新功能或修复问题,请务必回复我将提出的问题!
要提交工单以寻求帮助或提出建议,请点击页面顶部的工单选项卡。
创建新工单,并添加相应的标签。
BlockProtection
This is a continuation of the BlockProtection plugin by Kanlaki101. A block protection plugin based off of OwnBlocks by cvenomz.
BlockProtection will save any block you place down, to prevent other players from breaking it.
Only the player who placed the block, anyone on his friends list, or an admin can break the block.
Developers, have suggestions, or would like to help?
I welcome any and all help. Join me in IRC, or PM me!
Dependencies
Vault: Vault is required for BlockProtection to work on your server.
Vault is used as an API so that BlockProtection can hook into almost every permissions system.
You can get Vault Link.
WorldEdit is Soft Dependencie.
Needed for selected region block protection transfer.
You can get WorldEdit Link.
Features:
Block Protection
Every block your players place will be protected in the database.
Block Exclude List
Prevent certain blocks from being protected.
Admin Bypass
Your admins can bypass BlockProtection and break any player's blocks.
Friends System
Allow your players to build with friends! They can add/remove them as needed.
Where do I begin?
Installation:
- Make sure you have Vault installed.
- Drop BlockProtection.jar into your /plugins folder.
- On first load, config.yml, friendslist.yml, and the Database.db will be created.
- Open config.yml and edit it to your liking, then use the /bpreload command.
Permissions:
- bp.admin (Defaults to op)
Allows players bypass BlockProtection, add blocks manually, and get the utility tool
- bp.friend (Defaults to true)
Allows access to all of the Friends List features
- bp.reload (Defaults to op)
Allows admins to reload all settings from the configuration file
- bp.user (Defaults to true)
Allow players to use BlockProtection, and view the owner of blocks
- bp.giveblock (Defaults to op)
Allows to give block (by Tool (stick by default))
- bp.transfer (Defaults to op)
Allows to transfer blocks from WorldEdit selected region
Commands
- /bp [on/off]
Toggle BlockProtection on/off, adding on/off is optional.
- /bpadd [playername]
Add a player to your friends list
- /bpadmin
Toggle BlockProtection bypass on/off
- /bpclear
Clears your entire friends list
- /bplist
List all players from your friends list
- /bpreload
(Will not reload changes to "save-interval". Restart required!)
Reloads settings from config.yml
- /bpremove [playername]
Remove a player from friends list
- /bptool
Gives the player 1 of the "utility tool"
- /bpgive [playername]
All blocks will be given to Name player, by using Tool. To disable write /bpgive.
- /bptransfer [playername]
After region selected by World edit. This command will transfer protection of selected blocks to [playername].
When no arguments are given the protection of the selected blocks will be removed. You need bp.transfer or bp.admin to do this.
- /bpimport [world]
Import's blocks from WatchBlock MySQL. Check config for MySQL connection settings. If there are many blocks in the database please wait.
Suggestions/Help:
Very important: If you want something added or fixed, reply to questions I will ask!
To submit a ticket for help or a suggestion, click the ticket tab on the top of the page.
Create a new ticket, and add the appropriate label.
评论 0
登录后参与评分
还没有评论,来抢沙发吧