Skip to content

Commit

Permalink
更新完了v0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gamelist1990 committed Aug 19, 2024
1 parent 27cad73 commit a8479c8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions AutoTool.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,13 @@ if %errorlevel% neq 0 (
exit /b %errorlevel%
)

echo tsc を実行中...
tsc

if %errorlevel% neq 0 (
echo tsc に失敗しました
exit /b %errorlevel%
)

echo 全ての処理が完了しました
pause
2 changes: 1 addition & 1 deletion devFolder/src/command/chest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function listProtectedChests(player: Player) {
}

function sendInvalidCommandMessage(player: Player) {
const version = `§bVersion 0.3`
const version = `§bVersion 0.6`
const message = translate(player, "chest_help")


Expand Down
2 changes: 2 additions & 0 deletions devFolder/src/command/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ registerCommand({
require: (player: Player) => verifier(player, c().commands["help"]),
executor: (player: Player) => {
const helpMessages = getAllCommandNames();
const version = "§aVer.0.6"
let helpMessage = translate(player, "available_commands") + ":\n";
helpMessages.forEach((msg) => {
const commandDescription = translate(player, msg.description);
helpMessage += `§b${prefix}${msg.name} - ${commandDescription}\n`;
});
player.sendMessage(helpMessage);
player.sendMessage(version);
},
});

2 changes: 1 addition & 1 deletion devFolder/src/command/langs/list/ja_JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"available_commands": {
"msgid": "Current available commands",
"msgstr": "現在使用可能なコマンド"
"msgstr": "§6現在使用可能なコマンド"
},
"help_command_description": {
"msgid": "help command",
Expand Down
2 changes: 1 addition & 1 deletion devFolder/src/command/langs/list/ja_JP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const translations = {
},
"available_commands": {
msgid: "Current available commands",
msgstr: "現在使用可能なコマンド"
msgstr: "§6現在使用可能なコマンド"
},
"help_command_description": {
msgid: "help command",
Expand Down

0 comments on commit a8479c8

Please sign in to comment.