CatItems 是一款用于在游戏中直接创建自定义物品的插件。借助它,你可以为物品添加属性和附魔、隐藏工具提示、授予永久效果、在 Shift 键时创建能力、右键点击时生成 .schem 结构图、从物品执行命令、播放音效、设置冷却时间和使用次数限制,并将物品解析为 parse.yml 文件以供 DeluxeMenus 和其他菜单插件使用。
命令
/catitems give (id) — 给予一个插件中预设好的物品。
/catitems reload — 重新加载插件的配置和工作数据。
/item add attribute (slot) (attribute) (value) — 为物品添加属性。非常适合制作 RPG 武器、盔甲、护符和特殊物品。
/item add enchant (enchantment) (level) — 为物品添加附魔。
/item add flag (flag) (true/false) — 显示或隐藏特定的物品属性,例如附魔、属性以及其他工具提示。
/item add effect (effect) (level) (seconds) — 为药水添加效果。
/item add itemeffect (slot) (effect) (level) — 当物品位于指定槽位时,为玩家授予永久效果。
/item add save (true/false) — 将物品标记为已保存。
/item add block (true/false) — 阻止或允许将该物品作为方块使用。
/item add action create (name) command (command) (limit) — 右键点击物品时激活一条命令。非常适合制作幸运袋、封印金币、优惠券、钥匙、盲盒奖励和一次性神器等独特物品。
/item add action create (name) sound (sound name) (limit) — 为右键点击物品的玩家播放音效。适用于使用时产生视觉/听觉特效的场景。
/item add action create (name) shift effect (effect) (level) (duration) (radius) (limit) — 创建一个 Shift 动作,对半径内的玩家施加效果。
/item add action create (name) shift attribute (attribute) (value) (duration) (radius) (limit) — 创建一个 Shift 动作,临时改变半径内玩家的属性。
/item add action create (name) schem (schematic name) (limit) — 右键点击时在玩家位置生成一个 .schem 结构图。非常适合制作一次性基地、祭坛、竞技场和特殊建筑。
/item add action create (name) cooldown (milliseconds) — 设置使用该物品的冷却时间。
/item add action create (name) queue (false/all) — 配置命令动作的队列模式。false = 所有命令同时执行,all = 每次使用仅执行一条。
/item add action edit (name) command (command) (limit) — 编辑命令动作。
/item add action edit (name) sound (sound) (limit) — 编辑音效动作。
/item add action edit (name) shift effect (effect) (level) (seconds) (radius) (limit) — 编辑 Shift 效果动作。
/item add action edit (name) shift attribute (attribute) (value) (seconds) (radius) (limit) — 编辑 Shift 属性动作。
/item add action edit (name) schem (schematic name) (limit) — 编辑结构图动作。
/item add action edit (name) cooldown (milliseconds) — 更改物品的冷却时间。
/item add action edit (name) queue (false/all) — 更改命令队列模式。
/item add action remove (name) — 从物品中移除一个动作。
/item parse — 读取手中的物品并将其保存到 parse.yml 文件中。有助于将物品传输到 DeluxeMenus 和其他菜单插件中。
/item schem save (name) — 将使用 WorldEdit 或 FastAsyncWorldEdit 选择的区域保存为结构图。
/item schem list — 显示可用结构图的列表。
支持的動作类型
command — 右键点击物品后从控制台执行命令。
sound — 使用物品后为玩家播放音效。
shift — 按下 Shift 键时激活,并影响指定半径内的玩家。
schem — 在玩家位置放置一个 .schem 结构图。
cooldown — 限制物品的使用频率。
queue — 管理命令动作的执行顺序。
附加功能
Shift 能力 — 对半径内的玩家施加效果和属性。受影响玩家会在操作栏看到提示信息。
结构图支持 — 支持 .schem 文件。需要安装 WorldEdit 或 FastAsyncWorldEdit。
使用次数限制 — 允许制作一次性物品和有限次数使用的物品。
物品解析器 — 将物品以方便的配置文件格式保存到 parse.yml 中,便于轻松传输至 DeluxeMenus。
权限
catitems.give — 授予使用物品给予命令的权限。
catitems.edit — 授予所有编辑器命令的权限,包括 /item add、/item parse 和 /item schem。
安装监控
该插件会向 CatDev 网站发送技术统计信息。其中包括服务器名称、IP:PORT 以及当前在线玩家数量。产品所有者利用这些数据进行安装情况监控、服务器总数统计以及整体在线玩家数统计。
服务器名称优先取自 TAB 插件(如果可用),否则取自服务器 MOTD。
依赖项
结构图功能需要 WorldEdit 或 FastAsyncWorldEdit。
CatItems is a plugin for creating custom items directly in the game. With it, you can add attributes and enchantments to items, hide tooltips, grant permanent effects, create abilities on Shift, build .schem schematics on right-click, execute commands from an item, play sounds, set cooldowns and usage limits, and parse items into parse.yml for use in DeluxeMenus and other menu plugins.
Commands
/catitems give (id) — Gives a ready-made item from the plugin.
/catitems reload — Reloads the config and working data of the plugin.
/item add attribute (slot) (attribute) (value) — Adds an attribute to an item. Great for creating RPG weapons, armor, amulets, and special items.
/item add enchant (enchantment) (level) — Adds an enchantment to an item.
/item add flag (flag) (true/false) — Shows or hides specific item properties, such as enchantments, attributes, and other tooltips.
/item add effect (effect) (level) (seconds) — Adds an effect to a potion.
/item add itemeffect (slot) (effect) (level) — Gives the player a permanent effect while the item is in the specified slot.
/item add save (true/false) — Marks the item as saved.
/item add block (true/false) — Prevents or allows the item to be used as a block.
/item add action create (name) command (command) (limit) — Activates a command when right-clicking the item. Great for unique items like lucky bags, sealed gold, coupons, keys, case rewards, and single-use artifacts.
/item add action create (name) sound (sound name) (limit) — Plays a sound for the player who right-clicked the item. Useful for visual/audio effects when used.
/item add action create (name) shift effect (effect) (level) (duration) (radius) (limit) — Creates a Shift action that applies an effect to players within a radius.
/item add action create (name) shift attribute (attribute) (value) (duration) (radius) (limit) — Creates a Shift action that temporarily changes attributes of players within a radius.
/item add action create (name) schem (schematic name) (limit) — Builds a .schem schematic at the player's location when right-clicking. Great for single-use bases, altars, arenas, and special structures.
/item add action create (name) cooldown (milliseconds) — Sets a cooldown for using the item.
/item add action create (name) queue (false/all) — Configures the queue mode for command actions. false = all commands at once, all = one per use.
/item add action edit (name) command (command) (limit) — Edits a command action.
/item add action edit (name) sound (sound) (limit) — Edits a sound action.
/item add action edit (name) shift effect (effect) (level) (seconds) (radius) (limit) — Edits a Shift effect action.
/item add action edit (name) shift attribute (attribute) (value) (seconds) (radius) (limit) — Edits a Shift attribute action.
/item add action edit (name) schem (schematic name) (limit) — Edits a schematic action.
/item add action edit (name) cooldown (milliseconds) — Changes the item's cooldown.
/item add action edit (name) queue (false/all) — Changes the command queue mode.
/item add action remove (name) — Removes an action from the item.
/item parse — Reads the item in hand and saves it to parse.yml. Useful for transferring items to DeluxeMenus and other menu plugins.
/item schem save (name) — Saves a region selected with WorldEdit or FastAsyncWorldEdit as a schematic.
/item schem list — Shows a list of available schematics.
What actions can do
command — Executes a command from the console after right-clicking the item.
sound — Plays a sound for the player after using the item.
shift — Activates when pressing Shift and affects players within a specified radius.
schem — Places a .schem schematic at the player's location.
cooldown — Limits how often the item can be used.
queue — Manages the order of command actions.
Additional Features
Shift abilities — Apply effects and attributes to players within a radius. Affected players see a message in their action bar.
Schematics — Supports .schem files. Requires WorldEdit or FastAsyncWorldEdit.
Usage limits — Allows creating single-use and limited-use items.
Item parser — Saves an item to parse.yml in a convenient config format for easy transfer to DeluxeMenus.
Permissions
catitems.give — Grants access to the item giving command.
catitems.edit — Grants access to all editor commands, including /item add, /item parse, and /item schem.
Installation Monitoring
The plugin sends technical statistics to the CatDev website. This includes the server name, IP:PORT, and current online player count. This is used by the product owner to monitor installations, total number of servers, and overall online player count.
The server name is taken from TAB if available, otherwise from the server MOTD.
Dependencies
Schematics require WorldEdit or FastAsyncWorldEdit.
评论 0
登录后参与评分
还没有评论,来抢沙发吧