Ever wanted to play modded factions? ever wanted to protect your builds from pesky griefers? felt that gold was useless in minecraft? ever wished banners weren't just for decoration? Well fear not for you have come to the right place!
The Claim Flags mod lets you craft a kingdom block place it into your world and claim and protect your lands faction-style.
The kingdom block itself will hold your gold and allow you to purchase claim flags in the colors of YOUR banner!
Features:
-Kingdom Block, the base of your kingdom, here you will store the gold for the upkeep of your lands, purchase claim flags and manage the members of your kingdom
-Players can join your kingdom by shift-right-clicking your kingdom block just like in Rust!
-You can kick players from your kingdom, but cannot ban them from rejoining so protect your kingdom block!
-For the best experience it is recommended to play with the locks mod installed!
-Be aware, you are limited to owning one kingdom!

-Claim Flag, purchased from the kingdom block, it will look like the banner that is inside of the kingdom block's flag slot (should this flag change the kingdom will automatically update all of the flags already placed in the world and the ones the players try to place after the fact) with a nice gold border on the top, used for claiming new territories and overclaiming existing ones.
-You can overclaim a enemy kingdom's territory by holding right-click with your own flag in hand inside of their territory or in range of a territorial overlap (upon placement it will claim the unclaimed territory and overclaim the pre-claimed territory)
-When overclaiming another kingdom's territory be aware that if you overclaim a chunk which holds a flag or the kingdom block itself it will destroy them!
-Claimed land prevents other players from placing and breaking blocks in hostile territory!

-Compass, a new item that lets you check weather the chunk you are in is claimed or not by right-clicking on the ground.
-Rent, each kingdom pays rent for each claim they have, if they fail to do so their claims stop working until they are paid again, making big kingdoms expensive to keep up and gold very valuable. The owner of the kingdom gets warned before his kingdom runs low on gold.
-Configurability, this mod is highly configurable allowing you to change the number of chunks each claim flag claims, the amount of rent each claim pays and even how often!
=======================================================UPDATE 2.0.0===================================================
New features:
-Implemented officers, you can now promote/demote player to the rank of officer allowing him to stake claims and enforce authority! But remember with great power comes great responsibility so beware who you promote to this position and with it a new promote/demote button in the kingdom block UI.
-Added a new subclaim system, now within claims a player can have their own subclaim in which the same rules will apply to other members of his kingdom as they do for players who aren't part of said kingdom. The ones who create and remove these subclaims are kingdom officers as well as the kingdom ruler. They are not subject to mining/placing restrictions on the subclaim and have absolute authority as does the subclaim owner. Subclaims are determined by the new Deed item which is used by right-clicking the corners of a bounding box around the subclaim. Players can invite other people to the subclaim and share it with them by giving them a copy of the deed. Deeds can be copied by placing a filled one next to one or multiple empty ones and players gain entry to the subclaim simply by having a deed to it in their inventory. To remove someone from the subclaim you must retrieve the deed from them in person! Craftable by a piece of paper and gold nugget. If a kingdom is destroyed its subclaims remain but are null (provide no protection) until the land is claimed by any kingdom at which point the subclaim becomes active again and its officers and ruler may reinstate the subclaim or chose to remove it.
-Added surveyor's chain item which is used by officers to remove subclaims, the deeds to which will still remain and display their stake but be useless.
-Added toggleable rendering of the range of what you are claiming while holding a claim flag and the same indicator for subclaims (for right now these are simple without overclaim-overlap indicators, which are planned with the 1.20.1 port), and a keybind to go along with it.
-Added the alwaysPlacableBlocks blockTag which is blocks that bypass the limitation of placing blocks in enemy territory meant for raiding blocks like ladders, tnt and so on...
-Added the alwaysBreakableBlocks blockTag which is blocks that bypass the limitation of mining blocks in enemy territory meant for weak blocks like glass etc for balance purposes.
-Added the validKingdomCurrency itemTag for items which can be used instead or with gold_nuggets as currency to pay rent for now they all hold the same value.
-Added a configurable option to display skin sprites (heads from tab) instead of names in the kingdom block UI, the skins are pulled from the server files from a "skins" folder, each named as the UUID of the player it belongs to (this is a feature for custom servers where names aren't to be used)
Changes:
-Changed mining on enemy kingdom territory from being completely disabled to being a configurable modifier onto the mining speed, if set to 0 disables it completely
-Made it so the kingdom block doesn't instant break
-Reworded the config file so its hopefully more readable
-Extended the low gold warning to it goes out to all officers along with the kingdom ruler
-Made it so after the kingdom runs out of gold when a player puts in more gold it automatically pays rent and becomes active again immediately
-Switched all item logic from player position to the block the player is looking at for example the compass used to tell you if the block you were standing one was claimed now it tells you if the block you are looking at is claimed
-In addition to telling you if a block is claimed the compass now also checks for subclaims
1.20.1 Port coming soon with more additions mainly to rendering, because i will rewrite most of the code of the mod, optimize it and with it will be able to do more with rendering like overlaps for claims and overclaims also to display on the surveyor's chain any and all removable subclaims and so on, this would also most likely allow me to implement the map into the game and maybe even a ENTERING X kingdom, though all that is for when the port is finished hopefully not in another 2 years
Planned updates (Features that i plan to add in the future):
-Kingdoms Map: Add a tab to the kingdom block allowing you to see the world from a topographic view showing you claimed and unclaimed lands stopping you from having to go around with a compass to figure what is claimed and what is not
-Kingdom names: As players can be part of multiple kingdoms at once and could be officers in multiple kingdoms it would be hard to check which kingdom is running out of gold and would be nice to display on the kingdoms map though this is likely to never be implemented as there are troubles with where to display it within the kingdom UI.
-New claims would need to touch already existing claims
Until i implement these features the mod will stay in alpha, though i also expect to find a slew of issues as people play it more. I will update to newer versions within the next year I hope by then i will have implemented all of the features above though if anyone wants to take on the task contact me on discord!
Feel free to use the mod in any modpacks/servers i originally made it for personal use but would be delighted to see people use it for their own shenanigans!
I am always looking for suggestions and if u have any issues with the mod please reach out to me on discord at TimmyxD9#3985.