[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
    [​IMG]

    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.


    REQUIRES
    • No other plugins, but is best with Questioner, so that invitations are given by Towns and Nations to residents and towns.
    Optional
    • 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
    Wiki
    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. Used this loooong ago on hMod, abandoned it after so much issues with it's (terrible) flatfile storage. I wonder how it is nowadays, does it still use a gazillion flatfiles, or has it moved to some more robust database storage?
     
  3. Offline

    MJRamon

    I'd LOVE to see it with MySQL support!
     
  4. Offline

    LlmDl

    Flatfile is still the only option, thought nearly all of the bugginess/self-corruption that Towny used to suffer from has been fixed. Once everything has been cleaned up it will be ok to transition to DB storage. Doing a move to mysql is pointless until the files cannot become messed up through normal use.

    That being said we rarely get reproduce-able instructions to cause self-corruption so that time is definitely drawing near.
     
  5. okay then how do you say we solve this problem:

    Code:
    [SEVERE] Error occurred while disabling Register v1.2 (Is it up to date?): com.nijikokun.register.payment.Methods.reset()V
    java.lang.NoSuchMethodError: com.nijikokun.register.payment.Methods.reset()V
    	at com.nijikokun.register.Register.onDisable(Register.java:43)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
    	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:941)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:294)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:287)
    	at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:168)
    	at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    and this problem:

    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'town' in plugin Towny v0.76.1.3
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.getMethod()Lcom/nijikokun/register/payment/Method;
    	at com.palmergames.bukkit.towny.object.TownyEconomyObject.getEconomyAccount(TownyEconomyObject.java:141)
    	at com.palmergames.bukkit.towny.object.TownyEconomyObject.getHoldingBalance(TownyEconomyObject.java:106)
    	at com.palmergames.bukkit.towny.object.TownyEconomyObject.getHoldingFormattedBalance(TownyEconomyObject.java:179)
    	at com.palmergames.bukkit.towny.TownyFormatter.getStatus(TownyFormatter.java:135)
    	at com.palmergames.bukkit.towny.object.TownyUniverse.getStatus(TownyUniverse.java:883)
    	at com.palmergames.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:104)
    	at com.palmergames.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:90)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    	... 13 more

    you cant say you support something that will fail on the majority of peoples servers unless they only run iconomy and towny....... thats crazy.
     
  6. Offline

    LlmDl

    Join the IRC, that's where the cool kids hang out.
     
  7. ^^ sorted on IRC thanks guys
     
    LlmDl likes this.
  8. Offline

    LlmDl

    Here's a post to keep people updated:

    Elgarl is pumping out devs to fix economy issues as well as a permissions problem for anyone using superperms.

    The economy issues are fixed in the latest dev builds, while the permissions problems are being sorted out now. the permissions problem is fixed in the dev as well.

    We will make a release to 0.76.2.0 very soon.
     
  9. Fixed over IRC. It was Showcase breaking register.
     
  10. Offline

    FlawlezZ

    Show Spoiler
    null
    org.bukkit.command.CommandException: Unhandled exception executing command 'town' in plugin Towny v0.76.1.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
    at com.palmergames.bukkit.towny.object.TownyEconomyObject.collect(TownyEconomyObject.java:39)
    at com.palmergames.bukkit.towny.object.TownyEconomyObject.pay(TownyEconomyObject.java:47)
    at com.palmergames.bukkit.towny.command.TownCommand.townDeposit(TownCommand.java:1658)
    at com.palmergames.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:267)
    at com.palmergames.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:90)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 12 more


    I get this error with and without dev build.
     
  11. Offline

    LlmDl

    That error isnt from the dev build, use the dev build/come on the IRC.

    Heads up: There will be a new register.jar soon, which will be a must for anyone using an economy plugin other than ico 5.

    Heads up again, an updated Register 1.3 is out, use the link in the first post.
    Also please use the dev version instead of 0.76.1.0, its got fixes!

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

    Ross Gosling

    Hello, how can you make it so that the daily tax is at an exact time instead of whenever you got towny?

    atm mines set to 3pm every day and i want it at 12pm
     
  13. Offline

    tretap

    ใช่ไงครับ
     
  14. Offline

    wilfmeister

    Hi, quick question, for me and all the residents in my town, we can't seem to use beds. We can attempt to sleep but then are woken up as if by a monster but... there are no monsters. how do i fix this?
     
  15. Offline

    MJRamon

    After attemting to create a town:
    Code:
    18:07:52 [INFO] [PLAYER_COMMAND] MJRamonRU: /town new Tesio
    18:07:52 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'town' in plugin Towny v0.76.1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoClassDefFoundError: com/iConomy/iConomy
            at com.palmergames.bukkit.towny.command.TownCommand.newTown(TownCommand.java:912)
            at com.palmergames.bukkit.towny.command.TownCommand.newTown(TownCommand.java:876)
            at com.palmergames.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:119)
            at com.palmergames.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:90)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
            ... 12 more
    
    But the town was created...
     
  16. Offline

    Greynade

    I'm glad this plugin continues to see updates. It's pretty much the backbone of mine and countless other servers.

    The only real thing that bothers me slightly is the brackets that are placed around the Town names and Nation names in the chat modifier. If you could manage to remove those brackets (since if anyone wanted to keep brackets around town names, they could simply add them directly in the chat modifier), I would be very appreciative. Thank you!
     
  17. Fixed in Dev.

    You can't set a specific time (at the moment). If using Dev you can use '/towny time' to see when taxes are due.

    Done and in Dev.

    I reverted this as placing it in the config results in empty [] if the player is not in a town/nation.


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

    Athelestan

    [INFO] [PLAYER_COMMAND] Athelestan: /town deposit 50
    2011-09-24 11:21:13 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'town' in plugin Towny v0.76.1.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
    at com.palmergames.bukkit.towny.object.TownyEconomyObject.collect(TownyEconomyObject.java:39)
    at com.palmergames.bukkit.towny.object.TownyEconomyObject.pay(TownyEconomyObject.java:47)
    at com.palmergames.bukkit.towny.command.TownCommand.townDeposit(TownCommand.java:1658)
    at com.palmergames.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:267)
    at com.palmergames.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:90)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 12 more
    this happens when i try to deposit money into the town bank... Help??
     
  19. Offline

    Oodles

    I had this same problem until I started using the dev version. So I would suggest using that.
     
  20. Offline

    Athelestan

    i just tried it with the dev version...
    [INFO] [PLAYER_COMMAND] Athelestan: /home
    2011-09-24 11:26:30 [INFO] [PLAYER_COMMAND] Athelestan: /home
    2011-09-24 11:26:32 [INFO] [PLAYER_COMMAND] Athelestan: /eco
    2011-09-24 11:26:32 [WARNING] Athelestan was denied access to command.
    2011-09-24 11:26:36 [INFO] [PLAYER_COMMAND] Athelestan: /balance
    2011-09-24 11:26:38 [INFO] Give a player an item.
    2011-09-24 11:26:38 [INFO] /give [player] [item|numeric] <amount>
    2011-09-24 11:26:39 [INFO] Manages the server economy.
    2011-09-24 11:26:39 [INFO] /eco [give|take|reset] [player] [amount]
    2011-09-24 11:26:41 [INFO] $50 has been added to Athelestan account.
    2011-09-24 11:26:52 [INFO] [PLAYER_COMMAND] Athelestan: /town deposit 50
    2011-09-24 11:26:52 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'town' in plugin Towny v0.76.1.7
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
    at com.palmergames.bukkit.towny.object.TownyEconomyObject.collect(TownyEconomyObject.java:39)
    at com.palmergames.bukkit.towny.object.TownyEconomyObject.pay(TownyEconomyObject.java:47)
    at com.palmergames.bukkit.towny.command.TownCommand.townDeposit(TownCommand.java:1673)
    at com.palmergames.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:137)
    at com.palmergames.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:90)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 12 more
    pretty sure its the same error.
     
  21. Offline

    Oodles

    Only other thing I could think of is that you don't have Register in your plugins folder.
     
  22. Offline

    Athelestan

    i have it in there, without it it just always said i didnt have enough money
     
  23. Offline

    Ross Gosling

    In a future update could you add a way of setting a time in real life and it then does all the tax / upkeep business then but only if the server is online at that time.

    Cause bassically i want it at 12pm every night without it being affected by if the server is off (not sure if it does affect it)
     
  24. Offline

    PatPeter

    What happened to command aliases in the most recent version?

    Code:
    ############################################################
    # +------------------------------------------------------+ #
    # |                   Towny commands                     | #
    # +------------------------------------------------------+ #
    ############################################################
    
    commands:
        towny:
            aliases: [ty]
        nation:
            aliases: [n, nat]
        nationchat:
            aliases: [nc]
        townchat:
            aliases: [tc]
        plot:
            aliases: []
        resident:
            aliases: [res, p, player]
        town:
            aliases: [t]
        townyadmin:
            aliases: [ta]
        townyworld:
            aliases: [tw]
    Also, why between v0.74.0 and v0.76.0 did you change:

    Code:
    nationLevel:
    -   numResidents: 0
        namePrefix: 'Remnants of '
        namePostfix: ''
        capitalPrefix: ''
        capitalPostfix: ' Ruins'
        kingPrefix: 'Leader '
        kingPostfix: ''
    to:
    Code:
        nation_level:
        -   capitalPostfix: ' Ruins'
            upkeepModifier: 1.0
            namePostfix: ''
            kingPrefix: ''
            namePrefix: 'Remnants of '
            numResidents: 0
            capitalPrefix: ''
            kingPostfix: ''
    This is MUCH harder to read as the prefix/postfixes are not in order It is Postfix-Postfix-Prefix-Prefix-Prefix-Postfix. I could understand the previous structure, Prefix-Postfix-Prefix-Postfix-Prefix-Postfix, or Prefix-Prefix-Prefix-Postfix-Postfix-Postfix, but not this.

    Please change this nonsensical structure back to the way it was, or organize it better.
     
  25. Offline

    MJRamon

    Thanks, that helped. Now I have this error:

    Code:
    [SEVERE] Could not pass event PLAYER_INTERACT to Towny
    java.lang.NullPointerException
            at com.palmergames.bukkit.towny.PlayerCache.getStatus(PlayerCache.java:152)
            at com.palmergames.bukkit.towny.event.TownyPlayerListener.onPlayerInteractEvent(TownyPlayerListener.java:182)
            at com.palmergames.bukkit.towny.event.TownyPlayerListener.onPlayerInteract(TownyPlayerListener.java:146)
            at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:259)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     
  26. Offline

    merrellpa

    Is there a wat to rent plots rather than selling?
     
  27. Offline

    LlmDl

    Changing aliases in the config didn't do anything, aliases are set in the plugin.yml inside of the towny.jar, as for the ordering of the nationlevels, I cannot comment on that one.

    No way to rent, its a suggestion on the issuetracker.
    This error is already reported on the issue tracker and is being looked at now.
     
  28. Offline

    PatPeter

    Huh, I set a custom alias /towny => /ty and it worked for me.
     
  29. Offline

    LlmDl

    Hmm, what CB was that using, it may have worked for a little while.
     
  30. Offline

    ngreen6

    I just got the towny plugin for my server. I dont have iConomy but I did /towny and it gave me the commands but they wouldn't work! Please someone give me the command to make a town and all the others because im done with searching.
     
  31. Offline

    LlmDl

    You'll likely need to give yourself/other players the permission nodes, go to the wiki (linked in the first post) and get the commands/permission nodes.

    Brief Tutorial: http://goo.gl/svOED or search on youtube
     

Share This Page