[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. I'm going over all the renaming and deleting code in the morning as I've spotted a couple of errors there too.
     
  3. Offline

    ShaDooM

    Code:
    2011-07-15 06:24:38 [INFO] [Towny] Loading Error: Exception while reading resident file korvamato
    2011-07-15 06:24:38 [SEVERE] ca.xshade.bukkit.towny.NotRegisteredException: Valley is not registered.
    2011-07-15 06:24:38 [SEVERE] 	at ca.xshade.bukkit.towny.object.TownyUniverse.getTown(TownyUniverse.java:550)
    2011-07-15 06:24:38 [SEVERE] 	at ca.xshade.bukkit.towny.db.TownyFlatFileSource.loadResident(TownyFlatFileSource.java:247)
    2011-07-15 06:24:38 [SEVERE] 	at ca.xshade.bukkit.towny.db.TownyDataSource.loadResidents(TownyDataSource.java:134)
    2011-07-15 06:24:38 [SEVERE] 	at ca.xshade.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:75)
    2011-07-15 06:24:38 [SEVERE] 	at ca.xshade.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:600)
    2011-07-15 06:24:38 [SEVERE] 	at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:116)
    2011-07-15 06:24:38 [SEVERE] 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-07-15 06:24:38 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:864)
    2011-07-15 06:24:38 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    2011-07-15 06:24:38 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    2011-07-15 06:24:38 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    2011-07-15 06:24:38 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:358)
    2011-07-15 06:24:38 [SEVERE] 	at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
    2011-07-15 06:24:38 [SEVERE] 	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    2011-07-15 06:24:38 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:290)
    2011-07-15 06:24:38 [SEVERE] 	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
    2011-07-15 06:24:38 [SEVERE] 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    2011-07-15 06:24:38 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-15 06:24:38 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-15 06:24:38 [INFO] [Towny] Loading Error: Could not read resident data 'korvamato'.
    2011-07-15 06:24:38 [INFO] [Towny] Error: Failed to load!
    2011-07-15 06:24:38 [INFO] [Towny] Version: 0.72.1 - Mod Disabled
    
    Didn't do any renaming, just updated to 0.72
    towny didnt want to load until i deleted "korvamato" from all files

    now its working again.
     
  4. Offline

    BBFPaco

    1. What is the proper way to reload a town from backup?
    2. If a town does not pay upkeep, does it end up in the deleted folder? If so, what is the best way to restore?
    We had an issue where I believe upkeep wasn't paid and towns ended up in deleted folder. However, since this change, there have been issues trying to restore. Trying to restore the town.txt file and towns.txt file listing the towns results in Towny not loading them properly.

    Thank you!
     
  5. Offline

    xboxhacks

    i am currently having problems trying to invite people into my town, it says Towny Not registered.
     
  6. Offline

    dorky106

    0.72.1
    953
    What you mean Pastebin.com to X files?
     
  7. I think he wants to see your config, startup sequence and other .txt files to see if there is any problem he can find that way.
    And an easy way to show people this information would be to copy and paste them into 'http://pastebin.com'
     
  8. Offline

    DaveDee

    another optional idea
    warn mayors/assistants if town has more chuncks than they can hold normally
    And delete such chunks after set amount of days, or add penalty for each chunk
     
  9. Offline

    dorky106

    Only file with info it in though is my config the rest are all blank txt files
    and the config is untouched
    I'll show the server logs in a few mins

    http://pastebin.com/Ry22MscM My Config
     
  10. Offline

    Tadas159

    Waiting for new update to fix that loading bug.
     
  11. Offline

    LlmDl


    You said your .txt files in /towny/data/world/ are blank. That isn't right.

    Can you pastebin.com your startup sequence.

    Towny Build:
    Bukkit Build:
    pastebin.com link to towny's config.yml:
    pastebin.com link to server's startup sequence:
    Doing what you mentioned probably wont work until you add the town to each residents' .txt who belongs in that town. There is an easier way: go into /towny/backups/ and see how recent your last few backups are. They'll have all of the files, as they were during the last server stops. Just search around for the one that matches best, copy all the towns.txt, deletedtown.txt, and any residentsofthattown.txts into their proper folders.
    When a town or nation doesn't pay upkeep they are deleted, you might want to consider taxation, or upkeep only on nations if your server has most of its towns as part of nations.
     
  12. Offline

    Smee2112

    Can you describe how you got multi-world working? I'm thinking of installing Towny but I have a pretty good default World going now. I'd like to start a second world using Towny but leave the default (And Nether) as is. I've been searching on this but haven't found much yet. Thanks!
     
  13. Offline

    LlmDl

    You'll have a .txt file for each world on your server. You can set usingTowny=false in any world you don't want towny to affect.
     
  14. Offline

    Smee2112

    Thanks for the reply and sorry, I'm new to this. Build the new world first and then install Towny which will place the .txt file in all worlds? Or can I install Towny and then continue to add worlds (And the .txt) file as needed?
     
  15. Offline

    LlmDl

    Towny will create a .txt for each world past and present and future.
     
  16. Offline

    Halloaw

    Hello,

    I got an problem.
    I use an MySQL database, and i want to connect Towny to it.
    In the config file i set:
    database_load: MySQL
    database_save: MySQL

    But when i start server, it says it failed to connect!
    I was just wondering. Doesn't it need the password and stuff ?
    Because i tried everything.
    I know it sounds stupid. but i need your help guys.
    I really like the plugin and want to try it!
    Or it doesnt support MySQL yet ?

    Greetings,

    Halloaw
     
  17. Offline

    dorky106

    I will as soon as my server wants to work and load everything
     
  18. Offline

    LlmDl

    You need to leave those as flatfile until towny can use mysql, it only does flatfile for now.
     
  19. Offline

    dorky106

  20. Offline

    LlmDl

    Towny isn't working because iConomy isn't connecting to your mysql database. Fix your iConomy problem and Towny might start working right away.
     
  21. Offline

    dorky106

    This is what I get when Iconomy works.
     
  22. Offline

    LlmDl

    What you showed me isn't iConomy working. Come back when you have a clean startup of iConomy to show me, where Towny still fails.
     
  23. Offline

    dorky106

    http://pastebin.com/brJecB4w
    Sorry it didn't post last time
     
  24. Offline

    LlmDl

    Elgarl will have to look at that, this happened when you logged in and xAuth teleported you to where you logged off right?
     
  25. Offline

    dorky106

    I just logged into my server didn't even have Xauth require me to log in (happens once a while)
    Than that all showed up.
     
  26. Offline

    Valtos

    After restart Server, all Towns, Residents and Nations (everything of Towny) is resetted.
    Any idea why?

    Using Towny 0.72.1
    with iConomy, Permissions 3.0, Questioner 0.4

    Server Shutdown and Start without Exceptions.
    Towny database_load and database_save are flatfile
     
  27. Offline

    LlmDl

    When you say you did a server restart was that a /ta reload, /reload or was it a proper stop and start?
     
  28. Offline

    Valtos

    /stop and restart
     
  29. Offline

    dorky106

    So what info is sappost to be in my Dark Nether.txt in the worlds folder anyways?
     
  30. Offline

    Silarn

    This may or may not have been reported, but apparently a town name with [] characters kills Towny when it attempts to load. I had to go in and change all instances of this town name to get it to work.

    Is this something I can fix with the regex? (Either to prohibit these characters or simply to not fail.)

    Code:
    2011-07-15 05:40:07 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-07-15 05:40:07 [INFO] [Towny] Loading Error: Exception while reading world file surv
    2011-07-15 05:40:07 [SEVERE] ca.xshade.bukkit.towny.NotRegisteredException: [Capital]UnitedTowns is not registered.
    2011-07-15 05:40:07 [SEVERE]     at ca.xshade.bukkit.towny.object.TownyUniverse.getTown(TownyUniverse.java:550)
    2011-07-15 05:40:07 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyFlatFileSource.loadWorld(TownyFlatFileSource.java:546)
    2011-07-15 05:40:07 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyDataSource.loadWorlds(TownyDataSource.java:164)
    2011-07-15 05:40:07 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:75)
    2011-07-15 05:40:07 [SEVERE]     at ca.xshade.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:600)
    2011-07-15 05:40:07 [SEVERE]     at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:116)
    2011-07-15 05:40:07 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-07-15 05:40:07 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:864)
    2011-07-15 05:40:07 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    2011-07-15 05:40:07 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    2011-07-15 05:40:07 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    2011-07-15 05:40:07 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-07-15 05:40:07 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-07-15 05:40:07 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-07-15 05:40:07 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-15 05:40:07 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-15 05:40:07 [INFO] [Towny] Loading Error: Could not read world data 'surv'.
    2011-07-15 05:40:07 [INFO] [Towny] Error: Failed to load!
    2011-07-15 05:40:07 [INFO] [Towny] Version: 0.72.1 - Mod Disabled
    Specifically, someone had changed the name of a town to [Capital Something]Something. So I removed the [Capital Something] from all instances in the flatfiles and it fixed the problem. (Yes, I know capitol is misspelled.)
     
  31. Offline

    LlmDl

    I can't think of how it would happen. You'll have to go into your /towny/backup/ and fix your data folder. If it happens again, come back to us. In 0.72.2 saving and loading is fixed up but I'll be surprised if it happens again.

    Wait, does your dark nether world have a space in it? Spaces aren't allowed, replace it with an _ if it is using a space.

    Yeah you might be able to add those to the regex, but that line uses [ ]'s itself, you probably just shouldn't have anything using those.

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

Share This Page