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

cuberite/transapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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

  • /language [lang] - Takes a language code (ISO 639-1) and sets the user's preferred language to that.

Permissions

  • transapi.setlang - Allows use of the /language command.

About

A Translation API for Cuberite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages