[SEC/FUN/INFO/CHAT/TP] Towny Advanced v0.88.0.0 - Land and town management [3020+ 1.7.2-R0.3]

Discussion in 'Archived: Plugin Releases' started by ElgarL, Jul 7, 2011.

  1. Plugin: Towny

    New Towny Website!

    Taking Shades' Towny a step farther.

    A versatile, player-controlled land management plugin for use with Bukkit/Tekkit/Spigot/Libigot, offering solutions for pvp, griefing, chat, inflated economies and monsters.

    Features (open)

    Towny includes a wide variety of features to offer instant enhancements to your traditional Minecraft server.
    • Allows players to own and manage land based on a pre-set grid layout.
      • Players join towns and purchase plots of land.
      • Players decide who can build, destroy, use "switchs" and use items on every plot they control.
      • Towns can join together into nations, further structuring a server into teams.
      • Towns grant protection from monsters, pvp, fire, explosions and greifing.
    • Wilderness Rules (Optional)
      • Area between towns is wilderness, with its own build permissions.
      • Limit players' interaction with the wild to just harvest-able blocks, keeping the wild pristine.
      • Roll-back tnt, creeper, wither explosions, dragon damage and endermen block-moving.
      • Block explosions and fire.
    • PVP Enhancements
      • Server with a strong PVP aspect will find Towny's grouping of players to be invaluable.
      • Prevent friendly-fire. (Optional)
      • Nations split players into larger teams.
      • Nations can declare other nations to be allies or enemies, further splitting players into even larger teams.
      • PVP can be turned on/off in wilderness, towns and worlds. (Optional)
    • Teleporting/Warping and Spawning (Optional)
      • Players can spawn to their town upon death.
      • Players can spawn to their town or a town that is within their nation/allied with their nation.
    • Customized modified chat. (Optional)
      • Colours, group prefixes and suffixes, nation, town, towny titles.
      • Channels for general, local, town, nation, moderator, admin and custom channels.
      • Anti-spam feature.
    • Shop plugin support. (Optional)
      • Limit shops to special Shop Plots, enhancing realism.
    • Economy plugin interaction. (Optional)
      • Supports all economy plugins.
      • Charge money for plots, towns, nations.
      • Flexible tax system.
      • Upkeep to remove money from the economy, stopping rampant inflation.
    • All Permissions Plugins supported. (Optional)
      • Perms 2/3, GroupManager, BukkitPermissions, bPermissions, PermissionsEx, etc.
    • Multiworld Support
      • Flexible settings for every world.
      • Enable/disable Towny in as many worlds as you like.

    • No other plugins, but is best with Questioner, so that invitations are given by Towns and Nations to residents and towns.
    • Questioner 0.6
    • Essentials 2.5+ - (Towny /town spawn's obey Essentials teleport cooldown)
    • All permissions plugins are supported and provide greater customization (recomend GroupManager).
    • Economy plugin of your choice.
    (We no longer recommend using PEX at all. It breaks TownyPerms due to the reflection PEX performs.)
    Supported Economy Plugins
    • iConomy 5.01
    • iConomy 4/5 *
    • iConomy 6 *
    • EssentialsEco *
    • BOSEconomy *
    • Craftconomy *
    • * Requires Register.jar 1.8+ (or Vault) in your plugins folder.
    • Any Vault-capable economy plugin that supports false-player accounts. (Do not use register if your economy plugin is supported by vault.)
    Plugins That Support Towny
    Download Towny
    • Release Version: Link
    • Dev Versions/Jenkins: Link (Majorly Different - Visit IRC channel before using.)
    • Install Guide
    Towny Wiki Site

    Suggestions and Issues
    Make a suggestion - Link
    Report an issue - Link
    • Credits: Many thanks to all contributers including, but not limited to: Fuzziewuzzie, Shadeness, LlmDl, SwearWord and dumptruckman.
  2. Offline


    Yea would be good, as Players seem to have alot of trouble getting their heads around Nations and Nation War and it would be alot easier and possibly more fun for towns who don't care or have an interest in Nations.
  3. Offline


    In the config file where it says:
    Does removing the # next to the mobs mean they will spawn in town because not mobs seem to be spawning in town. An mobs if forced on

    # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
    # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
    # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie

  4. Offline


    No, those #'s are there to specify the text as 'comments', parts of the config which Towny can ignore. They are there to show you examples of options to use on the line which that comment is in regards to.

    If you're having trouble with mobs not spawning file an issue ticket on our tracker.
  5. Offline


    I'm back again with another question XD How would I go about turning off health regen? I've looked everywhere and I can't seem to find the command, nor can I find it in the config. :( Is there a way to do it?
  6. Offline


    From the config.yml
    # +------------------------------------------------------+ #
    # | Global town settings | #
    # +------------------------------------------------------+ #
    # can residents/Allies harm other residents when in an area with pvp enabled? Other than an Arena plot.
    friendly_fire: 'true'
    # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
    speed: 3s
    enable: 'true'
  7. Offline


    Thank you so much! XD
  8. Offline


    Hi Towny Users,

    We've left dev.bukkit.org as many of you know, this is not really an issue since we only hosted the major releases there and maintained the main page with information.

    To replace these functions we've launched a new website: http://palmergames.com

    Please bookmark this site and if you use it, RSS yourself to the Towny builds linked there, so you can be notified of new development builds (if you use them.)

    We're also uploading the major releases there, with condensed changelogs (like we did on dev.bukkit.org) so you can easily see new commands and permission nodes.

    We'll be replying to this thread when you post and, as always, we recommend using the IRC channel if you need immediate help.
  9. Offline


    Great plugin, Love it.
    LlmDl likes this.
  10. Offline


    Is there any reason why you left dev.bukkit.org?
  11. Offline


    Yes, they have stopped allowing for external links to downloads. We use palmergames.com/downloads to host the towny dev and release builds.

    Their new rule was a bit too strict for us, when we need to push a dev build, we have to push a dev build.

    Bookmark the new webpage: http://palmergames.com

    You'll find it has all the functionality of the DBO page.
    Jakesully123456 likes this.
  12. Offline


    I keep getting this:
    29.01 18:31:12 [Server] SEVERE Could not pass event CreatureSpawnEvent to Towny v0.82.1.0
    Followed by a mess of messes.
    On the latest dev build downloaded from http://palmergames.com/downloads/
    On the top right corner!
    I beg you to help! Towny is the centre of my server! Please help!
  13. Offline


    Stop your server, move your server.log out of the craftbukkit directory. Start your server, let it load completely, then stop it. A new server.log will be created, please upload it to http://pastie.org or http://pastebin.com and post the link in the thread.
  14. Offline


    What has happened to the download for the latest version? why has it been deleted?
  15. Update to dev of Citizens. They changed their API.

    Read the post 3 above yours.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 15, 2016
  16. Offline


    sorry about that
  17. Offline


    I'm here representing a new and upcoming server. I would love to get some help with a problem with towny that our tekkit server is coming its prime. We are about to go public and yet the towny plugin just will not work. It is not in the In Game plugin list; however, the plugin is installed and its in the mcmyadmin with the rest of our plugins.

    List of our plugins
    existing bukkit plugins. Note that changes do not take effect until the server is restarted. Plugins cannot be disabled while the server is running. Hover over a plugins header to see more information.
    CCPlugin 1.00 - Unknown Author

    No Description
    ChestShop 3.46 - Acrobot

    CraftBookCommon "703-9144e4a" - Unknown Author
    GroupManager 2.0 (2.9.2) (Phoenix) - Unknown Author
    EssentialsProtect Dev2.9.337 - Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
    EssentialsSpawn Dev2.9.337 - Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
    BukkitCompat R22A - PhonicUK
    MobDisguise 1.81 - desmin88
    Multiverse-Core 2.4-b527 - 'Rigby', 'fernferret', 'lithium3141', 'main
    Questioner 0.6 - Shade,ElgarL
    Register 1.8 - Nijikokun, LRFLEW, Acrobot, miho, Snowleo, KHobbits, Spice-King, Elgarl
    Towny - Shade, Modified by FuzzeWuzze. Forked by ElgarL
    Vault 1.2.22-b277 - cereal, Sleaker, mung3r

    WorldEdit 5.4.5 - Unknown Author


    If there is anything you can do to help out please do
  18. Offline



    Stop your server, move your server.log out of the craftbukkit directory. Start your server, let it load completely, then stop it. A new server.log will be created, please upload it to http://pastie.org or http://pastebin.com and post the link in the thread.
  19. Offline


    Thank you for the quick reply; however, we have solved our problem. We simply just set the bypass_version_check to true.

    We are immensly grateful for the fast response
    LlmDl likes this.
  20. I think i found an error: when i set permission to outsider to open door in a town, doesnt work.
  21. Offline


    File an issue ticket.
  22. Offline


    ElgarL Thanks for communicating. Glad to see devs bucking bukkit's bullsh*t if and when it arises. I hope the transition to pluginAPI isn't too rough.
    I've been loving Towny and appreciating your efforts for three years! I'm a broke-a** but just sent you a few bucks of my own to say thank you.
    ElgarL and LlmDl like this.
  23. Offline


    When I set Revert on Unclaim to false, it keeps doing it... and when I change the time for it, it stays at 1 second. It is like its locked in the way it is. This is a really bad problem on my server.
  24. Offline


    If you set it in the config, that is not the right place.

    Use '/tw toggle revertunclaim' in each world
  25. Offline


    Thanks... now I feel stupid
  26. Hello there!
    I wanted to use Towny and Towny Chat along aside a plugin I was creating that listens to chat and responds when a certain word is heard however because Towny Chat modifies any chat message and triggers new AsyncPlayerChatEvent events I am unable to do this.
    This is causing issues when feeding chat to IRC as Towny Chat is triggering AsyncPlayerChatEvent events with 'private' towny chatter. I can't see a way to separate "Global" chat and "Towny Chat" because of the way you use AsyncPlayerChatEvent. Do you have any idea how I might go about ignoring towny chat and still picking up global chat?

    I understand that AsyncPlayerChatEvent is fun to play with but when one plugin uses it 'badly' this effects every other plugin that wants to use it.

    Sorry if I sound a little annoyed. :/
  27. We do not trigger AsyncPlayerChatEvents. We do fire a custom an AsyncChatHookEvent.
    We DO call the player chat API with a custom recipient list, which is NOT 'bad'.
  28. If you wish to see what is causing the issue create a basic plugin with an event listener on AsyncPlayerChatEvent and then have someone do /tc Hello

    The AsyncPlayerChatEvent event will fire as if the person was talking into global chat. I assume this is because you're building a list of recipients from the online town members and sending a chat event to them. This sadly means that there is no way to tell the different between a towny chat event and a global chat event. This has caused a number of issues with plugins in the past but has been ignorable as they were not very vital plugins.

    Is there anything I can do as a plugin developer to talk with your towny chat plugin or interact with it in some way to tell if a message is global or private? What recommendations would you give to plugin developers that want to create plugins that use AsyncPlayerChatEvent?
  29. If the chat is directed chat (in a Towny channel) the event will already be canceled when you receive it.
    Or you could listen to the AsyncChatHookEvent which is thrown by Towny.
    The AsyncChatHookEvent allows you to see what channel the chat is operating on.
  30. I tested this but found that /tc Hello still triggered a message even when checking for a cancelled event. Am I doing something wrong here?
    @EventHandler(priority = EventPriority.MONITOR)
    public void onPlayerChat(AsyncPlayerChatEvent event) {
      if(event.isCancelled()) return;
      else {
        Bukkit.getLogger().info("Chat event not canceled");
    To use the AsyncChatHookEvent I assume this needs a custom class and then I'd need a way to test if the server is running towny chat. I could get a list of running plugins and look got Towny Chat but if the name ever changes this could break this check. I'd really like to continue to use and support the towny plugin but I can't see an easy way to tell the difference between the different chats that will work in all scenarios.
  31. The Towny chat name never changes

Share This Page