[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

    LlmDl

    You need to update to the dev versions of towny and townychat.

    Not quite. That bit is for the colours applied to kings/mayors chat.
     
  3. Offline

    pacmanjones

    Aw, well if you include the option to change the color of your town tag (like SimpleClans for example) I'm sure it would be a popular, well used feature.
     
  4. Offline

    blackalegator

    I really need some help here... I am using one of the dev builds which came out right after PEX changed smth in their config, and towny conflicted with it. Right now I have one serious problem : player is making lava mounatians, which are able to go even on the private terrirotry (eg makes a tall coddlestone towwer, places lava on it, then places water on it, then lava again. Like this A VERY big mountain is created and in fact both lava and water are able to run through the protected land, making it possible for player to harshly troll town mayors. Is there a fix in the newer versions? I cant just ban that player btw...
     
  5. Offline

    NotYetRated

    Why would you not ban such a player exactly? New versions disallow this as far as I know, as I have had no issues with it. Though if I did, lifetime jail for that person.
     
  6. Offline

    LlmDl

    Update PEX, Towny, we've kept up with PEX's changes with same-day updates to Towny.
    About your lava problem, just dont give players towny.wild.item_use and they can't use buckets in the wild.
     
  7. Offline

    Crysillion

    Hello. I love the Towny plugin, but I am a bit new to it.

    I'm running a PVP server with heavy emphasis on clans. I've noticed one big issue with my server however is that new players join, ask to join a clan, and nobody is ever recruiting, so they leave. They join and want to play with others, but they can't. They have no interest in my server.

    Despite that, my server is doing OK, but this post isn't about that.

    The reason people won't recruit is because if they add someone as a member to their town then they have free reign over everything. Why recruit a brand new person and risk losing all of your goods as a result? My server promotes raiding, so we don't have things like LWC and Lockette. I looked into it but I can't seem to find a way to do this...


    This is what I want. Someone joins the town, but they're on a bit of a trial period. They can't actually break stuff or build in the actual town yet, but they are still a part of the town. Is it possible to make it so that....

    Members cannot build or destroy in towns. They can still access chests and use levers and such, but they can't break through anything.

    Trusted members will be Assistants, who WILL be able to break and build. So the system can work that established clans can recruit new members and see how they are, if a bond is formed, bump them up to Assistant so that they can actually build and destroy within the town itself.


    Basically, I'm looking to make it so that Members become more like New Recruits, and Assistants become more like Members.

    How would I go about doing this? I check the config.yml ,I don't see it.
     
  8. Offline

    Maxxgold

    Yeah it is CB1317. Do I just drop in the new CB 1337 ?
     
  9. Offline

    briman0094

    I'm using 1337 and I can't get this plugin to work. It gives a NoClassDefFound error for org.bukkit.configuration.file.YamlConfig. I thought this was fixed in the last update...
     
  10. Offline

    LlmDl

    This part can be solved using the default_town: ' ' in the config, you create a spawn town that players are automatically added into upon their first join.

    Chests are a part of the switch perm category, each individual plot can have different switch perm configurations.
    You can make it so a town's townblocks cannot be affected the residents. Use /town set perm resident off. And /plot set perm resident off, on any blocks that are already claimed by the town. The HowTownyWorks wikipage explains plot-perms.

    Assistants are de facto mayors, with the same rights and privileges, its not smart to treat them otherwise.

    Replace the old craftbukkit file with the new one.

    You didn't post an error, but I bet the dev versions of Towny will fix your problem.
     
  11. Offline

    briman0094

    Sorry...here's the full stack trace.

    NoClassDefFound Error on startup (open)

    Code:
    2011-10-26 18:42:51 [INFO] ====================      Towny      ========================
    2011-10-26 18:42:51 [SEVERE] Error occurred while enabling Towny v0.77.0.0 (Is it up to date?): org/bukkit/configuration/file/YamlConfiguration
    java.lang.NoClassDefFoundError: org/bukkit/configuration/file/YamlConfiguration
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClassCond(Unknown Source)
    	at java.lang.ClassLoader.defineClass(Unknown Source)
    	at java.security.SecureClassLoader.defineClass(Unknown Source)
    	at java.net.URLClassLoader.defineClass(Unknown Source)
    	at java.net.URLClassLoader.access$000(Unknown Source)
    	at java.net.URLClassLoader$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(Unknown Source)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    	at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:219)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at com.palmergames.bukkit.towny.TownySettings.loadConfig(TownySettings.java:254)
    	at com.palmergames.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:892)
    	at com.palmergames.bukkit.towny.Towny.load(Towny.java:334)
    	at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:108)
    	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 org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
    	at org.bukkit.Bukkit.reload(Bukkit.java:173)
    	at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    	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:464)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.configuration.file.YamlConfiguration
    	at java.net.URLClassLoader$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(Unknown Source)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	... 39 more
    
     
  12. Offline

    Vixolus

    saying /town leave and I get "L.java.lang.String;@5b21591b"

    77.0.1 cb 1337
     
  13. Offline

    LlmDl

    Strange, pastebin.com the full startup for me, or join the irc and link it to me there.
     
  14. Offline

    briman0094

    My server is shut down for the night unfortunately. I'll post a PasteBin of the log as soon as possible tomorrow.
     
  15. Offline

    LlmDl

    Sure, drop into the IRC and I can help you then.
     
  16. Offline

    erdrickk

    for some strange reason when I /tc or /nc I am getting unknown command...any idea?
     
  17. Offline

    Jack_Miller

    [SEVERE] Error occurred while enabling Towny v0.77.0.0 (Is it up to date?): null
    java.lang.NullPointerException
    at com.palmergames.util.FileMgmt.recursiveZipDirectory(FileMgmt.java:243)
    at com.palmergames.util.FileMgmt.zipDirectories(FileMgmt.java:235)
    at com.palmergames.bukkit.towny.db.TownyFlatFileSource.backup(TownyFlatFileSource.java:99)
    at com.palmergames.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:919)
    at com.palmergames.bukkit.towny.Towny.load(Towny.java:334)
    at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:108)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    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)


    ??? Testes on Server with Boseconomy and Permissions Bukkit and on a fresh installed Server, too
     
  18. Offline

    bobbysmithyy

    Installs fine but when I use any command it says internal error.
     
  19. Offline

    Lakanate

    I have gotten this error when I first installed Towny, Iconomy 6, with register present.

    Code:
    2011-10-27 06:53:17 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-10-27 06:53:17 [SEVERE] Error occurred while enabling Towny v0.77.0.0 (Is it up to date?): null
    java.lang.NullPointerException
        at com.palmergames.util.FileMgmt.recursiveZipDirectory(FileMgmt.java:243)
        at com.palmergames.util.FileMgmt.zipDirectories(FileMgmt.java:235)
        at com.palmergames.bukkit.towny.db.TownyFlatFileSource.backup(TownyFlatFileSource.java:99)
        at com.palmergames.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:919)
        at com.palmergames.bukkit.towny.Towny.load(Towny.java:334)
        at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:108)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        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)
    EDIT: Ok just tried reinstalling it, error still pops up in the console.
     
  20. Offline

    LlmDl

    There are new permission nodes for the chat channels, you'll also need townychat.jar

    @Jack_Miller
    @Lakanate
    @bobbysmithyy
    All of you need the dev versions of towny and townychat.
     
  21. Thats fixed in Dev.
    That error means you not running 1337 of bukkit
    Not sunning 1337 of bukkit
     
  22. Offline

    erdrickk

    huh? where do I get the townychat.jar? all I see is the main jar for towny itself, not a zipped folder.

    LOL wow I am a noob - found it. Sorry for the dumb question. Thankyou
     
  23. Offline

    Crysillion

    Could this be changed? As it stands, my server has no use for Assistants. It's all Mayor and Residents because of the way it's all setup. Changing the perms of the Assistant to be more like a traditional Resident would be ideal here.

    Please tell me it's possible...?

    Thanks for the information so far.
     
  24. Offline

    LucidCraft

    Greetings,

    Can anyone recommend a chat plugin with channel creation functionality that can handle local channels and such, that also still works with Towny in RB 1337. I just want the City/Nation Tags to show in chat still. I'd just use towny chat, but I can't get local channels, spam/curse filters, cleaner /tell funcitonality, etc... I can find other plugins that do some of these things, which I'm fine with, but none of them play nice with taking the Towny tags into chat any more.

    I see other people asking this question, but I haven't seen an answer and I've spent far too much time configuring and testing chat plugins to not reach out to the community. Even the ones mentioned in the config, ichat and mchat, seem to acknowledge that they don't work properly with Towny. Herochat most certainly does not now. That is the one I was using prior to this search.

    Any experienced guidance is appreciated! :)

    Sincerely,
     
  25. Keep townychat.jar in the plugins folder but set the chat modify enabled: false.
    Add the town/nation bits you want to whatever chat plugin you want to use's formatting.
     
  26. Offline

    kokoface

    i get this error :
    2011-10-27 06:53:17 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile 2011-10-27 06:53:17 [SEVERE] Error occurred while enabling Towny v0.77.0.0 (Is it up to date?): null java.lang.NullPointerException at com.palmergames.util.FileMgmt.recursiveZipDirectory(FileMgmt.java:243) at com.palmergames.util.FileMgmt.zipDirectories(FileMgmt.java:235) at com.palmergames.bukkit.towny.db.TownyFlatFileSource.backup(TownyFlatFileSource.java:99) at com.palmergames.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:919) at com.palmergames.bukkit.towny.Towny.load(Towny.java:334) at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:108) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154) 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)
     
  27. Offline

    LucidCraft

    With the understanding that you think that I didn't try that already, thank you for not forcefully recommending that I check the wiki.

    However, I have tried this. Furthermore, per my post, I've tried this with several chat plugins. Many are claiming that towny is using a coding structure that doesn't play nice with them anymore. Despite this, I tried anyhow, as I really want something to work. Per one of the ones you recommend in the config, iChat:

    "Q) Why does Towny not work with iChat?
    A) iChat no longer uses %1$s for the player name, it uses player.getName() and player.getDisplayName(), until such a time that Towny is updated to use the proper method of setting a players name (Set their displayName) it will not work with iChat."

    I don't know or care if this is true, but I tried it anyway and it didn't function.

    So, having put the time into using the instructions from the config, taking recommendations from the config on plugins and chat command line configs, and trying my own mess of random approaches, I am now turning to this large community in hopes that someone has found something that does interact with Towny properly to carry Towny tags into chat.

    Thank you,
     
  28. Offline

    MMasterSK

    I am just facing exactly the same problem! I'm using Release version of Towny on B1337. I've tried it with HeroChat too with no luck.
    Code:
    ..
    
    23:33:59 [INFO] [HeroChat] HeroChat version 4.10.3 enabled.
    23:33:59 [INFO] ====================      Towny      ========================
    23:33:59 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    23:33:59 [INFO] [Towny] Using: GroupManager v1.4 (Phoenix), Register v1.5, Essentials v2.6.4, Questioner v0.4
    23:33:59 [INFO] [Towny] Time until a New Day: 13 hours, 26 minutes, 1 second
    23:33:59 [INFO] =============================================================
    23:33:59 [INFO] [Towny] Version: 0.77.0.0 - Mod Enabled
    23:33:59 [INFO] =============================================================
    23:33:59 [INFO] -******* TownyChat enabled *******-
     23:34:14 [INFO] {townytag}[g] {townycolor}{townyprefix}MMasterSK{townypostfix}: test
    
    ..
    
    I'm basically using default config of Towny with:

    Code:
    ..
    
      modify_chat:
        # This is used for when you don't have another plugin to format chat.^M
        # It will cause Towny to overwrite any other plugins alterations to the format.
        enable: 'false'
    
    ..
    
    I would be really happy if there was some fix for this.
     
  29. I could in fact argue the reverse point. iChat is blindly ignoring the format as supplied by bukkit and forcing it's own over it. If a plugin ignores the format bukkit passes then it can't expect to remain compatible with others.
    Towny is not setting the players name as it's not the players name we are altering. It's the WHOLE chat format. If another plugin wants to ignore the format which is passed by bukkit then the error is not with Towny.
    When modify_chat.enabled is false in Towny it preserves the %1$ and %2$s in the formatting and only alters the surrounding text, thereby enabling it to remain compatible with other chat modifying plugins (so long as they don't ignore the format).
    The functions of 'getName' and 'getDisplayName' are for plugins to pull said information to use within that plugins formatting.
    A plugin should only use setDisplayName if they wish to directly alter the way a players name is displayed, and pass such changes onto another plugin, or back to bukkit for output.
    Functions such as 'getFormat' and setFormat' should be used to alter the complete chat formatting (this is what TownyChat does).

    We have made every effort to remain compatible with other chat plugins, but I'm afraid we can't be compatible with those who ignore the format as passed by bukkit.
    We have received no complaints of being incompatible with any chat plugins, other than HeroChat, Which we have attempted to remedy in the current Dev version.
     
  30. Offline

    iMinecrafter

    Hello, I've installed this plugin.

    There's an issue, I can't run any commands even that it's installed. What's the problem? I have tried re-installing it but it's the same. No command works, and yes I've set the permissions on myself. I'm using PermissionsEx.

    Console: http://pastebin.com/VQ5vMYNB

    Thank you.
     
  31. Offline

    LucidCraft

    Fair enough. Please allow me to reconfirm that I'm in no way placing any blame here. The value of the time you put into this plugin is tremendous and its functionality is a primary cornerstone for my server's gameplay. I applaud you in every way for the work you have put into it. I'm merely turning to the community for any experience they have had with chat plugins that are currently carrying the Towny tags into their chat formatting at this time. My decision is based on what is currently working with your plugin. Furthermore, your expedient responses and good demeanor is appreciated, especially with the amount of traffic you have in this forum.

    I will keep trying new things and figure out a way to make this function as needed. If anyone has had any luck with any chat plugins that will play nice at this time, a quick reply with the name is appreciated.

    Thank you! :)
     

Share This Page