[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

    Wolfeman

    omg :D :D you have saved my life!!!!!
     
  3. Offline

    Mister_H

    For some reason i cannot respond to an invitation to join a town, it prompts:
    "You have been invited to join town (townname)
    /accept
    /deny"
    When i type /accept it responds invalid command, i updated questioner and i have the latest build of towny Advanced(v0.73.2) along with bukkit(build 1000)
     
  4. Offline

    LlmDl

    Did you give towny.town.resident?
     
  5. Offline

    crzye8s

    So, if I use the new version of Towny, should I get rid of my iChat plugin, seeing how it displays the prefix 2 times (one from iChat and the other from Towny)? Also, would you consider adding an option to make Player List (/who, /online, /list) names title/tag-free. They can be quite distracting when people are trying to see who's online.
     
  6. Offline

    LlmDl

    You might be able to remove prefix/suffixes in iChat for now, and let towny do it until it is optional via towny's config.
     
  7. Offline

    Mister_H

    I am admin so i have the * permission, i was the one being invited
     
  8. Offline

    LlmDl

    Pastebin.com your:
    Towny config:
    Permissions file:
    Server startup sequence:
     
  9. Offline

    sharkale

    this error is very common. why dont catch de NPE in setWorldFlag? showing a "Failed to set flag for XXX town" dont crash the plugin.
     
  10. Offline

    alexandre

    Does Towny support multiworld?
     
  11. Offline

    Kiborgik

    can you add autofix residents files(and maybe other, when server restart)?
    when i delete one town, on resident/Vlady4a97.txt this town is stay and have this error
    Code:
    2011-08-02 05:20:10 [INFO] [Towny] Loading Error: Exception while reading resident file Vlady4a97
    2011-08-02 05:20:10 [SEVERE] ca.xshade.bukkit.towny.NotRegisteredException: Brothers_Kings is not registered.
    2011-08-02 05:20:10 [SEVERE] 	at ca.xshade.bukkit.towny.object.TownyUniverse.getTown(TownyUniverse.java:595)
    2011-08-02 05:20:10 [SEVERE] 	at ca.xshade.bukkit.towny.db.TownyFlatFileSource.loadResident(TownyFlatFileSource.java:250)
    2011-08-02 05:20:10 [SEVERE] 	at ca.xshade.bukkit.towny.db.TownyDataSource.loadResidents(TownyDataSource.java:134)
    2011-08-02 05:20:10 [SEVERE] 	at ca.xshade.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:75)
    2011-08-02 05:20:10 [SEVERE] 	at ca.xshade.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:678)
    2011-08-02 05:20:10 [SEVERE] 	at ca.xshade.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:636)
    2011-08-02 05:20:10 [SEVERE] 	at ca.xshade.bukkit.towny.Towny.loadSettings(Towny.java:255)
    2011-08-02 05:20:10 [SEVERE] 	at ca.xshade.bukkit.towny.Towny.load(Towny.java:267)
    2011-08-02 05:20:10 [SEVERE] 	at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:101)
    2011-08-02 05:20:10 [SEVERE] 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-08-02 05:20:10 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    2011-08-02 05:20:10 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    2011-08-02 05:20:10 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    2011-08-02 05:20:10 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    2011-08-02 05:20:10 [SEVERE] 	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-08-02 05:20:10 [SEVERE] 	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-08-02 05:20:10 [SEVERE] 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-08-02 05:20:10 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-08-02 05:20:10 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-02 05:20:10 [INFO] [Towny] Loading Error: Could not read resident data 'Vlady4a97'.
    2011-08-02 05:20:10 [INFO] [Towny] Error: Failed to load!
    2011-08-02 05:20:10 [INFO] [Towny] Version: 0.73.2 Dev - Mod Disabled
    2011-08-02 05:20:10 [INFO] [Towny] Using: Permissions, Essentials
    2011-08-02 05:20:10 [SEVERE] Error occurred while enabling Towny v0.73.2 Dev (Is it up to date?): null
    java.lang.NullPointerException
    	at ca.xshade.bukkit.towny.Towny.SetWorldFlags(Towny.java:156)
    	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:278)
    	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)
     
  12. Offline

    hiro24

    I have a question about default_town_name. Is it possible to enter multiple towns.. like say.. 4? Separated by | or ; or.. whatever? I have 4 potential towns I'd like new members to be placed in, not just 1, so I'm looking for a way to pick 1 of 4 automatically and throw them into it when they log on to the server the first time.
     
  13. Offline

    William Hall

    Hey umm I don't know what I've done wrong but whenever someone tries to do /town spawn it comes up with an "internal error"
     
  14. Offline

    LlmDl

    Yes
    Nope, just one town.
    You probably need to be using essentials 2.5
     
  15. Offline

    Sophistry

    Hey all,
    I've been running a Bukkit server with iConomy + Towny + CreativeBuild + Questioner + Permissions + properTime + StarterKit and KitPlugin.

    Everything seemed to be working decently (Essentials broke everything, so I removed it). I went into configs and tweaked a few things in a few different mods, and not Towny won't load on startup. Here is the Towny error:

    Code:
    2011-08-01 15:40:17 [SEVERE] Error occurred while enabling Towny v0.73.2 (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(SimplePluginManage
    r.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)
    
    I don't really remember changing anything specific to Towny, but it's possible I did. I can post the full startup log if you think it will help. I'd rather not trash Towny and restart it, but it won't hurt too much if I have to, it's server still in test phases.

    Thanks for any ideas on what the problem is!
    Sophistry
     
  16. Offline

    LlmDl

    You can join the IRC for instructions or do the following on your own:

    Go into towny's config.yml and change debugmode:true
    Start server, noting the last town that is mentioned before error appears.
    Go into that town's world's worldname.txt and make sure that town is listed on the town line.
    Start server, noting whether there are any more errors.
     
  17. Offline

    William Hall

    I think i am... I only got essentials about 5 days ago...
     
  18. Offline

    LlmDl

    Go into towny's config, turn on debug mode, pastebin.com your full startup sequence.
     
  19. Offline

    Mister_H

    Here it is, thanks
     

    Attached Files:

  20. Offline

    LlmDl

    @Mister_H The only thing I can see is you've got copperminer in your * perm group:
    Code:
        '1337':
            default: false
            info:
                prefix: '&5'
                suffix: '1337'
                build: true
            inheritance:
            permissions:
            - '*'
        Copper Miner:
            permissions:
            inheritance:
    tracks:
        MinerT: -'Griefer' -'Miner'
        CopperT: -'Miner' -'CopperMiner'
        IronT: -'CopperMiner' -'IronMiner'
        GoldT: -'IronMiner' -'GoldMiner'
     
  21. Offline

    Legionarius

    Reposted from earlier, @LlmDl can we get a fix so that /town spawn obeys the essentials wait parameter?
     
  22. Offline

    Syntaxlb

    It's possible for a player can join a town without invitation ? Just for one specific town.

    And it's possible to force all new player (resident) to join automatically a specific town ?
     
  23. Offline

    LlmDl

    It should be working with essentials 2.5, join the IRC if it isn't working for you.

    1. It's been suggested.

    2. In the config use default_town_name: 'townnamehere'
     
  24. Offline

    Sophistry

    Thanks LlmDl,
    That works great. I had moved the minecraft server's directory and tried loading a world from a different directory. Could this be what caused the town= line to be reset?

    Sophistry
     
  25. Offline

    LlmDl

    The townline in a world file loses it's towns sometimes. Not sure exactly why it happens, neither Elgarl or I have seen it happen during testing.
    Loading another world the way you did may not have added the proper references in the files.
     
  26. Offline

    Flenix

    I updated towny. It was working fine before, but now refuses to load...
    The error says "(is it up to date?) but i'm running version 0-73-2, on CB 1000
    I'm using a new config, and if I remove my town data from a previous version it works fine...

    I can post my data if its needed but as its in many files I thought i'd just post first - is this a known bug?
    (EDIT) Read back a few pages and I can see it is - I have the same error as all others. when can we expect a fix, or do I need to do all that debugging stuff too?
     
  27. Offline

    LlmDl

    Use the debug mode like I have described in many many pages. One of your towns is probably not listed in the proper world file. 2 stop and starts and you'll likely have it worked out.
     
  28. Offline

    NotYetRated

    The town/nation hierarchy seems bugged. I have a single town in a single nation. The town has 8 members in it, the nation has just the one town. Yet, the mayor of the town(who is obviously the king of the nation) is known as "god emperor" and the nation is "The *NATION* realm".... Ideas?

    CB1000

    Code:
    ?name: Towny
    main: ca.xshade.bukkit.towny.Towny
    version: 0.73.1
    language: english.yml
    last_run_version: 0.73.2
    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
    permissions:
        towny.admin:
            description: 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.
            default: op
            children:
                towny.town.*: true
                towny.nation.new: true
                towny.wild.*: true
                towny.spawntp: true
                towny.publicspawntp: true
        towny.town.*:
            description: User can create a town and claim land.
            default: op
            children:
                towny.town.new: true
                towny.town.claim: true
                towny.town.resident: true
        towny.town.resident:
            description: User is permitted to join towns.
            default: true
        towny.town.new:
            description: User is able to create a town
            default: true
        towny.town.claim:
            description: User is able to expand with /towny claim
            default: true
        towny.nation.new:
            description: User is able to create a nation
            default: true
        towny.wild.*:
            description: User can build/destroy in wild.
            default: op
            children:
                towny.wild.build: true
                towny.wild.switch: true
                towny.wild.destroy: true
                towny.wild.item_use: true
        towny.wild.build:
            description: User can build in wild.
            default: false
        towny.wild.destroy:
            description: User can destroy in wild.
            default: false
        towny.wild.switch:
            description: User can switch in wild.
            default: false
        towny.wild.item_use:
            description: User can use use items in wild.
            default: false
        towny.spawntp:
            description: User can use /town spawn when on in config.
            default: true
        towny.publicspawntp:
            description: User can use /town spawn <town> when on in config.
            default: true
    nation_creation_admin_only: false
    town_creation_admin_only: false
    townLevel:
    - 0,, Ruin,Spirit ,,1,1.0
    - 1,, (Settlement),Hermit ,,12,1.0
    - 2,, (Hamlet),Chief ,,30,1.3
    - 3,, (Village),Baron Von ,,64,1.7
    - 5,, (Town),Viscount ,,100,2.0
    - 7,, (Large Town),Count Von ,,160,2.5
    - 9,, (City),Earl ,,224,3.0
    - 11,, (Large City),Duke ,,320,3.5
    - 14,, (Metropolis),Lord ,,384,4.0
    - 18,, (Metropolis),Lord ,,448,5.0
    nationLevel:
    - 0,Lands of , (Nation),,,Leader ,,1.0
    - 2,Federation of , (Nation),,,Count ,,1.0
    - 3,Dominion of , (Nation),,,Duke ,,1.4
    - 4,Kingdom of , (Nation),,,King ,,2.0
    - 5,The , Empire,,,Emperor ,,3.0
    - 8,The , Realm,,,God Emperor ,,4.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: true
    force_explosions_on: false
    world_monsters_on: true
    force_town_monsters_on: true
    force_fire_on: false
    friendly_fire: true
    health_regen: false
    health_regen_speed: 3000
    daily_taxes: true
    allow_outposts: true
    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: true
    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._-]*$
    name_filter_regex: '[ /]'
    name_remove_regex: '[^a-zA-Z0-9._-]'
    npc_prefix: NPC
    modify_chat_name: false
    protection:
        item_use_ids: 259,325,326,327,351
        switch_ids: 25,69,70,71,72,77,84,93,94
        town_mob_removal_entities: Monster,WaterMob,Flying,Slime
        world_mob_removal_entities:
        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: 6,14,15,16,17,18,21,31,37,38,39,40,50,56,65,66,73,74,81,82,83,86,89
    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: 20.0
        price_death: 25.0
        price_death_wartime: 200.0
        price_nation_neutrality: 500.0
        price_new_nation: 1500.0
        price_new_town: 1250.0
        price_outpost: 750.0
        price_claim_townblock: 500.0
        price_nation_upkeep: 25.0
        price_town_upkeep: 15.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
    
     
  29. Offline

    BlackMonarch

    Story: I installed Towny 0.73.1 or whatever on my server. It works. The problem is that now, anyone who isn't an op can't build or destroy blocks in the wilderness, even after I went into config.properties and set:

    unclaimed_zone_build=true
    unclaimed_zone_destroy=true
    using_essentials=false (because I'm not)
    using_permissions=false (because I'm not)
    using_questioner=false (because I'm not)

    Any idea what's going on?
     
  30. Offline

    LlmDl

    The first entry is number of residents in the nation, not the number of towns.
    Make sure you aren't using the config.properties, the current file is config.yml.
    Change the unclaimed_zone_build/destroy flags in the worldname.txt files located in towny/data/worlds/ rather than in the config. Also change the usingdefault flag in each world as well.

    If you use daily_taxes in towny you should really get questioner.
     
  31. Offline

    alfskan

    Im admin.

    I want control and expand server town.

    But I have to add residents to expand town.

    is there any way to expand town infinite for admin?

    EDIT: ok. im idiot. there's givebonus command!
     

Share This Page