MCTowns
MCTowns is a powerful way to manage towns.
- Create Towns, assign them Territories, and let mayors divide them up into Plots on their own.
- WorldEdit backend means you can use WorldEdit CUI and all of your favorite WorldEdit commands to create regions of any size and shape
- WorldGuard backend means lightning-fast performance and rock-solid stability
- Mayors can restrict town membership to only people they invite, or open it up to anyone who can afford a plot
- Saves you time and reduces the workload on your moderators!
- Mayors can manage regions within Territories that have been assigned to them
- No need to ask a mod every time someone wants to join your town, or you need a new plot created.

Contact
- Send me a PM on BukkitDev. I will always respond to these.
- Post a comment here. I'll probably respond to this.
- Email everdras@gmail.com. I will always respond to these.
Basic Commands
- /mct -used for adding and deleting towns, querying basic info, etc
- /town -used to manage towns, including inviting players and adding territories
- /territory -used to manage territories, including adding plots
- /plot -used to manage plots, including adding players to plots
Metrics Collection
MCTowns tracks some stats about who uses it. They're primarily for me to feel good about myself when I see people are actually using what I make, or (in the case of bug reports) are so that I can improve the plugin so that I can continue to feel good about myself when I see people are using the plugin.
MCTowns uses MCStats. To learn what is collected and how to opt-out of collection, see the following official MCStats page:
http://mcstats.org/learn-more/
Note that as of v2.1.0, most bugs will be automatically reported for you. See the page on Automatic Bug Reporting for more information.
Donate with Bitcoins: 1PYEc82xEK1A3jCsYTAZ7mnS9t34Et9bYh
Everything on these pages and associated wikis is licensed under the GNU Free Documentation License
Project Logo courtesy of th3cleaner_mcserver.





-
View User Profile
-
Send Message
Posted Jul 14, 2012@roggbart
For point 3, please open up a ticket so I can get it in my workflow. Please provide steps to reproduce as well as any console or other notes you have. In the meantime, I'll look into the fixes. (Update: I've looked through the associated code, and you should definitely open a ticket about this one, and be precise as you can about how to reproduce the issue and anything else weird that you notice is going on that might be related. I can't see how this would be possible, from looking at my code, so there's likely more to this than what appears to be the issue.)
(Update: I've fixed the first issue, with parents not sticking after a redefine. I'll release a hotfix shortly.)
2. I don't think I intended for anything but plots to be able to be sold. I'll double check that and see what I can do. (Update: I just checked through the code, I'm not certain how you're managing to sell Territories. Can you tell me how you managed to do so?)
4. I'll look into making the sign adjust itself. (Update: Just patched it in, next release will contain this fix).
The "expand vert" bit is carried over from WorldGuard. What you're talking about is a feature, not a bug. It makes the region size flexible vertically, so you could make a small, 3x3x3 "cube" a plot by clicking the corners on the ground, then using "expand 2 up" to expand it from 1 to 3 blocks high.
Update: I've also fixed the bit where someone can scam you by pricing a plot, then falsifying the price on the sign manually. Sorta. The sign can still be falsified, but the player will be warned of the actual price of the plot upon clicking it.
Thanks for the feedback. I'll look into your issues immediately.
-
View User Profile
-
Send Message
Posted Jul 14, 2012First, awesome plugin. I love it.
Second, I have a few issues:
1. When I redefine a district (dont know about territory or plot), but you loose the parent of the region and will be unable to build until you add the parent again.
2. I can't buy territories with economy, it says I cannot afford it even I have enough balance. But buying plots work. (I use essentialsEco and vault)
3. Sometimes it says a plot is not for sale when I just put it up for sale.
4. If you put a plot up for sale, and change the price AFTER adding the sign. The sign wont change, and the "mct confirm"-message don't show any price, so you will get scammed. I checked my balance before and after, I lost 2000 and the sign said 10. (:
Question: When setting up territories, regions etc. I have to use "expand vert" after using the selection-tool, if not, after adding the region, the region will be 1 block high. Is this intended? I think it's not very handy for inexperienced players who I think will end up buying territories which will be 1 block high.
I suspect I'm doing something wrong... anyway it is still useful even I don't use the neat features of the plugin.
-
View User Profile
-
Send Message
Posted Jul 10, 2012The release is out, for the record. *slowpoke*
-
View User Profile
-
Send Message
Posted Jul 8, 2012The next release will contain one new feature and a slew of optimization and code-cleanup.
The new feature is a quick-select tool, for quickly setting your active regions.
All you have to do is have your active Town set (which is normally initialize by default, so you won't have to do anything unless your town is freshly-created). Then, hold the quick select tool in your hand (default is wooden hoe, you can define it in the config file) and upon clicking a block it will attempt to set your active regions based on what exists in that block.
An example: Bob has a plot in a town. He wants you to change something about it. You really hate typing, so you just teleport to him and pull out the quickselect tool. You right click on the ground near him, and it automatically select the Territory, District, and Plot. You can then use /plot commands to do whatever it is Bob wanted.
Normally, if you're setting up your regions right, no regions of the same type should intersect. In the event that there is an overlap and you clicked on a block that belongs to two different Districts or Plots or Territories, it will arbitrarily choose one to use. It'll tell you which regions it's using after it selects them, so you'll always be able to verify.
I'm still working out one last kink, then I have a few other things I want to clean up. Expect a release soonish.
-
View User Profile
-
Send Message
Posted Jun 27, 2012@Everdras
Hey Everdras.
I actually think the Town/territory/district/plot is a good thing. On our server, we use SimpleClans, and a good part is that clans are able to buy districts for the clan inside cities, and then the clan members can buy own plots inside the districts, that way you can limit only clan members to enter the district but they can still own individual plots in the district! :)
OH! And can you make it so that you can add multiple Mayors to a city. We have a town on our server that is getting a fair amount of mayors, and it needs more than one mayor! :) if you could add that I would be very happy! And make the /to add mayor <player> an admin command.
-
View User Profile
-
Send Message
Posted Jun 26, 2012So, with 1.3 coming... at some point vaguely soon, is there anyone who would want this ported ASAP to the mod API?
Right now, I'm planning on doing a bit of an overhaul when I do port it. The whole Town/Territory/District/Plot thing seems a bit too complex. I'm planning on simplifying it by removing districts entirely, as well as some other small changes.
But if anyone needs a full, stable port ASAP when 1.3 hits, I'll see what I can do to accommodate them.
-
View User Profile
-
Send Message
Posted Jun 17, 2012@Everdras Ok thank you for your fast reply and for the help. Also thanks for explaining your reasons for so little nodes. You are probably the fastest plugin dev to respond to anything I've posted so thank you very much for caring!
-
View User Profile
-
Send Message
Posted Jun 17, 2012@ajbcamaro
I can make the console log commands, I'll set up a ticket for it.
Mayors should use
in order to select their own town. Mayors will be able to select their own town (and only their own town) with "/town active townname" in a future release.
I only have a few permission nodes because most commands would have very redundant nodes. Most permission checks only consider three things:
Where the third item is usually the one that determines whether or not a command is allowed. So most commands never need their own permission node.
-
View User Profile
-
Send Message
Posted Jun 17, 2012Hi, on my server we are using GroupManager. When we try to get our mayors to set active their town it gives them insufficient permissions. I was recently looking at your permissions nodes and realized you only have 6 or 7. I understand everyone should get default permissions but when don't people on my server get the perms to do it? People can do things with the plugin such as ask to join a town but that's about all they can do. So would you please consider putting in permissions nodes for ALL commands? Or maybe give me some options I can do because I really like this plugin and do not want to change! Also when I'm looking over the console while the player does the command the console doesn't show the command. So does the console not log the commands either? Thank you for your time and help!
-
View User Profile
-
Send Message
Posted Jun 4, 2012@Everdras Like the simpleClans option that you can star a war with a rival clan but in towns and when a town is in a war the residents of that town can destroy the other town. Sorry for my bad english. It will be a very nice feature :)
-
View User Profile
-
Send Message
Posted Jun 4, 2012@javieraizpuru
What exactly should a war option do?
-
View User Profile
-
Send Message
Posted Jun 4, 2012can you add a war option? like towny?
-
View User Profile
-
Send Message
Posted May 31, 2012@gabriel11798
I'll consider it. It's do-able, yeah.
-
View User Profile
-
Send Message
Posted May 31, 2012@Everdras
Maybe add more economy options? (like price to create a town, and things like that)
-
View User Profile
-
Send Message
Posted May 31, 2012@Everdras
Never mind, fk me, I screwed everything up and it works! HOORAY!
-
View User Profile
-
Send Message
Posted May 31, 2012@gabriel11798
Really? If using Java 7 causes *most* other plugins to fail, I think you're doing something horribly wrong. I've never encountered a situation where Java 7 wasn't backwards compatible with 6.
MCTowns utilizes the following features that are only in Java 7:
Additionally, one thing that I may use in the future is the new file I/O package (java.nio) which is vastly superior to the 12 year old packages that it replaces.
Finally, Java 7 is indeed stable. If you visit Java.com's download page, you will notice that the "Recommended Version" is Java 7 Update 4.
-
View User Profile
-
Send Message
Posted May 30, 2012I'm not sure what to do:
I -really- want this, for it's simplicity over towny advanced, but it's complied in Java 7. My problem comes, where if I use java 7, most other plugins fail to function. If you don't want to fix this, can you at least tell me why it's in java 7? (it's not even "stable")
-
View User Profile
-
Send Message
Posted May 30, 2012@Everdras :
Ah ok !
Thanks you ! :)
Because we have try to select the territory (after his reconnexion) and that say him to select the town, so I haven't think to reset :o
Ok :) That could be usefull !
-
View User Profile
-
Send Message
Posted May 29, 2012@Benoit87
Only players with the mct.admin flag can change their active town, since no-one else should need to. It's a bit of a catch-all in terms of security- no-one else can screw up your town if they can't even select it.
The command:
will set your active town to the one you're a member/mayor of.
Additionally, when you log in (aside from when the town is first created) your active town is automatically set to the same thing /town active reset would set it to.
What I can do, though, is I can specifically allow /town active <my town name> to work if you're setting it to your town, to avoid confusion. I'll put that on my to-do list.
-
View User Profile
-
Send Message
Posted May 29, 2012Hi ! Very good plugin ! Great job ! :) But, I've a little problem. I have create a town for a player as Mayor, and he can't create new district because when he enter "/town active <his town name>", that return to him "You haven't enough permissions for do that". So I think it's a permission problem. The mayors have these permissions :
Have you an idea ? I have read normally players don't need permissions for manage districts, and for that, you must normally select your town, then your territory. If he can't select his town, it's embarassing :s Thanks you ! :)