Made the README
This commit is contained in:
parent
40094c2620
commit
ce761fa2b8
20
README.md
20
README.md
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user