Unban
Parameters
- BanID - The ID of the ban to remove
Usage
exports['resourcename']:UnbanPlayer(BanID)
Note: Replace 'resourcename' with the name of xeroshield.
Return Value
Returns false or the name of the unbanned player.
Example
local result = exports['xeroshield']:UnbanPlayer("xero-b-12345")
if result then
print("Unbanned player: " .. result)
else
print("Failed to unban player")
end
This will unban the player with ban ID "xero-b-12345" and return their name.