Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #AutoBan by McToxic Romania
- Options:
- IP: "バトルサーバー.playerrealms", "server.pro", "minecraft-romania.ro" or "b-zone.ro"
- # %ip of player% - This is ip of player
- RunCommand1: ban-ip %ip of player% &aMcToxicRo|&7You have been banned from this server for:|&4Link's or IP in chat!
- # %player% - This is name of player
- RunCommand2: ban %player% &aMcToxicRo: &aMcToxicRo|&7You have been banned from this server for:|&4Link's or IP in chat!
- on chat:
- if message contain {@IP}:
- cancel event
- execute console command "kick %player% &aMcToxicRo|&7You have been banned from this server for:|&4Link's or IP in chat!"
- wait 5 ticks
- execute console command "{@RunCommand1}"
- execute console command "{@RunCommand2}"
- log "AutoBan> %player% (%ip of player%) has been banned for DNS/IP in chat (%message%)" to "SK.log"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement