Quellcodes kopieren & bewerten.
options:
plot_world: Bauwelt
plot_radius: 20
every 1 second:
loop all players:
if loop-player's world is "{@plot_world}":
# Actionbar Logik...
on right click on a villager:
if player has 5 emeralds:
set {guard::%uuid of target%::owner} to player
set name of target to "&6Wache von %player%"
command /insure:
trigger:
set {_item} to player's tool
set line 1 of lore of {_item} to "&a✔ Versichert"
at 6:00:
loop all players:
add 5 to loop-player's balance
send "&aTägliche Steuereinnahmen erhalten!" to loop-player
every 10 ticks:
loop all players:
set {_x} to floor(x-pos of loop-player)
send action bar "&fX: %{_x}%" to loop-player
on right click:
if player's held item is beacon:
cancel event
open chest with 3 rows named "Reiseziele" to player
command /mc:
trigger:
if player has permission "bkh.mobilecraft":
open crafting table to player