Minecraft Data Packs / Adventure

Chunk Claim datapack

  • check_circle Functions
  • 14,507 views, 7 today
  • 1,409 downloads, 0 today
  • 25
  • 22
  • 51
E4ry avatar E4ry
Level 67 : High Grandmaster Programmer
106
Chunk Claim recap:
With the Chunk Claim datapack is it possible to claim chunks, like what the name said. This datapack can be used in every situation, it's not special made for survival.

Customization:
Possible to change gamemodes: so it's not usual that you go in adventure when you are entering someone's chunk.
Customization in messages
Customization in chunk protection
Customization in groups: there are three groups in total: default, VIP and OP. For each group is it possible to change the amount of total chunks to claim.

When you have installed the datapack, everyone is going to survival automatically. Change in the datapack menu, the gamemode when you are outside someone's chunk.
Command menu: /function cc:menu

If you found a bug please report it :D


Chunk Claim tutorial:
This is not a really complicated datapack, so it's not a really long tutorial:

Trigger commands:
/trigger c_claim: With this command is it possible to claim a chunk
/trigger c_info: Here can you find your information: total chunks, chunk limit, group, players list, friends list, your ID and your friend ID
/trigger c_invite: Invite a player to your chunk, you can only join one chunk in total!
/trigger c_remove: Remove someone from your chunk
/trigger c_unclaim: Unclaim your chunk

Every player has a player ID, if you want to invite your friend in your chunk use than this command: (same for removing a player)
/trigger c_invite set ID

Type instead of ID the number of the ID from the player you want to invite. The player can see his ID on tab or in the information menu. If you have invited someone in your chunk, the person will have your ID as friend ID. When the player reset's his Friend ID, he automatically will be removed from your chunk. It's possible to reset your Friend ID in the information menu.

Menu:
Gamemodes:
Gamemode in owned chunk: the gamemode when you are in your owned chunk
Gamemode outside chunk: the gamemode when you are in no-man's land
Gamemode in someone's chunk: the gamemode when you are in someone's chunk
Gamemode in friend's chunk: the gamemode when you are in your friend's chunk

Titles:
Here is it possible to enable/disable the messages that you get when you are entering specific chunks.

Other:
Lessgrief: Give you the specific gamemode when you are in someone's chunk earlier, to prevent players to break blocks when they are one block outside the chunk.

Chunk protection: This function makes it possible that you cannot enter someone's chunk. Because only adventure is not enough to prevent players from griefing.

ClaimChunk OP: When you have ClaimChunk OP, that not means that you are in the OP group, but that you are immune for gamemodes. So' you don't get a specific gamemode when you are entering someone's chunk.

Groups:
Here is it possible to change the total chunks limit for each group and is it possible to add players to a specific group.

So far I know is there only one way to grief in this datapack D:
When a player claims a chunk next to an other player, he won't get adventure (this case) so far the player stays in his own chunk. That mean's that the player can break block's in someone's chunk, so far the player stays in his own chunk.

Watch the video if you don't understand something. And please if you found bugs report them :D

CompatibilityMinecraft 1.13
toMinecraft 1.17
Tags

1 Update Logs

Version 1.1 : by E4ry 09/14/2020 3:32:49 pmSep 14th, 2020

This is a small update and can have some bugs, because I made it in a really small time.

Added help menu:
Remove current chunk: removes the chunk where you stands on
Remove all chunks: removes all the chunks that are loaded in
Change chunk amount player: Change the amount of chunks that a player has claimed.

It's sounds not important, but if you delete someone's chunk, the chunk amount of that player will not change. So it's to solve some problems when you remove someone's chunk.

If you want to see how much chunks a player has you can use the command:
/scoreboard players get player CC_C_Total

If you found bugs or i forgot something please let me know :D

Create an account or sign in to comment.

2
01/12/2022 5:37 pm
Level 1 : New Miner
User3988438G
User3988438G avatar
hello i have a few problems and questions i would like to ask. my admin account gets reset to survival and can no longer go back into creative because the chunks constantly set the players game mode as survival how would i fix that? also is there any way to see other peoples claims including your own? thanks
1
01/12/2022 6:17 pm
Level 67 : High Grandmaster Programmer
E4ry
E4ry avatar
You need to change the gamemode for people outside someone's chunk to keep getting to survival mode :)
It's possible to do that with the /function cc:menu command

It's sadly not possible in this datapack to view directy if a chunk is claimed or not D: (beside the titles)
1
01/08/2022 12:13 pm
Level 1 : New Miner
MRnanner
MRnanner avatar
so can you invite a player to only one chunk or will it give them acces to other chunks
1
01/08/2022 6:19 pm
Level 67 : High Grandmaster Programmer
E4ry
E4ry avatar
It gives access to all the chunks that that player owns :)
1
12/29/2021 3:04 am
Level 1 : New Miner
CameroCross
CameroCross avatar
Does this works for 1.18
1
12/29/2021 5:13 pm
Level 67 : High Grandmaster Programmer
E4ry
E4ry avatar
Yes.. so far i know
1
07/14/2021 5:43 pm
Level 1 : New Miner
K21
K21 avatar
is there a way to make it so that you can allow players to visit your chunk but not allow them to break blocks, open chests, burn blocks, etc?
1
07/14/2021 9:52 pm
Level 67 : High Grandmaster Programmer
E4ry
E4ry avatar
That's unfortunaly not possible so far i know because of the limits that you have with making datapacks D:
1
07/08/2021 4:19 pm
Level 1 : New Miner
EClincoln
EClincoln avatar
Is there anyway to change the chunk limit instead of only having 5
1
07/08/2021 4:36 pm
Level 67 : High Grandmaster Programmer
E4ry
E4ry avatar
That's possible the only thing that you need to do is: read :)
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome