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

Przerobi mi ktos skrypt na cuboide


TheEdwinekPL

Rekomendowane odpowiedzi

Opublikowano

Witam, przerobi mi ktos skrypt na cuboide, aby nie bylo tego calego spamu na chacie dla gracza przez WorldGuard i zeby mozna bylo robic cuboide min. 200 kratek od spawna i min. 100 kratek od innej cuboidy jak sie tak da? jak musze cos pobrac czy cos zrobic to piszcice co i jak

 

  1. #========================#
  2. # Nazwa Skryptu: TerenZ  #
  3. # Autor: Thorus          #
  4. # Version: 1.0           #
  5. #                        #
  6. # Zakaz Kopiowania !     #
  7. #========================#
  8.  
  9. options:
  10.  
  11.     tag: &1&l[&6Teren&4Z&1&l]
  12.  
  13.     teren: 30 # Wielkosc terenu w tym przypadku to bedzie 30x30
  14.  
  15. on place jukebox:
  16.         send "{@tag} &3Trwa zakladanie terenu !"
  17.         make console execute command "pex user %player% add worldguard.*"
  18.         make console execute command "pex user %player% add worldedit.*"
  19.         execute player command "//pos1"
  20.         execute player command "//pos2"        
  21.         execute player command "//expand {@teren} n"
  22.         execute player command "//expand {@teren} e"
  23.         execute player command "//expand {@teren} s"
  24.         execute player command "//expand {@teren} w"
  25.         execute player command "//expand vert"
  26.         execute player command "rg define %player%"
  27.         execute player command "rg flag %player% greeting &cWchodzisz na teren gracza %player%"
  28.         execute player command "rg flag %player% farewell &aOpuszczasz teren gracza %player%"
  29.         execute player command "rg flag %player% creeper-explosion deny"
  30.         execute player command "rg flag %player% mob-damage deny"
  31.         execute player command "rg flag %player% mob-spawning deny"
  32.         execute player command "rg flag %player% pvp deny"
  33.         execute player command "/rg addowner %player% %player%"
  34.         execute player command "//pos1"
  35.         execute player command "//pos2"
  36.         make console execute command "pex user %player% remove worldguard.*"
  37.         make console execute command "pex user %player% remove worldedit.*"
  38.         send "{@tag} &3Teren zostal zalozony !"
  39.         make console execute command "pex user %player% add teren.lider"
  40.         stop
  41.  
  42. on mine of jukebox:
  43.         player has permissions "teren.lider":
  44.                 make console execute command "rg remove -w %world of player% %player%"
  45.                 send "{@tag} &3Teren zostal usuniety !"
  46.                 stop
  47.  
  48. command /teren [<text>] [<text>]:
  49.         trigger:
  50.                 if arg 1 is not set:
  51.                         send "&a======== &7[&6Teren&4Z&7] &a======="
  52.                         send "&e/teren info &6Pokazuje informacje o twoim terenie"
  53.                         send "&e/teren dodaj <nick> &6Dodaje gracza do terenu"
  54.                         send "&e/teren wyrzuc <nick> &6Wyrzuca gracza z terenu"
  55.                         send "&e/teren flagi &6Lista dostepnych flag"
  56.                         send "&a======== &7[&6Teren&4Z&7] &a======="
  57.                         stop
  58.                 if arg 1 is "dodaj":
  59.                         if player has permissions "teren.lider":
  60.                                 if arg 2 is not empty:
  61.                                         make console execute command "rg addmember -w %world of player% %name of player% %arg 2%"
  62.                                         wait 1 tick
  63.                                         send "{@tag} &3Gracz &c%arg 2% &3zostal dodany do twojego terenu !"
  64.                                         stop
  65.                 if arg 1 is "wyrzuc":
  66.                         if player has permissions "teren.lider":
  67.                                 if arg 2 is not empty:
  68.                                         make console execute command "rg removemember -w %player% %name of player% %arg 2%"
  69.                                         wait 1 tick
  70.                                         send "{@tag} &3Gracz &c%arg 2% &3zostal wyrzucony z twojego terenu !"
  71.                                         stop
  72.                 if arg 1 is "info":
  73.                         if player has permission "teren.gracz":
  74.                                 make console execute command "pex user %player% add worldguard.*"
  75.                                 execute player command "/rg info %player%"
  76.                                 make console execute command "pex user %player% remove worldguard.*"
  77.                                 stop
  78.                 if arg 1 is "flagi":
  79.                         send "&e/teren spawnmob &cwlacz&e/&cwylacz &7- &6Spawnowanie potworow"
  80.                         send "&e/teren damagemob &cwlacz&e/&cwylacz &7- &6Obrazenia od potworow"
  81.                         send "&e/teren pvp &cwlacz&e/&cwylacz &7- &6PVP na twoim terenie"
  82.                         send "&e/teren tnt &cwlacz&e/&cwylacz &7- &6Szkody przez TNT"
  83.                         send "&e/teren skrzynie &cwlacz&e/&cwylacz &7- &6Otwieranie skrzynek przez innych graczy"
  84.                         send "&e/teren ogien &cwlacz&e/&cwylacz &7- &6Podpalanie na twoim terenie"
  85.                         send "&e/teren lava &cwlacz&e/&cwylacz &7- &6Obrazenia po wpadnieciu do lavy"
  86.                         stop
  87.                 if arg 1 is "spawnmob":
  88.                         if player has permission "teren.lider":
  89.                                 if arg 2 is "wlacz":
  90.                                         make console execute command "rg flag -w %world of player% %player% mob-spawning allow"
  91.                                         send "{@tag} &3Spawnowanie mobow zostalo wlaczone !"
  92.                                         stop
  93.                 if arg 1 is "spawnmob":
  94.                         if player has permission "teren.lider":
  95.                                 if arg 2 is "wylacz":
  96.                                         make console execute command "rg flag -w %world of player% %player% mob-spawning deny"
  97.                                         send "{@tag} &3Spawnowanie mobow zostalo wylaczone !"
  98.                                         stop
  99.                 if arg 1 is "damagemob":
  100.                         if player has permission "teren.lider":
  101.                                 if arg 2 is "wlacz":
  102.                                         make console execute command "rg flag -w %world of player% %player% mob-damage allow"
  103.                                         send "{@tag} &3Spawnowanie mobow zostalo wlaczone !"
  104.                                         stop
  105.                 if arg 1 is "damagemob":
  106.                         if player has permission "teren.lider":
  107.                                 if arg 2 is "wylacz":
  108.                                         make console execute command "rg flag -w %world of player% %player% mob-damage deny"
  109.                                         send "{@tag} &3Spawnowanie mobow zostalo wylaczone !"
  110.                                         stop
  111.                 if arg 1 is "pvp":
  112.                         if player has permission "teren.lider":
  113.                                 if arg 2 is "wlacz":
  114.                                         make console execute command "rg flag -w %world of player% %player% pvp allow"
  115.                                         send "{@tag} &3PVP na twoim terenie zostalo wlaczone !"
  116.                                         stop
  117.                 if arg 1 is "pvp":
  118.                         if player has permission "teren.lider":
  119.                                 if arg 2 is "wylacz":
  120.                                         make console execute command "rg flag -w %world of player% %player% pvp deny"
  121.                                         send "{@tag} &3PVP na twoim terenie zostalo wylaczone !"
  122.                                         stop
  123.                 if arg 1 is "tnt":
  124.                         if player has permission "teren.lider":
  125.                                 if arg 2 is "wlacz":
  126.                                         make console execute command "rg flag -w %world of player% %player% other-explosion allow"
  127.                                         send "{@tag} &3Szkody poprzez TNT zostaly wlaczone !"
  128.                                         stop
  129.                 if arg 1 is "tnt":
  130.                         if player has permission "teren.lider":
  131.                                 if arg 2 is "wylacz":
  132.                                         make console execute command "rg flag -w %world of player% %player% other-explosion deny"
  133.                                         send "{@tag} &3Szkody poprzez TNT zostaly wylaczone !"
  134.                                         stop
  135.                 if arg 1 is "skrzynie":
  136.                         if player has permission "teren.lider":
  137.                                 if arg 2 is "wlacz":
  138.                                         make console execute command "rg flag -w %world of player% %player% chest-access allow"
  139.                                         send "{@tag} &3Dostep do skrzynek dla innych graczy zostal wlaczone !"
  140.                                         stop
  141.                 if arg 1 is "skrzynie":
  142.                         if player has permission "teren.lider":
  143.                                 if arg 2 is "wylacz":
  144.                                         make console execute command "rg flag -w %world of player% %player% chest-access deny"
  145.                                         send "{@tag} &3Dostep do skrzynek dla innych graczy zostal wylaczone !"
  146.                                         stop
  147.                 if arg 1 is "ogien":
  148.                         if player has permission "teren.lider":
  149.                                 if arg 2 is "wlacz":
  150.                                         make console execute command "rg flag -w %world of player% %player% lighter allow"
  151.                                         send "{@tag} &3Podpalanie na twoim terenie zostalo wlaczone !"
  152.                                         stop
  153.                 if arg 1 is "ogien":
  154.                         if player has permission "teren.lider":
  155.                                 if arg 2 is "wylacz":
  156.                                         make console execute command "rg flag -w %world of player% %player% lighter deny"
  157.                                         send "{@tag} &3Podpalanie na twoim terenie zostalo wylaczone !"
  158.                                         stop
  159.                 if arg 1 is "lava":
  160.                         if player has permission "teren.lider":
  161.                                 if arg 2 is "wlacz":
  162.                                         make console execute command "rg flag -w %world of player% %player% lava-fire allow"
  163.                                         send "{@tag} &3Obrazenia po wpadnieciu do lavy zostaly wlaczone !"
  164.                                         stop
  165.                 if arg 1 is "lava":
  166.                         if player has permission "teren.lider":
  167.                                 if arg 2 is "wylacz":
  168.                                         make console execute command "rg flag -w %world of player% %player% lava-fire deny"
  169.                                         send "{@tag} &3Obrazenia po wpadnieciu do lavy zostaly wylaczone !"
  170.                                         stop

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...