ReloadBans
Jump to navigation
Jump to search
This function will reload the server ban list file.
Syntax
bool reloadBans ()
Returns
Returns true if the ban list was reloaded successfully, false otherwise.
Example
This example add "reloadban" to reload the server ban list file.
function ReBan (player) if (reloadBans()) then outputChatBox("Bans has been reloaded successfully.",player) else outputChatBox("Failed to Reload Bans.",player) end end addCommandHandler("reloadban",ReBan)
Requirements
This template will be deleted.