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

    ElgarL

    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

    In the worldname.txt in the plugins\towny\data\worlds\ folder, remove the ignoreblockids. That's in there so players can mine resources but leaves the stone, grass, dirt, sand, gravel untouched.

    @Phantom Index
    @micdoodle8
    New dev fixes [Towny] Not Registered error

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

    zoolder101

    Is there a way to limit the amount of players per town? Please let me know, I cant find it in the config.
     
  4. Offline

    tom

    Config file keeeps regenerating, causeing people to buy towns for loow amounts of money. (default) CB 1318 , latest dev.
     
  5. Offline

    iJumbo

    Thanks a million bro. I was getting same error(s) as that guy. Downloaded 1321, works flawless!
     
  6. Offline

    LlmDl

    Hi Towny Admins,

    Here's a heads up on Towny! To run the Towny release version 0.76.3.1 you are required to use CB 1321
    If you're running a server using PEX, make sure you update to the latest Towny Dev available. Anyone getting '[Towny] Not Registered' when they use /town claim also needs the latest dev.
    As of this post the latest dev of Towny is 0.76.3.7 and has some great additions and fixes. Alongside the update to manage PEX, Towny now has per-plot perms, every plot a player controls can have different build/destroy/switch/itemuse rights. Embassy plots have also been added although they don't stop non-allied nation members from claiming them yet. The embassy plot allows a player to buy a plot of land in another town, keeping the townblock under the control of the host town. Mayors can make them into shop plots if they want too.

    There's a poll going on now, in which you can vote for which new plot-types you like added first. Please vote if you have a dev.bukkit.org/curse account.

    We've also now set up the dev.bukkit.org page for Towny Advanced. We aren't abandoning the forum but I would like to encourage you to subscribe to Towny's file releases. You'll get email notifications of Towny releases and important dev builds which come in between release builds.
    Thanks for reading the forum!
     
  7. Offline

    Ratkoon

    Well, I updated to the latest Dev Version and 'craftbukkit 1321'. Though I still can't create a new town. Giving me the not registered error.
     
  8. Offline

    ElgarL

    Then you didn't update to the latest Dev.
     
  9. Offline

    KittyKatt

    How about fixing the server crash with /plot claim 50000
     
  10. Offline

    ElgarL

    What server crash with that command?

    but seriously, 50000?

    I guess I could thread plot claim the same as I have done for town claim/unclaim.
     
  11. Offline

    xwyz

    Code:
    [INFO] Payment method: iConomy v6
    [INFO] ====================      Towny      ========================
    [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    [WARNING] [Towny] Error: Towny does not have native support for iConomy
    6.0.7b. You need the Register.jar.
    [INFO] [Towny] Using: Permissions v2.7.7
    [INFO] [Towny] Time until a New Day: 12 hours, 40 minutes, 37 second
    [INFO] =============================================================
    [INFO] [Towny] Version: 0.76.3.8 - Mod Enabled
    [INFO] =============================================================
    
    [WARNING] [Towny] Error: Towny does not have native support for iConomy
    6.0.7b. You need the Register.jar

    Where is Register.jar? And why towny uncompabilty with iconomy latest?
     
  12. Offline

    zoolder101

    Is there a way to limit players aloud per town?
     
  13. Offline

    XepherLink

    is it possible to set it so residents can destroy in their plot?

    also can you let residents sell their land?

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

    LlmDl

    First post.

    By default, a resident can destroy in his own plot.
    They can also sell their land.

    There isn't a way to limit the players allowed per town.

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

    XepherLink

    how would i go about letting players sell their land, and i should have reworded the last post i meant, can i make it so players cant destroy the town, and players can only build in their plots.

    Also is their a permission that gives groups permission to own more than 1 plot
     
  16. Offline

    zoolder101

    Alright, that sucks. Would you count that as a suggestion? Just for PvP server so they dont get imba.
     
  17. Offline

    DaveRyan

    Is there anyway to set perms on trapdoors so outsiders cannot open them?
     
  18. Offline

    SilentStray

    Code:
    02:49:48 [INFO] ====================      Towny      ========================
    02:49:48 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    02:49:48 [SEVERE] [Towny Error] CraftBukkit Version (1317) is outdated!
    02:49:48 [SEVERE] [Towny Error] Towny requires version 1321 or higher.
    02:49:48 [INFO] ==============================================================
    02:49:48 [INFO] [Towny] Version: 0.76.3.1 - Mod Disabled
    02:49:48 [INFO] =============================================================
    
    I'm getting this. Any help?

    EDIT: NVM, got CB 1340 now.
     
  19. Offline

    xwyz

    Thank you LlmDl.

    What is the plot-block-data folder? I didnt find anything about it. I deleted this folder and still working perfectly my towny. Is this usefull? Or what?
     
  20. Offline

    ElgarL

    This folder is used when/if you use plot regen.
     
  21. Offline

    ev0ker

    Is it possible that residents can only build in their own plot and the wilderness but not in the still to sell plots or not to sell plots?
     
  22. Offline

    LlmDl

    Plots of land are put up for sale with /plot forsale {optional # amount}
    You, the mayor, can do it, but any player that has bought a plot, can resell the land for a profit if they want.

    A mayor that wants to limit his residents to their own plots needs to type /town set perm off. This will remove all right to residents/allies/outsiders on town-owned townblocks (which are not owned personally by a resident.)

    Real suggestions are handled on the issue tracker. Linked in the first post.

    Add the trapdoor ID (it's 96) to the switch ID list in the towny config.yml. I thought it was already there. Then just make sure you aren't giving outsiders switch perms.

    That's pretty much how it is by default, just make sure you give residents the towny.wild.* permission node and have mayors type "/town set perm off"
     
  23. Offline

    xwyz

    Code:
        - Added plot regeneration.
          When a town plot is unclaimed (by a player or through upkeep) it will slowly begin to revert to a pre town state.
          Blocks will slowly change back to whatever blocks we're present at the moment the town block was claimed.
          You can configure certain block types you don't want restored to prevent players exploiting regen for diamond ores.
          Block types to not restore are configured in block_ignore in the worlds txt file data/worlds/worldname.txt
    Useful thing i think but i had 100 plot from older towny and they didnt have a plot block data... Shit i will delete again my town -_-
     
  24. Offline

    LilacTheEspeon

    Why does this not support the most recent Recommended bukkit build?
     
  25. Offline

    ElgarL

    It does (ish). The release build has a MAJOR bug, which is why we say use 1321. We've tested extensively on 1321 and it's the best there is so far.
     
  26. Offline

    LilacTheEspeon

    Could you.....wait what is the bug in it?.....link me to the one for 1317 because I don't want to upgrade the CraftBukkit just for Towny....and when I do use 1321, this spams my server.log
     

    Attached Files:

  27. Offline

    gcb38

    Code:
    20:14:04 [SEVERE] com.palmergames.bukkit.towny.NotRegisteredException: World not registered!
    20:14:04 [SEVERE]     at com.palmergames.bukkit.towny.object.TownyUniverse.getWorld(TownyUniverse.java:959)
    20:14:04 [SEVERE]     at com.palmergames.bukkit.towny.tasks.MobRemovalTimerTask.run(MobRemovalTimerTask.java:126)
    20:14:04 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    20:14:04 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
    20:14:04 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    20:14:04 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    20:14:04 [WARNING] Task of 'Towny' generated an exception
    java.lang.NullPointerException
        at com.palmergames.bukkit.towny.tasks.MobRemovalTimerTask.run(MobRemovalTimerTask.java:132)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
    ...
    
    >20:15:40 [SEVERE] Could not pass event PLAYER_TELEPORT to Towny
    java.lang.StackOverflowError
        at java.util.regex.Pattern.atom(Pattern.java:1952)
        at java.util.regex.Pattern.sequence(Pattern.java:1834)
        at java.util.regex.Pattern.expr(Pattern.java:1752)
        at java.util.regex.Pattern.compile(Pattern.java:1460)
        at java.util.regex.Pattern.<init>(Pattern.java:1133)
        at java.util.regex.Pattern.compile(Pattern.java:823)
        at java.lang.String.split(String.java:2292)
        at java.lang.String.split(String.java:2334)
        at org.bukkit.configuration.MemorySection.get(MemorySection.java:215)
        at org.bukkit.configuration.MemorySection.getConfigurationSection(MemorySection.java:520)
        at org.bukkit.configuration.MemorySection.get(MemorySection.java:219)
        at org.bukkit.configuration.MemorySection.getString(MemorySection.java:284)
        at com.palmergames.bukkit.towny.TownySettings.getBoolean(TownySettings.java:255)
        at com.palmergames.bukkit.towny.TownySettings.isDevMode(TownySettings.java:1084)
        at com.palmergames.bukkit.towny.Towny.sendDevMsg(Towny.java:474)
        at com.palmergames.bukkit.towny.Towny.sendErrorMsg(Towny.java:466)
        at com.palmergames.bukkit.towny.Towny.newCache(Towny.java:525)
        at com.palmergames.bukkit.towny.Towny.getCache(Towny.java:541)
    
    3,000 characters later...
    
    .getCache(Towny.java:544)s.bukkit.towny.Towny
        at com.palmergames.bukkit.towny.Towny.getCache(Towny.java:544)
    
    WTF?!? WAT DOES IT MEEEEAAAAN?!?

    nice... GCB btw.

    idk... idk. other than craftbukkit 1340+

    We dont NEED questioner... idk wats happening.

    i dont think thats the problem.

    thats not gonna help. wat its not doing is registering our worlds. in that video, it automatically did that. on the servers, it didnt.

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

    tom

    Suggestion : Configurable max town name length.
     
  29. Offline

    dxwarlock

    ok, moved to 1321 and new towny build..works great! other than now there is NO chat tags..I revert to old bukkit, and old towny jar and backup..I get them back

    here is the relative section, its the same in both.
    Code:
        # The format below will specify the changes made to the player name when chatting.
        # keys are
        # {nation} - Displays nation name in [ ] if a member of a nation.
        # {town} - Displays town name in [ ] if a member of a town.
        # {permprefix} - Permission group prefix
        # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels
        # {playername} - default player name
        # {modplayername} - modified player name (use if Towny is over writing some other plugins changes).
        # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
        # {permsuffix} - Permission group suffix.
        modify_chat:
            enable: 'true'
            max_title_length: '45'
            format: '{permprefix}&7{townynameprefix}{town} &f{playername}{permsuffix}'
     
  30. Offline

    Thespis

    Hi guys, I've been using this mod for a long time. I recently moved my server to a dedicated machine and it works great, except we experienced a few irrecoverable world crashes. We decided to try one mode at a time, starting with Permissions, then Towny, then more., playing a few days at a time to make sure everything went smoothly. We played for four days with Permissions alone, and experienced no problems, needed no restart, it was great. We added Towny, and within a few hours our server crashed. I could only recover the a bit of code from the log, some from when the error occurred and some as the server was shutting down, here it is, Also, I have 4GB of RAM dedicated completely to the server:
    Code:
    2011-10-17 18:24:01 [SEVERE]     at java.util.zip.Inflater.inflateBytes(Native Method)
    2011-10-17 18:24:01 [SEVERE]     at java.util.zip.Inflater.inflate(Unknown Source)
    2011-10-17 18:24:01 [SEVERE]     at java.util.zip.InflaterInputStream.read(Unknown Source)
    2011-10-17 18:24:01 [SEVERE]     at java.util.zip.InflaterInputStream.read(Unknown Source)
    2011-10-17 18:24:01 [SEVERE]     at java.io.DataInputStream.readByte(Unknown Source)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.NBTBase.b(SourceFile:55)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.CompressedStreamTools.a(SourceFile:75)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:29)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:124)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:67)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.PlayerManager.movePlayer(PlayerManager.java:141)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:151)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:374)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    2011-10-17 18:24:01 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-17 18:24:01 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError
        at java.util.zip.Inflater.inflateBytes(Native Method)
        at java.util.zip.Inflater.inflate(Unknown Source)
        at java.util.zip.InflaterInputStream.read(Unknown Source)
        at java.util.zip.InflaterInputStream.read(Unknown Source)
        at java.io.DataInputStream.readByte(Unknown Source)
        at net.minecraft.server.NBTBase.b(SourceFile:55)
        at net.minecraft.server.CompressedStreamTools.a(SourceFile:75)
        at net.minecraft.server.ChunkRegionLoader.a(SourceFile:29)
        at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:124)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:67)
        at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
        at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
        at net.minecraft.server.PlayerManager.movePlayer(PlayerManager.java:141)
        at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:151)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:374)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        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)
    
    And at the server shutdown:
    
    ==============================================================
    2011-10-18 00:54:38 [INFO] [Towny] saveWorldList
    2011-10-18 00:54:38 [INFO] [Towny] Version: 0.76.2.0 - Mod Disabled
    2011-10-18 00:54:38 [INFO] =============================================================
    2011-10-18 00:54:38 [SEVERE] Error occurred (in the plugin loader) while disabling Towny v0.76.2.0 (Is it up to date?): null
    java.lang.NullPointerException
    	at java.lang.Class.isAssignableFrom(Native Method)
    	at org.bukkit.plugin.java.JavaPluginLoader.removeClass(JavaPluginLoader.java:245)
    	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:992)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
    	at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:166)
    	at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    
     
  31. Offline

    firecombat4

    I was wondering if anyone knew why i was getting this error when i typed /plot set shop
    Thanks!
     

Share This Page