此插件允许你创建一个受限物品列表,你可以限制物品的所有权、使用、放置、拾取、酿造药水、穿戴盔甲、掉落、熔炼、合成或来自创造模式菜单的物品。它还包含一个世界扫描器,用于移除已放置的方块。该插件最初是为模组服务器设计的,因为在这些服务器上你需要限制危险物品。它已在 MCPC 1.6.4 和 KCauldron 1.7.10 上经过充分测试,在更新版本中应该也能正常运行。
重要提示! 我为我的 1.6.4 和 1.7.10 模组服务器制作了此插件,在这些服务器上需要禁止不良物品,因此它是为此目的而开发的。如果你仍在运行 1.6 或 1.7 的模组服务器,这个插件效果很好!然而,自从 Minecraft 1.9 发布后,进行了大量更改以移除物品的数字 ID,而在 1.13 中它们被完全移除。由于此插件是基于物品 ID 设计的,因此对该插件进行进一步更新已无意义。我将不再为此插件更新更高版本的 Minecraft,此外,由于我的时间有限,新增功能的更新也不太可能。但插件源代码是可用的,如果你有改进需求。
功能特性
- 可以在所有世界或特定世界中启用限制。配置选项 'EnableOnAllWorlds: true' 对于模组服务器非常有用,因为玩家可以在其中创建维度,通过此选项,没有人能够在某些世界中绕过限制。
- 提供可配置的世界扫描器功能。世界扫描器会扫描加载的区块以移除受限物品。* * 扫描是在单独的线程中进行的,因此不会影响服务器性能。
- 受限列表保存的是物品 ID,这样可以轻松限制模组物品和原版物品。
- 你可以为每个受限物品提供理由。
- 命令执行时以及与受限物品交互时会播放音效。
- 所有聊天消息和前缀均可自定义,支持完整的颜色和格式代码。
- 尝试从地面拾取受限物品时会显示粒子效果。
局限性!
- 由于 Minecraft 1.9 发布后,一些物品(如药水)具有相同的物品 ID 和数据值,因此在 1.9 及更高版本中无法再对其进行限制,因为此插件使用的是物品 ID 和数值而非 NBT 数据。
- 在任何 Spigot 1.12 版本中,由于存在 bug,从游戏中移除配方已不再可能。请使用 CraftingBan 功能,直到此问题修复。Bug 追踪器:
你可以限制什么?
所有权
这是主要的限制方式,涵盖多种获取物品的方式。如果玩家设法将物品放入其背包或试图拾取它们,将会没收这些物品。
使用
这将阻止使用物品或已放置的方块。
合成
你可以仅阻止物品的合成,并允许拥有 bypass 权限的玩家继续合成它们,或者完全从游戏中移除合成配方。
熔炼
这将从游戏中完全移除熔炼配方,任何人都无法熔炼它。
放置
阻止放置某些方块。
破坏方块
限制破坏某些方块。
酿造
阻止酿造某些药水。
穿戴盔甲
阻止玩家穿戴某些盔甲。
创造模式
阻止通过创造模式菜单或鼠标中键获取某些物品。
拾取
阻止拾取物品。
掉落
阻止掉落某些物品。
世界禁用
这将使用世界扫描器来移除地图上已放置的方块。
无需依赖项。
安装说明
- 将插件放入服务器的 plugins 文件夹中。
- 启动服务器以生成 config.yml 和 RestrictedItems.yml 配置文件,然后停止服务器。
- 打开 config.yml 并自定义设置,然后打开 RestrictedItems.yml 以向受限列表中添加物品。你将在配置文件中找到许多关于设置以及如何向受限列表添加物品的详细信息。
- 启动服务器。完成,享受吧,你的服务器现在将是安全的。
如何向受限列表中添加物品?
- 打开 RestrictedItems.yml 配置文件并在其中添加物品,你会在那里找到关于如何操作的详细信息。
- 保存所做的更改并运行命令 /itemrestrict reload 以应用更改。
权限
ItemRestrict.bypass -> 绕过所有限制
ItemRestrict.admin -> 绕过物品限制并访问 /itemrestrict reload 命令。默认给予 OP(管理员)权限
仅对部分物品设置禁止例外。
权限结构: ItemRestrict.bypass.itemID.dataValue.restrictionType
限制类型: use | place | break | craft | brew | creative | own | wear | drop | pickup
示例:
ItemRestrict.bypass.57.*.place
ItemRestrict.bypass.57.*.craft
ItemRestrict.bypass.57.*.*
ItemRestrict.bypass.57.10.own
ItemRestrict.bypass.57.10.*
命令
/itemrestrict 和 /itemrestrict help -> 将显示帮助页面
/itemrestrict reload -> 重新加载 config.yml 和 RestrictedItems.yml 配置文件。需要权限:ItemRestrict.admin
注意事项!
本插件的灵感来源于流行的 TekkitCustomizer 插件,但由于我们需要一些功能变更和更新,因此从零开始编写了此插件,保留了相似的功能并添加了新的选项以满足我们的需求。
如果您喜欢本资源并希望捐赠以表感谢,请使用以下 PayPal 按钮。谢谢!
本插件由 CraftersLand Minecraft 社区制作。
:) 欢迎查看我们的网站:
This plugin allows you to create a restricted items list, you can restrict item ownership, usage, placement, pickup, brewing potions, wearing armor, drop, smelt, craft or items from creative menu. Also it features a world scanner to remove blocks already placed. It was created for modded servers in first place because there you need to restrict dangerous stuff. Was well tested on MCPC 1.6.4 and KCauldron 1.7.10, should work fine on newer versions.
Important! I made this plugin for my 1.6.4 and 1.7.10 modded servers where you need to ban bad items, it was made for this thing in mind and if you still run a 1.6 or 1.7 modded server this works great! However since 1.9 Minecraft made allot of changes to remove items numeric ID's and in 1.13 they are now completely removed, this plugin was made to work with item ID's therefore further updates no longer make sense on this plugin. I will no longer update this plugin for newer Minecraft versions, also updates with new features will be less likely as my time is limited. But plugin source code is available if you need to improve it.
======> My plugins | My servers <======
Features
- Restrictions can be enabled on all worlds or specific worlds. Config option 'EnableOnAllWorlds: true' it's great for modded servers where players can create dimensions and with this option nobody will be able to bypass restrictions in some worlds.
- Features a World Scanner that can be enabled or disabled in the config. The world scanner scans the loaded chunks to remove restricted items. * * The scanning is done in a separate thread so the server performance will not be affected.
- The restricted list saves the items ID, this way it's easy to restrict modded items and vanilla items too.
- You can provide reasons for each restricted item.
- Features sound effects on commands and when interacting with a restricted item.
- All chat messages and prefix can be customized with full color and format codes support.
- Features particle effects when trying to pickup a restricted item from the ground.
Limitations!
- Because after minecraft 1.9 came out some items like potions have the same item ID and data value, restricting them is no longer possible in versions 1.9 and later because this plugin uses items ID and values and not NBT data.
- Removing recipes from the game is no longer possible in any spigot 1.12 versions due to a bug. Use CraftingBan feature until this is fixed. Bug tracker:
What can you restrict?
Ownership
This is the main restriction that covers multiple ways of getting items. This will confiscate the items if the player manage to get them in his inventory or tries to pick them up.
Usage
This will block the usage of items or placed blocks.
Crafting
You can just block the crafting of items and allow others with bypass permission to still craft them or completely remove the crafting recipe from the game.
Smelting
This will completely remove the smelting recipe from the game and nobody will be able to smelt it.
Placement
Blocks the placement of certain blocks.
Block break
Restrict breaking of certain blocks.
Brewing
Block brewing of certain potions.
Wearing Armor
Block players from wearing certain armors.
Creative
Block getting certain items using the creative menu or mouse middle click.
Pickup
Block the pickup of items.
Drop
Block dropping of certain items.
World Banned
This will use the world scanner to remove blocks already placed on the map.
No Dependencies.
Install instructions
- Place the plugin in the server plugins folder.
- Start the server to generate the config.yml and the RestrictedItems.yml configs, then stop the server.
- Open the config.yml and customize the settings, then open the RestrictedItems.yml to add items to the restricted list. You will find in the config file a lot of details about settings and how to add items to the restricted list.
- Start the Server. Done, enjoy you server will be safe now.
How to add items to the Restricted list?
- Open the RestrictedItems.yml config and add the items there, you will find there details about how to do it.
- Save the changes done and run the command /itemrestrict reload to apply the changes.
Permissions
ItemRestrict.bypass -> Bypass all the restrictions
ItemRestrict.admin -> Bypass the item restrictions and access to the /itemrestrict reload command. Default to OP
Ban Exceptions on some items only.
Permission structure: ItemRestrict.bypass.itemID.dataValue.restrictionType
Restriction types: use | place | break | craft | brew | creative | own | wear | drop | pickup
Examples:
ItemRestrict.bypass.57.*.place
ItemRestrict.bypass.57.*.craft
ItemRestrict.bypass.57.*.*
ItemRestrict.bypass.57.10.own
ItemRestrict.bypass.57.10.*
Commands
/itemrestrict and /itemrestrict help -> Will give you the help page
/itemrestrict reload -> Reloads the config.yml and RestrictedItems.yml configs. Needs permission: ItemRestrict.admin
Notes!
This plugin was inspired by popular TekkitCustomizer plugin, but as we needed some things changed and updated we coded this plugin from 0 with similar features and new options to fit our needs.
If you like this resource and want to say thank you with a donation please use this PayPal button. Thanks!
This plugin is made by CraftersLand Minecraft Community.
:) Feel free to check us out at:
下载 Item Restrict by CraftersLand
下载 Item Restrict by CraftersLand
下载 Item Restrict by CraftersLand
下载 Item Restrict by CraftersLand
下载 Item Restrict by CraftersLand
下载 Item Restrict by CraftersLand
下载 Item Restrict by CraftersLand
下载 Item Restrict by CraftersLand
下载 Item Restrict by CraftersLand
下载 Item Restrict by CraftersLand
支持:1.6.4 - 1.12.2
- 使用 Spigot 1.12.2 编译
- 改进了 DisableRecipe 功能。
无需更改配置!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
一个用于 Minecraft 服务器的权限插件/模组。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
评论 0
登录后参与评分
还没有评论,来抢沙发吧