Advertisement
nyaago50000

Untitled

Mar 6th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1. command /report [<offline player>]:
  2. trigger:
  3. if arg 1 is set:
  4. wait 1 ticks
  5. open chest with 3 rows named "&5Report &f> &5%arg 1%"
  6. wait 3 ticks
  7. format slot 0 of player with white stained glass pane named "" to be unstealable
  8. format slot 1 of player with white stained glass pane named "" to be unstealable
  9. format slot 2 of player with white stained glass pane named "" to be unstealable
  10. format slot 3 of player with white stained glass pane named "" to be unstealable
  11. format slot 4 of player with white stained glass pane named "" to be unstealable
  12. format slot 5 of player with white stained glass pane named "" to be unstealable
  13. format slot 6 of player with white stained glass pane named "" to be unstealable
  14. format slot 7 of player with white stained glass pane named "" to be unstealable
  15. format slot 8 of player with white stained glass pane named "" to be unstealable
  16. format slot 9 of player with white stained glass pane named "" to be unstealable
  17. 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%"]
  18. format slot 11 of player with cobweb named "&5AntiKnockBack" to close then run [make player execute command "/0reportconfirm %arg 1% AntiKnockBack %sender%"]
  19. 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%"]
  20. format slot 13 of player with white stained glass pane named "" to be unstealable
  21. format slot 14 of player with bow named "&5Reach" to close then run [make player execute command "/0reportconfirm %arg 1% Reach %sender%"]
  22. format slot 15 of player with clock named "&5Timer/FastPlace" to close then run [make player execute command "/0reportconfirm %arg 1% Timer/FastPlace %sender%"]
  23. format slot 16 of player with diamond sword named "&5Camp" to close then run [make player execute command "/0reportconfirm %arg 1% Forcefield/KillAura %sender%"]
  24. format slot 17 of player with white stained glass pane named "" to be unstealable
  25. format slot 18 of player with white stained glass pane named "" to be unstealable
  26. format slot 19 of player with white stained glass pane named "" to be unstealable
  27. format slot 20 of player with white stained glass pane named "" to be unstealable
  28. format slot 21 of player with white stained glass pane named "" to be unstealable
  29. format slot 22 of player with white stained glass pane named "" to be unstealable
  30. format slot 23 of player with white stained glass pane named "" to be unstealable
  31. format slot 24 of player with white stained glass pane named "" to be unstealable
  32. format slot 25 of player with white stained glass pane named "" to be unstealable
  33. format slot 26 of player with white stained glass pane named "" to be unstealable
  34. stop
  35. else:
  36. send "&5[&fReport&5] &fSéléctionne le joueur à report" to sender
  37. stop
  38. command /0reportconfirm <offline player> <text> <player> [<text>]:
  39. executable by: console
  40. trigger:
  41. if arg 1 is set:
  42. if arg 2 is set:
  43. if arg 3 is set:
  44. if arg 4 is not set:
  45. send "&f&l&m--------------------------------------" to arg 3
  46. send " "
  47. send "&dVoulez vous confirmer la plainte ?" to arg 3
  48. send "&dAccusé: &f%arg 1%" to arg 3
  49. send "&dRaison: &f%arg 2%" to arg 3
  50. send " "
  51. 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 ?"}]}}}"
  52. send " " to arg 3
  53. send "&f&l&m--------------------------------------" to arg 3
  54. if arg 4 is set:
  55. if arg 4 is "confirm":
  56. loop all players:
  57. loop-player has permission "MODERATOR":
  58. send "&f&l&m--------------------------------------" to arg 3
  59. send " " to arg 3
  60. send "&dAccusateur: &f%arg 3%" to loop-player
  61. send "&dAccusé: &f%arg 1%" to loop-player
  62. send "&dRaison: &f%arg 2%" to loop-player
  63. send " " to loop-player
  64. 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"}]}}}"
  65. send " " to loop-player
  66. send "&f&l&m--------------------------------------" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement