ChunkClaim
ChunkClaim will be a new simple grief protection plugin for creative mode servers. Basically players can claim chunks (a 16x16 plot) just by starting to build in them. It's simple and intuitive. The Chunk is protected against Block Breaking, Water and Lava Flow, Explosions, Piston movement and other griefing methods. Players can own multiple chunks, the number of chunks is limited to prevent block spamming.
Claiming chunks works nearly without commands, but building alone is boring. You can trust other players with a simple command (/chunk trust <player>). And if your building is bigger than one chunk, you can trust players in all of your chunks in a radius (/chunk trust <player> <radius>).
This plugin is still under development. I made this plugin to replace GriefPrevention on my server, because it is too difficult for new players and there is too much unused space between claims. Also, it is hard to delete claims.
Installation & Configuration
Just drop the plugin into your plugins folder, then start the server. The plugin will create a folder for the configuration and the data storage. The plugin is only enabled for worlds listed in the config.yml! Add the worlds you want! - Advanced Configuration
Commands and Tools
Claiming
Just place or remove a block in a chunk to claim it. You have to confirm that you want to claim a chunk that is not next to a chunk you own with /chunk claim To prevent landscape griefing, you can't claim chunks by placing water, lava or saplings
Player Commands
Command | Description |
---|---|
/chunk | Displays information about the chunk you are in (Owner, Trusted builders etc.) |
/chunk credits | Shows your credit count. |
/chunk abandon [radius] | Abandons the chunk you are in [or all chunks in a radius] |
/chunk trust <player> | Trust a player in all chunks you own. |
/chunk untrust <player> | Untrust a player. |
Admin Commands
Command | Description |
---|---|
/chunk | Displays additional information about the chunk (last login, status of the chunk) |
/chunk bonus <player> <+-credits> | Adjust the credits of a player |
/chunk delete | Delete the chunk you are in. The owner gets one credit back. |
/chunk delete <player> <radius> | Delete all chunks owned by a player in a radius |
/chunk deleteall <player> | Deletes all chunks owned by a player. Be careful with this... |
/chunk ignore | You can build anywhere. The problem is that you don't claim public chunks in this mode. |
/chunk bonus <player> <+-credits> | Adjust the credits of a player |
/chunk list <player> | Lists up all chunks owned by a player |
/chunk next | teleports you to a random claimed chunk (useful for inspections) |
Permissions
Permissions Node | Description |
---|---|
chunkclaim.claim | Access to all player commands. |
chunkclaim.admin | Admin commands. |
Current Features
- Simple Config (now with more options!)
- Multiworld Support
- Simple Claiming
- Automatic Land Regeneration (now optional!)
- Configurable credit system
- Optional: Players can use wolf/ocelot eggs for credits.
- Chunk Borders are highlighted
- Admin Tools
Supported Protections
- Place and Break Blocks
- Empty and Fill Buckets
- Chest/Furnace Access
- Dropping Items
- Animals
- Piston theft
- Water and Lava Flow
- Dispensed Water and Lava
- Tree Grow
General Protection
- Item drops disabled (except for written books)
- Fire Spread and Fire Destruction disabled
Planned Features
- Chunk Snapshots (resetting chunks on custom maps)
Other Ideas
- Use the in-game map to find unclaimed chunks
- MySQL Support
I need your help!
I'm not a perfect java programmer. PM me if you want to help.
@NemesisMate
I implemented your idea. Waiting for file approval ;)
@schmidtbochum
Ok, I recommend you to see my changes, them are easy to understand and gives some storage optimization and adds toggleable functionality. I touched a little bit the code too to be a little more readable.
If, when you have time you look it and you add it to your project I'll be glad to do some other changes and try to help on improving it.
@weggaz @weggaz
Sorry, this plugin was designed for creative servers, not for survival and not for factions.
You can modify it though, here is the source code: https://github.com/schmidtbochum/ChunkClaim
maild me and we talk if u help me i donate to u
[email protected]
can u please make this plugin so that we can let users drop items with q + pickup the diri or any matrtial they dig up in the claim land?
If u fix this MANY will use this plugin and WE will donate!!
One more thing is to add a Tag in chat (essentials) with the name of yout claim - clan
/Wb
@NemesisMate
No, this plugin is not dead. I just don't have the time to review all the code changes you did. I'm having my final exams in 2 weeks... I will update this plugin though, because my server depends on it. It should work with 1.5, as it only uses the Bukkit API.
@jamsessionein
I had the idea to save a "snapshot" of the chunk when a player claims it. I will see if I can implement your idea.
@docwho123456
Actually the plugin should work with 1.5. I'm not supporting the dev builds though. Use the last spigot 1.4.7 build with activated snapshot protocol if you want to support 1.5 clients.
Is this plugin abandoned?, I did a pull request some time ago with only good stuff and the only answer is that I'm using something bad when this bad use was fixed.
If it's abandoned it would be great to know to not depend on it.
Thanks.
This is a great plugin, but I'd like a configurable option to prevent the auto-regeneration when a chunk is abandoned. On maps with custom terrain, this is basically disastrous, as any chunks that expire or are otherwise abandoned or reset end up carving huge swaths out of my terrain. I'd take the random mess of abandoned builds over that. :(
This is an epic plugin, It really need a 1.5 update though
@StrangerPL
https://github.com/schmidtbochum/ChunkClaim
@schmidtbochum
I wanna help U this plugin can be great. Only give me a source or call me on skype. My skype: przemekp77777
@schmidtbochum
:S I replaced that because of this reason. I tried the code and it was working :S. Maybe seeing an old version?
Edit: I just saw the entire code ant I don't find my lastchunk usage. The final pull request I did (071fdb8) hasn't it and improved the saving method so only users with chunkclaim rights are stored.
The previous pull is the same without this improvement. (9c99053)
@NemesisMate
I'm currently reviewing the code. playerData.lastChunk is just the last chunk the user interacted with. A null value doesn't mean that he owns no chunks.
Did you take a look at my last pull request on github?, I add the feature I comment. No performance is affected. I added an option to activate/deactivate it on config.
@travja
This plugin was not made for survival... It doesn't make sense to restrict all building and mining to claimed chunks. For survival, take a look at griefprevention.
@DjBuRnOuTQc
The problem is, it would delete all buildings, even the nice ones. Use /chunk next and /chunk delete for a manual check.
A nice feature would be an option in the config to remove chunks from a player that hasn't logged in for 30 days.
Hey, it would be nice to have block drops... seems how I will be using this for survival... Could you make the protections toggleable?
Does this protect against PvP, if not it's ok
What a great plugin! Simple implementation, easy execution, and robust to boot. I'm very impressed.
@creativenation
Check the DataStore Class. There are 3 or 4 functions that use Bukkit's location.getChunk() functions. I know, the source code is not organized and not flexible. I currently don't have the time to change it.