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 - 如果你希望当玩家尝试放置没有权限的方块时接收消息,请给用户这个权限
命令
物品或方块
其他
命令
- /NB - 返回当前运行的版本。
计划中的功能
- 彩色广播
- 控制台日志彩色显示 - 如果你喜欢这个想法,请留言评论
请留下你的意见和建议!
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
- naughtyblocks.maincommand - Give your users this if you want them to be able to use the /nb command
- 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
- 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
Items or Blocks
Other
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!
下载 Naughty Blocks
下载 Naughty Blocks
下载 Naughty Blocks
下载 Naughty Blocks
下载 Naughty Blocks
下载 Naughty Blocks
下载 Naughty Blocks
下载 Naughty Blocks
下载 Naughty Blocks
下载 Naughty Blocks
1.7
- 支持 1.5!
1.6
- 代码清理
- 修复了 OP 漏洞
1.51
- 代码更新
1.5
- 拥有相应权限的 OP 现在可以放置方块
1.41
- 修复了导致插件无法加载的 bug
- 添加了 nb.broadcast 权限。
1.4
- 兼容 1.4!
- 提升了效率
- 恢复使用旧的权限系统
1.3
- 添加了通过权限取消某些操作(如在放置方块时被踢出或烧伤)的选项
- 反转了系统逻辑:现在,赋予某人权限是为了阻止他们使用该功能,而不是允许他们放置方块。
1.2
- 为主命令添加了权限
- 将末影箱加入插件
1.11
- 更新了权限配置,以便更好地与 Vault 兼容
1.1
- 修复了熔岩桶和水桶的 bug
1.0
- 正式发布
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧