[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. Offline

    ElgarL

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

    Odai

    upodated from 72.1 to 73.1 with bukkit 1000 and get these (and towny does not start)

    10:08:20 [SEVERE] Error occurred while enabling Towny v0.73.0 (Is it up to date?): null
    java.lang.NullPointerException
    at ca.xshade.bukkit.towny.Towny.SetWorldFlags(Towny.java:160)
    at ca.xshade.bukkit.towny.Towny.load(Towny.java:272)
    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 org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:380)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    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:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  3. Offline

    ElgarL

    You Didn;t follow the upgrade procedure. You never deleted your config and english yml's.
    You corrupted your data. You can either restore from backup or fix it.

    To fix it....
    DELETE the config and english yml's.
    startup...stop
    enable debug mode
    startup and watch for it to list town names.
    When it gives a null exception error the last town it listed is missing from it's relevant world data file (in worlds folder).
    Stop server
    edit file ad add town name.
    Repeat sequence until all towns are added and you have no errors.
     
  4. Offline

    Kozzy68

    prehaps /t plot give [town] could by usefull command to add some day ?

    + I like to say thanks for having patience and answering tons of dull question to towny helpers and devs.
     
  5. Offline

    dslip

    I understand my mistake now. Thank You.
     
  6. Offline

    Tadas159

    So why wurkit doesn't work with this? I don't get any errors and both plugins work but after time wurkit doesn't give me money at all?
     
  7. Offline

    Johnny Lunder

    Your "upgrade" procedure to delete the config and english.yml's is not enough.
    Code:
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added town level: 0 [1, , Spirit ,  Ruin, , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added town level: 1 [16, , Hermit ,  (Settlement), , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added town level: 2 [32, , Chief ,  (Hamlet), , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added town level: 6 [96, , Baron Von ,  (Village), , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added town level: 10 [160, , Viscount ,  (Town), , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added town level: 14 [224, , Count Von ,  (Large Town), , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added town level: 20 [320, , Earl ,  (City), , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added town level: 24 [384, , Duke ,  (Large City), , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added town level: 28 [448, , Lord ,  (Metropolis), , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added nation level: 0 [0, Lands of ,  (Nation), , , Leader , , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added nation level: 10 [10, Federation of ,  (Nation), , , Count , , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added nation level: 20 [20, Dominion of ,  (Nation), , , Duke , , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added nation level: 30 [30, Kingdom of ,  (Nation), , , King , , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added nation level: 40 [40, The ,  Empire, , , Emperor , , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Debug: Added nation level: 60 [60, The ,  Realm, , , God Emperor , , 1.0]
    2011-07-20 16:03:24 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-07-20 16:03:25 [INFO] [Towny] Debug: Loading World List
    2011-07-20 16:03:25 [INFO] [Towny] Debug: Loading Server World List
    2011-07-20 16:03:25 [INFO] [Towny] Debug: Loading Nation List
    2011-07-20 16:03:25 [INFO] [Towny] Debug: Loading Town List
    2011-07-20 16:03:25 [INFO] [Towny] Debug: Loading Resident List
    2011-07-20 16:03:25 [INFO] [Towny] Debug: Loading Worlds
    2011-07-20 16:03:25 [INFO] [Towny] Debug: Loading Nations
    2011-07-20 16:03:25 [INFO] [Towny] Debug: Loading Towns
    2011-07-20 16:03:25 [INFO] [Towny] Debug: Loading Residents
    2011-07-20 16:03:25 [INFO] [Towny] Using: Permissions, iConomy, Essentials, Questioner
    2011-07-20 16:03:25 [SEVERE] Error occurred while enabling Towny v0.73.0 (Is it up to date?): null
    java.lang.NullPointerException
    	at ca.xshade.bukkit.towny.Towny.SetWorldFlags(Towny.java:160)
    	at ca.xshade.bukkit.towny.Towny.load(Towny.java:272)
    	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)
    [SEVERE] Error occurred while enabling Towny v0.73.0 (Is it up to date?): null
    will still pop up, despite deleting the YML's.
    At FIRST, I tried not deleting. That popped up.
    Then I copied over the full backup and ran to check all went well, it worked.
    Tried updated Towny, removed the YML's, it popped up.
    Re-copied the backup again, removed the YML's AND the DATA-dir, THEN it worked.
    But that kind of makes it impossible to upgrade if you can't keep your data -.-
    What is the big "change" that makes it unable to read old data, because the data is very non-corrupt here.
    Also, according to your post above, I should check for towns that fail to load. I see no townlist loading. It just says "Loading towns" and jumps straight to Residents. As you can see.
    There never comes any Town-list in the debug in the rest of the log either.
    As earlier stated, it works just perfectly fine prior to updating, updating breaks it however I try to do it.
    Towny-version currently used : 0.71.4
    EDIT : Updated to 0.72.1 . That went just fine, so it is definitely a 0.73.X hickup.
     
  8. Offline

    BartDommisse

    Download link is dead
     
  9. Offline

    Psychos

    For me /town spawn don't work.
    I deleted config.yml / english.yml like a fresh installation.
    no changes in permissions (3.1.5), and no problems with all others versions of towny.
    When a user use /town spawn, he get this message "You were charged 0.0 to teleport to the town's spawn."
    and no tp, nothing else...(0.0 is the good value).
    Where i made an error ?
     
  10. Offline

    Zothen

    Hello ElgarL! Ive encountered a showstopper with the devbuild from yesterday (CB1000).

    Its seems a player founded a new town and had a strange char entered (last letter behind the name was a square in the logfile so I guess it was a typo). Ive just noticed hours later that towny didnt respond to any commands at all and was disabled without any log from this.

    Inspecting the problem I found the NPE that happens when a town is not entered into the worlds .txt file.
    Fixed that, everything running again, no further NPEs.

    Nonetheless that problem disabled towny for a few hours at night - serious problem. Unfortunatly I have no dev server right now where I could run a few tests, so I can only inform about that problem right now.
     
  11. Offline

    Odai

    FALSE i deledet both and that happend!
     
  12. Offline

    Frvwfr3

    Code:
    [Towny] Using: Permissions, iConomy, Essentials, Questioner
    2011-07-20 12:49:39 [SEVERE] Error occurred while enabling Towny v0.73.1 (Is it up to date?): null
    java.lang.NullPointerException
        at ca.xshade.bukkit.towny.Towny.SetWorldFlags(Towny.java:159)
        at ca.xshade.bukkit.towny.Towny.load(Towny.java:271)
        at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:101)
        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)
    
    This is with following the 'upgrading procedure'

    Any help?? :/

    Tried everything suggested so far in the thread and still towny will not boot. Reverting back to .72 until a fix is discovered..


    EDIT: Fixed using the above steps

    To fix it....
    DELETE the config and english yml's.
    startup...stop
    enable debug mode
    startup and watch for it to list town names.
    When it gives a null exception error the last town it listed is missing from it's relevant world data file (in worlds folder).
    Stop server
    edit file ad add town name.
    Repeat sequence until all towns are added and you have no errors.
     
  13. Offline

    ElgarL

    No idea on the character that was used?
     
  14. Offline

    Zothen

    ElgarL, ive looked up the server.log with notepad++ and it show this line:
    Notepad translates the char as ESC - seems strange to me...

    Theres no further reference in the server log till Ive used the towny debug mode to find the problem (Harlem was not in the worlds txt, as Ive mentined). Also, Im not 100% sure but it seems that the player might still have been a member of another town at the time he issued this command.
    Let me know if I can provide any more info.

    Oh, just noticed that towny spamed over 5mb into the logfile with that:
    No idea where this comes from... *sigh*

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

    NotYetRated

    CB: 1000
    Towny 0.73.1

    Noone can add members to their town. Get "*name* does not have permission to join a town". and then "none of these names were valid" under it in game chat.

    Server log shows:

    Code:
    2011-07-20 14:38:48 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 't' in plugin Towny v0.73.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    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:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
    at ca.xshade.bukkit.towny.Towny.hasPermission(Towny.java:561)
    at ca.xshade.bukkit.towny.command.TownCommand.townAddResidents(TownCommand.java:789)
    at ca.xshade.bukkit.towny.command.TownCommand.townAdd(TownCommand.java:1028)
    at ca.xshade.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:229)
    at ca.xshade.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:81)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more 
    <--- Did not see the new permission node towny.town.*etc* Fixed now :)

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

    Jeffmcgee

    i know this will sound noobish, but oh well tbh.

    i'm co-owning a server, and it's hosted, so we are limited in what we can change. i've uploaded the .jar file from your download link, but when the server is restarted, or even just stopped, no config files are generated. we are running craftbukkit build 1000, and towny is the first plugin i was planning on configuring. no plugins are generating config files though, so any help is welcome.
     
  17. Offline

    timzy

    Getting this each and every time someone tries /town spawn <town>.
    Bukkit #1k, Towny 1.73.1

    Code:
    2011-07-20 14:15:37 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'town' in plugin Towny v0.73.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        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:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: com.earth2me.essentials.Teleport.teleport(Lorg/bukkit/Location;Lcom/earth2me/essentials/Trade;)V
        at ca.xshade.bukkit.towny.Towny.checkEssentialsTeleport(Towny.java:537)
        at ca.xshade.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:144)
        at ca.xshade.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:77)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  18. Offline

    ElgarL

    Sounds like your hosts have not setup the access permissions on the directories.

    That error is fixed in dev. Try it if you like, but follow the FULL update procedure, of delete config and english.

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

    arNette

    Hi, I seem to be having an issue with the pvp settings. I am not sure if this is even possible but, this is my goal: To have PvP enabled in the world but PvP disabled in each town for safety. When I do /townyworld toggle pvp and enable it for the world. The towns cant use /town toggle pvp to disable it in their towns. Is that even possible? And if so what am I doing wrong?
    Thank you.
     
  20. Offline

    LlmDl

    Towny Version:

    Bukkit Version:

    Pastebin.com link to your towny config.yml:
     
  21. Offline

    arNette

    Towny: 0.73.1
    Bukkit: 1000

    http://pastebin.com/M32eYLwt
     
  22. Offline

    Belladonna

    is this towny backwards compatible with other townys. the other admins are worried we would lose our towns and claims and such if we upgrade
     
  23. Offline

    LlmDl

    You're running 0.73.0, try updating to the dev version. Remember to backup and follow all of the instructions in the wiki's Upgrade Installationg.

    Towny is completely backwards compatible and your admins will love it! Show them the changelog, specifically everything added since 71.1 and on.
     
  24. Offline

    RedAlex

    CB : 1000
    Towny 0.73.1
    Questioner : 0.4
    Iconomy : 5.0.1
    Essential : 2.5.2 (Update today)
    I have update my Essential 2.4.2 to 2.5.2 and now i have this bug if i try /t spawn
     
  25. Offline

    LlmDl

    Try the newest Dev build. Follow all upgrade instructions on the wiki.
     
  26. Offline

    RedAlex

    you have irc or any chat program?
     
  27. Offline

    LlmDl

    Join the IRC linked in the first post.
     
  28. Offline

    Psychos

    Sorry to insist, but I only updated Towny and "/town spawn" no longer works. No other plugin has been changed.
    With original config.yml and original english.yml (deleted old)
    No other plugin has been changed or updated.
    CB # 1000
    Towny 73.1
    Permissions 3.1.5
    Questionner 0.4
    Iconomy 5.0.1

    Just this message "You were charged 10.0 to teleport to the town's spawn", and no TP. No errors in console, nothing else.

    Debug mode :

     
  29. Offline

    LlmDl

    This is a known issue and is fixed in the dev version/is going to be fixed.
     
  30. Offline

    AndyFox42

    The previous version of Towny that I was using (Fuzz's 0.68) would lose all town/resident/mayor data with a server restart. I was using flatfiles with it, but it never saved the info through a restart. I don't have access to MySQL (my server is remotely hosted.) Will I still suffer this total loss of data with server restarts using this version of Towny?
     
  31. Offline

    WhosDaMan

    Just wondering - If I force enable PvP is it like wartime but without frozen commands (and the bugs)? And can towns still be taken with PvP forced?
     

Share This Page