Current Forum Thread: Towny Advanced  

Recent History

I am no longer the lead developer for the Towny plugin. Thanks to Fuzz for picking it up when I slipped off.

There are two forks from then on. Croxis the current lead programmer on a more experimental version that combines the features of Spout, event based API, and attempted to move the database to SQL . You can find his fork here, and the plugin download here. The old thread on the forums can be found here. Note: This fork has fallen out of development.

The other fork is done by ElgarL, called Towny Advanced. His version continues, and builds on where I left off and adds tons of new features and bugfixes. If you desire a more stable (usually) version, use his fork. The current source code can be found on GitHub here.

I’ve recently been helping ElgarL (and Llmdl) with Towny Advanced. Mostly small stuff.

What is Towny?

Towny is a plugin for a Bukkit modded Minecraft server. The plugin itself is a manager for a Resident-Town-Nation hierarchy, as well as a block permission manager for a grid-like protection system. Each town has a mayor, while a nation has a king. They both have their own assistants to help run their respective people. Players can also purchase land from the town, for a daily tax set by the mayor. The player can allow his friends from out of town to build on his land when even his very own town’s people can’t build if he so wishes.

The bases of protection follows under how the world is separated into chunks. For those unaware, minecraft servers are broken up into 16x16x128 sections of blocks. The 128 being the height from the adimantium floor to the clouds in the sky. The protection ignores the height an focuses on the x and z planes. The default size for grid squares is 16×16, similar to the chunk size (no real reason). So claiming townblock (a grid square) allows that section of land to follow your town’s or the plot owner’s permissions.

Each town can claim up to a certain amount of townblocks, a set ratio or amount configured in the setting that is relative to the amount of players taking residence in that town. Residents themselves have no limit on how many they claim, however the daily tax (when using alongside iConomy) will take a bite out of their resources. The money is tunneled to the town’s bank account that only the mayor can withdraw from, except if the town belongs to a nation. Any town belonging to a nation is required to pay the nation a daily upkeep as well.

To the right you can see an example of 3 towns using the grid structure. Each cell represents 16×16 blocks (and 128 blocks high of course).

55 Responses to “Towny”

      • Reply PeeeeeeJay1

        Hey Shade my friend is having problem with the lastest version of towny will you be able to help:

        error list:

        when i do /town new test (for use of test is an example)

        and its comes up: “You cannot afford to settle a new town here”
        even thou i have max money u can have on minecraft.

        what should i do?

  1. Reply zackcon2

    does this townt version work for anyone? when trying to expand and claim plots it just says do not have enough blocks when only claimed 1. also when use /town it just gives internal error.

  2. Reply EeT_MeeL

    Fabulous plug-in. Can’t play with-out it.
    Is there any way to restrict potion use in towns? We have had a major problem with people using them to grief livestock.

  3. Reply Dragonlord849

    if this is the real towny makers site (or not):
    were can i get the code the java codes?

  4. Reply Dragonlord849

    you have to give you money
    then you can make a town
    just use /money
    to see how much you have
    i dont know how to give money im not a admin
    but admins can change the price of a town

    • Reply Shade

      Eh? /money is used by your economy plugin, not Towny.
      /money set town-blarg 6796 (What admins use probably)
      /money [view?] town-blarg (view just your town’s bank).

  5. Reply drcherrybakewell

    what are the towny ranks and titles
    ive got:
    Can someone please tell me the remaing titles and names of town

  6. Reply Infy

    Is there a future possibility of having spaces between the plots that belong to the town. This would allow paths between the plots allowing the towns to be more set out. I think an option in the config file that specifies how many blocks free between plots could work. I am no java scripter though, so I don’t know if it is even possible. Thanks anyway.

  7. Reply Oscar

    Why can’t you implement a selection system as well, so you can pre-define cities. That would make it easier to set-up a city for members that don’t want to make their own.

    Options to add to that would be, disabling chunk claiming for a pre-defined city. Creating plots for rent within a town would also be a good feature since selling land to someone really doesn’t get much income.

  8. Reply jakemontoya

    if u guys want to see this plugin in full action go to and look for the server ips when u get on one our servers you will probably see the towny plugin unless there a problems at the time

    • Reply Groxlord27

      You have to give them some permissions!
      Try giving whoever you want to build in the wild the “towny.wild.*” node.

  9. Reply James Griffith

    i dont know were else to post this i have been looking online for like 2 days now and i cant figure it out or find anything. im trying to get the towny plugin to work and i cant get anyone able to creat towns other than admins, when they type /town new name it says “that command is admin only” or somthing like that. is this the problem and if so what do i do? sorry my first sever so i dont know what to do and cant find anything about this anywhere else. if anyone can actually skype call me at acid9601 that can help setup this it would be GREATLY appreciated, can even prolly throw in some real money :p

    # these will be moved to permissions nodes at a later date
    town_creation_admin_only: ‘false’
    nation_creation_admin_only: ‘false’

      • Reply Shade

        /town create [name] [mayor] = admin command
        /town create [name] = player command (with you as mayor)

        town_creation_admin_only: ‘false’ = You must be an townyadmin to create a town. Set it to true if you want players to make towns (do the same with nations).

        There should be a permission node nowadays that players need to have to be applicable to join a town. Erm, according to the wiki it’s: : User is able to join a town.

  10. Reply Ben

    Hey, I am admin of the server Legendcraft, and i need to know how to set large regions where people can’t build

  11. Reply Kiwii

    Hey there. I had to downgrade my towny inorder it to work for my craft bukkit because the new one wont let me use some of my plugins.

    Everytime I install Towny, My players are not able to see what Im typing to them. Only OP can see my messages.

    What can I do?

  12. Reply Ромав

    Кто знает как настроить плагин Towny помогите пожалуйста мой Skype belog81

  13. Reply zchreemer


    Mod Edit: Don’t fucking spam this 1000x.

  14. Reply joshuayoung

    do both towns have to agree to war? or can i just attack someone and war be in affect

  15. Reply Dylan

    How do you get money when you first start because I am trying to make a nation/town and it says I can’t afford to make this town.

    • Reply XxWisdomGamerxX

      If you are just a player of the server, you need to ask owner or admin or someone how to get money.

  16. Reply XxWisdomGamerxX

    Is this the plugin that you can do ‘/t add [User]’ and ‘/t claim?’
    Because I’d like to add that plugin to my future server.

  17. Reply littleman091

    [Towny] Enabling Towny v0.82.1.0
    22:43:22 [INFO] ==================== Towny ========================
    22:43:22 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    22:43:22 [INFO] [Towny] Bypassing CraftBukkit Version check.
    22:43:22 [INFO] [Towny] Using: BukkitPermissions, iConomy v5.01
    22:43:22 [INFO] [Towny] Time until a New Day: 13 hours, 16 minutes, 38 seconds
    22:43:22 [SEVERE] Error occurred while enabling Towny v0.82.1.0 (Is it up to dat
    java.lang.NoSuchMethodError: org.bukkit.scheduler.BukkitScheduler.runTaskTimerAs
    at com.palmergames.bukkit.util.BukkitTools.scheduleAsyncRepeatingTask(Un
    known Source)
    at com.palmergames.bukkit.towny.TownyTimerHandler.toggleDailyTimer(Unkno
    wn Source)
    at com.palmergames.bukkit.towny.Towny.load(Unknown Source)
    at com.palmergames.bukkit.towny.Towny.onEnable(Unknown Source)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.t(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(

    how do i fix this so towny will work on my server

  18. Reply pidii

    so i just made a parkour in my town on a server that uses this plugin, but people always cheat with enderpearls :( is there a way i can toggle the use of enderpearls off on a plot? if not please make it possible, i don’t think it can hurt anyone…

  19. Reply Flowers

    When people quit the town can you make it so mayors can unlock their chests/doors etc because it’s extremely annoying when residents leave the town without warning and leave all their locked stuff behind.

  20. Reply Shield Sheafson

    Is Towny available on I don’t see it there? The reason I’m asking is that my server uses BukGet, and I don’t see it on there, but I think BukGet only pulls from Thanks…

  21. Reply Ben

    This is the best plugin!!! I have never looked at normal minecraft the same way since I started using this plugin!! I can’t live without it!

  22. Reply brayden82006

    ok when ever i try create a new town it just says towny null i have the perms set up i have vault and all of that what do i do and what are the best eco plugins to go with this plugin

  23. Reply Drake

    Heya shade or anyone, when ever i try to make a town on my server it keeps saying [Towny] / by zero , i cant figure out why, can anyone help me?

  24. Reply deiroon

    Is there a possibility to change the messages and questions ([New Question] “Question”) ? :/

  25. Reply diamondminer77

    I got this error when I tried to start up the server:
    [14:09:45] [Server thread/ERROR]: Could not load ‘plugins\Towny.jar’ in folder ‘plugins’
    org.bukkit.plugin.InvalidPluginException: java.lang.VerifyError: class ca.xshade.bukkit.towny.Towny overrides final method getLogger.()Ljava/util/logging/Logger;
    at ~[Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin( ~[Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins( [Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins( [Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.( [Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at net.minecraft.server.v1_7_R1.PlayerList.( [Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at net.minecraft.server.v1_7_R1.DedicatedPlayerList.(SourceFile:14) [Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.init( [Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at [Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at [Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    Caused by: java.lang.VerifyError: class ca.xshade.bukkit.towny.Towny overrides final method getLogger.()Ljava/util/logging/Logger;
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_45]
    at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_45]
    at Source) ~[?:1.7.0_45]
    at Source) ~[?:1.7.0_45]
    at$100(Unknown Source) ~[?:1.7.0_45]
    at$ Source) ~[?:1.7.0_45]
    at$ Source) ~[?:1.7.0_45]
    at Method) ~[?:1.7.0_45]
    at Source) ~[?:1.7.0_45]
    at ~[Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at ~[Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_45]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_45]
    at java.lang.Class.forName0(Native Method) ~[?:1.7.0_45]
    at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_45]
    at ~[Bukkit.jar:git-Bukkit-1.6.4-R2.0-28-g373cbb7-b2945jnks]
    … 9 more
    [14:09:45] [Server thread/INFO]:

  26. Reply Kzaqul

    is it possible to reverse how upkeep in a town works?

    like instead of increasing overtime a town gains a member, it decreases the upkeep?

Leave a Reply


To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see