[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


    Keep in mind I am mid-upgrade. If you made hard upkeep "levels" then I cant incentavize towns by using a true multiplier anyway :p
  3. Offline


    Q) Why does Towny not work with iChat?
    A) iChat no longer uses %1$s for the player name, it uses player.getName() and player.getDisplayName(), until such a time that Towny is updated to use the proper method of setting a players name (Set their displayName) it will not work with iChat.

    ^Quote from the iChat v2.3.3 thread. http://forums.bukkit.org/threads/chat-ichat-2-3-3-custom-chat-formatting-b953.5857/

  4. Offline


    I see what you're saying. The only thing is that if a town uses either taxation option they will become quite flush with money. Which can be great, a town can visit an admin shop to buy tons of diamond, or materials to build a World Wonder, putting the taxes to the greater good.

    You could try setting the upkeep modifier below zero, like 0.9, 0.8, going steadilly lower the larger a town gets. Not sure if that is allowed. Towny has a thing against negative amounts, but not fractions, try it.

    Issue filed.
    You can set yourself to be notified about changes/fixes as they happen.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  5. Offline


    Thank you very much :)

    i did just that :3
    My server members were wondering why the 'mayor', and 'king' titles were gone xD
  6. Offline


    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added town level: 0 [1, , ,  Ruin, 1.0, Spirit ]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added town level: 1 [16, , ,  (Settlement), 1.0, Hermit ]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added town level: 2 [32, , ,  (Hamlet), 1.0, Chief ]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added town level: 6 [96, , ,  (Village), 1.0, Baron Von ]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added town level: 10 [160, , ,  (Town), 1.0, Viscount ]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added town level: 14 [224, , ,  (Large Town), 1.0, Count Von ]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added town level: 20 [320, , ,  (City), 1.0, Earl ]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added town level: 24 [384, , ,  (Large City), 1.0, Duke ]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added town level: 28 [448, , ,  (Metropolis), 1.0, Lord ]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added nation level: 0 [0, Lands of ,  (Nation), , , Leader , , 1.0]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added nation level: 10 [10, Federation of ,  (Nation), , , Count , , 1.0]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added nation level: 20 [20, Dominion of ,  (Nation), , , Duke , , 1.0]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added nation level: 30 [30, Kingdom of ,  (Nation), , , King , , 1.0]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added nation level: 40 [40, The ,  Empire, , , Emperor , , 1.0]
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Added nation level: 60 [60, The ,  Realm, , , God Emperor , , 1.0]
    2011-07-18 17:57:33 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Loading World List
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Loading Server World List
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Loading Nation List
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Loading Town List
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Loading Resident List
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Loading Worlds
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Loading Nations
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Loading Towns
    2011-07-18 17:57:33 [INFO] [Towny] Loading Error: Exception while reading town file HopesBeacon
    2011-07-18 17:57:33 [SEVERE] ca.xshade.bukkit.towny.TownyException: Mayor doesn't belong to town.
    2011-07-18 17:57:33 [SEVERE]     at ca.xshade.bukkit.towny.object.Town.setMayor(Town.java:76)
    2011-07-18 17:57:33 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyFlatFileSource.loadTown(TownyFlatFileSource.java:300)
    2011-07-18 17:57:33 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyDataSource.loadTowns(TownyDataSource.java:144)
    2011-07-18 17:57:33 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:75)
    2011-07-18 17:57:33 [SEVERE]     at ca.xshade.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:672)
    2011-07-18 17:57:33 [SEVERE]     at ca.xshade.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:630)
    2011-07-18 17:57:33 [SEVERE]     at ca.xshade.bukkit.towny.Towny.loadSettings(Towny.java:258)
    2011-07-18 17:57:33 [SEVERE]     at ca.xshade.bukkit.towny.Towny.load(Towny.java:270)
    2011-07-18 17:57:33 [SEVERE]     at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:104)
    2011-07-18 17:57:33 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-07-18 17:57:33 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    2011-07-18 17:57:33 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    2011-07-18 17:57:33 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    2011-07-18 17:57:33 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    2011-07-18 17:57:33 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-07-18 17:57:33 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-07-18 17:57:33 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-07-18 17:57:33 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-18 17:57:33 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-18 17:57:33 [INFO] [Towny] Loading Error: Could not read town data HopesBeacon'.
    2011-07-18 17:57:33 [INFO] [Towny] Error: Failed to load!
    2011-07-18 17:57:33 [INFO] [Towny] Version: 0.73.0 - Mod Disabled
    2011-07-18 17:57:33 [INFO] [Towny] Debug: Saving config.yml
    2011-07-18 17:57:33 [INFO] [Towny] Using: Permissions, iConomy, Essentials
    2011-07-18 17:57:33 [SEVERE] Error occurred while enabling Towny v0.73.0 (Is it up to date?): null
        at ca.xshade.bukkit.towny.Towny.SetWorldFlags(Towny.java:159)
        at ca.xshade.bukkit.towny.Towny.load(Towny.java:274)
        at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:104)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  7. Offline


    towny v .73 seems to not work atm.

    I didnt get a log of the errors, but for the time I am back on .72 until they get worked out :3
  8. Offline


    Your townLevel lines are all missing ,1.0 on the ends, and that error is telling you which towns are messed up and why. Fix your data files and keep doing what you've done until there are no errors.

    If it's not working, without seeing your errors, I can bet that your files are badly corrupted. This isn't going to fix itself, 0.73 fails for you because Towny finally doesn't permit glitched/corrupted files. Fix them now, you'll have this problem later on too.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  9. Offline


    I am getting a problem since updating to 0.73.... Members cannot use /town spawn command. Only OPS can. When a non-op tries to use it, he gets "An internal error occured while attempting to perform this command"

    CB 1000.... Ideas? This error comes up in the game chat window not on my server log....
  10. Offline


    Make sure its enabled in the config, or give players the right permission node.
  11. Offline


    Enabled and permissions are there. All other permissions working as well so I do not see it as a permissions problem...
  12. Offline


    Pastebin.com link to server startup:
    Pastebin.com link to towny config.yml:
    Pastebin.com link to permissions file:
  13. Offline


  14. Offline


  15. Offline


    Great update, a tun of bugfixes!
  16. Towny does now and has for a LONG time used getName and setDisplayName. Towny is also set on the lowest priority, so gets run before most plugins. It modifies the the player name and pushes it using setDisplayName. It's more likely iChat is using getName and not getDisplayName, thereby overwriting whatever changes Towny has already made.

    I just tested against Essentials 2.4.2 (RB) it works perfectly fine, so long as you are actually putting the essentialspawn.jar in as well as the essentials.jar

    I tested as admin and also as a lowly builder. As a builder I teleported and was charged $10.

    Your startup has NO essentialsSpawn.

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


    Well, whatever it is, the names do not show up in my server. The 'Mayor' and 'King' titles.. I have no idea why :(
  18. Nope I am correct. If you have modify chat enabled in Towny is DOES setDisplayName.
    formatedName = colour + plugin.getTownyUniverse().getFormatter().getNamePrefix(resident)
                        + player.getName() + plugin.getTownyUniverse().getFormatter().getNamePostfix(resident)
                        + Colors.White;
    The problem will likely be with iChat reading getName and not getDisplayName.

    I've just checked essentials chat (same issue) and it seems that too is ignoring the modifications Towny makes. However I can confirm Ess does correctly use getDisplayName.

    I'll explore some more
  19. Offline

    Ben Balentine

    double checked my permissions nodes for /town spawn. if i give towny.admin, it works. towny.spawntp or nothing and it fails. Using Towny 0.73.0, essentials & essentialsspawn 2.4.2, permissions 2.7.2, iconomy 5.01, CB 1000

    relevant bits from my config files

    allow_town_spawn: true
    allow_town_spawn_travel: true
    town_respawn: true
    show_town_notifications: true
    using_essentials: true
    using_iconomy: true
    using_permissions: true
    using_questioner: false
            group: Default
                - 'towny.town.new'
                - 'towny.town.claim'
                - 'towny.spawntp'
                - 'towny.publicspawntp'
                - 'towny.wild.*'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.list'
                - 'essentials.ping'
                - 'essentials.help'
                - 'essentials.msg'
                - 'essentials.motd'
  20. Can you update your essentials please. It's out of date. - http://goo.gl/R0JvN
    Also use teh dev version of Towny as it has a minor permissions fix.

    Ben, get the dev version. It has a minor permissions fix on spawn teleporting. Let me kno if it works.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  21. Offline


    @ElgarL can you create an accout for towny in getlocalition.com and upload the master english file in Ruby On Rails (yaml) format?
    when you release a new version only update the master and all language add the losing keys automatically. can you try?
    this is my plugin tranlations: http://www.getlocalization.com/milkAdmin/
    look good and easy to translate.

    anyway thankyou very much for revive the project.
  22. Nice site, but we are far from finished with the language file yet. So many strings still hard coded.
  23. Offline


    is this compatible with wurkit? for whatever reason, now wurkit won't pay. it just says you are getting paid, but it's not inputting anything. also, can't any commands to respond to anything...

    i need some sort of direction. i already took off residence because it just would not work...

    i have also followed the wiki instructions to the T. i have even minimally edited the config file. just as to let you know.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  24. You need to post versions, config and startup logs.
  25. Offline


    sorry for my newbness, i am just tired and aggrevated. lol
    i have the DEFAULT config, with no changes being used.

    The entire log

  26. Your permissions is a mess. it's crashing every plugin after it.
  27. Offline



    here is what my permissions group.yml file looks like.
    **it didn't include the 4 space rule when i pasted it. **

  28. where's the indentation? Use pastie.org
  29. Offline


    Testing out .73 and came up with these errors, it would seem that it can't read already present data. Even in game after creating a new town (all shown in the paste bin) and setting the spawn all commands with towny died. If any more information is needed I can provide more

  30. Offline


    This isn't the permissions thread, and when you paste something that is space-sensitive, you need to do it some place like pastebin.com
    MunkyCheez likes this.
  31. Your conig.yml/english.yml are not upto date for 0.73.0
    Either that or you edited them and wiped the end of the new townLevel and nationLevel entries.

Share This Page