Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if player doesn't have permission "captcha.bypass":
- set {captcha::%player's uuid%} to true
- set {integer} to a random integer between 1 and 5000:
- send "&b&o/captcha %{poop}%" to player
- on movement:
- if {captcha::%player's uuid%} is true:
- cancel event
- on chat:
- if {captcha::%player's uuid%} is true:
- cancel event
- on command:
- if {captcha::%player's uuid%} is true:
- cancel event
- command /captcha [<text>]:
- trigger:
- if arg-1 is "%{integer}%":
- set {captcha::%player's uuid%} to false
- send "&b&oCaptcha Succeeded!"
- else:
- make console execute command "kick %player% &c&oWrong Captcha Code! &7(&b&oRejoin with the IP servernamehere.minehut.gg to redo the captcha!&7)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement