Info
Spigot plugin for 1.20+ allowing the claiming of chunks.
The destiny of chunks is to unite not to divide
Let's make the world ours.
Usage and more information can be found on the wiki. (Needs to be updated!)
- 1.20-1.20.6+ | The latest version works seamlessly (excluding bugs, of course).
- 1.17 - 1.20 | The latest known working version is 0.0.23-RC8.
- Newer versions of the plugin will require Java 17, but may still work.
- 1.13 - 1.16.5 | The latest working version is 0.0.22.
- Note: If you disable titles, 0.0.23 might work on version older than 1.17. If you experience issues, however, they may be more difficult to address.
- Pre-1.13 | The latest working version is 0.0.20
- Newer features of Spigot are used in builds 0.0.21 and later that make it incompatible with older versions.
- 1.9 - 1.12 | Should work without any trouble.
- 1.6 - 1.8 | Works when
useTitlesInsteadOfChatis set tofalseunder thetitlessection of the config.
If you have issues running an old version of the plugin on a Minecraft version within the above supported ranges, you may make an issue, and I should be able to help, but I won't be bringing newer features over. They officially have "minor bug support" status. Version 0.0.23 will be supported for slightly longer though, as this transition period may get funky.
For even more information, the SpigotMC page can be found here.
All Versions
+ Add Version- My stupid update checker
- Allow header customization for chunk list command in messages.json
claimchunk_am_trusted placeholder. The player is shown to be trusted if they have been granted any permissions for the chunk they're currently standing in. Players are shown as not trusted when the chunks are not claimed to mimic prior behavior./plugins/ClaimChunk/data folder not existing on first launch :)This update fixes, once and for all, the data loss issues we've been seeing
since I first created this plugin!
Migration:
- Should not require any extra work, keep your config the same for at least the first run.
- 0.0.26 will remove the database section of the config, but leave it be for your first launch to make sure old data loads.
- Prior data from JSON and from MySQL will be converted automatically to the SQLite data file, and JSON backups will be made for you in the
/plugins/ClaimChunk/datadirectory.
This update allows individual permissions to be granted on a per-chunk basis. These changes required a major overhaul
of the internal workings of the plugin. The commands have changed, and there have been some changes to the format used
to store the data.
Players will not need to make any changes to their claims as a result of this update; the data conversion process will
convert any existing accesses in such a way that they will continue to function as they did in 0.0.23.
- Note:** The messages.json and world.txt files may need to be recreated due to new additions to them in this update.
to the new world.txt files after they are recreated.
Changes:
- Access is now granted on a per-chunk basis, a chunk owner can grant another player access to only specific chunks
- When the data is converted from the 0.0.23 format, a player that has previously been given access by a chunk owner
- Players are now granted specific permissions on the chunks that they have access to (so for instance, a player could
- These permissions are:
- break: Allow the player to break blocks
- place: Allow the player to place blocks
- doors: Allow the player to open / close doors and trapdoors
- redstone: Allow the player to press buttons, levers, pressure plates etc...
- interactVehicles: Allow the player to interact with mine carts and boats
- interactEntities: Allow the player to interact with other entities (also allow the player to throw ender pearls
- interactBlocks: Allow the player to interact with blocks
- useContainers: Allow the player to open:
- Chests
- Trapped chests
- Barrels
- Furnaces
- Dispensers and droppers
- Hoppers
- Brewing stands
- Commands:
- The changes have involved significant changes to the
/chunk accesscommand; it has now been split into three
/chunk access <player> [break:true/false] [place:true/false] [doors:true/false] [redstone:true/false]
[allChunks:true/false]
- Give a player permissions on a chunk (or modify their existing permissions)
- All arguments except
playerare optional, and can be provided in any order - If
allChunks:trueis provided, the changes will be made to all the executing player's chunks. If false
to them)
- Any permissions not specified will retain their existing values (e.g. if the command is run without the
doors
not have access to the chunk already.
- usage example:
/chunk access examplePlayer break:true place:false allChunks:true /chunk checkaccess [<player>]- List the permissions the given player has on the chunk where the executor is standing
- If no player is provided, lists the permissions of all players with access to the chunk
/chunk revokeaccess <player> [ALL CHUNKS? true/false]- Revoke the given player's access to the chunk
- If all chunks is true, the player's access will be revoked from all the executor's chunks. Otherwise, only the
- Usage example:
/chunk revokeaccess examplePlayer false - Removed "am_trusted" placeholder
- Added new "CONTAINER" block class
- Added trapdoors to "DOOR" block class
- Added boats to "VEHICLES" entity class
- Changed default world profile permissions for players in claimed chunks who have not been granted access:
- Interacting with vehicles and monsters is now disallowed
- Damaging monsters is now disallowed
- Interacting with redstone is now disallowed