Minecraft Data Packs / Game Mechanic

Stake A Claim (Version 2) - Floating Menus!

  • check_circle Functions
  • 9,212 views, 8 today
  • 729 downloads, 1 today
  • 29
  • 20
  • 15
ZyRail's Avatar ZyRail
Level 50 : Grandmaster Miner
26
Stake A Claim (Version 2) - Floating Menus!
Minecraft v1.19.3 (February 2, 2023)

Only Works in the Overworld in Minecraft 1.18+


To get this data pack for Minecraft v1.17 go here.
https://drive.google.com/file/d/1m130K1mb3-o_RrlutY--FLHpYRYcXczW/view?usp=sharing


To get this data pack for Minecraft v1.16.5 go here.

https://drive.google.com/file/d/171NdnBP0Mskqqn48QA_OSH8ibyQ01QJu/view?usp=sharing


EconomyPlus Plugin Link
Use this alternative if you have EconomyPlus installed.
EconomyPlus Plugin - [​Claims] - Updated 12-08-2021



How To Get Claim Stake
Chat Command
/trigger SAC_Get_Stake

Block Protection By Claim
A data pack that will change players into adventure mode if not authorized to edit your claimed area. As soon as they leave the area, they will be back into survival mode. You can lock your chests, doors, gates, buttons and more. TNT and TNT Minecarts are removed next to a claim. 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 Use
First get two claim stakes by typing /trigger SAC_Get_Stake. Put items with any amount in the first 5 slots on the bottom row of your screen. Then drop one claim stake on the ground to start the claim menu. I added the command "/trigger SAC_Menu" to be able to open the menu without the Claim Stakes if you so choose. Right click on the text to navigate the menu. Go to [​ID Key], then [​Generate ID Key]. Numbers will appear on your screen. The numbers are exactly the quantities of items in the first 5 slots of your item bar and will be your claim "ID Key". You can change this key to the same as your friends to share claims as well.

Get some coin by selling crops or seeds by puting the crop or seeds in your off hand slot and using the [​Sell/Buy Items], then [​Sell Items] menu. Right click on the amount you would like to sell.

To create a claim, use the menu, then click [​Create 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. To get your ID Key to display again, start the menu. Go to [​ID Key], then [​Review ID Key]. Let your friends know your "ID Key". Your friend then can put the same quantities in the first five slots in the bar at the bottom for their screen and then have them [​Generate ID Key] like before.

Get A Lost Claim ID Key
[​Request Claim Key] in the ID Menu, you can recall your claim's ID Key if you forget it. You can also just change the claim's lost ID Key to your characters current ID Key in [​Claims/Plots], then [​Claims], then [​Manage], then [​Set Key To Claim].

Lock Doors, Chests, Or Other Objects!
You can lock doors, chests, levers, buttons, etc... in your claim. Use [​Lock Block Options], then [​Lock Blocks] to set protection barrier blocks around your position.

Animal And Item Frame Protection On Your Claim
You can toggle item frame and mob protection. Navigate the menus [​Protect Mobs], then [​Protect Mobs] to toggle protection on or off on any item frames and mobs within 4 blocks of yourself if you are in your claim or plot. If you hold the claim stakes in your main hand then the protected mobs will glow so you can keep track of the ones you have protected. They only stay protected in plots or claims.

How To Create Plots
Then use the menus to create a plot. [​Claim/Plots], then [​Create Plot]. The plot will be 1 Minecraft chunk within your claim. Plots are used as a sub claim so you can rent them out to other players within your claims. Plot owners will only have access to their plots within your claim.

Claim And Plot Upkeep Cost
Now get out there and work the land YOU 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 create and then rename claim and plot signs. To create a sign, use the menu [​Claims/Plots], then [​Claims], the [​Signs], then [​Create Sign]. To rename a claim sign, use the menu [​Claims/Plots], then [​Claims], the [​Signs], then [​Get/Use Renaming Book]. You will receive a Book and Quill with some text inside. Change Name_Here to the name you would like your claim. JSON text works too. Example is replace all text in book with ["",{"text":"Zy","color":"green"},{"text":"Ra","color":"yellow"},{"text":"il","color":"blue"},{"text":"'s","color":"red"},{"text":" Cl","color":"gold"},{"text":"ai","color":"aqua"},{"text":"m","color":"light_purple"}] to see ZyRail's Claim in different colors. Then click the Done button on the right to close the book without signing. Then hold the book in your off hand and go back through the menu to [​Claims/Plots], then [​Claims], the [​Signs], then [​Get/Use Renaming Book] again to set the name. If you are within 2 blocks of your claim or plot's floating text sign, the name will change.

Cancel A Claim For Sell
To cancel a claim for sell, set the price of the claim to zero.

Admin Menu
The Admin menu will show for players in Creative Mode. There, you will find server options containing the cost of upkeep per day and the cost to create a claim. Creative players can also change the time left on claims in [​Timers]. [​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. [​Max Out Timer] is to set the closest claim's timer to almost max, adding 1,179 days to the claim.

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 -63 ~-8 ~7 -63 ~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.18
toMinecraft 1.19
Tags

10 Update Logs

Claim Border Fix : by ZyRail 02/02/2023 10:35:09 pmFeb 2nd, 2023

Fixed it so a player can't destroy blocks in your claim from outside your border looking in again.
LOAD MORE LOGS

Create an account or sign in to comment.

User3611846G
05/19/2021 11:04 pm
Level 1 : New Miner
User3611846G's Avatar
IS THERE A WAY I CAN REMOVE SOMEONE ELSES CLAIM AS AN ADMIN?
1
ZyRail
05/21/2021 7:39 pm
Level 50 : Grandmaster Miner
ZyRail's Avatar
First get into Creative mode. In the floating menu select [Admin], [Timers], [Zero Out Timer]. When the timer is set to zero the claim becomes unclaimed allowing others to take ownership. Do it again and the unclaimed claim will disappear.
1
ZyRail
04/18/2021 1:14 pm
Level 50 : Grandmaster Miner
ZyRail's Avatar
Does anyone have a server out there with this data pack? I'm looking for a server to hop on once and a while. I created this pack to make PVE servers a little more possible. It would be a plus if Ore Bees and or Portable Ender Chests was installed too.
1
CrazyBuffal0
04/26/2021 8:30 am
Level 1 : New Crafter
CrazyBuffal0's Avatar
let's do it. mc.crazybuffal0s.com dm me your IGN for the whitelist.
2
CrazyBuffal0
04/14/2021 5:06 pm
Level 1 : New Crafter
CrazyBuffal0's Avatar
This is great because my server already uses the EconomyPlus pack but I have a problem. I can't click on Claims to get into the claims sign interface.

I don't think it's me. Are you working on the accuracy of menu clicks still?

Thank you for making this!
1
ZyRail
04/14/2021 9:06 pm
Level 50 : Grandmaster Miner
history
ZyRail's Avatar
I found a bug where the menus don't work if your aren't holding your claim stick when navigating through the menu system. I will have to investigate further. Is that the case?
1
CrazyBuffal0
04/15/2021 9:26 am
Level 1 : New Crafter
CrazyBuffal0's Avatar
I also found a bug where the price doesn't show when setting a claim sell price. Only the $ is visible. Once you finish setting the price and confirm, it is displayed properly.
1
ZyRail
04/16/2021 1:12 am
Level 50 : Grandmaster Miner
ZyRail's Avatar
Thanks I will look into this as well. I have been working all week getting the menus spaced evenly. Expect an update within two days hopefully.
1
CrazyBuffal0
04/15/2021 9:01 am
Level 1 : New Crafter
CrazyBuffal0's Avatar
Yes, that was the issue. Great!

You may want to look at claim creation menu too I think I ran into a few instances where it text gets overlaid on other text and it's darn near impossible to figure out where to click.

Let me know if you need any further troubleshooting help. I'm glad to do it.
1
ZyRail
04/16/2021 1:15 am
Level 50 : Grandmaster Miner
history
ZyRail's Avatar
After next update players can navigate menus without the sticks in hand. Also players will be able to trigger the menu with a command in next update as well.
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome