Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Prefix: §8[§eGrundbesitz§8]
- KeineRechte: §8[§cSystem§8]§7 §7Keine Rechte!
- # First Preissetzen und Besitzerreset
- #================================================================================================================
- on load:
- if {wohnung1.Preis} is not set:
- set {wohnung1.Preis} to 25
- if {wohnung2.Preis} is not set:
- set {wohnung2.Preis} to 25
- if {wohnung3.Preis} is not set:
- set {wohnung3.Preis} to 80
- if {wohnung4.Preis} is not set:
- set {wohnung4.Preis} to 100
- if {wohnung5.Preis} is not set:
- set {wohnung5.Preis} to 100
- if {wohnung6.Preis} is not set:
- set {wohnung6.Preis} to 100
- if {wohnung7.Preis} is not set:
- set {wohnung7.Preis} to 100
- if {wohnung8.Preis} is not set:
- set {wohnung8.Preis} to 100
- if {wohnung9.Preis} is not set:
- set {wohnung9.Preis} to 100
- if {wohnung10.Preis} is not set:
- set {wohnung10.Preis} to 100
- if {wohnung11.Preis} is not set:
- set {wohnung11.Preis} to 100
- if {wohnung12.Preis} is not set:
- set {wohnung12.Preis} to 100
- if {wohnung13.Preis} is not set:
- set {wohnung13.Preis} to 100
- if {wohnung14.Preis} is not set:
- set {wohnung14.Preis} to 100
- if {wohnung15.Preis} is not set:
- set {wohnung15.Preis} to 100
- if {wohnung16.Preis} is not set:
- set {wohnung16.Preis} to 100
- if {wohnung17.Preis} is not set:
- set {wohnung17.Preis} to 100
- if {wohnung18.Preis} is not set:
- set {wohnung18.Preis} to 100
- if {wohnung19.Preis} is not set:
- set {wohnung19.Preis} to 100
- if {wohnung20.Preis} is not set:
- set {wohnung20.Preis} to 100
- if {wohnung21.Preis} is not set:
- set {wohnung21.Preis} to 100
- if {wohnung22.Preis} is not set:
- set {wohnung22.Preis} to 100
- if {wohnung23.Preis} is not set:
- set {wohnung23.Preis} to 100
- if {wohnung24.Preis} is not set:
- set {wohnung24.Preis} to 100
- if {wohnung25.Preis} is not set:
- set {wohnung25.Preis} to 100
- if {wohnung26.Preis} is not set:
- set {wohnung26.Preis} to 100
- if {wohnung27.Preis} is not set:
- set {wohnung27.Preis} to 100
- if {wohnung28.Preis} is not set:
- set {wohnung28.Preis} to 100
- if {wohnung29.Preis} is not set:
- set {wohnung29.Preis} to 100
- if {wohnung30.Preis} is not set:
- set {wohnung30.Preis} to 100
- if {wohnung31.Preis} is not set:
- set {wohnung31.Preis} to 100
- if {wohnung32.Preis} is not set:
- set {wohnung32.Preis} to 100
- if {wohnung33.Preis} is not set:
- set {wohnung33.Preis} to 100
- if {wohnung34.Preis} is not set:
- set {wohnung34.Preis} to 100
- if {wohnung35.Preis} is not set:
- set {wohnung35.Preis} to 100
- if {wohnung36.Preis} is not set:
- set {wohnung36.Preis} to 100
- if {wohnung37.Preis} is not set:
- set {wohnung37.Preis} to 100
- if {wohnung38.Preis} is not set:
- set {wohnung38.Preis} to 100
- if {wohnung39.Preis} is not set:
- set {wohnung39.Preis} to 100
- if {wohnung40.Preis} is not set:
- set {wohnung40.Preis} to 100
- if {wohnung41.Preis} is not set:
- set {wohnung41.Preis} to 100
- if {wohnung42.Preis} is not set:
- set {wohnung42.Preis} to 100
- if {wohnung43.Preis} is not set:
- set {wohnung43.Preis} to 100
- if {wohnung44.Preis} is not set:
- set {wohnung44.Preis} to 100
- if {wohnung45.Preis} is not set:
- set {wohnung45.Preis} to 100
- #================================================================================================================
- on load:
- if {wohnung1.Besitzer} is not set:
- set {wohnung1.Besitzer} to "Unverkauft"
- if {wohnung2.Besitzer} is not set:
- set {wohnung2.Besitzer} to "Unverkauft"
- if {wohnung3.Besitzer} is not set:
- set {wohnung3.Besitzer} to "Unverkauft"
- if {wohnung4.Besitzer} is not set:
- set {wohnung4.Besitzer} to "Unverkauft"
- if {wohnung5.Besitzer} is not set:
- set {wohnung5.Besitzer} to "Unverkauft"
- if {wohnung6.Besitzer} is not set:
- set {wohnung6.Besitzer} to "Unverkauft"
- if {wohnung7.Besitzer} is not set:
- set {wohnung7.Besitzer} to "Unverkauft"
- if {wohnung8.Besitzer} is not set:
- set {wohnung8.Besitzer} to "Unverkauft"
- if {wohnung9.Besitzer} is not set:
- set {wohnung9.Besitzer} to "Unverkauft"
- if {wohnung10.Besitzer} is not set:
- set {wohnung10.Besitzer} to "Unverkauft"
- if {wohnung11.Besitzer} is not set:
- set {wohnung11.Besitzer} to "Unverkauft"
- if {wohnung12.Besitzer} is not set:
- set {wohnung12.Besitzer} to "Unverkauft"
- if {wohnung13.Besitzer} is not set:
- set {wohnung13.Besitzer} to "Unverkauft"
- if {wohnung14.Besitzer} is not set:
- set {wohnung14.Besitzer} to "Unverkauft"
- if {wohnung15.Besitzer} is not set:
- set {wohnung15.Besitzer} to "Unverkauft"
- if {wohnung16.Besitzer} is not set:
- set {wohnung16.Besitzer} to "Unverkauft"
- if {wohnung17.Besitzer} is not set:
- set {wohnung17.Besitzer} to "Unverkauft"
- if {wohnung18.Besitzer} is not set:
- set {wohnung18.Besitzer} to "Unverkauft"
- if {wohnung19.Besitzer} is not set:
- set {wohnung19.Besitzer} to "Unverkauft"
- if {wohnung20.Besitzer} is not set:
- set {wohnung20.Besitzer} to "Unverkauft"
- if {wohnung21.Besitzer} is not set:
- set {wohnung21.Besitzer} to "Unverkauft"
- if {wohnung22.Besitzer} is not set:
- set {wohnung22.Besitzer} to "Unverkauft"
- if {wohnung23.Besitzer} is not set:
- set {wohnung23.Besitzer} to "Unverkauft"
- if {wohnung24.Besitzer} is not set:
- set {wohnung24.Besitzer} to "Unverkauft"
- if {wohnung25.Besitzer} is not set:
- set {wohnung25.Besitzer} to "Unverkauft"
- if {wohnung26.Besitzer} is not set:
- set {wohnung26.Besitzer} to "Unverkauft"
- if {wohnung27.Besitzer} is not set:
- set {wohnung27.Besitzer} to "Unverkauft"
- if {wohnung28.Besitzer} is not set:
- set {wohnung28.Besitzer} to "Unverkauft"
- if {wohnung29.Besitzer} is not set:
- set {wohnung29.Besitzer} to "Unverkauft"
- if {wohnung30.Besitzer} is not set:
- set {wohnung30.Besitzer} to "Unverkauft"
- if {wohnung31.Besitzer} is not set:
- set {wohnung31.Besitzer} to "Unverkauft"
- if {wohnung32.Besitzer} is not set:
- set {wohnung32.Besitzer} to "Unverkauft"
- if {wohnung33.Besitzer} is not set:
- set {wohnung33.Besitzer} to "Unverkauft"
- if {wohnung34.Besitzer} is not set:
- set {wohnung34.Besitzer} to "Unverkauft"
- if {wohnung35.Besitzer} is not set:
- set {wohnung35.Besitzer} to "Unverkauft"
- if {wohnung36.Besitzer} is not set:
- set {wohnung36.Besitzer} to "Unverkauft"
- if {wohnung37.Besitzer} is not set:
- set {wohnung37.Besitzer} to "Unverkauft"
- if {wohnung38.Besitzer} is not set:
- set {wohnung38.Besitzer} to "Unverkauft"
- if {wohnung39.Besitzer} is not set:
- set {wohnung39.Besitzer} to "Unverkauft"
- if {wohnung40.Besitzer} is not set:
- set {wohnung40.Besitzer} to "Unverkauft"
- if {wohnung41.Besitzer} is not set:
- set {wohnung41.Besitzer} to "Unverkauft"
- if {wohnung42.Besitzer} is not set:
- set {wohnung42.Besitzer} to "Unverkauft"
- if {wohnung43.Besitzer} is not set:
- set {wohnung43.Besitzer} to "Unverkauft"
- if {wohnung44.Besitzer} is not set:
- set {wohnung44.Besitzer} to "Unverkauft"
- if {wohnung45.Besitzer} is not set:
- set {wohnung45.Besitzer} to "Unverkauft"
- #================================================================================================================
- command /setwohnungchest [<Text>] [<Text>]:
- permission: op
- permission message: "{@KeineRechte}"
- trigger:
- give golden_axe named "%arg 1%" with lore "%arg 2%" to player
- send "{@Prefix} &7Rechtsclicke die zu markierende Kisten!" to player
- set {Wohnungscreate.%player%} to "%arg 1%"
- set {Wohnungscreate.Kistennummer.%player%} to "%arg 2%"
- command /wohnungsliste:
- permission: op
- permission message: "{@KeineRechte}"
- trigger:
- open chest with 6 rows named "&8Eiseninsel" to player
- if {Wohnung1.Besitzer} is "Unverkauft":
- format slot 0 of player with red dye named "&8» &7" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- command /setwohnungsbesitzer [<Text>] [<Text>]:
- permission: op
- permission message: "{@KeineRechte}"
- trigger:
- set {_WohnungsnummerBesitzer} to "%arg 1%"
- set {_WohnungsnummerBesitzer.Person} to "%arg 2%"
- if arg 2 is not set:
- set {_WohnungsnummerBesitzer.Person} to "Unverkauft"
- set {wohnung%{_WohnungsnummerBesitzer}%.Besitzer} to "%{_WohnungsnummerBesitzer.Person}%"
- if arg 2 is not set:
- send "&7Wohnungsbesitzer resettet" to player
- stop trigger
- else:
- send "&7Wohnungsbesitzer gesetzt." to player
- command /312098412addfriend [<Integer>]:
- trigger:
- set {addNr.%player%} to "%arg 1%"
- send "&8[&6Wohnraum&8] &7Welchen Spieler möchtest du hinzufügen?" to player
- set {addFriendStatus.%player%} to true
- wait 10 seconds
- set {addFriendStatus.%player%} to false
- on chat:
- if {addFriendStatus.%player%} is true:
- set {_Message} to message
- set {addFriendStatus.%player%} to false
- make player execute command "addfriend %{addNr.%player%}% %{_Message}%"
- command /addfriend [<Text>] [<Player>]:
- trigger:
- if arg 1 is not set:
- stop trigger
- if arg 2 is not set:
- stop trigger
- if {Wohnung%arg 1%.Besitzer} is "%player%":
- set {_Player} to arg 2
- set {_WNr} to arg 1
- add {_Player} to {ListFreundeWohnung%arg 1%::*}
- send "&8[&6Wohnraum&8] &7Du hast %arg 2% zu deiner Wohnung hinzugefügt!"
- stop trigger
- command /setwohnungspreis [<Text>] [<Text>]:
- permission: op
- permission message: "{@KeineRechte}"
- trigger:
- set {_WohnungsnummerBesitzer} to "%arg 1%"
- set {_WohnungsnummerPreis.Preis} to "%arg 2%"
- set {wohnung%{_WohnungsnummerBesitzer}%.Preis} to {_WohnungsnummerPreis.Preis}
- send "&7Wohnungspreis gesetzt." to player
- command /wohnungserstellung:
- permission: op
- permission message: "{@KeineRechte}"
- trigger:
- send "&7/setwohnungchest <Wohnungsnummer> <Kistennummer>" to player
- send "&7/setwohnungsbesitzer <Wohnungsnummer> <Besitzer>" to player
- send "&7/setwohnungssign <Wohnungsnummer>" to player
- send "&7/setwohnungspreis <Preis>" to player
- command /setwohnungssign [<Text>]:
- permission: op
- permission message: "{@KeineRechte}"
- trigger:
- if targeted block is a sign:
- set line 2 of target block to "&8[&6Wohnraum&8]"
- send "{@Prefix} &7Das Schild wurde beschrieben."
- set {Wohnungscreate.%player%} to "%arg 1%"
- set {Wohnungscreate.Schildnummer.%player%} to 1
- set {_location} to location of targeted block
- set {x.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Schildnummer.%player%}%.sign} to targeted block's x-pos
- set {y.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Schildnummer.%player%}%.sign} to targeted block's y-pos
- set {z.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Schildnummer.%player%}%.sign} to targeted block's z-pos
- #
- #
- # KISTEN - BESITZÜBERPRÜFUNG
- #
- #
- # Wohnung 1
- # 1.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- set {x.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Kistennummer.%player%}%} to event-block's x-pos
- set {y.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Kistennummer.%player%}%} to event-block's y-pos
- set {z.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Kistennummer.%player%}%} to event-block's z-pos
- send "&7Kiste gesetzt." to player
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung1.1}
- y-location of {_location} is {y.wohnung1.1}
- z-location of {_location} is {z.wohnung1.1}
- if {wohnung1.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 1.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung1.2}
- y-location of {_location} is {y.wohnung1.2}
- z-location of {_location} is {z.wohnung1.2}
- if {wohnung1.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 1.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung1.3}
- y-location of {_location} is {y.wohnung1.3}
- z-location of {_location} is {z.wohnung1.3}
- if {wohnung1.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 1.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung1.4}
- y-location of {_location} is {y.wohnung1.4}
- z-location of {_location} is {z.wohnung1.4}
- if {wohnung1.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 1.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung1.5}
- y-location of {_location} is {y.wohnung1.5}
- z-location of {_location} is {z.wohnung1.5}
- if {wohnung1.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 2
- # 2.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung2.1}
- y-location of {_location} is {y.wohnung2.1}
- z-location of {_location} is {z.wohnung2.1}
- if {wohnung2.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 2.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung2.2}
- y-location of {_location} is {y.wohnung2.2}
- z-location of {_location} is {z.wohnung2.2}
- if {wohnung2.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 2.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung2.3}
- y-location of {_location} is {y.wohnung2.3}
- z-location of {_location} is {z.wohnung2.3}
- if {wohnung2.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 2.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung2.4}
- y-location of {_location} is {y.wohnung2.4}
- z-location of {_location} is {z.wohnung2.4}
- if {wohnung2.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 2.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung2.5}
- y-location of {_location} is {y.wohnung2.5}
- z-location of {_location} is {z.wohnung2.5}
- if {wohnung2.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 3
- # 3.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung3.1}
- y-location of {_location} is {y.wohnung3.1}
- z-location of {_location} is {z.wohnung3.1}
- if {wohnung3.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 3.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung3.2}
- y-location of {_location} is {y.wohnung3.2}
- z-location of {_location} is {z.wohnung3.2}
- if {wohnung3.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 3.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung3.3}
- y-location of {_location} is {y.wohnung3.3}
- z-location of {_location} is {z.wohnung3.3}
- if {wohnung3.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 3.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung3.4}
- y-location of {_location} is {y.wohnung3.4}
- z-location of {_location} is {z.wohnung3.4}
- if {wohnung3.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 3.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung3.5}
- y-location of {_location} is {y.wohnung3.5}
- z-location of {_location} is {z.wohnung3.5}
- if {wohnung3.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 4
- # 4.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung4.1}
- y-location of {_location} is {y.wohnung4.1}
- z-location of {_location} is {z.wohnung4.1}
- if {wohnung4.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 4.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung4.2}
- y-location of {_location} is {y.wohnung4.2}
- z-location of {_location} is {z.wohnung4.2}
- if {wohnung4.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 4.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung4.3}
- y-location of {_location} is {y.wohnung4.3}
- z-location of {_location} is {z.wohnung4.3}
- if {wohnung4.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 4.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung4.4}
- y-location of {_location} is {y.wohnung4.4}
- z-location of {_location} is {z.wohnung4.4}
- if {wohnung4.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 4.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung4.5}
- y-location of {_location} is {y.wohnung4.5}
- z-location of {_location} is {z.wohnung4.5}
- if {wohnung4.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 5
- # 5.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung5.1}
- y-location of {_location} is {y.wohnung5.1}
- z-location of {_location} is {z.wohnung5.1}
- if {wohnung5.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 5.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung5.2}
- y-location of {_location} is {y.wohnung5.2}
- z-location of {_location} is {z.wohnung5.2}
- if {wohnung5.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 5.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung5.3}
- y-location of {_location} is {y.wohnung5.3}
- z-location of {_location} is {z.wohnung5.3}
- if {wohnung5.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 5.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung5.4}
- y-location of {_location} is {y.wohnung5.4}
- z-location of {_location} is {z.wohnung5.4}
- if {wohnung5.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 5.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung5.5}
- y-location of {_location} is {y.wohnung5.5}
- z-location of {_location} is {z.wohnung5.5}
- if {wohnung5.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 6
- # 6.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung6.1}
- y-location of {_location} is {y.wohnung6.1}
- z-location of {_location} is {z.wohnung6.1}
- if {wohnung6.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 6.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung6.2}
- y-location of {_location} is {y.wohnung6.2}
- z-location of {_location} is {z.wohnung6.2}
- if {wohnung6.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 6.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung6.3}
- y-location of {_location} is {y.wohnung6.3}
- z-location of {_location} is {z.wohnung6.3}
- if {wohnung6.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 6.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung6.4}
- y-location of {_location} is {y.wohnung6.4}
- z-location of {_location} is {z.wohnung6.4}
- if {wohnung6.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 6.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung6.5}
- y-location of {_location} is {y.wohnung6.5}
- z-location of {_location} is {z.wohnung6.5}
- if {wohnung6.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 7
- # 7.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung7.1}
- y-location of {_location} is {y.wohnung7.1}
- z-location of {_location} is {z.wohnung7.1}
- if {wohnung7.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 7.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung7.2}
- y-location of {_location} is {y.wohnung7.2}
- z-location of {_location} is {z.wohnung7.2}
- if {wohnung7.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 7.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung7.3}
- y-location of {_location} is {y.wohnung7.3}
- z-location of {_location} is {z.wohnung7.3}
- if {wohnung7.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 7.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung7.4}
- y-location of {_location} is {y.wohnung7.4}
- z-location of {_location} is {z.wohnung7.4}
- if {wohnung7.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 7.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung7.5}
- y-location of {_location} is {y.wohnung7.5}
- z-location of {_location} is {z.wohnung7.5}
- if {wohnung7.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 8
- # 8.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung8.1}
- y-location of {_location} is {y.wohnung8.1}
- z-location of {_location} is {z.wohnung8.1}
- if {wohnung8.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 8.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung8.2}
- y-location of {_location} is {y.wohnung8.2}
- z-location of {_location} is {z.wohnung8.2}
- if {wohnung8.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 8.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung8.3}
- y-location of {_location} is {y.wohnung8.3}
- z-location of {_location} is {z.wohnung8.3}
- if {wohnung8.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 8.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung8.4}
- y-location of {_location} is {y.wohnung8.4}
- z-location of {_location} is {z.wohnung8.4}
- if {wohnung8.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 8.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung8.5}
- y-location of {_location} is {y.wohnung8.5}
- z-location of {_location} is {z.wohnung8.5}
- if {wohnung8.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 9
- # 9.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung9.1}
- y-location of {_location} is {y.wohnung9.1}
- z-location of {_location} is {z.wohnung9.1}
- if {wohnung9.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 9.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung9.2}
- y-location of {_location} is {y.wohnung9.2}
- z-location of {_location} is {z.wohnung9.2}
- if {wohnung9.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 9.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung9.3}
- y-location of {_location} is {y.wohnung9.3}
- z-location of {_location} is {z.wohnung9.3}
- if {wohnung9.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 9.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung9.4}
- y-location of {_location} is {y.wohnung9.4}
- z-location of {_location} is {z.wohnung9.4}
- if {wohnung9.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 9.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung9.5}
- y-location of {_location} is {y.wohnung9.5}
- z-location of {_location} is {z.wohnung9.5}
- if {wohnung9.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 10
- # 10.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung10.1}
- y-location of {_location} is {y.wohnung10.1}
- z-location of {_location} is {z.wohnung10.1}
- if {wohnung10.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 10.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung10.2}
- y-location of {_location} is {y.wohnung10.2}
- z-location of {_location} is {z.wohnung10.2}
- if {wohnung10.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 10.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung10.3}
- y-location of {_location} is {y.wohnung10.3}
- z-location of {_location} is {z.wohnung10.3}
- if {wohnung10.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 10.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung10.4}
- y-location of {_location} is {y.wohnung10.4}
- z-location of {_location} is {z.wohnung10.4}
- if {wohnung10.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 10.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung10.5}
- y-location of {_location} is {y.wohnung10.5}
- z-location of {_location} is {z.wohnung10.5}
- if {wohnung10.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 11
- # 11.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung11.1}
- y-location of {_location} is {y.wohnung11.1}
- z-location of {_location} is {z.wohnung11.1}
- if {wohnung11.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 11.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung11.2}
- y-location of {_location} is {y.wohnung11.2}
- z-location of {_location} is {z.wohnung11.2}
- if {wohnung11.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 11.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung11.3}
- y-location of {_location} is {y.wohnung11.3}
- z-location of {_location} is {z.wohnung11.3}
- if {wohnung11.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 11.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung11.4}
- y-location of {_location} is {y.wohnung11.4}
- z-location of {_location} is {z.wohnung11.4}
- if {wohnung11.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 11.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung11.5}
- y-location of {_location} is {y.wohnung11.5}
- z-location of {_location} is {z.wohnung11.5}
- if {wohnung11.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 12
- # 12.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung12.1}
- y-location of {_location} is {y.wohnung12.1}
- z-location of {_location} is {z.wohnung12.1}
- if {wohnung12.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 12.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung12.2}
- y-location of {_location} is {y.wohnung12.2}
- z-location of {_location} is {z.wohnung12.2}
- if {wohnung12.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 12.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung12.3}
- y-location of {_location} is {y.wohnung12.3}
- z-location of {_location} is {z.wohnung12.3}
- if {wohnung12.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 12.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung12.4}
- y-location of {_location} is {y.wohnung12.4}
- z-location of {_location} is {z.wohnung12.4}
- if {wohnung12.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 12.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung12.5}
- y-location of {_location} is {y.wohnung12.5}
- z-location of {_location} is {z.wohnung12.5}
- if {wohnung12.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 13
- # 13.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung13.1}
- y-location of {_location} is {y.wohnung13.1}
- z-location of {_location} is {z.wohnung13.1}
- if {wohnung13.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 13.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung13.2}
- y-location of {_location} is {y.wohnung13.2}
- z-location of {_location} is {z.wohnung13.2}
- if {wohnung13.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 13.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung13.3}
- y-location of {_location} is {y.wohnung13.3}
- z-location of {_location} is {z.wohnung13.3}
- if {wohnung13.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 13.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung13.4}
- y-location of {_location} is {y.wohnung13.4}
- z-location of {_location} is {z.wohnung13.4}
- if {wohnung13.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 13.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung13.5}
- y-location of {_location} is {y.wohnung13.5}
- z-location of {_location} is {z.wohnung13.5}
- if {wohnung14.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 14
- # 14.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung14.1}
- y-location of {_location} is {y.wohnung14.1}
- z-location of {_location} is {z.wohnung14.1}
- if {wohnung14.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 14.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung14.2}
- y-location of {_location} is {y.wohnung14.2}
- z-location of {_location} is {z.wohnung14.2}
- if {wohnung14.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 14.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung14.3}
- y-location of {_location} is {y.wohnung14.3}
- z-location of {_location} is {z.wohnung14.3}
- if {wohnung14.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 14.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung14.4}
- y-location of {_location} is {y.wohnung14.4}
- z-location of {_location} is {z.wohnung14.4}
- if {wohnung14.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 14.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung14.5}
- y-location of {_location} is {y.wohnung14.5}
- z-location of {_location} is {z.wohnung14.5}
- if {wohnung14.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 15
- # 15.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung15.1}
- y-location of {_location} is {y.wohnung15.1}
- z-location of {_location} is {z.wohnung15.1}
- if {wohnung15.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 15.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung15.2}
- y-location of {_location} is {y.wohnung15.2}
- z-location of {_location} is {z.wohnung15.2}
- if {wohnung15.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 15.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung15.3}
- y-location of {_location} is {y.wohnung15.3}
- z-location of {_location} is {z.wohnung15.3}
- if {wohnung15.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 15.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung15.4}
- y-location of {_location} is {y.wohnung15.4}
- z-location of {_location} is {z.wohnung15.4}
- if {wohnung15.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 15.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung15.5}
- y-location of {_location} is {y.wohnung15.5}
- z-location of {_location} is {z.wohnung15.5}
- if {wohnung15.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 16
- # 16.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung16.1}
- y-location of {_location} is {y.wohnung16.1}
- z-location of {_location} is {z.wohnung16.1}
- if {wohnung16.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 16.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung16.2}
- y-location of {_location} is {y.wohnung16.2}
- z-location of {_location} is {z.wohnung16.2}
- if {wohnung16.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 16.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung16.3}
- y-location of {_location} is {y.wohnung16.3}
- z-location of {_location} is {z.wohnung16.3}
- if {wohnung16.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 16.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung16.4}
- y-location of {_location} is {y.wohnung16.4}
- z-location of {_location} is {z.wohnung16.4}
- if {wohnung16.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 16.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung16.5}
- y-location of {_location} is {y.wohnung16.5}
- z-location of {_location} is {z.wohnung16.5}
- if {wohnung16.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 17
- # 17.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung17.1}
- y-location of {_location} is {y.wohnung17.1}
- z-location of {_location} is {z.wohnung17.1}
- if {wohnung17.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 17.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung17.2}
- y-location of {_location} is {y.wohnung17.2}
- z-location of {_location} is {z.wohnung17.2}
- if {wohnung17.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 17.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung17.3}
- y-location of {_location} is {y.wohnung17.3}
- z-location of {_location} is {z.wohnung17.3}
- if {wohnung17.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 17.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung17.4}
- y-location of {_location} is {y.wohnung17.4}
- z-location of {_location} is {z.wohnung17.4}
- if {wohnung17.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 17.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung17.5}
- y-location of {_location} is {y.wohnung17.5}
- z-location of {_location} is {z.wohnung17.5}
- if {wohnung17.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 18
- # 18.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung18.1}
- y-location of {_location} is {y.wohnung18.1}
- z-location of {_location} is {z.wohnung18.1}
- if {wohnung18.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 18.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung18.2}
- y-location of {_location} is {y.wohnung18.2}
- z-location of {_location} is {z.wohnung18.2}
- if {wohnung18.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 18.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung18.3}
- y-location of {_location} is {y.wohnung18.3}
- z-location of {_location} is {z.wohnung18.3}
- if {wohnung18.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 18.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung18.4}
- y-location of {_location} is {y.wohnung18.4}
- z-location of {_location} is {z.wohnung18.4}
- if {wohnung18.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 18.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung18.5}
- y-location of {_location} is {y.wohnung18.5}
- z-location of {_location} is {z.wohnung18.5}
- if {wohnung18.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 19
- # 19.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung19.1}
- y-location of {_location} is {y.wohnung19.1}
- z-location of {_location} is {z.wohnung19.1}
- if {wohnung19.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 19.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung19.2}
- y-location of {_location} is {y.wohnung19.2}
- z-location of {_location} is {z.wohnung19.2}
- if {wohnung19.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 19.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung19.3}
- y-location of {_location} is {y.wohnung19.3}
- z-location of {_location} is {z.wohnung19.3}
- if {wohnung19.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 19.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung19.4}
- y-location of {_location} is {y.wohnung19.4}
- z-location of {_location} is {z.wohnung19.4}
- if {wohnung19.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 19.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung19.5}
- y-location of {_location} is {y.wohnung19.5}
- z-location of {_location} is {z.wohnung19.5}
- if {wohnung19.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 20
- # 20.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung20.1}
- y-location of {_location} is {y.wohnung20.1}
- z-location of {_location} is {z.wohnung20.1}
- if {wohnung20.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 20.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung20.2}
- y-location of {_location} is {y.wohnung20.2}
- z-location of {_location} is {z.wohnung20.2}
- if {wohnung20.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 20.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung20.3}
- y-location of {_location} is {y.wohnung20.3}
- z-location of {_location} is {z.wohnung20.3}
- if {wohnung20.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 20.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung20.4}
- y-location of {_location} is {y.wohnung20.4}
- z-location of {_location} is {z.wohnung20.4}
- if {wohnung20.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 20.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung20.5}
- y-location of {_location} is {y.wohnung20.5}
- z-location of {_location} is {z.wohnung20.5}
- if {wohnung20.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 21
- # 21.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung21.1}
- y-location of {_location} is {y.wohnung21.1}
- z-location of {_location} is {z.wohnung21.1}
- if {wohnung21.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 21.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung21.2}
- y-location of {_location} is {y.wohnung21.2}
- z-location of {_location} is {z.wohnung21.2}
- if {wohnung21.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 21.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung21.3}
- y-location of {_location} is {y.wohnung21.3}
- z-location of {_location} is {z.wohnung21.3}
- if {wohnung21.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 21.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung21.4}
- y-location of {_location} is {y.wohnung21.4}
- z-location of {_location} is {z.wohnung21.4}
- if {wohnung21.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 21.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung21.5}
- y-location of {_location} is {y.wohnung21.5}
- z-location of {_location} is {z.wohnung21.5}
- if {wohnung21.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 22
- # 22.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung22.1}
- y-location of {_location} is {y.wohnung22.1}
- z-location of {_location} is {z.wohnung22.1}
- if {wohnung22.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 22.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung22.2}
- y-location of {_location} is {y.wohnung22.2}
- z-location of {_location} is {z.wohnung22.2}
- if {wohnung22.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 22.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung22.3}
- y-location of {_location} is {y.wohnung22.3}
- z-location of {_location} is {z.wohnung22.3}
- if {wohnung22.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 22.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung22.4}
- y-location of {_location} is {y.wohnung22.4}
- z-location of {_location} is {z.wohnung22.4}
- if {wohnung22.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 22.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung22.5}
- y-location of {_location} is {y.wohnung22.5}
- z-location of {_location} is {z.wohnung22.5}
- if {wohnung22.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 23
- # 23.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung23.1}
- y-location of {_location} is {y.wohnung23.1}
- z-location of {_location} is {z.wohnung23.1}
- if {wohnung23.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 23.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung23.2}
- y-location of {_location} is {y.wohnung23.2}
- z-location of {_location} is {z.wohnung23.2}
- if {wohnung23.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 23.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung23.3}
- y-location of {_location} is {y.wohnung23.3}
- z-location of {_location} is {z.wohnung23.3}
- if {wohnung23.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 23.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung23.4}
- y-location of {_location} is {y.wohnung23.4}
- z-location of {_location} is {z.wohnung23.4}
- if {wohnung23.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 23.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung23.5}
- y-location of {_location} is {y.wohnung23.5}
- z-location of {_location} is {z.wohnung23.5}
- if {wohnung23.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 24
- # 24.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung24.1}
- y-location of {_location} is {y.wohnung24.1}
- z-location of {_location} is {z.wohnung24.1}
- if {wohnung24.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 24.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung24.2}
- y-location of {_location} is {y.wohnung24.2}
- z-location of {_location} is {z.wohnung24.2}
- if {wohnung24.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 24.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung24.3}
- y-location of {_location} is {y.wohnung24.3}
- z-location of {_location} is {z.wohnung24.3}
- if {wohnung24.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 24.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung24.4}
- y-location of {_location} is {y.wohnung24.4}
- z-location of {_location} is {z.wohnung24.4}
- if {wohnung24.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 24.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung24.5}
- y-location of {_location} is {y.wohnung24.5}
- z-location of {_location} is {z.wohnung24.5}
- if {wohnung24.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 25
- # 25.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung25.1}
- y-location of {_location} is {y.wohnung25.1}
- z-location of {_location} is {z.wohnung25.1}
- if {wohnung25.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 25.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung25.2}
- y-location of {_location} is {y.wohnung25.2}
- z-location of {_location} is {z.wohnung25.2}
- if {wohnung25.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 25.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung25.3}
- y-location of {_location} is {y.wohnung25.3}
- z-location of {_location} is {z.wohnung25.3}
- if {wohnung25.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 25.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung25.4}
- y-location of {_location} is {y.wohnung25.4}
- z-location of {_location} is {z.wohnung25.4}
- if {wohnung25.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 25.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung25.5}
- y-location of {_location} is {y.wohnung25.5}
- z-location of {_location} is {z.wohnung25.5}
- if {wohnung25.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 26
- # 26.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung26.1}
- y-location of {_location} is {y.wohnung26.1}
- z-location of {_location} is {z.wohnung26.1}
- if {wohnung26.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 26.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung26.2}
- y-location of {_location} is {y.wohnung26.2}
- z-location of {_location} is {z.wohnung26.2}
- if {wohnung26.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 26.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung26.3}
- y-location of {_location} is {y.wohnung26.3}
- z-location of {_location} is {z.wohnung26.3}
- if {wohnung26.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 26.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung26.4}
- y-location of {_location} is {y.wohnung26.4}
- z-location of {_location} is {z.wohnung26.4}
- if {wohnung26.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 26.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung26.5}
- y-location of {_location} is {y.wohnung26.5}
- z-location of {_location} is {z.wohnung26.5}
- if {wohnung26.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 27
- # 27.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung27.1}
- y-location of {_location} is {y.wohnung27.1}
- z-location of {_location} is {z.wohnung27.1}
- if {wohnung27.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 27.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung27.2}
- y-location of {_location} is {y.wohnung27.2}
- z-location of {_location} is {z.wohnung27.2}
- if {wohnung27.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 27.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung27.3}
- y-location of {_location} is {y.wohnung27.3}
- z-location of {_location} is {z.wohnung27.3}
- if {wohnung27.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 27.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung27.4}
- y-location of {_location} is {y.wohnung27.4}
- z-location of {_location} is {z.wohnung27.4}
- if {wohnung27.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 27.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung27.5}
- y-location of {_location} is {y.wohnung27.5}
- z-location of {_location} is {z.wohnung27.5}
- if {wohnung27.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 28
- # 28.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung28.1}
- y-location of {_location} is {y.wohnung28.1}
- z-location of {_location} is {z.wohnung28.1}
- if {wohnung28.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 28.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung28.2}
- y-location of {_location} is {y.wohnung28.2}
- z-location of {_location} is {z.wohnung28.2}
- if {wohnung28.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 28.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung28.3}
- y-location of {_location} is {y.wohnung28.3}
- z-location of {_location} is {z.wohnung28.3}
- if {wohnung28.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 28.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung28.4}
- y-location of {_location} is {y.wohnung28.4}
- z-location of {_location} is {z.wohnung28.4}
- if {wohnung28.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 28.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung28.5}
- y-location of {_location} is {y.wohnung28.5}
- z-location of {_location} is {z.wohnung28.5}
- if {wohnung28.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 29
- # 29.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung29.1}
- y-location of {_location} is {y.wohnung29.1}
- z-location of {_location} is {z.wohnung29.1}
- if {wohnung29.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 29.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung29.2}
- y-location of {_location} is {y.wohnung29.2}
- z-location of {_location} is {z.wohnung29.2}
- if {wohnung29.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 29.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung29.3}
- y-location of {_location} is {y.wohnung29.3}
- z-location of {_location} is {z.wohnung29.3}
- if {wohnung29.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 29.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung29.4}
- y-location of {_location} is {y.wohnung29.4}
- z-location of {_location} is {z.wohnung29.4}
- if {wohnung29.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 29.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung29.5}
- y-location of {_location} is {y.wohnung29.5}
- z-location of {_location} is {z.wohnung29.5}
- if {wohnung29.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 30
- # 30.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung30.1}
- y-location of {_location} is {y.wohnung30.1}
- z-location of {_location} is {z.wohnung30.1}
- if {wohnung30.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 30.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung30.2}
- y-location of {_location} is {y.wohnung30.2}
- z-location of {_location} is {z.wohnung30.2}
- if {wohnung30.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 30.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung30.3}
- y-location of {_location} is {y.wohnung30.3}
- z-location of {_location} is {z.wohnung30.3}
- if {wohnung30.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 30.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung30.4}
- y-location of {_location} is {y.wohnung30.4}
- z-location of {_location} is {z.wohnung30.4}
- if {wohnung30.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 30.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung30.5}
- y-location of {_location} is {y.wohnung30.5}
- z-location of {_location} is {z.wohnung30.5}
- if {wohnung30.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 31
- # 31.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung31.1}
- y-location of {_location} is {y.wohnung31.1}
- z-location of {_location} is {z.wohnung31.1}
- if {wohnung31.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 31.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung31.2}
- y-location of {_location} is {y.wohnung31.2}
- z-location of {_location} is {z.wohnung31.2}
- if {wohnung31.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 31.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung31.3}
- y-location of {_location} is {y.wohnung31.3}
- z-location of {_location} is {z.wohnung31.3}
- if {wohnung31.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 31.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung31.4}
- y-location of {_location} is {y.wohnung31.4}
- z-location of {_location} is {z.wohnung31.4}
- if {wohnung31.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 31.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung31.5}
- y-location of {_location} is {y.wohnung31.5}
- z-location of {_location} is {z.wohnung31.5}
- if {wohnung31.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 32
- # 32.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung32.1}
- y-location of {_location} is {y.wohnung32.1}
- z-location of {_location} is {z.wohnung32.1}
- if {wohnung32.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 32.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung32.2}
- y-location of {_location} is {y.wohnung32.2}
- z-location of {_location} is {z.wohnung32.2}
- if {wohnung32.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 32.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung32.3}
- y-location of {_location} is {y.wohnung32.3}
- z-location of {_location} is {z.wohnung32.3}
- if {wohnung32.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 32.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung32.4}
- y-location of {_location} is {y.wohnung32.4}
- z-location of {_location} is {z.wohnung32.4}
- if {wohnung32.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 32.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung32.5}
- y-location of {_location} is {y.wohnung32.5}
- z-location of {_location} is {z.wohnung32.5}
- if {wohnung32.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 33
- # 33.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung33.1}
- y-location of {_location} is {y.wohnung33.1}
- z-location of {_location} is {z.wohnung33.1}
- if {wohnung33.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 33.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung33.2}
- y-location of {_location} is {y.wohnung33.2}
- z-location of {_location} is {z.wohnung33.2}
- if {wohnung33.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 33.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung33.3}
- y-location of {_location} is {y.wohnung33.3}
- z-location of {_location} is {z.wohnung33.3}
- if {wohnung33.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 33.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung33.4}
- y-location of {_location} is {y.wohnung33.4}
- z-location of {_location} is {z.wohnung33.4}
- if {wohnung33.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 33.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung33.5}
- y-location of {_location} is {y.wohnung33.5}
- z-location of {_location} is {z.wohnung33.5}
- if {wohnung33.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 34
- # 34.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung34.1}
- y-location of {_location} is {y.wohnung34.1}
- z-location of {_location} is {z.wohnung34.1}
- if {wohnung34.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- if {ListFreundeWohnung34::*} contains "%player%":
- send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 34.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung34.2}
- y-location of {_location} is {y.wohnung34.2}
- z-location of {_location} is {z.wohnung34.2}
- if {wohnung34.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- if {ListFreundeWohnung34::*} contains "%player%":
- send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 34.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung34.3}
- y-location of {_location} is {y.wohnung34.3}
- z-location of {_location} is {z.wohnung34.3}
- if {wohnung34.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- if {ListFreundeWohnung34::*} contains "%player%":
- send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 34.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung34.4}
- y-location of {_location} is {y.wohnung34.4}
- z-location of {_location} is {z.wohnung34.4}
- if {wohnung34.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- if {ListFreundeWohnung34::*} contains "%player%":
- send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 34.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung34.5}
- y-location of {_location} is {y.wohnung34.5}
- z-location of {_location} is {z.wohnung34.5}
- if {wohnung34.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- if {ListFreundeWohnung34::*} contains "%player%":
- send "&8[&6Wohnraum&8] &7Du hast die Kiste eines Freundes geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 30
- # 35.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung35.1}
- y-location of {_location} is {y.wohnung35.1}
- z-location of {_location} is {z.wohnung35.1}
- if {wohnung35.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 35.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung35.2}
- y-location of {_location} is {y.wohnung35.2}
- z-location of {_location} is {z.wohnung35.2}
- if {wohnung35.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 35.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung35.3}
- y-location of {_location} is {y.wohnung35.3}
- z-location of {_location} is {z.wohnung35.3}
- if {wohnung35.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 35.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung35.4}
- y-location of {_location} is {y.wohnung35.4}
- z-location of {_location} is {z.wohnung35.4}
- if {wohnung35.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 35.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung35.5}
- y-location of {_location} is {y.wohnung35.5}
- z-location of {_location} is {z.wohnung35.5}
- if {wohnung35.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 36
- # 36.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung36.1}
- y-location of {_location} is {y.wohnung36.1}
- z-location of {_location} is {z.wohnung36.1}
- if {wohnung36.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 36.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung36.2}
- y-location of {_location} is {y.wohnung36.2}
- z-location of {_location} is {z.wohnung36.2}
- if {wohnung36.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 36.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung36.3}
- y-location of {_location} is {y.wohnung36.3}
- z-location of {_location} is {z.wohnung36.3}
- if {wohnung36.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 36.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung36.4}
- y-location of {_location} is {y.wohnung36.4}
- z-location of {_location} is {z.wohnung36.4}
- if {wohnung36.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 36.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung36.5}
- y-location of {_location} is {y.wohnung36.5}
- z-location of {_location} is {z.wohnung36.5}
- if {wohnung36.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 37
- # 37.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung37.1}
- y-location of {_location} is {y.wohnung37.1}
- z-location of {_location} is {z.wohnung37.1}
- if {wohnung37.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 37.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung37.2}
- y-location of {_location} is {y.wohnung37.2}
- z-location of {_location} is {z.wohnung37.2}
- if {wohnung37.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 37.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung37.3}
- y-location of {_location} is {y.wohnung37.3}
- z-location of {_location} is {z.wohnung37.3}
- if {wohnung37.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 37.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung37.4}
- y-location of {_location} is {y.wohnung37.4}
- z-location of {_location} is {z.wohnung37.4}
- if {wohnung37.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 37.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung37.5}
- y-location of {_location} is {y.wohnung37.5}
- z-location of {_location} is {z.wohnung37.5}
- if {wohnung37.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 38
- # 38.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung38.1}
- y-location of {_location} is {y.wohnung38.1}
- z-location of {_location} is {z.wohnung38.1}
- if {wohnung38.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 38.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung38.2}
- y-location of {_location} is {y.wohnung38.2}
- z-location of {_location} is {z.wohnung38.2}
- if {wohnung38.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 38.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung38.3}
- y-location of {_location} is {y.wohnung38.3}
- z-location of {_location} is {z.wohnung38.3}
- if {wohnung38.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 38.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung38.4}
- y-location of {_location} is {y.wohnung38.4}
- z-location of {_location} is {z.wohnung38.4}
- if {wohnung38.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 38.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung38.5}
- y-location of {_location} is {y.wohnung38.5}
- z-location of {_location} is {z.wohnung38.5}
- if {wohnung38.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 39
- # 39.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung39.1}
- y-location of {_location} is {y.wohnung39.1}
- z-location of {_location} is {z.wohnung39.1}
- if {wohnung39.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 39.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung39.2}
- y-location of {_location} is {y.wohnung39.2}
- z-location of {_location} is {z.wohnung39.2}
- if {wohnung39.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 39.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung39.3}
- y-location of {_location} is {y.wohnung39.3}
- z-location of {_location} is {z.wohnung39.3}
- if {wohnung39.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 39.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung39.4}
- y-location of {_location} is {y.wohnung39.4}
- z-location of {_location} is {z.wohnung39.4}
- if {wohnung39.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 39.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung39.5}
- y-location of {_location} is {y.wohnung39.5}
- z-location of {_location} is {z.wohnung39.5}
- if {wohnung39.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 40
- # 40.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung40.1}
- y-location of {_location} is {y.wohnung40.1}
- z-location of {_location} is {z.wohnung40.1}
- if {wohnung40.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 40.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung40.2}
- y-location of {_location} is {y.wohnung40.2}
- z-location of {_location} is {z.wohnung40.2}
- if {wohnung40.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 40.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung40.3}
- y-location of {_location} is {y.wohnung40.3}
- z-location of {_location} is {z.wohnung40.3}
- if {wohnung40.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 40.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung40.4}
- y-location of {_location} is {y.wohnung40.4}
- z-location of {_location} is {z.wohnung40.4}
- if {wohnung40.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 40.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung40.5}
- y-location of {_location} is {y.wohnung40.5}
- z-location of {_location} is {z.wohnung40.5}
- if {wohnung40.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 41
- # 41.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung41.1}
- y-location of {_location} is {y.wohnung41.1}
- z-location of {_location} is {z.wohnung41.1}
- if {wohnung41.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 41.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung41.2}
- y-location of {_location} is {y.wohnung41.2}
- z-location of {_location} is {z.wohnung41.2}
- if {wohnung41.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 41.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung41.3}
- y-location of {_location} is {y.wohnung41.3}
- z-location of {_location} is {z.wohnung41.3}
- if {wohnung41.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 41.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung41.4}
- y-location of {_location} is {y.wohnung41.4}
- z-location of {_location} is {z.wohnung41.4}
- if {wohnung41.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 41.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung41.5}
- y-location of {_location} is {y.wohnung41.5}
- z-location of {_location} is {z.wohnung41.5}
- if {wohnung41.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 42
- # 42.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung42.1}
- y-location of {_location} is {y.wohnung42.1}
- z-location of {_location} is {z.wohnung42.1}
- if {wohnung42.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 42.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung42.2}
- y-location of {_location} is {y.wohnung42.2}
- z-location of {_location} is {z.wohnung42.2}
- if {wohnung42.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 42.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung42.3}
- y-location of {_location} is {y.wohnung42.3}
- z-location of {_location} is {z.wohnung42.3}
- if {wohnung42.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 42.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung42.4}
- y-location of {_location} is {y.wohnung42.4}
- z-location of {_location} is {z.wohnung42.4}
- if {wohnung42.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 42.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung42.5}
- y-location of {_location} is {y.wohnung42.5}
- z-location of {_location} is {z.wohnung42.5}
- if {wohnung42.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 43
- # 43.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung43.1}
- y-location of {_location} is {y.wohnung43.1}
- z-location of {_location} is {z.wohnung43.1}
- if {wohnung43.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 43.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung43.2}
- y-location of {_location} is {y.wohnung43.2}
- z-location of {_location} is {z.wohnung43.2}
- if {wohnung43.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 43.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung43.3}
- y-location of {_location} is {y.wohnung43.3}
- z-location of {_location} is {z.wohnung43.3}
- if {wohnung43.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 43.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung43.4}
- y-location of {_location} is {y.wohnung43.4}
- z-location of {_location} is {z.wohnung43.4}
- if {wohnung43.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 43.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung43.5}
- y-location of {_location} is {y.wohnung43.5}
- z-location of {_location} is {z.wohnung43.5}
- if {wohnung43.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 44
- # 44.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung44.1}
- y-location of {_location} is {y.wohnung44.1}
- z-location of {_location} is {z.wohnung44.1}
- if {wohnung44.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 44.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung44.2}
- y-location of {_location} is {y.wohnung44.2}
- z-location of {_location} is {z.wohnung44.2}
- if {wohnung44.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 44.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung44.3}
- y-location of {_location} is {y.wohnung44.3}
- z-location of {_location} is {z.wohnung44.3}
- if {wohnung44.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 44.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung44.4}
- y-location of {_location} is {y.wohnung44.4}
- z-location of {_location} is {z.wohnung44.4}
- if {wohnung44.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 44.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung44.5}
- y-location of {_location} is {y.wohnung44.5}
- z-location of {_location} is {z.wohnung44.5}
- if {wohnung44.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # Wohnung 45
- # 45.1
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung45.1}
- y-location of {_location} is {y.wohnung45.1}
- z-location of {_location} is {z.wohnung45.1}
- if {wohnung45.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 45.2
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung45.2}
- y-location of {_location} is {y.wohnung45.2}
- z-location of {_location} is {z.wohnung45.2}
- if {wohnung45.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 45.3
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung45.3}
- y-location of {_location} is {y.wohnung45.3}
- z-location of {_location} is {z.wohnung45.3}
- if {wohnung45.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 45.4
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung45.4}
- y-location of {_location} is {y.wohnung45.4}
- z-location of {_location} is {z.wohnung45.4}
- if {wohnung45.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- # 45.5
- on click on chest:
- if player's tool is a golden_axe:
- cancel event
- else:
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung45.5}
- y-location of {_location} is {y.wohnung45.5}
- z-location of {_location} is {z.wohnung45.5}
- if {wohnung45.Besitzer} is "%player%":
- send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
- else:
- cancel event
- send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
- #
- #
- # HAUSKAUFEN
- #
- #
- # Wohnung 1
- command /5213215123hauskaufen [<Text>]:
- trigger:
- set {Silberstücke.%player's uuid%} to "%{Silberstücke.%player's uuid%}%" parsed as integer
- if arg 1 is "1":
- set {_Preis} to "%{wohnung1.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung1.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "2":
- set {_Preis} to "%{wohnung2.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung2.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "3":
- set {_Preis} to "%{wohnung3.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung3.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "4":
- set {_Preis} to "%{wohnung4.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung4.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "5":
- set {_Preis} to "%{wohnung5.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung5.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "6":
- set {_Preis} to "%{wohnung6.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung6.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "7":
- set {_Preis} to "%{wohnung7.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung7.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "8":
- set {_Preis} to "%{wohnung8.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung8.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "9":
- set {_Preis} to "%{wohnung9.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung9.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "10":
- set {_Preis} to "%{wohnung10.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung10.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "11":
- set {_Preis} to "%{wohnung11.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung11.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "12":
- set {_Preis} to "%{wohnung12.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung12.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "13":
- set {_Preis} to "%{wohnung13.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung13.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "14":
- set {_Preis} to "%{wohnung14.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung14.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "15":
- set {_Preis} to "%{wohnung15.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung15.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "16":
- set {_Preis} to "%{wohnung16.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung16.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "17":
- set {_Preis} to "%{wohnung17.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung17.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "18":
- set {_Preis} to "%{wohnung18.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung18.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "19":
- set {_Preis} to "%{wohnung19.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung19.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "20":
- set {_Preis} to "%{wohnung20.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung20.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "21":
- set {_Preis} to "%{wohnung21.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung21.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "22":
- set {_Preis} to "%{wohnung22.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung22.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "23":
- set {_Preis} to "%{wohnung23.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung23.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "24":
- set {_Preis} to "%{wohnung24.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung24.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "25":
- set {_Preis} to "%{wohnung25.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung25.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "26":
- set {_Preis} to "%{wohnung26.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung26.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "27":
- set {_Preis} to "%{wohnung27.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung27.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "28":
- set {_Preis} to "%{wohnung28.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung28.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "29":
- set {_Preis} to "%{wohnung29.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung29.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "30":
- set {_Preis} to "%{wohnung30.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung30.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "31":
- set {_Preis} to "%{wohnung31.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung31.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "32":
- set {_Preis} to "%{wohnung32.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung32.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "33":
- set {_Preis} to "%{wohnung33.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung33.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "34":
- set {_Preis} to "%{wohnung34.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung34.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "35":
- set {_Preis} to "%{wohnung35.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung35.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "36":
- set {_Preis} to "%{wohnung36.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung36.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "37":
- set {_Preis} to "%{wohnung37.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung37.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "38":
- set {_Preis} to "%{wohnung38.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung38.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "39":
- set {_Preis} to "%{wohnung39.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung39.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "40":
- set {_Preis} to "%{wohnung40.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung40.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "41":
- set {_Preis} to "%{wohnung41.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung41.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "42":
- set {_Preis} to "%{wohnung42.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung42.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "43":
- set {_Preis} to "%{wohnung43.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung43.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "44":
- set {_Preis} to "%{wohnung44.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung44.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- if arg 1 is "45":
- set {_Preis} to "%{wohnung45.Preis}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "&8[&6Wohnraum&8] &7Wohnungspreis bezahlt." to player
- set {wohnung45.Besitzer} to "%player%"
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld." to player
- #
- #
- # HAUSWEITERVERKAUFEN
- #
- #
- command /3424651323124hausverkaufen [<Text>]:
- trigger:
- if arg 1 is "1":
- set {Wohnung1.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung1.Preissetzen.%player%} is true:
- set {Wohnung1.Preissetzen.%player%} to false
- if arg 1 is "2":
- set {Wohnung2.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung2.Preissetzen.%player%} is true:
- set {Wohnung2.Preissetzen.%player%} to false
- if arg 1 is "3":
- set {Wohnung3.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung3.Preissetzen.%player%} is true:
- set {Wohnung3.Preissetzen.%player%} to false
- if arg 1 is "4":
- set {Wohnung4.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung4.Preissetzen.%player%} is true:
- set {Wohnung4.Preissetzen.%player%} to false
- if arg 1 is "5":
- set {Wohnung5.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung5.Preissetzen.%player%} is true:
- set {Wohnung5.Preissetzen.%player%} to false
- if arg 1 is "6":
- set {Wohnung6.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung6.Preissetzen.%player%} is true:
- set {Wohnung6.Preissetzen.%player%} to false
- if arg 1 is "7":
- set {Wohnung7.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung7.Preissetzen.%player%} is true:
- set {Wohnung7.Preissetzen.%player%} to false
- if arg 1 is "8":
- set {Wohnung8.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung8.Preissetzen.%player%} is true:
- set {Wohnung8.Preissetzen.%player%} to false
- if arg 1 is "9":
- set {Wohnung9.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung9.Preissetzen.%player%} is true:
- set {Wohnung9.Preissetzen.%player%} to false
- if arg 1 is "10":
- set {Wohnung10.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung10.Preissetzen.%player%} is true:
- set {Wohnung10.Preissetzen.%player%} to false
- if arg 1 is "11":
- set {Wohnung11.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung11.Preissetzen.%player%} is true:
- set {Wohnung11.Preissetzen.%player%} to false
- if arg 1 is "12":
- set {Wohnung12.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung12.Preissetzen.%player%} is true:
- set {Wohnung12.Preissetzen.%player%} to false
- if arg 1 is "13":
- set {Wohnung13.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung13.Preissetzen.%player%} is true:
- set {Wohnung13.Preissetzen.%player%} to false
- if arg 1 is "14":
- set {Wohnung14.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung14.Preissetzen.%player%} is true:
- set {Wohnung14.Preissetzen.%player%} to false
- if arg 1 is "15":
- set {Wohnung15.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung15.Preissetzen.%player%} is true:
- set {Wohnung15.Preissetzen.%player%} to false
- if arg 1 is "16":
- set {Wohnung16.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung16.Preissetzen.%player%} is true:
- set {Wohnung16.Preissetzen.%player%} to false
- if arg 1 is "17":
- set {Wohnung17.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung17.Preissetzen.%player%} is true:
- set {Wohnung17.Preissetzen.%player%} to false
- if arg 1 is "18":
- set {Wohnung18.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung18.Preissetzen.%player%} is true:
- set {Wohnung18.Preissetzen.%player%} to false
- if arg 1 is "19":
- set {Wohnung19.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung19.Preissetzen.%player%} is true:
- set {Wohnung19.Preissetzen.%player%} to false
- if arg 1 is "20":
- set {Wohnung20.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung20.Preissetzen.%player%} is true:
- set {Wohnung20.Preissetzen.%player%} to false
- if arg 1 is "21":
- set {Wohnung21.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung21.Preissetzen.%player%} is true:
- set {Wohnung21.Preissetzen.%player%} to false
- if arg 1 is "22":
- set {Wohnung22.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung22.Preissetzen.%player%} is true:
- set {Wohnung22.Preissetzen.%player%} to false
- if arg 1 is "23":
- set {Wohnung23.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung23.Preissetzen.%player%} is true:
- set {Wohnung23.Preissetzen.%player%} to false
- if arg 1 is "24":
- set {Wohnung24.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung24.Preissetzen.%player%} is true:
- set {Wohnung24.Preissetzen.%player%} to false
- if arg 1 is "25":
- set {Wohnung25.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung25.Preissetzen.%player%} is true:
- set {Wohnung25.Preissetzen.%player%} to false
- if arg 1 is "26":
- set {Wohnung26.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung26.Preissetzen.%player%} is true:
- set {Wohnung26.Preissetzen.%player%} to false
- if arg 1 is "27":
- set {Wohnung27.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung27.Preissetzen.%player%} is true:
- set {Wohnung27.Preissetzen.%player%} to false
- if arg 1 is "28":
- set {Wohnung28.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung28.Preissetzen.%player%} is true:
- set {Wohnung28.Preissetzen.%player%} to false
- if arg 1 is "29":
- set {Wohnung29.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung29.Preissetzen.%player%} is true:
- set {Wohnung29.Preissetzen.%player%} to false
- if arg 1 is "30":
- set {Wohnung30.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung30.Preissetzen.%player%} is true:
- set {Wohnung30.Preissetzen.%player%} to false
- if arg 1 is "31":
- set {Wohnung31.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung31.Preissetzen.%player%} is true:
- set {Wohnung31.Preissetzen.%player%} to false
- if arg 1 is "32":
- set {Wohnung32.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung32.Preissetzen.%player%} is true:
- set {Wohnung32.Preissetzen.%player%} to false
- if arg 1 is "33":
- set {Wohnung33.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung33.Preissetzen.%player%} is true:
- set {Wohnung33.Preissetzen.%player%} to false
- if arg 1 is "34":
- set {Wohnung34.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung34.Preissetzen.%player%} is true:
- set {Wohnung34.Preissetzen.%player%} to false
- if arg 1 is "35":
- set {Wohnung35.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung35.Preissetzen.%player%} is true:
- set {Wohnung35.Preissetzen.%player%} to false
- if arg 1 is "36":
- set {Wohnung36.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung36.Preissetzen.%player%} is true:
- set {Wohnung36.Preissetzen.%player%} to false
- if arg 1 is "37":
- set {Wohnung37.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung37.Preissetzen.%player%} is true:
- set {Wohnung37.Preissetzen.%player%} to false
- if arg 1 is "38":
- set {Wohnung38.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung38.Preissetzen.%player%} is true:
- set {Wohnung38.Preissetzen.%player%} to false
- if arg 1 is "39":
- set {Wohnung39.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung39.Preissetzen.%player%} is true:
- set {Wohnung39.Preissetzen.%player%} to false
- if arg 1 is "40":
- set {Wohnung40.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung40.Preissetzen.%player%} is true:
- set {Wohnung40.Preissetzen.%player%} to false
- if arg 1 is "41":
- set {Wohnung41.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung41.Preissetzen.%player%} is true:
- set {Wohnung41.Preissetzen.%player%} to false
- if arg 1 is "42":
- set {Wohnung42.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung42.Preissetzen.%player%} is true:
- set {Wohnung42.Preissetzen.%player%} to false
- if arg 1 is "43":
- set {Wohnung43.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung43.Preissetzen.%player%} is true:
- set {Wohnung43.Preissetzen.%player%} to false
- if arg 1 is "44":
- set {Wohnung44.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung44.Preissetzen.%player%} is true:
- set {Wohnung44.Preissetzen.%player%} to false
- if arg 1 is "45":
- set {Wohnung45.Preissetzen.%player%} to true
- send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
- wait 15 seconds
- if {Wohnung45.Preissetzen.%player%} is true:
- set {Wohnung45.Preissetzen.%player%} to false
- on chat:
- if {Wohnung1.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung1.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung1.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 1 %{Wohnung1.Wiederverkaufspreis}%"
- if {Wohnung2.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung2.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung2.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 2 %{Wohnung2.Wiederverkaufspreis}%"
- if {Wohnung3.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung3.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung3.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 3 %{Wohnung3.Wiederverkaufspreis}%"
- if {Wohnung4.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung4.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung4.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 4 %{Wohnung4.Wiederverkaufspreis}%"
- if {Wohnung5.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung5.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung5.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 5 %{Wohnung5.Wiederverkaufspreis}%"
- if {Wohnung6.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung6.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung6.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 6 %{Wohnung6.Wiederverkaufspreis}%"
- if {Wohnung7.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung7.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung7.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 7 %{Wohnung7.Wiederverkaufspreis}%"
- if {Wohnung8.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung8.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung8.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 8 %{Wohnung8.Wiederverkaufspreis}%"
- if {Wohnung9.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung9.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung9.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 9 %{Wohnung9.Wiederverkaufspreis}%"
- if {Wohnung10.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung10.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung10.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 10 %{Wohnung10.Wiederverkaufspreis}%"
- if {Wohnung11.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung11.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung11.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 11 %{Wohnung11.Wiederverkaufspreis}%"
- if {Wohnung12.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung12.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung12.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 12 %{Wohnung12.Wiederverkaufspreis}%"
- if {Wohnung13.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung13.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung13.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 13 %{Wohnung13.Wiederverkaufspreis}%"
- if {Wohnung14.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung14.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung14.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 14 %{Wohnung14.Wiederverkaufspreis}%"
- if {Wohnung15.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung15.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung15.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 15 %{Wohnung15.Wiederverkaufspreis}%"
- if {Wohnung16.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung16.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung16.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 16 %{Wohnung16.Wiederverkaufspreis}%"
- if {Wohnung17.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung17.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung17.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 17 %{Wohnung17.Wiederverkaufspreis}%"
- if {Wohnung18.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung18.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung18.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 18 %{Wohnung18.Wiederverkaufspreis}%"
- if {Wohnung19.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung19.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung19.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 19 %{Wohnung19.Wiederverkaufspreis}%"
- if {Wohnung20.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung20.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung20.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 20 %{Wohnung20.Wiederverkaufspreis}%"
- if {Wohnung21.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung21.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung21.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 21 %{Wohnung21.Wiederverkaufspreis}%"
- if {Wohnung22.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung22.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung22.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 22 %{Wohnung22.Wiederverkaufspreis}%"
- if {Wohnung23.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung23.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung23.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 23 %{Wohnung23.Wiederverkaufspreis}%"
- if {Wohnung24.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung24.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung24.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 24 %{Wohnung24.Wiederverkaufspreis}%"
- if {Wohnung25.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung25.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung25.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 25 %{Wohnung25.Wiederverkaufspreis}%"
- if {Wohnung26.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung26.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung26.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 26 %{Wohnung26.Wiederverkaufspreis}%"
- if {Wohnung27.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung27.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung27.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 27 %{Wohnung27.Wiederverkaufspreis}%"
- if {Wohnung28.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung28.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung28.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 28 %{Wohnung28.Wiederverkaufspreis}%"
- if {Wohnung29.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung29.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung29.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 29 %{Wohnung29.Wiederverkaufspreis}%"
- if {Wohnung30.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung30.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung30.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 30 %{Wohnung30.Wiederverkaufspreis}%"
- if {Wohnung31.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung31.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung31.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 31 %{Wohnung31.Wiederverkaufspreis}%"
- if {Wohnung32.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung32.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung32.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 32 %{Wohnung32.Wiederverkaufspreis}%"
- if {Wohnung33.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung33.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung33.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 33 %{Wohnung33.Wiederverkaufspreis}%"
- if {Wohnung34.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung34.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung34.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 34 %{Wohnung34.Wiederverkaufspreis}%"
- if {Wohnung35.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung35.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung35.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 35 %{Wohnung35.Wiederverkaufspreis}%"
- if {Wohnung36.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung36.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung36.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 36 %{Wohnung36.Wiederverkaufspreis}%"
- if {Wohnung37.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung37.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung37.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 37 %{Wohnung37.Wiederverkaufspreis}%"
- if {Wohnung38.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung38.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung38.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 38 %{Wohnung38.Wiederverkaufspreis}%"
- if {Wohnung39.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung39.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung39.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 39 %{Wohnung39.Wiederverkaufspreis}%"
- if {Wohnung40.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung40.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung40.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 40 %{Wohnung40.Wiederverkaufspreis}%"
- if {Wohnung41.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung41.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung41.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 41 %{Wohnung41.Wiederverkaufspreis}%"
- if {Wohnung42.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung42.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung42.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 42 %{Wohnung42.Wiederverkaufspreis}%"
- if {Wohnung43.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung43.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung43.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 43 %{Wohnung43.Wiederverkaufspreis}%"
- if {Wohnung44.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung44.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung44.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 44 %{Wohnung44.Wiederverkaufspreis}%"
- if {Wohnung45.Preissetzen.%player%} is true:
- cancel event
- set {_message} to message
- if {_message} is "cancel":
- set {Wohnung45.Preissetzen.%player%} to false
- send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
- stop trigger
- else:
- set {Wohnung45.Wiederverkaufspreis} to {_message}
- execute player command "67812309412079931hausverkaufen 45 %{Wohnung45.Wiederverkaufspreis}%"
- command /67812309412079931hausverkaufen [<Text>] [<Integer>]:
- trigger:
- if arg 1 is "1":
- if arg 2 is a number:
- set {Wohnung1.Preissetzen.%player%} to false
- set {Wohnung1.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung1.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "2":
- if arg 2 is a number:
- set {Wohnung2.Preissetzen.%player%} to false
- set {Wohnung2.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung2.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "3":
- if arg 2 is a number:
- set {Wohnung3.Preissetzen.%player%} to false
- set {Wohnung3.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung3.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "4":
- if arg 2 is a number:
- set {Wohnung4.Preissetzen.%player%} to false
- set {Wohnung4.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung4.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "5":
- if arg 2 is a number:
- set {Wohnung5.Preissetzen.%player%} to false
- set {Wohnung5.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung5.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "6":
- if arg 2 is a number:
- set {Wohnung6.Preissetzen.%player%} to false
- set {Wohnung6.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung6.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "7":
- if arg 2 is a number:
- set {Wohnung7.Preissetzen.%player%} to false
- set {Wohnung7.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung7.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "8":
- if arg 2 is a number:
- set {Wohnung8.Preissetzen.%player%} to false
- set {Wohnung8.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung8.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "9":
- if arg 2 is a number:
- set {Wohnung9.Preissetzen.%player%} to false
- set {Wohnung9.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung9.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "10":
- if arg 2 is a number:
- set {Wohnung10.Preissetzen.%player%} to false
- set {Wohnung10.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung10.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "11":
- if arg 2 is a number:
- set {Wohnung11.Preissetzen.%player%} to false
- set {Wohnung11.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung11.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "12":
- if arg 2 is a number:
- set {Wohnung12.Preissetzen.%player%} to false
- set {Wohnung12.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung12.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "13":
- if arg 2 is a number:
- set {Wohnung13.Preissetzen.%player%} to false
- set {Wohnung13.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung13.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "14":
- if arg 2 is a number:
- set {Wohnung14.Preissetzen.%player%} to false
- set {Wohnung14.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung14.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "15":
- if arg 2 is a number:
- set {Wohnung15.Preissetzen.%player%} to false
- set {Wohnung15.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung15.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "16":
- if arg 2 is a number:
- set {Wohnung16.Preissetzen.%player%} to false
- set {Wohnung16.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung16.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "17":
- if arg 2 is a number:
- set {Wohnung17.Preissetzen.%player%} to false
- set {Wohnung17.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung17.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "18":
- if arg 2 is a number:
- set {Wohnung18.Preissetzen.%player%} to false
- set {Wohnung18.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung18.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "19":
- if arg 2 is a number:
- set {Wohnung19.Preissetzen.%player%} to false
- set {Wohnung19.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung19.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "20":
- if arg 2 is a number:
- set {Wohnung20.Preissetzen.%player%} to false
- set {Wohnung20.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung20.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "21":
- if arg 2 is a number:
- set {Wohnung21.Preissetzen.%player%} to false
- set {Wohnung21.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung21.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "22":
- if arg 2 is a number:
- set {Wohnung22.Preissetzen.%player%} to false
- set {Wohnung22.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung22.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "23":
- if arg 2 is a number:
- set {Wohnung23.Preissetzen.%player%} to false
- set {Wohnung23.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung23.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "24":
- if arg 2 is a number:
- set {Wohnung24.Preissetzen.%player%} to false
- set {Wohnung24.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung24.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "25":
- if arg 2 is a number:
- set {Wohnung25.Preissetzen.%player%} to false
- set {Wohnung25.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung25.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "26":
- if arg 2 is a number:
- set {Wohnung26.Preissetzen.%player%} to false
- set {Wohnung26.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung26.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "27":
- if arg 2 is a number:
- set {Wohnung27.Preissetzen.%player%} to false
- set {Wohnung27.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung27.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "28":
- if arg 2 is a number:
- set {Wohnung28.Preissetzen.%player%} to false
- set {Wohnung28.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung28.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "29":
- if arg 2 is a number:
- set {Wohnung29.Preissetzen.%player%} to false
- set {Wohnung29.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung29.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "30":
- if arg 2 is a number:
- set {Wohnung30.Preissetzen.%player%} to false
- set {Wohnung30.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung30.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "31":
- if arg 2 is a number:
- set {Wohnung31.Preissetzen.%player%} to false
- set {Wohnung31.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung31.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "32":
- if arg 2 is a number:
- set {Wohnung32.Preissetzen.%player%} to false
- set {Wohnung32.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung32.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "33":
- if arg 2 is a number:
- set {Wohnung33.Preissetzen.%player%} to false
- set {Wohnung33.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung33.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "34":
- if arg 2 is a number:
- set {Wohnung34.Preissetzen.%player%} to false
- set {Wohnung34.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung34.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "35":
- if arg 2 is a number:
- set {Wohnung35.Preissetzen.%player%} to false
- set {Wohnung35.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung35.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "36":
- if arg 2 is a number:
- set {Wohnung36.Preissetzen.%player%} to false
- set {Wohnung36.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung36.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "37":
- if arg 2 is a number:
- set {Wohnung37.Preissetzen.%player%} to false
- set {Wohnung37.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung37.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "38":
- if arg 2 is a number:
- set {Wohnung38.Preissetzen.%player%} to false
- set {Wohnung38.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung38.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "39":
- if arg 2 is a number:
- set {Wohnung39.Preissetzen.%player%} to false
- set {Wohnung39.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung39.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "40":
- if arg 2 is a number:
- set {Wohnung40.Preissetzen.%player%} to false
- set {Wohnung40.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung40.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "41":
- if arg 2 is a number:
- set {Wohnung41.Preissetzen.%player%} to false
- set {Wohnung41.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung41.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "42":
- if arg 2 is a number:
- set {Wohnung42.Preissetzen.%player%} to false
- set {Wohnung42.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung42.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "43":
- if arg 2 is a number:
- set {Wohnung43.Preissetzen.%player%} to false
- set {Wohnung43.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung43.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "44":
- if arg 2 is a number:
- set {Wohnung44.Preissetzen.%player%} to false
- set {Wohnung44.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung44.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- if arg 1 is "45":
- if arg 2 is a number:
- set {Wohnung45.Preissetzen.%player%} to false
- set {Wohnung45.Wiederverkauf} to true
- send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
- send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung45.Wiederverkaufspreis}%." to player
- else:
- send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
- command /72137827942182hausverkaufabbruch [<Text>]:
- trigger:
- if {Wohnung%arg 1%.Besitzer} is "%player%":
- set {Wohnung%arg 1%.Wiederverkauf} to false
- send "&8[&6Wohnraum&8] &7Wohnungsverkauf abgebrochen!" to player
- command /14178932179832wiederkaufen [<Text>]:
- trigger:
- if {Wohnung%arg 1%.Wiederverkauf} is true:
- set {_Preis} to "%{Wohnung%arg 1%.Wiederverkaufspreis}%" parsed as integer
- set {Silberstücke.%player's uuid%} to "%{Silberstücke.%player's uuid%}%" parsed as integer
- if {Silberstücke.%player's uuid%} is greater than or equal to {_Preis}:
- execute player command "bezahlen %{Wohnung%arg 1%.Besitzer}% Silberstücke %{Wohnung%arg 1%.Wiederverkaufspreis}%"
- set {_ExBesitzer} to {Wohnung%arg 1%.Besitzer}
- send "&8[&6Wohnraum&8] &7Dein Wohnraum wurde gekauft!" to {_ExBesitzer}
- send "&8[&6Wohnraum&8] &7Du erhältst %{Wohnung%arg 1%.Wiederverkaufspreis}% Silberstücke." to {_ExBesitzer}
- set {Wohnung%arg 1%.Besitzer} to player
- send "&8[&6Wohnraum&8] &7Du hast erfolgreich diesen Wohnraum gekauft!" to player
- set {Wohnung%arg 1%.Wiederverkauf} to false
- else:
- send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld!" to player
- #
- #
- # SCHILD
- #
- #
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung1.1.sign}
- y-location of {_location} is {y.wohnung1.1.sign}
- z-location of {_location} is {z.wohnung1.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a1" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung1.Besitzer}%" to be unstealable
- if {wohnung1.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung1.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 1"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung1.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 1"]
- if {Wohnung1.Wiederverkauf} is true:
- if {wohnung1.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 1"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung1.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 1"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung2.1.sign}
- y-location of {_location} is {y.wohnung2.1.sign}
- z-location of {_location} is {z.wohnung2.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a2" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung2.Besitzer}%" to be unstealable
- if {wohnung2.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung2.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 2"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung2.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 2"]
- if {Wohnung2.Wiederverkauf} is true:
- if {wohnung2.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 2"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung2.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 2"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung3.1.sign}
- y-location of {_location} is {y.wohnung3.1.sign}
- z-location of {_location} is {z.wohnung3.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a3" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung3.Besitzer}%" to be unstealable
- if {wohnung3.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung3.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 3"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung3.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 3"]
- if {Wohnung3.Wiederverkauf} is true:
- if {wohnung3.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 3"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung3.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 3"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung4.1.sign}
- y-location of {_location} is {y.wohnung4.1.sign}
- z-location of {_location} is {z.wohnung4.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a4" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung4.Besitzer}%" to be unstealable
- if {wohnung4.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung4.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 4"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung4.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 4"]
- if {Wohnung4.Wiederverkauf} is true:
- if {wohnung4.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 4"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung4.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 4"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung5.1.sign}
- y-location of {_location} is {y.wohnung5.1.sign}
- z-location of {_location} is {z.wohnung5.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a5" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung5.Besitzer}%" to be unstealable
- if {wohnung5.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung5.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 5"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung5.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 5"]
- if {Wohnung5.Wiederverkauf} is true:
- if {wohnung5.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 5"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung5.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 5"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung6.1.sign}
- y-location of {_location} is {y.wohnung6.1.sign}
- z-location of {_location} is {z.wohnung6.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a6" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung6.Besitzer}%" to be unstealable
- if {wohnung6.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung6.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 6"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung6.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 6"]
- if {Wohnung6.Wiederverkauf} is true:
- if {wohnung6.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 6"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung6.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 6"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung7.1.sign}
- y-location of {_location} is {y.wohnung7.1.sign}
- z-location of {_location} is {z.wohnung7.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a7" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung7.Besitzer}%" to be unstealable
- if {wohnung7.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung7.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 7"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung7.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 7"]
- if {Wohnung7.Wiederverkauf} is true:
- if {wohnung7.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 7"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung7.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 7"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung8.1.sign}
- y-location of {_location} is {y.wohnung8.1.sign}
- z-location of {_location} is {z.wohnung8.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a8" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung8.Besitzer}%" to be unstealable
- if {wohnung8.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung8.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 8"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung8.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 8"]
- if {Wohnung8.Wiederverkauf} is true:
- if {wohnung8.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 8"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung8.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 8"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung9.1.sign}
- y-location of {_location} is {y.wohnung9.1.sign}
- z-location of {_location} is {z.wohnung9.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a9" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung9.Besitzer}%" to be unstealable
- if {wohnung9.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung9.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 9"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung9.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 9"]
- if {Wohnung9.Wiederverkauf} is true:
- if {wohnung9.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 9"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung9.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 9"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung10.1.sign}
- y-location of {_location} is {y.wohnung10.1.sign}
- z-location of {_location} is {z.wohnung10.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a10" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung10.Besitzer}%" to be unstealable
- if {wohnung10.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung10.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 10"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung10.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 10"]
- if {Wohnung10.Wiederverkauf} is true:
- if {wohnung10.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 10"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung10.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 10"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung11.1.sign}
- y-location of {_location} is {y.wohnung11.1.sign}
- z-location of {_location} is {z.wohnung11.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a11" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung11.Besitzer}%" to be unstealable
- if {wohnung11.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung11.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 11"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung11.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 11"]
- if {Wohnung11.Wiederverkauf} is true:
- if {wohnung11.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 11"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung11.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 11"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung12.1.sign}
- y-location of {_location} is {y.wohnung12.1.sign}
- z-location of {_location} is {z.wohnung12.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a12" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung12.Besitzer}%" to be unstealable
- if {wohnung12.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung12.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 12"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung12.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 12"]
- if {Wohnung12.Wiederverkauf} is true:
- if {wohnung12.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 12"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung12.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 12"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung13.1.sign}
- y-location of {_location} is {y.wohnung13.1.sign}
- z-location of {_location} is {z.wohnung13.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a13" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung13.Besitzer}%" to be unstealable
- if {wohnung13.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung13.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 13"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung13.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 13"]
- if {Wohnung13.Wiederverkauf} is true:
- if {wohnung13.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 13"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung13.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 13"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung14.1.sign}
- y-location of {_location} is {y.wohnung14.1.sign}
- z-location of {_location} is {z.wohnung14.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a14" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung14.Besitzer}%" to be unstealable
- if {wohnung14.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung14.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 14"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung14.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 14"]
- if {Wohnung14.Wiederverkauf} is true:
- if {wohnung14.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 14"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung14.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 14"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung15.1.sign}
- y-location of {_location} is {y.wohnung15.1.sign}
- z-location of {_location} is {z.wohnung15.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a15" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung15.Besitzer}%" to be unstealable
- if {wohnung15.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung15.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 15"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung15.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 15"]
- if {Wohnung15.Wiederverkauf} is true:
- if {wohnung15.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 15"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung15.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 15"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung16.1.sign}
- y-location of {_location} is {y.wohnung16.1.sign}
- z-location of {_location} is {z.wohnung16.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a16" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung16.Besitzer}%" to be unstealable
- if {wohnung16.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung16.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 16"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung16.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 16"]
- if {Wohnung16.Wiederverkauf} is true:
- if {wohnung15.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 16"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung16.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 16"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung17.1.sign}
- y-location of {_location} is {y.wohnung17.1.sign}
- z-location of {_location} is {z.wohnung17.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a17" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung17.Besitzer}%" to be unstealable
- if {wohnung17.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung17.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 17"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung17.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 17"]
- if {Wohnung17.Wiederverkauf} is true:
- if {wohnung17.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 17"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung17.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 17"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung18.1.sign}
- y-location of {_location} is {y.wohnung18.1.sign}
- z-location of {_location} is {z.wohnung18.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a18" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung18.Besitzer}%" to be unstealable
- if {wohnung18.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung18.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 18"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung18.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 18"]
- if {Wohnung18.Wiederverkauf} is true:
- if {wohnung18.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 18"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung15.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 18"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung19.1.sign}
- y-location of {_location} is {y.wohnung19.1.sign}
- z-location of {_location} is {z.wohnung19.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a19" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung19.Besitzer}%" to be unstealable
- if {wohnung19.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung19.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 19"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung19.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 19"]
- if {Wohnung19.Wiederverkauf} is true:
- if {wohnung19.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 19"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung19.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 19"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung20.1.sign}
- y-location of {_location} is {y.wohnung20.1.sign}
- z-location of {_location} is {z.wohnung20.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a20" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung20.Besitzer}%" to be unstealable
- if {wohnung20.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung20.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 20"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung20.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 20"]
- if {Wohnung20.Wiederverkauf} is true:
- if {wohnung20.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 20"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung20.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 20"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung21.1.sign}
- y-location of {_location} is {y.wohnung21.1.sign}
- z-location of {_location} is {z.wohnung21.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a21" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung21.Besitzer}%" to be unstealable
- if {wohnung21.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung21.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 21"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung21.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 21"]
- if {Wohnung21.Wiederverkauf} is true:
- if {wohnung21.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 21"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung21.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 21"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung22.1.sign}
- y-location of {_location} is {y.wohnung22.1.sign}
- z-location of {_location} is {z.wohnung22.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a22" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung22.Besitzer}%" to be unstealable
- if {wohnung22.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung22.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 22"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung22.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 22"]
- if {Wohnung22.Wiederverkauf} is true:
- if {wohnung22.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 22"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung22.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 22"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung23.1.sign}
- y-location of {_location} is {y.wohnung23.1.sign}
- z-location of {_location} is {z.wohnung23.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a23" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung23.Besitzer}%" to be unstealable
- if {wohnung23.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung23.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 23"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung23.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 23"]
- if {Wohnung23.Wiederverkauf} is true:
- if {wohnung23.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 23"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung23.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 23"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung24.1.sign}
- y-location of {_location} is {y.wohnung24.1.sign}
- z-location of {_location} is {z.wohnung24.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a24" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung24.Besitzer}%" to be unstealable
- if {wohnung24.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung24.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 24"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung24.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 24"]
- if {Wohnung24.Wiederverkauf} is true:
- if {wohnung24.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 24"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung24.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 24"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung25.1.sign}
- y-location of {_location} is {y.wohnung25.1.sign}
- z-location of {_location} is {z.wohnung25.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a25" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung25.Besitzer}%" to be unstealable
- if {wohnung25.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung25.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 25"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung25.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 25"]
- if {Wohnung25.Wiederverkauf} is true:
- if {wohnung25.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 25"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung25.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 25"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung26.1.sign}
- y-location of {_location} is {y.wohnung26.1.sign}
- z-location of {_location} is {z.wohnung26.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a26" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung26.Besitzer}%" to be unstealable
- if {wohnung26.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung26.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 26"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung26.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 26"]
- if {Wohnung26.Wiederverkauf} is true:
- if {wohnung26.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 26"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung26.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 26"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung27.1.sign}
- y-location of {_location} is {y.wohnung27.1.sign}
- z-location of {_location} is {z.wohnung27.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a27" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung27.Besitzer}%" to be unstealable
- if {wohnung27.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung27.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 27"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung27.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 27"]
- if {Wohnung27.Wiederverkauf} is true:
- if {wohnung27.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 27"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung27.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 27"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung28.1.sign}
- y-location of {_location} is {y.wohnung28.1.sign}
- z-location of {_location} is {z.wohnung28.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a28" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung28.Besitzer}%" to be unstealable
- if {wohnung28.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung28.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 28"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung28.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 28"]
- if {Wohnung28.Wiederverkauf} is true:
- if {wohnung28.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 28"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung28.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 28"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung29.1.sign}
- y-location of {_location} is {y.wohnung29.1.sign}
- z-location of {_location} is {z.wohnung29.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a29" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung29.Besitzer}%" to be unstealable
- if {wohnung29.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung29.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 29"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung29.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 29"]
- if {Wohnung29.Wiederverkauf} is true:
- if {wohnung29.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 29"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung29.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 29"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung30.1.sign}
- y-location of {_location} is {y.wohnung30.1.sign}
- z-location of {_location} is {z.wohnung30.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a30" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung30.Besitzer}%" to be unstealable
- if {wohnung30.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung30.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 30"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung30.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 30"]
- if {Wohnung30.Wiederverkauf} is true:
- if {wohnung30.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 30"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung30.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 30"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung31.1.sign}
- y-location of {_location} is {y.wohnung31.1.sign}
- z-location of {_location} is {z.wohnung31.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a31" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung31.Besitzer}%" to be unstealable
- if {wohnung31.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung31.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 31"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung31.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 31"]
- if {Wohnung31.Wiederverkauf} is true:
- if {wohnung31.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 31"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung31.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 31"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung32.1.sign}
- y-location of {_location} is {y.wohnung32.1.sign}
- z-location of {_location} is {z.wohnung32.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a32" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung32.Besitzer}%" to be unstealable
- if {wohnung32.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung32.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 32"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung32.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 32"]
- if {Wohnung32.Wiederverkauf} is true:
- if {wohnung32.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 32"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung32.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 32"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung33.1.sign}
- y-location of {_location} is {y.wohnung33.1.sign}
- z-location of {_location} is {z.wohnung33.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a33" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung33.Besitzer}%" to be unstealable
- if {wohnung33.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung33.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 33"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung33.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 33"]
- if {Wohnung33.Wiederverkauf} is true:
- if {wohnung33.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 33"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung33.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 33"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung34.1.sign}
- y-location of {_location} is {y.wohnung34.1.sign}
- z-location of {_location} is {z.wohnung34.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a34" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung34.Besitzer}%" to be unstealable
- if {wohnung34.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung34.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 34"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung34.Besitzer} is "%player%":
- format slot 6 of player with 322:0 named "&8» &7Freund hinzufügen!" to close then run [make player execute command "312098412addfriend 34"]
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung34.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 34"]
- if {Wohnung34.Wiederverkauf} is true:
- if {wohnung34.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 34"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung34.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 34"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung35.1.sign}
- y-location of {_location} is {y.wohnung35.1.sign}
- z-location of {_location} is {z.wohnung35.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a35" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung35.Besitzer}%" to be unstealable
- if {wohnung35.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung35.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 35"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung35.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 35"]
- if {Wohnung35.Wiederverkauf} is true:
- if {wohnung35.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 35"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung35.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 35"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung36.1.sign}
- y-location of {_location} is {y.wohnung36.1.sign}
- z-location of {_location} is {z.wohnung36.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a36" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung36.Besitzer}%" to be unstealable
- if {wohnung36.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung36.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 36"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung36.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 36"]
- if {Wohnung36.Wiederverkauf} is true:
- if {wohnung36.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 36"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung36.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 36"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung37.1.sign}
- y-location of {_location} is {y.wohnung37.1.sign}
- z-location of {_location} is {z.wohnung37.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a37" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung37.Besitzer}%" to be unstealable
- if {wohnung37.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung37.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 37"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung37.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 37"]
- if {Wohnung37.Wiederverkauf} is true:
- if {wohnung37.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 37"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung37.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 37"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung38.1.sign}
- y-location of {_location} is {y.wohnung38.1.sign}
- z-location of {_location} is {z.wohnung38.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a38" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung38.Besitzer}%" to be unstealable
- if {wohnung38.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung38.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 38"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung38.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 38"]
- if {Wohnung38.Wiederverkauf} is true:
- if {wohnung38.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 38"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung38.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 38"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung39.1.sign}
- y-location of {_location} is {y.wohnung39.1.sign}
- z-location of {_location} is {z.wohnung39.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a39" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung39.Besitzer}%" to be unstealable
- if {wohnung39.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung39.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 39"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung39.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 39"]
- if {Wohnung39.Wiederverkauf} is true:
- if {wohnung39.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 39"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung39.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 39"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung40.1.sign}
- y-location of {_location} is {y.wohnung40.1.sign}
- z-location of {_location} is {z.wohnung40.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a40" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung40.Besitzer}%" to be unstealable
- if {wohnung40.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung40.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 40"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung40.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 40"]
- if {Wohnung40.Wiederverkauf} is true:
- if {wohnung40.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 40"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung40.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 40"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung41.1.sign}
- y-location of {_location} is {y.wohnung41.1.sign}
- z-location of {_location} is {z.wohnung41.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a41" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung41.Besitzer}%" to be unstealable
- if {wohnung41.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung41.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 41"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung41.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 41"]
- if {Wohnung41.Wiederverkauf} is true:
- if {wohnung41.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 41"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung41.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 41"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung42.1.sign}
- y-location of {_location} is {y.wohnung42.1.sign}
- z-location of {_location} is {z.wohnung42.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a42" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung42.Besitzer}%" to be unstealable
- if {wohnung42.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung42.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 42"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung42.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 42"]
- if {Wohnung42.Wiederverkauf} is true:
- if {wohnung42.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 42"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung42.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 42"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung43.1.sign}
- y-location of {_location} is {y.wohnung43.1.sign}
- z-location of {_location} is {z.wohnung43.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a43" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung43.Besitzer}%" to be unstealable
- if {wohnung43.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung43.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 43"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung43.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 43"]
- if {Wohnung43.Wiederverkauf} is true:
- if {wohnung43.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 43"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung43.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 43"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung44.1.sign}
- y-location of {_location} is {y.wohnung44.1.sign}
- z-location of {_location} is {z.wohnung44.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a44" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung44.Besitzer}%" to be unstealable
- if {wohnung44.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung44.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 44"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung44.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 44"]
- if {Wohnung44.Wiederverkauf} is true:
- if {wohnung44.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 44"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung44.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 44"]
- on rightclick on sign:
- line 2 of event-block is "&8[&6Wohnraum&8]"
- set {_location} to location of event-block
- x-location of {_location} is {x.wohnung45.1.sign}
- y-location of {_location} is {y.wohnung45.1.sign}
- z-location of {_location} is {z.wohnung45.1.sign}
- open chest with 1 rows named "&8Wohnung" to player
- format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if player has permission "op":
- format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a45" to be unstealable
- format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung45.Besitzer}%" to be unstealable
- if {wohnung45.Besitzer} is "Unverkauft":
- format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung45.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 45"]
- format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
- if {wohnung45.Besitzer} is "%player%":
- format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 45"]
- if {Wohnung45.Wiederverkauf} is true:
- if {wohnung45.Besitzer} is "%player%":
- format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 45"]
- else:
- format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung45.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 45"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement