VoidItemControl

插件

· 作者 kuba_121

VoidItemControl | 一个高性能的物品交互管理与放置限制系统。

0 本站下载 0 关注 更新于 6 个月前

最新 1.0.2 · 1.21.11 · Bukkit / Folia

一键开服(送7天)

? VoidItemControl | 高级物品管理系统

VoidItemControl 是一款专为现代 Minecraft 服务器设计的专业、高性能物品交互管理系统。它允许管理员完全控制哪些物品可以被放置或掉落,支持独特的任务物品、货币以及特殊的服务器道具。

?️ 主要功能

  • 操作限制系统 – 根据物品的材质类型,精确阻止特定物品的 放置 (PLACEMENT) 或 掉落 (DROP) 操作。
  • 元数据敏感性 – 系统不仅通过材质识别物品,还通过 显示名称 (Display Name) 和 描述 (Lore) 进行识别,从而实现对独特受限物品的管控。
  • 通用兼容性 – 旨在在 Spigot、Paper、Bukkit 和 Folia 引擎上流畅运行,兼容版本从 1.8 到 1.21.x。
  • 虚空给予系统 – 集成的 /vic give 命令允许管理员立即向玩家授予配置文件中定义的物品,并保留所有元数据。
  • 权限绕过 – 灵活的权限系统,允许工作人员或特定玩家组忽略物品限制。

? 安装与设置

  1. 下载 .jar 文件。
  2. 将文件放入服务器的 /plugins 文件夹中。
  3. 重启服务器以生成配置文件。
  4. 在 config.yml 中自定义受限物品列表和系统消息。

?〢 配置示例

############################################################
#                                                          #
#           VOIDITEMCONTROL - CREATED BY KUBA_121          #
#     A professional item interaction management system    #
#                                                          #
############################################################

############################################################
#                                                          #
#  PERMISSIONS:                                            #
#  - voiditemcontrol.admin: Access to /vic reload/give     #
#  - voiditemcontrol.bypass: Immune to item restrictions   #
#                                                          #
############################################################

# Should the plugin notify you about new updates?
update-check: true

# Define your restricted items here
restricted-items:
  # Unique identifier for the restriction (used in /vic give)
  bedrock_rule:
    # Material name (Bukkit name)
    material: "BEDROCK"
    # Optional: Block only if the item has this specific name
    display-name: "&b&lVOID BEDROCK"
    # Optional: Block only if the item has this lore
    lore:
      - "&7This item is controlled"
      - "&bby the void system."
    # Actions to block
    prevent-placement: true
    prevent-drop: true
    # Should the player be notified when an action is blocked?
    notify-player: true

  magic_block:
    material: "COMMAND_BLOCK"
    display-name: "&d&lMAGICAL COMMAND BLOCK"
    lore:
      - "&7This is a block"
    prevent-placement: true
    prevent-drop: false
    notify-player: true

messages:
  # The global prefix for all system messages
  prefix: "&b&lVoidControl &r&8»&7"
  
  # Sent when a player tries to place a restricted block
  placement-blocked: "%prefix% &7The &bvoid &7prevents you from placing this object."
  
  # Sent when a player tries to drop a restricted item
  drop-blocked: "%prefix% &7This item is &bbound to your soul &7and cannot be dropped."
  
  # Standard system notifications
  no-permission: "%prefix% You lack the &bvoid power &7to do this."
  reload-success: "%prefix% Configuration reloaded &bsuccessfully&7."
  
  # Structure for the /voiditemcontrol help command
  help-menu:
    - "&8&m--------&r &b&lVoidControl Help &8&m--------"
    - "&7/vic help &8- &fDisplays this menu"
    - "&7/vic give <player> <key> [amount] &8- &fGive item"
    - "&7/vic reload &8- &fReloads the configuration"
    - "&8&m----------------------------------------"

  usage-command: "%prefix% Usage: &b/vic &8<&7help&8|&7reload&8|&7give&8>"

?️ 支持与社区

加入我们的 Code Hub 获取技术支持、错误报告及更新信息。

  • Discord: [Join Support Server]
  • Source: [GitHub]

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源