mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-04 15:41:38 +00:00
添加创建资源命令
This commit is contained in:
@@ -117,6 +117,13 @@ list_resource:
|
||||
- /craftengine resource list
|
||||
- /ce resource list
|
||||
|
||||
create_resource:
|
||||
enable: true
|
||||
permission: ce.command.admin.resource
|
||||
usage:
|
||||
- /craftengine resource create
|
||||
- /ce resource create
|
||||
|
||||
set_locale:
|
||||
enable: true
|
||||
permission: ce.command.admin.set_locale
|
||||
|
||||
@@ -85,6 +85,10 @@ command.resource.enable.failure.unknown: "<red>Unknown resource <arg:0></red>"
|
||||
command.resource.disable.success: "<white>Disabled resource <arg:0>. Run <click:run_command:/ce reload all><u>/ce reload all</u></click> to apply changes</white>"
|
||||
command.resource.disable.failure.unknown: "<red>Unknown resource <arg:0></red>"
|
||||
command.resource.list: "<white>Enabled resources(<arg:0>): <green><arg:1></green><newline>Disabled resources(<arg:2>): <red><arg:3></red></white>"
|
||||
command.resource.create.success: "<white>Created resource <arg:0>.</white>"
|
||||
command.resource.create.failure: "<red>Failed to create resource <arg:0>, Error: <arg:1></red>"
|
||||
command.resource.create.failure.invalid_namespace: "<red>Failed to create resource <arg:0>, The namespace <arg:1> is invalid.</red>"
|
||||
command.resource.create.exists: "<red>Resource <arg:0> already exists.</red>"
|
||||
command.upload.failure.not_supported: "<red>Current hosting method '<arg:0>' doesn't support uploading resource packs.</red>"
|
||||
command.upload.on_progress: "<white>Started uploading progress. Check the console for more information.</white>"
|
||||
command.send_resource_pack.success.single: "<white>Sent resource pack to <arg:0>.</white>"
|
||||
|
||||
@@ -85,6 +85,10 @@ command.resource.enable.failure.unknown: "<red>未知资源 <arg:0></red>"
|
||||
command.resource.disable.success: "<white>已禁用 <arg:0>. 执行 <click:run_command:/ce reload all><u>/ce reload all</u></click> 以应用更改</white>"
|
||||
command.resource.disable.failure.unknown: "<red>未知资源 <arg:0></red>"
|
||||
command.resource.list: "<white>启用的资源(<arg:0>): <green><arg:1></green><newline>禁用的资源(<arg:2>): <red><arg:3></red></white>"
|
||||
command.resource.create.success: "<white>已创建资源 <arg:0></white>"
|
||||
command.resource.create.failure: "<red>创建资源 <arg:0> 失败, 错误信息: <arg:1></red>"
|
||||
command.resource.create.failure.invalid_namespace: "<red>创建资源 <arg:0> 失败, 命名空间 <arg:1> 不合法</red>"
|
||||
command.resource.create.exists: "<red>资源 <arg:0> 已存在</red>"
|
||||
command.upload.failure.not_supported: "<red>当前托管模式 '<arg:0>' 不支持上传资源包</red>"
|
||||
command.upload.on_progress: "<white>已开始上传进程. 检查控制台以获取详细信息</white>"
|
||||
command.send_resource_pack.success.single: "<white>发送资源包给 <arg:0></white>"
|
||||
|
||||
Reference in New Issue
Block a user