mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-27 02:49:15 +00:00
添加clear指令
This commit is contained in:
@@ -43,6 +43,13 @@ give_item:
|
||||
- /craftengine item give
|
||||
- /ce item give
|
||||
|
||||
clear_item:
|
||||
enable: true
|
||||
permission: ce.command.admin.clear_item
|
||||
usage:
|
||||
- /craftengine item clear
|
||||
- /ce item clear
|
||||
|
||||
item_browser_player:
|
||||
enable: true
|
||||
permission: ce.command.player.item_browser
|
||||
|
||||
@@ -49,6 +49,12 @@ command.item.get.failure.not_exist: "<red><lang:argument.item.id.invalid:'<arg:0
|
||||
command.item.give.success.single: "<lang:commands.give.success.single:'<arg:0>':'<arg:1>':'<arg:2>'>"
|
||||
command.item.give.success.multiple: "<lang:commands.give.success.multiple:'<arg:0>':'<arg:1>':'<arg:2>'>"
|
||||
command.item.give.failure.not_exist: "<red><lang:argument.item.id.invalid:'<arg:0>'></red>"
|
||||
command.item.clear.failed.single: "<red>No items were found on player <arg:0></red>"
|
||||
command.item.clear.failed.multiple: "<red>No items were found on <arg:0> players</red>"
|
||||
command.item.clear.success.single: "<white>Removed <arg:0> item(s) from player <arg:1></white>"
|
||||
command.item.clear.success.multiple: "<white>Removed <arg:0> item(s) from <arg:1> players</white>"
|
||||
command.item.clear.test.single: "<white>Found <arg:0> matching item(s) on player <arg:1></white>"
|
||||
command.item.clear.test.multiple: "<white>Found <arg:0> matching item(s) on <arg:1> players</white>"
|
||||
command.search_recipe.not_found: "<red>No recipe found for this item</red>"
|
||||
command.search_usage.not_found: "<red>No usage found for this item</red>"
|
||||
command.search_recipe.no_item: "<red>Please hold an item before running this command</red>"
|
||||
|
||||
Reference in New Issue
Block a user