Exports
-- Bans a player from the client side
-- @param reason: The reason for banning the player
-- @param extended: Additional details about the ban
-- @param duration: Ban duration in seconds (-1 for permanent ban)
exports["WaveShield"]:banPlayer(reason, extended, duration)
-- Bans a player from the server side
-- @param source: The player's server ID
-- @param reason: The reason for banning the player
-- @param extended: Additional details about the ban
-- @param category: Ban category (defaults to "Main")
-- @param duration: Ban duration in seconds (-1 for permanent ban)
exports["WaveShield"]:banPlayer(source, reason, extended, "Main", duration)
-- Unbans a previously banned player
-- @param banId: The unique ID of the ban to remove
-- @param reason: (Optional) Reason for unbanning the player
-- @param from: (Optional) Name/identifier of the staff member who performed the unban
exports["WaveShield"]:unbanPlayer(banId, reason, from)
-- Unbans all currently banned players
-- @param from: Name/identifier of the staff member who performed the mass unban
exports["WaveShield"]:unbanAllPlayers(from)
Last updated