MyChunk (and Ganglands)
ANNOUNCEMENT 01 June 2019 MyChunk returns! Due to my involvement in a new minecraft server, MyChunk is back... but in a slightly different form than before (a better one!)
IMPORTANT This plugin no longer uses signs to claim/unclaim etc. As great as that was as a feature, as the plugin has grown it became unmanageable. Everything is done via commands now... however it is full integrated with Tab Completion to help users find the command they need.
Introducing GANGLANDS
I always wanted to upgrade MyChunk to include group protection similar to plugins like Factions and Towny.... and now I have!!!
Starting from version 3.0.0 of MyChunk, you can now download the optional GangLands addon (required MyChunk) to add the /gang commands, which allow you to form a gang, claim land for your gang, and declare ally gangs to share gang lands, and enemy gangs to start a gang war!
This is a major update to MyChunk and may contain some bugs. Please use the issue tracker to report any bugs you may find.
What is MyChunk
MyChunk is a land protection plugin designed to keep things simple. Simple commands with tab completion, easy to understand permissions and configuration, and working alongside previous protection plugins like Towny and Factions.
Easily claim a chunk and get instant protection from other players and from mobs, as well as protection from fire spread and water and lava griefing.
Requirements
This plugin does not REQUIRE the installation of any other plugins. However, if you want to make use of the economy options, such as charging to claim a chunk, the plugin requires the Vault plugin (and an economy plugin of course).
Video Tutorial
Unfortunately the previous video tutorial series for MyChunk is no longer valid. I'll look at creating a new one! If you want to make one to be featured here, please let me know!
MyChunk Features
- Claim a chunk for yourself that is protected from other players and from mobs (depending on config)
- Claim Server chunks to protect important areas
- Claim Public chunks to allow construction but prevent claiming of certain areas (useful for servers using "Protect Unclaimed")
- Allow and Disallow access permissions to other players on a chunk-by-chunk basis
- Use Allow* and Disallow* to manage access permission for all your chunks at once
- Claimed chunk is marked in all corners with torches on the highest block when you claim it
- Limit the maximum number of chunks a player can claim both globally and with individual/group permissions
- Option to limit building to claimed chunks only (Protect Unclaimed)
- Option to prevent claiming in Nether or End worlds
- (With Vault and an economy plugin) Charge players for claiming chunks
- (With Vault and an economy plugin) Option to give a refund for unclaiming chunks
- (With Vault and an economy plugin) Option to allow claiming above the max limit for an additional fee
- (With Vault and an economy plugin) Option to remove the overbuy fee when buying from another player
- (With Vault and an economy plugin) Sell chunks for profit using ForSale command (and NotForSale command)
- Chunks you own are protected from griefing by other players or by creepers
- Doors, hatches, fence gates, buttons, levers, pressure plates, paintings and item frames are protected from griefers
- Doors are protected from being bashed in by zombies
- Chests, Furnaces, Dispensers and Brewing Stands are all protected, as are all the new 1.14.2 blocks
- Claim chunks for other players or for the server (with permission)
- Configurable PVP in owned chunks
- Configurable mob spawning/damage in owned chunks
- Fire cannot spread in owned chunks (including from lava)
- Automatic unclaiming of land for inactive players (Optional and configurable)
- Customise messages using the lang.yml file
- Works with Factions and Towny to prevent double claiming of chunks
- Full Tab Completion for all commands (contextual based on permissions)
GANGLANDS Features
- Start a gang and invite others to join
- Claim land in the name of your gang for all gang members to use
- Declare allies to share land with other gangs
- Declare enemies to start a war and claim land from rival gangs
- Gain gang influence based on the number of gang members and your battle victories
- Use influence to claim more chunks (1 influence = 1 chunk)
- Be careful, if an enemy faction reduced your influence they could steal your gangs chunks!
- Personal chunks and gang chunks are separate. Personal chunks are not affected by wars
- Lots of configuration options and permissions to control the carnage
- Lease gang owned chunks to other players for a daily rate (if using an economy plugin)
Installation and Configuration
- Drop the .jar file(s) into your /pugins folder
- Restart the server (or reload plugins)
- Edit the config.yml file which is created in the /plugins/MyChunk folder and /plugins/MyChunkGanglands folder. An explanation of each setting is included in the file.
DynmapMyChunk
NOTE: This has not been updated to the newest version of MyChunk yet. It's on my list to do!
New since 2.3.0 : I have created a new plugin to display all claimed chunks on your dynmap (assuming you have it) colour coded depending on who owns the chunks (Player, Server, Public). The plugin can be downloaded from the following link:
http:dev.bukkit.org/server-mods/dynmapmychunk/
Credits
Lead Developer: ellbristow
update to 1.16 please
Could you please explain a bit about the claim expiry. is it time from the last login or time from the claim? I would really like to set my stuff up for time from the last login to unclaim land from players that don't play on my server anymore.
Hi! This plugin works great for claiming land and I love using it because it is so simple.
One issue I have had though is that players can place signs on claimed land and type text into them
this is very annoying as it allows for griefing of claimed land. Please fix. Thank you :D
Looks nice, I have been looking for a chunk claim plugin for my mcMMO build for some time now.
but when i try to load this i get the following error.
11.08 20:52:57 [Server] Server thread/ERROR Could not load 'plugins/MyChunkGanglands.jar' in folder 'plugins'
11.08 20:52:57 [Server] INFO org.bukkit.plugin.UnknownDependencyException: MyChunk
Love the plugin, unfortunately, it doesn't seem to be compatible with world guard.
In reply to imsrelax:
How do you mean? What issues are you having with WorldGuard
In reply to Forge_User_38717200:
Through my testing, I found that as a default user without OP and permissions, I was able to claim chunks in WorldGuard's admin protected regions.
In reply to imsrelax:
you could probably get around that by having an admin claim the chunks first so no one else can.
Every time i try to add flags, depending on which ones it just says "an internal error occurred while trying to perform this command" but i have no idea why
In reply to Forge_User_33061305:
Can you send me the error log from the console please. That will tell me where the error is
In reply to Forge_User_38717200:
22.07 10:02:36 [Server] Server thread/ERROR null
22.07 10:02:36 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'chunk' in plugin MyChunk v3.1.1
22.07 10:02:36 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:710) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnection.handleCommand(PlayerConnection.java:1641) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1481) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:910) [spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:903) [spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127) [spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:887) [spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:820) [spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
22.07 10:02:36 [Server] INFO Caused by: java.lang.IllegalArgumentException: UUID cannot be null
22.07 10:02:36 [Server] INFO at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.getOfflinePlayer(CraftServer.java:1343) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO at me.ellbristow.mychunk.commands.MyChunkCommand.commandAllow(MyChunkCommand.java:376) ~[?:?]
22.07 10:02:36 [Server] INFO at me.ellbristow.mychunk.commands.MyChunkCommand.onCommand(MyChunkCommand.java:54) ~[?:?]
22.07 10:02:36 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot_1.14.4.jar:git-Spigot-9de398a-9c887d4]
22.07 10:02:36 [Server] INFO ... 17 more
In reply to Forge_User_33061305:
Thank you. This shoudl be fixed in the latest version (3.1.3)
In reply to Forge_User_38717200:
the problem is still present in the version 3.13 can you fix that I need your plugin it is awesome
Hey there, I have an issue on the server where a player has created a gang then claimed a chunk and then disbanded, leaving a chunk that's been claimed by no one. Are you able to give me a solution to clear it? Or can you create an admin command specifically for Ganglands to clear a claimed chunk when standing in it?
Any help would be appreciated.
Thanks.
In reply to Weaselcore:
I thought I had already done that. Disbanding a gang is supposed to unclaim all it's chunks.
what version of MyChunk and Ganglands are you using?
In reply to Weaselcore:
I just checked this on my server. Gang claimed chunks are definitely unclaimed if the gang is disbanded. Please make sure you have the latest version of MyChunk and the Ganglands addon
Hello, what i do with the op permissions?, i wanna make op to my friends but i don't wanna they can destroy my claimed chunks
In reply to daigowo:
Then you can't op them. Op will always have all permissions.
Instead what you need is a permissions plugin so you can create an "Admin" group, then give that group all the permissions except the mychunk.override command.
How do i allow certain people access to my chunk
In reply to TheCosmicWeeb:
On the commands page you will find:
/MyChunk allow [Player Name] [Flags]
This allows one player access to one chunk, depending on which flags you allow them. (You can find the flags on the Flags page)
For example,
/MyChunk allow ellbristow SCO
Would allow me access to special blocks, chests and opening doors.
/MyChunk allow ellbristow * allows me access to all flags
The allow* command allows access to all your chunks.
/MyChunk allow everyone [flags] will allow all players access to certain flags