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 Preissetting 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 /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
- 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
- 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
- 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
- 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
- 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:
- if arg 1 is "1":
- set {_Preis} to "%{wohnung1.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung1.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "2":
- set {_Preis} to "%{wohnung2.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung2.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "3":
- set {_Preis} to "%{wohnung3.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung3.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "4":
- set {_Preis} to "%{wohnung4.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung4.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "5":
- set {_Preis} to "%{wohnung5.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung5.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "6":
- set {_Preis} to "%{wohnung6.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung6.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "7":
- set {_Preis} to "%{wohnung7.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung7.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "8":
- set {_Preis} to "%{wohnung8.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung8.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "9":
- set {_Preis} to "%{wohnung9.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung9.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "10":
- set {_Preis} to "%{wohnung10.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung10.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "11":
- set {_Preis} to "%{wohnung11.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung11.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "12":
- set {_Preis} to "%{wohnung12.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung12.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "13":
- set {_Preis} to "%{wohnung13.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung13.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "14":
- set {_Preis} to "%{wohnung14.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung14.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "15":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung15.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "16":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung16.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "17":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung17.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "18":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung18.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "19":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung19.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "20":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung20.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "21":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung21.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "22":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung22.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "23":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung23.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "24":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung24.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "24":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung24.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "25":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung25.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "26":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung26.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "27":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung27.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "28":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung28.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "29":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung29.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "30":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung30.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "31":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung31.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "32":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung32.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "33":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung33.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "34":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung34.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "35":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung35.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "36":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung36.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "37":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung37.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "38":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung38.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "39":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung39.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "40":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung40.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "41":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung41.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "42":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung42.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "43":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung43.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "44":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung44.Besitzer} to "%player%"
- else:
- send "Nicht genug Geld." to player
- if arg 1 is "45":
- set {_Preis} to "%{wohnung15.Preis}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- remove {_Preis} from {Silberstücke.%player's uuid%}
- send "Wohnungspreis bezahlt." to player
- set {wohnung45.Besitzer} to "%player%"
- else:
- send "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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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.Preissetting.%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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{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 1 %{Wohnung15.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
- 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}%"
- if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
- 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"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement