Jump to content

Ban skript


OkayDang

Recommended Posts

command /ban [<player>] [<text>]:
   permisison: ban.sk
   permission message: &cPermission Denied!
   trigger:
       if arg 1 isn't set:
         send "&b/ban (player) (reason)"
       if arg 1 is set:
         kick arg 1
         ban arg 1
         broadcast "&b%player% &fhas banned &b%arg 1% &ffrom ServerName"
         broadcast "&fReason: &c%arg 2%"

command /unban [<offline player>] [<text>]:
   permission: ban.sk
   permission message: &cPermission Denied!
   trigger:
       if arg 1 isn't set:
         send "&b/unban (player) (reason)"
       if arg 1 is set:
         broadcast "&b%player% &fhas unbanned &b%arg 1%"
         broadcast "&fReason: &c%arg 2%"

         #You can remove the [<text>] if you would like, you can change all of this i'm just doing this for fun

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...