Added '/worldhandler allow_commands' subcommand, improved permission query error messages

This commit is contained in:
Marcel Konrad
2022-06-28 23:46:02 +02:00
parent b205bba317
commit 560b9ee360
9 changed files with 90 additions and 18 deletions

View File

@@ -404,11 +404,16 @@
"key.categories.worldhandler": "World Handler",
"key.worldhandler": "World Handler öffnen",
"key.worldhandler.pos1": "Position 1 setzen",
"key.worldhandler.pos2": "Position 2 setzen",
"key.worldhandler.pos1": "Setze Position 1",
"key.worldhandler.pos2": "Setze Position 2",
"worldhandler.permission.refused": "Du hast nicht die benötigte Berechtigung, um den World Handler zu benutzen",
"worldhandler.permission.refused.change": "Ändere \"%s\" um diese Nachricht zu umgehen",
"commands.worldhandler.allow_commands.not_in_singleplayer": "Kommandos können im Mehrspieler nicht aktiviert werden",
"commands.worldhandler.allow_commands.commands_already_allowed": "Kommandos sind bereits aktiviert in dieser Welt",
"commands.worldhandler.allow_commands.success": "Kommandos sind in dieser Welt jetzt aktiviert",
"worldhandler.permission.refused": "Du hast nicht die erforderlichen Berechtigungen Kommandos zu benutzen",
"worldhandler.permission.refused.multiplayer": "Deaktiviere \"%s\" in der Konfigurationsdatei, wenn du den World Handler, mit eingeschränkter Funktionalität, trotzdem benutzen möchtest.",
"worldhandler.permission.refused.singleplayer": "Deaktiviere \"%s\" in der Konfigurationsdatei, wenn du den World Handler, mit eingeschränkter Funktionalität, trotzdem benutzen möchtest. Alternativ kannst du auch \"/worldhandler allow_commands\" ausführen, um Kommandos in dieser Welt zu aktivieren",
"worldhandler.error.gui": "Ein unerwarteter Fehler ist aufgetreten."
}

View File

@@ -407,8 +407,13 @@
"key.worldhandler.pos1": "Set Position 1",
"key.worldhandler.pos2": "Set Position 2",
"worldhandler.permission.refused": "You do not have permission to use the World Handler",
"worldhandler.permission.refused.change": "Change \"%s\" to disable this message",
"commands.worldhandler.allow_commands.not_in_singleplayer": "Cannot enable commands in a multiplayer world",
"commands.worldhandler.allow_commands.commands_already_allowed": "Commands are already allowed in this world",
"commands.worldhandler.allow_commands.success": "Commands are now enabled in this world",
"worldhandler.permission.refused": "You do not have permission to use commands",
"worldhandler.permission.refused.multiplayer": "If you want to use the World Handler regardless, with limited functionality, disable \"%s\" in the config",
"worldhandler.permission.refused.singleplayer": "If you want to use the World Handler regardless, with limited functionality, disable \"%s\" in the config. Alternatively you can run \"/worldhandler allow_commands\" to enable commands in this world",
"worldhandler.error.gui": "An unexpected error occured."
}

View File

@@ -408,8 +408,13 @@
"key.worldhandler.pos1": "Définir la position 1",
"key.worldhandler.pos2": "Définir la position 2",
"worldhandler.permission.refused": "Vous n'avez pas la permission d'utiliser World Handler",
"worldhandler.permission.refused.change": "Modifiez \"%s\" pour désactiver ce message",
"commands.worldhandler.allow_commands.not_in_singleplayer": "Cannot enable commands in a multiplayer world",
"commands.worldhandler.allow_commands.commands_already_allowed": "Commands are already allowed in this world",
"commands.worldhandler.allow_commands.success": "Commands are now enabled in this world",
"worldhandler.permission.refused": "You do not have permission to use commands",
"worldhandler.permission.refused.multiplayer": "If you want to use the World Handler regardless, with limited functionality, disable \"%s\" in the config",
"worldhandler.permission.refused.singleplayer": "If you want to use the World Handler regardless, with limited functionality, disable \"%s\" in the config. Alternatively you can run \"/worldhandler allow_commands\" to enable commands in this world",
"worldhandler.error.gui": "Une erreur inattendue s'est produite."
}

View File

@@ -407,8 +407,13 @@
"key.worldhandler.pos1": "Установить позицию 1",
"key.worldhandler.pos2": "Установить позицию 2",
"worldhandler.permission.refused": "У вас нет разрешения на использование World Handler",
"worldhandler.permission.refused.change": "Измените \"%s\", чтобы отключить это сообщение.",
"commands.worldhandler.allow_commands.not_in_singleplayer": "Cannot enable commands in a multiplayer world",
"commands.worldhandler.allow_commands.commands_already_allowed": "Commands are already allowed in this world",
"commands.worldhandler.allow_commands.success": "Commands are now enabled in this world",
"worldhandler.permission.refused": "You do not have permission to use commands",
"worldhandler.permission.refused.multiplayer": "If you want to use the World Handler regardless, with limited functionality, disable \"%s\" in the config",
"worldhandler.permission.refused.singleplayer": "If you want to use the World Handler regardless, with limited functionality, disable \"%s\" in the config. Alternatively you can run \"/worldhandler allow_commands\" to enable commands in this world",
"worldhandler.error.gui": "Произошла неожиданная ошибка."
}

View File

@@ -408,8 +408,13 @@
"key.worldhandler.pos1": "Set Position 1",
"key.worldhandler.pos2": "Set Position 2",
"worldhandler.permission.refused": "您没有权限使用 World Handler",
"worldhandler.permission.refused.change": "更改 \"%s\" 来停止显示这条信息",
"commands.worldhandler.allow_commands.not_in_singleplayer": "Cannot enable commands in a multiplayer world",
"commands.worldhandler.allow_commands.commands_already_allowed": "Commands are already allowed in this world",
"commands.worldhandler.allow_commands.success": "Commands are now enabled in this world",
"worldhandler.permission.refused": "You do not have permission to use commands",
"worldhandler.permission.refused.multiplayer": "If you want to use the World Handler regardless, with limited functionality, disable \"%s\" in the config",
"worldhandler.permission.refused.singleplayer": "If you want to use the World Handler regardless, with limited functionality, disable \"%s\" in the config. Alternatively you can run \"/worldhandler allow_commands\" to enable commands in this world",
"worldhandler.error.gui": "An unexpected error occured."
}