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] Dzialajacego skryptu na gildie.


langue

Rekomendowane odpowiedzi

Opublikowano

[spoiler​​]



options:
t: &6[&6Gildia&6]&b
czat: &7[&6{TAG}&7]{DISPLAY}: {MESSAGE}
nic: &7[&6{TAG}&7]


command /zaloz [<text>] [<text>]:
trigger:
if arg 1 is not set:
send "{@t} poprawne uzycie /zaloz <TAG> <NAZWA>"
stop
if {gildia.%player%.owner} is true:
send "{@t} posiadasz juz gildie!"
if {gildia.%player%.member} is true:
send "{@t} jestes juz w gildi!"
else:
if arg 1 is not empty:
if arg 2 is not empty:
send "{@t} tworzenie zabezpieczen....."
set {gildia.tag.%name of player%} to arg 1
message "&6Zalozyles Gildie!"
set {gildia.%name of player%.owner} to true
set {gildia.home.%arg 1%} to location of player
broadcast "{@t} Gracz %name of player% zalozyl gildie o nazwie %arg 2% o tagu %arg 1%"
set {gildia.%name of player%} to true
on script load:
send "&2=========================================================" to console
send "&2==&6Ladowanie ProGuild" to console
send "&2==&6ProGuild - Zaladowano Pomyslnie" to console
send "&2=========================================================" to console

command /baza:
trigger:
teleport player to {gildia.home.%{gildia.tag.%name of player%}%}
send "&6Bardzo prosze tp do bazy :)"

command /usun:
trigger:
if {gildia.%name of player%.owner} is true:
broadcast "{@t} Gracz %player% usunal gildie (%{gildia.tag.%name of player%}%)"
set {_tag} to {gildia.tag.%name of player%}
loop {czlonkowie.%{_tag}%::*}:
set {gildia.tag.%loop-value%} to ""
delete {gildia.tag.%loop-value%}
set {gildia.%loop-value%.member} to false
execute console command "pex user %name of player% add worldguard.*"
execute player command "rg remove gildia-%{gildia.tag.%player%}%"
execute console command "pex user %name of player% remove worldguard.*"
set {gildia.tag.%name of player%} to ""
set {gildia.%player%.owner} to false
set {gildia.%name of player%.tagg} to false



command /zapros [<player>]:
trigger:
if arg 1 is not set:
send "&6Poprawne uzycie &a/zapros <nick>"
else:
if {gildia.%name of player%.owner} is true:
send "&6Zaproszono cie do gildi %{gildia.tag.%name of player%}% wpisz /dolaczam %{gildia.tag.%name of player%}% &baby dolaczyc" to arg player
send "&2Zaproszono gracza %arg player% do gildii"
set {gildia.zapro.%arg player%.%{gildia.tag.%name of player%}%} to true
wait 30 seconds
set {gildia.zapro.%arg player%.%{gildia.tag.%name of player%}%} to false

command /dolaczam [<text>]:
trigger:
if arg 1 is not set:
send "&6Porawne uzycie &b/dolaczam <tag gildii>"
else:
if {gildia.%name of player%.owner} is true:
send "&4Posiadasz juz gildie!"
if {gildia.%name of player%.member} is true:
send "&4Jestes juz w gildii!"
stop
if {gildia.zapro.%name of player%.%arg 1%} is true:
set {gildia.tag.%name of player%} to arg 1
broadcast "{@t} Gracz %player% dolaczyl do gildii &2(%{gildia.tag.%name of player%}%)"
set {gildia.%name of player%.member} to true
execute console command "pex user %name of player% add worldguard.*"
execute player command "rg addmember gildia-%{gildia.tag.%name of player%}% %player%"
execute console command "pex user %name of player% remove worldguard.*"
add player to {czlonkowie.%arg 1%::*}
stop
send "&6Nie masz zaproszenia do gildii %arg 1%"

command /opusc:
trigger:
if {gildia.%name of player%.owner} is true:
send "&4Masz juz gildie!"
else:
set {ultimateclans.%name of player%.member} to false
execute console command "pex user %name of player% add worldguard.*"
execute player command "rg removemember gildia-%{gildia.tag.%name of player%}% %player%"
execute console command "pex user %name of player% remove worldguard.*"
broadcast "{@t} Gracz %player% opuscil gildie &2(%{gildia.tag.%name of player%}%)"
set {gildia.tag.%name of player%} to ""

command /wyrzuc [<player>]:
trigger:
if arg 1 is not set:
send "&6Poprawne uzycie &b/wywal <nick>"
else:
if {gildia.%name of player%.owner} is true:
if {gildia.tag.%name of player%} is {gildia.tag.%arg player%}:
if {gildia.%arg player%.owner} is true:
send "&6Nie wywalisz siebie xd"
stop
execute console command "pex user %name of player% add worldguard.*"
execute player command "rg removemember gildia-%{gildia.tag.%name of player%}% %arg player%"
execute console command "pex user %name of player% remove worldguard.*"
broadcast "{@t} &4Gracz %player% wyzucil z gildii gracza &c%arg player% &2(%{gildia.tag.%name of player%}%)"
set {gildia.tag.%arg player%} to ""
set {ultimateclans.%arg player%.member} to false
teleport argument to spawn
send "&3Wywalono cie z gildi! &bprzeteleportowano cie na spawn!" to arg player

command /setbaza:
trigger:
if {gildia.%name of player%.owner} is true:
set {gildia.home.%{gildia.tag.%name of player%}%} to location of player
send "&{@t} ustawiles baze gildii!"
set {gildia.%name of player%.tagg} to true
else:
send "&6Nie jestes zalozycielem nie mozesz przestawiac bazy!"

on chat:
set {_chat} to "{@czat}"
if {gildia.%name of player%.owner} is true:
replace all "{TAG}" with "%{gildia.tag.%name of player%}%" in {_chat}
if {gildia.%name of player%.member} is true:
replace all "{TAG}" with "%{gildia.tag.%name of player%}%" in {_chat}
replace all "{@nic}" with "" in {_chat}
replace all "{PLAYER}" with "%player%" in {_chat}
replace all "{DISPLAY}" with "%display name of player%" in {_chat}
replace all "{MESSAGE}" with "%message%" in {_chat}
send "%{_chat}%" to all players
cancel event


command /xray:
trigger:
if player has permission "sk":
set {spawn} to location of player
else:
send "&6Brak permisji"

command /claim:
trigger:
if {gildia.%name of player%} is true:
if {gildia.%name of player%.owner} is true:
player cannot build at block under player:
send "&4Teren pod toba jest zajety :P"
stop
player cannot build at block 50 meters northwest:
send "&4Teren na polnocny zachod jest zajety"
stop
player cannot build at block 50 meters north:
send "&4Teren na polnoc jest zajety"
stop
player cannot build at block 50 meters northeast:
send "&4Teren na polnocny wschod jest zajety"
stop
player cannot build at block 50 meters west:
send "&4Teren na zachod jest zajety"
stop
player cannot build at block 50 meters east:
send "&4Teren na wschod jest zajety"
stop
player cannot build at block 50 meters southwest:
send "&4Teren na poludniowy zachud jest zajety"
stop
player cannot build at block 50 meters south:
send "&4Teren na poludnie jest zajety"
stop
player cannot build at block 50 meters southeast:
send "&4Teren na poludniowy wschod jest zajety"
stop
if distance between {spawn} and location of player is greater than 150+50/2:
send "{@t} tworzenie zabezpieczen....."
execute console command "pex user %name of player% add worldedit.*"
execute console command "pex user %name of player% add worldguard.*"
wait 1 tick
execute player command "//pos1"
execute player command "//pos2"
execute player command "//expand 25 w"
execute player command "//expand 25 n"
wait 3 tick
execute player command "//expand 25 e"
execute player command "//expand 25 s"
execute player command "//expand vert"
execute player command "rg define gildia-%{gildia.tag.%name of player%}%"
execute player command "rg flag gildia-%{gildia.tag.%name of player%}% greeting {@t} wchodzisz na claimu gildii %{gildia.tag.%name of player%}%"
execute player command "rg flag gildia-%{gildia.tag.%name of player%}% farewell {@t} wychodzisz z claimu gildi %{gildia.tag.%name of player%}%"
wait 3 tick
execute player command "rg addowner gildia-%{gildia.tag.%name of player%}% %name of player%"
execute console command "pex user %name of player% remove worldedit.*"
execute console command "pex user %name of player% remove worldguard.*"
loop 98 times:
send ""
message "&6Zrobiles Claima!!"
set block under the player to dragon egg
broadcast "&aGracz %name of player% powiekszyl cuboid o 50 kratek!"
else:
send "&6Zbyt blisko spawnu!"

command /f:
aliases: g, gildia, factions, frakcje, gildie
trigger:
send "&7======================&2&lInfo Gildie&7======================="
send "&6/Zaloz <TAG> <NAZWA> - &a Zakladasz gildie"
send "&6/Wyrzuc <nick> - &a Wywalasz wybrana osobe z gildii"
send "&6/Zapros <nick> - &a Zapraszasz wybrana osobe do gildii"
send "&6/Dolaczam <NAZWA GILDII> - &a Dolaczasz do wybranej gildii"
send "&6/Claim - &a Claimujesz Gildie"
send "&6/SetBaza - &a Ustawiasz baze gildii w miejscu stania"
send "&6/Baza - &a Teleport Do Gildii"
send "&6/Opusc - &a Opuszczasz Gildie"
send "&6/Usun - &a Usuwasz swoja gildie"
send "&7======================&2&lInfo Gildie&7======================="

command /help:
aliases: pomoc, pl, pluginy
trigger:
send "&6Dostepne dla Ciebie komendy:"
send "&2/f - gildie"
send "&2/drop - info o dropie z kamienia"
send "&2/jobs - prace na serwerze"
send "&2/generator - co i jak &4Wkrotce!"

on damage:
victim is a player
attacker is a player
if {gildia.tag.%name of attacker%} is {gildia.tag.%name of victim%}:
cancel event
send "&6Nie bij Kolegi z gildii!" to attacker
send "&2Gracz %attacker% prubowal cie udezyc uciekaj... jestes w jego gildii" to victim 

 


Nie oczekuj od dnia tego, co mogą dać jedynie lata. Ale nie zapomnij, że lata składają się z wielu dni, nie zmarnuj ani jednego.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...