[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. the /t command is taken by Essentials. We have no control over Essentials other than you can edit their jar file to remove the /t alias.
     
  3. Offline

    fahlman

    I'm sure I've caused my own problem, but I'd appreciate any help fixing it. I'm using Towny v0.73.2 on Craftbukkit 1000. Here't the error I receive in my log:

    Code:
    2011-08-05 21:21:20 [SEVERE] com.palmergames.bukkit.towny.NotRegisteredException: Not registered, but already registered when trying to register.
    2011-08-05 21:21:20 [SEVERE] 	at com.palmergames.bukkit.towny.object.TownyUniverse.getWorld(TownyUniverse.java:743)
    2011-08-05 21:21:20 [SEVERE] 	at com.palmergames.bukkit.towny.MobRemovalTimerTask.run(MobRemovalTimerTask.java:123)
    2011-08-05 21:21:20 [SEVERE] 	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    2011-08-05 21:21:20 [SEVERE] 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    2011-08-05 21:21:20 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-08-05 21:21:20 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-05 21:21:20 [WARNING] Task of 'Towny' generated an exception
    java.lang.NullPointerException
    	at com.palmergames.bukkit.towny.MobRemovalTimerTask.run(MobRemovalTimerTask.java:129)
    	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-05 21:21:23 [INFO] Stopping server
    2011-08-05 21:21:23 [SEVERE] null
    java.io.IOException: Input/output error
    	at java.io.FileInputStream.read(Native Method)
    	at jline.Terminal.readCharacter(Terminal.java:99)
    	at jline.UnixTerminal.readVirtualKey(UnixTerminal.java:128)
    	at jline.ConsoleReader.readVirtualKey(ConsoleReader.java:1453)
    	at jline.ConsoleReader.readBinding(ConsoleReader.java:654)
    	at jline.ConsoleReader.readLine(ConsoleReader.java:494)
    	at net.minecraft.server.ThreadCommandReader.run(ThreadCommandReader.java:23)
     
  4. Offline

    Deathlysteve-

    i have 2 suggestions:
    1. you should make main towns, and little towns..
    2. and make an option to allow people to be in say 1 main town and 2 little towns...
    or jsut allow people to be in more than 1 town...
    also... the PVP in wilderness thing needs to eb easier because it still sint working 4 me :( u should make it an option
     
  5. Offline

    imaxorz

    Towny has been failing to load for me sometimes all because it keeps hanging on a file of one of the residents. This has happened last week and I thought it was just a one time thing, but it happened again today.

    I keep rolling back to a Towny backup from 6 or so hours ago and that fixes it.

    Is there are a better solution that I can do?

    Show Spoiler


    2011-08-06 00:00:50 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-08-06 00:00:50 [INFO] [Towny] Loading Error: Exception while reading resident file Veinerboy
    2011-08-06 00:00:50 [SEVERE] ca.xshade.bukkit.towny.NotRegisteredException: themaadrussian is not registered.
    2011-08-06 00:00:50 [SEVERE] at ca.xshade.bukkit.towny.object.TownyUniverse.getResident(TownyUniverse.java:377)
    2011-08-06 00:00:50 [SEVERE] at ca.xshade.bukkit.towny.db.TownyFlatFileSource.loadResident(TownyFlatFileSource.java:256)
    2011-08-06 00:00:50 [SEVERE] at ca.xshade.bukkit.towny.db.TownyDataSource.loadResidents(TownyDataSource.java:134)
    2011-08-06 00:00:50 [SEVERE] at ca.xshade.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:75)
    2011-08-06 00:00:50 [SEVERE] at ca.xshade.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:678)
    2011-08-06 00:00:50 [SEVERE] at ca.xshade.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:636)
    2011-08-06 00:00:50 [SEVERE] at ca.xshade.bukkit.towny.Towny.loadSettings(Towny.java:255)
    2011-08-06 00:00:50 [SEVERE] at ca.xshade.bukkit.towny.Towny.load(Towny.java:267)
    2011-08-06 00:00:50 [SEVERE] at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:101)
    2011-08-06 00:00:50 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-08-06 00:00:50 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    2011-08-06 00:00:50 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    2011-08-06 00:00:50 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    2011-08-06 00:00:50 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    2011-08-06 00:00:50 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-08-06 00:00:50 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-08-06 00:00:50 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-08-06 00:00:50 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-08-06 00:00:50 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-06 00:00:50 [INFO] [Towny] Loading Error: Could not read resident data 'Veinerboy'.
    2011-08-06 00:00:50 [INFO] [Towny] Error: Failed to load!
    2011-08-06 00:00:50 [INFO] [Towny] Version: 0.73.2 Dev - Mod Disabled
    2011-08-06 00:00:50 [INFO] [Towny] Using: Permissions, iConomy, Questioner
    2011-08-06 00:00:50 [SEVERE] Error occurred while enabling Towny v0.73.2 Dev (Is it up to date?): null
    java.lang.NullPointerException
    at ca.xshade.bukkit.towny.Towny.SetWorldFlags(Towny.java:156)
    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)
    2011-08-06 00:00:50 [INFO] CraftBookMechanisms 3.0-SNAPSHOT enabled.
     
  6. Offline

    LlmDl

    If you know which town he was from, you can remove him from that townname.txt, he may also be listed in another resident's file under the friends list. This bug has been fixed in the newest Dev version, due to be released in a day or two.
     
  7. Offline

    imaxorz

    What exactly causes it? Just curious :)

    Also, what is the best way to manually remove residents from files? In my past failed attempts when I did that, townyjust added them back. I am guessing because I need to fully stop the server first?
     
  8. Offline

    LlmDl

    Join the IRC.
     
  9. Update to the latest Dev build. You are running a slightlybuggy version.
     
  10. Offline

    fahlman

    Thank you for the suggestion. I tried the latest dev build and same error. I believe that my original Towny directory inside plugins may have been deleted and a new one created when this error first occurred. Any additional assistance would be appreciated. I'm really looking forward to having Towny working! Thanks again.
     
  11. Offline

    elexier909

    Can townie do this.

    I wish to have a city/town builder map and I would like it to work as follows.

    Players gain money per daily login (iconemy does this)
    Once player has money he can go out and create a town on a selected area using a /buy town command (say a 16x16 area) and he is charged x amount automatically, and becomes the mayor of the newly created town. (assuming the area is not already owned)

    When he wants to add onto his/her town he/she simply selects the next 16x16 (next chunk) and just /buys land and it automatically becomes part of the town he/she created earlier.

    Only people from that town can build/destroy blocks inside the town, Only the mayor can invite people to join the town. (thats a different plugin i think)


    And evan if you dont belong to a town you can build anywhere that is not claimed.

    Is this possible ?

    thanks elexier909
     
  12. Thats exactly how Towny works.

    Jump in IRC and let us see a full startup log.

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

    fahlman

    Thanks to everyone on the IRC channel, especially LlmDl.
     
  14. Offline

    tomnicklin

    possibly simple question, I have a town and have set it up nice, it works a treat, but how do i set it so residents cant build in each others plots? ATM residents can build in everyones plots and I would like to make it like "friends" can build in other friends homes if invited to?
     
  15. Offline

    LlmDl

    Your mayors need to be setting plots up forsale using /plot forsale [optional money amount]
    Then a player uses /plot claim
    to purchase the land. By default their personal plot perms will only include their friends lists.
     
  16. Offline

    tomnicklin

    i am doing that, they are buying plots but they can also build in each others plots? im using default settings

    oh never mind It works now suddenly, bizzare :D ty

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

    bigideaguy

    I am trying to do a backup of two of the towns we have on the server. I unzipped the backup file and found the two towns, I overwrote the current files with these. But when I reload towny it goes back to the bad files, how do I restore a backup?
     
  18. Offline

    AndyFox42

    In reading through the recent changelogs, I see a few references to NPC mayors or NPC citizens. I run Citizens on my server, as well as Towny. How would I get my NPC's to be recognized by Towny as residents, mayor, etc?
     
  19. Offline

    semibreve42

    Upgraded from Fuzze's last release today to your latest (73.2), running CB1000. Getting a severe error during server startup. My users report that no towny functions are running, I can see the name announcement when i enter a town, but none of the towny commands work for me. I followed the upgrade instructions on the wiki, but of course I might have screwed something up. I would appreciate any help:

    Code:
     [SEVERE] Error occurred while enabling Towny v0.73.3 Dev (Is it up to date?): null
    java.lang.NullPointerException
            at com.palmergames.bukkit.towny.Towny.SetWorldFlags(Towny.java:156)
            at com.palmergames.bukkit.towny.Towny.load(Towny.java:290)
            at com.palmergames.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 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:312)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  20. Offline

    LlmDl

    Make sure you overwrite all the files that reference the towns. residentname.txt, towns.txt, townname.txt, worldname.txt.
    Do it while the server is stopped.

    That isn't easily done. You can create the resident files for the NPCs manually, adding their reference to the townname.txt, residents.txt, and creating a residentname.txt for each one.

    The wiki's How Towny Works page, in the Mayor stub, explains how Towny's NPC mayors are used.

    Starting in 0.73 towny started to care about corrupt/missing data. In your config.yml set DebugMode:True and start up. You'll see which town/resident is not included. If its a town go to the worldname.txt and make sure the town is in the town line. If its a resident, make sure they're referenced in the Residents.txt, residentname.txt and the townname.txt. Repeat the startup until there are no more errors.
    Old towny upgrades can sometimes be a pain. When you finish type /ta backup to make a backup of the fixed data files manually.
     
  21. Offline

    semibreve42


    Holy crap thanks for the fast reply, doing that all now...
     
  22. Offline

    erdrickk

    My users are saying that /town spawn charges them but doesn't teleport them back to spawn - I have it enabled in the config and I have the permission node set....

    I am using permissions 2.7.4
     
  23. Offline

    LlmDl

    You may be using essentials? Make sure it is updated to 2.5.

    If that's not it make sure your users have towny.spawntp in the permissions file. Permissions 2.7.4 works great in Towny btw.
     
  24. Double name glitch?
    I am using Permissions and Herochat. When I installed Towny, it comes up as:
    [Title] [Title] [Username]
    Before Towny:
    [Title] [Username]
     
  25. Offline

    LlmDl

    Towny now adds group prefixes/suffixes. Sadly in 0.73.2 there is no way to not use them. For now you can remove the prefix/suffix from herochat's config. In 0.73.3 towny's chat name is verrrrry customizable and you can rely on towny to change players' names in chat.

    Another new bit in 0.73.3: Kings of nations can now set prefixes and suffixes on a per-player basis. Ex: LlmDl becomes LlmDl the Dwarf or Brutish LlmDl the Strong.
     
  26. Offline

    Monopol

    Does anyone have a solution?
    Code:
    06:01:05 [SCHWERWIEGEND] Error occurred while enabling Towny v0.73.2 (Is it up to date?): null
    java.lang.NullPointerException
            at ca.xshade.bukkit.towny.Towny.SetWorldFlags(Towny.java:156)
            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)
    
     
  27. Offline

    Deathlysteve-

    uhm i hae BIG problem...
    just randomly, i tried editing my config file, i edited 1 thing and yes it was correct, no mistakes.
    i reloaded the towny file though the /townyadmin reload and it was fine...
    then i did /reload for something else, and from then on, towny stops working.
    I reinstall a fresh towny, and it works with /reload, but the second i edit ANYTHING or replace ANY files, it stops working once i do /reload, but works with /townyadmin reload
    i have an autorestart on my server so i kinda need tht working...
    (yes restart also makes it stop working)
     
  28. Offline

    erdrickk

    I get this error alot.....

    2011-08-06 22:26:18 [SEVERE] Could not pass event PLAYER_TELEPORT to Towny
    java.lang.NullPointerException
    at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerMove(TownyPlayerListener.java:239)
    at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerTeleport(TownyPlayerListener.java:263)
    at org.bukkit.plugin.java.JavaPluginLoader$8.execute(JavaPluginLoader.java:293)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:216)
    at com.garbagemule.MobArena.Arena.playerLeave(Arena.java:314)
    at com.garbagemule.MobArena.Arena.forceEnd(Arena.java:252)
    at com.garbagemule.MobArena.MobArena.onDisable(MobArena.java:101)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:899)
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:288)
    at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:281)
    at org.bukkit.plugin.SimplePluginManager.clearPlugins(SimplePluginManager.java:309)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:351)
    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)
     
  29. Offline

    LlmDl

    Starting in 0.73 towny started to care about corrupt/missing data. In your config.yml set DebugMode:True and start up. You'll see which town/resident is not included. If its a town go to the worldname.txt and make sure the town is in the town line. If its a resident, make sure they're referenced in the Residents.txt, residentname.txt and the townname.txt. Repeat the startup until there are no more errors.
     
    Monopol likes this.
  30. Offline

    bigideaguy

    Tried that and it didn't work, was just the same when the server cam back online, I deleted everything and uploaded the backup when the server was offline.

    However when i create a new town now and delete the messed up town it will still say ~Null on the properties that are supposed to be owned by players? Any way to fix this?
     
  31. Offline

    pacmanjones

    I keep getting this error all the time. Lag is fine on the server, 20/20 ticks on lag meter, but this error message always accompanies players before they get a "read timed out" error.

    Exhibit A: Here you can see player Beerzero scream OH MAH GOD before getting the read timed out error for a fifth time in a row. The towny error underneath spams my server logs all the time.

    20:46:04 [INFO] [Builder] beerzero: OH MAH GOD
    20:46:09 [INFO] Connection reset
    20:46:09 [SEVERE] java.net.SocketException: Socket closed
    20:46:09 [SEVERE] at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
    20:46:09 [INFO] beerzero lost connection: disconnect.quitting
    20:46:09 [SEVERE] at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    20:46:09 [SEVERE] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    20:46:09 [SEVERE] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    20:46:09 [SEVERE] at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    20:46:09 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    20:46:09 [INFO] [Heroes] Saved hero: beerzero
    20:46:39 [SEVERE] Could not pass event PLAYER_CHAT to Towny
    java.lang.NullPointerException
    at ca.xshade.bukkit.towny.TownySettings.getMayorPrefix(TownySettings.java:488)
    at ca.xshade.bukkit.towny.TownyFormatter.getNamePrefix(TownyFormatter.java:213)
    at ca.xshade.bukkit.towny.event.TownyPlayerLowListener.onPlayerChat(TownyPlayerLowListener.java:48)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
    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)

    Also, I get this error whenever someone walks into a town:
    20:53:17 [INFO] [Towny] Error: Could not read getTownPrefix.
    20:53:17 [INFO] [Towny] Error: Could not read getTownPostfix.

    I have towny advanced 0.73.2
    Any ideas what's causing this? Could it be that I didn't transfer my files from Towny properly?
     

Share This Page