diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-08-13 10:47:43 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-08-13 10:47:43 +0200 |
commit | ce761fa2b874d40c49a4aa44f3a2b751c725ae6e (patch) | |
tree | f1dc276bbba22b56e12e6900db29002c5c546256 /README.md | |
parent | Changed system to use ISO 639-1. (diff) | |
download | cuberite-ce761fa2b874d40c49a4aa44f3a2b751c725ae6e.tar cuberite-ce761fa2b874d40c49a4aa44f3a2b751c725ae6e.tar.gz cuberite-ce761fa2b874d40c49a4aa44f3a2b751c725ae6e.tar.bz2 cuberite-ce761fa2b874d40c49a4aa44f3a2b751c725ae6e.tar.lz cuberite-ce761fa2b874d40c49a4aa44f3a2b751c725ae6e.tar.xz cuberite-ce761fa2b874d40c49a4aa44f3a2b751c725ae6e.tar.zst cuberite-ce761fa2b874d40c49a4aa44f3a2b751c725ae6e.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -1,4 +1,20 @@ -transapi +TransAPI ======== -A Translation API for MCServer +A plugin translation API for MCServer. + +TransAPI is designed to be used with the provided client library, 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) |