[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

    thedjshow

    Hmm when i do /plot forsale 500 it says forsale 0 .

    Please help me!
     
  3. Offline

    SmolderingEgo

    @thedjshow for now use /town set plotprice 500
     
  4. Offline

    Psychos

    No problems with previous version, but with 0.73 :
    now spam with :
    and
    with craftbukkit #1000

    I will post bug report later.
     
  5. You did not delete your config.yml and english.yml when you upgraded
     
  6. Offline

    thedjshow

    Code:
    2011-07-18 10:00:24 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-07-18 10:00:24 [INFO] [Towny] Loading Error: Exception while reading world file world
    2011-07-18 10:00:24 [SEVERE] ca.xshade.bukkit.towny.NotRegisteredException: Hellbourne is not registered.
    2011-07-18 10:00:24 [SEVERE]     at ca.xshade.bukkit.towny.object.TownyUniverse.getTown(TownyUniverse.java:550)
    2011-07-18 10:00:24 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyFlatFileSource.loadWorld(TownyFlatFileSource.java:546)
    2011-07-18 10:00:24 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyDataSource.loadWorlds(TownyDataSource.java:164)
    2011-07-18 10:00:24 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:75)
    2011-07-18 10:00:24 [SEVERE]     at ca.xshade.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:600)
    2011-07-18 10:00:24 [SEVERE]     at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:116)
    2011-07-18 10:00:24 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-07-18 10:00:24 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    2011-07-18 10:00:24 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    2011-07-18 10:00:24 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    2011-07-18 10:00:24 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    2011-07-18 10:00:24 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-07-18 10:00:24 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-07-18 10:00:24 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-07-18 10:00:24 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-18 10:00:24 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-18 10:00:24 [INFO] [Towny] Loading Error: Could not read world data 'world'.
    2011-07-18 10:00:24 [INFO] [Towny] Error: Failed to load!
    2011-07-18 10:00:24 [INFO] [Towny] Version: 0.72.1 - Mod Disabled


    I was updating from 0.68 to this version but it wont work.
     
  7. Offline

    Olat

    @ElgarL

    Using Towny.72 and itemcraft I cant get towny to start on RB 953...
    Code:
    12:13:25 [INFO] [Towny] Database: [Load] null [Save] null
    12:13:25 [SEVERE] Error occurred while enabling Towny v0.72.1 (Is it up to date?): null
    java.lang.NullPointerException
            at ca.xshade.bukkit.towny.object.TownyUniverse.setDataSource(TownyUniverse.java:651)
            at ca.xshade.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:594)
            at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:116)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
            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:292)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:279)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:343)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    also my config.yml has only 3 lines in it....
    Code:
    name: ItemCraft
    main: com.asdaarg.bukkit.itemcraft.ItemCraft
    version: 1.6.0
    
    there is a file called 'null' that has a buncha of text in it for msgs to display as well.
     
  8. You have a town called Helbourn listed in your world.txt file that doesn't have a corresponding helbourn.txt file in the town data folder.
    There are likely to be many occurances such as this when moving from an old 68 upto 73 as back then loading/saving so so buggy it left off lots of info thats now needed

    That config is not a towny config.

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

    Psychos

    Ok, it's good now.
    I don't use english.yml :)

    Just a question, can you add support for international characters ? (like é à ç ù etc)
    Thanks for this awesome plugin.
     
  10. Offline

    Olat

    Its in the Towny folder under settings.

    Also doesnt explain the start up error.
     
  11. Offline

    SmolderingEgo

    Is the config file .yml? or .properties? Also if you haven't seen it yet there are instructions on how to upgrade here. there are a lot of changes between .68 and .73
     
  12. Offline

    Olat

    I didnt upgrade. Brand new server im starting up with industrialcraft + towny. and it was called config.yml
     
  13. I don't believe yml supports internation characters the way it's implemented in bukkit.
    You could use notepad++ and make sure you save the file as UTF-8 encoded. It's the only thing you can try.

    That file is not a towny config.yml

    The errors you are seeing are because towny can't read the information it needs from the config. Delete the file and let towny create a new one.

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

    Olat

    Will .73 work with 953?
     
  15. Yes, all bar the new cheat protection. That part requires 1000, but it may be ignored on 953.
    You'll have to try it and see if you get an error. Just disable the cheat protection in the config.
     
  16. Offline

    Olat

    @SmolderingEgo

    Thanks your config worked and let me start it up with 953. Appreciate it.
     
  17. Offline

    SmolderingEgo

    Np, Towny Wiki site is a godsend when trying to configure the plugin or use commands.
     
  18. Offline

    mixxit

    2011-07-18 14:50:03 [INFO] [Towny] Error: Could not read getTownPrefix.
    2011-07-18 14:50:03 [INFO] [Towny] Error: Could not read getTownPostfix.
    2011-07-18 14:50:10 [INFO] [Towny] Error: Could not read getTownPrefix.
    2011-07-18 14:50:10 [INFO] [Towny] Error: Could not read getTownPostfix.
    2011-07-18 14:50:11 [INFO] [Towny] Error: Could not read getTownPrefix.
    2011-07-18 14:50:11 [INFO] [Towny] Error: Could not read getTownPostfix.
    2011-07-18 14:48:39 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'tow$
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:1$
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:$
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler$
    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.ja$
    at ca.xshade.bukkit.towny.TownyFormatter.getFormattedResidentName(Towny$
    at ca.xshade.bukkit.towny.TownyFormatter.getFormattedName(TownyFormatte$
    at ca.xshade.bukkit.towny.TownyFormatter.getStatus(TownyFormatter.java:$
    at ca.xshade.bukkit.towny.object.TownyUniverse.getStatus(TownyUniverse.$
    at ca.xshade.bukkit.towny.command.TownCommand.parseTownCommand(TownComm$
    at ca.xshade.bukkit.towny.command.TownCommand.onCommand(TownCommand.jav$
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    2011-07-18 14:49:01 [INFO] [Towny] Error: Could not read getTownPrefix.
     
  19. Offline

    Ben Balentine

    I upgraded to 73 and now i'm getting the following error,

    Code:
    2011-07-18 10:28:47 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-07-18 10:28:50 [INFO] [Towny] Using: Permissions, iConomy, Essentials
    2011-07-18 10:28:50 [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: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)
    I've tried deleting the settings files, the world files, everything short of deleting all my towny info (that would be very bad)
     
  20. Offline

    hatstand

    Had the same problem here. ElgarL, who fixed it for me, said it was that not all of the towns from towns.txt are in their respective world files.

    Also, typo in /r & /t - Destory instead of Destroy
     
  21. Offline

    Ben Balentine

    yep, i think it was a town in another world that was causing issues. works now, Thanks!
     
  22. Your towny config is either
    Your Towny config has been badly edited or it's out of date.

    Thank you for teh typo. Fixe
    Thank you for the typo. Fixed in source.

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

    Trevor_

    @ElgarL
    Code:
    2011-07-18 13:05:00 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-18 13:05:00 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-18 13:05:00 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-18 13:05:00 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-18 13:05:00 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-18 13:05:00 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-18 13:05:00 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-18 13:05:00 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-18 13:05:00 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-18 13:05:00 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Townstein does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Monopolis does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Lycosa does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] BlackDevil does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Vilnius does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] lastaon does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] DeadmanWonderland does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Deckleville does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] shadowcity does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] City_For_Sell does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Port_West_Elizabeth does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Lps does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] RoberTown does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] MangosTown does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] andrew does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] zen does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Pirates does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] RyugenVillage does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] xzabitors_kahoks does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Underground does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] EarthArmy does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] Athen does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] [Warning] mountain_town does not have a spawn point.
    2011-07-18 13:05:01 [INFO] [Towny] Loading Error: Exception while reading town file Busterds
    2011-07-18 13:05:01 [SEVERE] ca.xshade.bukkit.towny.AlreadyRegisteredException: Lukepwnsu555 already belongs to another town.
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.object.Town.addResidentCheck(Town.java:134)
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.object.Town.addResident(Town.java:125)
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyFlatFileSource.loadTown(TownyFlatFileSource.java:294)
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyDataSource.loadTowns(TownyDataSource.java:144)
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:75)
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:672)
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:630)
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.Towny.loadSettings(Towny.java:256)
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.Towny.load(Towny.java:268)
    2011-07-18 13:05:01 [SEVERE]     at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:104)
    2011-07-18 13:05:01 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-07-18 13:05:01 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    2011-07-18 13:05:01 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    2011-07-18 13:05:01 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    2011-07-18 13:05:01 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    2011-07-18 13:05:01 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-07-18 13:05:01 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-07-18 13:05:01 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-07-18 13:05:01 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-18 13:05:01 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-18 13:05:01 [INFO] [Towny] Loading Error: Could not read town data Busterds'.
    2011-07-18 13:05:01 [INFO] [Towny] Error: Failed to load!
    2011-07-18 13:05:01 [INFO] [Towny] Version: 0.73.0 - Mod Disabled
    2011-07-18 13:05:01 [INFO] [Towny] Using: Permissions, iConomy, Essentials
     
  24. Out of date or badly edited config. Plus a LOT of data file errors.
    Delete your config.yml and your english.yml so Towny can recreate them.
     
  25. Offline

    Jesseg2

    You have the town levels go by amount of residents.
    I want levels to go by amount of plots and make it so the upkeep = NumOfPlots * NormalUpkeep = Upkeep
    Right now is it NumOfRes * NormalUpkeep = Upkeep
     
  26. Offline

    Trevor_

    We just got this plugin two days ago. Lmao. Okay then you're the boss. :p
     
  27. Offline

    SmolderingEgo

    @Trevor_ can you post your config file plz

    also what version of bukkit are you using?
     
  28. Offline

    Trevor_

    Code:
    name: Towny
    main: ca.xshade.bukkit.towny.Towny
    version: 0.73.0
    language: english.yml
    last_run_version: 0.73.0
    author: Shade, Modified by FuzzeWuzze. Forked by ElgarL
    website: http://code.google.com/a/eclipselabs.org/p/towny/
    description: >
        Resident-Town-Nation heirarchy combined with a grid based
        protection system. Including a war event.
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                   Towny commands                     | #
    # +------------------------------------------------------+ #
    ############################################################
    
    commands:
        towny:
            aliases: []
        nation:
            aliases: [n, nat]
        nationchat:
            aliases: [nc]
        townchat:
            aliases: [tc]
        plot:
            aliases: []
        resident:
            aliases: [res, p, player]
        town:
            aliases: [t]
        townyadmin:
            aliases: [ta]
        townyworld:
            aliases: [tw]
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                     Permissions                      | #
    # +------------------------------------------------------+ #
    ############################################################
    
    #  Possible permission nodes
    #
    #    towny.admin: User is able to use /townyadmin, as well as the ability to build/destroy anywhere. User is also able to make towns or nations when set to admin only.
    #    towny.town.new :User is able to create a town
    #    towny.town.claim : User is able to expand his town with /town claim
    #    towny.nation.new :User is able to create a nation
    #    towny.wild.*: User is able to build/destroy in wild regardless.
    #        towny.wild.build
    #        towny.wild.destroy
    #        towny.wild.switch
    #        towny.wild.item_use
    #    towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
    #    towny.spawntp :Use /town spawn
    #    towny.publicspawntp : Use "/town spawn [town]" (teleport to other towns)
    #
    #
    
    # these will be moved to permissions nodes at a later date
    
    nation_creation_admin_only: false
    town_creation_admin_only: false
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                 default Town levels                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # numResidents,namePrefix,namePostfix,mayorPrefix,mayorPostfix,townBlockLimit,upkeepModifier
    
    townLevel:
        - '0,, Ruin,Spirit ,,1,1.0'
        - '1,, (Settlement),Hermit ,,16,1.0'
        - '2,, (Hamlet),Chief ,,32,1.0'
        - '6,, (Village),Baron Von ,,96,1.0'
        - '10,, (Town),Viscount ,,160,1.0'
        - '14,, (Large Town),Count Von ,,224,1.0'
        - '20,, (City),Earl ,,320,1.0'
        - '24,, (Large City),Duke ,,384,1.0'
        - '28,, (Metropolis),Lord ,,448,1.0'
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                default Nation levels                 | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # numResidents,namePrefix,namePostfix,capitalPrefix,capitalPostfix,kingPrefix,kingPostfix,upkeepModifier
    
    nationLevel:
        - '0,Lands of , (Nation),,,Leader ,,1.0'
        - '10,Federation of , (Nation),,,Count ,,1.0'
        - '20,Dominion of , (Nation),,,Duke ,,1.0'
        - '30,Kingdom of , (Nation),,,King ,,1.0'
        - '40,The , Empire,,,Emperor ,,1.0'
        - '60,The , Realm,,,God Emperor ,,1.0'
    
    
    ############################################################
    # +------------------------------------------------------+ #
    # |               Town Claim/new defaults                | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # maximum number of plots any single resident can own
    max_plots_per_resident: 100
    # Maximum number of towns allowed on the server.
    town_limit: 3000
    
    # Minimum number of plots any towns home plot must be from the next town.
    # This will prevent someone founding a town right on your doorstep
    min_distance_from_town_homeblock: 5
    
    # The maximum townblocks available to a town is (numResidents * ratio).
    # Setting this value to 0 will instead use the level based jump values determined in the town level config.
    town_block_ratio: 32
    # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
    # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
    # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
    # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
    town_block_size: 32
    
    
    ############################################################
    # +------------------------------------------------------+ #
    # |             Default new world settings               | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # These flags are only used at the initial setp of a new world.
    
    # Once Towny is running each world can be altered from within game
    # using '/townyworld toggle'
    
    # force_pvp_on is a global flag and overrides any towns flag setting
    force_pvp_on: false
    
    # force_explosions_on is a global flag and overrides any towns flag setting
    force_explosions_on: false
    
    # world_monsters_on is a global flag setting per world.
    world_monsters_on: false
    
    # force_monsters_on is a global flag and overrides any towns flag setting
    force_town_monsters_on: false
    
    # force_fire_on is a global flag and overrides any towns flag setting
    force_fire_on: false
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                Global town settings                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # can residents/Allies harm other residents when in a town with pvp enabled?
    friendly_fire: false
    
    # Players within their town or allied towns will regenerate half a heart after every health_regen_speed milliseconds.
    health_regen: true
    health_regen_speed: 3000
    
    # Enables taxes to be collected daily by town/nation
    # If a town can't pay it's tax then it is kicked from the nation.
    # if a resident can't pay his plot tax he loses his plot.
    # if a resident can't pay his town tax then he is kicked from the town.
    # if a town or nation fails to pay it's upkeep it is deleted.
    daily_taxes: true
    
    # Allow towns to claim outposts (a townblock not connected to town).
    allow_outposts: true
    
    # Allow residents to own/purchase plots within a town
    allow_resident_plots: true
    
    # all the use of /town spawn
    allow_town_spawn: true
    # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
    allow_town_spawn_travel: true
    # Respawn the player at his town spawn point when he/she dies.
    town_respawn: true
    
    # Enables the [~Home] message.
    # If false it will make it harder for enemies to find the home block during a war
    show_town_notifications: true
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                 Plugin interfacing                   | #
    # +------------------------------------------------------+ #
    ############################################################
    
    using_essentials: true
    using_iconomy: true
    using_permissions: true
    using_questioner: true
    
    database_load: flatfile
    database_save: flatfile
    daily_backups: true
    flatfile_backup: zip
    
    # The time taken between each "day". At the start of each day, taxes will be collected.
    # Judged in milliseconds. Default is 24 hours.
    day_interval: 86400000
    
    # Lots of messages to tell you what's going on in the server with time taken for events.
    debug_mode: false
    
    # Spams the player named in dev_name with all messages related to towny.
    dev_mode: false
    dev_name: ElgarL
    
    # Record all messages to the towny.log
    logging: false
    
    # If true this will cause the log to be wiped at every startup.
    reset_log_on_boot: true
    
    name_check_regex: '^[a-zA-Z0-9]+[a-zA-Z0-9._-]*$'
    name_filter_regex: '[ /]'
    name_remove_regex: '[^a-zA-Z0-9._-]'
    
    # Not a good idea to change this at the moment.
    npc_prefix: 'NPC'
    
    # Skin regular chat with a player's towny prefix, postfix, and colour.
    # You can NOT change this setting and perform a /townyadmin reload.
    # It requires a server restart is setting to false.
    modify_chat_name: false
    
    ############################################################
    # +------------------------------------------------------+ #
    # |             block/item/mob protection                | #
    # +------------------------------------------------------+ #
    ############################################################
    
    protection:
        # Items that can be blocked within towns via town/plot flags
        # 259 - flint and steel
        # 325 - bucket
        # 326 - water bucket
        # 327 - lava bucket
        # 351 - bone/bonemeal
        
        item_use_ids: 259,325,326,327,351
    
        # Items which can be blocked or enabled via town/plot flags
        # 25 - noteblock
        # 54 - chest
        # 61 - furnace
        # 62 - lit furnace
        # 64 - wooden door
        # 69 - lever
        # 70 - stone pressure plate
        # 71 - iron door
        # 72 - wooden pressure plate
        # 77 - stone button
        # 96 - trap door
        # 84 - jukebox
        # 93/94 - redstone repeater
        
        switch_ids: 25,54,61,62,64,69,70,71,72,77,96,84,93,94
        
        # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
        # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig, 
        # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
    
        # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
    
        town_mob_removal_entities: Monster,WaterMob,Flying,Slime
        
        # Globally remove living entities in all worlds that have their flag set.
    
        world_mob_removal_entities: WaterMob,Flying,Slime 
        
        # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
        # Lower values will check all entities more often at the risk of heavier burden and resource use.
        # NEVER set below 1000 (guestimate)
        mob_removal_speed: 5000
        
        # Prevent fly and double block jump cheats.
        cheat_protection: true
    
    
    ############################################################
    # +------------------------------------------------------+ #
    # |             Unclaimed plot settings                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    unclaimed:
    
        unclaimed_zone_build: false
        unclaimed_zone_destroy: true
        unclaimed_zone_item_use: true
        unclaimed_zone_switch: false
        unclaimed_zone_ignore: 6,14,15,16,17,18,21,31,37,38,39,40,50,56,65,66,73,74,81,82,83,86,89
    
    
    ############################################################
    # +------------------------------------------------------+ #
    # |             Default Town/Plot flags                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # Default permission flags for towns
    # These are copied into the town data file at creation
    
    default_perm_flags:
    
        # Can allies/outsiders/residents perform certain actions in the town
    
        # build - place blocks and other items
        # destroy - break blocks and other items
        # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
        # switch - trigger or activate switches (as defined in switch_ids)
        default_town_perm_ally_build: false
        default_town_perm_ally_destroy: false
        default_town_perm_ally_itemuse: false
        default_town_perm_ally_switch: false
        default_town_perm_outsider_build: false
        default_town_perm_outsider_destroy: false
        default_town_perm_outsider_itemuse: false
        default_town_perm_outsider_switch: false
        default_town_perm_resident_build: true
        default_town_perm_resident_destroy: true
        default_town_perm_resident_itemuse: true
        default_town_perm_resident_switch: true
    
    # Default permission flags for residents plots within a town
    
        # Can allies/friends/outsiders perform certain actions in the town
    
        # build - place blocks and other items
        # destroy - break blocks and other items
        # itemuse - use items such as furnaces (as defined in item_use_ids)
        # switch - trigger or activate switches (as defined in switch_ids)
        default_resident_perm_ally_build: false
        default_resident_perm_ally_destroy: false
        default_resident_perm_ally_itemuse: false
        default_resident_perm_ally_switch: false
        default_resident_perm_friend_build: true
        default_resident_perm_friend_destroy: true
        default_resident_perm_friend_itemuse: true
        default_resident_perm_friend_switch: true
        default_resident_perm_outsider_build: false
        default_resident_perm_outsider_destroy: false
        default_resident_perm_outsider_itemuse: false
        default_resident_perm_outsider_switch: false
    
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Resident settings                   | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # player is flagged as inactive after 1 hour (default)
    inactive_after_time: 259200000
    
    # if enabled old residents will be kicked and deleted from a town
    # after Two months (default) of not logging in
    delete_old_residents: true
    inactive_after_time: 259200000
    
    # The name of the town a resident will automatically join when he first registers.
    default_town_name: ''
    
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Economy settings                    | #
    # +------------------------------------------------------+ #
    ############################################################
    
    economy:
    
        # Cost to use /town spawn [town]
        price_town_spawn_travel: 25.0
    
        price_death: 10.0
        price_death_wartime: 200.0
    
        # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
        price_nation_neutrality: 100.0
    
        # How much it costs to start a nation.
        price_new_nation: 75000.0
        # How much it costs to start a town.
        price_new_town: 1280.0
        # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
        price_outpost: 500.0
    
        # The price for a town to expand one townblock.
        price_claim_townblock: 25.0
    
        # The server's daily charge on each nation. If a nation fails to pay this upkeep
        # all of it's member town are kicked and the Nation is removed.
        price_nation_upkeep: 1500.0
    
        # The server's daily charge on each town. If a town fails to pay this upkeep
        # all of it's residents are kicked and the town is removed.
        price_town_upkeep: 100.0
    
    
    
    
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Wartime settings                    | #
    # +------------------------------------------------------+ #
    ############################################################
    
    #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
    wartime_nation_can_be_neutral: true
    wartime_base_spoils: 25000.0
    wartime_home_block_hp: 120
    wartime_min_height: 60
    wartime_points_kill: 1
    wartime_points_nation: 100
    wartime_points_town: 10
    wartime_points_townblock: 1
    wartime_remove_on_monarch_death: false
    wartime_town_block_hp: 60
    wartime_town_block_loss_price: 100.0
    wartime_warning_delay: 30
    
    Bukkit Build 1000, Recently Redid the config file, same error as before.
     
  29. The new config will have fixed your townLevel length errors. The others you'll need to jump on IRC with us adn be prepared to pastebin a lot of files so we can fix it. Your data is quite messed up.

    Trevor_ is sorted, via IRC. Corruped files due to a server crash.

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

    Ben Balentine

    I'm getting an error when I try to use /town spawn, here's the log.
    Code:
    2011-07-18 14:03:10 [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
     

Share This Page