The current avaiable user id
Our redis client
MongoDB Collections
The configuration for the server
Items dat object
Reset the values of the server.dat file
Finds players or worlds inside the database with a filter.
The type to find
The filter for that data
Finds players or worlds inside the database with a filter.
The type to find
The filter for that data
Loops through each player in the cache
The type to loop
The callback to run per element
Loops through each world in the cache
The type to loop
The callback to run per element
Fetches the CDN Data passed from the config
Whether or not mongodb collections are in place
Pretty much a console.log but it's asynchronous
The arguments to log, same as console.log.
Set the handler for a specific event
The event to handle
The callback for that event
Set the handler for a specific event
The event to handle
The callback for that event
Sets the item metadata.
The metadata of the items
Set the items.dat to use, this will create the packet and the hash. Do not use if already set in server config.
The items.dat file content
Start the server
Converts a string packet data to map, this will split the \n
and |
.
The string packet
Generated using TypeDoc
A class that represents the Server