[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

    In Towny 0.73.1 you can use the /ta reload command, it now properly saves and loads the config and the data folder. You will not lose everything that has happened since your last proper shutdown.
    There is no MySQL option now, but later on databases will be supported.

    The forcepvp option in the config is just the default, there are now commands on the /townyworld level so it supports different settings for different worlds, which are used to toggle different things (see /townyworld toggle on the wiki's commandpage.) Forcepvp is unlike war, in that all towns have pvp enabled instead of just the towns with non-neutral nations.
    Using only forcepvp does not enabled a town to be taken.

    There's a new dev version that fixes the townspawn problem, talk to us in IRC if you can't wait for the final release of 0.73.2

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

    ShaDooM

    0.73 = fine

    0.73.1 = check stacktrace:

    uhm after rolling back to 0.73 its still messed up :(

    Code:
    2011-07-21 03:08:59 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-21 03:08:59 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-21 03:08:59 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-21 03:08:59 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-21 03:08:59 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-21 03:08:59 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-21 03:08:59 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-21 03:08:59 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-21 03:08:59 [INFO] [Towny] loadTownLevelConfig bad length
    2011-07-21 03:08:59 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-07-21 03:08:59 [INFO] [Towny] Using: Permissions, iConomy, Essentials, Questioner
    2011-07-21 03:08:59 [SEVERE] Error occurred while enabling Towny v0.73.1 (Is it up to date?): null
    java.lang.NullPointerException
    	at ca.xshade.bukkit.towny.Towny.SetWorldFlags(Towny.java:159)
    	at ca.xshade.bukkit.towny.Towny.load(Towny.java:271)
    	at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:101)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  4. You didn't follow the upgrade procedure, like many others. Read up a few posts and you'll find how to fix it.
     
  5. Offline

    SpaceBass

    The error I was receiving when the plugin saved the data was because I did not list any "unclaimed_zone_ignore" IDs. I tested this back and forth. What should I put if I do not want to list anything?

    EDIT: Ignore that, I don't know why I had that blank in the first place. I'll keep the default ID's.
     
  6. Offline

    comatoseDreamer

    Forgive me if this question is out of line; I'm new to admining servers.

    I am curious if there is a way to set it so Towny can sell plots at different prices? Or is there a plugint hat plays nice with Towny to allow for different prices?

    I basically envision developed plots costing more than empty plots, or altering the price for a player who purchases 2-4 plots next to each other.

    otherwise, Thanks for keeping this plugin active!
     
  7. I finished adding variable plot pricing only a few hours ago. Only in dev build at the moment.
     
  8. Offline

    comatoseDreamer

    Awesome! I'll keep watch ;-)
     
  9. Offline

    yidweahzaimen

    bukkit 1000
    i cant use town spawn
     
  10. Fixed in dev build when using essentials 2.5.x
     
  11. Offline

    SplenectomY

    Okay. I followed the upgrade instructions and got around the "setworldflags" error by fixing my world files - but every now and again I get the same error, seemingly random at times and other times when someone makes a change to their town. It only comes back on a server restart, and not on every server restart. Any insight here?
     
  12. Offline

    LlmDl

    When you upgraded did you delete your config and english .yml's?
     
  13. Offline

    Noobscraft

    Town won't allow me to fly, I have the fly turned on in the config and I do not have any fly preventer. I have checked this I removed all plug-ins one by one until Towny was left and I was not allowed to fly.
     
  14. Offline

    LlmDl

    Set cheat-protection:false in the config.
     
  15. Offline

    EllBristow

    I've just updated to 0.73.1 Dev and now none of the towny commands are working, no error, no console message, just blank.

    I followed the upgrade instructions, config file reports no errors in YAML parser. I'm an Admin with '*' permissions, and Op.

    What have I missed?
     
  16. Offline

    LlmDl

    First set debugmode:true in the config, start server + stop server:
    Pastebin.com links to config.yml:
    Pastebin.com links to startup sequence:
     
  17. Offline

    Erbros

    CB: 953
    Towny: 0.73.2 Dev

    It is probably something I did wrong, but I did remove config.yml and english.yml before updating. I'm not sure what the prefix node is.. Might be worth updating to 1000 and perhaps that fixes the problem?
     
  18. Offline

    LlmDl

    Update to 1000, also get the dev build and follow normal upgrade install instructions on the wiki.

    Also check your permissions file, its choking on the prefix I believe.
     
  19. Offline

    EllBristow

    http://pastebin.com/T3rvYkDJ <- Config.yml
    http://pastebin.com/7cyQq3Qs <- Towny startup lines
    http://pastebin.com/WNCrbm6J <- Full startup message

    As you will see... no errors, no unusual debug messages!

    running /towny as admin OR from server console does nothing
     
  20. Offline

    LlmDl

    I think I know what's wrong, towny is cutting its output short for some reason, can you drop into the IRC channel, there are some more files I need you to paste. There's a link to the IRC in the firstpost, you can join through your browser.
     
  21. Offline

    Erbros

    I am using the dev build.

    My prefix in the permissions are

    Code:
    info:
        prefix: ''
    I tried removing iChat.jar, but to no improvement.


    I went on checking the source:

    in TownyPlayerLowListener:48
    Code:
    plugin.getPermissionNode(resident, "prefix")
    Code:
    sendDebugMsg("Perm Check: Does " + resident.getName() + " have the node '" + node + "'?");
                    if (isPermissions()) {
                            sendDebugMsg("    Permissions installed.");
                            PermissionHandler handler = permissions.getHandler();
                            String group, user = "";
                            Player player = getServer().getPlayer(resident.getName());
    
                            if (node == "prefix") {
                                    group = handler.getGroupRawPrefix(player.getWorld().getName(), handler.getPrimaryGroup(player.getWorld().getName(), player.getName()));
                                    user =  handler.getUserPrefix(player.getWorld().getName(), player.getName());
                                    if (!group.equals(user))
                                            user = group + user;
                                    user = TownySettings.parseSingleLineString(user);
                                    sendDebugMsg("Prefix: " + user);
                            }
    It is clear something with my permissions configuration is not correct, but I can't seem to pinpoint the exact problem.

    My permissions. (the last line with prefix was something I added while i was troubleshooting, but didn't work.
     
  22. Offline

    LlmDl

    @Erbros which group is GosseXX a part of? Also swing into the IRC.
     
  23. Offline

    Perdog

    I set myself with the permission node, towny.wild.* in the built in permissions for craftbukkit, and every time I try to build in the wild I get a message saying I'm not allowed to... what am I doing wrong? :/
     
  24. Offline

    ShrunkenQuasar

    I'm also having that issue. No permission to use anything in the wild, even as admin. Nothing I have tried will work, and no error messages are printed to the log except for Towny checking to see if I have permissions and saying I don't. The odd thing is, this suddenly occurred, and was working fine earlier today with no issues. I sadly have been forced to disable the plugin until I can find a solution, simply so that people can continue to mine.

    EDIT: Nevermind, I found the settings in the config file that disabled building in the wild.
     
  25. Offline

    Rungario

    Whenever an op-ed player tries to break a block on my server they get a message saying [Towny]: Error updating destroy permissions cache. This is my config.YML file:

    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.
    
        '
    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
    nation_creation_admin_only: false
    town_creation_admin_only: false
    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
    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
    max_plots_per_resident: 100
    town_limit: 3000
    min_distance_from_town_homeblock: 5
    town_block_ratio: 16
    town_block_size: 16
    force_pvp_on: false
    force_explosions_on: false
    world_monsters_on: true
    force_town_monsters_on: false
    force_fire_on: false
    friendly_fire: true
    health_regen: true
    health_regen_speed: 3000
    daily_taxes: true
    allow_outposts: false
    allow_resident_plots: true
    allow_town_spawn: true
    allow_town_spawn_travel: true
    town_respawn: false
    show_town_notifications: true
    using_essentials: true
    using_iconomy: true
    using_permissions: true
    using_questioner: false
    database_load: flatfile
    database_save: flatfile
    daily_backups: true
    flatfile_backup: zip
    day_interval: 86400000
    debug_mode: false
    dev_mode: false
    dev_name: ElgarL
    logging: true
    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._-]'
    npc_prefix: NPC
    modify_chat_name: true
    protection:
        item_use_ids: 259,325,326,327,351
        switch_ids: 25,54,61,62,64,69,70,71,72,77,96,84,93,94
        town_mob_removal_entities: Monster,WaterMob,Flying,Slime
        world_mob_removal_entities: WaterMob,Flying,Slime
        mob_removal_speed: 5000
        cheat_protection: true
    unclaimed:
        unclaimed_zone_build: true
        unclaimed_zone_destroy: true
        unclaimed_zone_item_use: true
        unclaimed_zone_switch: true
        unclaimed_zone_ignore:
    default_perm_flags:
        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_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
    inactive_after_time: 86400000
    delete_old_residents: false
    deleted_after_time: 5184000000
    default_town_name: ''
    economy:
        price_town_spawn_travel: 10.0
        price_death: 10.0
        price_death_wartime: 200.0
        price_nation_neutrality: 100.0
        price_new_nation: 5000.0
        price_new_town: 2000.0
        price_outpost: 500.0
        price_claim_townblock: 100.0
        price_nation_upkeep: 100.0
        price_town_upkeep: 0.0
    wartime_nation_can_be_neutral: true
    wartime_base_spoils: 100.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
    
     
  26. Offline

    LlmDl

    @Rungario try updating to 73.1 or the dev build.
     
  27. Offline

    SplenectomY

    I was upgrading from .68, so I had no choice. I will, however, try this anyway. Thanks :D
     
  28. Offline

    LlmDl

    It sounds like you're dealing with old corruption. Old towny didn't give a damn if something was amiss in the data folder. Starting in 0.73.0 Towny became sentient and can tell when data files are mismatched. Join the IRC and we'll walk you through sorting out your files.
     
    SplenectomY likes this.
  29. Offline

    SplenectomY

    Will do, but I regened the config anyway just to make double sure. Also, I've got 20+ people jumping around in there right now, so I'll wait for a time when its slower. When is a good time for you?
     
  30. Offline

    LlmDl

    Anytime, I'll be awake for at least another 4 hours.
     
  31. Offline

    SplenectomY

Share This Page