Zurück

Dev-Zentrale

Quellcodes kopieren & bewerten.

1. PlotSystem.sk

options:
    plot_world: Bauwelt
    plot_radius: 20

every 1 second:
    loop all players:
        if loop-player's world is "{@plot_world}":
            # Actionbar Logik...

2. Wachen.sk

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%"

3. Versicherung.sk

command /insure:
    trigger:
        set {_item} to player's tool
        set line 1 of lore of {_item} to "&a✔ Versichert"

4. Steuern.sk

at 6:00:
    loop all players:
        add 5 to loop-player's balance
        send "&aTägliche Steuereinnahmen erhalten!" to loop-player

5. Cords.sk

every 10 ticks:
    loop all players:
        set {_x} to floor(x-pos of loop-player)
        send action bar "&fX: %{_x}%" to loop-player

6. Navigation.sk

on right click:
    if player's held item is beacon:
        cancel event
        open chest with 3 rows named "Reiseziele" to player

7. MobileCrafting.sk

command /mc:
    trigger:
        if player has permission "bkh.mobilecraft":
            open crafting table to player