Ortaçağ RP Sunucusu için birkaç tane skript isteği

Apple_PieTR

Marangoz
Mesajlar
49
En iyi cevaplar
0
Beğeniler
9
Puanları
250
Merhaba. İstediğim en önemli skriptlerden birisi Sunucuya girilir girilmez bir GUI'nin açılması ve bu GUI'de "test1 kingdom" yanında "test2 kingdom" yanında da "test3 kingdom" adında 3 tane seçeneğin verilmesi ve bu seçeneklere tıklandığında belli bir koordinata ışınlanma.

Ve de bir sorum daha olacak vanilla minecraft'ta olan team parametresi gibi oyuncuları belli bir gruba sokup o gruplar sayesinde test edebilecek bir parametre var mı?
 


Darkkandadr

❌⚖❌ Everybody knows the good guys lost...
Emektar Üye
Mesajlar
483
En iyi cevaplar
0
Beğeniler
733
Puanları
960
Ruh hali
Kod:
on join:
    wait 1 tick
    open virtual chest with 1 rows named "&7Kingdom Select Menu" to player
    format a gui slot 3 of player with cyan stained glass pane named "&3test1 kingdom" with lore "&aClick to teleport test1 kingdom" to close then run console command "/kingdom teleport 1 %player%"
    format a gui slot 4 of player with cyan stained glass pane named "&3test2 kingdom" with lore "&aClick to teleport test2 kingdom" to close then run console command "/kingdom teleport 2 %player%"
    format a gui slot 5 of player with cyan stained glass pane named "&3test3 kingdom" with lore "&aClick to teleport test3 kingdom" to close then run console command "/kingdom teleport 3 %player%"
    #0 1 2 3 4 5 6 7 8
    #      - - -
command /kingdom [<text>] [<text>] [<player>]:
    permission: kingdom.op
    trigger:
        if arg-1 is "teleport":
            if arg-2 is set:
                if arg-3 is set:
                    teleport arg-3 to {kingdom::%arg-2%::loc}
        if arg-1 is "set":
            if arg-2 is "1":
                set {kingdom::1::loc} to player's location
                send "&a."
            if arg-2 is "2":
                set {kingdom::2::loc} to player's location
                send "&a."
            if arg-2 is "3":
                set {kingdom::3::loc} to player's location
                send "&a."

/kingdom set 1
/kingdom set 2
/kingdom set 3
Şeklinde ışınlanılacak yeri ayarlıyorsun.
 

Üst