功能:
玩家可以拥有一个带有时钟命令物品的背包。如果玩家点击选定的命令,该命令将为玩家执行。这样,人们就可以轻松地将家设置到时钟中,然后点击它即可传送回家。
命令:
/cc - 重载配置
安装方法:
将 ClockCommand.jar 放入你的 plugins 文件夹并启动服务器。
然后再次停止服务器,此时应该已经创建了一个名为 ClockCommand 的文件夹。进入该文件夹并打开 config.yml 文件,你可以在其中轻松调整插件设置。具体操作如下:在 'navigation-id:' 处指定用于打开背包的物品 ID(注意:仅支持物品 ID,不支持名称)。在 'inventory-name:' 下方指定背包的名称。总共支持使用字符 '&' + 颜色代码来显示插件中的颜色。在 'Commands' 下可以添加物品。物品:
现在我为你展示一个示例,你需要为每个物品都按照此格式进行配置。
(item-command: 包含控制台命令。这意味着你可以直接为玩家执行控制台命令。
你可以轻松地通过在命令行中写入以下内容来访问它:"item-command: <server>/command"。
对于普通情况,使用 "item-command: <player>/command" 或 "item-command: /command"。) 这仅在版本 2 中可用。
ItemName:
item-name: 'ItemDisplayName'
item-command: /command
item-id: ItemId
item-id-number: ItemDurability (0)
然后你可以重新启动服务器,插件应该就能正常运行了。

配置文件:
CC:
config:
navigation-id: 347
inventory-name: '&9&lServer-Teleporter'
Commands:
Hub:
item-name: '&9&lHUB'
item-command: /spawn
item-id: 120
pvp:
item-name: '&7&lPVP'
item-command: /warp pvp
item-id: 267
错误/故障:
如果发现错误/漏洞,请将其作为评论写下。如有可能,请在下方附上带有错误的控制台日志。
Functions:
One can have an inventory with a clock Command Itemen. What if a man they ausfüren anklick ausgewälten Command for the player. It is then easy for people to put their home in the clock and then when they click on it they will teleport to their home.
Commands:
/cc - Reload Config
Installation:
Put the ClockCommand.jar in your plugins folder and start the server.
then stop it again, it should have created a file folders called ClockCommand. Go to this ortner and open the file config.yml in this whole you can easily adjust the plugin. Here's how: In the plugin 'navigation-id:' you can specify where the item with the open inventory Attention! Only item ids no names. below the plugin 'inventory-name:' you can specify the name of the inventory. In total Plugin colors are supported with the character '&' + color code on the spot of the color displays. Plunkt under the 'Commands' hir can add items. Items:
I now show you an example so you müst make it in every item.
(item-command: includes a consoles command. This means that you simply can spend a consoles command for a player.
You can access it easily used in which one writes to the Command line: "item-command: <server>/command".
For normal "item-command: <player>/command" or "item-command: / command".) that you can use only in version 2
ItemName:
item-name: 'ItemDisplayName'
item-command: /command
item-id: ItemId
item-id-number: ItemDurability (0)
then you can start the server again and the plugin should run.

Config:
CC:
config:
navigation-id: 347
inventory-name: '&9&lServer-Teleporter'
Commands:
Hub:
item-name: '&9&lHUB'
item-command: /spawn
item-id: 120
pvp:
item-name: '&7&lPVP'
item-command: /warp pvp
item-id: 267
Bugs/Erros:
If errors / bugs are writing them as comment Please consoles with error back when available below.
评论 0
登录后参与评分
还没有评论,来抢沙发吧