Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- t: &6[&6Gildia&6]&b
- czat: {RANK} &8{TAG} {DISPLAY}: {MESSAGE}
- pobraniejeslibrak: &8{TAG}
- zycieboss: 10
- item1: 5 diamonds
- item2: 2 Golden apple
- item3: 3 ender pearl
- item4: 5 gunpowder
- on first join:
- add 1000 to {ranking.%player%}
- command /zaloz [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "{@t} poprawne uzycie /zaloz <TAG> <NAZWA>"
- stop
- if {gildia.tag.%arg 1%} is true:
- send "&6GILDIA O PODANYM TAGU JUZ ISTNIEJE!"
- stop
- if {gildia.%player%.owner} is true:
- send "{@t} posiadasz juz gildie!"
- stop
- if {gildia.%player%.member} is true:
- send "{@t} jestes juz w gildi!"
- stop
- if arg 1 is not empty:
- if arg 2 is not empty:
- player don't have {@item1}:
- send "&6Nie posiadasz itemow na gildie !&oaby zalozyc gildie musisz posiadac 2 zlote jablka 5 prochu 5 diamentow 3 enderperly"
- stop
- player don't have {@item2}:
- send "&6Nie posiadasz {@item2}"
- stop
- player don't have {@item3}:
- send "&6Nie posiadasz {@item3}"
- stop
- player don't have {@item4}:
- send "&6Nie posiadasz {@item4}"
- stop
- player cannot build at block under player:
- send "&4Teren pod toba jest zajety :P"
- stop
- player cannot build at block 100 meters northwest:
- send "&4Teren na polnocny zachod jest zajety"
- stop
- player cannot build at block 100 meters north:
- send "&4Teren na polnoc jest zajety"
- stop
- player cannot build at block 100 meters northeast:
- send "&4Teren na polnocny wschod jest zajety"
- stop
- player cannot build at block 100 meters west:
- send "&4Teren na zachod jest zajety"
- stop
- player cannot build at block 100 meters east:
- send "&4Teren na wschod jest zajety"
- stop
- player cannot build at block 100 meters southwest:
- send "&4Teren na poludniowy zachud jest zajety"
- stop
- player cannot build at block 100 meters south:
- send "&4Teren na poludnie jest zajety"
- stop
- player cannot build at block 100 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 50 w"
- execute player command "//expand 50 n"
- wait 3 tick
- execute player command "//expand 50 e"
- execute player command "//expand 50 s"
- execute player command "//expand vert"
- execute player command "region define gildia-%arg 1%"
- execute player command "region flag gildia-%arg 1% chest-access allow"
- execute player command "region flag gildia-%arg 1% use allow"
- wait 3 tick
- execute player command "region addowner gildia-%arg 1% %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 "&6Zalozyles Gildie!"
- set block under the player to dragon egg
- broadcast "&aGracz %name of player% powiekszyl cuboid o 50 kratek!"
- 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
- set {_cos} to "%{gildia.tag.%name of player%}%"
- add player to {gildia.ownerklanu.%{_cos}%::*}
- add arg 1 to {listagildii::*}
- wait 1 seconds
- remove {@item1} from the player's inventory
- remove {@item2} from the player's inventory
- remove {@item3} from the player's inventory
- remove {@item4} from the player's inventory
- set {gildia.tag.%arg 1%} to true
- wait 2 tick
- set {baza.%arg 1%} to true
- else:
- send "&6Zbyt blisko spawnu!"
- command /baza:
- trigger:
- if {baza.%{gildia.tag.%name of player%}%} is true:
- teleport player to {gildia.home.%{gildia.tag.%name of player%}%}
- send "&6Bardzo prosze tp do bazy :)"
- stop
- send "&6Nie posiadasz gildii!"
- 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.%{gildia.tag.%name of player%}%} to false
- wait 1 tick
- set {baza.%{gildia.tag.%name of player%}%} to false
- 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 {gildie.%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%::*}
- add player to {members.%{gildia.tag.%name of player%}%::*}
- 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 {gildia.%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 /wywal [<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 {gildia.%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 "{RANK}" with "%{ranking.%player%}%" in {_chat}
- replace all "{@pobraniejeslibrak}" 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 /gildie setspawn:
- trigger:
- if player has permission "sk":
- set {spawn} to location of player
- send "{@t} ustawiono set spawn blokady cuboidow!"
- else:
- send "&6Brak permisji"
- 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/Wywal <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/Gildia <TAG> - &aInfo o wybranej gildii"
- 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!"
- command /gildia [<text>]:
- trigger:
- if arg 1 is not set:
- send "&6Poprawne uzycie &a/Gildia info <TAG GILDII>"
- else:
- if size of {members.%arg 1%::*} is 0:
- send "&6Czlonkowie: &cBrak"
- send "&6Zalozona przez : %{gildia.ownerklanu.%arg 1%::*}%"
- stop
- send "&6Czlonkowie: &a%{members.%arg 1%::*}%"
- send "&6Gildia - &9%arg 1%"
- send "&6Zalozona przez : %{gildia.ownerklanu.%arg 1%::*}%"
- on region enter:
- if player is the owner of the region:
- create timed bar with text "&2Witaj zalozycielu w swoich progach!" to player for 10 seconds
- stop
- if player is member of the region:
- create timed bar with text "&bCzlonek twojej gildii - %player% wszedl na wasz cuboid!" to all owners of the region for 10 seconds
- create timed bar with text "&bCzlonek twojej gildii - %player% wszedl na wasz cuboid!" to all members of the region for 10 seconds
- stop
- create timed bar with text "&cNie Przyjaciel - %player% wszedl na twoj teren!" to all owners of the region for 10 seconds
- create timed bar with text "&cNie Przyjaciel - %player% wszedl na wasz teren!" to all members of the region for 10 seconds
- create timed bar with text "&cWszedles na teren gildyjny - %{gildia.tag.%owner of region%}%" to player for 10 seconds
- on region exit:
- if player is the owner of the region:
- create timed bar with text "&cWychodzisz z terenu swojej gildii uwazaj na siebie!" to player for 10 seconds
- stop
- if player is member of the region:
- create timed bar with text "&cCzlonek twojej gildii - %player% opuscil teren!" to all owners of the region for 10 seconds
- create timed bar with text "&bOpuszczasz teren swojej gildii!" to player for 10 seconds
- stop
- create timed bar with text "&aNie przyjaciel opuscil twoj teren" to all owners of the region for 10 seconds
- create timed bar with text "&aNie przyjaciel opuscil twoj teren" to all members of the region for 10 seconds
- create timed bar with text "&7Opuszczasz teren gildii %{gildia.tag.%owner of region%}%" to player for 10 seconds
- on block damage:
- player cannot build at block under player:
- cancel event
- set {_regions::*} to the region at the event-block
- send "&6Nie niszcz Terenu wroga %{_regions::*}%!"
- cancel event
- on first join:
- add 1000 to {ranking.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement