daily pastebin goal
0%
SHARE
TWEET

Untitled

Balerias Mar 25th, 2019 (edited) 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     p: &8● &eOneDayVaro &8┃ &7
  3.  
  4. every 1 minutes:
  5.     set {Minuten} to "%minute%"
  6.     set {Stunden} to "%hour%"
  7.     if {Stunden} is "23":
  8.         if {Minuten} is "1":
  9.             set {SpielerVorGestern} to {SpielerGestern}
  10.             set {NeueSpielerVorGestern} to {NeueSpielerGestern}
  11.             set {SpielerGestern} to {SpielerHeute}
  12.             set {NeueSpielerGestern} to {NeueSpielerHeute}
  13.             set {NeueSpielerHeute} to 0
  14.             set {SpielerHeute} to 0
  15.             delete {JoinHeute::*}
  16.             if {Gestern} is true:
  17.                 set {VorGestern} to true
  18.             set {Gestern} to true
  19. on join:
  20.     if {firstjoin::%player's uuid%} is not set:
  21.         set {firstjoin::%player's uuid%} to true
  22.         add 1 to {RegestrierteSpieler}
  23.         add 1 to {NeueSpielerHeute}
  24.     if {JoinHeute::%player's uuid%} is not set:
  25.         set {JoinHeute::%player's uuid%} to true
  26.         add 1 to {SpielerHeute}
  27. command /Serverstats:
  28.     trigger:   
  29.         play "click" to player with volume 100.0 and pitch 5
  30.         open chest with 1 rows named "&6Serverstatistiken" to player
  31.         set {Stammspieler} to "%{SpielerHeute}-{NeueSpielerHeute}%"
  32.         set {StammspielerGestern} to "%{SpielerGestern}-{NeueSpielerGestern}%"
  33.         set {StammspielerVorGestern} to "%{SpielerVorGestern}-{NeueSpielerVorGestern}%"
  34.         if {Gestern} is not set:
  35.             set {SpielerGestern} to "&cNicht geladen .."
  36.             set {NeueSpielerGestern} to "&cNicht geladen .."
  37.             set {StammspielerGestern} to "&cNicht geladen .."
  38.         if {VorGestern} is not set:
  39.             set {SpielerVorGestern} to "&cNicht geladen .."
  40.             set {NeueSpielerVorGestern} to "&cNicht geladen .."
  41.             set {StammspielerVorGestern} to "&cNicht geladen .."
  42.         wait 0.001 ticks
  43.         format slot 0 of player with 160:7 named " " to be unstealable 
  44.         format slot 1 of player with 160:7 named " " to be unstealable 
  45.         format slot 2 of player with 160:7 named " " to be unstealable 
  46.         format slot 3 of player with 160:7 named " " to be unstealable 
  47.         format slot 5 of player with 160:7 named " " to be unstealable 
  48.         format slot 4 of player with gold block named "&6Serverstatistiken" with lore "&7&m----------------------|| &6Registriert: &7%{RegestrierteSpieler}%||&7&m----------------------|| &eSpieler Heute: &7%{SpielerHeute}%|| &7Stammspieler Heute: &7%{Stammspieler}%|| &7Neue Spieler Heute: &7%{NeueSpielerHeute}%||&7&m----------------------|| &eSpieler Gestern: &7%{SpielerGestern}%|| &7Stammspieler Gestern: &7%{StammspielerGestern}%|| &7Neue Spieler Gestern: &7%{NeueSpielerGestern}%||&7&m----------------------|| &eSpieler VorGestern: &7%{SpielerVorGestern}%|| &7Stammspieler VorGestern: &7%{StammspielerVorGestern}%|| &7Neue Spieler VorGestern: &7%{NeueSpielerVorGestern}%||&7&m----------------------" to be unstealable
  49.         format slot 6 of player with 160:7 named " " to be unstealable 
  50.         format slot 7 of player with 160:7 named " " to be unstealable 
  51.         format slot 8 of player with 160:7 named " " to be unstealable 
  52. command /Serverstatsdelete:
  53.     trigger:   
  54.         send "&7Alle Stats wurden gelöscht!"      
  55.         delete {firstjoin::*}
  56.         delete {RegestrierteSpieler}
  57.         delete {NeueSpielerHeute}
  58.         delete {JoinHeute::*}
  59.         delete {SpielerHeute}
  60.         delete {VorGestern}
  61.         delete {Gestern}
  62. on join:
  63.     delete {Anfrage.%player%::*}
  64.     delete {EigenesTeam.%player%}
  65.     set {prefix.%player%} to "&a"
  66.     if player has permission "group.premium":
  67.         set {prefix.%player%} to "&6"
  68.     if player has permission "group.held":
  69.         set {prefix.%player%} to "&3"
  70.     if player has permission "group.vip":
  71.         set {prefix.%player%} to "&5"
  72.     if player has permission "group.builder":
  73.         set {prefix.%player%} to "&e"
  74.     if player has permission "group.hbuildmanager":
  75.         set {prefix.%player%} to "&4"
  76.     if player has permission "group.content":
  77.         set {prefix.%player%} to "&b"
  78.     if player has permission "group.tsup":
  79.         set {prefix.%player%} to "&9"
  80.     if player has permission "group.sup":
  81.         set {prefix.%player%} to "&9"
  82.     if player has permission "group.mod":
  83.         set {prefix.%player%} to "&c"
  84.     if player has permission "group.srMod":
  85.         set {prefix.%player%} to "&c"
  86.     if player has permission "group.dev":
  87.         set {prefix.%player%} to "&b"
  88.     if player has permission "group.admin":
  89.         set {prefix.%player%} to "&4"
  90.     if {state} is "Lobby":
  91.         set join message to "{@p}%{prefix.%player%}%%player% &7ist der Runde beigetreten&8."
  92.     else:
  93.         set join message to ""
  94. on quit:
  95.     if {state} is "Lobby":
  96.         set leave message to "{@p}%{prefix.%player%}%%player% &7hat die Runde verlassen&8."
  97.     else:
  98.         set leave message to ""
  99. command /varo [<text>] [<text>]:
  100.     trigger:
  101.         if arg-1 is not set:
  102.             send "{@p}/varo setlobby"
  103.             send "{@p}/varo addspawn <Nummer>"
  104.         if arg-1 is "setlobby":
  105.             set {lobby} to location of player
  106.             send "{@p}Du hast erfolgreich die Lobby &fgesetzt"
  107.         if arg-1 is "addspawn":
  108.             if arg-2 is set:
  109.                 set {Varo.Spawn.%arg-2%} to location of player
  110.                 send "{@p}Du hast erfolgreich den &f%arg-2% &7Spawn gesetzt&8."
  111. command /configurate:
  112.     permission: op.op
  113.     permission: {@p}&cDazu hast du keine Rechte
  114.     trigger:
  115.         execute console command "/worldborder set 500 1"
  116.         kick all players due to "{@p}&cDas Spiel startet nun neu .."
  117.         set {countdown} to true
  118.         set {state} to "lobby"
  119.         set {CountdownStart} to true
  120.         set {start} to false
  121.         set {überlebende} to 0
  122.         delete {Team::*}   
  123.         delete {Tag::*}
  124.         delete {TeamPartner::*}
  125.         set {Amount.Spawns} to 0
  126.         set {Varo.Spieler.Spawns} to 0
  127.         delete {TeammName::*}
  128.         delete {FARBE::*}
  129.  
  130. on join:
  131.     execute console command "nte player %player% clear"
  132.     set max health of player to 10
  133.     set {kills.permatch.%player%} to 0
  134.     clear player's inventory
  135.     heal player
  136.     remove Invisibility from the player
  137.     set {überlebenderspieler.%player%} to false
  138.     set hunger of player to 30
  139.     teleport player to {bugteleport}
  140.     wait 4 ticks
  141.     if {state} is "lobby":
  142.         teleport player to {lobby}
  143.         send "&8&m----------------------------------------"
  144.         send "&8● &9Info &8┃ &7Du möchtest ein Team &ferstellen&7?"
  145.         send "&8● &9Info &8┃ &7Nutze /Team create <Team> <Kürzel>"
  146.         send "&d&8&m----------------------------------------"
  147.         set slot 0 of player to 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick"
  148.         set slot 8 of player to 402 named "&8● &cVerlassen &8┃ &fRechtsklick"
  149.         teleport player to {wartelobby}
  150.         set {players.online} to number of all players
  151.         loop all players:
  152.             wipe loop-player's sidebar
  153.             set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  154.             set score "&a " in sidebar of loop-player to 10
  155.             set score "&fDein Team" in sidebar of loop-player to 9
  156.             if {TeamInfo.%loop-player%} is set:
  157.                 set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8   
  158.             if {TeamInfo.%loop-player%} is not set:        
  159.                 set score "&8× &c✘" in sidebar of loop-player to 8                  
  160.             set score "&d" in sidebar of loop-player to 7
  161.             set score "&fOnline" in sidebar of loop-player to 6
  162.             set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  163.             set score "&9" in sidebar of loop-player to 4
  164.             set score "&fTeamspeak" in sidebar of loop-player to 3
  165.             set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  166.             set score "&7&m--------------" in sidebar of loop-player to 1
  167.         execute console command "/_startcountdown"
  168.         wait 1 seconds
  169.         if {countdown} is true:
  170.             send "{@p}&7Für den &fStart &7fehlen noch &f%{start.ab.Spieler}-{BowDuell.SpielerAllgeimein}% &7Spieler&8."
  171.     if {state} is "ingame":
  172.         teleport player to {deathmatch.spec.ingame}
  173.         set max health of player to 10
  174.         execute console command "nte player %player% prefix &7"
  175.         execute console command "nte player %player% priority 99"
  176.         apply potion of Invisibility of tier 2 to player for 1500 seconds
  177.         set {überlebenderspieler.%player%} to false
  178.         set hunger of player to 30
  179.         heal player
  180.         hide player from all players       
  181.         loop all players:
  182.             execute loop-player command "fix_**_players"
  183.         cancel event
  184.  
  185. on join:
  186.     delete {TeamInfo.%player%}
  187.     delete {TagInfo.%player%}
  188.     delete {TeamAnzahlSpieler.%player%}
  189.    
  190. command /random_farbeaaf:
  191.     trigger:
  192.         chance of 10%:
  193.             execute player command "farbe_weiß__"
  194.             stop
  195.         chance of 15%:
  196.             execute player command "farbe_lila__"
  197.             stop
  198.         chance of 15%:
  199.             execute player command "farbe_dgrün__"
  200.             stop
  201.         chance of 15%:
  202.             execute player command "farbe_blau__"
  203.             stop
  204.         chance of 15%:
  205.             execute player command "farbe_türkies__"
  206.             stop
  207.         chance of 15%:
  208.             execute player command "farbe_drot__"
  209.             stop
  210.         chance of 15%:
  211.             execute player command "farbe_gelb__"
  212.             stop
  213.         chance of 15%:
  214.             execute player command "farbe_grau__"      
  215.             stop
  216.         execute player command "farbe_grün__"         
  217. command /sadffdaa [<text>] [<player>]:
  218.     trigger:
  219.         if arg-1 is "invite":
  220.             if arg-2 is set:
  221.                 if {TeamInfo.%player%} is set:
  222.                     if {TeamInfo.%arg-2%} is not set:
  223.                         if {Anfrage.%arg-2%::%player%} is not set:
  224.                             play "click" to player with volume 100 and pitch 15
  225.                             send "{@p}Du hast &f%arg-2% &7eine &aTeam-Anfrage &7gesendet&8."
  226.                             send "{@p}Du hast von %player% &7eine &aTeam-Anfrage &7bekommen&8." to arg 2                                                       
  227.                             set {Anfrage.%arg-2%::%player%} to true
  228.                         else:
  229.                             send "{@p}&cDiesem Spieler wurde bereits eine Anfrage gesendet&8."
  230.                     else:
  231.                         send "{@p}&cDieser Spieler ist bereits in einem Team&8."
  232.                 else:
  233.                     send "{@p}&cDu hast noch kein Team erstellt&8."
  234.             else:
  235.                 send "{@p}Nutze /Team invite <Spieler>"
  236. command /Team [<text>] [<text>] [<text>]:
  237.     trigger:
  238.         if arg-1 is not set:
  239.             send "{@p}/Team create <Team> <Kürzel>"
  240.             send "{@p}/Team accept <Spieler>"
  241.             send "{@p}/Team kick"
  242.             send "{@p}/Team leave"
  243.         if arg-1 is "create":
  244.             if {state} is "lobby":
  245.                 if arg-2 is set:
  246.                     if arg-2 contains "&":
  247.                         send "{@p}&cDu darfst keine Sonderzeichen nutzen&8."
  248.                     else:
  249.                         if arg-3 is set:
  250.                             if {TeamAnzahlSpieler.%player%} is not set:
  251.                                 if {Team::%arg-2%} is not set:
  252.                                     if {Tag::%arg-3%} is not set:
  253.                                         if arg-3 contains "&":
  254.                                             send "{@p}&cDu darfst keine Sonderzeichen nutzen&8."
  255.                                         else:
  256.                                             if length of "%arg-2%" is less than 11:
  257.                                                 if length of "%arg-3%" is less than 6:
  258.                                                     if arg-2 contains "Team":
  259.                                                         send "{@p}Diesen Namen darfst du nicht benutzen&8."
  260.                                                     else:
  261.                                                         if arg-3 contains "Team":
  262.                                                             send "{@p}Diesen Namen darfst du nicht benutzen&8."
  263.                                                             stop
  264.                                                         clear player's inventory
  265.                                                         set {Team.NichtSchlagen.%player%} to arg-3
  266.                                                         set {EigenesTeam.%player%} to true
  267.                                                         set slot 8 of player to 402 named "&8● &cTeam verlassen &8┃ &fRechtsklick"                         
  268.                                                         set slot 1 of player to 404 named "&8● &7Teamfarbe &8┃ &8[&7%{Team.NichtSchlagen.%player%}%&8]"
  269.                                                         set slot 0 of player to 267 named "&8● &eSpieler Einladen &8┃ &fLinksklick"
  270.                                                         set {FARBE::%{TeamInfo.%player%}%} to "&7"
  271.                                                         set {Teamfarbe.%player%} to "&7"
  272.                                                         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  273.                                                         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  274.                                                         set {Team::%arg-2%} to 0
  275.                                                         set {TeammName::%arg-2%} to arg-3
  276.                                                         set {TeamAnzahlSpieler.%player%} to 1
  277.                                                         set {TeamInfo.%player%} to "%arg-2%"
  278.                                                         set {TagInfo.%player%} to "%arg-3%"
  279.                                                         send "{@p}Du hast das Team &a%arg-2% &7mit dem Kürzel &a%arg-3% &aerstellt&8."
  280.                                                         set {Tag::%arg-3%} to true
  281.                                                         set {Teamfarbe.%arg-2%} to "&7"
  282.                                                         chance of 10%:
  283.                                                             execute player command "farbe_weiß__"
  284.                                                             stop
  285.                                                         chance of 15%:
  286.                                                             execute player command "farbe_lila__"
  287.                                                             stop
  288.                                                         chance of 15%:
  289.                                                             execute player command "farbe_dgrün__"
  290.                                                             stop
  291.                                                         chance of 15%:
  292.                                                             execute player command "farbe_blau__"
  293.                                                             stop
  294.                                                         chance of 15%:
  295.                                                             execute player command "farbe_türkies__"
  296.                                                             stop
  297.                                                         chance of 15%:
  298.                                                             execute player command "farbe_drot__"
  299.                                                             stop
  300.                                                         chance of 15%:
  301.                                                             execute player command "farbe_gelb__"
  302.                                                             stop
  303.                                                         chance of 15%:
  304.                                                             execute player command "farbe_grau__"      
  305.                                                             stop
  306.                                                         execute player command "farbe_grün__"                                                         
  307.                                                 else:
  308.                                                     send "{@p}&cDein Team-Tag kann maximal 5 Zeichen haben&8."
  309.                                             else:
  310.                                                 send "{@p}&cDein Team-Name kann maximal 10 Zeichen haben&8."
  311.                                     else:
  312.                                         send "{@p}&cDiesen Tag-Namen kannst du nicht mehr benutzen&8."
  313.                                 else:
  314.                                     send "{@p}&cDiesen Team-Namen kannst du nicht mehr benutzen&8."
  315.                             else:
  316.                                 send "{@p}&cDu bist bereits in einem Team&8."
  317.                         else:
  318.                             send "{@p}Nutze /Team create <Name> <Tag>"
  319.                     else:
  320.                         send "{@p}Nutze /Team create <Name> <Tag>"
  321.             else:
  322.                 send "{@p}&cDu kannst diesen Command jetzt nicht mehr ausführen&8."
  323.         if arg-1 is "acceptasdf":
  324.             if arg-2 is set:
  325.                 if {TeamInfo.%player%} is not set:
  326.                     if {Anfrage.%player%::%arg-2%} is set:
  327.                         if {TeamAnzahlSpieler.%arg-2%} is smaller than 2:
  328.                             delete {Anfrage.%player%::*}                           
  329.                             play "WITHER_SHOOT" to player with volume 100 and pitch 15
  330.                             clear player's inventory
  331.                             set slot 8 of player to 402 named "&8● &cTeam verlassen &8┃ &fRechtsklick"                             
  332.                             add 1 to {TeamAnzahlSpieler.%arg-2%}
  333.                             set {TagTeam.%player%} to {TagTeam.%arg-2%}
  334.                             set {NameTeam.%player%} to {NameTeam.%arg-2%}
  335.                             set {TeamPartner::%player%.%arg-2%} to true
  336.                             set {Team.NichtSchlagen.%player%} to {Team.NichtSchlagen.%arg-2%}
  337.                             delete {Anfrage.%player%::%arg-2%}
  338.                             send "{@p}&f%player% &7ist deinem Team &abeigetreten&8." to arg-2
  339.                             send "{@p}Du hast die &fAnfrage &7von %arg-2% &7erfolgreich &aangenommen&8."
  340.                             execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%arg-2%}%%{Team.NichtSchlagen.%arg-2%}%&8]"
  341.                             execute console command "nte player %player% prefix %{Teamfarbe.%arg-2%}%"
  342.                             set {TeamInfo.%player%} to {TeamInfo.%arg-2%}
  343.                             set {TagInfo.%player%} to {TagInfo.%arg-2%}
  344.                             set {Teamfarbe.%player%} to {Teamfarbe.%arg-2%}
  345.                             wipe player's sidebar
  346.                             set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  347.                             set score "&a" in sidebar of player to 10
  348.                             set score "&fDein Team" in sidebar of player to 9
  349.                             if {TeamInfo.%player%} is set:
  350.                                 set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  351.                             set score "&d" in sidebar of player to 7
  352.                             set score "&fOnline" in sidebar of player to 6
  353.                             set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  354.                             set score "&9" in sidebar of player to 4
  355.                             set score "&fTeamspeak" in sidebar of player to 3
  356.                             set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  357.                             set score "&7&m--------------" in sidebar of player to 1
  358.                         else:
  359.                             send "{@p}&cDas Team ist bereits voll&8."
  360.                     else:
  361.                         send "{@p}&cDu hast von diesem Spieler keine Anfrage bekommen&8."
  362.                 else:
  363.                     send "{@p}&cDu bist bereits in einem Team&8."
  364.         if arg-1 is "leave":
  365.             if {state} is "lobby":
  366.                 if {TeamInfo.%player%} is set:
  367.                     if {EigenesTeam.%player%} is true:
  368.                         delete {EigenesTeam.%player%}
  369.                         delete {TagTeam.%player%}
  370.                         delete {Name.%player%}
  371.                         delete {TeamAnzahlSpieler.%player%}
  372.                         clear player's inventory
  373.                         set slot 0 of player to 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick"
  374.                         set slot 8 of player to 402 named "&8● &cVerlassen &8┃ &fRechtsklick"
  375.                         play "swim" to player with volume 100 and pitch 15
  376.                         send "{@p}&cDu hast das Team verlassen&8."
  377.                         execute console command "nte player %player% suffix &7"    
  378.                         execute console command "nte player %player% prefix &7"
  379.                         delete {Team.NichtSchlagen.%player%}
  380.                         set {_player} to player
  381.                         delete {Team::%{TeamInfo.%player%}%}
  382.                         delete {Tag::%{TagInfo.%player%}%}
  383.                         delete {TeamInfo.%player%}
  384.                         delete {TagInfo.%player%}
  385.                         wipe player's sidebar
  386.                         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  387.                         set score "&a" in sidebar of player to 10
  388.                         set score "&fDein Team" in sidebar of player to 9
  389.                         set score "&8× &c✘" in sidebar of player to 8       
  390.                         set score "&d" in sidebar of player to 7
  391.                         set score "&fOnline" in sidebar of player to 6
  392.                         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  393.                         set score "&9" in sidebar of player to 4
  394.                         set score "&fTeamspeak" in sidebar of player to 3
  395.                         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  396.                         set score "&7&m--------------" in sidebar of player to 1   
  397.                         loop all players:
  398.                             if {TeamPartner::%player%.%loop-player%} is true:
  399.                                 send "{@p}&cDa dein Team-Partner das Team verlassen hat, wurde das Team gelöscht&8." to loop-player
  400.                                 delete {TagTeam.%loop-player%}
  401.                                 delete {Name.%loop-player%}
  402.                                 delete {TeamAnzahlSpieler.%loop-player%}
  403.                                 clear loop-player's inventory
  404.                                 set slot 0 of loop-player to 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick"
  405.                                 set slot 8 of loop-player to 402 named "&8● &cVerlassen &8┃ &fRechtsklick"
  406.                                 execute console command "nte player %loop-player% suffix &7"       
  407.                                 execute console command "nte player %loop-player% prefix &7"
  408.                                 play "swim" to loop-player with volume 100 and pitch 15
  409.                                 delete {TeamInfo.%loop-player%}
  410.                                 delete {TagInfo.%loop-player%}
  411.                                 delete {Team.NichtSchlagen.%loop-player%}
  412.                                 delete {TeamPartner::%player%.%loop-player%}
  413.                                 delete {TeamAnzahlSpieler.%loop-player%}
  414.                                 wipe loop-player's sidebar
  415.                                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  416.                                 set score "&a " in sidebar of loop-player to 10
  417.                                 set score "&fDein Team" in sidebar of loop-player to 9
  418.                                 set score "&8× &c✘" in sidebar of loop-player to 8                  
  419.                                 set score "&d" in sidebar of loop-player to 7
  420.                                 set score "&fOnline" in sidebar of loop-player to 6
  421.                                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  422.                                 set score "&9" in sidebar of loop-player to 4
  423.                                 set score "&fTeamspeak" in sidebar of loop-player to 3
  424.                                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  425.                                 set score "&7&m--------------" in sidebar of loop-player to 1
  426.                                 stop
  427.                             if {TeamPartner::%loop-player%.%player%} is true:
  428.                                 send "{@p}&cDa dein Team-Partner das Team verlassen hat, wurde das Team aufgelöst&8." to loop-player
  429.                                 delete {TagTeam.%loop-player%}
  430.                                 delete {Name.%loop-player%}
  431.                                 delete {TeamAnzahlSpieler.%loop-player%}
  432.                                 clear loop-player's inventory
  433.                                 play "swim" to loop-player with volume 100 and pitch 15
  434.                                 set slot 0 of loop-player to 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick"
  435.                                 set slot 8 of loop-player to 402 named "&8● &cVerlassen &8┃ &fRechtsklick"
  436.                                 execute console command "nte player %loop-player% suffix &7"       
  437.                                 execute console command "nte player %loop-player% prefix &7"
  438.                                 delete {TeamInfo.%loop-player%}
  439.                                 delete {TagInfo.%loop-player%}
  440.                                 delete {Team.NichtSchlagen.%loop-player%}
  441.                                 delete {TeamPartner::%loop-player%.%player%}
  442.                                 delete {TeamAnzahlSpieler.%loop-player%}
  443.                                 wipe loop-player's sidebar
  444.                                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  445.                                 set score "&a " in sidebar of loop-player to 10
  446.                                 set score "&fDein Team" in sidebar of loop-player to 9 
  447.                                 set score "&8× &c✘" in sidebar of loop-player to 8                  
  448.                                 set score "&d" in sidebar of loop-player to 7
  449.                                 set score "&fOnline" in sidebar of loop-player to 6
  450.                                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  451.                                 set score "&9" in sidebar of loop-player to 4
  452.                                 set score "&fTeamspeak" in sidebar of loop-player to 3
  453.                                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  454.                                 set score "&7&m--------------" in sidebar of loop-player to 1
  455.                                 stop
  456.                     else:
  457.                         delete {TagTeam.%player%}
  458.                         delete {Name.%player%}
  459.                         delete {TeamAnzahlSpieler.%player%}
  460.                         clear player's inventory
  461.                         set slot 0 of player to 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick"
  462.                         set slot 8 of player to 402 named "&8● &cVerlassen &8┃ &fRechtsklick"
  463.                         play "swim" to player with volume 100 and pitch 15
  464.                         send "{@p}&cDu hast das Team verlassen&8."
  465.                         execute console command "nte player %player% suffix &7"
  466.                         execute console command "nte player %player% prefix &7"
  467.                         delete {TeamInfo.%player%}
  468.                         delete {TagInfo.%player%}
  469.                         delete {Team.NichtSchlagen.%player%}
  470.                         set {_player} to player
  471.                         wipe player's sidebar
  472.                         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  473.                         set score "&a" in sidebar of player to 10
  474.                         set score "&fDein Team" in sidebar of player to 9
  475.                         set score "&8× &c✘" in sidebar of player to 8       
  476.                         set score "&d" in sidebar of player to 7
  477.                         set score "&fOnline" in sidebar of player to 6
  478.                         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  479.                         set score "&9" in sidebar of player to 4
  480.                         set score "&fTeamspeak" in sidebar of player to 3
  481.                         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  482.                         set score "&7&m--------------" in sidebar of player to 1
  483.                         loop all players:
  484.                             if {TeamPartner::%player%.%loop-player%} is true:
  485.                                 send "{@p}&c%{_player}% hat das Team verlassen&8." to loop-player
  486.                                 delete {TeamPartner::%player%.%loop-player%}
  487.                                 remove 1 from {TeamAnzahlSpieler.%loop-player%}
  488.                                 stop
  489.                             if {TeamPartner::%loop-player%.%player%} is true:
  490.                                 remove 1 from {TeamAnzahlSpieler.%loop-player%}
  491.                                 send "{@p}&c%{_player}% hat das Team verlassen&8." to loop-player
  492.                                 delete {TeamPartner::%loop-player%.%player%}
  493.                                 stop
  494.                 else:
  495.                     send "{@p}&cDu bist noch in keinem Team&8."
  496.             else:
  497.                 send "{@p}&cDu kannst diesen Command jetzt nicht mehr ausführen&8."
  498.         if arg-1 is "kick":
  499.             if {state} is "lobby":
  500.                 if {TeamInfo.%player%} is set:
  501.                     if {EigenesTeam.%player%} is set:
  502.                         if {TeamAnzahlSpieler.%player%} is 2:
  503.                             remove 1 from {TeamAnzahlSpieler.%player%}
  504.                             send "{@p}&7Du hast deinen &9Team-Partner &aerfolgreich &7gekickt&8."
  505.                             loop all players:
  506.                                 if {TeamPartner::%player%.%loop-player%} is true:
  507.                                     send "{@p}&cDu wurdest auf dem Team gekickt&8." to loop-player
  508.                                     delete {TagTeam.%loop-player%}
  509.                                     delete {Name.%loop-player%}
  510.                                     delete {TeamAnzahlSpieler.%loop-player%}
  511.                                     clear loop-player's inventory
  512.                                     set slot 0 of loop-player to 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick"
  513.                                     set slot 8 of loop-player to 402 named "&8● &cVerlassen &8┃ &fRechtsklick"
  514.                                     execute console command "nte player %loop-player% suffix &7"       
  515.                                     execute console command "nte player %loop-player% prefix &7"
  516.                                     play "swim" to loop-player with volume 100 and pitch 15
  517.                                     delete {TeamInfo.%loop-player%}
  518.                                     delete {TagInfo.%loop-player%}
  519.                                     delete {Team.NichtSchlagen.%loop-player%}
  520.                                     delete {TeamPartner::%player%.%loop-player%}
  521.                                     delete {TeamAnzahlSpieler.%loop-player%}
  522.                                     wipe loop-player's sidebar
  523.                                     set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  524.                                     set score "&a " in sidebar of loop-player to 10
  525.                                     set score "&fDein Team" in sidebar of loop-player to 9     
  526.                                     set score "&8× &c✘" in sidebar of loop-player to 8                  
  527.                                     set score "&d" in sidebar of loop-player to 7
  528.                                     set score "&fOnline" in sidebar of loop-player to 6
  529.                                     set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  530.                                     set score "&9" in sidebar of loop-player to 4
  531.                                     set score "&fTeamspeak" in sidebar of loop-player to 3
  532.                                     set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  533.                                     set score "&7&m--------------" in sidebar of loop-player to 1
  534.                                     stop
  535.                                 if {TeamPartner::%loop-player%.%player%} is true:
  536.                                     send "{@p}&cDu wurdest auf dem Team gekickt&8." to loop-player
  537.                                     delete {TagTeam.%loop-player%}
  538.                                     delete {Name.%loop-player%}
  539.                                     delete {TeamAnzahlSpieler.%loop-player%}
  540.                                     clear loop-player's inventory
  541.                                     play "swim" to loop-player with volume 100 and pitch 15
  542.                                     set slot 0 of loop-player to 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick"
  543.                                     set slot 8 of loop-player to 402 named "&8● &cVerlassen &8┃ &fRechtsklick"
  544.                                     execute console command "nte player %loop-player% suffix &7"       
  545.                                     execute console command "nte player %loop-player% prefix &7"
  546.                                     delete {TeamInfo.%loop-player%}
  547.                                     delete {TagInfo.%loop-player%}
  548.                                     delete {Team.NichtSchlagen.%loop-player%}
  549.                                     delete {TeamPartner::%loop-player%.%player%}
  550.                                     delete {TeamAnzahlSpieler.%loop-player%}
  551.                                     wipe loop-player's sidebar
  552.                                     set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  553.                                     set score "&a " in sidebar of loop-player to 10
  554.                                     set score "&fDein Team" in sidebar of loop-player to 9
  555.                                     set score "&8× &c✘" in sidebar of loop-player to 8                  
  556.                                     set score "&d" in sidebar of loop-player to 7
  557.                                     set score "&fOnline" in sidebar of loop-player to 6
  558.                                     set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  559.                                     set score "&9" in sidebar of loop-player to 4
  560.                                     set score "&fTeamspeak" in sidebar of loop-player to 3
  561.                                     set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  562.                                     set score "&7&m--------------" in sidebar of loop-player to 1
  563.                                     stop   
  564.                         else:
  565.                             send "{@p}&cDu hast noch keinen Team-Partner&8."
  566.                     else:
  567.                         send "{@p}&cDu darfst deinen Team-Partnet nicht kicken&8."
  568.                 else:
  569.                     send "{@p}&cDu bist noch in keinem Team&8."
  570.             else:
  571.                 send "{@p}&cDu kannst diesen Command jetzt nicht mehr ausführen&8."
  572. on right click with 404:
  573.     if name of player's held item is not "&cDu bist noch in keinem Team":          
  574.         if {state} is "Lobby":
  575.             open chest with 3 row named "&7Wähle eine %{Teamfarbe.%player%}%Teamfarbe&8!" to player
  576.             wait 0.1 ticks
  577.             format slot 1 of player with 160:8 named " " to be unstealable 
  578.             format slot 0 of player with 160:8 named " " to be unstealable 
  579.             format slot 2 of player with 160:8 named " " to be unstealable 
  580.             format slot 3 of player with 160:8 named " " to be unstealable 
  581.             format slot 4 of player with 160:8 named " " to be unstealable 
  582.             format slot 5 of player with 160:8 named " " to be unstealable 
  583.             format slot 6 of player with 160:8 named " " to be unstealable 
  584.             format slot 7 of player with 160:8 named " " to be unstealable 
  585.             format slot 8 of player with 160:8 named " " to be unstealable 
  586.             format slot 10 of player with 351:13 named "&8● &cRot" to close then run [make player execute command "/farbe_grau__"]
  587.             format slot 9 of player with 351:10 named "&8● &aGrün" to close then run [make player execute command "/farbe_grün__"]
  588.             format slot 11 of player with 351:11 named "&8● &eGelb" to close then run [make player execute command "/farbe_gelb__"]
  589.             format slot 12 of player with 351:1 named "&8● &4Dunkel-Rot" to close then run [make player execute command "/farbe_drot__"]
  590.             format slot 13 of player with 351:12 named "&8● &bTürkies" to close then run [make player execute command "/farbe_türkies__"]
  591.             format slot 14 of player with 351:6 named "&8● &9Blau" to close then run [make player execute command "/farbe_blau__"]
  592.             format slot 15 of player with 351:2 named "&8● &2Dunkel-Grün" to close then run [make player execute command "/farbe_dgrün__"] 
  593.             format slot 16 of player with 351:5 named "&8● &5Lila" to close then run [make player execute command "/farbe_lila__"]   
  594.             format slot 17 of player with 353 named "&8● &fWeiß" to close then run [make player execute command "/farbe_weiß__"]   
  595.             format slot 26 of player with 160:8 named " " to be unstealable
  596.             format slot 18 of player with 160:8 named " " to be unstealable
  597.             format slot 19 of player with 160:8 named " " to be unstealable
  598.             format slot 20 of player with 160:8 named " " to be unstealable
  599.             format slot 21 of player with 160:8 named " " to be unstealable
  600.             format slot 22 of player with 160:8 named " " to be unstealable
  601.             format slot 23 of player with 160:8 named " " to be unstealable
  602.             format slot 24 of player with 160:8 named " " to be unstealable
  603.             format slot 25 of player with 160:8 named " " to be unstealable
  604. on damage:
  605.     if {TeamPartner::%victim%.%attacker%} is true:
  606.         cancel event
  607.     if {TeamPartner::%attacker%.%victim%} is true:
  608.         cancel event
  609. command /farbe_grau__:
  610.     trigger:
  611.         play "CHICKEN_EGG_POP" to player with volume 100.0 and pitch 10
  612.         set {FARBE::%{TeamInfo.%player%}%} to "&c"
  613.         send "{@p}Deine &fTeamfarbe &7ist nun &cRot&8."
  614.         set {Teamfarbe.%player%} to "&c"
  615.         set slot 1 of player to 404 named "&8● %{Teamfarbe.%player%}%Teamfarbe &8┃ &fRechtsklick"
  616.         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  617.         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  618.         wipe player's sidebar
  619.         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  620.         set score "&a" in sidebar of player to 10
  621.         set score "&fDein Team" in sidebar of player to 9
  622.         if {TeamInfo.%player%} is set:
  623.             set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  624.         set score "&d" in sidebar of player to 7
  625.         set score "&fOnline" in sidebar of player to 6
  626.         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  627.         set score "&9" in sidebar of player to 4
  628.         set score "&fTeamspeak" in sidebar of player to 3
  629.         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  630.         set score "&7&m--------------" in sidebar of player to 1
  631.         loop all players:
  632.             if {TeamPartner::%player%.%loop-player%} is true:
  633.                 set {Teamfarbe.%loop-player%} to "&c"
  634.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  635.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  636.                 send "{@p}&f%player% &7hat die Farbe zu &cRot &7geändert&8." to loop-player
  637.                 wipe loop-player's sidebar
  638.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  639.                 set score "&a" in sidebar of loop-player to 10
  640.                 set score "&fDein Team" in sidebar of loop-player to 9
  641.                 if {TeamInfo.%loop-player%} is set:
  642.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  643.                 set score "&d" in sidebar of loop-player to 7
  644.                 set score "&fOnline" in sidebar of loop-player to 6
  645.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  646.                 set score "&9" in sidebar of loop-player to 4
  647.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  648.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  649.                 set score "&7&m--------------" in sidebar of loop-player to 1
  650.                 stop               
  651.             if {TeamPartner::%loop-player%.%player%} is true:
  652.                 set {Teamfarbe.%loop-player%} to "&c"
  653.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  654.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  655.                 send "{@p}&f%player% &7hat die Farbe zu &cRot &7geändert&8." to loop-player
  656.                 wipe loop-player's sidebar
  657.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  658.                 set score "&a" in sidebar of loop-player to 10
  659.                 set score "&fDein Team" in sidebar of loop-player to 9
  660.                 if {TeamInfo.%loop-player%} is set:
  661.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  662.                 set score "&d" in sidebar of loop-player to 7
  663.                 set score "&fOnline" in sidebar of loop-player to 6
  664.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  665.                 set score "&9" in sidebar of loop-player to 4
  666.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  667.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  668.                 set score "&7&m--------------" in sidebar of loop-player to 1
  669.                 stop
  670. command /farbe_grün__:
  671.     trigger:
  672.         play "CHICKEN_EGG_POP" to player with volume 100.0 and pitch 10
  673.         set {FARBE::%{TeamInfo.%player%}%} to "&a"
  674.         send "{@p}Deine &fTeamfarbe &7ist nun &aGrün&8."
  675.         set {Teamfarbe.%player%} to "&a"
  676.         set slot 1 of player to 404 named "&8● %{Teamfarbe.%player%}%Teamfarbe &8┃ &fRechtsklick"
  677.         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  678.         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  679.         wipe player's sidebar
  680.         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  681.         set score "&a" in sidebar of player to 10
  682.         set score "&fDein Team" in sidebar of player to 9
  683.         if {TeamInfo.%player%} is set:
  684.             set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  685.         set score "&d" in sidebar of player to 7
  686.         set score "&fOnline" in sidebar of player to 6
  687.         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  688.         set score "&9" in sidebar of player to 4
  689.         set score "&fTeamspeak" in sidebar of player to 3
  690.         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  691.         set score "&7&m--------------" in sidebar of player to 1
  692.         loop all players:
  693.             if {TeamPartner::%player%.%loop-player%} is true:
  694.                 set {Teamfarbe.%loop-player%} to "&a"
  695.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  696.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  697.                 send "{@p}&f%player% &7hat die Farbe zu &aGrün &7geändert&8." to loop-player
  698.                 wipe loop-player's sidebar
  699.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  700.                 set score "&a" in sidebar of loop-player to 10
  701.                 set score "&fDein Team" in sidebar of loop-player to 9
  702.                 if {TeamInfo.%loop-player%} is set:
  703.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  704.                 set score "&d" in sidebar of loop-player to 7
  705.                 set score "&fOnline" in sidebar of loop-player to 6
  706.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  707.                 set score "&9" in sidebar of loop-player to 4
  708.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  709.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  710.                 set score "&7&m--------------" in sidebar of loop-player to 1
  711.                 stop               
  712.             if {TeamPartner::%loop-player%.%player%} is true:
  713.                 set {Teamfarbe.%loop-player%} to "&a"
  714.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  715.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"       
  716.                 send "{@p}&f%player% &7hat die Farbe zu &aGrün &7geändert&8." to loop-player
  717.                 wipe loop-player's sidebar
  718.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  719.                 set score "&a" in sidebar of loop-player to 10
  720.                 set score "&fDein Team" in sidebar of loop-player to 9
  721.                 if {TeamInfo.%loop-player%} is set:
  722.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  723.                 set score "&d" in sidebar of loop-player to 7
  724.                 set score "&fOnline" in sidebar of loop-player to 6
  725.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  726.                 set score "&9" in sidebar of loop-player to 4
  727.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  728.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  729.                 set score "&7&m--------------" in sidebar of loop-player to 1
  730.                 stop
  731. command /farbe_gelb__:
  732.     trigger:
  733.         play "CHICKEN_EGG_POP" to player with volume 100.0 and pitch 10
  734.         set {FARBE::%{TeamInfo.%player%}%} to "&e"
  735.         send "{@p}Deine &fTeamfarbe &7ist nun &eGelb&8."
  736.         set {Teamfarbe.%player%} to "&e"
  737.         set slot 1 of player to 404 named "&8● %{Teamfarbe.%player%}%Teamfarbe &8┃ &fRechtsklick"
  738.         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  739.         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  740.         wipe player's sidebar
  741.         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  742.         set score "&a" in sidebar of player to 10
  743.         set score "&fDein Team" in sidebar of player to 9
  744.         if {TeamInfo.%player%} is set:
  745.             set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  746.         set score "&d" in sidebar of player to 7
  747.         set score "&fOnline" in sidebar of player to 6
  748.         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  749.         set score "&9" in sidebar of player to 4
  750.         set score "&fTeamspeak" in sidebar of player to 3
  751.         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  752.         set score "&7&m--------------" in sidebar of player to 1
  753.         loop all players:
  754.             if {TeamPartner::%player%.%loop-player%} is true:
  755.                 set {Teamfarbe.%loop-player%} to "&e"
  756.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  757.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  758.                 send "{@p}&f%player% &7hat die Farbe zu &eGelb &7geändert&8." to loop-player
  759.                 wipe loop-player's sidebar
  760.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  761.                 set score "&a" in sidebar of loop-player to 10
  762.                 set score "&fDein Team" in sidebar of loop-player to 9
  763.                 if {TeamInfo.%loop-player%} is set:
  764.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  765.                 set score "&d" in sidebar of loop-player to 7
  766.                 set score "&fOnline" in sidebar of loop-player to 6
  767.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  768.                 set score "&9" in sidebar of loop-player to 4
  769.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  770.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  771.                 set score "&7&m--------------" in sidebar of loop-player to 1
  772.                 stop               
  773.             if {TeamPartner::%loop-player%.%player%} is true:
  774.                 set {Teamfarbe.%loop-player%} to "&e"
  775.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  776.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"   
  777.                 send "{@p}&f%player% &7hat die Farbe zu &eGelb &7geändert&8." to loop-player
  778.                 wipe loop-player's sidebar
  779.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  780.                 set score "&a" in sidebar of loop-player to 10
  781.                 set score "&fDein Team" in sidebar of loop-player to 9
  782.                 if {TeamInfo.%loop-player%} is set:
  783.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  784.                 set score "&d" in sidebar of loop-player to 7
  785.                 set score "&fOnline" in sidebar of loop-player to 6
  786.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  787.                 set score "&9" in sidebar of loop-player to 4
  788.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  789.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  790.                 set score "&7&m--------------" in sidebar of loop-player to 1
  791.                 stop
  792. command /farbe_drot__:
  793.     trigger:
  794.         play "CHICKEN_EGG_POP" to player with volume 100.0 and pitch 10
  795.         set {FARBE::%{TeamInfo.%player%}%} to "&4"
  796.         send "{@p}Deine &fTeamfarbe &7ist nun &4Dunkel-Rot&8."
  797.         set {Teamfarbe.%player%} to "&4"
  798.         set slot 1 of player to 404 named "&8● %{Teamfarbe.%player%}%Teamfarbe &8┃ &fRechtsklick"
  799.         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  800.         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  801.         wipe player's sidebar
  802.         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  803.         set score "&a" in sidebar of player to 10
  804.         set score "&fDein Team" in sidebar of player to 9
  805.         if {TeamInfo.%player%} is set:
  806.             set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  807.         set score "&d" in sidebar of player to 7
  808.         set score "&fOnline" in sidebar of player to 6
  809.         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  810.         set score "&9" in sidebar of player to 4
  811.         set score "&fTeamspeak" in sidebar of player to 3
  812.         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  813.         set score "&7&m--------------" in sidebar of player to 1
  814.         loop all players:
  815.             if {TeamPartner::%player%.%loop-player%} is true:
  816.                 set {Teamfarbe.%loop-player%} to "&4"
  817.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  818.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  819.                 send "{@p}&f%player% &7hat die Farbe zu &4Dunkel-Rot &7geändert&8." to loop-player
  820.                 wipe loop-player's sidebar
  821.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  822.                 set score "&a" in sidebar of loop-player to 10
  823.                 set score "&fDein Team" in sidebar of loop-player to 9
  824.                 if {TeamInfo.%loop-player%} is set:
  825.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  826.                 set score "&d" in sidebar of loop-player to 7
  827.                 set score "&fOnline" in sidebar of loop-player to 6
  828.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  829.                 set score "&9" in sidebar of loop-player to 4
  830.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  831.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  832.                 set score "&7&m--------------" in sidebar of loop-player to 1
  833.                 stop               
  834.             if {TeamPartner::%loop-player%.%player%} is true:
  835.                 set {Teamfarbe.%loop-player%} to "&4"
  836.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  837.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"   
  838.                 send "{@p}&f%player% &7hat die Farbe zu &4Dunkel-Rot &7geändert&8." to loop-player
  839.                 wipe loop-player's sidebar
  840.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  841.                 set score "&a" in sidebar of loop-player to 10
  842.                 set score "&fDein Team" in sidebar of loop-player to 9
  843.                 if {TeamInfo.%loop-player%} is set:
  844.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  845.                 set score "&d" in sidebar of loop-player to 7
  846.                 set score "&fOnline" in sidebar of loop-player to 6
  847.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  848.                 set score "&9" in sidebar of loop-player to 4
  849.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  850.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  851.                 set score "&7&m--------------" in sidebar of loop-player to 1
  852.                 stop
  853. command /farbe_türkies__:
  854.     trigger:
  855.         play "CHICKEN_EGG_POP" to player with volume 100.0 and pitch 10
  856.         set {FARBE::%{TeamInfo.%player%}%} to "&b"
  857.         send "{@p}Deine &fTeamfarbe &7ist nun &bTürkies&8."
  858.         set {Teamfarbe.%player%} to "&b"
  859.         set slot 1 of player to 404 named "&8● %{Teamfarbe.%player%}%Teamfarbe &8┃ &fRechtsklick"
  860.         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  861.         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  862.         wipe player's sidebar
  863.         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  864.         set score "&a" in sidebar of player to 10
  865.         set score "&fDein Team" in sidebar of player to 9
  866.         if {TeamInfo.%player%} is set:
  867.             set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  868.         set score "&d" in sidebar of player to 7
  869.         set score "&fOnline" in sidebar of player to 6
  870.         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  871.         set score "&9" in sidebar of player to 4
  872.         set score "&fTeamspeak" in sidebar of player to 3
  873.         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  874.         set score "&7&m--------------" in sidebar of player to 1
  875.         loop all players:
  876.             if {TeamPartner::%player%.%loop-player%} is true:
  877.                 set {Teamfarbe.%loop-player%} to "&b"
  878.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  879.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  880.                 send "{@p}&f%player% &7hat die Farbe zu &bTürkies &7geändert&8." to loop-player
  881.                 wipe loop-player's sidebar
  882.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  883.                 set score "&a" in sidebar of loop-player to 10
  884.                 set score "&fDein Team" in sidebar of loop-player to 9
  885.                 if {TeamInfo.%loop-player%} is set:
  886.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  887.                 set score "&d" in sidebar of loop-player to 7
  888.                 set score "&fOnline" in sidebar of loop-player to 6
  889.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  890.                 set score "&9" in sidebar of loop-player to 4
  891.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  892.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  893.                 set score "&7&m--------------" in sidebar of loop-player to 1
  894.                 stop               
  895.             if {TeamPartner::%loop-player%.%player%} is true:
  896.                 set {Teamfarbe.%loop-player%} to "&b"
  897.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  898.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"   
  899.                 send "{@p}&f%player% &7hat die Farbe zu &bTürkies &7geändert&8." to loop-player
  900.                 wipe loop-player's sidebar
  901.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  902.                 set score "&a" in sidebar of loop-player to 10
  903.                 set score "&fDein Team" in sidebar of loop-player to 9
  904.                 if {TeamInfo.%loop-player%} is set:
  905.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  906.                 set score "&d" in sidebar of loop-player to 7
  907.                 set score "&fOnline" in sidebar of loop-player to 6
  908.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  909.                 set score "&9" in sidebar of loop-player to 4
  910.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  911.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  912.                 set score "&7&m--------------" in sidebar of loop-player to 1  
  913.                 stop
  914. command /farbe_blau__:
  915.     trigger:
  916.         play "CHICKEN_EGG_POP" to player with volume 100.0 and pitch 10
  917.         set {FARBE::%{TeamInfo.%player%}%} to "&9"
  918.         send "{@p}Deine &fTeamfarbe &7ist nun &9Blau&8."
  919.         set {Teamfarbe.%player%} to "&9"
  920.         set slot 1 of player to 404 named "&8● %{Teamfarbe.%player%}%Teamfarbe &8┃ &fRechtsklick"
  921.         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  922.         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  923.         wipe player's sidebar
  924.         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  925.         set score "&a" in sidebar of player to 10
  926.         set score "&fDein Team" in sidebar of player to 9
  927.         if {TeamInfo.%player%} is set:
  928.             set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  929.         set score "&d" in sidebar of player to 7
  930.         set score "&fOnline" in sidebar of player to 6
  931.         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  932.         set score "&9" in sidebar of player to 4
  933.         set score "&fTeamspeak" in sidebar of player to 3
  934.         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  935.         set score "&7&m--------------" in sidebar of player to 1
  936.         loop all players:
  937.             if {TeamPartner::%player%.%loop-player%} is true:
  938.                 set {Teamfarbe.%loop-player%} to "&9"
  939.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  940.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  941.                 send "{@p}&f%player% &7hat die Farbe zu &9Blau &7geändert&8." to loop-player
  942.                 wipe loop-player's sidebar
  943.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  944.                 set score "&a" in sidebar of loop-player to 10
  945.                 set score "&fDein Team" in sidebar of loop-player to 9
  946.                 if {TeamInfo.%loop-player%} is set:
  947.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  948.                 set score "&d" in sidebar of loop-player to 7
  949.                 set score "&fOnline" in sidebar of loop-player to 6
  950.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  951.                 set score "&9" in sidebar of loop-player to 4
  952.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  953.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  954.                 set score "&7&m--------------" in sidebar of loop-player to 1
  955.                 stop               
  956.             if {TeamPartner::%loop-player%.%player%} is true:
  957.                 set {Teamfarbe.%loop-player%} to "&9"
  958.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  959.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"   
  960.                 send "{@p}&f%player% &7hat die Farbe zu &9Blau &7geändert&8." to loop-player
  961.                 wipe loop-player's sidebar
  962.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  963.                 set score "&a" in sidebar of loop-player to 10
  964.                 set score "&fDein Team" in sidebar of loop-player to 9
  965.                 if {TeamInfo.%loop-player%} is set:
  966.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  967.                 set score "&d" in sidebar of loop-player to 7
  968.                 set score "&fOnline" in sidebar of loop-player to 6
  969.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  970.                 set score "&9" in sidebar of loop-player to 4
  971.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  972.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  973.                 set score "&7&m--------------" in sidebar of loop-player to 1
  974.                 stop
  975. command /farbe_dgrün__:
  976.     trigger:
  977.         play "CHICKEN_EGG_POP" to player with volume 100.0 and pitch 10
  978.         set {FARBE::%{TeamInfo.%player%}%} to "&2"
  979.         send "{@p}Deine &fTeamfarbe &7ist nun &2Dunkel-Grün&8."
  980.         set {Teamfarbe.%player%} to "&2"
  981.         set slot 1 of player to 404 named "&8● %{Teamfarbe.%player%}%Teamfarbe &8┃ &fRechtsklick"
  982.         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  983.         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  984.         wipe player's sidebar
  985.         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  986.         set score "&a" in sidebar of player to 10
  987.         set score "&fDein Team" in sidebar of player to 9
  988.         if {TeamInfo.%player%} is set:
  989.             set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  990.         set score "&d" in sidebar of player to 7
  991.         set score "&fOnline" in sidebar of player to 6
  992.         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  993.         set score "&9" in sidebar of player to 4
  994.         set score "&fTeamspeak" in sidebar of player to 3
  995.         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  996.         set score "&7&m--------------" in sidebar of player to 1   
  997.         loop all players:
  998.             if {TeamPartner::%player%.%loop-player%} is true:
  999.                 set {Teamfarbe.%loop-player%} to "&2"
  1000.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  1001.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  1002.                 send "{@p}&f%player% &7hat die Farbe zu &2Dunkel-Grün &7geändert&8." to loop-player
  1003.                 wipe loop-player's sidebar
  1004.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1005.                 set score "&a" in sidebar of loop-player to 10
  1006.                 set score "&fDein Team" in sidebar of loop-player to 9
  1007.                 if {TeamInfo.%loop-player%} is set:
  1008.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  1009.                 set score "&d" in sidebar of loop-player to 7
  1010.                 set score "&fOnline" in sidebar of loop-player to 6
  1011.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  1012.                 set score "&9" in sidebar of loop-player to 4
  1013.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  1014.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  1015.                 set score "&7&m--------------" in sidebar of loop-player to 1
  1016.                 stop               
  1017.             if {TeamPartner::%loop-player%.%player%} is true:
  1018.                 set {Teamfarbe.%loop-player%} to "&2"
  1019.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  1020.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  1021.                 send "{@p}&f%player% &7hat die Farbe zu &2Dunkel-Grün &7geändert&8." to loop-player
  1022.                 wipe loop-player's sidebar
  1023.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1024.                 set score "&a" in sidebar of loop-player to 10
  1025.                 set score "&fDein Team" in sidebar of loop-player to 9
  1026.                 if {TeamInfo.%loop-player%} is set:
  1027.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  1028.                 set score "&d" in sidebar of loop-player to 7
  1029.                 set score "&fOnline" in sidebar of loop-player to 6
  1030.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  1031.                 set score "&9" in sidebar of loop-player to 4
  1032.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  1033.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  1034.                 set score "&7&m--------------" in sidebar of loop-player to 1
  1035.                 stop
  1036. command /farbe_lila__:
  1037.     trigger:
  1038.         play "CHICKEN_EGG_POP" to player with volume 100.0 and pitch 10
  1039.         set {FARBE::%{TeamInfo.%player%}%} to "&5"
  1040.         send "{@p}Deine &fTeamfarbe &7ist nun &5Lila&8."
  1041.         set {Teamfarbe.%player%} to "&5"
  1042.         set slot 1 of player to 404 named "&8● %{Teamfarbe.%player%}%Teamfarbe &8┃ &fRechtsklick"
  1043.         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  1044.         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  1045.         wipe player's sidebar
  1046.         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1047.         set score "&a" in sidebar of player to 10
  1048.         set score "&fDein Team" in sidebar of player to 9
  1049.         if {TeamInfo.%player%} is set:
  1050.             set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  1051.         set score "&d" in sidebar of player to 7
  1052.         set score "&fOnline" in sidebar of player to 6
  1053.         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  1054.         set score "&9" in sidebar of player to 4
  1055.         set score "&fTeamspeak" in sidebar of player to 3
  1056.         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  1057.         set score "&7&m--------------" in sidebar of player to 1
  1058.         loop all players:
  1059.             if {TeamPartner::%player%.%loop-player%} is true:
  1060.                 set {Teamfarbe.%loop-player%} to "&5"
  1061.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  1062.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  1063.                 send "{@p}&f%player% &7hat die Farbe zu &5Lila &7geändert&8." to loop-player
  1064.                 wipe loop-player's sidebar
  1065.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1066.                 set score "&a" in sidebar of loop-player to 10
  1067.                 set score "&fDein Team" in sidebar of loop-player to &8.
  1068.                 if {TeamInfo.%loop-player%} is set:
  1069.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  1070.                 set score "&d" in sidebar of loop-player to 7
  1071.                 set score "&fOnline" in sidebar of loop-player to 6
  1072.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  1073.                 set score "&9" in sidebar of loop-player to 4
  1074.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  1075.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  1076.                 set score "&7&m--------------" in sidebar of loop-player to 1
  1077.                 stop               
  1078.             if {TeamPartner::%loop-player%.%player%} is true:
  1079.                 set {Teamfarbe.%loop-player%} to "&5"
  1080.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  1081.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"   
  1082.                 send "{@p}&f%player% &7hat die Farbe zu &5Lila &7geändert&8." to loop-player
  1083.                 wipe loop-player's sidebar
  1084.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1085.                 set score "&a" in sidebar of loop-player to 10
  1086.                 set score "&fDein Team" in sidebar of loop-player to 9
  1087.                 if {TeamInfo.%loop-player%} is set:
  1088.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  1089.                 set score "&d" in sidebar of loop-player to 7
  1090.                 set score "&fOnline" in sidebar of loop-player to 6
  1091.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  1092.                 set score "&9" in sidebar of loop-player to 4
  1093.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  1094.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  1095.                 set score "&7&m--------------" in sidebar of loop-player to 1
  1096.                 stop
  1097. command /farbe_weiß__:
  1098.     trigger:
  1099.         play "CHICKEN_EGG_POP" to player with volume 100.0 and pitch 10
  1100.         set {FARBE::%{TeamInfo.%player%}%} to "&f"
  1101.         send "{@p}Deine &fTeamfarbe &7ist nun &fWeiß&8."
  1102.         set {Teamfarbe.%player%} to "&f"
  1103.         set slot 1 of player to 404 named "&8● %{Teamfarbe.%player%}%Teamfarbe &8┃ &fRechtsklick"
  1104.         execute console command "nte player %player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  1105.         execute console command "nte player %player% prefix %{Teamfarbe.%player%}%"
  1106.         wipe player's sidebar
  1107.         set name of sidebar of player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1108.         set score "&a" in sidebar of player to 10
  1109.         set score "&fDein Team" in sidebar of player to 9
  1110.         if {TeamInfo.%player%} is set:
  1111.             set score "&8× %{Teamfarbe.%player%}%%{TeamInfo.%player%}% &8[%{Teamfarbe.%player%}%%{TagInfo.%player%}%&8]" in sidebar of player to 8    
  1112.         set score "&d" in sidebar of player to 7
  1113.         set score "&fOnline" in sidebar of player to 6
  1114.         set score "&8× &a%{players.online}% Spieler" in sidebar of player to 5
  1115.         set score "&9" in sidebar of player to 4
  1116.         set score "&fTeamspeak" in sidebar of player to 3
  1117.         set score "&8× &bNetplays&8.&bde" in sidebar of player to 2
  1118.         set score "&7&m--------------" in sidebar of player to 1
  1119.         loop all players:
  1120.             if {TeamPartner::%player%.%loop-player%} is true:
  1121.                 set {Teamfarbe.%loop-player%} to "&f"
  1122.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  1123.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"
  1124.                 send "{@p}&f%player% &7hat die Farbe zu &fWeiß &7geändert&8." to loop-player
  1125.                 wipe loop-player's sidebar
  1126.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1127.                 set score "&a" in sidebar of loop-player to 10
  1128.                 set score "&fDein Team" in sidebar of loop-player to 9
  1129.                 if {TeamInfo.%loop-player%} is set:
  1130.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  1131.                 set score "&d" in sidebar of loop-player to 7
  1132.                 set score "&fOnline" in sidebar of loop-player to 6
  1133.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  1134.                 set score "&9" in sidebar of loop-player to 4
  1135.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  1136.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  1137.                 set score "&7&m--------------" in sidebar of loop-player to 1
  1138.                 stop               
  1139.             if {TeamPartner::%loop-player%.%player%} is true:
  1140.                 set {Teamfarbe.%loop-player%} to "&f"
  1141.                 execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%player%}%%{Team.NichtSchlagen.%player%}%&8]"
  1142.                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%player%}%"       
  1143.                 send "{@p}&f%player% &7hat die Farbe zu &fWeiß &7geändert&8." to loop-player
  1144.                 wipe loop-player's sidebar
  1145.                 set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1146.                 set score "&a" in sidebar of loop-player to 10
  1147.                 set score "&fDein Team" in sidebar of loop-player to 9
  1148.                 if {TeamInfo.%loop-player%} is set:
  1149.                     set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8                   
  1150.                 set score "&d" in sidebar of loop-player to 7
  1151.                 set score "&fOnline" in sidebar of loop-player to 6
  1152.                 set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  1153.                 set score "&9" in sidebar of loop-player to 4
  1154.                 set score "&fTeamspeak" in sidebar of loop-player to 3
  1155.                 set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  1156.                 set score "&7&m--------------" in sidebar of loop-player to 1
  1157.                 stop
  1158. command /_startcountdown:
  1159.     trigger:
  1160.         set {start.ab.Spieler} to 4
  1161.         set {BowDuell.SpielerAllgeimein} to number of players in world "Wartelobby"
  1162.         if {BowDuell.SpielerAllgeimein} is bigger than 1:
  1163.             if {countdown} is true:
  1164.                 set {countdown} to false
  1165.                 wait 0.1 seconds
  1166.                 set {Countdown.BW} to 41
  1167.                 loop 41 times:
  1168.                     if {state} is "lobby":
  1169.                         if {CountdownStart} is true:
  1170.                             set {BowDuell.SpielerAllgeimein} to number of players in world "Wartelobby"
  1171.                             if {BowDuell.SpielerAllgeimein} is bigger than 2:
  1172.                                 remove 1 from {Countdown.BW}
  1173.                                 if {start} is false:
  1174.                                     wait 1 seconds
  1175.                                     if {Countdown.BW} is 300:
  1176.                                         loop all players:
  1177.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1178.                                         broadcast "{@p}&7Die Runde startet in &f5 &7Minuten&8." in "Wartelobby"
  1179.                                     if {Countdown.BW} is 240:
  1180.                                         loop all players:
  1181.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1182.                                         broadcast "{@p}&7Die Runde startet in &f4 &7Minuten&8." in "Wartelobby"
  1183.                                     if {Countdown.BW} is 180:
  1184.                                         loop all players:
  1185.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1186.                                         broadcast "{@p}&7Die Runde startet in &f3 &7Minuten&8." in "Wartelobby"
  1187.                                     if {Countdown.BW} is 120:
  1188.                                         loop all players:
  1189.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1190.                                         broadcast "{@p}&7Die Runde startet in &f2 &7Minuten&8." in "Wartelobby"
  1191.                                     if {Countdown.BW} is 60:
  1192.                                         loop all players:
  1193.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1194.                                         broadcast "{@p}&7Die Runde startet in &f1 &7Minute&8." in "Wartelobby"
  1195.                                     if {Countdown.BW} is 30:
  1196.                                         loop all players:
  1197.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1198.                                         broadcast "{@p}&7Die Runde startet in &f%{Countdown.BW}% &7Sekunden&8." in "Wartelobby"
  1199.                                     if {Countdown.BW} is 15:
  1200.                                         loop all players:
  1201.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1202.                                         broadcast "{@p}&7Die Runde startet in &f%{Countdown.BW}% &7Sekunden&8." in "Wartelobby"
  1203.                                     if {Countdown.BW} is 10:
  1204.                                         loop all players:
  1205.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1206.                                         broadcast "{@p}&7Die Runde startet in &f%{Countdown.BW}% &7Sekunden&8." in "Wartelobby"
  1207.                                     if {Countdown.BW} is 5:
  1208.                                         loop all players:
  1209.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1210.                                         broadcast "{@p}&7Die Runde startet in &f%{Countdown.BW}% &7Sekunden&8." in "Wartelobby"
  1211.                                     if {Countdown.BW} is 4:
  1212.                                         loop all players:
  1213.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1214.                                         broadcast "{@p}&7Die Runde startet in &f%{Countdown.BW}% &7Sekunden&8." in "Wartelobby"
  1215.                                     if {Countdown.BW} is 3:
  1216.                                         loop all players:
  1217.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1218.                                         broadcast "{@p}&7Die Runde startet in &f%{Countdown.BW}% &7Sekunden&8." in "Wartelobby"
  1219.                                     if {Countdown.BW} is 2:
  1220.                                         loop all players:
  1221.                                             play "click" to loop-player with volume 100.0 and pitch 5
  1222.                                         broadcast "{@p}&7Die Runde startet in &f%{Countdown.BW}% &7Sekunden&8." in "Wartelobby"
  1223.                                     if {Countdown.BW} is 1:
  1224.                                         loop all players:
  1225.                                             play "click" to loop-player with volume 100.0 and pitch 5  
  1226.                                         broadcast "{@p}&7Die Runde startet in &f%{Countdown.BW}% &7Sekunde&8." in "Wartelobby"
  1227.                                     if {Countdown.BW} is 0:
  1228.                                         set {BowDuell.SpielerAllgeimein} to number of players in world "Wartelobby"
  1229.                                         if {BowDuell.SpielerAllgeimein} is bigger than 1:
  1230.                                             set {amount123} to 1
  1231.                                             loop all players:
  1232.                                                 if {TagInfo.%loop-player%} is not set:
  1233.                                                     clear loop-player's inventory
  1234.                                                     set {Team.NichtSchlagen.%loop-player%} to "Team%{amount123}%"
  1235.                                                     set {EigenesTeam.%loop-player%} to true
  1236.                                                     set {FARBE::%{TeamInfo.%loop-player%}%} to "&7"
  1237.                                                     set {Teamfarbe.%loop-player%} to "&7"
  1238.                                                     execute console command "nte player %loop-player% suffix &7 &8[%{Teamfarbe.%loop-player%}%%{Team.NichtSchlagen.%loop-player%}%&8]"
  1239.                                                     execute console command "nte player %loop-player% prefix %{Teamfarbe.%loop-player%}%"
  1240.                                                     set {Team::Team%{amount123}%} to 0
  1241.                                                     set {TeammName::Team%{amount123}%} to "Team%{amount123}%"
  1242.                                                     set {TeamAnzahlSpieler.%loop-player%} to 1
  1243.                                                     set {TeamInfo.%loop-player%} to "Team%{amount123}%"
  1244.                                                     set {TagInfo.%loop-player%} to "Team%{amount123}%"
  1245.                                                     set {Tag::Team%{amount123}%} to true
  1246.                                                     set {Teamfarbe.Team%{amount123}%} to "&7"
  1247.                                                     execute loop-player command "random_farbeaaf"          
  1248.                                                     add 1 to {amount123}
  1249.                                             set {state} to "Ingame"                            
  1250.                                             broadcast "{@p}&7Alle Spieler werden in &fkürze &7Teleportiert&8." in "Wartelobby"
  1251.                                             set {amounts} to 0
  1252.                                             execute console command "/worldborder set 1000 1"
  1253.                                             execute console command "/worldborder damage amount 1"
  1254.                                             loop all players:
  1255.                                                 execute console command "nte player %loop-player% prefix %{Teamfarbe.%loop-player%}%%{kills.permatch.%loop-player%}% &8| %{Teamfarbe.%loop-player%}%"
  1256.                                                 add 1 to {amounts}
  1257.                                                 teleport loop-player to {Varo.Spawn.%{amounts}%}
  1258.                                                 set {keindamage.%loop-player%} to true
  1259.                                                 clear loop-player's inventory
  1260.                                                 add 1 to {überlebende}
  1261.                                                 set {überlebenderspieler.%loop-player%} to true   
  1262.                                                 wait 0.1 seconds
  1263.                                             wait 1 seconds
  1264.                                             execute console command "/start_game__A"                                                                               
  1265.                                             wait 2 seconds
  1266.                                             play "click" to all players with volume 100.0 and pitch 5  
  1267.                                             broadcast "{@p}&7Die Runde startet in &f20 &7Sekunde&8."
  1268.                                             wait 5 seconds
  1269.                                             play "click" to all players with volume 100.0 and pitch 5  
  1270.                                             broadcast "{@p}&7Die Runde startet in &f15 &7Sekunde&8.
  1271.                                             wait 5 seconds
  1272.                                             play "click" to all players with volume 100.0 and pitch 5  
  1273.                                             broadcast "{@p}&7Die Runde startet in &f10 &7Sekunde&8.
  1274.                                             wait 7 seconds
  1275.                                             if {state} is "ingame":
  1276.                                                 set {blockspawn.nowalk} to 0
  1277.                                                 loop all players:
  1278.                                                     send loop-player title "&e3" for 1 seconds
  1279.                                                 broadcast "{@p}&7Die Runde startet in &f3 &7Sekunden&8.
  1280.                                                 play sound "click" to all players with volume 100.0 and pitch 5
  1281.                                                 loop 200 times:
  1282.                                             wait 1 seconds
  1283.                                             if {state} is "ingame":
  1284.                                                 set {blockspawn.nowalk} to 0
  1285.                                                 broadcast "{@p}&7Die Runde startet in &f2 &7Sekunden&8.
  1286.                                                 play sound "click" to all players with volume 100.0 and pitch 5
  1287.                                                 loop all players:
  1288.                                                     send loop-player title "&22" for 1 seconds
  1289.                                             wait 1 seconds
  1290.                                             if {state} is "ingame":
  1291.                                                 set {blockspawn.nowalk} to 0
  1292.                                                 broadcast "{@p}&7Die Runde startet in &f1 &7Sekunde&8.                                             
  1293.                                                 play sound "click" to all players with volume 100.0 and pitch 5
  1294.                                                 loop all players:
  1295.                                                     send loop-player title "&a1" for 1 seconds
  1296.                                             wait 1 seconds
  1297.                                             if {state} is "ingame":
  1298.                                                 set {blockspawn.nowalk} to 0
  1299.                                                 broadcast "{@p}&7Die Runde startet &fjetzt&8.
  1300.                                                 play sound "wood_click" to all players with volume 100.0 and pitch 5
  1301.                                                 loop all players:                                      
  1302.                                                     send loop-player title "&aViel Erfolg" for 0.5 seconds
  1303.                                                     if {überlebenderspieler.%loop-player%} is true:
  1304.                                                         set hunger of loop-player to 30    
  1305.                                                         set loop-player's gamemode to survival
  1306.                                                         delete {keindamage.%loop-player%}
  1307.                                             set {Border} to 1000
  1308.                                             execute console command "/worldborder set 1 3600"
  1309.                                             execute console command "start_game__A"
  1310.                                             execute console command "start_countdown__A"
  1311.                                         else:
  1312.                                             set {countdown} to true                    
  1313.                                             stop                                           
  1314.                             else:
  1315.                                 set {countdown} to true                    
  1316.                                 stop
  1317. command /start_countdown__A:
  1318.     trigger:
  1319.         if {state} is "ingame":
  1320.             loop 10 times:
  1321.                 wait 6 minutes
  1322.                 if {state} is "ingame":
  1323.                     if {Border} is bigger than 99:     
  1324.                         remove 100 from {Border}   
  1325.                         execute console command "/start_game__A"
  1326.  
  1327. on death:
  1328.     if victim is player:
  1329.         execute console command "/start_game__A"
  1330. command /start_game__A:
  1331.     trigger:   
  1332.         wait 3 ticks
  1333.         if {sdf} is not set:
  1334.             if {sdf} is not set:                           
  1335.                 loop {Team::*}:
  1336.                     add 1 to {_size}
  1337.                     if {_low.to.high.list::%loop-value%} is not set:
  1338.                         set {_low.to.high.list::%loop-value%} to loop-index
  1339.                     else:
  1340.                         set {_n} to 0
  1341.                         loop {_size} times:
  1342.                             set {_n} to {_n}+1
  1343.                             {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
  1344.                             set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
  1345.                             stop loop
  1346.                 wait a tick
  1347.                 set {_n} to size of {_low.to.high.list::*}
  1348.                 loop {_low.to.high.list::*}:
  1349.                     set {_high.to.low.list::%{_n}%} to loop-value
  1350.                     set {_n} to {_n}-1
  1351.                 wait a tick
  1352.                 loop all players:
  1353.                     wipe loop-player's sidebar
  1354.                     set name of sidebar of loop-player to "&8» &c&lVaro &8«"
  1355.                     set score "&3" in sidebar of loop-player to 15                                                 
  1356.                     set score "&7Border" in sidebar of loop-player to 14
  1357.                     set score "&8● &9%{Border}% Blöcke" in sidebar of loop-player to 13                                 
  1358.                     set score "&b" in sidebar of loop-player to 12
  1359.                     set score "&7Überlebende" in sidebar of loop-player to 11
  1360.                     set score "&8● &a%{überlebende}%" in sidebar of loop-player to 10
  1361.                     set score "&9" in sidebar of loop-player to 9
  1362.                     set score "&7Kills" in sidebar of loop-player to 8
  1363.                     set score "&8● &e%{kills.permatch.%loop-player%}%" in sidebar of loop-player to 7
  1364.                     set score "&d" in sidebar of loop-player to 6
  1365.                     set score "&7Top Teams" in sidebar of loop-player to 5
  1366.                     set score "&7&m--------------" in sidebar of loop-player to 1      
  1367.                 set {_result} to 3
  1368.                 loop {_high.to.low.list::*}:
  1369.                     set {rangliste.%loop-value%} to "%{_result}%"
  1370.                     set {_player} to "%loop-value%" parsed as offlineplayer
  1371.                     loop all players:
  1372.                         if {_result} is 3:
  1373.                             set score "%{Team::%{_player}%}% &8| %{FARBE::%{_player}%}%%{TeammName::%{_player}%}%" in sidebar of loop-player to 4
  1374.                         if {_result} is 2:
  1375.                             set score "%{Team::%{_player}%}% &8| %{FARBE::%{_player}%}%%{TeammName::%{_player}%}%" in sidebar of loop-player to 3
  1376.                         if {_result} is 1:                         
  1377.                             set score "%{Team::%{_player}%}% &8| %{FARBE::%{_player}%}%%{TeammName::%{_player}%}%" in sidebar of loop-player to 2  
  1378.                         if {_result} is smaller than 1:
  1379.                             stop loop
  1380.                     remove 1 from {_result}
  1381.             else:
  1382.                 stop
  1383.  
  1384. command /add123 [<text>]:
  1385.     trigger:
  1386.         if arg-1 is set:
  1387.             add 1 to {Team::%arg-1%}
  1388.             execute console command "/start_game__A"       
  1389. on place:
  1390.     if {state} is not "Ingame":
  1391.         cancel event
  1392.     if {überlebenderspieler.%player%} is false:
  1393.         cancel event
  1394. on break:
  1395.     if {state} is not "Ingame":
  1396.         cancel event
  1397.     if {überlebenderspieler.%player%} is false:
  1398.         cancel event
  1399.     if {keindamage.%player%} is true:
  1400.         cancel event
  1401. on inventory click:
  1402.     if {state} is not "Ingame":
  1403.         cancel event
  1404.     if {überlebenderspieler.%player%} is false:
  1405.         cancel event
  1406. on drop:
  1407.     if {überlebenderspieler.%player%} is false:
  1408.         cancel event
  1409.     if {state} is not "Ingame":
  1410.         cancel event
  1411. on pickup:
  1412.     if {überlebenderspieler.%player%} is false:
  1413.         cancel event
  1414.     if {state} is not "Ingame":
  1415.         cancel event
  1416. on hunger meter change:
  1417.     if {überlebenderspieler.%player%} is false:
  1418.         cancel event
  1419.     if {state} is not "Ingame":
  1420.         cancel event
  1421.  
  1422. every 30 seconds:
  1423.     if {state} is "Lobby":
  1424.         if {countdown} is true:
  1425.             broadcast "{@p}&7Für den &fStart &7fehlen noch &f%{start.ab.Spieler}-{BowDuell.SpielerAllgeimein}% &7Spieler&8."
  1426. on damage:
  1427.     if {state} is "lobby":
  1428.         if victim is a player:
  1429.             if tool of attacker is iron sword named "&8● &eSpieler Einladen &8┃ &fLinksklick":
  1430.                 play "click" to player with volume 100 and pitch 15
  1431.                 execute attacker command "sadffdaa invite %victim%"
  1432.                 cancel event
  1433.             if tool of attacker is 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick":     
  1434.                 execute attacker command "Team acceptasdf %victim%"
  1435.                 cancel event
  1436.     if {überlebenderspieler.%attacker%} is false:
  1437.         cancel event
  1438.     if {überlebenderspieler.%victim%} is false:
  1439.         cancel event
  1440. on right click with 402:
  1441.     if tool of player is 402 named "&8● &cTeam verlassen &8┃ &fRechtsklick":
  1442.         execute player command "Team leave"
  1443. on damage:
  1444.     if attacker is a player:
  1445.         if attacker is not "%victim%":
  1446.             loop 53 times:
  1447.                 set {Angreifer.%victim%} to attacker       
  1448.                 wait 0.0625 second
  1449.                 set {Angriff.%attacker%.%victim%} to true
  1450.             set {Angriff.%attacker%.%victim%} to false
  1451.             clear {Angreifer.%victim%}
  1452.         stop
  1453. on death:
  1454.     if victim is a player:
  1455.         if {state} is "Ingame":
  1456.             set death message to ""
  1457.             if {Angriff.%attacker%.%victim%} is not set:
  1458.                 broadcast "{@p}&c%victim% ist gestorben"
  1459.             if {Angriff.%attacker%.%victim%} is false:
  1460.                 broadcast "{@p}&c%victim% ist gestorben"
  1461.             if {Angriff.%attacker%.%victim%} is true:
  1462.                 play "level_up" to attacker at volume 1000
  1463.                 broadcast "{@p}%{prefix.%attacker%}%%attacker% &7hat %{prefix.%victim%}%%victim% &7getötet"
  1464.                 add 1 to {Team::%{TeamInfo.%attacker%}%}
  1465.                 add 1 to {kills.permatch.%attacker%}
  1466.             if {überlebenderspieler.%victim%} is true:
  1467.                 set max health of victim to 10
  1468.                 execute console command "nte player %attacker% prefix %{Teamfarbe.%attacker%}%%{kills.permatch.%attacker%}% &8| %{Teamfarbe.%attacker%}%"
  1469.                 execute console command "nte player %victim% prefix &4✖ &8┃ &7"
  1470.                 execute console command "nte player %victim% priority 99"
  1471.                 execute console command "start_game__A:"
  1472.                 apply potion of Invisibility of tier 1 to victim for 1500 seconds
  1473.                 set {überlebenderspieler.%victim%} to false
  1474.                 set hunger of victim to 30
  1475.                 show mobspawner flames at victim
  1476.                 heal victim
  1477.                 remove 1 from {überlebende}
  1478.                 hide victim from all players       
  1479.                 delete {playerlist::%victim%}  
  1480.                 remove 1 from {TeamAnzahlSpieler.%victim%}
  1481.                 loop all players:
  1482.                     execute loop-player command "fix_**_players"
  1483.                 if {überlebende} is 2:
  1484.                     loop all players:
  1485.                         if {TeamPartner::%victim%.%loop-player%} is true:
  1486.                             remove 1 from {TeamAnzahlSpieler.%loop-player%}
  1487.                         if {TeamPartner::%loop-player%.%victim%} is true:
  1488.                             remove 1 from {TeamAnzahlSpieler.%loop-player%}            
  1489.                     loop all players:
  1490.                         if {TeamAnzahlSpieler.%loop-player%} is 2:
  1491.                             execute console command "adsfdfdf12"
  1492.                             stop
  1493.                 if {überlebende} is 1:
  1494.                     loop all players:                                                                  
  1495.                         set loop-player's flight mode to false
  1496.                         reveal the loop-player from all players
  1497.                         remove Invisibility from the loop-player
  1498.                         clear loop-player's inventory
  1499.                     execute console command "/start_game__A"
  1500.                     loop all players:
  1501.                         if {überlebenderspieler.%loop-player%} is true:
  1502.                             set {überlebenderspieler.%loop-player%} to false
  1503.                             execute console command "stats addwins %loop-player%"
  1504.                             play "level_up" to all players at volume 1000
  1505.                             broadcast "&f"
  1506.                             broadcast "{@p}Das Team %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8] &7hat das Spiel &fgewonnen&8."
  1507.                             broadcast "&d"
  1508.                             send all players title "&fTeam %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}%" with subtitle "&fhat das Spiel gewonnen" for 3 seconds
  1509.                             set {state} to "End"
  1510.                             launch flickering ball firework colored white and red at loop-player's location timed 1.5
  1511.                             launch flickering ball firework colored blue and green at loop-player's location timed 1.8
  1512.                             launch flickering ball firework colored yellow and red at loop-player's location timed 2.0
  1513.                             wait 10 seconds
  1514.                             play sound "click" to all players with volume 100.0 and pitch 5
  1515.                             broadcast "{@p}&7Der Server stoppt &7in &f3 &7Sekunden&8." 
  1516.                             wait 1 seconds
  1517.                             play sound "click" to all players with volume 100.0 and pitch 5
  1518.                             broadcast "{@p}&7Der Server stoppt &7in &f2 &7Sekunden&8." 
  1519.                             wait 1 seconds
  1520.                             play sound "click" to all players with volume 100.0 and pitch 5
  1521.                             broadcast "{@p}&7Der Server stoppt &7in &f1 &7Sekunde&8."  
  1522.                             wait 1 seconds
  1523.                             execute console command "configurate"
  1524.                             stop
  1525. command /adsfdfdf12:
  1526.     trigger:
  1527.         if {dsffds} is not set:
  1528.             if {dsffds} is not set:
  1529.                 if {dsffds} is not set:
  1530.                     if {dsffds} is not set:
  1531.                         if {dsffds} is not set:
  1532.                             loop all players:                      
  1533.                                 set loop-player's flight mode to false
  1534.                                 reveal the loop-player from all players
  1535.                                 remove Invisibility from the loop-player
  1536.                                 clear loop-player's inventory
  1537.                             execute console command "/start_game__A"
  1538.                             loop all players:
  1539.                                 if {überlebenderspieler.%loop-player%} is true:
  1540.                                     set {überlebenderspieler.%loop-player%} to false
  1541.                                     execute console command "stats addwins %loop-player%"
  1542.                                     play "level_up" to all players at volume 1000
  1543.                                     broadcast "&f"
  1544.                                     broadcast "{@p}Das Team %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8] &7hat das Spiel &fgewonnen&8."
  1545.                                     broadcast "&d"
  1546.                                     send all players title "&fTeam %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}%" with subtitle "&fhat das Spiel gewonnen" for 3 seconds
  1547.                                     set {state} to "End"
  1548.                                     launch flickering ball firework colored white and red at loop-player's location timed 1.5
  1549.                                     launch flickering ball firework colored blue and green at loop-player's location timed 1.8
  1550.                                     launch flickering ball firework colored yellow and red at loop-player's location timed 2.0
  1551.                                     wait 10 seconds
  1552.                                     play sound "click" to all players with volume 100.0 and pitch 5
  1553.                                     broadcast "{@p}&7Der Server stoppt &7in &f3 &7Sekunden&8." 
  1554.                                     wait 1 seconds
  1555.                                     play sound "click" to all players with volume 100.0 and pitch 5
  1556.                                     broadcast "{@p}&7Der Server stoppt &7in &f2 &7Sekunden&8." 
  1557.                                     wait 1 seconds
  1558.                                     play sound "click" to all players with volume 100.0 and pitch 5
  1559.                                     broadcast "{@p}&7Der Server stoppt &7in &f1 &7Sekunde&8."  
  1560.                                     wait 1 seconds
  1561.                                     execute console command "configurate"
  1562.                                     stop
  1563. command /asdffddfsadfaf:
  1564.     trigger:
  1565.         set player's flight mode to true
  1566.         reveal the player from all players
  1567.  
  1568. command /fix_**_players:
  1569.     trigger:
  1570.         if {überlebenderspieler.%player%} is false:
  1571.             loop all players:
  1572.                 if {überlebenderspieler.%loop-player%} is false:
  1573.                     set player's flight mode to true
  1574.                     reveal loop-player from player
  1575. command /1:
  1576.     trigger:
  1577.         send "%{Team::%{TeamInfo.%player%}%}%"             
  1578.         send "%{TeamInfo.%player%}%"
  1579. on quit:
  1580.     if {state} is "lobby":
  1581.         if {EigenesTeam.%player%} is true:
  1582.             delete {EigenesTeam.%player%}
  1583.             delete {TagTeam.%player%}
  1584.             delete {Name.%player%}
  1585.             delete {TeamAnzahlSpieler.%player%}
  1586.             delete {Team.NichtSchlagen.%player%}
  1587.             set {_player} to player
  1588.             delete {Team::%{TeamInfo.%player%}%}
  1589.             delete {Tag::%{TagInfo.%player%}%}
  1590.             delete {TeamInfo.%player%}
  1591.             delete {TagInfo.%player%}
  1592.             loop all players:
  1593.                 if {TeamPartner::%player%.%loop-player%} is true:
  1594.                     send "{@p}&cDa dein Team-Partner das Team verlassen hat, wurde das Team gelöscht&8." to loop-player
  1595.                     delete {TagTeam.%loop-player%}
  1596.                     delete {Name.%loop-player%}
  1597.                     delete {TeamAnzahlSpieler.%loop-player%}
  1598.                     clear loop-player's inventory
  1599.                     set slot 0 of loop-player to 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick"
  1600.                     set slot 8 of loop-player to 402 named "&8● &cVerlassen &8┃ &fRechtsklick"
  1601.                     execute console command "nte player %loop-player% suffix &7"       
  1602.                     execute console command "nte player %loop-player% prefix &7"
  1603.                     play "swim" to loop-player with volume 100 and pitch 15
  1604.                     delete {TeamInfo.%loop-player%}
  1605.                     delete {TagInfo.%loop-player%}
  1606.                     delete {Team.NichtSchlagen.%loop-player%}
  1607.                     delete {TeamPartner::%player%.%loop-player%}
  1608.                     delete {TeamAnzahlSpieler.%loop-player%}
  1609.                     wipe loop-player's sidebar
  1610.                     set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1611.                     set score "&a " in sidebar of loop-player to 10
  1612.                     set score "&fDein Team" in sidebar of loop-player to 9
  1613.                     if {TeamInfo.%loop-player%} is true:
  1614.                         set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8   
  1615.                     if {TeamInfo.%loop-player%} is not set:        
  1616.                         set score "&8× &c✘" in sidebar of loop-player to 8                  
  1617.                     set score "&d" in sidebar of loop-player to 7
  1618.                     set score "&fOnline" in sidebar of loop-player to 6
  1619.                     set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  1620.                     set score "&9" in sidebar of loop-player to 4
  1621.                     set score "&fTeamspeak" in sidebar of loop-player to 3
  1622.                     set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  1623.                     set score "&7&m--------------" in sidebar of loop-player to 1
  1624.                     stop
  1625.                 if {TeamPartner::%loop-player%.%player%} is true:
  1626.                     send "{@p}&cDa dein Team-Partner das Team verlassen hat, wurde das Team aufgelöst&8." to loop-player
  1627.                     delete {TagTeam.%loop-player%}
  1628.                     delete {Name.%loop-player%}
  1629.                     delete {TeamAnzahlSpieler.%loop-player%}
  1630.                     clear loop-player's inventory
  1631.                     play "swim" to loop-player with volume 100 and pitch 15
  1632.                     set slot 0 of loop-player to 35:5 named "&8● &aEinladung Annehmen &8┃ &fLinksklick"
  1633.                     set slot 8 of loop-player to 402 named "&8● &cVerlassen &8┃ &fRechtsklick"
  1634.                     execute console command "nte player %loop-player% suffix &7"       
  1635.                     execute console command "nte player %loop-player% prefix &7"
  1636.                     delete {TeamInfo.%loop-player%}
  1637.                     delete {TagInfo.%loop-player%}
  1638.                     delete {Team.NichtSchlagen.%loop-player%}
  1639.                     delete {TeamPartner::%loop-player%.%player%}
  1640.                     delete {TeamAnzahlSpieler.%loop-player%}
  1641.                     wipe loop-player's sidebar
  1642.                     set name of sidebar of loop-player to "&8▪ &e&l&nOneDayVaro&r &8▪"
  1643.                     set score "&a " in sidebar of loop-player to 10
  1644.                     set score "&fDein Team" in sidebar of loop-player to 9
  1645.                     if {TeamInfo.%loop-player%} is true:
  1646.                         set score "&8× %{Teamfarbe.%loop-player%}%%{TeamInfo.%loop-player%}% &8[%{Teamfarbe.%loop-player%}%%{TagInfo.%loop-player%}%&8]" in sidebar of loop-player to 8   
  1647.                     if {TeamInfo.%loop-player%} is not set:        
  1648.                         set score "&8× &c✘" in sidebar of loop-player to 8                  
  1649.                     set score "&d" in sidebar of loop-player to 7
  1650.                     set score "&fOnline" in sidebar of loop-player to 6
  1651.                     set score "&8× &a%{players.online}% Spieler" in sidebar of loop-player to 5
  1652.                     set score "&9" in sidebar of loop-player to 4
  1653.                     set score "&fTeamspeak" in sidebar of loop-player to 3
  1654.                     set score "&8× &bNetplays&8.&bde" in sidebar of loop-player to 2
  1655.                     set score "&7&m--------------" in sidebar of loop-player to 1
  1656.                     stop
  1657.         else:
  1658.             delete {TagTeam.%player%}
  1659.             delete {Name.%player%}
  1660.             remove 1 from {TeamAnzahlSpieler.%player%}
  1661.             delete {TeamInfo.%player%}
  1662.             delete {TagInfo.%player%}
  1663.             delete {Team.NichtSchlagen.%player%}
  1664.             set {_player} to player
  1665.             loop all players:
  1666.                 if {TeamPartner::%player%.%loop-player%} is true:
  1667.                     send "{@p}&c%{_player}% hat das Team verlassen&8." to loop-player
  1668.                     delete {TeamPartner::%player%.%loop-player%}
  1669.                     remove 1 from {TeamAnzahlSpieler.%loop-player%}
  1670.                     stop
  1671.                 if {TeamPartner::%loop-player%.%player%} is true:
  1672.                     remove 1 from {TeamAnzahlSpieler.%loop-player%}
  1673.                     send "{@p}&c%{_player}% hat das Team verlassen&8." to loop-player
  1674.                     delete {TeamPartner::%loop-player%.%player%}
  1675.                     stop
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top