• check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • 8,792 views, 6 today
  • 657 downloads, 0 today
  • 21
  • 18
  • 32
xylo_datapacks's Avatar xylo_datapacks
Level 58 : Grandmaster Programmer
124
This datapack REQUIRES Xylo's Utility Datapack to work:
https://www.planetminecraft.com/data-pack/xylo-s-utility/

INFO:
This datapack is a replica of the iconic factions plugin that we all know.
(I suggest downloading also Xylo's Players Info so you can see players' power and the faction they belong to)

Power:
in order to claim a chunk the faction must have more power than the number of chunks claimed. the power of a faction is the sum of all members' power.
Players will get a point of power every 30 minutes or for each pvp kill, and will lose one point for each death.
A player can have at most 10 power points.

INSTRUCTIONS:
/trigger fcreate -> create a new faction (to use this command you have to hold a book with your faction name as title, and an optional description on the first page)
/trigger fremove -> remove your faction [​rank 4]
/trigger fclaim -> claim the chunk you are inside of [​rank >= 2]
/trigger funclaim -> unclaim the chunk you are inside of [​rank >= 2]
/trigger f_unclaim_all -> unclaim all chunks [​rank 4]
/trigger fsethome -> set the faction home [​rank >= 3]
/trigger fhome -> teleport to the faction home
/trigger finvite set players_id -> invite the player with the id matching "players_id" (you have to change players_id with the id number of the player. you can find the id of a player beside his name by pressing tab) [​rank >= 3]
/trigger fjoin -> join the latest faction that invited you
/trigger fleave -> leave your current faction
/trigger fkick set players_id -> kick from the faction the player with the id matching "players_id" [​rank >= 3]
/trigger finfo -> gives you the info of your faction
/trigger finfo set faction_id -> gives you the info of the faction whith the id matching "faction_id"
/trigger fpromote set players_id -> promote the player with the id matching "players_id" [​rank 4]
/trigger fdemote set players_id -> demote the player with the id matching "players_id" [​rank 4]

OP COMMANDS:
/scoreboard players set @s xfc_operator 12345 -> set the player as an operator, so his gamemode will not be overridden by the datapack. Operator players will be able to break blocks in all claimed chunks
/function xylo_factions:gamerule: open the gamerule menu where you can change the max power a player has and the number of players that can join a faction



NOTE:
By default the square from x:-200, z:-200 to x:200, z:200 is protected by explosions.
You can change this by using /function xylo_factions:protected_land/off (or "on" if you want to turn it back on).
You can also change the coordinates protected by explosions by modifing the predicate "protected_land" inside the datapack.

CompatibilityMinecraft 1.19
Tags

3 Update Logs

Update 1.3.5 : by xylo_datapacks 01/28/2023 3:05:23 pmJan 28th, 2023

> added gamerule menu
LOAD MORE LOGS

Create an account or sign in to comment.

1
10/08/2023 11:45 pm
Level 1 : New Miner
ThatNhautyOne
ThatNhautyOne's Avatar
Is there a command to give a player more power/boost them
1
10/07/2023 1:35 am
Level 1 : New Explorer
newthannes
newthannes's Avatar
Will this work on 1.20.1?
1
10/07/2023 5:16 am
Level 58 : Grandmaster Programmer
xylo_datapacks
xylo_datapacks's Avatar
No
1
05/11/2023 2:13 pm
Level 1 : New Miner
Ak1d
Ak1d's Avatar
Does this work on 1.19.4?
1
05/11/2023 2:15 pm
Level 58 : Grandmaster Programmer
xylo_datapacks
xylo_datapacks's Avatar
it should
1
03/20/2023 11:39 am
Level 1 : New Miner
Lino_TV12
Lino_TV12's Avatar
Hello, im using this Datapack on my Server and i can still open Chests from other Factions. Could you change that, so i cant open Doors or open Chest. Or is it ment to be like this?
1
03/20/2023 1:40 pm
Level 58 : Grandmaster Programmer
xylo_datapacks
xylo_datapacks's Avatar
It is meant to be like that
To protect tour chest you can just place a block on top of chests like in the good old faction servers :)
1
02/25/2023 1:05 pm
Level 1 : New Miner
Svper
Svper's Avatar
I tried to uninstall this because it was randomly wiping my player info, but after that I was unable to break blocks and so I tried reinstalling but I still couldn't break blocks. Is there any way to completely remove this datapack before I reinstall?
1
02/25/2023 5:08 pm
Level 58 : Grandmaster Programmer
xylo_datapacks
xylo_datapacks's Avatar
I dont get how a datapack is supposed to wipe players info.
You cant break blocks cause you are in adventure mode. Just switch back to survival.
1
02/15/2023 5:52 pm
Level 1 : New Miner
User4472674G
User4472674G's Avatar
Is there a way to get the 1.18.2 version?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome