Naughty Blocks 是我制作的第一款插件,旨在防止玩家破坏服务器。
简而言之,它允许服务器管理员禁止用户使用特定的方块或物品。这可以通过权限系统来控制,赋予用户相应的权限以决定他们能否使用某些方块或物品。你可能会好奇为什么我将熔岩方块/水方块(方块 ID 8-11)加入此插件。这主要是为了指出是否有人在使用外挂(因为这些物品在正常情况下是不可能获取的),但我心想,既然已经做了,不如顺便加上权限功能。海绵和基岩方块也是如此。
要禁止某人使用某个方块或物品,请从下方列表中授予与该物品或方块相对的权限。
包含以下方块/物品
- TNT
- 基岩
- 海绵
- 打火石
- 熔岩桶
- 水桶
- 熔岩方块
- 水方块
- 末影箱
权限
命令
- naughtyblocks.maincommand - 如果你想让用户能够使用 /nb 命令,请给他们这个权限
物品或方块
- naughtyblocks.tnt - 如果你想让用户使用 TNT,请给他们这个权限
- naughtyblocks.bedrock - 如果你想让用户使用基岩,请给他们这个权限
- naughtyblocks.sponge - 如果你想让用户使用海绵,请给他们这个权限
- naughtyblocks.fire - 如果你想让用户使用火,请给他们这个权限
- naughtyblocks.lavabucket - 如果你想让用户使用熔岩桶,请给他们这个权限
- naughtyblocks.waterbucket - 如果你想让用户使用水桶,请给他们这个权限
- naughtyblocks.lavablock - 如果你想让用户使用熔岩方块,请给他们这个权限
- naughtyblocks.waterblock - 如果你想让用户使用水方块,请给他们这个权限
- naughtyblocks.enderchest - 如果你想让用户放置末影箱,请给他们这个权限
其他
- nb.broadcast - 如果你希望当玩家尝试放置没有权限的方块时接收消息,请给用户这个权限
命令
计划中的功能
- 彩色广播
- 控制台日志彩色显示 - 如果你喜欢这个想法,请留言评论
请留下你的意见和建议!
Naughty Blocks is the first plugin I have made, and is designed to stop people griefing servers.
Basically, it allows the server owners to stop users using certain blocks or items. This can be controlled using a permission system, giving people permissions to stop them using certain blocks or items. One thing that you may be curious about is why I put in the lava block/water block(blocks 8-11) in to the plugin. This was mainly to point out if someone is hacking(since these items are impossible to get normally), but I thought, while I'm at, might as well put permissions in. This also applies for the sponge and bedrock blocks.
To deny someone use of a block or item, give the permission relative to the item or block you want blocked from the list below
These blocks/items include
- TNT
- Bedrock
- Sponge
- Flint and Steel
- Lava Bucket
- Water Bucket
- Lava Block
- Water Block
- Ender Chest
Permissions
Commands
- naughtyblocks.maincommand - Give your users this if you want them to be able to use the /nb command
Items or Blocks
- naughtyblocks.tnt - Give your users this if you want them using TNT
- naughtyblocks.bedrock - Give your users this if you want them using bedrock
- naughtyblocks.sponge - Give your users this if you want them using sponge
- naughtyblocks.fire - Give your users this if you want them using fire
- naughtyblocks.lavabucket - Give your users this if you want them using lava buckets
- naughtyblocks.waterbucket - Give your users this if you want them using water buckets
- naughtyblocks.lavablock - Give your users this if you want them using lava blocks
- naughtyblocks.waterblock - Give your users this if you want them using water blocks
- naughtyblocks.enderchest - Give your users this if you want them placing ender chests
Other
- nb.broadcast - Give your users this if you wish for them to recieve messages when a player attempts to place a block without permission
Commands
- /NB - Returns the currently running version.
Planned features
- Coloured broadcasts
- Coloured logs to the console - Please leave a comment saying if you like this idea
Please leave your opinions and suggestions!
评论 0
登录后参与评分
还没有评论,来抢沙发吧