Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- BypassPermission: antiswear.bypass
- NotifyPermission: antiswear.notify
- AlertMessage: true
- Censored: true
- on chat:
- if message contains "shit" or "fuck" or "gay" or "idiot" or "butt" or "jerk" or "damn" or "shit" or "fack" or "bastard" or "mother fucker" or "fucker" or "dick" or "cock" or "bitch" or "cunt" or "fuck off" or "nigga" or "nigger" or "stfu" or "shut the fuck up" or "fck" or "wtf" or "what the fuck" or "fuck you" or "fok" or "homo" or "asf" or "pennis" or "rape" or "porn" or "prn" or "peni" or "sex" or "piss" or "ass" or "sht" or "feg" or "tits" or "fyc" or "anal" or "fap" or "ffs" or "sx" or "aids" or "mofo" or "niggah" or "lesbian" or "ngga" or "dumbass" or "dumb" or "fucking" or "pussy" or "pussies" or "cancer":
- if player has permission "{@BypassPermission}":
- stop
- if {@Censored} is true:
- cancel the event
- if {@AlertMessage} is true:
- send "&8[&c&lLionPvP&8] &ePlease do not swear."
- play sound "BLOCK_ANVIL_LAND" to player at volume 2 and pitch 2
- else:
- loop all players:
- if loop-player has permission "{@NotifyPermission}":
- send "&e&o%player% is swearing!" to loop-player
- stop
- command /antiswear [<text>]:
- description: reloads antiswear skript
- permission: antiswear.admin
- permission message: &cHey&8, &7You dont have permission for this command&8.
- trigger:
- if arg-1 is not set:
- send "&8&m--------------------------"
- send " "
- send "&f/antiswear information"
- send "&f/antiswear reload"
- send " "
- send "&8&m--------------------------"
- play sound "BLOCK_CHEST_OPEN" to player at volume 2 and pitch 2
- else:
- if arg-1 is "reload":
- send "&c&oReloading..." to player
- wait 1 tick
- execute console command "/sk reload antiswear"
- wait 1 tick
- send "&c&oAntiswear skript reloaded"
- stop
- if arg-1 is "information":
- send "&8&m--------------------------"
- send " "
- send "&f/antiswear information"
- send "&f/antiswear reload"
- send " "
- send "&8&m--------------------------"
- play sound "BLOCK_CHEST_OPEN" to player at volume 2 and pitch 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement