[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

    Yes up to date.
     
  3. Offline

    crzye8s

    When certain players use /tc or /nc, it says an external error has occurred. I have a theory that this happens because there is a conflict between permission prefixes and suffixes and Towny. For players with ONLY group suffixes/prefixes, /tc and /nc, I believe work perfectly fine. However, for players with custom player prefixes/suffixes (special tags), it seems to show an error.

    Also, I removed the {permprefix} and {permsuffix} because it shows double tags (ex. [Admin][Admin]name). I currently use Permissions 2.7.x.

    Here is the configuration (Towny) for how I formatted my in-game text:

    Help would be greatly appreciated. Thank you.
     
  4. Offline

    alienkila10

    you should be able to choose how much land to sale instead of chunks
     
  5. Offline

    Lagaffe212

    I have a request/suggestion :

    Sometimes, players just want to build something big and to protect it (For example, a monument).
    Making a town for such project may be a problem because :

    -No resident / plot owners
    -No taxes
    -No war intended
    -Cost / expansion

    So my idea is, creating a new status : "Momument" , wich is a kind of town with :

    -One leader (project leader, who owns the Monument, and can invite contributors, expand, Up/kick assistants)
    -Assistants (can expand, and invite/kick contibutors)
    -Contributors (they can edit the whole Monument, no plot division)
    -The monument may be part of a nation, OR NOT
    -No, or very low taxes
    -Cheap to buy and extends (cheaper than town)
    -No outpost

    => A player is a resident of ONE town, but, can be a contibutor of lots of monuments

    A side effect is the possibility to create some sort of fast growing "comunist" town with no privacy ^^'
    But, seems fair enough without taxes and low cost plot :p
     
  6. It did not have config file and thus giving incorrect error messages,
    it would be better for some if it included a default config file, i generated one with the
    vanilla bukkit server, itemcrafts startup prevented default generation
     
  7. Offline

    darkcloud784

    People on my server have noticed that plots are not being charged to their iconomy account. I place a plot up for 1000 and it doesn't deduct that amount from their iconomy amount. Here is my config:
    Code:
    name: Towny
    main: com.palmergames.bukkit.towny.Towny
    version: 0.74.0
    language: english.yml
    last_run_version: 0.74.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.
    
        '
    depends:
    - MultiVerse
    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.cheat.bypass: true
        towny.cheat.bypass:
            description: Disables the anti cheat code for players with this node.
            default: op
        towny.top:
            description: User has access to the "/towny top" commands.
            default: 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.plot: 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.town.plot:
            description: User is able to purchase and own town plots.
            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:
    -   numResidents: 0
        namePrefix: ''
        namePostfix: ' Ruins'
        mayorPrefix: 'Spirit '
        mayorPostfix: ''
        townBlockLimit: 1
        upkeepModifier: 1.0
    -   numResidents: 1
        namePrefix: ''
        namePostfix: ' (Settlement)'
        mayorPrefix: 'Hermit '
        mayorPostfix: ''
        townBlockLimit: 16
        upkeepModifier: 1.0
    -   numResidents: 2
        namePrefix: ''
        namePostfix: ' (Hamlet)'
        mayorPrefix: 'Chief '
        mayorPostfix: ''
        townBlockLimit: 32
        upkeepModifier: 1.0
    -   numResidents: 6
        namePrefix: ''
        namePostfix: ' (Village)'
        mayorPrefix: 'Baron Von '
        mayorPostfix: ''
        townBlockLimit: 96
        upkeepModifier: 1.0
    -   numResidents: 10
        namePrefix: ''
        namePostfix: ' (Town)'
        mayorPrefix: 'Viscount '
        mayorPostfix: ''
        townBlockLimit: 160
        upkeepModifier: 1.0
    -   numResidents: 14
        namePrefix: ''
        namePostfix: ' (Large Town)'
        mayorPrefix: 'Count Von '
        mayorPostfix: ''
        townBlockLimit: 224
        upkeepModifier: 1.0
    -   numResidents: 20
        namePrefix: ''
        namePostfix: ' (City)'
        mayorPrefix: 'Earl '
        mayorPostfix: ''
        townBlockLimit: 320
        upkeepModifier: 1.0
    -   numResidents: 24
        namePrefix: ''
        namePostfix: ' (Large City)'
        mayorPrefix: 'Duke '
        mayorPostfix: ''
        townBlockLimit: 384
        upkeepModifier: 1.0
    -   numResidents: 28
        namePrefix: ''
        namePostfix: ' (Metropolis)'
        mayorPrefix: 'Lord '
        mayorPostfix: ''
        townBlockLimit: 448
        upkeepModifier: 1.0
    nationLevel:
    -   numResidents: 0
        namePrefix: 'Land of '
        namePostfix: ' (Nation)'
        capitalPrefix: ''
        capitalPostfix: ''
        kingPrefix: 'Leader '
        kingPostfix: ''
        upkeepModifier: 1.0
    -   numResidents: 10
        namePrefix: 'Federation of '
        namePostfix: ' (Nation)'
        capitalPrefix: ''
        capitalPostfix: ''
        kingPrefix: 'Count '
        kingPostfix: ''
        upkeepModifier: 1.0
    -   numResidents: 20
        namePrefix: 'Dominion of '
        namePostfix: ' (Nation)'
        capitalPrefix: ''
        capitalPostfix: ''
        kingPrefix: 'Duke '
        kingPostfix: ''
        upkeepModifier: 1.0
    -   numResidents: 30
        namePrefix: 'Kingdom of '
        namePostfix: ' (Nation)'
        capitalPrefix: ''
        capitalPostfix: ''
        kingPrefix: 'King '
        kingPostfix: ''
        upkeepModifier: 1.0
    -   numResidents: 40
        namePrefix: 'The '
        namePostfix: ' Empire'
        capitalPrefix: ''
        capitalPostfix: ''
        kingPrefix: 'Emperor '
        kingPostfix: ''
        upkeepModifier: 1.0
    -   numResidents: 60
        namePrefix: 'The '
        namePostfix: ' Realm'
        capitalPrefix: ''
        capitalPostfix: ''
        kingPrefix: 'God Emperor '
        kingPostfix: ''
        upkeepModifier: 1.0
    max_plots_per_resident: 100
    town_limit: 3000
    min_distance_from_town_homeblock: 5
    max_distance_between_homeblocks: 0
    town_block_ratio: 15
    town_block_size: 25
    force_pvp_on: false
    force_explosions_on: false
    world_monsters_on: true
    force_town_monsters_on: false
    force_fire_on: false
    disable_creature_crop_trampling: true
    disable_player_crop_trampling: true
    friendly_fire: true
    health_regen: true
    health_regen_speed: 3000
    daily_taxes: true
    allow_outposts: true
    allow_town_spawn: true
    allow_town_spawn_travel: true
    town_respawn: true
    prevent_town_spawn_in: enemy
    show_town_notifications: true
    using_essentials: false
    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: '{nation}{town}{permprefix}{townynameprefix}{playername}{townynamepostfix}{permsuffix}'
    colour_king: '&6'
    colour_mayor: '&b'
    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,Spider,Skeleton,Zombie,PigZombie,Creeper,Ghast
        world_mob_removal_entities: WaterMob
        mob_removal_speed: 5000
        cheat_protection: true
    unclaimed:
        unclaimed_zone_build: false
        unclaimed_zone_destroy: false
        unclaimed_zone_item_use: false
        unclaimed_zone_switch: false
        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: false
        default_town_perm_resident_destroy: false
        default_town_perm_resident_itemuse: false
        default_town_perm_resident_switch: false
        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: false
        default_resident_perm_friend_destroy: false
        default_resident_perm_friend_itemuse: false
        default_resident_perm_friend_switch: false
        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: 0.0
        price_town_public_spawn_travel: 10.0
        price_death: 10.0
        price_death_wartime: 200.0
        price_nation_neutrality: 100.0
        price_new_nation: 1000.0
        price_new_town: 250.0
        price_outpost: 500.0
        price_claim_townblock: 25.0
        price_nation_upkeep: 1000.0
        price_town_upkeep: 100.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
    
     
  8. Offline

    LlmDl

    @darkcloud784 a plotprice bug was spotted and a fix is almost ready in the dev version.
     
  9. Offline

    number1_Master

    WOOT i dont need to use hero chat anymore, towny is now my hero chat!!!!!!
    THX YOU! :D
     
  10. Offline

    rampragej

    I am trying to install towny. However, once i install it, it spams error messages in the chat box, such as "could not create permissions catche" and "Not registered, but already registered when trying to register" WHAT IS HAPPENING THIS MAKES NO SENSE!?! I have permissions installed and it works, and i followed the instillation instructions exactly for towny. Please help.
     
  11. Offline

    Werzieq

    I tried to update to 0.74, but i ended up having to go to 0.6 due to failing to make a backup and names not showing in chat(herochat)
     
  12. Offline

    LlmDl

    Ten bucks says your world has a space in the name. Remove it, use an underscore if you want.
    Come into the IRC.
     
  13. Offline

    ohtwo

    Is there a way to shut off messages when moving through places? I like the idea of having a message when in town then moving to the wilderness, but I don't like the one's with owner's names. Anyway to change that?
     
  14. Currently, no. But it is planned.
     
  15. Offline

    ohtwo

    Cool. The messages could get annoying since our roads are built into the land areas.
     
  16. Offline

    Mrchasez

    Towny is messed up for me.
    I get this error:

    [Towny] Loading Error: Could not read resident data 'Beast_Mode'


    I delete that player, Then it says the same thing about a town, Then a nation, Then another player, Then another player, So on. None of them had illgeal names but Beast_Mode The town Fable it could't read at one point.
    I delete them and keep doing that. Dont fix anything.
    I remove the plugin, Re install, Fixes nothing.
    What can i do?

     
  17. Offline

    kazeen

    Could help with the this getting double names and im tired from just getting off work
    just want it to show permprefix name once
    thx
    http://pastebin.com/JSqbGCYJ
     
  18. Offline

    mediahaker

    Hi! I currently have a town based server that is managed by the admins (no plugins to help with town management except for World Guard (for protection). Now I would like to install Towny to my server but I dont know if it will work good now that the server members have already built a lot of buildings. Can anyone advise me on whether I should install Towny or not?

    Thanks
     
  19. Offline

    LlmDl

    It is tricky since towny's protected areas are made up of 16x16 chunks (default), some admins will add towny and let new towns be protected by towny instead of WG.
     
  20. Offline

    Dustin545

    hello can some one plz help me asap i have essential and iconomy but for towny when people buy plots say for 15 it not withdrawed from there iconomy money need help fast plz
     
  21. Offline

    Waffletastic

    Is it possible for this to not use Towny's chat modifer, so that I may have multiverse world names pop up.
     
  22. Offline

    LlmDl

    The money for buying plots needs to be in the town bank. Use /town deposit $

    Yes read the config or read the wiki's How Towny Works page (chat modification stub.)
     
  23. Offline

    Dustin545

    no i mean like when they claim the plot for some one to build there its not withdrawn from there account
     
  24. Offline

    LlmDl

    You put the plot up for sale with /plot forsale 50
    as in 50 dollars for the plot?
     
  25. Offline

    marvinej

    Using Permissions 3x
    When i enable permissions it says "command disabled: using permissions" when i try to claim a plot
    when i disable permissions it wont allow users to build in the wild.

    Configs:

    Permissions 3.x
    Code:
    groups:
        Everyone:
            default: true
            info:
                prefix: '&f'
                suffix: ''
                build: true
                interact: true
            permissions:
              - 'help'
              - 'version'
              - 'motd'
              - 'servertime'
              - 'accept'
              - 'players'
              - 'iConomy.access'
              - 'iConomy.rank'
              - 'iConomy.list'
              - 'iConomy.payment'
              - 'admincmd.time.day'
              - 'admincmd.player.list'
              - 'admincmd.player.msg'
              - 'iConomy.bank.*'
              - 'iConomyChestShop.shop.buy'
              - 'iConomy.command.iteminfo'
              - 'kit.kit'
              - 'kit.sign'
              - 'kit.starterkit'
              - 'iConomyChestShop.shop.create'
              - 'homesweethome.home'
              - 'homesweethome.home.set'
              - 'wormhole.use.sign'
              - 'wormhole.use.dialer'
              - 'signlift.*'
              - 'towny.town.claim'
              - 'towny.nation.new'
              - 'towny.wild.*'
              - 'geocache.*'
              - 'wormhole.network.use.worlds'
              - 'wormhole.network.use.public'
              - 'wormhole.network.use.mines'
              - 'simplespleef.list'
              - 'simplespleef.play'
              - 'simplespleef.team'
              - 'simplespleef.leave'
              - 'QuantumConnectors.create.*'
              - 'lagmeter.command.lag'
              - 'mobarena.use.*'
              - 'mobarena.classes.*'
              - 'mobarena.arenas.*'
              - 'simplechestlock.lock'
              - 'bookworm.create'
              - 'bookworm.write.own'
              - 'bookworm.copy.*'
              - 'bookworm.remove.own'
              - 'bookworm.destroy.own'
              - 'iConomyChestShop.shop.sell'
              - 'simplespleef.start'
              - 'playtime.*'
              - 'admincmd.tp.home'
              - 'towny.town.resident'
        Regulars:
            default: false
            info:
                prefix: '&2Vip-&f'
                suffix: ''
                build: true
                interact: true
            inheritance:
              - 'Everyone'
            permissions:
              - 'join'
              - 'invite'
              - 'lastseen'
              - 'ping'
              - 'admincmd.weather.clear'
        Moderators:
            default: false
            info:
                prefix: '&1Mod-&f'
                suffix: ''
                build: true
                interact: true
            inheritance:
              - 'JrMod'
            permissions:
              - 'kick'
              - 'give'
              - 'giveme'
              - 'giveto'
              - 'goto'
              - 'lookup'
              - 'tp'
              - 'whois'
              - 'admincmd.tp.*'
              - 'admincmd.player.loc'
              - 'admincmd.player.loc'
              - 'simplespleef.stop'
              - 'simplespleef.delete'
              - 'simplespleef.reload'
              - 'simplespleef.prize'
              - 'WirelessRedstone.*'
              - 'mobarena.admin.enable'
              - 'simplechestlock.command.*'
              - 'admincmd.player.kick'
        Administrators:
            default: false
            info:
                prefix: '&4Admin-&f'
                suffix: ''
                build: true
                interact: true
            inheritance:
              - 'JrAdmin'
            permissions:
              - '*'
        JrMod:
            default: false
            info:
                prefix: '&9JrMod-&f'
                suffix: ''
                build: true
                interact: true
            inheritance:
              - 'Contributors'
            permissions:
              - 'magiccarpet.*'
              - 'admincmd.tp.*'
              - 'ww.warp.*'
              - 'ww.list'
              - 'simplewarp.list'
              - 'simplewarp.warp'
              - 'mute'
              - 'mute'
              - 'admincmd.player.mute'
              - 'whois'
              - 'sprint.allow'
              - 'sprint.highjump'
              - 'simplechestlock.ignoreowner'
              - 'jail.command.jail'
              - 'jail.command.jailcheck'
              - 'jail.command.jaillist'
              - 'jail.command.jaillistcells'
              - 'jail.command.jailmute'
              - 'jail.openchest'
        JrAdmin:
            default: false
            info:
                prefix: '&cJrAdmin-&f'
                suffix: ''
                build: true
                interact: true
            inheritance:
              - 'Moderators'
            permissions:
              - 'admincmd.item.*'
              - 'kyku.tower'
              - 'admincmd.player.god'
              - 'worldguard.god'
              - 'whois'
              - 'whois'
              - 'jail.command.unjail'
              - 'admincmd.player.clear'
        Contributors:
            default: false
            info:
                prefix: '&f&dContributor&f- '
                suffix: ''
                build: true
                interact: true
            inheritance:
              - 'Regulars'
            permissions:
              - 'magiccarpet.*'
    
    Towny Config
    Code:
    name: Towny
    main: com.palmergames.bukkit.towny.Towny
    version: 0.74.0
    language: english.yml
    last_run_version: 0.74.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.
    
    depends: [MultiVerse]
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                   Towny commands                     | #
    # +------------------------------------------------------+ #
    ############################################################
    
    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                      | #
    # +------------------------------------------------------+ #
    ############################################################
    
    #  Possible permission nodes
    #
    #    towny.admin: 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.
    #    towny.town.new :User is able to create a town
    #    towny.town.claim : User is able to expand his town with /town claim
    #    towny.town.resident : User is able to join towns upon invite.
    #    towny.nation.new :User is able to create a nation
    #    towny.wild.*: User is able to build/destroy in wild regardless.
    #        towny.wild.build
    #        towny.wild.destroy
    #        towny.wild.switch
    #        towny.wild.item_use
    #    towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
    #    towny.spawntp :Use /town spawn
    #    towny.publicspawntp : Use "/town spawn [town]" (teleport to other towns)
    #
    #
    
    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.cheat.bypass: true
        towny.cheat.bypass:
            description: Disables the anti cheat code for players with this node.
            default: op
        towny.top:
            description: User has access to the "/towny top" commands.
            default: 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.plot: 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: op
        towny.town.claim:
            description: User is able to expand with /towny claim
            default: true
        towny.town.plot:
            description: User is able to purchase and own town plots.
            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: true
            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: true
        towny.wild.destroy:
            description: User can destroy in wild.
            default: true
        towny.wild.switch:
            description: User can switch in wild.
            default: true
        towny.wild.item_use:
            description: User can use use items in wild.
            default: true
        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
    
    # these will be moved to permissions nodes at a later date
    
    nation_creation_admin_only: true
    town_creation_admin_only: false
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                 default Town levels                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    townLevel:
        - numResidents: 0
          namePrefix: ''
          namePostfix: ' Ruins'
          mayorPrefix: 'Spirit '
          mayorPostfix: ''
          townBlockLimit: 1
          upkeepModifier: 1.0
        - numResidents: 1
          namePrefix: ''
          namePostfix: ' (Settlement)'
          mayorPrefix: 'Hermit '
          mayorPostfix: ''
          townBlockLimit: 16
          upkeepModifier: 1.0
        - numResidents: 2
          namePrefix: ''
          namePostfix: ' (Hamlet)'
          mayorPrefix: 'Chief '
          mayorPostfix: ''
          townBlockLimit: 32
          upkeepModifier: 1.0
        - numResidents: 6
          namePrefix: ''
          namePostfix: ' (Village)'
          mayorPrefix: 'Baron Von '
          mayorPostfix: ''
          townBlockLimit: 96
          upkeepModifier: 1.0
        - numResidents: 10
          namePrefix: ''
          namePostfix: ' (Town)'
          mayorPrefix: 'Viscount '
          mayorPostfix: ''
          townBlockLimit: 160
          upkeepModifier: 1.0
        - numResidents: 14
          namePrefix: ''
          namePostfix: ' (Large Town)'
          mayorPrefix: 'Count Von '
          mayorPostfix: ''
          townBlockLimit: 224
          upkeepModifier: 1.0
        - numResidents: 20
          namePrefix: ''
          namePostfix: ' (City)'
          mayorPrefix: 'Earl '
          mayorPostfix: ''
          townBlockLimit: 320
          upkeepModifier: 1.0
        - numResidents: 24
          namePrefix: ''
          namePostfix: ' (Large City)'
          mayorPrefix: 'Duke '
          mayorPostfix: ''
          townBlockLimit: 384
          upkeepModifier: 1.0
        - numResidents: 28
          namePrefix: ''
          namePostfix: ' (Metropolis)'
          mayorPrefix: 'Lord '
          mayorPostfix: ''
          townBlockLimit: 448
          upkeepModifier: 1.0
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                default Nation levels                 | #
    # +------------------------------------------------------+ #
    ############################################################
    
    nationLevel:
        - numResidents: 0
          namePrefix: 'Land of '
          namePostfix: ' (Nation)'
          capitalPrefix: ''
          capitalPostfix: ''
          kingPrefix: 'Leader '
          kingPostfix: ''
          upkeepModifier: 1.0
        - numResidents: 10
          namePrefix: 'Federation of '
          namePostfix: ' (Nation)'
          capitalPrefix: ''
          capitalPostfix: ''
          kingPrefix: 'Count '
          kingPostfix: ''
          upkeepModifier: 1.0
        - numResidents: 20
          namePrefix: 'Dominion of '
          namePostfix: ' (Nation)'
          capitalPrefix: ''
          capitalPostfix: ''
          kingPrefix: 'Duke '
          kingPostfix: ''
          upkeepModifier: 1.0
        - numResidents: 30
          namePrefix: 'Kingdom of '
          namePostfix: ' (Nation)'
          capitalPrefix: ''
          capitalPostfix: ''
          kingPrefix: 'King '
          kingPostfix: ''
          upkeepModifier: 1.0
        - numResidents: 40
          namePrefix: 'The '
          namePostfix: ' Empire'
          capitalPrefix: ''
          capitalPostfix: ''
          kingPrefix: 'Emperor '
          kingPostfix: ''
          upkeepModifier: 1.0
        - numResidents: 60
          namePrefix: 'The '
          namePostfix: ' Realm'
          capitalPrefix: ''
          capitalPostfix: ''
          kingPrefix: 'God Emperor '
          kingPostfix: ''
          upkeepModifier: 1.0
      
    ############################################################
    # +------------------------------------------------------+ #
    # |               Town Claim/new defaults                | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # maximum number of plots any single resident can own
    max_plots_per_resident: 10
    # Maximum number of towns allowed on the server.
    town_limit: 5
    
    # Minimum number of plots any towns home plot must be from the next town.
    # This will prevent someone founding a town right on your doorstep
    min_distance_from_town_homeblock: 16
    
    # Maximum distance between homblocks.
    # This will force players to build close together.
    max_distance_between_homeblocks: 0
    
    # The maximum townblocks available to a town is (numResidents * ratio).
    # Setting this value to 0 will instead use the level based jump values determined in the town level config.
    town_block_ratio: 16
    # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
    # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
    # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
    # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
    town_block_size: 16
     
    ############################################################
    # +------------------------------------------------------+ #
    # |             Default new world settings               | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # These flags are only used at the initial setp of a new world.
    
    # Once Towny is running each world can be altered from within game
    # using '/townyworld toggle'
    
    # force_pvp_on is a global flag and overrides any towns flag setting
    force_pvp_on: false
    
    # force_explosions_on is a global flag and overrides any towns flag setting
    force_explosions_on: false
    
    # world_monsters_on is a global flag setting per world.
    world_monsters_on: true
    
    # force_monsters_on is a global flag and overrides any towns flag setting
    force_town_monsters_on: false
    
    # force_fire_on is a global flag and overrides any towns flag setting
    force_fire_on: false
    
    # Disable creatures trampling crops
    disable_creature_crop_trampling: true
    
    # Disable players trampling crops
    disable_player_crop_trampling: true
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                Global town settings                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # can residents/Allies harm other residents when in a town with pvp enabled?
    friendly_fire: true
    
    # Players within their town or allied towns will regenerate half a heart after every health_regen_speed milliseconds.
    health_regen: true
    health_regen_speed: 3000
    
    # Enables taxes to be collected daily by town/nation
    # If a town can't pay it's tax then it is kicked from the nation.
    # if a resident can't pay his plot tax he loses his plot.
    # if a resident can't pay his town tax then he is kicked from the town.
    # if a town or nation fails to pay it's upkeep it is deleted.
    daily_taxes: true
    
    # Allow towns to claim outposts (a townblock not connected to town).
    allow_outposts: true
    
    # all the use of /town spawn
    allow_town_spawn: false
    # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
    allow_town_spawn_travel: false
    # Respawn the player at his town spawn point when he/she dies.
    town_respawn: false
    
    # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
    # Allowed options: unclaimed, enemy, neutral
    prevent_town_spawn_in: enemy
    
    # Enables the [~Home] message.
    # If false it will make it harder for enemies to find the home block during a war
    show_town_notifications: true
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                 Plugin interfacing                   | #
    # +------------------------------------------------------+ #
    ############################################################
    
    using_essentials: false
    using_iconomy: true
    using_permissions: true
    using_questioner: true
    
    database_load: flatfile
    database_save: flatfile
    daily_backups: true
    flatfile_backup: zip
    
    # The time taken between each "day". At the start of each day, taxes will be collected.
    # Judged in milliseconds. Default is 24 hours 86400000.
    day_interval: 86400000
    
    # Lots of messages to tell you what's going on in the server with time taken for events.
    debug_mode: false
    
    # Spams the player named in dev_name with all messages related to towny.
    dev_mode: false
    dev_name: ElgarL
    
    # Record all messages to the towny.log
    logging: true
    
    # If true this will cause the log to be wiped at every startup.
    reset_log_on_boot: false
     
    ############################################################
    # +------------------------------------------------------+ #
    # |               Filters colour and chat                | #
    # +------------------------------------------------------+ #
    ############################################################
    
    name_check_regex: '^[a-zA-Z0-9._-]*$'
    name_filter_regex: '[ /]'
    name_remove_regex: '[^a-zA-Z0-9._-]'
    
    # Not a good idea to change this at the moment.
    npc_prefix: 'NPC'
    
    # 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: '{playername}'
     
    # Text colouring
    # --------------
    # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
    # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
    # DarkPurple = &9, LightGreen = &a, LightBlue = &b
    # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
    
    # Chat colours
    
    # King/Mayor
    #colour_king: '&6'
    #colour_mayor: '&b'
     
    ############################################################
    # +------------------------------------------------------+ #
    # |             block/item/mob protection                | #
    # +------------------------------------------------------+ #
    ############################################################
    
    protection:
        # Items that can be blocked within towns via town/plot flags
        # 259 - flint and steel
        # 325 - bucket
        # 326 - water bucket
        # 327 - lava bucket
        # 351 - bone/bonemeal
    
        item_use_ids: 259,325,326,327,351
    
        # Items which can be blocked or enabled via town/plot flags
        # 25 - noteblock
        # 54 - chest
        # 61 - furnace
        # 62 - lit furnace
        # 64 - wooden door
        # 69 - lever
        # 70 - stone pressure plate
        # 71 - iron door
        # 72 - wooden pressure plate
        # 77 - stone button
        # 96 - trap door
        # 84 - jukebox
        # 93/94 - redstone repeater
    
        switch_ids: 25,54,61,62,64,69,70,71,72,77,96,84,93,94
    
        # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
        # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
        # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
    
        # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
    
        town_mob_removal_entities: Monster,WaterMob,Flying,Slime
    
        # Globally remove living entities in all worlds that have their flag set.
    
        world_mob_removal_entities: WaterMob,Flying,Slime
    
        # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
        # Lower values will check all entities more often at the risk of heavier burden and resource use.
        # NEVER set below 1000 (guestimate)
        mob_removal_speed: 5000
    
        # Prevent fly and double block jump cheats.
        cheat_protection: true
     
    ############################################################
    # +------------------------------------------------------+ #
    # |             Unclaimed plot settings                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    unclaimed:
    
        unclaimed_zone_build: false
        unclaimed_zone_destroy: false
        unclaimed_zone_item_use: false
        unclaimed_zone_switch: false
        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 Town/Plot flags                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # Default permission flags for towns
    # These are copied into the town data file at creation
    
    default_perm_flags:
    
        # Can allies/outsiders/residents perform certain actions in the town
    
        # build - place blocks and other items
        # destroy - break blocks and other items
        # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
        # switch - trigger or activate switches (as defined in switch_ids)
        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 permission flags for residents plots within a town
    
        # Can allies/friends/outsiders perform certain actions in the town
    
        # build - place blocks and other items
        # destroy - break blocks and other items
        # itemuse - use items such as furnaces (as defined in item_use_ids)
        # switch - trigger or activate switches (as defined in switch_ids)
        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
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Resident settings                   | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # player is flagged as inactive after 1 hour (default)
    inactive_after_time: 86400000
    
    # if enabled old residents will be kicked and deleted from a town
    # after Two months (default) of not logging in
    delete_old_residents: true
    deleted_after_time: 5184000000
    
    # The name of the town a resident will automatically join when he first registers.
    default_town_name: 'Paradise'
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Economy settings                    | #
    # +------------------------------------------------------+ #
    ############################################################
    
    economy:
    
        # Cost to use /town spawn
        price_town_spawn_travel: 0.0
    
        # Cost to use /town spawn [town]
        # This is paid to the town you goto.
        price_town_public_spawn_travel: 10.0
    
        price_death: 10.0
        price_death_wartime: 200.0
    
        # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
        price_nation_neutrality: 100.0
    
        # How much it costs to start a nation.
        price_new_nation: 1000000.0
        # How much it costs to start a town.
        price_new_town: 100000.0
        # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
        price_outpost: 500.0
    
        # The price for a town to expand one townblock.
        price_claim_townblock: 50.0
    
        # The server's daily charge on each nation. If a nation fails to pay this upkeep
        # all of it's member town are kicked and the Nation is removed.
        price_nation_upkeep: 100.0
    
        # The server's daily charge on each town. If a town fails to pay this upkeep
        # all of it's residents are kicked and the town is removed.
        price_town_upkeep: 20.0
        
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Wartime settings                    | #
    # +------------------------------------------------------+ #
    ############################################################
    
    #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
    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

    @marvinej

    towny.town.plot was added in 0.74 and allows players to use the /plot command.
     
    marvinej likes this.
  27. Offline

    Mrchasez

    My server is constantly being crashed from towny, Towny works for five minutes and then stops, and crashes the server.
     
  28. Offline

    LlmDl

    Don't you dare pastebin.com the error from the log, your server startup and your towny config.yml that would be the totally wrong thing to do in a situation like this.
     
    marvinej likes this.
  29. Offline

    Mrchasez

    It gets no errors, It just says it cant register a user or a town or nation, so i delete that.
    It works for a few min's, and stops/ crashes us.

    No errors, Besides that.
    It just randomly started happening too.
     
  30. Offline

    LlmDl

    You're probably not giving players permission nodes but how would I know? You did the diligent thing in not pastebin.com'ing anything for me to look at!
     
  31. Offline

    marvinej

    thanks a ton
     

Share This Page