This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
iChunk
Introduction
This plugin is a chunk based protection system designed to be the most lightweight possible, it also allows the server owner to set a limit on maximum claimed chunks and also to set a different limit for players with VIP permission. The plugin also blocks multiple griefing methods from players to mob griefing.
Supported protections
Player breaking/placing blocks;
Block burning from fire (Configurable);
Fire spread (Configurable);
Dispensing liquids into protected chunks;
Sticky/normal pistions;
Growing crops;
Enderman picking blocks;
Zombies breaking doors;
Creeper explosion;
Player sleeping on beds;
Player empting/filling liquids;
Player interacting with chests, brewing stands, furnaces, dispensers, buttons, levers, etc;
Commands
All commands start with /chunk and uses parameters to perform actions. List of parameters:
Parameter
Description
Required permission
claim
Claims the chunk you're standing on.
iChunk.command.chunk
abandon
Abandons the chunk you're standing on, only if you own it.
iChunk.command.chunk
trust
Trusts a player to build/modify the chunk you're standing on.
iChunk.command.chunk
untrust
Untrust a player to build/modify the chunk you're standing on.
iChunk.command.chunk
info
Displays information about the chunk you're standing in.
iChunk.command.chunk
help
Displays all this information ingame.
iChunk.command.chunk
unclaim
Unclaims the chunk you're standing on.
iChunk.admin
forcesave
Force saving chunks.
iChunk.admin
Permissions
Node
Description
Default
iChunk.command.chunk
Gives access to chunk command.
Everyone
iChunk.command.chunk
Gives access to chunk command.
Everyone
iChunk.vip
Gives user vip status.
OP
iChunk.admin
Gives user ability to override all protections.
OP
Configuration nodes
Node
Description
Default
blockFireSpread
Blocks firespread on protected chunks, disable if you use WorldGuard and already disabled global firespread.
Also cancels blocks getting ignited by fire.
false
blockLiquidSpread
Blocks liquid flow (lava/water) into protected chunks (Liquid can still spread to non-protected chunks or between chunks protected by the same player).
true
defaultClaimLimit
Chunk claim limit for players without "iChunk.vip" permission.
10
vipClaimLimit
Chunk claim limit for players with "iChunk.vip" permission
30
chunkClaimCost
Chunk claim cost, only enabled if Vault is present.
100
protectUnclaimed
Disallows building on unclaimed chunks.
false
Source code
The source code can be found here, feel free to contribute!
Final words
First of all, thank you for visiting my plugin!
I'm open for all suggestions and also for any help towards improving the plugin performance and also to all contributions!
1. If I do /chunk unclaim nothing happens. (only i get the message /chunk [...]
2. I have made a global flag (worldguard) build deny. If someone claims a chunk he´s not able to build there. Could you make it so that the worldguard flag will be ignored in claimed chunks?
Ok, got you, first gotta checkout what is vault (yes, i don't know what it is :P), for the regions you can simply disallow/allow commands with worldguard, use the _global_ region for the whole map and specify regions that you can use the /chunk command.
Can you please add Vault Support (optional depency) to set the price for buying a chunk
Great Plugin can you make it so that admins have to select a region first (with worldedit wand tool) where players can buy. (optional depency).
Imagine you are a server owner and you have worldedit but you dont want to select these regions first so there should be a config node (like that): selectbuyablechunksfirst: true/false
@darkness1999
1. Derp on my part.
2. From what i've readed of worldguard API i can only set/unset build flags and not override them for the region, i will keep looking arround.
Also for the translation, i might take a few days due i'm busy with other updates but vault+economy integration is done and functional.
Bugs:
1. If I do /chunk unclaim nothing happens. (only i get the message /chunk [...]
2. I have made a global flag (worldguard) build deny. If someone claims a chunk he´s not able to build there. Could you make it so that the worldguard flag will be ignored in claimed chunks?
Great idea with worldguard and a great plugin :)
I must ask for one more thing: Could you add a translation file (I would like to translate your plugin to german)
@darkness1999
Ok, got you, first gotta checkout what is vault (yes, i don't know what it is :P), for the regions you can simply disallow/allow commands with worldguard, use the _global_ region for the whole map and specify regions that you can use the /chunk command.
Can you please add Vault Support (optional depency) to set the price for buying a chunk
Great Plugin can you make it so that admins have to select a region first (with worldedit wand tool) where players can buy. (optional depency).
Imagine you are a server owner and you have worldedit but you dont want to select these regions first so there should be a config node (like that): selectbuyablechunksfirst: true/false
looks nice will test it out tomorrow