Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Commit

Permalink
Made the README
Browse files Browse the repository at this point in the history
  • Loading branch information
bearbin committed Aug 13, 2013
1 parent 40094c2 commit ce761fa
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit ce761fa

Please sign in to comment.