Hi people, in this oportunity is a factions skript.
It's based on the idea of HCfactions by drtshcok.
Remember this is a plugins, you you will need:
* Skript plugin
* WildSkript plugin
* Umbaska plugin
* SkQuery plugin
And then add this skript into the forlder:
../Plugins/skript/scripts/ [place me right here]
- faction create
- faction invite denvite and join
- faction claim and unclaim
- faction dtr system
- faction disband
- faction sethome and home
- faction list
- faction kick
- faction leave
- faction owner
- Faction ally and neutral (only 1 ally)
- No friendly fire (between ally or faction members)
- DTR freeze on death
- Show green tag to factions members, show red tag to anyone that is not from the faction, and show pink tag to the ally faction member! (using wildskript for this one, I really could't do it with umbaska)
- command clear-factions will clear all the variables created by this skript.
- Faction tag (change faction name)
- Faction raidable (make faction raideable when the dtr is 0 or less)
- Faction protection (protect faction land from other players or factions)
- Chat system (use /f c)
- /f mod [player] Mods can kick players, invite players, claim , uclaim, etc
- more stuff, just read the changelogs xD
Im open to any suggestion, so feel free to share!
- Amount of ally? The skript only allow 1 ally at this time.
Removed old versions from the main post, use the github repo!
You can find the latest version here: FactionSK GitHub
The skript if free, but I would appreciate if you can buy me a beer , specially right now that the summer is striking my country haha!
Added Faction tag
Added variable that makes a faction raidable, and when the dtr is 0 or less, make that variable true.
This is a big one
claim, only if there is no region present (so make sure you claim some zones with wg to act like warzone)
claim only in the faction's world (you can add more worlds)
fix the dtr system, if the faction only has 1 player
fix the /f tag, wasn't workig properly
change how the "name" tag is updating
small change on damage
protected stuff on option @I
protect @I from left click
protect any block from right click on a faction land
fix claim issue
change how I represent unfactioned players, (on script load and on join) if they don't have a action: set em to wilde
added /f c (chages between ally chat, global chat and faction chat)
fix /f kick faction owner was able to kick himself XD
Faction owner can now use /f leave if the faction is empty
make factions raidable if the factions dtr is 0 or less (players can destroy the land)
other stuff that i can't remember right now
English messages, please correct my english and send it back to me XD
chat system optional @C
translated by CrazzyPanda
/f mod [gives a player the mod range]
- MY BAD: Fixed tons of erros becaused I fkd up some indentation!
Fixed all the stuff that I broke!
Now I save the player data in FAC:layers::%player%
/F show can now be used like:
/f show [faction-name]
/f show [player-name]
If there is a player with the same name of a faction, the command will show the faction info, no the player's faction
f tag now keeps the ally if there was one
changed the Tag function
fixed : player was able to create faction with a name of 3 chars
f disband now will break the ally if there was one
fixed the /f kick [player was still able to self kick]
on owner change, the owner will lose the mod range
on owner change, notify the whole faction about the event
changed the dtr system
dtr freeze on player kick
dtr penalty on player kick, use the option tu set the amount
max amount of land per faction
show max lands on /f show
Change the prefix with the option @prefix
now you can use the options:
#the max amount of dtr a faction may have
#the minimun amount of dtr
#how much a player increments the max dtr of a faction
#max dtr of a faction with 1 player
#dtr freeze in seconds:
#How much a faction wins per minute and per player
#Max amount of land per faction
# How much land a faction gets per member
- fixed disband
- fixed claim around enemy
- added /f map , the code is pretty bad for the "icons"
- UUID now rules this skript!
- On Place check
- other fixes, can't remember right now lol
- github repo added: https://github.com/ragama/FactionSK
improved the code of "f claim"
removed extra code in "f unclaim"
improved all the "mod" check
removed some loops
removed extra code in function "fshow"
added permission: skript.factionsk.danger for command /clear-factions
Bypass damage by enderpearl [fall damage]
Added rotation for /f map!!
merged the admin commands
added admin help, just use /f-admin