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

    hiro24

    Question/request: As for the war mode, do you think there will come a time you might make land capturable by other towns/nations? We're currently running the "factions" plugin, and it works great in that aspect.. warring factions can go in and kill enemies and actually capture their lands. But it has its shortcomings, and I'd love to use towny.. if something like that were possible.
     
  3. [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)
    2011-07-18 19:39:07

    CB1000. :O Would appreciate a quick response.
    http://pastebin.com/UzbjMivr
    Haven't changed english.yml
     
  4. Offline

    SplenectomY

    I'm gonna guess the error is more related to CB 1000. I'm getting the same one as ASILVERNINJA and Trevor.
     
  5. Not getting it for anything else, and Towny has stopped working (My precious spawnpoint :'(, lucky for bigbrother)
     
  6. What version of Essentials are you using?

    You have towns registered which missing from your world files. Grab the dev version, turn on debug and watch the output on startup When it lists a world and then gives a null error, edit the world data file that town is in and add it's name to the list.

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

    Erbros

    Towny: 0.73.0
    CB: 953


    Code:
    2011-07-18 23:15:11 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-07-18 23:15:12 [INFO] [Towny] Using: Permissions, iConomy, Questioner
    2011-07-18 23:15:12 [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:864)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
            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)
    
    Config.yml

    Thanks for all your hard work to update Towny, it is very much appreciated :)
     
  8. Nothing is finalized about war yet. It's a planned update but my focus at the moment is bugs.
    Your best change of getting it added as an option is to make an enhancement issue report on the Towny site.

    You have towns registered which missing from your world files. Grab the dev version, turn on debug and watch the output on startup When it lists a world and then gives a null error, edit the world data file that town is in and add it's name to the list.

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

    SwearWord

    @ElgarL
    Can you PLEASE mirror the source on GitHub, google code is a pain in the butt. I have a alot of fixes and features I want to merge with the original code for my server. Or just give me a zip file.

    I've performed and SVN checkout but the number of bugs it has cannot be real.
     
  10. I hate github with a passion. It's the reason I used google code. SVN is so much easier, especially with the google code plugin for Eclipse.

    What errors are you seeing? I have zero errors and zero warnings. As for bugs, we are VERY low on the bug list now.

    Note: There have been MAJOR code changes and reorganization since the .68 version.
     
  11. It went bad, then got worse, then got a lot worse, then went much better; fixed. :D Thanks for the work you are doing to Towny.
     
  12. Offline

    SwearWord

    @ElgarL
    I have over 58 warnings. Can you upload the source in a zip?
    Also, with the latest source pulled from google code, I'm getting an exception when doing is.close() on FileMgmt.java line 116
     
  13. Offline

    larsy1995

    Hey, I have a suggestion. Could you make it so that this plugin works together with Factions? So when a faction claims a chunk in a town, they can build there but not outside of it. We have a org on my server that wants to have a HQ in each major town, but it aint possible when towny overrides factions.
    Thanks in advance.
     
  14. go into your workspace settings....
    check

    'Ignore unavoidable generic type problems'
    'Enable '@SuppressWarnings' annotations
     
  15. Offline

    SwearWord

    @larsy1995
    Factions and Towny are HIGHLY incompatible. Just unclaim a chunk in each town and have the org claim an outpost there.
     
  16. Offline

    larsy1995

    k, thanks for the heads-up.
     
  17. Offline

    Erbros

    Thank you so much! Fixed in a matter of seconds after your solution :)
     
  18. Grab the dev version Swearword. I've tidied up a little help with your default config warnings.

    But be certain you are using 1.6 java
     
  19. Offline

    Frvwfr3

    Can you please update this to the current iChat 2.3.3 format so it works with it :/

    Thanks..
     
  20. Offline

    LlmDl

    Tell us what's not working? We're not using it personally and I know I'm not gonna be arsed to figure out the problem you've had. Simple stuff if you want to request something get fixed really.
     
  21. Offline

    Justinwiz

    I recently upgraded to Bukkit build #1000 and after the update I started to get the "An internal error occurred while attempting to perform this command" problem then trying to execute /town.

    This was the error that was printed in the console:

    Code:
    03:22:48 [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.NullPointerException
            at ca.xshade.bukkit.towny.TownySettings.getMayorPrefix(TownySettings.java:465)
            at ca.xshade.bukkit.towny.TownyFormatter.getFormattedResidentName(TownyFormatter.java:244)
            at ca.xshade.bukkit.towny.TownyFormatter.getFormattedName(TownyFormatter.java:229)
            at ca.xshade.bukkit.towny.TownyFormatter.getStatus(TownyFormatter.java:116)
            at ca.xshade.bukkit.towny.object.TownyUniverse.getStatus(TownyUniverse.java:575)
            at ca.xshade.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:91)
            at ca.xshade.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:77)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
    I am running CentOS 5.5 64bit with no control panel and running the server with 3GB of RAM with about 32 players on at the time.

    These plugins are installed:
    Code:
     Plugins: BukkitContrib, FalseBookIC, AntiHack, AdvancedWarning, VoxelSniper, iConomy, NarrowtuxLib, FalseBookCart, WorldGuard, DailyBonus, VoxelPort, Minequery, MagicCarpet, SimpleSave, FalseBookCore, iPaint, HTTPConsole, AutoAnnouncer, FalseBookChat, iAuction, Essentials, Permissions, HeroSpawn, ButtonWarp, CraftBukkitUpToDate, LWC, BigBrother, FalseBookExtra, Showcase, Votifier, VanishNoPickup, FakeMessage, PorteCoulissante, Towny, dynmap, EveryEgg, FalseBookBlock, PermissionsSql, WorldEdit, LazyRoad, iChat, EssentialsSpawn, Jobs
    
    And output of uname -a:
    Code:
    Linux XXXXXXXX 2.6.18-238.9.1.el5.028stab089.1 #1 SMP Thu Apr 14 14:06:01 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux
    Any ideas?
     
  22. Offline

    LlmDl


    Towny Build:
    Link to pastebin.com'd towny config.yml :
    Link to pastebin.com'd server startup:
     
  23. Offline

    Ben Balentine

    Essentials & EssentialsSpawn 2.3.7
     
  24. Offline

    Legionarius

    GREAT job on the revive guys. One feature request. Have claim prices increase in kind with town size (similarly to upkeep).
     
  25. Offline

    Justinwiz

  26. Offline

    LlmDl

    You never mentioned if you have usingEssentials:True in the log. Also tell us your towny build number please.

    By prices do you mean taxes? Or the price of a plot?

    You copy-pasted the townLevel and nationLevel lines, they are missing the upkeep modifier flag. Please add ,1.0' to the end of each line, alternately delete the config.yml and let it regenerate so you can see what it's supposed to look like.

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

    Legionarius

    Claim prices for mayors. It creates a good money sink :)
     
  28. Offline

    Justinwiz

    You are my hero, thank you :)
     
  29. Offline

    LlmDl

    So you mean the fee mayors are charged when they use "/town claim" right? That wouldn't be a bad idea, but that's what upkeep is for, and it can be altered.

    One thing you might consider, set you town upkeep low, just enough to slowly kill off inactive towns, but set your nation upkeep higher. This will make nations tax towns more, in order to pay their own upkeep costs. It will make money flow upwards en masse to the nation where it's removed from the economy via upkeep.

    Edit: Alternately, when the economy is deflated sufficiently, lower the upkeeps. When the economy is inflated, raise upkeeps.
     
  30. Offline

    Legionarius

    I have to be careful with the upkeep modifier though. Since I want to incentavize larger towns, I need to make larger towns more cost effective than, say, two smaller towns whose sum-total number of plots is equal to that of a single, larger town. If I do a straight ramp up of upkeep costs using a multiplier I do just the opposite. In truth, any wise admin would make the upkeep modifier go down as towns grew larger. That isn't to say it doesn't get more expensive - because it does - it simply means that the more people group together, the more cost effective it becomes.

    Now, to keep towns from taking over the entire countryside (without placing a hard limit) I would like to put a multiplier on the claim price every 10, 15, 20 (etc) claims. This would allow prospering towns to continue to grow using funds they win from our arena events, server lottery, etc.

    /rant :D
     
  31. Offline

    Ben Balentine

    I did mention installing Towny .73, and yes i have usingEssentials set to true.

    [edit] CB: 1000, and correction, using_essentials: true
     

Share This Page