Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
|
Lua utility namespace. More...
Functions | |
int | luaCustomPrint (lua_State *state) |
Custom print. | |
void | registerDefaultLibs (lua_State *state, const char *name) |
Loads default libs. | |
Lua utility namespace.
Custom print.
Wrapper around logger::plugin so that lua doesn't directly print to console
state | the lua state |
Loads default libs.
Opens all default libs and creates a custom print luaCustomPrint(lua_State*) with the name pointer that should be pointing to the plugin name.
state | lua state to load libs to |
name | the pointer to the name of the plugin |