diff --git a/src/main/java/emu/grasscutter/command/commands/CoopCommand.java b/src/main/java/emu/grasscutter/command/commands/CoopCommand.java index 63836d1c8..c8961340e 100644 --- a/src/main/java/emu/grasscutter/command/commands/CoopCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/CoopCommand.java @@ -9,7 +9,7 @@ import java.util.List; import static emu.grasscutter.utils.Language.translate; -@Command(label = "coop", usage = "coop ", permission = "server.coop", permissionTargeted = "server.coop.others", description = "commands.coop.description") +@Command(label = "coop", usage = "coop [host uid]", permission = "server.coop", permissionTargeted = "server.coop.others", description = "commands.coop.description") public final class CoopCommand implements CommandHandler { @Override diff --git a/src/main/java/emu/grasscutter/command/commands/GiveCommand.java b/src/main/java/emu/grasscutter/command/commands/GiveCommand.java index 6a103fbe0..d86ee42f6 100644 --- a/src/main/java/emu/grasscutter/command/commands/GiveCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/GiveCommand.java @@ -16,7 +16,7 @@ import java.util.regex.Pattern; import static emu.grasscutter.utils.Language.translate; -@Command(label = "give", usage = "give [amount] [level] [refinement]", aliases = { +@Command(label = "give", usage = "give [amount] [level]", aliases = { "g", "item", "giveitem"}, permission = "player.give", permissionTargeted = "player.give.others", description = "commands.give.description") public final class GiveCommand implements CommandHandler { Pattern lvlRegex = Pattern.compile("l(?:vl?)?(\\d+)"); // Java is a joke of a proglang that doesn't have raw string literals diff --git a/src/main/java/emu/grasscutter/command/commands/TeleportCommand.java b/src/main/java/emu/grasscutter/command/commands/TeleportCommand.java index 69610af6a..4f0e14040 100644 --- a/src/main/java/emu/grasscutter/command/commands/TeleportCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/TeleportCommand.java @@ -10,7 +10,7 @@ import java.util.List; import static emu.grasscutter.utils.Language.translate; -@Command(label = "teleport", usage = "teleport [scene id]", aliases = {"tp"}, permission = "player.teleport", permissionTargeted = "player.teleport.others", description = "commands.teleport.description") +@Command(label = "teleport", usage = "teleport [sceneId]", aliases = {"tp"}, permission = "player.teleport", permissionTargeted = "player.teleport.others", description = "commands.teleport.description") public final class TeleportCommand implements CommandHandler { private float parseRelative(String input, Float current) { // TODO: Maybe this will be useful elsewhere later diff --git a/src/main/resources/languages/en-US.json b/src/main/resources/languages/en-US.json index 7807fa087..23d6638e1 100644 --- a/src/main/resources/languages/en-US.json +++ b/src/main/resources/languages/en-US.json @@ -134,7 +134,7 @@ "description": "Deletes unequipped unlocked items, including yellow rarity ones from your inventory" }, "coop": { - "usage": "Usage: coop ", + "usage": "Usage: coop [host UID]", "success": "Summoned %s to %s's world.", "description": "Forces someone to join the world of others" }, @@ -353,8 +353,8 @@ "description": "Teleports all players in your world to your position" }, "teleport": { - "usage_server": "Usage: /tp @ [scene ID]", - "usage": "Usage: /tp [@] [scene ID]", + "usage_server": "Usage: /tp @ [sceneID]", + "usage": "Usage: /tp [@] [sceneID]", "specify_player_id": "You must specify a player ID.", "invalid_position": "Invalid position.", "success": "Teleported %s to %s, %s, %s in scene %s.", diff --git a/src/main/resources/languages/pl-PL.json b/src/main/resources/languages/pl-PL.json index 67f768597..eb139c4ba 100644 --- a/src/main/resources/languages/pl-PL.json +++ b/src/main/resources/languages/pl-PL.json @@ -125,7 +125,7 @@ "everything": "Wyczyszczono wszystko dla %s." }, "coop": { - "usage": "Użycie: coop ", + "usage": "Użycie: coop [host uid]", "success": "Przyzwano %s do świata %s." }, "enter_dungeon": { diff --git a/src/main/resources/languages/zh-CN.json b/src/main/resources/languages/zh-CN.json index 705720ea3..20367261a 100644 --- a/src/main/resources/languages/zh-CN.json +++ b/src/main/resources/languages/zh-CN.json @@ -134,7 +134,7 @@ "description": "从你的背包中删除所有未装备且已解锁的物品,包括稀有物品" }, "coop": { - "usage": "用法:coop <玩家ID> <目标玩家ID>", + "usage": "用法:coop <玩家ID> [目标玩家UID]", "success": "已强制传送 %s 到 %s 的世界。", "description": "强制传送指定玩家到他人的世界" }, diff --git a/src/main/resources/languages/zh-TW.json b/src/main/resources/languages/zh-TW.json index 9213af92d..6146fdbda 100644 --- a/src/main/resources/languages/zh-TW.json +++ b/src/main/resources/languages/zh-TW.json @@ -116,7 +116,7 @@ "description": "向所有玩家發送公告。" }, "changescene": { - "usage": "用法:changescene ", + "usage": "用法:changescene ", "already_in_scene": "你已經在這個場景中了。", "success": "已切換至場景 %s.", "exists_error": "此場景不存在。", @@ -134,7 +134,7 @@ "description": "從你的背包中刪除所有未裝備且未上鎖的物品,包括稀有物品。" }, "coop": { - "usage": "用法:coop ", + "usage": "用法:coop [host uid]", "success": "召喚了 %s 到 %s 的世界。", "description": "強制傳送指定用戶到他人的世界。" }, @@ -358,8 +358,8 @@ "description": "將你世界裡的所有玩家傳送到你目前的所在位置。" }, "teleport": { - "usage_server": "用法:/tp @ [scene id]", - "usage": "用法:/tp [@] [scene id]", + "usage_server": "用法:/tp @ [sceneId]", + "usage": "用法:/tp [@] [sceneId]", "specify_player_id": "你必須指定一個玩家ID。", "invalid_position": "無效的座標。", "success": "傳送 %s 到座標 %s,%s,%s ,場景為 %s 。",