Minecraft Data Packs / Game Mechanic

Stake A Claim - Chunk Ownership (Old Book Version)

  • check_circle Functions
  • 13,414 views, 4 today
  • 791 downloads, 0 today
  • 26
  • 22
  • 39
ZyRail's Avatar ZyRail
Level 50 : Grandmaster Miner
26
Stake A Claim - Chunk Ownership (Old Book Version)
Minecraft v1.16.5 (January 31, 2021)


Check Out Version 2 At
https://www.planetminecraft.com/data-pack/stake-a-claim-version-2-floating-menus/


How To Get The Book
Chat Command
/trigger SAC_Get_Book

Block Protection By Claim
A data pack that will change players into adventure mode if not authorized to edit your claimed area. Soon as they leave the area they will be back into survival mode. You can lock your chests, doors, gates, buttons and more. Your mobs on your claim can also be protected by damage. There are 1,160,290,625 (65 to the power of 5) possible combinations for your ID Key!

How To Claim Land
Put any item with any amount in the first 5 slots at the bottom of your screen (HotBar) then use the book to create your ID Key ["Generate Your ID Key"]. The book will generate an ID Key depending on the amount of items in the stacks. Get some coin by seling crops in your off hand slot, see below. Then use the "Stake A Claim" book to claim some land ["Create A Claim"]. The claim will be one Minecraft chunk (Press F3 + G To See Chunk Borders). Everyone that doesn't have the same ID Key will be stuck in adventure mode on your claim. Give your friends the same combination you used in your ID Key to share a claim ["Reviews ID Key"].

Lock Doors, Chests, Or Other Objects!
You can lock doors, chests, levers, buttons, etc... in your claim with the "Stake A Claim" book. Use ["Lock At Location"] to set protection blocks around your position.

Animal Protection On Your Claim
You can toggle mob protection by the "Stake A Claim" book. Click on the text in the book to toggle protection on or off on any mob within 4 blocks of yourself if you are in your claim. If you hold the book in your main hand then the protected mobs will glow so you can keep track of the ones you have protected.

How To Create Plots
Then use the "Stake A Claim" book to create a plot ["Create Plot"]. The plot will be 1 Minecraft chunk (Press F3 + G To See Chunk Borders)

Claim And Plot Upkeep Cost
Now get out there and work the land PEASANT! Get Coins for selling Wheat, Wheat Seeds, Carrots, Potatoes, Poisonous Potatoes, Beetroots, or Beetroot Seeds. Put the item for sell in your off-hand slot. Coins are required to keep claims and plots active, up to 64 days. Claim owners will receive rent from the plots as players capture them or add more days. I also added the ability to turn your "Coin Balance" into physical "Coins" in your inventory so you can trade with your friends or setup a server shop. If you run out of time on your plot upkeep, it will turn back to an unclaimed plot. If you run out of time on your claim upkeep, it will turn into an unclaimed claim with an 8 day timer left on it. If no one claims it in 8 days, it will get deleted. A claimed plot on a deleted claim will also be deleted so the plot owner should try to claim it before the time runs out.

Rename Claims And Plots
You can rename claims and plots that you own. It is in the claim book under "Renaming Book". Click to receive a writable book if you are in your claim or plot. On the first page you will see {"text":"Name_Here"}. Change the Name_Here to the name you would like the claim or plot to be. Click "Done" not "Sign". Put the writable book, not a signed book, into your offhand slot. In the claim book click on the same command as before that you used to receive the writable book with. If you are within 2 blocks of your claim's or plot's floating text sign, the name will change. This uses JSON text so you could have colored names of claims and plots. minecraft.tools/en/json_text.php is the JSON text generator I use.

Creative Mode
Creative Mode players get a book that has commands on the last page if they run /trigger SAC_Get_Book while in creative mode. The first command "Max Out Timer" is to set the closest claim's timer to almost max, adding 1,179 days to the claim. The second command "Zero Out Timer" is to reset the closest claim's timer is zero. When the timer is set to zero the claim becomes unclaimed allowing others to take ownership. You can also set the cost of claims and upkeep.

To Install
Just place the *.zip file at \AppData\Roaming\.minecraft\saves\*world*\datapacks\ You do not need to extract the files from the zip.

To Uninstall
Remove all claims by hand first by using this command in chat at claim locations in your world.
/execute as @e[​type=minecraft:area_effect_cloud,tag=SAC_Claim_Spot] at @s run fill ~-8 1 ~-8 ~7 1 ~7 minecraft:bedrock replace

Then run the uninstall function
/function claim:uninstall

Non-Licensed
You have the right to share, use, and build upon this data pack for anything you wish, ENJOY!
CompatibilityMinecraft 1.15
toMinecraft 1.16
Tags

19 Update Logs

January 31, 2021 : by ZyRail 01/31/2021 11:50:11 pmJan 31st, 2021

Force Load 0,0
Added force load of chunk 0,0 to keep claim borders working if the server owner moves the spawn chunk from that location.

Check Out Version 2 At
https://www.planetminecraft.com/data-pack/stake-a-claim-version-2-floating-menus/
LOAD MORE LOGS

Create an account or sign in to comment.

2
04/13/2021 11:37 am
Level 1 : New Miner
Fahlur
Fahlur's Avatar
besides plugins for spigot/bukkit/paper being far superior. I think this is a great step for vanilla minecraft. However I have noticed if the owner is at his/her chests that others can access. This is understandable however considering how they are protected.



I have also noticed that with a tnt cannon you can get into someones base, you can if you get the shot right destroy the chests and get the loot. since the lock doesnt lock where blocks use to be around the chest, say below them. I was able to raid a test base with no real issues with a tnt cannon.



However I am unsure if theres any way around this other other than the player taking the initiative to add vanilla protections such as obsidian around where their chests are so that can not happen.



again I love the direction of this and keep up the great work with this datapack. It works on 1.17 as tested so far. unsure if any bugs exist but seems to work so far. I would also like to note this is actually perfect for a vanilla factions environment in its current state.
1
04/16/2021 1:28 am
Level 50 : Grandmaster Miner
ZyRail
ZyRail's Avatar
Please check out version 2 at the top of the description. I'm working out a few bugs at the moment. Version 2 is almost complete.
1
01/08/2021 3:07 am
Level 1 : New Miner
TheMineWolfer
TheMineWolfer's Avatar
Hi! Im using this datapack for a factions server on Minecraft Realms. I have another datapack for players to claim chunks for their factions, and am using this one to claim the spawn areas, etc to prevent people from griefing/opening chests at spawn. It worked great for a day, but now, whenever I try to trigger a command/create a claim using the book, I get the error "You cannot trigger this objective yet". I have researched this error but there is limited information on how to fix it. I feel I have tried almost everything. I am willing to provide any information required and will actively respond to/attempt suggestions. Thanks for the help!
2
12/15/2020 3:13 am
Level 34 : Artisan Dragon
_Jack_93_
_Jack_93_'s Avatar
Hi man, passing only for a greetings. You, my friend, are the best. Your datapack in my server is wonderfull. I modified it a little, but you know what I did. I'm thinking about inserting an automatic ID generator for who don't know what is an hotbar (trust me, there are a lot of people that don't know what is an hotbar, sadly)
2
01/02/2021 6:25 am
Level 50 : Grandmaster Miner
ZyRail
ZyRail's Avatar
Let me know if you need any big fixes on the modified claims pack.
2
09/26/2020 11:01 pm
Level 1 : New Miner
User3127655G
User3127655G's Avatar
Hi there Zyrail, thankyou for this datapack, it's so great to have a simple way for people to protect their builds on our server :) We have a bit of a problem though. The four chunks of a claim don't seem to be selectable when creating. Sometimes it selects the chunk you're standing in plus the one in front, sometimes the one behind. We may just be idiots and not using it right, but is there a specific direction we should face/block we should stand on to ensure we claim the chunks we want? Thanks again :) xx
2
12/13/2020 10:49 pm
Level 50 : Grandmaster Miner
ZyRail
ZyRail's Avatar
I updated the data pack to claim one chunk at a time now. Warning pack will not work if you have existing claims. Existing Claims will break!
1
09/10/2020 8:24 pm
Level 1 : New Network
Ladydarksky
Ladydarksky's Avatar
1.16.3 version not working, placed it in folder and it refuses to list the data pack
1
09/20/2020 1:22 pm
Level 50 : Grandmaster Miner
ZyRail
ZyRail's Avatar
I don't know your experience with installing datapacks so I will start this as a walk through and we will go from there.

You placed stack-a-calim.zip in the datapacks folder in your save game folder?

Sometimes you have to refresh the data pack by disabling and then re-enabling it.
/datapack disable "data pack file"
/datapack enable "data pack file"

If during "create new world" creation menu when adding a data pack in the "Data Packs" menu. You have to make sure that the data pack in the left column under 'Available" is moved over to the right column "Selected"

I don't know if someone else is having trouble as well..
1
07/04/2020 3:15 pmhistory
Level 1 : New Miner
H4ZA4
H4ZA4's Avatar
Your datapack causes an item duplication glitch in Economy.... you think u can fix that?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome