Skip to main content

Commands and Permissions

Here is a brief summary of the plugin's commands and permissions:

CommandPermissions
/triton, /triton openselectortriton.openselector
/triton helptriton.help
/triton getflag <language>triton.getflag
/triton reload [all/server/bungee]triton.reload
/triton setlanguage <language> [player]triton.setlanguage, triton.setlanguage.others
/triton sign <set/remove> <group key (set only)>triton.sign
/triton infotriton.info
/triton loglevel [number]triton.loglevel (console only)
/triton database <upload/download>triton.database
/twin [upload] [collection filter] [language filter]twin.upload
/twin <code>twin.download

Commandsโ€‹

All commands starting with /triton can be also typed as /lang and /language. Additionally, in order to keep backwards support with v0, you can also use the following commands: /mlp, /ml, /multilanguage, /multilanguageplugin.

/triton, /triton openselectorโ€‹

(only available-ingame)
Permission: triton.openselector

Opens up a GUI that allows you to select a language.

/triton helpโ€‹

Permission: triton.help

Shows a help menu with all the available commands.

/triton getflag <language>โ€‹

(only available in-game)
Permission: triton.getflag

Gives the player the flag of that language.

Argumentsโ€‹

language: The Language ID to get the flag from.

/triton reload [mode]โ€‹

Permission: triton.reload

Reloads the plugin.

Argumentsโ€‹

mode (bungee in-game only / optional): One of the following options:

  • all/a: reloads both Spigot and Bungee
  • bungee/b (default): reloads only Bungee
  • server/s: reloads only Spigot

When using this command through console, it can only reload the current server/proxy.

/triton setlanguage <language> [player]โ€‹

(only available in-game when used for self)
Permission: triton.setlanguage

Sets the language of self or another player.

Argumentsโ€‹

language: The ID of the target language.
player (optional): Specify the target player. Requires the triton.setlanguage.others permission.

/triton sign <mode> [group id]โ€‹

(only available in-game)
Permission: triton.sign

Add/remove a sign from a sign group. The target sign is the sign the player is looking at.

Argumentsโ€‹

mode: The action to perform:

  • set: Set the group of the target sign.
  • remove Remove the sign from its current group (if any).

group id (only if mode is set): The sign group to assign the sign to.

/triton infoโ€‹

Permission: triton.info

Shows information about Triton and how it is setup.
If log level is 2 or more, the loaded config is also printed to the console.

/triton loglevel [number]โ€‹

(console only)
Permission: triton.loglevel

When used without argument, it prints the current log level. When an argument is provided, the log level is set to that number until the plugin is reloaded or this command is executed again.

This only works on the console since otherwise it would be ambiguous which server we were targeting (e.g. the proxy or the actual server).

Argumentsโ€‹

number (optional): The new log level. Must be a number between 0 and 2.

/triton database <mode>โ€‹

(only available in BungeeCord)
Permission: triton.database

If using non-local storage, this command downloads and uploads from the database to the translation folder for easier editing and migration purposes.

Argumentsโ€‹

mode: One of the following options:

  • upload/u: overwrite all the translations in the database with the ones in the translations folder
  • download/d: overwrite all the translation in the translations folder with the ones in the database

/twin upload [collection filter] [language filter]โ€‹

Permission: twin.upload
Alias: /twin (only when omitting filters)

Uploads the current translations folder to TWIN.
/twin is an alias of /twin upload, which means /twin is the same as /twin upload * *.

Argumentsโ€‹

collection filter (optional): List of collections to upload, separated by colons (:). Use * to upload all collections. language filter (optional): List of languages to upload, separated by colons (:). Use * to upload all languages.

/twin <code>โ€‹

Permission: twin.download

Downloads the translations folder from TWIN after editing.

Permissionsโ€‹

All permissions starting with triton. can also be expressed as multilanguageplugin. for compatibility reasons. However, it is recommended to use triton. from now on.

triton.helpโ€‹

Allows access to /triton help.
Default: everyone

triton.openselectorโ€‹

Allows access to /triton and /triton openselector.
Default: everyone

triton.getflagโ€‹

Allows access to /triton getflag <language>.
Default: op

triton.reloadโ€‹

Allows access to /triton reload [all/server/bungee].
Default: op

triton.setlanguageโ€‹

Allows access to /triton setlanguage <language>.
Default: everyone

triton.setlanguage.othersโ€‹

Allows access to /triton setlanguage [player] <language>.
Default: op

triton.signโ€‹

Allows access to /triton sign <set/remove> <group key (set only)>.
Default: op

triton.infoโ€‹

Allows access to /triton info.
Default: everyone

triton.loglevelโ€‹

Allows access to /triton loglevel [number].
Default: op

triton.databaseโ€‹

Allows access to /triton database <upload/download>.
Default: op

twin.uploadโ€‹

Allows access to /twin.
Default: op

twin.downloadโ€‹

Allows access to /twin <code>.
Default: op