Serverside Libraries

Description

A function to add a ban.

Parameters

# Name Type Note
1 identifier Unknown Missing description for identifier.
2 duration Unknown Missing description for duration.
3 reason Unknown Missing description for reason.
4 Callback Unknown Missing description for Callback.
5 bSaveless Unknown Missing description for bSaveless.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to remove a ban.

Parameters

# Name Type Note
1 identifier Unknown Missing description for identifier.
2 bSaveless Unknown Missing description for bSaveless.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to connect to the database.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to begin a database delete.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

Called when a MySQL error occurs.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to make a string safe for SQL.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to begin a database insert.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get whether a result is valid.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

Called when the database connection fails.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to query the database.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to begin a database select.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to begin a database update.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to add a symptom to a disease.

Parameters

# Name Type Note
1 diseaseID Unknown Missing description for diseaseID.
2 symptomID Unknown Missing description for symptomID.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to delete a disease.

Parameters

# Name Type Note
1 uniqueID Unknown Missing description for uniqueID.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to delete a symptom.

Parameters

# Name Type Note
1 uniqueID Unknown Missing description for uniqueID.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get all of a disease's symptomps.

Parameters

# Name Type Note
1 diseaseID Unknown Missing description for diseaseID.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get if a disease is valid.

Parameters

# Name Type Note
1 diseaseID Unknown Missing description for diseaseID.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get if a disease is valid.

Parameters

# Name Type Note
1 symptomID Unknown Missing description for symptomID.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to create a new disease.

Parameters

# Name Type Note
1 uniqueID Unknown Missing description for uniqueID.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to create a new symptom.

Parameters

# Name Type Note
1 uniqueID Unknown Missing description for uniqueID.
2 callback Unknown Missing description for callback.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to remove a condition from a disease.

Parameters

# Name Type Note
1 diseaseID Unknown Missing description for diseaseID.
2 symptomID Unknown Missing description for symptomID.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to append data to a file.

Parameters

# Name Type Note
1 filePath String The file path.
2 fileData String The data to write to the file.

Return Values

None.

Description

A function to delete a file.

Parameters

# Name Type Note
1 filePath String The file path.

Return Values

None.

Description

A function to get whether a file exists.

Parameters

# Name Type Note
1 filePath String The file path.

Return Values

None.

Description

A function to make a directory.

Parameters

# Name Type Note
1 directory String The directory to make.

Return Values

None.

Description

A function to read files.

Parameters

# Name Type Note
1 filePath String The file path.

Return Values

# Name Type Note
1 No name provided String The contents of the file.

Description

A function to write data to a file.

Parameters

# Name Type Note
1 filePath String The file path.
2 fileData String The data to write to the file.

Return Values

None.

Description

Add a new hint to the list.

Parameters

# Name Type Note
1 name String A unique identifier.
2 text String The body of the hint.
3 Callback Function A callback with the player as an argument, return false to hide.

Return Values

None.

Description

Find a hint by its identifier.

Parameters

# Name Type Note
1 name String A unique identifier.

Return Values

# Name Type Note
1 No name provided Table The hint table matching the identifier.

Description

Remove an existing hint from the list.

Parameters

# Name Type Note
1 name String A unique identifier.

Return Values

None.

Description

Send customized hint text to a player.

Parameters

# Name Type Note
1 player Player The recipient(s).
2 text String The hint text to send.
3 delay Float The delay before it fades.
4 color Color The color of the hint text.
5 noSound Bool :String Specify a custom sound or false for no sound.
6 showDuplicated Bool Specify wether to display duplicates of this hint.

Return Values

None.

Description

Send customized hint text to all players.

Parameters

# Name Type Note
1 text String The hint text to send.
2 delay Float The delay before it fades.
3 color Color The color of the hint text.

Return Values

None.

Description

Send customized and centered hint text to a player.

Parameters

# Name Type Note
1 player Player The recipient(s).
2 text String The hint text to send.
3 delay Float The delay before it fades.
4 color Color The color of the hint text.
5 noSound Bool :String Specify a custom sound or false for no sound.
6 showDuplicated Bool Specify wether to display duplicates of this hint.

Return Values

None.

Description

Send customized and centered hint text to all players.

Parameters

# Name Type Note
1 text String The hint text to send.
2 delay Float The delay before it fades.
3 color Color The color of the hint text.

Return Values

None.

Description

A function to send an item to a player.

Parameters

None.

Return Values

None.

Description

A function to send an item update to it's observers.

Parameters

None.

Return Values

# Name Type Note
1 No name provided Table The table of observers.

Description

A function to get whether a player can give to storage.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 itemTable Unknown Missing description for itemTable.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get whether a player can take from storage.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 itemTable Unknown Missing description for itemTable.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to close storage for a player.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 bServer Unknown Missing description for bServer.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get a player's storage entity.

Parameters

# Name Type Note
1 player Unknown Missing description for player.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get the space of a player's storage.

Parameters

# Name Type Note
1 player Unknown Missing description for player.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get a player's storage table.

Parameters

# Name Type Note
1 player Unknown Missing description for player.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get the weight of a player's storage.

Parameters

# Name Type Note
1 player Unknown Missing description for player.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to give an item to a player's storage.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 itemTable Unknown Missing description for itemTable.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get whether a player's storage has an item.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 itemTable Unknown Missing description for itemTable.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to open storage for a player.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 data Unknown Missing description for data.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to query a player's storage.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 key Unknown Missing description for key.
3 default Unknown Missing description for default.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to sync a player's cash.

Parameters

# Name Type Note
1 player Unknown Missing description for player.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to sync a player's item.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 itemTable Unknown Missing description for itemTable.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to take an item from a player's storage.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 itemTable Unknown Missing description for itemTable.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to update storage for a player.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 uniqueID Unknown Missing description for uniqueID.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to update a player's storage cash.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 cash Unknown Missing description for cash.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to update a player's storage space.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 space Unknown Missing description for space.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to update a player's storage weight.

Parameters

# Name Type Note
1 player Unknown Missing description for player.
2 weight Unknown Missing description for weight.

Return Values

# Name Type Note
1 No name provided Unknown No note provided

Description

A function to get a voice channel.

Parameters

# Name Type Note
1 name String A unique identifier.
2 flag String The flag to use the channel.

Return Values

None.

Description

A function to add a player to a voice channel.

Parameters

# Name Type Note
1 player Player The player to add to the channel.
2 name String A unique identifier.

Return Values

None.

Description

A function to get a voice channel.

Parameters

# Name Type Note
1 name String A unique identifier.

Return Values

# Name Type Note
1 No name provided String The flag for the channel.

Description

A function to get the players active channel.

Parameters

# Name Type Note
1 player Player The player to check if in a channel.
2 No name provided String A unique identifier.

Return Values

# Name Type Note
1 No name provided Bool Whether or not the player is in the channel.

Description

A function if a player is in the channel.

Parameters

# Name Type Note
1 player Player The player to check if in a channel.
2 name String A unique identifier.

Return Values

# Name Type Note
1 No name provided Bool Whether or not the player is in the channel.