13.10.2013, 01:24
Script Name: Temporary Bans
Description: With this script you can temporary banning players, they will be automatically unbanned after ban time.
Script Using: SQLite, Zcmd, Sscanf
Commands:
/Ban [Player ID] [Days] [Reason] - Banning player by ID.
/Banip [IP] [Days] [Reason] - Banning player by IP.
/Unban [Player Name] - Unbanning player by name.
/Unbanip [IP] - Unbanning player by IP.
Callbacks:
OnFilterScriptInit
OnFilterScriptExit
OnPlayerConnect
Forwards: TB_KickPlayer(PlayerID)
Functions:
TB_BanPlayerByID(BannedID,Time,Reason[],BannerID)
TB_BanPlayerByIP(BannedIP[],Time,Reason[],BannerID)
TB_UnbanPlayerByName(BannedName[],UnbannerID)
TB_UnbanPlayerByIP(BannedIP[],UnbannerID)
TB_ConvertTime(Seconds)
Downloads:
Solidfiles
Pastebin
Description: With this script you can temporary banning players, they will be automatically unbanned after ban time.
Script Using: SQLite, Zcmd, Sscanf
Commands:
/Ban [Player ID] [Days] [Reason] - Banning player by ID.
/Banip [IP] [Days] [Reason] - Banning player by IP.
/Unban [Player Name] - Unbanning player by name.
/Unbanip [IP] - Unbanning player by IP.
Callbacks:
OnFilterScriptInit
OnFilterScriptExit
OnPlayerConnect
Forwards: TB_KickPlayer(PlayerID)
Functions:
TB_BanPlayerByID(BannedID,Time,Reason[],BannerID)
TB_BanPlayerByIP(BannedIP[],Time,Reason[],BannerID)
TB_UnbanPlayerByName(BannedName[],UnbannerID)
TB_UnbanPlayerByIP(BannedIP[],UnbannerID)
TB_ConvertTime(Seconds)
Downloads:
Solidfiles
Pastebin