diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-08-13 19:34:42 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-08-13 19:34:42 +0200 |
commit | b966211a4765a9b6bd6ff419a1420e57158e5ae2 (patch) | |
tree | 773da7d6f8524d5950f6df32602186e78fcf2eb3 /MCServer/Plugins/TransAPI/README.md | |
parent | Squashed commit of the following: (diff) | |
parent | Added link to future lib. (diff) | |
download | cuberite-b966211a4765a9b6bd6ff419a1420e57158e5ae2.tar cuberite-b966211a4765a9b6bd6ff419a1420e57158e5ae2.tar.gz cuberite-b966211a4765a9b6bd6ff419a1420e57158e5ae2.tar.bz2 cuberite-b966211a4765a9b6bd6ff419a1420e57158e5ae2.tar.lz cuberite-b966211a4765a9b6bd6ff419a1420e57158e5ae2.tar.xz cuberite-b966211a4765a9b6bd6ff419a1420e57158e5ae2.tar.zst cuberite-b966211a4765a9b6bd6ff419a1420e57158e5ae2.zip |
Diffstat (limited to 'MCServer/Plugins/TransAPI/README.md')
-rw-r--r-- | MCServer/Plugins/TransAPI/README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/MCServer/Plugins/TransAPI/README.md b/MCServer/Plugins/TransAPI/README.md new file mode 100644 index 000000000..b037a6732 --- /dev/null +++ b/MCServer/Plugins/TransAPI/README.md @@ -0,0 +1,20 @@ +TransAPI +======== + +A plugin translation API for MCServer. + +TransAPI is designed to be used with the [client library](https://github.com/bearbin/transapi-client), however there is also a stable API available for use. + +API +--- + + GetLanguage ( cPlayer ) + Returns the user's preferred language (or server default if not set). (ISO 639-1 language code) + + GetConsoleLanguage ( ) + Returns the preferred language for console text. (ISO 639-1 language code) + +Commands +-------- + + * /language [lang] - Takes a language code (ISO 639-1) and sets the user's preferred language to that. (tranapi.setlang) |