Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /report [<offline player>]:
- trigger:
- if arg 1 is set:
- wait 1 ticks
- open chest with 3 rows named "&5Report &f> &5%arg 1%"
- wait 3 ticks
- format slot 0 of player with white stained glass pane named "" to be unstealable
- format slot 1 of player with white stained glass pane named "" to be unstealable
- format slot 2 of player with white stained glass pane named "" to be unstealable
- format slot 3 of player with white stained glass pane named "" to be unstealable
- format slot 4 of player with white stained glass pane named "" to be unstealable
- format slot 5 of player with white stained glass pane named "" to be unstealable
- format slot 6 of player with white stained glass pane named "" to be unstealable
- format slot 7 of player with white stained glass pane named "" to be unstealable
- format slot 8 of player with white stained glass pane named "" to be unstealable
- format slot 9 of player with white stained glass pane named "" to be unstealable
- format slot 10 of player with diamond sword named "&5Forcefield/KillAura" to close then run [make player execute command "/0reportconfirm %arg 1% Forcefield/KillAura %sender%"]
- format slot 11 of player with cobweb named "&5AntiKnockBack" to close then run [make player execute command "/0reportconfirm %arg 1% AntiKnockBack %sender%"]
- format slot 12 of player with feather named "&5Fly/Glide/SpeedHack" to close then run [make player execute command "/0reportconfirm %arg 1% Forcefield/KillAura %sender%"]
- format slot 13 of player with white stained glass pane named "" to be unstealable
- format slot 14 of player with bow named "&5Reach" to close then run [make player execute command "/0reportconfirm %arg 1% Reach %sender%"]
- format slot 15 of player with clock named "&5Timer/FastPlace" to close then run [make player execute command "/0reportconfirm %arg 1% Timer/FastPlace %sender%"]
- format slot 16 of player with diamond sword named "&5Camp" to close then run [make player execute command "/0reportconfirm %arg 1% Forcefield/KillAura %sender%"]
- format slot 17 of player with white stained glass pane named "" to be unstealable
- format slot 18 of player with white stained glass pane named "" to be unstealable
- format slot 19 of player with white stained glass pane named "" to be unstealable
- format slot 20 of player with white stained glass pane named "" to be unstealable
- format slot 21 of player with white stained glass pane named "" to be unstealable
- format slot 22 of player with white stained glass pane named "" to be unstealable
- format slot 23 of player with white stained glass pane named "" to be unstealable
- format slot 24 of player with white stained glass pane named "" to be unstealable
- format slot 25 of player with white stained glass pane named "" to be unstealable
- format slot 26 of player with white stained glass pane named "" to be unstealable
- stop
- else:
- send "&5[&fReport&5] &fSéléctionne le joueur à report" to sender
- stop
- command /0reportconfirm <offline player> <text> <player> [<text>]:
- executable by: console
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 3 is set:
- if arg 4 is not set:
- send "&f&l&m--------------------------------------" to arg 3
- send " "
- send "&dVoulez vous confirmer la plainte ?" to arg 3
- send "&dAccusé: &f%arg 1%" to arg 3
- send "&dRaison: &f%arg 2%" to arg 3
- send " "
- make console execute command "/tellraw %arg 3% ["",{"text":"Cliquez pour confirmer","color":"aqua","italic":true,"clickEvent":{"action":"run_command","value":"/0reportconfirm %arg 1% %arg 2% %arg 3% confirm"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Confirmer ?"}]}}}"
- send " " to arg 3
- send "&f&l&m--------------------------------------" to arg 3
- if arg 4 is set:
- if arg 4 is "confirm":
- loop all players:
- loop-player has permission "MODERATOR":
- send "&f&l&m--------------------------------------" to arg 3
- send " " to arg 3
- send "&dAccusateur: &f%arg 3%" to loop-player
- send "&dAccusé: &f%arg 1%" to loop-player
- send "&dRaison: &f%arg 2%" to loop-player
- send " " to loop-player
- make console execute command "/tellraw %loop-player% ["",{"text":"[Se téléporter]","color":"aqua","italic":true,"clickEvent":{"action":"run_command","value":"/tp %arg 1%"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Se téléporter"}]}}}"
- send " " to loop-player
- send "&f&l&m--------------------------------------" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement