Minecraft Data Packs / Adventure

Chunk Claim datapack

  • check_circle Functions
  • 8,387 views, 47 today
  • 746 downloads, 9 today
  • 21
  • 16
  • 38
E4ry avatar E4ry
Level 64 : High Grandmaster Programmer
80
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.16
Tags

1 Update Logs

Version 1.1 : 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.

1
05/04/2021 12:45 pm
Level 1 : New Miner
trefulow
trefulow avatar
лллллллллллллллллллльл
2
03/27/2021 10:54 amhistory
Level 1 : New Miner
martin1000
martin1000 avatar
SaveCancel
Hay very nice datapack, batter then plugin!
2
03/09/2021 8:07 am
Level 1 : New Miner
Gamebor
Gamebor avatar
Because the trigger command just doesnt work, I cant claim Chunks
2
03/09/2021 10:41 am
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
You installed it the wrong way D:
3
03/09/2021 8:06 am
Level 1 : New Miner
Gamebor
Gamebor avatar
Does the datapack work in 1.15.2?
2
03/09/2021 10:41 am
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
yes
2
02/16/2021 11:06 am
Level 4 : Apprentice Miner
vip2kea
vip2kea avatar
I have a question, if player A claimed a chunk next to player B, is there a way to make it so player A can't break part of player B's chunk? Thank you.

Very nice data pack, I will definitely use this on my realm.
2
02/16/2021 3:05 pm
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
"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.''

I copy paste it from the chunk claim tutorial, but that is something that i didn't found a solution for quickly when i made this datapack D:
1
02/04/2021 5:01 am
Level 1 : New Miner
AKtomik
AKtomik avatar
I can't get creative anymore, is that normal?
1
02/04/2021 1:48 pm
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
yes because you need to change the datapack settings
1
02/11/2021 2:21 amhistory
Level 1 : New Miner
BlockScientist69
BlockScientist69 avatar
But how????
1
02/11/2021 1:37 pmhistory
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
watch the video i made everything really clear and otherwise you can read the tutorial of this datapack..
1
01/06/2021 3:02 am
Level 1 : New Miner
martin1000
martin1000 avatar
Hm can i put my server to 1.17 and put this datapack out or not!?!?
1
01/06/2021 1:34 pm
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
I think the datapack still works in 1.17 :D
1
02/01/2021 11:00 am
Level 1 : New Miner
martin1000
martin1000 avatar
How datapack can disable placing blocks for other players, how u can make this function, beacouse i am internested!
1
02/02/2021 2:33 pm
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
It's technicaly not possible but there are some tricks to made it a look a like. In this case i teleport players away from someone's area or turning adventure mode on.
1
12/26/2020 10:35 pm
Level 1 : New Miner
cMickey
cMickey avatar
Do you have to have op or perms to use this?
1
12/27/2020 8:41 am
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
For changing the settings, yes.
1
12/21/2020 4:28 am
Level 1 : New Miner
martin1000
martin1000 avatar
Is compatibility with 1.17 snapshots!
1
11/29/2020 2:56 am
Level 1 : New Miner
Atiax
Atiax avatar
how can i change my gamemode i looked at it in the menu but it doesnt work
1
11/29/2020 7:09 am
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
You can change it in the datapack menu by the section gamemodes.
1
12/01/2020 9:06 am
Level 1 : New Miner
Atiax
Atiax avatar
yea i did that it may be a conflict between some of my other datapacks =
1
10/25/2020 3:17 pmhistory
Level 33 : Artisan Waffle
BruceVII
BruceVII avatar
I think i found a bug with the friend system. When i (ID 1) invite someone to be my friend and they accept, it'll set their friend score to -1 instead of 1. However, when my friend (ID 3) invites me and i accept everything works fine. Any way to fix this?



Edit: It could be client-sided since i have some other datapacks installed on my server (Vanilla 1.16.3), but as far as i know they don't interfere with eachother.
1
10/25/2020 4:56 pm
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
If looked really quickly in it and so far i can see it's only possible if the player first denied the request and than later accept the same request.
If you reallly want to add them than you need to set their score of CC_Friend_ID to your ID number.
So far i see there is nothing wrong with the code D:
2
11/12/2020 9:59 amhistory
Level 33 : Artisan Waffle
BruceVII
BruceVII avatar
i've looked into it and it turns out, it wasn't compatible with one of the datapacks installed. One more question though, there's this weird black effect following me even though i killed all area effect clouds + i uninstalled the pack. How can i remove the effect?
1
11/12/2020 11:26 am
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
My datapack can't cause effects D: so it's maybe from an other datapack that's cause it. The area effect clouds that my datapack uses are not visible and are not arround of the players.
1
11/26/2020 5:45 am
Level 33 : Artisan Waffle
BruceVII
BruceVII avatar
I've figured it out, it was in fact another datapack i had installed that messed things up; nothing turned out to be wrong with the one you made :D. Sorry for making you look through the pack searching for a bug that didn't exist.
1
11/26/2020 10:48 am
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
oh no problem xD
1
10/24/2020 2:32 pm
Level 1 : New Miner
121WesterLund12
121WesterLund12 avatar
Also, i have another question. Is there any way i could make it so that you can change your gamemode thru commands with this datapack? i have a spectator datapack and im wondering if there is a way i could make it work with this datapack, because every time i try to change gamemode it goes back to the chunk gamemode.
1
10/25/2020 7:46 am
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
You can change the gamemodes in the datapack menu?
1
10/20/2020 2:44 pm
Level 1 : New Miner
121WesterLund12
121WesterLund12 avatar
Hello! is there any way that i can make it so that other players can enter claimed chunks without being invited?
1
10/20/2020 4:45 pm
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
You need to disable chunk protection
1
10/21/2020 2:26 am
Level 1 : New Miner
121WesterLund12
121WesterLund12 avatar
Ok ty
1
06/30/2020 9:09 am
Level 1 : New Miner
Ciukko
Ciukko avatar
276/5000


I accidentally set up someone's chunk and I can't remove it. forgive me but from the video I didn't understand this function. how do i disclaim all chunks and reset everything? I also tried to uninstall the datapack and reinstall it but the chunk remains "someone's chunk"
1
06/30/2020 10:58 amhistory
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
Everyone chunk is connected to someone's ID. Only a person with the same ID can remove a chunk. If you want to remove all the chunks, than you can use this command: /kill @e[​type=minecraft:area_effect_cloud,tag=CC_Claimed]


It remove only the chunks that are loaded in. If you want to remove a specifc person's chunk you need to set your ID to that player ID, shift on the player's chunk and than you can see wich ID player has that has claimed the chunk. Than use this command to set your own ID to the person's ID, don't forget to set it back to your old ID, when you have unclaimed the chunk. Command: /scoreboard players set @s CC_ID id
1
06/30/2020 1:31 pm
Level 1 : New Miner
Ciukko
Ciukko avatar
thank you very much!
1
06/27/2020 12:31 am
Level 2 : Apprentice Explorer
_BilboSwaggens99
_BilboSwaggens99 avatar
So someone can only join ONE chunk? That defeats the purpose of building with a group of players in survival...
1
06/27/2020 1:05 amhistory
Level 64 : High Grandmaster Programmer
E4ry
E4ry avatar
Someone can add everyone to his chunks. Don't forget that you have your own chunks with that chunks of one friend. Everyone can have the same one friend. It's really difficult to make in my system it possible to join multiple chunks. And if you don't like it, use than another datapack :D
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome