- check_circle Functions
Published Dec 25th, 2021, 12/25/21 7:58 pm
- 11,980 views, 4 today
- 1,139 downloads, 1 today
3
Factions [BETA]
A replication of the Factions plugin in Vanilla Minecraft!
This data pack is a recreation of the Factions bukkit plugin for servers in vanilla minecraft. It introduces similar faction mechanics into your world like creating faction power, land claiming, raiding, and more. This data pack is still in development and will be optimized in the future. If you have any issues or feedback, please leave a comment.
Core Features
- Players can create, join, leave, and disband factions.
- Faction owners can kick unwanted members from their faction.
- Players earn power for their faction and lose power for their faction when killed.
- Factions can claim chunks with power which are protected from modification by outsiders.
- Factions become raid-able when they do not have enough power to upkeep their territories.
- Factions can toggle particle borders around their claimed chunks.
- Players can toggle their ability to receive faction invites.
- Displays current territory on the action bar.
- Unique colours for each faction.
- Configurable settings.
- Territories show up on maps.
- Holding a compass will direct you to the nearest faction territory.
Mechanics
Any player can create a faction. Factions can claim chunks of land which are 16x16 areas within the minecraft world.
Players can invite their friends to their faction.
Factions have "Power" which is a currency used to claim land. Each member of a faction regenerates power for their faction
every period of time which can be configured in the config.mcfunction file. If a player dies, they also lose a configured
amount of power from their faction.
A faction which has less power than the upkeep required for all of their claimed territories will become "Raidable."
This means any player can modify blocks within their claimed territories.
To become protected again, the faction must accumulate the required power to maintain upkeep.
Commands
/trigger f_new - Creates a new faction and claims the chunk the player is standing on when the command is run.
/trigger f_disband - Deletes the player's faction, it's power, and all it's claimed territories
/trigger f_info - Displays info about the player's current faction
/trigger f_invite - Invites the nearest player within a 5 block radius to the faction.
/trigger f_invites - Toggles ability for player to receive faction invites
/trigger f_join - Accept an invite to a faction.
/trigger f_kick - Kicks the nearest player within a 5 block radius from the faction.
/trigger f_leave - Leaves the player's current faction.
/trigger f_claim - Claims the chunk that the player is standing in for their faction.
/trigger f_listclaims - Lists the coordinates of all the chunks claimed by the player's faction
/trigger f_showclaims - Toggles the particle borders around the faction's claimed territories
Future features (NOT YET IMPLEMENTED)
Here are some commands which will be released in future versions of the data pack.
/trigger f_promote - Promotes the nearest member of your faction within a 5 block radius
/trigger f_demote - Demotes the nearest member of your faction within a 5 block radius
/trigger f_sethome - Sets the home of the faction
/trigger f_home - Teleports the player to their faction's home
/trigger f_tp - Teleports the player to the nearest member of their faction.
/trigger f_setname - Sets the faction's display name to the name of the item the player is holding.
/trigger f_setmotd - Sets the faction's message of the day to the name of the item the player is holding.
Have any ideas for features which could be added to the data pack? Let me know in the comments on this Planet Minecraft page.
Directions For Use
Make sure that you run the /reload command once you place the extracted data pack in to the datapack folder within your save file.
Using this data pack in combination with other data packs in a single world may cause unintended behaviour from the Factions data pack.
When using this data pack, killing all entities or armor stands will cause factions claims to be deleted. Avoid using datapacks or commands that may do this.
Bugs
Have you discovered a bug? Please let me know exactly when and how it occurs in the comments on this Planet Minecraft page.
Compatibility | Minecraft 1.18 |
Tags |
5421965
119
Create an account or sign in to comment.
Also any videos coming out of using the pack?