Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {dsgvo::accept::%player's uuid%} is not set:
- execute player command "/dsgvo verify"
- MACHE DEN SPIELER IN VANISH
- stop
- on inventory close:
- if {dsgvo::accept::%player's uuid%} is not set:
- execute player command "/dsgvo verify"
- stop
- command /dsgvo [<text>] [<text>]:
- trigger:
- if arg 1 is "verify":
- wait 2 ticks
- if player is online:
- open chest with 1 row named "&aDSGVO" to player
- wait 1 ticks
- format slot 0 of player with gray stained glass pane named "&7 " to be unstealable
- format slot 1 of player with gray stained glass pane named "&7 " to be unstealable
- format slot 2 of player with gray stained glass pane named "&7 " to be unstealable
- format slot 3 of player with emerald named "&aAnnehmen" to close then run [execute player command "/dsgvo agree"]
- format slot 4 of player with paper named "&7DSGVO lesen" to run [execute player command "/dsgvo read"]
- format slot 5 of player with redstone named "&cAblehnen" to run [execute player command "/dsgvo deny"]
- format slot 6 of player with gray stained glass pane named "&7 " to be unstealable
- format slot 7 of player with gray stained glass pane named "&7 " to be unstealable
- format slot 8 of player with gray stained glass pane named "&7 " to be unstealable
- wait 20 seconds
- if {dsgvo::accept::%player's uuid%} is not set:
- kick the player due to "&cDu hast die Datenschutzgrundverordnung inerhalb 20 Sekunden nich akzeptiert!"
- stop
- else:
- stop
- else:
- stop
- if arg 1 is "agree":
- if {dsgvo::accept::%player's uuid%} is not set:
- set {dsgvo::accept::%player's uuid%} to true
- NEHME DEN SPIELER AUS DEM VANISH
- loop 99 times:
- send "&7"
- stop
- else:
- send "&7Du hast unsere Datenschutzgrundverordnung bereits akzeptiert. Um dies wieder aufzuheben mache /dsgvo abort"
- stop
- if arg 1 is "deny":
- kick the player due to "&cBitte akzeptiere die Datenschutzgrundverordnung!"
- delete {dsgvo::accept::%player's uuid%}
- stop
- if arg 1 is "read":
- loop 99 times:
- send "&7"
- send "&7DSGVO"
- send "&7"
- send "&71. Die UUID deines Minecraft Kontos wird gespeichert."
- send "&72. Deine IP wird gespeichert."
- send "&73. Deine Chatnachrichten werden temporär gespeichert."
- stop
- if arg 1 is "abort":
- kick the player due to "&cDeine Daten werden in den nächsten 30 Sekunden automatisch gelöscht."
- delete {dsgvo::accept::%player's uuid%}
- HIER KOMMEN DEINE VARIABELN HIN
- stop
- if arg 1 is "check":
- if player has permission "PERMSSION":
- if arg 2 is set:
- if {dsgvo::accept::%player's uuid%} is not set:
- send "&7Der Spieler &6%arg-2% &7wurde in unserer Datenbank nicht gefunden!"
- stop
- else:
- send "&7Der Spieler &6%arg-2% &7wurde in der Datenbank erfolgreich gefunden!"
- stop
- else:
- send "&cBitte gebe einen Namen an"
- else:
- send "&cDazu hast du keine Berechtigung"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement