[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

    DragonSupremacy

    I can't seem to make new towns. Instead, I get this error log.

    Not sure if it's been posted before, it's late here atm :)
    CB #1185
    Register 1.3
    iConomy 6b4
    Towny Advanced 0.76.1.0
    PEX 1.14
     
  3. Offline

    Exidous

    Tryed to upgrade again and I cannot get it to work. Even keeping the default config towny generates and copying data and setting files over gives me this:


    Code:
    2011-09-24 19:48:08 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-09-24 19:48:22 [INFO] [Towny] Using: Permissions, iConomy
    2011-09-24 19:48:22 [INFO] [Towny Error] Detected an error with the world files. Attempting to repair
    2011-09-24 19:48:22 [SEVERE] Error occurred while enabling Towny v0.76.1.0 (Is it up to date?): null
    java.lang.NullPointerException
        at com.palmergames.bukkit.towny.Towny.SetWorldFlags(Towny.java:168)
        at com.palmergames.bukkit.towny.Towny.load(Towny.java:320)
        at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:113)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-09-24 19:48:22 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-09-24 19:48:23 [INFO] Done (3.293s)! For help, type "help" or "?"
    
     
  4. Offline

    LlmDl

    Grab the latest Dev build from the first post. There are some new permission nodes, to do with the /town spawn command:
    Code:
            - towny.town.spawn.* : Grants all Spawn travel nodes
            - towny.town.spawn.town : Ability to spawn to your own town.
            - towny.town.spawn.nation : Ability to spawn to other towns in your nation.
            - towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
            - towny.town.spawn.public : Ability to spawn to unaffilated public towns.
    
    Note that if your players get towny.town.* they can use public spawn travel.
    Do you by any chance have a world which has a space in its name?
     
    MJRamon likes this.
  5. I@m afraid the way we do the auot updating of the config Bukkit now handles the ordering of the items in each node. The issue is a bukkti one in that is uses maps and not ordered maps.
     
  6. Offline

    Greynade

    Yes, it makes sense how that would be a problem, with just empty brackets. Regardless, on my own server, a missing town name results in an awkward name appearance with the format, "[person'srank]{[person'sname] of [persons'stown]:" and when there is a town, the brackets serve to make the reading of the name choppy. In general, they aren't necessary (at least in my case).

    So aside from the remaining option of asking you to implement a chat format that provides a separate output for whether a resident is in a town or not (same with a nation), could I somehow remove the addition of the brackets in my own Towny.jar file? I spotted where the chat is formatted in the \Towny.java directory while going through the source code. If so, what program would I use to edit that class file?
     
  7. Offline

    Newby_5719

    Does Towny stop endermen from picking up blocks?
     
  8. Offline

    WolwX

    Same problem for me =>

    Code:
    16:42:25 [SEVERE] Error occurred while enabling Towny v0.76.1.0 (Is it up to date?): null
    java.lang.NullPointerException
    at com.palmergames.bukkit.towny.Towny.SetWorldFlags(Towny.java:168)
    at com.palmergames.bukkit.towny.Towny.load(Towny.java:320)
    at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:113)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    My world is called "rebirth" so no space into the name

    I started to debug it, and I found that's in relation with my "resident" and "town" folder (into data) :x

    So I will search what's wrong exactly into that

    And one little suggestion :)

    @ElgarL can you add a function to keep only x backup files ? since my backups folder have many backups files ^^'

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

    Akislia

    Sorry if this has been asked before or it is said else where, but I would like to know if there is a way to make a plot public so everyone can use it. I want to make a town warehouse but I also want my town permissions off.
     
  10. Offline

    Rockstar04

    Well I am not sure if you can set just one plot for ANYONE to use it, but you can set a towns flags to allow anyone to build destroy and use switches (doors levers buttons and such) anywhere in the town that is public. So any other town building could also be used and modified.

    You could also buy the plot and then set your "friends" permissions to let anyone use the area, but then any other plots you owned would also be open to use by anyone.
     
  11. Offline

    MJRamon

    Look in the Wiki, it is all described
     
  12. Grab latest Dev. Turn on debug and startup.

    Already in Dev.

    backups_are_deteleted_after: 90d

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

    Akislia

    Do I know you?
     
  14. Offline

    WolwX

    Finally I found the bug :)

    In older revision the files /worlds/nameofmyworld.txt don't needed to list each town into the first line
    "towns=mytown,mysecondtown,"

    But since this one, that's necessary or you stuck with this error =>

    Code:
    2011-09-24 19:48:08 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-09-24 19:48:22 [INFO] [Towny] Using: Permissions, iConomy
    2011-09-24 19:48:22 [INFO] [Towny Error] Detected an error with the world files. Attempting to repair
    2011-09-24 19:48:22 [SEVERE] Error occurred while enabling Towny v0.76.1.0 (Is it up to date?): null
    java.lang.NullPointerException
        at com.palmergames.bukkit.towny.Towny.SetWorldFlags(Towny.java:168)
        at com.palmergames.bukkit.towny.Towny.load(Towny.java:320)
        at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:113)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-09-24 19:48:22 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-09-24 19:48:23 [INFO] Done (3.293s)! For help, type "help" or "?"
     
  15. Offline

    LlmDl

    Grab the latest Dev, if you are using iconomy 6 be sure to set using_register:true in your config.
     
  16. Offline

    ngreen6

    Can you give me a easy way to download plugins because when I do the same thing to others it still won't work.
     
  17. Offline

    rainandwind0

    ElgarL,
    The plugin is running great, but I am unable to use one crucial part of towny.
    I am receiving an error when i try and use /town deposit [amount].
    My settings and plugins are as follows
    Plugins:
    Questions 0.4
    Register 1.3
    BOSEconomy 7.2
    Essentials 2.6.1
    Towny Advanced 0.76.1.0

    Plugin Interfacing settings:
    Code:
    plugin:
        # The time taken between each "day". At the start of each day, taxes will be collected.
        # Judged in seconds. Default is 24 hours.
        day_interval: 1d
    
        interfacing:
            # Enable using_essentials if you are using cooldowns in essentials for teleports.
            using_essentials: 'true'
            # True to use Permissions 2.7x, 3.1x or GroupManager Bridge
            # False to use Bukkits built in permissions/Groupmanager.
            using_permissions: 'true'
            # Enable if you have the Register plugin to manage your Economy plugin.
            # Register supports: iConomy5, iConomy6, EssentialsEco, BOSEconomy.
            # https://github.com/iConomy/Register/tree/master/dist
            using_register: 'true'
            # Enable using_questioner if you are using questioner to send/receive invites to towns/nations.
            # See http://code.google.com/a/eclipselabs.org/p/towny/wiki/Questioner for more info.
            using_questioner: 'true'
            # Enable to retain iConomy 5 legacy support (overridden by the using_register setting).
            using_iconomy: 'false'
    
        # Record all messages to the towny.log
        logging: 'true'
        # Lots of messages to tell you what's going on in the server with time taken for events.
        debug_mode: 'false'
        # If true this will cause the log to be wiped at every startup.
        reset_log_on_boot: 'true'
    
        database:
            database_save: flatfile
            flatfile_backup: zip
            backups_are_deteleted_after: 90d
            database_load: flatfile
            daily_backups: 'true'
    
        # Spams the player named in dev_name with all messages related to towny.
        dev_mode:
            dev_name: ElgarL
            enable: 'false'
    
    version:
        # Minium required version of CraftBukkit.  Please do not edit.
        bukkit_version: '1185'
        # This is for showing the changelog on updates.  Please do not edit.
        last_run_version: 0.76.1.0
        # This is the current version of Towny.  Please do not edit.
        version: 0.76.1.0
    Console Error
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'town' in plugin Towny v0.76.1.13
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    	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:92)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
    	at com.palmergames.bukkit.towny.object.TownyEconomyObject.collect(TownyEconomyObject.java:39)
    	at com.palmergames.bukkit.towny.object.TownyEconomyObject.pay(TownyEconomyObject.java:47)
    	at com.palmergames.bukkit.towny.command.TownCommand.townDeposit(TownCommand.java:1678)
    	at com.palmergames.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:137)
    	at com.palmergames.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:90)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    	... 12 more
    
    Every other command in Towny is working properly. If you could help me with this issue it would be much
    appreciated. Thanks,
    Rainandwind0
     
  18. Offline

    LlmDl

    @rainandwind0
    Grab the latest dev version of towny, it'll work then.
     
  19. Offline

    rainandwind0

    I am using the latest dev version... ): I was reading through other errors and saw people were doing that. so I tried it. It fixed ever issue except that one. :/
     
  20. Dev DOES fix that issue.
    Make sure you have using_register: true in config
     
  21. Offline

    rainandwind0

    let me try to revert some stuff to default settings, reset them, and try again. because I have it set to true. Ill try and fix it again. If you look in my original post, i posted my plugin interface. it is set to true. so. Ill try to get it working.

    I just revert everything for both BOSEconomy to default settings, as well as town, reset the using_register: true and made sure all plugin interfacing is correct, but still received the error. going to try redownloading the dev build.

    Well... still no luck. Any suggestions?
    (I'm fairly tech savvy so don't worry about me not understanding something.)
    Ive reverted to all proper settings, re installed the bleeding edge build, and I am still getting just that one error. :/

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

    rainandwind0

    http://pastebin.com/WV66j46p
    Thats what it is currently at.

    By the way, thank you for the plugin and I appreciate the help. I spent about 4 hours trying to figure it out myself before asking. Thank you for you time.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  24. Config is correct. Version is correct.
    Pastebin a clean server startup
     
  25. Offline

    rainandwind0

    http://pastebin.com/sAA9C2Ze
    In this version, I realize the warning about the essentials mismatch. I reupdated it and tried again. still receiving the error.
     
  26. Offline

    Jiggy

    I get this error at the startup:

    What does it mean with: World not registered?
     
  27. Offline

    the_merciless

    What exactly is the town tag used for? i entered 1 but dont know the use for it?
     
  28. Offline

    LlmDl

    You know that Questioner works just fine right? It's a little weird that its a separate .jar but then again, you're a machete panda.

    If you use the town or nation names in your chat line, a town can set their tag, maximum 4 characters, and it will use the tag instead of the full name.

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

    the_merciless

    Thats what i thought but i cant find an option in the config file to add tags to names?
     
  30. Offline

    LlmDl

    The very bottom of the config is the chat section. The chat line by default has '{nation} {town}....' Its the nation and town parts that will be shortened to the tag if it is set by the mayor/king of the town/nation.
     
  31. one of yoru plugins must be killing register. I know MyHome does, but I'm unsure of what others.
     

Share This Page