Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Szukam skryptu na działki/cuboidy.


SmoGem28

Rekomendowane odpowiedzi

Opublikowano

Witam, poszukuje skryptu na cuboidy/dzialki. Po wpisaniu komendy /cub utworz tworzy sie cuboid na 20 kratek, ale przy tym zabiera graczowi 64 blokow diamentow. Najlepiej aby blisko spawnu nie mogl robic, tylko gdzies 200 kratek od spawna. Z góry dziekuję

Opublikowano

Ja polecam plugin PlotMe do takich rzeczy, możesz zrobić sk że po wpisaniu /dzialka jeżeli będzie miał diamenty to mu je zabierze i da działke 20x20 jeżeli nie będzie ich miał to wyświetli komunikat że są potrzebne ;)

Darmowe kody na 20% zniżki (WWW, VPS and MC) na lvlup.pro

Szczegóły discord: xVendrome#6074 / PW

Opublikowano

@2up i @1361622928-U485574.pngVendrome kolega chce skrypt nie plugin plugin plotme daje wszedzie dzialki... caly swiat, a worldedit i worldguard? Co ma udostępnić je graczą, żeby sobie robili działki, a przy okazji niszczyli serwer? Nie logiczne :)

Znalazłem takie coś w necie:
1.

 

 

#========================#
# Nazwa Skryptu: TerenZ  #
# Autor: Thorus          #
# Version: 1.0           #
#========================#
 
options:
 
    tag: &1&l[&6Teren&4Z&1&l]
 
    teren: 30 # Wielkosc terenu w tym przypadku to bedzie 30x30
 
command /teren [<text>] [<text>]:
        trigger:
                if arg 1 is not set:
                        send "&a======== &7[&6Teren&4Z&7] &a======="
                        send "&e/teren info &6Pokazuje informacje o twoim terenie"
                        send "&e/teren stworz &6Zakladasz teren"
                        send "&e/teren usun &6Usuwasz teren"
                        send "&e/teren dodaj <nick> &6Dodaje gracza do terenu"
                        send "&e/teren wyrzuc <nick> &6Wyrzuca gracza z terenu"
                        send "&e/teren flagi &6Lista dostepnych flag"
                        send "&a======== &7[&6Teren&4Z&7] &a======="
                        stop
                if arg 1 is "stworz":
                        send "{@tag} &3Trwa zakladanie terenu !"
                        make console execute command "pex user %player% add worldguard.*"
                        make console execute command "pex user %player% add worldedit.*"
                        execute player command "//pos1"
                        execute player command "//pos2"        
                        execute player command "//expand {@teren} n"
                        execute player command "//expand {@teren} e"
                        execute player command "//expand {@teren} s"
                        execute player command "//expand {@teren} w"
                        execute player command "//expand vert"
                        execute player command "rg define %player%"
                        execute player command "rg flag %player% greeting &cWchodzisz na teren gracza %player%"
                        execute player command "rg flag %player% farewell &aOpuszczasz teren gracza %player%"
                        execute player command "rg flag %player% creeper-explosion deny"
                        execute player command "rg flag %player% mob-damage deny"
                        execute player command "rg flag %player% mob-spawning deny"
                        execute player command "rg flag %player% pvp deny"
                        execute player command "/rg addowner %player% %player%"
                        execute player command "//pos1"
                        execute player command "//pos2"
                        make console execute command "pex user %player% remove worldguard.*"
                        make console execute command "pex user %player% remove worldedit.*"
                        send "{@tag} &3Teren zostal zalozony !"
                        make console execute command "pex user %player% add teren.lider"
                        stop
                if arg 1 is "usun":
                        if player has permission "teren.lider":
                                make console execute command "rg remove -w %world of player% %player%"
                                send "{@tag} &3Teren zostal usuniety !"
                                stop
                if arg 1 is "dodaj":
                        if player has permissions "teren.lider":
                                if arg 2 is not empty:
                                        make console execute command "rg addmember -w %world of player% %name of player% %arg 2%"
                                        wait 1 tick
                                        send "{@tag} &3Gracz &c%arg 2% &3zostal dodany do twojego terenu !"
                                        stop
                if arg 1 is "wyrzuc":
                        if player has permissions "teren.lider":
                                if arg 2 is not empty:
                                        make console execute command "rg removemember -w %player% %name of player% %arg 2%"
                                        wait 1 tick
                                        send "{@tag} &3Gracz &c%arg 2% &3zostal wyrzucony z twojego terenu !"
                                        stop
                if arg 1 is "info":
                        if player has permission "teren.gracz":
                                make console execute command "pex user %player% add worldguard.*"
                                execute player command "/rg info %player%"
                                make console execute command "pex user %player% remove worldguard.*"
                                stop
                if arg 1 is "flagi":
                        send "&e/teren spawnmob &cwlacz&e/&cwylacz &7- &6Spawnowanie potworow"
                        send "&e/teren damagemob &cwlacz&e/&cwylacz &7- &6Obrazenia od potworow"
                        send "&e/teren pvp &cwlacz&e/&cwylacz &7- &6PVP na twoim terenie"
                        send "&e/teren tnt &cwlacz&e/&cwylacz &7- &6Szkody przez TNT"
                        send "&e/teren skrzynie &cwlacz&e/&cwylacz &7- &6Otwieranie skrzynek przez innych graczy"
                        send "&e/teren ogien &cwlacz&e/&cwylacz &7- &6Podpalanie na twoim terenie"
                        send "&e/teren lava &cwlacz&e/&cwylacz &7- &6Obrazenia po wpadnieciu do lavy"
                        stop
                if arg 1 is "spawnmob":
                        if player has permission "teren.lider":
                                if arg 2 is "wlacz":
                                        make console execute command "rg flag -w %world of player% %player% mob-spawning allow"
                                        send "{@tag} &3Spawnowanie mobow zostalo wlaczone !"
                                        stop
                if arg 1 is "spawnmob":
                        if player has permission "teren.lider":
                                if arg 2 is "wylacz":
                                        make console execute command "rg flag -w %world of player% %player% mob-spawning deny"
                                        send "{@tag} &3Spawnowanie mobow zostalo wylaczone !"
                                        stop
                if arg 1 is "damagemob":
                        if player has permission "teren.lider":
                                if arg 2 is "wlacz":
                                        make console execute command "rg flag -w %world of player% %player% mob-damage allow"
                                        send "{@tag} &3Spawnowanie mobow zostalo wlaczone !"
                                        stop
                if arg 1 is "damagemob":
                        if player has permission "teren.lider":
                                if arg 2 is "wylacz":
                                        make console execute command "rg flag -w %world of player% %player% mob-damage deny"
                                        send "{@tag} &3Spawnowanie mobow zostalo wylaczone !"
                                        stop
                if arg 1 is "pvp":
                        if player has permission "teren.lider":
                                if arg 2 is "wlacz":
                                        make console execute command "rg flag -w %world of player% %player% pvp allow"
                                        send "{@tag} &3PVP na twoim terenie zostalo wlaczone !"
                                        stop
                if arg 1 is "pvp":
                        if player has permission "teren.lider":
                                if arg 2 is "wylacz":
                                        make console execute command "rg flag -w %world of player% %player% pvp deny"
                                        send "{@tag} &3PVP na twoim terenie zostalo wylaczone !"
                                        stop
                if arg 1 is "tnt":
                        if player has permission "teren.lider":
                                if arg 2 is "wlacz":
                                        make console execute command "rg flag -w %world of player% %player% other-explosion allow"
                                        send "{@tag} &3Szkody poprzez TNT zostaly wlaczone !"
                                        stop
                if arg 1 is "tnt":
                        if player has permission "teren.lider":
                                if arg 2 is "wylacz":
                                        make console execute command "rg flag -w %world of player% %player% other-explosion deny"
                                        send "{@tag} &3Szkody poprzez TNT zostaly wylaczone !"
                                        stop
                if arg 1 is "skrzynie":
                        if player has permission "teren.lider":
                                if arg 2 is "wlacz":
                                        make console execute command "rg flag -w %world of player% %player% chest-access allow"
                                        send "{@tag} &3Dostep do skrzynek dla innych graczy zostal wlaczone !"
                                        stop
                if arg 1 is "skrzynie":
                        if player has permission "teren.lider":
                                if arg 2 is "wylacz":
                                        make console execute command "rg flag -w %world of player% %player% chest-access deny"
                                        send "{@tag} &3Dostep do skrzynek dla innych graczy zostal wylaczone !"
                                        stop
                if arg 1 is "ogien":
                        if player has permission "teren.lider":
                                if arg 2 is "wlacz":
                                        make console execute command "rg flag -w %world of player% %player% lighter allow"
                                        send "{@tag} &3Podpalanie na twoim terenie zostalo wlaczone !"
                                        stop
                if arg 1 is "ogien":
                        if player has permission "teren.lider":
                                if arg 2 is "wylacz":
                                        make console execute command "rg flag -w %world of player% %player% lighter deny"
                                        send "{@tag} &3Podpalanie na twoim terenie zostalo wylaczone !"
                                        stop
                if arg 1 is "lava":
                        if player has permission "teren.lider":
                                if arg 2 is "wlacz":
                                        make console execute command "rg flag -w %world of player% %player% lava-fire allow"
                                        send "{@tag} &3Obrazenia po wpadnieciu do lavy zostaly wlaczone !"
                                        stop
                if arg 1 is "lava":
                        if player has permission "teren.lider":
                                if arg 2 is "wylacz":
                                        make console execute command "rg flag -w %world of player% %player% lava-fire deny"
                                        send "{@tag} &3Obrazenia po wpadnieciu do lavy zostaly wylaczone !"
                                        stop

 


2.

 

	

    options:
    #--------------------------> Start Konfiguracji <-----------------------------#
    # +-----------------------------------------------+ #
    #                Ustawienia generalne               #
    # +-----------------------------------------------+ #
            # Na którym świecie mają działać działki:
            world: world
           
            # Tag skryptu:
            tag: &4&lDZIALKA &8&l>
    # +-----------------------------------------------+ #
    #                               Ustawienia platnosci                            #
    # +-----------------------------------------------+ #
     
            # Płatność itemami (true/false):
            payitem: true
     
            # Przedmioty do stworzenia cuba (ilosc item/none):
            payitem.slot.1: 15 diamond
            payitem.slot.2: 10 gold ingot
            payitem.slot.3: 3 ender pearl
            payitem.slot.4: 3 obsidian
            payitem.slot.5: 5 iron ingot
           
    # +-----------------------------------------------+ #
    #                                Ustawienia Dzialki                             #
    # +-----------------------------------------------+ #
     
            # Odleglosc od spawnu, gdzie mozna juz stawiac dzialki:
            spawn.distance: 300
           
            # Wielkosc dzialki (promien):
            dzialka.size: 15
     
            # Wielkosc dzialki VIP (promien):
            dzialka.size.vip: 35
           
            # Mozliwosc dodania osob do dzialki:
            dzialka.dodaj: true
           
            # Wylaczenie pvp na dzialce:
            dzialka.pvp: true
     
            # Wiadomosc po wejsciu na teren:
            dzialka.greeting: true
     
            # Wiadomosc po wyjsciu z terenu:
            dzialka.farewell: true
     
    #--------------------------> Koniec Konfiguracji <-----------------------------#
     
    variables:
            {dzialka.%player%.ilosc} = 0
     
           
    command /dzialka [<text>] [<text>]:
            trigger:
                    if arg 1 is not set:
                            if player has permissions "dzialka.gracz" or "dzialka.admin" or "dzialka.*":
                                    send "&2&m-------------------------------------------------"
                                    send " &6» /dzialka info &7- informacje o AutoDzialce"
                                    send " &6» /dzialka stworz &7- tworzy dzialke"
                                    send " &6» /dzialka usun &7- usuwa dzialke"
                                    send " &6» /dzialka dodaj <nick> &7- dodaje wspollokatora"
                                    send " &6» /dzialka wyrzuc <nick> &7- usun wspollokatora"
                                    send "&2&m-------------------------------------------------"
                                    stop
                            else:
                                    send "{@tag} &cNie masz uprawnien do uzywania tej komendy!"
                                    stop
                    if arg 1 is "info":
                            if player has permissions "dzialka.gracz" or "dzialka.admin" or "dzialka.*":
                                    send "&2&m-------------------------------------------------"
                                    send "&6* &cRozmiary dzialki:"
                                    send "&6* &7Gracz: &c30x30"
                                    send "&6* &aVIP: &c70x70"
                                    send "&6* &cItemy potrzebne do zalozenia wlasnej dzialki:"
                                    send "   &7{@payitem.slot.1}, {@payitem.slot.2}, {@payitem.slot.3}, {@payitem.slot.4}, {@payitem.slot.5}"
                                    send "&2&m-------------------------------------------------"
                                    stop
                            else:
                                    send "{@tag} &cNie masz uprawnien do uzywania tej komendy!"
                                    stop
                    if arg 1 is "setspawn":
                            if player has permissions "dzialka.admin" or "dzialka.*":
                                    if player's world is "{@world}":
                                            set {dzialka.spawn.%world%} to location of player
                                            send "{@tag} Ustawiono punkt spawnu!"
                                            stop
                                    else:
                                            send "{@tag} &cAby ustawic spawn musisz byc na swiecie glownym!"
                            else:
                                    send "{@tag} &cNie masz uprawnien do uzywania tej komendy!"
                                    stop
                    if arg 1 is "stworz":
                            if player has permissions "dzialka.gracz" or "dzialka.admin" or "dzialka.*":
                                    if player's world is "{@world}":
                                            if {dzialka.%player%.ilosc} is 0:
                                                    if player doesn't have the permissions "dzialka.vip":
                                                            if {@payitem} is true:
                                                                    if player has {@payitem.slot.1}:
                                                                            if player has {@payitem.slot.2}:
                                                                                    if player has {@payitem.slot.3}:
                                                                                            if player has {@payitem.slot.4}:
                                                                                                    if player has {@payitem.slot.5}:
                                                                                                            if {dzialka.spawn.%world%} is set:
                                                                                                                    if distance between {dzialka.spawn.%world%} and location of player is greater than {@spawn.distance}+{claim.size}/2:
                                                                                                                            player cannot build at block under player:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren pod Toba jest juz zabezpieczony"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size} meters northwest:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnocny-zachod stad jest juz zabezpieczony"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size} meters north:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnoc stad jest juz zabezpieczony"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size} meters northeast:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnocny-wschod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size} meters west:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na zachod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size} meters east:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na wschod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size} meters southwest:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludniowy-zachod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size} meters south:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludnie stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size} meters southeast:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludniowy-wschod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            send "{@tag} &8- &aTworzenie ..."
                                                                                                                            apply slowness 100 to the player for 3 seconds
                                                                                                                            make console execute command "pex user %name of player% add worldguard.*"
                                                                                                                            make console execute command "pex user %name of player% add worldedit.*"
                                                                                                                            wait 1 tick
                                                                                                                            make player execute command "//pos1"
                                                                                                                            make player execute command "//pos2"
                                                                                                                            wait 1 tick
                                                                                                                            make player execute command "//expand {@dzialka.size} n"
                                                                                                                            make player execute command "//expand {@dzialka.size} s"
                                                                                                                            make player execute command "//expand {@dzialka.size} w"
                                                                                                                            make player execute command "//expand {@dzialka.size} e"
                                                                                                                            make player execute command "//expand vert"
                                                                                                                            wait 1 tick
                                                                                                                            make player execute command "/rg define %name of player%"
                                                                                                                            wait 1 tick
                                                                                                                            make console execute command "pex user %name of player% remove worldguard.*"
                                                                                                                            make console execute command "pex user %name of player% remove worldedit.*"
                                                                                                                            make console execute command "rg addowner -w %world of player% %name of player% %name of player%"
                                                                                                                            make console execute command "rg setpriority -w %world of player% %name of player% 1"
                                                                                                                            if {@dzialka.pvp} is true:
                                                                                                                                    make console execute command "rg flag -w %world of player% %name of player% pvp deny"
                                                                                                                            if {@dzialka.greeting} is true:
                                                                                                                                    make console execute command "rg flag -w %world of player% %name of player% greeting &8[&6AutoDzialka&8] &7Obecny teren nalezy do: &2%name of player%'a"
                                                                                                                            if {@dzialka.farewell} is true:
                                                                                                                                    make console execute command "rg flag -w %world of player% %name of player% farewell &8[&6AutoDzialka&8] &7Opuszczono teren nalezacy do: &2%name of player%'a"
                                                                                                                            send "{@tag} &8-&a Otrzymano teren!"
                                                                                                                            set {dzialka.%player%.ilosc} to 1
                                                                                                                            remove {@payitem.slot.1} from player
                                                                                                                            remove {@payitem.slot.2} from player
                                                                                                                            remove {@payitem.slot.3} from player
                                                                                                                            remove {@payitem.slot.4} from player
                                                                                                                            remove {@payitem.slot.5} from player
                                                                                                                    else:
                                                                                                                            send "{@tag} &cJestes zbyt blisko spawnu!"
                                                                                                                            stop
                                                                                                            else:
                                                                                                                    send "{@tag} &cBlad! &8-&7 Nie ustawiono punktu spawnu!"
                                                                                                                    stop
                                                                                                    else:
                                                                                                            send "{@tag} &cBrakuje: &7{@payitem.slot.5}"
                                                                                                            stop
                                                                                            else:
                                                                                                    send "{@tag} &cBrakuje: &7{@payitem.slot.4}"
                                                                                                    stop
                                                                                    else:
                                                                                            send "{@tag} &cBrakuje: &7{@payitem.slot.3}"
                                                                                            stop
                                                                            else:
                                                                                    send "{@tag} &cBrakuje: &7{@payitem.slot.2}"
                                                                                    stop
                                                                    else:
                                                                            send "{@tag} &cBrakuje: &7{@payitem.slot.1}"
                                                                            stop
                                                            else:
                                                                    if {dzialka.spawn.%world%} is set:
                                                                            if distance between {dzialka.spawn.%world%} and location of player is greater than {@spawn.distance}+{claim.size}/2:
                                                                                    player cannot build at block under player:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren pod Toba jest juz zabezpieczony"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size} meters northwest:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnocny-zachod stad jest juz zabezpieczony"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size} meters north:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnoc stad jest juz zabezpieczony"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size} meters northeast:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnocny-wschod stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size} meters west:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na zachod stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size} meters east:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na wschod stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size} meters southwest:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludniowy-zachod stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size} meters south:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludnie stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size} meters southeast:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludniowy-wschod stad jest juz zajety"
                                                                                            stop
                                                                                    send "{@tag} &8- &aTworzenie ..."
                                                                                    apply slowness 100 to the player for 3 seconds
                                                                                    make console execute command "pex user %name of player% add worldguard.*"
                                                                                    make console execute command "pex user %name of player% add worldedit.*"
                                                                                    wait 1 tick
                                                                                    make player execute command "//pos1"
                                                                                    make player execute command "//pos2"
                                                                                    wait 1 tick
                                                                                    make player execute command "//expand {@dzialka.size} n"
                                                                                    make player execute command "//expand {@dzialka.size} s"
                                                                                    make player execute command "//expand {@dzialka.size} w"
                                                                                    make player execute command "//expand {@dzialka.size} e"
                                                                                    make player execute command "//expand vert"
                                                                                    wait 1 tick
                                                                                    make player execute command "/rg define %name of player%"
                                                                                    wait 1 tick
                                                                                    make console execute command "pex user %name of player% remove worldguard.*"
                                                                                    make console execute command "pex user %name of player% remove worldedit.*"
                                                                                    make console execute command "rg addowner -w %world of player% %name of player% %name of player%"
                                                                                    make console execute command "rg setpriority -w %world of player% %name of player% 1"
                                                                                    if {@dzialka.pvp} is true:
                                                                                            make console execute command "rg flag -w %world of player% %name of player% pvp deny"
                                                                                    if {@dzialka.greeting} is true:
                                                                                            make console execute command "rg flag -w %world of player% %name of player% greeting &8[&6AutoDzialka&8] &7Obecny teren nalezy do: &2%name of player%'a"
                                                                                    if {@dzialka.farewell} is true:
                                                                                            make console execute command "rg flag -w %world of player% %name of player% farewell &8[&6AutoDzialka&8] &7Opuszczono teren nalezacy do: &2%name of player%a'a"
                                                                                    send "{@tag} &8-&a Otrzymano teren!"
                                                                                    set {dzialka.%player%.ilosc} to 1
                                                                            else:
                                                                                    send "{@tag} &cJestes zbyt blisko spawnu!"
                                                                                    stop
                                                                    else:
                                                                            send "{@tag} &cBlad! &8-&7 Nie ustawiono punktu spawnu!"
                                                                            stop
                                                    else:
                                                            if {@payitem} is true:
                                                                    if player has {@payitem.slot.1}:
                                                                            if player has {@payitem.slot.2}:
                                                                                    if player has {@payitem.slot.3}:
                                                                                            if player has {@payitem.slot.4}:
                                                                                                    if player has {@payitem.slot.5}:
                                                                                                            if {dzialka.spawn.%world%} is set:
                                                                                                                    if distance between {dzialka.spawn.%world%} and location of player is greater than {@spawn.distance}+{claim.size}/2:
                                                                                                                            player cannot build at block under player:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren pod Toba jest juz zabezpieczony"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size.vip} meters northwest:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnocny-zachod stad jest juz zabezpieczony"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size.vip} meters north:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnoc stad jest juz zabezpieczony"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size.vip} meters northeast:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnocny-wschod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size.vip} meters west:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na zachod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size.vip} meters east:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na wschod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {@dzialka.size.vip} meters southwest:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludniowy-zachod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {dzialka.size.vip} meters south:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludnie stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            player cannot build at block {dzialka.size.vip} meters southeast:
                                                                                                                                    send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludniowy-wschod stad jest juz zajety"
                                                                                                                                    stop
                                                                                                                            send "{@tag} &8- &aTworzenie ..."
                                                                                                                            apply slowness 100 to the player for 3 seconds
                                                                                                                            make console execute command "pex user %name of player% add worldguard.*"
                                                                                                                            make console execute command "pex user %name of player% add worldedit.*"
                                                                                                                            wait 1 tick
                                                                                                                            make player execute command "//pos1"
                                                                                                                            make player execute command "//pos2"
                                                                                                                            wait 1 tick
                                                                                                                            make player execute command "//expand {@dzialka.size.vip} n"
                                                                                                                            make player execute command "//expand {@dzialka.size.vip} s"
                                                                                                                            make player execute command "//expand {@dzialka.size.vip} w"
                                                                                                                            make player execute command "//expand {@dzialka.size.vip} e"
                                                                                                                            make player execute command "//expand vert"
                                                                                                                            wait 1 tick
                                                                                                                            make player execute command "/rg define %name of player%"
                                                                                                                            wait 1 tick
                                                                                                                            make console execute command "pex user %name of player% remove worldguard.*"
                                                                                                                            make console execute command "pex user %name of player% remove worldedit.*"
                                                                                                                            make console execute command "rg addowner -w %world of player% %name of player% %name of player%"
                                                                                                                            make console execute command "rg setpriority -w %world of player% %name of player% 1"
                                                                                                                            if {@dzialka.pvp} is true:
                                                                                                                                    make console execute command "rg flag -w %world of player% %name of player% pvp deny"
                                                                                                                            if {@dzialka.greeting} is true:
                                                                                                                                    make console execute command "rg flag -w %world of player% %name of player% greeting &8[&6AutoDzialka&8] &7Obecny teren nalezy do: &2%name of player%'a"
                                                                                                                            if {@dzialka.farewell} is true:
                                                                                                                                    make console execute command "rg flag -w %world of player% %name of player% farewell &8[&6AutoDzialka&8] &7Opuszczono teren nalezacy do: &2%name of player%'a"
                                                                                                                            send "{@tag} &8-&a Otrzymano teren!"
                                                                                                                            set {dzialka.%player%.ilosc} to 1
                                                                                                                            remove {@payitem.slot.1} from player
                                                                                                                            remove {@payitem.slot.2} from player
                                                                                                                            remove {@payitem.slot.3} from player
                                                                                                                            remove {@payitem.slot.4} from player
                                                                                                                            remove {@payitem.slot.5} from player
                                                                                                                    else:
                                                                                                                            send "{@tag} &cJestes zbyt blisko spawnu!"
                                                                                                                            stop
                                                                                                            else:
                                                                                                                    send "{@tag} &cBlad! &8-&7 Nie ustawiono punktu spawnu!"
                                                                                                                    stop
                                                                                                    else:
                                                                                                            send "{@tag} &cBrakuje: &7{@payitem.slot.5}"
                                                                                                            stop
                                                                                            else:
                                                                                                    send "{@tag} &cBrakuje: &7{@payitem.slot.4}"
                                                                                                    stop
                                                                                    else:
                                                                                            send "{@tag} &cBrakuje: &7{@payitem.slot.3}"
                                                                                            stop
                                                                            else:
                                                                                    send "{@tag} &cBrakuje: &7{@payitem.slot.2}"
                                                                                    stop
                                                                    else:
                                                                            send "{@tag} &cBrakuje: &7{@payitem.slot.1}"
                                                                            stop
                                                            else:
                                                                    if {dzialka.spawn.%world%} is set:
                                                                            if distance between {dzialka.spawn.%world%} and location of player is greater than {@spawn.distance}+{claim.size}/2:
                                                                                    player cannot build at block under player:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren pod Toba jest juz zabezpieczony"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size.vip} meters northwest:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnocny-zachod stad jest juz zabezpieczony"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size.vip} meters north:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnoc stad jest juz zabezpieczony"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size.vip} meters northeast:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na polnocny-wschod stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size.vip} meters west:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na zachod stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size.vip} meters east:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na wschod stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size.vip} meters southwest:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludniowy-zachod stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size.vip} meters south:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludnie stad jest juz zajety"
                                                                                            stop
                                                                                    player cannot build at block {@dzialka.size.vip} meters southeast:
                                                                                            send "{@tag} &cNie mozna tutaj stworzyc dzialki! Teren na poludniowy-wschod stad jest juz zajety"
                                                                                            stop
                                                                                    send "{@tag} &8- &aTworzenie ..."
                                                                                    apply slowness 100 to the player for 3 seconds
                                                                                    make console execute command "pex user %name of player% add worldguard.*"
                                                                                    make console execute command "pex user %name of player% add worldedit.*"
                                                                                    wait 1 tick
                                                                                    make player execute command "//pos1"
                                                                                    make player execute command "//pos2"
                                                                                    wait 1 tick
                                                                                    make player execute command "//expand {@dzialka.size.vip} n"
                                                                                    make player execute command "//expand {@dzialka.size.vip} s"
                                                                                    make player execute command "//expand {@dzialka.size.vip} w"
                                                                                    make player execute command "//expand {@dzialka.size.vip} e"
                                                                                    make player execute command "//expand vert"
                                                                                    wait 1 tick
                                                                                    make player execute command "/rg define %name of player%"
                                                                                    wait 1 tick
                                                                                    make console execute command "pex user %name of player% remove worldguard.*"
                                                                                    make console execute command "pex user %name of player% remove worldedit.*"
                                                                                    make console execute command "rg addowner -w %world of player% %name of player% %name of player%"
                                                                                    make console execute command "rg setpriority -w %world of player% %name of player% 1"
                                                                                    if {@dzialka.pvp} is true:
                                                                                            make console execute command "rg flag -w %world of player% %name of player% pvp deny"
                                                                                    if {@dzialka.greeting} is true:
                                                                                            make console execute command "rg flag -w %world of player% %name of player% greeting &8[&6AutoDzialka&8] &7Obecny teren nalezy do: &2%name of player%'a"
                                                                                    if {@dzialka.farewell} is true:
                                                                                            make console execute command "rg flag -w %world of player% %name of player% farewell &8[&6AutoDzialka&8] &7Opuszczono teren nalezacy do: &2%name of player%a'a"
                                                                                    send "{@tag} &8-&a Otrzymano teren!"
                                                                                    set {dzialka.%player%.ilosc} to 1
                                                                            else:
                                                                                    send "{@tag} &cJestes zbyt blisko spawnu!"
                                                                                    stop
                                                                    else:
                                                                            send "{@tag} &cBlad! &8-&7 Nie ustawiono punktu spawnu!"
                                                                            stop
                                            else:
                                                    send "{@tag} &cMozesz posiadac tylko 1 dzialke!"
                                                    stop
                                    else:
                                            send "{@tag} &cDzialki mozna tworzyc tylko na swiecie glownym!"
                                            stop
                            else:
                                    send "{@tag} &cNie masz uprawnien do uzywania tej komendy!"
                                    stop
                    if arg 1 is "usun":
                            if player has permissions "dzialka.gracz" or "dzialka.admin" or "dzialka.*":
                                    if player's world is "{@world}":
                                            if {dzialka.%player%.ilosc} is 1:
                                                    make console execute command "rg remove -w %world of player% %name of player%"
                                                    wait 1 tick
                                                    set {dzialka.%player%.ilosc} to 0
                                                    send "{@tag} &8-&a Usunieto dzialke!"
                                                    stop
                                            else:
                                                    send "{@tag} &cAby usunac dzialke wpierw musisz ja posiadac!"
                                                    stop
                                    else:
                                            send "{@tag} &cAby usunac dzialke musisz byc na swiecie glownym!"
                                            stop
                            else:
                                    send "{@tag} &cNie masz uprawnien do uzywania tej komendy!"
                                    stop
                    if arg 1 is "ausun":
                            if player has permissions "dzialka.admin" or "dzialka.*":
                                    if player's world is "{@world}":
                                            if arg 2 is not empty:
                                                    if {dzialka.%arg 2%.ilosc} is 1:
                                                            make console execute command "rg remove -w %world of player% %arg 2%"
                                                            wait 1 tick
                                                            set {dzialka.%arg 2%.ilosc} to 0
                                                            send "{@tag} &cDzialka &a%arg 2%'a &czostala usunieta!"
                                                            stop
                                                    else:
                                                            send "{@tag} &cTen gracz nieposiada dzialki!"
                                                            stop
                                            else:
                                                    send "{@tag} &cPodaj nick gracza, ktorego chcesz usunac dzialke!"
                                                    stop
                                    else:
                                            send "{@tag} &cAby dodac gracza do dzialki musisz byc na swiecie glownym!"
                                            stop
                            else:
                                    send "&cNie masz uprawnien do uzywania tej komendy!"
                                    stop
                    if arg 1 is "dodaj":
                            if player has permissions "dzialka.gracz" or "dzialka.admin" or "dzialka.*":
                                    if player's world is "{@world}":
                                            if {@dzialka.dodaj} is true:
                                                    if {dzialka.%player%.ilosc} is 1:
                                                            if arg 2 is not empty:
                                                                    make console execute command "rg addmember -w %world of player% %name of player% %arg 2%"
                                                                    wait 1 tick
                                                                    send "{@tag} &cGracz &a%arg 2% &czostal dodany do Twojej dzialki!"
                                                                    send "{@tag} &cGracz &a%name of player% &c dodal Cie do swojej dzialki!" to arg 2
                                                                    stop
                                                            else:
                                                                    send "{@tag} &cPodaj nick gracza, ktorego chcesz dodac do dzialki!"
                                                                    stop
                                                    else:
                                                            send "{@tag} &cMusisz posiadac dzialke, aby zaprosic gracza od dzialki!"
                                                            stop
                                            else:
                                                    send "{@tag} &cDodawanie/usuwanie graczy do dzialek jest wylaczone!"
                                                    stop
                                    else:
                                            send "{@tag} &cAby dodac gracza do dzialki musisz byc na swiecie glownym!"
                                            stop
                            else:
                                    send "{@tag} &cNie masz uprawnien do uzywania tej komendy!"
                                    stop
                    if arg 1 is "wyrzuc":
                            if player has permissions "dzialka.gracz" or "dzialka.admin" or "dzialka.*":
                                    if player's world is "{@world}":
                                            if {@dzialka.dodaj} is true:
                                                    if {dzialka.%player%.ilosc} is 1:
                                                            if arg 2 is not empty:
                                                                    make console execute command "rg removemember -w %world of player% %name of player% %arg 2%"
                                                                    wait 1 tick
                                                                    send "{@tag} &cGracz &a%arg 2% &czostal wyrzucony z Twojej dzialki!"
                                                                    send "{@tag} &cGracz &a%name of player% &c dodal Cie do swojej dzialki!" to arg 2
                                                                    stop
                                                            else:
                                                                    send "{@tag} &cPodaj nick gracza, ktorego chcesz usunac z dzialki!"
                                                                    stop
                                                    else:
                                                            send "{@tag} &cMusisz posiadac dzialke, aby usunac gracza z dzialki!"
                                                            stop
                                            else:
                                                    send "{@tag} &cDodawanie/usuwanie graczy do dzialek jest wylaczone!"
                                                    stop
                                    else:
                                            send "{@tag} &cAby dodac gracza do dzialki musisz byc na swiecie glownym!"
                                            stop
                            else:
                                    send "{@tag} &cNie masz uprawnien do uzywania tej komendy!"
                                    stop


 

 

409.jpg?7190

|---> Z o s t a n ę <---|

 

Zostanę technikiem na twój serwer minecraft, zrobie cały serwer według twojego pomysłu!
http://www.mpcforum.pl/topic/1486254-zostanę-technikiem-stworzę-serwer-twojego-pomysłu/#entry12589185

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...