Metropolis
Metropolis
Requires WorldGuard and WorldEdit
This plugin may change blocks on startup and on user login. Make sure you understand how this will happen before running on a production server.
Most of the issues so far have been fixed in the current build and I'm working on the promised features for 0.5 again. Testing and comments/bugs are very appreciated.
Changes:
- Odd road widths and plot sizes should now work. (If your road with is 5 each time a plot is generated you'll get 2 road blocks on the negative x and y sides and 3 on the positive sides.)
- Road widths are now no longer part of the plot sizes. This is a breaking change and you'll want to do the math to your config file.
- Config files now have versions so i can auto upgrade them in the future.
Description:
This plugin automates home protection. When each user logs on for the first time they will be assigned a city block of their own and streets will be generated around their block.
Protection is achieved by creating a worldguard region they own. This protects the blocks in that region and their chests. The blocks between regions (roads) are protected by another region that surrounds all of the city block regions.
Configuration:
There is a config.yml file included in the zip with defaults. If missing from "plugins/Metropolis" on plugin startup this file will be created with defaults. You can set the size of blocks and the width of roads among other things in this file.
Standard WorldGuard commands can be used to manage the protected city block regions.
Bugs and Ideas
If you find a bug please create a ticket for it here on bukkit dev or an issue on github.
I've enabled the forum for this project. Please put suggestions there and not on github so it's easier for others to discuss them.
HowTo's
Other Plugins You Might Want
- WorldGuard (Required)
- WorldEdit (Required)
- CommandBook (homes/warps/item spawning/lots more)
- CleanRoomGenerator (for controlling how the world looks outside the town.
TL;DR
This plugin creates a city by giving each user on your server a home plot that only they can build on and makes roads between them.
@antoniobradiano
It took me less time to update the plugin than it did to setup eclipse and maven. I've been busy with paying work and haven't had time for Minecraft, but I'll try to at least keep this updated.
A lot of older plugis like this are left for dead while a simple upgrade could b done.Well not simple. I would if I knew how.
will this be updated for 1.5.2
Automatic Home Set!
Did you forget about this plugin? D:
how can i have this create the plots/ work on multiple worlds?
I've got a build mostly ready. It requires a fairly recent build of WorldGuard to be compatible with Bukkit 1.2.5 http://build.sk89q.com/job/WorldGuard/
Multiple plot sizes are work as well as some other per user overrides.
I want to test it some more so it won't be up for another 24-48 hours. Mostly just making sure it upgrades existing config files fine.
EDIT: found a couple more bugs so it looks like it's gonna be a little longer
@headhunter45
They aren't the only one using this. I've used this for a while now. Keep up the good work! :D
@GaseousMaximus
If you want to integrate InfinitePlots and this you can just set them to the same size and have the Metropolis generate at block 1. I believe that support for "uneven" roads was added a few updates, so you can set the roadsize to 7.
@Congo1977 Thanks, I'm glad to hear anyone is using it.
@GaseousMaximus I only have time to work on this on the weekends I should have a build for 1.2.4 up this weekend. I haven't seen InfinitePlots before but I'll take a look. If they store their data in a way I can import export easily you "might" get a 2 way conversion utility.
Hey I like what I am reading here. I am currently using InfinitePlots. Is there a way to couple this with that generator? It looks to me like that would make integration into my server a MUCH nicer concept. :D
I wish #1 I'd found this plugin before the major amounts of InfinitePlots construction happened on my server, and #2 that this was updated to 1.2.4
BTW, Is this Multiverse friendly?
I am in LOVE with this mod. Keep up the most awesome work. /give headhunter45 diamondsssssssssss
@Ferkswe
There's a lot of code in this update and a lot of stuff to test. Not sure how long it'll take but it's more than half done. I'm rewriting half the plugin. It should be out by the time 1.2.3-R1 of bukkit is out, but hopefully sooner. It also feels wrong to have a full release of my plugin that depends on dev builds of someone elses.
@headhunter45
Awesome! How are things going along? No recent updates :/
Keep up the good work! FerkSwe
I decided how to do different sized plots elegantly. I haven't started to implement it yet. Right now I'm looking for comments. Like anything you're worried it won't work for.
A "small" plot is 1 plot that's plotSizeX by plotSizeZ. A "large" plot is 2 plots by 2 plots plus the roads between them. Those road segments won't be generated and the owner will be able to build/mine there.
The specific sizes of small and large will be configurable, but they must all be powers of 2 and they will all be the same shape just different sizes.
Please comment in the forum or on the github issue. The github link has an ascii diagram of how they'll be assigned.
@xtyro
In the next version or so there will be a permissions based way to disable generation. The permission will be something like "metropolis.maxhomes: 1"
@Mango_
I'll set that up in a couple hours and get back to you. (I'm making dinner right now.)
Edit: The config looks fine and I just downloaded those versions and when I tested it worked fine. Try with this build and give me the log info from that. It's the current dev build so save your metropolis config file and your worldedit regions files at least before running it
Edit 2: Updated the link to the current 0.5 snapshot.
@headhunter45
Great plugin! It works for me with 1.2.3-R0.1 and dev build of WorldGuard. I don't like that players are automatic assigned to plot. Many people join to serwer only once and never are back again. In the end I have many empty plots, and admins have additional work with it. All I need is to toggle automatic/manual assigning.Teleport to players plot would be neat too. There is difficult to find it first time. What is a purpose of this sign? There is nothing written on it.
Thanks.
@Mango_
That looks like a config error. I'm not type checking the values yet so I'd guess you tried to use a material name instead of an integer.
Paste your config and I can tell you what's wrong with it.
What version of WorldGuard are you using? I just tried with the latest craftbukkit(1.1-R6-20120301.142116-2) worldedit(5.2) worldguard(5.5.1) permissionsbukkit(1.6) and commandbook(2.0), and I'm getting errors from worldguard about the player move event even without metropolis loaded, but metropolis is working.
Doesn't work with R-6 and above. WorldGuard alone works, but for some reason, your plugin has trouble hooking it.
Error Log: http://pastebin.com/KmzFZKdq
I really love the idea of this plugin! Please fix it as soon as possible! Thank you.
@headhunter45
Just a command to claim a new one is good for now. Permissions based would be sweet but it's fine without it. But like Metropolis.plot.# assigning you that amount of plots. I've been paying for my server for several months looking for a good plugin to handle plot assignment, so the faster and simpler the better.