mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-25 01:49:30 +00:00
improve commands
This commit is contained in:
@@ -11,58 +11,63 @@ config-version: "${config_version}"
|
||||
# Usage: [COMMAND]
|
||||
reload:
|
||||
enable: true
|
||||
permission: ce.command.reload
|
||||
permission: ce.command.admin.reload
|
||||
usage:
|
||||
- /craftengine reload
|
||||
- /ce reload
|
||||
|
||||
get_item:
|
||||
enable: true
|
||||
permission: ce.command.get_item
|
||||
permission: ce.command.admin.get_item
|
||||
usage:
|
||||
- /craftengine item get
|
||||
- /ce item get
|
||||
|
||||
give_item:
|
||||
enable: true
|
||||
permission: ce.command.give_item
|
||||
permission: ce.command.admin.give_item
|
||||
usage:
|
||||
- /craftengine item give
|
||||
- /ce item give
|
||||
|
||||
item_browser:
|
||||
item_browser_player:
|
||||
enable: true
|
||||
permission: ce.command.item_browser
|
||||
permission: ce.command.player.item_browser
|
||||
usage:
|
||||
- /ce
|
||||
|
||||
item_browser_admin:
|
||||
enable: true
|
||||
permission: ce.command.admin.item_browser
|
||||
usage:
|
||||
- /craftengine item browser
|
||||
- /ce item browser
|
||||
- /ce
|
||||
|
||||
item_recipe_browser_player:
|
||||
search_usage_player:
|
||||
enable: true
|
||||
permission: ce.command.player.item_recipe_browser
|
||||
permission: ce.command.player.search_usage
|
||||
usage:
|
||||
- /findrecipe by-result
|
||||
- /search-usage
|
||||
|
||||
item_usage_browser_player:
|
||||
search_recipe_player:
|
||||
enable: true
|
||||
permission: ce.command.player.item_usage_browser
|
||||
permission: ce.command.player.search_recipe
|
||||
usage:
|
||||
- /findrecipe by-ingredient
|
||||
- /search-recipe
|
||||
|
||||
item_recipe_browser_admin:
|
||||
search_usage_admin:
|
||||
enable: true
|
||||
permission: ce.command.admin.item_recipe_browser
|
||||
permission: ce.command.admin.search_usage
|
||||
usage:
|
||||
- /craftengine recipe by-result
|
||||
- /ce recipe by-result
|
||||
- /craftengine item search-usage
|
||||
- /ce item search-usage
|
||||
|
||||
item_usage_browser_admin:
|
||||
search_recipe_admin:
|
||||
enable: true
|
||||
permission: ce.command.admin.item_usage_browser
|
||||
permission: ce.command.admin.search_recipe
|
||||
usage:
|
||||
- /craftengine recipe by-ingredient
|
||||
- /ce recipe by-ingredient
|
||||
- /craftengine item search-recipe
|
||||
- /ce item search-recipe
|
||||
|
||||
# Debug commands
|
||||
debug_set_block:
|
||||
|
||||
@@ -49,5 +49,7 @@ 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.recipe.browser.recipe.no_found: "<red>No recipe found for this item</red>"
|
||||
command.item.usage.browser.recipe.no_found: "<red>No usage found for this item</red>"
|
||||
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>"
|
||||
command.search_usage.no_item: "<red>Please hold an item before running this command</red>"
|
||||
@@ -48,4 +48,8 @@ command.item.get.success: "<white>Obtener <arg:0> <arg:1></white>"
|
||||
command.item.get.failure.not_exist: "<red><lang:argument.item.id.invalid:'<arg:0>'></red>"
|
||||
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.give.failure.not_exist: "<red><lang:argument.item.id.invalid:'<arg:0>'></red>"
|
||||
command.search_recipe.not_found: "<red>No se encontró ninguna receta para este objeto</red>"
|
||||
command.search_usage.not_found: "<red>No se encontró ningún uso para este objeto</red>"
|
||||
command.search_recipe.no_item: "<red>Por favor, sostén un objeto antes de ejecutar este comando</red>"
|
||||
command.search_usage.no_item: "<red>Por favor, sostén un objeto antes de ejecutar este comando</red>"
|
||||
@@ -50,4 +50,6 @@ command.item.give.success.single: "<lang:commands.give.success.single:'<arg:0>':
|
||||
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.recipe.browser.recipe.no_found: "<red>找不到此物品的配方</red>"
|
||||
command.item.usage.browser.recipe.no_found: "<red>找不到此物品的用法</red>"
|
||||
command.item.usage.browser.recipe.no_found: "<red>找不到此物品的用法</red>"
|
||||
command.search_recipe.no_item: "<red>请手持物品后再执行此命令</red>"
|
||||
command.search_usage.no_item: "<red>请手持物品后再执行此命令</red>"
|
||||
@@ -49,5 +49,7 @@ 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.recipe.browser.recipe.no_found: "<red>找不到此物品的配方</red>"
|
||||
command.item.usage.browser.recipe.no_found: "<red>找不到此物品的用法</red>"
|
||||
command.search_recipe.not_found: "<red>找不到此物品的配方</red>"
|
||||
command.search_usage.not_found: "<red>找不到此物品的用途</red>"
|
||||
command.search_recipe.no_item: "<red>執行此命令前請手持物品</red>"
|
||||
command.search_usage.no_item: "<red>執行此命令前請手持物品</red>"
|
||||
Reference in New Issue
Block a user