Cuberite Logo Plugin Repository

Generic avatar
transapi

transapi

Author: Alexander Harkness
Owned by: cuberite
License: MIT License
Downloads: 22

TransAPI

A plugin translation API for Cuberite.

TransAPI is designed to be used with the 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

Permissions

No comments yet; make some comments!