Towny

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 seperated 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).

33 thoughts on “Towny

  1. 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. 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. 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

    • 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).

  4. what are the towny ranks and titles
    ive got:
    Settlement-Hermit
    Hamlet-Propreiter
    Village-Cheif
    Town-Mayor
    Borough-Maire
    Metroplis-Lord
    Can someone please tell me the remaing titles and names of town
    thx

  5. Pingback: We’ve upgraded our Minecraft US server. Come build with us! | Screaming Byte

  6. Pingback: We’ve upgraded our Minecraft US server. Come build with us! | Geek Mecca

  7. Pingback: We’ve upgraded our Minecraft US server. Come build with us! « « The Trinity EffectThe Trinity Effect

  8. Pingback: Pilgrams Minecraft Server » We’ve upgraded our Minecraft US server. Come build with us!

  9. Pingback: We’ve upgraded our Minecraft US server. Come build with us! - Razer Switchblade | Gaming on a Netbook | Razer Switchblade | Gaming on a Netbook

  10. 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.

  11. 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.

  12. if u guys want to see this plugin in full action go to minecraft2u.com 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

  13. 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
    permissions:
    town_creation_admin_only: ‘false’
    nation_creation_admin_only: ‘false’

      • /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:

        towny.town.resident : User is able to join a town.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>