transapi-client transapi-client Alexander Harkness @bearbin Utilities


The client library for the TransAPI API for Cuberite.


  1. Copy transapi.lua into your plugin folder.
  2. Create a directory in your plugin folder called languages.
  3. Create a file named [whatever].lua in the languages directory, and add translations to it as per the examples file. Your should probably have languages in their own files.


GetTranslation(cPlayer, Slug (string)) - Returns the translated string for the provided cPlayer object.
GetConsoleTranslation(Slug (string)) - Returns the translated string for the console.



The TransAPI client lib is licensed under the MIT license, so you are free to improve and build upon it.