mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 05:04:20 +00:00
Usage: Unified specification
This commit is contained in:
parent
0e6ac4a827
commit
ba6a9fc798
@ -8,7 +8,7 @@ import java.util.List;
|
||||
|
||||
import static emu.grasscutter.utils.Language.translate;
|
||||
|
||||
@Command(label = "enterdungeon", usage = "enterdungeon <dungeon id>", aliases = {"dungeon"}, permission = "player.enterdungeon", permissionTargeted = "player.enterdungeon.others", description = "commands.enter_dungeon.description")
|
||||
@Command(label = "enterdungeon", usage = "enterdungeon <dungeonId>", aliases = {"dungeon"}, permission = "player.enterdungeon", permissionTargeted = "player.enterdungeon.others", description = "commands.enter_dungeon.description")
|
||||
public final class EnterDungeonCommand implements CommandHandler {
|
||||
|
||||
@Override
|
||||
|
@ -10,7 +10,7 @@ import java.util.List;
|
||||
|
||||
import static emu.grasscutter.utils.Language.translate;
|
||||
|
||||
@Command(label = "quest", usage = "quest <add|finish> [quest id]", permission = "player.quest", permissionTargeted = "player.quest.others", description = "commands.quest.description")
|
||||
@Command(label = "quest", usage = "quest <add|finish> [questId]", permission = "player.quest", permissionTargeted = "player.quest.others", description = "commands.quest.description")
|
||||
public final class QuestCommand implements CommandHandler {
|
||||
|
||||
@Override
|
||||
|
@ -11,7 +11,7 @@ import java.util.List;
|
||||
|
||||
import static emu.grasscutter.utils.Language.translate;
|
||||
|
||||
@Command(label = "weather", usage = "weather <weatherId> [climateId]", aliases = {"w"}, permission = "player.weather", permissionTargeted = "player.weather.others", description = "commands.weather.description")
|
||||
@Command(label = "weather", usage = "weather <weatherId> <climateId>", aliases = {"w"}, permission = "player.weather", permissionTargeted = "player.weather.others", description = "commands.weather.description")
|
||||
public final class WeatherCommand implements CommandHandler {
|
||||
|
||||
@Override
|
||||
|
@ -139,7 +139,7 @@
|
||||
"description": "Forces someone to join the world of others"
|
||||
},
|
||||
"enter_dungeon": {
|
||||
"usage": "Usage: enterdungeon <dungeon ID>",
|
||||
"usage": "Usage: enterdungeon <dungeonID>",
|
||||
"changed": "Changed to dungeon %s.",
|
||||
"not_found_error": "Dungeon does not exist.",
|
||||
"in_dungeon_error": "You are already in that dungeon.",
|
||||
@ -159,7 +159,7 @@
|
||||
"description": "Gives the player a specified artifact"
|
||||
},
|
||||
"giveChar": {
|
||||
"usage": "Usage: givechar <player> <avatarId> [level]",
|
||||
"usage": "Usage: givechar <player> <avatarID> [level]",
|
||||
"given": "Given %s with level %s to %s.",
|
||||
"invalid_avatar_id": "Invalid avatar ID.",
|
||||
"invalid_avatar_level": "Invalid avatar level.",
|
||||
@ -227,7 +227,7 @@
|
||||
"description": "Get coordinates"
|
||||
},
|
||||
"quest": {
|
||||
"usage": "quest <add|finish> [quest ID]",
|
||||
"usage": "quest <add|finish> [questID]",
|
||||
"added": "Quest %s added.",
|
||||
"finished": "Finished quest %s.",
|
||||
"not_found": "Quest not found.",
|
||||
@ -250,7 +250,7 @@
|
||||
"description": "Reset target player's shop refresh time"
|
||||
},
|
||||
"sendMail": {
|
||||
"usage": "Usage: sendmail <userId|all|help> [templateId]",
|
||||
"usage": "Usage: sendmail <userID|all|help> [templateId]",
|
||||
"user_not_exist": "The user with an ID of '%s' does not exist.",
|
||||
"start_composition": "Starting composition of message.\nPlease use '/sendmail <title>' to continue.\nYou can use '/sendmail stop' at any time.",
|
||||
"templates": "Mail templates coming soon implemented...",
|
||||
@ -362,7 +362,7 @@
|
||||
"description": "Change the player's position"
|
||||
},
|
||||
"weather": {
|
||||
"usage": "Usage: weather <weatherID> [climateID]",
|
||||
"usage": "Usage: weather <weatherID> <climateID>",
|
||||
"success": "Changed weather to %s with climate %s.",
|
||||
"invalid_id": "Invalid ID.",
|
||||
"description": "Changes the weather"
|
||||
|
@ -290,7 +290,7 @@
|
||||
"success": "Przeteleportowano %s do %s, %s, %s w scenie %s"
|
||||
},
|
||||
"weather": {
|
||||
"usage": "Użycie: weather <ID pogody> [ID klimatu]",
|
||||
"usage": "Użycie: weather <ID pogody> <ID klimatu>",
|
||||
"success": "Zmieniono pogodę na %s z klimatem %s",
|
||||
"invalid_id": "Błędne ID."
|
||||
},
|
||||
|
@ -331,9 +331,9 @@
|
||||
},
|
||||
"team": {
|
||||
"usage": "用法:team <add|remove|set> [角色ID,...] [索引|first|last|索引-索引,...]",
|
||||
"invalid_usage": "无效用法。",
|
||||
"invalid_usage": "无效的用法。",
|
||||
"add_usage": "用法(add):team add <角色ID,...> [索引]",
|
||||
"invalid_index": "无效索引。",
|
||||
"invalid_index": "无效的索引。",
|
||||
"add_too_much": "服务端仅允许你队伍里至多有 %d 名角色。",
|
||||
"failed_to_add_avatar": "无法根据ID %s 添加角色。",
|
||||
"remove_usage": "用法(remove):team remove <索引|first|last|索引-索引,...>",
|
||||
@ -361,7 +361,7 @@
|
||||
"description": "改变指定玩家的位置"
|
||||
},
|
||||
"weather": {
|
||||
"usage": "用法:weather <天气ID> [气候ID]",
|
||||
"usage": "用法:weather <天气ID> <气候ID>",
|
||||
"success": "已更改天气为 %s,气候为 %s。",
|
||||
"invalid_id": "无效的天气ID。",
|
||||
"description": "更改天气"
|
||||
@ -369,7 +369,7 @@
|
||||
"drop": {
|
||||
"command_usage": "用法:drop <物品ID|物品名称> [数量]",
|
||||
"success": "已丢下 %s 个 %s。",
|
||||
"description": "在你附近丢下一个物品"
|
||||
"description": "在你的附近丢下物品"
|
||||
},
|
||||
"help": {
|
||||
"usage": "用法:",
|
||||
|
@ -139,7 +139,7 @@
|
||||
"description": "強制傳送指定用戶到他人的世界。"
|
||||
},
|
||||
"enter_dungeon": {
|
||||
"usage": "用法:enterdungeon <dungeon id>",
|
||||
"usage": "用法:enterdungeon <dungeonId>",
|
||||
"changed": "已進入祕境 %s",
|
||||
"not_found_error": "此祕境不存在。",
|
||||
"in_dungeon_error": "你已經在祕境中了。",
|
||||
@ -366,7 +366,7 @@
|
||||
"description": "將玩家的位置傳送到你所指定的座標。"
|
||||
},
|
||||
"weather": {
|
||||
"usage": "用法:weather <weatherId> [climateId]",
|
||||
"usage": "用法:weather <weatherId> <climateId>",
|
||||
"success": "已將當前天氣設定為 %s ,氣候則為 %s 。",
|
||||
"invalid_id": "無效的ID。",
|
||||
"description": "更改目前的天氣。"
|
||||
|
Loading…
Reference in New Issue
Block a user