Skip to content
Oleg Basalyga edited this page Aug 30, 2016 · 2 revisions

API Functions

All functions can input the Player object and can return nothing (null) or number. (or array, if this is getAll()) The API usage is very simple!

Function Return
getDeaths(Player) null or int deaths
getJoins(Player) null or int joins
getDrops(Player) null or int drops
getQuits(Player) null or int quits
getBreaks(Player) null or int breaks
getPlaces(Player) null or int places
getChats(Player) null or int chats
getAll(Player) null or array

CONFIG

At the config file we store your authorization data for connection to your database.

Param Value
host “127.0.0.1” or other
port 3306
user user mysql
password password mysql user
database which database you prefer

Clone this wiki locally