Advertisement
GemsMC

Untitled

Feb 25th, 2020
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. on join:
  2. if {dsgvo::accept::%player's uuid%} is not set:
  3. execute player command "/dsgvo verify"
  4. MACHE DEN SPIELER IN VANISH
  5. stop
  6.  
  7. on inventory close:
  8. if {dsgvo::accept::%player's uuid%} is not set:
  9. execute player command "/dsgvo verify"
  10. stop
  11.  
  12. command /dsgvo [<text>] [<text>]:
  13. trigger:
  14. if arg 1 is "verify":
  15. wait 2 ticks
  16. if player is online:
  17. open chest with 1 row named "&aDSGVO" to player
  18. wait 1 ticks
  19. format slot 0 of player with gray stained glass pane named "&7 " to be unstealable
  20. format slot 1 of player with gray stained glass pane named "&7 " to be unstealable
  21. format slot 2 of player with gray stained glass pane named "&7 " to be unstealable
  22. format slot 3 of player with emerald named "&aAnnehmen" to close then run [execute player command "/dsgvo agree"]
  23. format slot 4 of player with paper named "&7DSGVO lesen" to run [execute player command "/dsgvo read"]
  24. format slot 5 of player with redstone named "&cAblehnen" to run [execute player command "/dsgvo deny"]
  25. format slot 6 of player with gray stained glass pane named "&7 " to be unstealable
  26. format slot 7 of player with gray stained glass pane named "&7 " to be unstealable
  27. format slot 8 of player with gray stained glass pane named "&7 " to be unstealable
  28. wait 20 seconds
  29. if {dsgvo::accept::%player's uuid%} is not set:
  30. kick the player due to "&cDu hast die Datenschutzgrundverordnung inerhalb 20 Sekunden nich akzeptiert!"
  31. stop
  32. else:
  33. stop
  34. else:
  35. stop
  36. if arg 1 is "agree":
  37. if {dsgvo::accept::%player's uuid%} is not set:
  38. set {dsgvo::accept::%player's uuid%} to true
  39. NEHME DEN SPIELER AUS DEM VANISH
  40. loop 99 times:
  41. send "&7"
  42. stop
  43. else:
  44. send "&7Du hast unsere Datenschutzgrundverordnung bereits akzeptiert. Um dies wieder aufzuheben mache /dsgvo abort"
  45. stop
  46. if arg 1 is "deny":
  47. kick the player due to "&cBitte akzeptiere die Datenschutzgrundverordnung!"
  48. delete {dsgvo::accept::%player's uuid%}
  49. stop
  50. if arg 1 is "read":
  51. loop 99 times:
  52. send "&7"
  53. send "&7DSGVO"
  54. send "&7"
  55. send "&71. Die UUID deines Minecraft Kontos wird gespeichert."
  56. send "&72. Deine IP wird gespeichert."
  57. send "&73. Deine Chatnachrichten werden temporär gespeichert."
  58. stop
  59. if arg 1 is "abort":
  60. kick the player due to "&cDeine Daten werden in den nächsten 30 Sekunden automatisch gelöscht."
  61. delete {dsgvo::accept::%player's uuid%}
  62. HIER KOMMEN DEINE VARIABELN HIN
  63. stop
  64. if arg 1 is "check":
  65. if player has permission "PERMSSION":
  66. if arg 2 is set:
  67. if {dsgvo::accept::%player's uuid%} is not set:
  68. send "&7Der Spieler &6%arg-2% &7wurde in unserer Datenbank nicht gefunden!"
  69. stop
  70. else:
  71. send "&7Der Spieler &6%arg-2% &7wurde in der Datenbank erfolgreich gefunden!"
  72. stop
  73. else:
  74. send "&cBitte gebe einen Namen an"
  75. else:
  76. send "&cDazu hast du keine Berechtigung"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement