[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

    Giuseppe

  3. Offline

    LlmDl

    @Giuseppe

    Code:
    2012-01-08 15:47:31 [INFO] ====================      Towny      ========================
    2012-01-08 15:47:31 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2012-01-08 15:47:32 [WARNING] [Towny] Error: Towny does not have native support for iConomy 6.0.8b. You need the Register.jar.
    2012-01-08 15:47:32 [INFO] [Towny] Using: Permissions v3.1.6, Questioner v0.5
    2012-01-08 15:47:32 [INFO] [Towny] Time until a New Day: 19 hours, 12 minutes, 28 second
    2012-01-08 15:47:33 [INFO] =============================================================
    2012-01-08 15:47:33 [INFO] [Towny] Version: 0.78.0.0 - Mod Enabled
    2012-01-08 15:47:33 [INFO] =============================================================
    Get register.jar, also why are you still using Perms 3.1.6, it was buggy/laggy. Try out Group Manager for a similar system.
     
  4. Offline

    zoolder101

    If anyone could please help me out, our server has been down for days thanks to this error. I really need any help I can get, thanks. The error:

    Code:
    2012-01-06 10:43:57 [INFO] ====================      Towny      ========================
    2012-01-06 10:43:57 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2012-01-06 10:43:58 [INFO] [Towny] Loading Error: Exception while reading resident file TheGoombas
    2012-01-06 10:43:58 [SEVERE] java.lang.NumberFormatException: null
    2012-01-06 10:43:58 [SEVERE]     at java.lang.Long.parseLong(Unknown Source)
    2012-01-06 10:43:58 [SEVERE]     at java.lang.Long.parseLong(Unknown Source)
    2012-01-06 10:43:58 [SEVERE]     at com.palmergames.bukkit.towny.db.TownyFlatFileSource.loadResident(TownyFlatFileSource.java:325)
    2012-01-06 10:43:58 [SEVERE]     at com.palmergames.bukkit.towny.db.TownyDataSource.loadResidents(TownyDataSource.java:152)
    2012-01-06 10:43:58 [SEVERE]     at com.palmergames.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:77)
    2012-01-06 10:43:58 [SEVERE]     at com.palmergames.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:947)
    2012-01-06 10:43:58 [SEVERE]     at com.palmergames.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:904)
    2012-01-06 10:43:58 [SEVERE]     at com.palmergames.bukkit.towny.Towny.load(Towny.java:334)
    2012-01-06 10:43:58 [SEVERE]     at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:108)
    2012-01-06 10:43:58 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    2012-01-06 10:43:58 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
    2012-01-06 10:43:58 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    2012-01-06 10:43:58 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    2012-01-06 10:43:58 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    2012-01-06 10:43:58 [SEVERE]     at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    2012-01-06 10:43:58 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    2012-01-06 10:43:58 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    2012-01-06 10:43:58 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    2012-01-06 10:43:58 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-06 10:43:58 [INFO] [Towny] Loading Error: Could not read resident data 'TheGoombas'.
    2012-01-06 10:43:58 [INFO] [Towny] Error: Failed to load!
    2012-01-06 10:43:58 [INFO] ==============================================================
    2012-01-06 10:43:58 [INFO] [Towny] Version: 0.77.1.0 - Mod Disabled
    2012-01-06 10:43:58 [INFO] =============================================================
     
  5. Offline

    ukballer1012

    But I have been running group manager alongside with towny for a week now and this is the first time this has started to happen. I know for a fact I have the latest version of GM. I'll list my config if you'd like. I really need to get this fixed.
     
  6. Offline

    Mrchasez


    That happens with my towny all the time.
    One fix, Rollback files to before it did that.
    If you remove the file for "TheGoombas" it will work some of the time, Most of the time
    it will just find a new name, or town, or nation, or even your world file.
    Best of luck
     
  7. Offline

    zoolder101

    I cant seem to find TheGoombas, thats the weird part :S
     
  8. Offline

    Mrchasez

    I restart towny:

    Cant read resident name ...

    Remove it, and another and another.
    Cause's another rollback.

    Why. Why cant this plugin just not crash on every single restart.
     
  9. Offline

    Kxertz

    I'm getting this error when I try create a new town UnOped

    21:09:43 [INFO] [PLAYER_COMMAND] xGods_Hereticx: /town new BlackRazagn
    21:09:43 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'town
    ' in plugin Towny v0.78.0.0
     
  10. Offline

    Ahfaichucky

    Stop your server, replace the current files with your backup & start the server, restarting saves the current data on the server thus replacing your changes.
     
  11. Offline

    Colm

    Ok there are a bunch of errors on server restart, I can't copy and paste it because the server is restarting so every time I get ready to copy and paste a new line comes so the copy goes away. It happens as soon as I restart those errors come up about block physics or something it might not even say that thats what my memory thinks anyway. But i'm not sure if it leads to this error, it started happening on the latest version of towny 0.78.0.0, also yes I have tried the dev versions it still happens.

    Thats the error when someone joins the game. Do you want my config although I doubt it has nothing to with that.
    09.01 15:19:32 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    09.01 15:19:32 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    09.01 15:19:32 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
    09.01 15:19:32 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    09.01 15:19:32 [Server] INFO at com.palmergames.bukkit.towny.tasks.SetDefaultModes.run(SetDefaultModes.java:35)
    09.01 15:19:32 [Server] INFO java.lang.NullPointerException
    09.01 15:19:32 [Server] WARNING Task of 'Towny' generated an exception
     
  12. Offline

    ElgarL

    That is an error caused by using release with bPermissions. Get latest Dev of Towny and it's fixed.

    Get register.jar

    Restore from backup data, and get latest dev of Towny.

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

    Colm

    I'm not using permissions, i'm thinking about it because it now has the Permissions 3x import now, so yes that would be a valid answer, as you probably know as I stated it, i'm using Permissions 3x at the moment, hopefully getting of it soon, I will download the latest dev build again.
     
  14. Offline

    Mrchasez

    Cant just upload massive files everytime it crashs
     
  15. Offline

    ElgarL

    The only files you need to replace are from the backup in the data folder. All text files.
    Get latest dev and it shoudl clean up any odd residents. However, it seem ssomethign is causing a bad resident creation. My guess is some other plugin running in it's own thread which is kicking a player out of sync with other plugins.
     
  16. Offline

    Mrchasez

    Well with 20-30k Resident files.
    Then all the town blocks, The backup alone is really massive.
     
  17. Offline

    Kxertz

    Kxertz said:
    I'm getting this error when I try create a new town UnOped

    21:09:43 [INFO] [PLAYER_COMMAND] xGods_Hereticx: /town new BlackRazagn
    21:09:43 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'town
    ' in plugin Towny v0.78.0.0​
    Get register.jar

    I already got register.jar but it still doesnt work?
     
  18. Offline

    Colm

    Sorry if this counts as spamming but you missed my post, i'm really sorry for bugging you, its a great plugin just a buggy one :).
    Old post:
    I'm not using permissions, i'm thinking about it because it now has the Permissions 3x import now, so yes that would be a valid answer, as you probably know as I stated it, i'm using Permissions 3x at the moment, hopefully getting of it soon, I will download the latest dev build again.
     
  19. Offline

    sammy3597

    My server is having problems with towny and buildcraft being installed at the same time. The quarry wont function correctly. Why?
     
  20. Offline

    Alien100

    Hello i have towny and bPermissions updated and now with new bpermissions i get.

    Code:
    2012-01-10 01:01:59 [INFO] ==================== Towny ========================
    2012-01-10 01:01:59 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2012-01-10 01:02:01 [SEVERE] Error occurred while enabling Towny v0.78.0.0 (Is it up to date?): de.bananaco.bpermissions.imp.Permissions cannot be cast to de.bananaco.permissions.Permissions
    java.lang.ClassCastException: de.bananaco.bpermissions.imp.Permissions cannot be cast to de.bananaco.permissions.Permissions
    at com.palmergames.bukkit.towny.permissions.bPermsSource.<init>(bPermsSource.java:19)
    at com.palmergames.bukkit.towny.Towny.checkPlugins(Towny.java:221)
    at com.palmergames.bukkit.towny.Towny.load(Towny.java:354)
    at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:110)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:228)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  21. Offline

    ElgarL

    Get Dev of Towny

    Fixed the error in current dev for Perms3 returning a null.

    Get latest dev of Towny.

    You have an outdated plugin breaking register.

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

    Kxertz

    So I have another plugin that is preventing towny from working?
     
  23. Offline

    mate98

    Issues it with a sick-note for me that:"You can't afford to settle a new town here
    what's the problem???
     
  24. Offline

    IceReaper

    I cant find any information on this so i just ask: i would like people to place / destroy some specific blocks in the wild.
    i found some things in the config.yml which are not so well documentated:
    unclaimed_zone_build <- players can always build ? i set it to false
    unclaimed_zone_destroy <- players can always destroy ? i set it to false
    unclaimed_zone_ignore <- this items wont be affected? so i used the default, which includes ladders, ore, torches etc.

    so i "should" be able to forbid placing / building any block, instead of the ones under ignore, right?
    secondly there are some block types which i would like to be only destroyed, not placed (wood)..

    im actualy not sure how to configure this, cause i read the source, read the wiki, read the forums and havent managed to find any information on this. maybe im just missing a permission node which i cannot find... because when i set wild.* allowed, players can build every block, which is again not the way i want it to work.

    So if anyone could help me to create this behaivior, i would be very pleased :)
     
  25. Offline

    Mrchasez

    unclaimed_zone_build <- Players can build in the wild, none claimed towns
    unclaimed_zone_destroy <- Players can destroy in the wild, none claimed towns

    both should be true
     
  26. Offline

    IceReaper

    when i set those two to true, player can build every block / destroy every block. i want them to only build/destroy specific blocks

    edit: v 0.18 mentioned:
    Ignore protection in wilderness for particular blocks. (unclaimed_zone_ignore)
    possible this feature is broken?
     
  27. Offline

    Drunkenmonkey

    the only way land can be claimed is chunks? what when we have a pre defined building area for every player bigger than 16x16 and roads between. Can he claim exact this area like 20x 15 without claiming the road and claiming more then one plot. The chunk plot thing is great when the major claim land for the City but i want roads and stuff smaller then 16x16. Would be great when the resident can mark land he want like worldedit and pay for every block he claim. When he want 10x10 he pays the amount when he want 20x20 he pays 4times more.
    Sorry when this idea is stupid....
     
  28. Offline

    LlmDl

    If you use a permissions plugin (use_permissions:true in the config,) then that section of the config/those sections in the world file are ignored.

    Give players the appropriate permission nodes, found in towny.wild.x

    The wildignore lists are also ignored if you are using permission nodes, look at towny.wild.block.{id}.{build|destroy}
     
  29. Offline

    Malidian

    I keep losing town data when I shut the server down and bring it back
    up. Is anyone having this problem? (i uploaded the full server log.. the last 3 starts are sufficient to review.


    ***************************
    2012-01-10 13:27:39 [INFO] Starting minecraft server version 1.0.1
    2012-01-10 13:27:39 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-b1597jnks (MC: 1.0.1) (Implementing API version 1.0.1-R1)
    2012-01-10 13:28:04 [INFO] [Towny] Version: 0.78.0.4
    Here I created a brand new map, created a town and restarted twice.
    Then the error:

    2012-01-10 13:28:04 [INFO] [Towny] Database: [Load] flatfile [Save]
    flatfile
    2012-01-10 13:28:04 [INFO] [Towny] Loading Error: Exception while
    reading world file plugins\Towny\data\worlds\Fandango.txt
    2012-01-10 13:28:04 [SEVERE]
    com.palmergames.bukkit.towny.NotRegisteredException: Martville is not
    registered.

    *********************************


    When you go into Towny data there is nothing in the towns.txt file and
    nothing the towns folder, but the world file, Fandago.txt has the town
    listed. (towns=Martville,)

    The town and extra plots existed before shutdown the server. This is
    also happening with residents. No other plugins are having problems.

    Any ideas?
     

    Attached Files:

  30. Offline

    seveP

    the plugin stands with red text on /plugins And when i typ example "/t new sevep" nothing happends!
     
  31. Is there any way to make it so that if a town cannot pay its rent, the town is deleted, but not the BLOCKS?

    I just had a few users forget to put in money for their city, and about 6 people's houses, markets, and all their stuff got deleted...
    I have
    Code:
    revert_on_unclaim: 'false'
    , but that only seems to effect when you actually unclaim an area... not when you dont pay rent :(


    I really was hoping that i wouldn't have to face this issue... but here i am... trying to fix the problems its caused, and prevent it from happening again.
     

Share This Page