Idea inspired by FTB Chunks
This mod is server-side
By contributing to this project, you agree to release your work for this project into the public domain.
This mod saves data for this mod in world/data/claimr.json
, under the following format:
{
"chunks": {
"dimension;chunk_x:chunk_z": "group_name"
},
"groups": {
"group_name": {
"owner": "0228224b-0143-489d-8ff3-60332602eb87", // UUID
"members": {
"1fbfc08c-1e1f-4124-a56b-e4f14dae2319": 1 // Rank
}
}
}
}
chunks
contains chunk claim data.
groups
contains group data.
group_name
will be a user-selected group name.
owner
contains the UUID of the owner of the group
members
contains a UUID with a rank level:
0 - No affiliation (shouldn't be present in JSON file, used internally)
1 - Can interact within the claim
2 - Can manage members
3 - Is the owner (shouldn't be present in JSON file, owner is set in the owner
field)
>
- Redirects to another command
-
- Description of command
/claimr > /claimr help /claimr help - Shows help for this mod. /claimr info [<debug>] - Shows info about the mod <debug> - boolean Shows additional info, needs permission level 3 and above. Defaults to false /claimr claiminfo > /claiminfo /claimr claim > /claim /claimr unclaim > /unclaim /claimr unclaimall > /unclaimall /claimr group > /group /claiminfo - Shows info about the chunk at your posisition. Example response: Chunk Location: minecraft:overworld;0:1 This chunk is unclaimed Example response: Chunk Location: minecraft:overworld;6:-9 Claimed by: SwanX1 /claim <group> - Claims the current chunk, throws error if you aren't a manager of the group or if the chunk is already claimed. <group> - string; Determines the group you are claiming this chunk for. /unclaim - Unclaims the current chunk, throws error if you aren't a manager of the group or if the chunk is not claimed by the group. /unclaimall <group> - Unclaims all chunks claimed by the group, throws error if you aren't a manager of the group. <group> - string; Determines the group you are unclaiming this chunk from. /group create <group> - Creates a group, throws error if group already exists. /group add <group> <...players> - Adds members to group, will not overwrite rank, throws error if group doesn't exist or if your rank is too low (needs to be >1) /group remove <group> <...players> - Removes members from group, will not remove managers, unless you're the owner, throws error if group doesn't exist or if your rank is too low (needs to be >1) /group promote <group> <...players> - Promotes members in group, throws error if group doesn't exist or if your rank is too low (needs to be >2) /group demote <group> <...players> - Demotes members in group, throws error if group doesn't exist or if your rank is too low (needs to be >2) /group transferownership <group> <player> - Transfers ownership of group to new player, you stay as group manager, throws error if group doesn't exist or if your rank is too low (needs to be >2)