[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

    Bloodykittens

    Thanks, I'll try it on a fresh server and see what the culprit is.
     
  3. Offline

    owenftw

    This plugin seems to be causing lag spikes for me.
    timings: http://aikar.co/timings.php?url=5703689




    Code:
    # 
    # The language file you wish to use
     
    version:
      # This is the current version of Towny.  Please do not edit.
      version: 0.83.0.0
      # This is for showing the changelog on updates.  Please do not edit.
      last_run_version: 0.83.0.0
      # Minimum required version of CraftBukkit.  Please do not edit.
      bukkit_version: '2771'
      # If enabled we will not check the CraftBukkit version at startup.
      bypass_version_check: 'true'
     
    # The language file you wish to use
    language: english.yml
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                   Permission nodes                   | #
    # +------------------------------------------------------+ #
    ############################################################
     
    #  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.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
    #    towny.top : User can access the command towny top
    #    towny.town.* : User has access to all town permission nodes.
    #        towny.town.new :User is able to create a town
    #        towny.town.delete :User is able to delete their town
    #        towny.town.claim : User is able to expand his town with /town claim
    #        towny.town.plot : User is able to use the /plot commands
    #        towny.town.resident : User is able to join towns upon invite.
    #    towny.town.toggle.*: User can access all town toggle commands (if a mayor or assistant).
    #        towny.town.toggle.pvp
    #        towny.town.toggle.public
    #        towny.town.toggle.explosions
    #        towny.town.toggle.fire
    #        towny.town.toggle.mobs
    #    towny.nation.* : User has access to all town permission nodes.
    #        towny.nation.new :User is able to create a nation
    #        towny.nation.delete :User is able to delete their nation (if king)
    #        towny.nation.rename :User is able to rename their nation (if king/assistant)
    #        towny.nation.grant-titles :User is able to grant titles/surnames to the nation residents (if King)
    #    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.wild.build.[block id]
    #        towny.wild.destroy.[block id]
    #        towny.wild.switch.[block id]
    #        towny.wild.item_use.[block id]
    #
    #    towny.claimed.* : User can build/destroy/switch/item_use in all towns.
    #        towny.claimed.build : User can build in all towns.
    #        towny.claimed.destroy : User can destroy in all towns.
    #        towny.claimed.switch : User can switch in all towns.
    #        towny.claimed.item_use : User can use use items in all towns. 
    #    towny.claimed.alltown.* : User is able to edit specified/all block types in all towns.
    #        towny.claimed.alltown.build.[block id]
    #        towny.claimed.alltown.destroy.[block id]
    #        towny.claimed.alltown.switch.[block id] : User can switch specified/all block types in all towns.
    #        towny.claimed.alltown.item_use.[block id]
    #    towny.claimed.owntown.* : User is able to edit specified/all block types in their own town.
    #        towny.claimed.owntown.build.[block id]
    #        towny.claimed.owntown.destroy.[block id] : (handy to allow clearing of snow '78')
    #        towny.claimed.owntown.switch.[block id]
    #        towny.claimed.owntown.item_use.[block id]
    #
    #    towny.town.spawn.*: Grants all Spawn travel nodes
    #        towny.town.spawn.town : Ability to spawn to your own town.
    #        towny.town.spawn.nation : Ability to spawn to other towns in your nation.
    #        towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
    #        towny.town.spawn.public : Ability to spawn to unaffilated public towns.
    #
    # these will be moved to permissions nodes at a later date
    permissions:
      town_creation_admin_only: 'false'
      nation_creation_admin_only: 'false'
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                Town and Nation levels                | #
    # +------------------------------------------------------+ #
    ############################################################
     
    levels:
     
      # default Town levels.
      town_level:
      - upkeepModifier: 1.0
        namePostfix: ' Ruins'
        mayorPrefix: 'Spirit '
        mayorPostfix: ''
        townBlockLimit: 1
        namePrefix: ''
        numResidents: 0
      - upkeepModifier: 1.0
        namePostfix: ' (Settlement)'
        mayorPrefix: 'Hermit '
        mayorPostfix: ''
        townBlockLimit: 16
        namePrefix: ''
        numResidents: 1
      - upkeepModifier: 1.0
        namePostfix: ' (Hamlet)'
        mayorPrefix: 'Chief '
        mayorPostfix: ''
        townBlockLimit: 32
        namePrefix: ''
        numResidents: 2
      - upkeepModifier: 1.0
        namePostfix: ' (Village)'
        mayorPrefix: 'Baron Von '
        mayorPostfix: ''
        townBlockLimit: 96
        namePrefix: ''
        numResidents: 6
      - upkeepModifier: 1.0
        namePostfix: ' (Town)'
        mayorPrefix: 'Viscount '
        mayorPostfix: ''
        townBlockLimit: 160
        namePrefix: ''
        numResidents: 10
      - upkeepModifier: 1.0
        namePostfix: ' (Large Town)'
        mayorPrefix: 'Count Von '
        mayorPostfix: ''
        townBlockLimit: 224
        namePrefix: ''
        numResidents: 14
      - upkeepModifier: 1.0
        namePostfix: ' (City)'
        mayorPrefix: 'Earl '
        mayorPostfix: ''
        townBlockLimit: 320
        namePrefix: ''
        numResidents: 20
      - upkeepModifier: 1.0
        namePostfix: ' (Large City)'
        mayorPrefix: 'Duke '
        mayorPostfix: ''
        townBlockLimit: 384
        namePrefix: ''
        numResidents: 24
      - upkeepModifier: 1.0
        namePostfix: ' (Metropolis)'
        mayorPrefix: 'Lord '
        mayorPostfix: ''
        townBlockLimit: 448
        namePrefix: ''
        numResidents: 28
     
      # default Nation levels.
      nation_level:
      - capitalPostfix: ''
        upkeepModifier: 1.0
        namePostfix: ' (Nation)'
        kingPrefix: 'Leader '
        townBlockLimitBonus: 10
        namePrefix: 'Land of '
        numResidents: 0
        capitalPrefix: ''
        kingPostfix: ''
      - capitalPostfix: ''
        upkeepModifier: 1.0
        namePostfix: ' (Nation)'
        kingPrefix: 'Count '
        townBlockLimitBonus: 20
        namePrefix: 'Federation of '
        numResidents: 10
        capitalPrefix: ''
        kingPostfix: ''
      - capitalPostfix: ''
        upkeepModifier: 1.0
        namePostfix: ' (Nation)'
        kingPrefix: 'Duke '
        townBlockLimitBonus: 40
        namePrefix: 'Dominion of '
        numResidents: 20
        capitalPrefix: ''
        kingPostfix: ''
      - capitalPostfix: ''
        upkeepModifier: 1.0
        namePostfix: ' (Nation)'
        kingPrefix: 'King '
        townBlockLimitBonus: 60
        namePrefix: 'Kingdom of '
        numResidents: 30
        capitalPrefix: ''
        kingPostfix: ''
      - capitalPostfix: ''
        upkeepModifier: 1.0
        namePostfix: ' Empire'
        kingPrefix: 'Emperor '
        townBlockLimitBonus: 100
        namePrefix: 'The '
        numResidents: 40
        capitalPrefix: ''
        kingPostfix: ''
      - capitalPostfix: ''
        upkeepModifier: 1.0
        namePostfix: ' Realm'
        kingPrefix: 'God Emperor '
        townBlockLimitBonus: 140
        namePrefix: 'The '
        numResidents: 60
        capitalPrefix: ''
        kingPostfix: ''
     
    ############################################################
    # +------------------------------------------------------+ #
    # |               Town Claim/new defaults                | #
    # +------------------------------------------------------+ #
    ############################################################
     
    town:
      # Default public status of the town (used for /town spawn)
      default_public: 'true'
      # Default Open status of the town (are new towns open and joinable by anyone at creation?)
      default_open: 'false'
      # Limits the maximum amount of bonus blocks a town can buy.
      max_purchased_blocks: '25'
      # maximum number of plots any single resident can own
      max_plots_per_resident: '8'
      # Maximum number of towns allowed on the server.
      town_limit: '3000'
     
      # 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: '15'
     
      # Maximum distance between homblocks.
      # This will force players to build close together.
      max_distance_between_homeblocks: '1'
     
      # 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: '2'
      # 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'
     
    new_world_settings:
      # Default for new worlds to have towny enabled.
      using_towny: 'false'
     
      pvp:
        # Set if PVP is enabled in this world
        world_pvp: 'false'
        # force_pvp_on is a global flag and overrides any towns flag setting
        force_pvp_on: 'false'
     
      mobs:
        # world_monsters_on is a global flag setting per world.
        world_monsters_on: 'true'
        # force_town_monsters_on is a global flag and overrides any towns flag setting
        force_town_monsters_on: 'false'
     
      explosions:
        # Allow explosions in this world
        world_explosions_enabled: 'true'
        # force_explosions_on is a global flag and overrides any towns flag setting
        force_explosions_on: 'false'
     
      fire:
        # Allow fire to be lit and spread in this world.
        world_firespread_enabled: 'true'
        # force_fire_on is a global flag and overrides any towns flag setting
        force_fire_on: 'false'
     
      # Prevent Endermen from picking up and placing blocks.
      enderman_protect: 'false'
      # Disable players trampling crops
      disable_player_crop_trampling: 'false'
      # Disable creatures trampling crops
      disable_creature_crop_trampling: 'false'
     
      # World management settings to deal with un/claiming plots
      plot_management:
     
        block_delete:
          enabled: 'false'
          # These items will be deleted upon a plot being unclaimed
          unclaim_delete: 26,50,55,63,64,68,70,71,72,75,76,93,94
     
        mayor_plotblock_delete:
          enabled: 'false'
          # These items will be deleted upon a mayor using /plot clear
          # To disable deleting replace the current entries with NONE.
          mayor_plot_delete: WALL_SIGN,SIGN_POST
     
        revert_on_unclaim:
          # *** WARNING***
          # If this is enabled any town plots which become unclaimed will
          # slowly be reverted to a snapshot taken before the plot was claimed.
          #
          # Regeneration will only work if the plot was
          # claimed under version 0.76.2, or
          # later with this feature enabled
          #
          # If you allow players to break/build in the wild the snapshot will
          # include any changes made before the plot was claimed.
          enabled: 'false'
          speed: 1s
          # These block types will NOT be regenerated
          block_ignore: 14,21,22,41,42,48,50,52,56,57,63,68,89
     
        wild_revert_on_mob_explosion:
          # Enabling this will slowly regenerate holes created in the
          # wilderness by monsters exploding.
          enabled: 'false'
          entities: Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,TNTPrimed,MinecartTNT
          delay: 20s
     
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                Global town settings                  | #
    # +------------------------------------------------------+ #
    ############################################################
     
    global_town_settings:
      # can residents/Allies harm other residents when in an area with pvp enabled? Other than an Arena plot.
      friendly_fire: 'true'
      # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
      health_regen:
        speed: 3s
        enable: 'false'
      # Allow towns to claim outposts (a townblock not connected to town).
      allow_outposts: 'true'
      # Allow the use of /town spawn
      allow_town_spawn: 'true'
      # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
      allow_town_spawn_travel: 'true'
      # Allow regular residents to use /town spawn [town] to other towns in your nation.
      allow_town_spawn_travel_nation: 'true'
      # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
      allow_town_spawn_travel_ally: 'true'
      # If non zero it delays any spawn request by x seconds.
      teleport_warmup_time: '0'
      # Respawn the player at his town spawn point when he/she dies
      town_respawn: 'false'
      # Town respawn only happens when the player dies in the same world as the town's spawn point.
      town_respawn_same_world_only: '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                   | #
    # +------------------------------------------------------+ #
    ############################################################
     
    plugin:
     
      # Valid load and save types are: flatfile, mysql, sqlite, h2.
      database:
        database_load: flatfile
        database_save: flatfile
     
        # SQL database connection details (IF set to use SQL).
        sql:
          hostname: localhost
          port: '3306'
          dbname: towny
          table_prefix: towny_
          username: root
          password: ''
     
        # Flatfile backup settings.
        daily_backups: 'false'
        backups_are_deleted_after: 1d
     
        # Valid entries are: zip, none.
        flatfile_backup: zip
     
      interfacing:
     
        tekkit:
          # Add any fake players for client/server mods (aka Tekkit) here
          fake_residents: '[IndustrialCraft],[BuildCraft],[Redpower],[Forestry],[Turtle]'
     
        # Enable using_essentials if you are using cooldowns in essentials for teleports.
        using_essentials: 'false'
     
        # This will attempt to use Register (if present)
        # Then it will attempt to access iConomy 5.01 directly
        # Enable if you have either iConomy 5.01, or Register.jar to
        # support: iConomy5, iConomy6, EssentialsEco, BOSEconomy.
        # https://github.com/iConomy/Register/tree/master/dist
        using_economy: 'true'
     
        # Enable using_questioner if you are using questioner to send/receive invites to towns/nations.
        # See http://code.google.com/a/eclipselabs.org/p/towny/wiki/Questioner for more info.
        using_questioner:
          enable: 'true'
          # The command to accept invitations.
          accept: accept
          # The command to refuse invitations.
          deny: deny
     
        # True to attempt to use GroupManager, PEX, bPermissions, Permissions2/3 or BukkitPerms
        # False to disable permission checks and rely on Towny settings.
        using_permissions: 'true'
     
      day_timer:
        # The number of hours in each "day".
        # You can configure for 10 hour days. Default is 24 hours.
        day_interval: 99999999d
        # The time each "day", when taxes will be collected.
        # MUST be less than day_interval. Default is 12h (midday).
        new_day_time: 99999d
     
      # 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:
        enable: 'false'
        dev_name: ElgarL
     
      # Record all messages to the towny.log
      logging: 'false'
      # If true this will cause the log to be wiped at every startup.
      reset_log_on_boot: 'true'
     
     
    ############################################################
    # +------------------------------------------------------+ #
    # |               Filters colour and chat                | #
    # +------------------------------------------------------+ #
    ############################################################
     
    filters_colour_chat:
      # This is the name given to any NPC assigned mayor.
      npc_prefix: NPC
      # Regex fields used in validating inputs.
      regex:
        name_filter_regex: '[ /]'
        name_check_regex: ^[a-zA-Z0-9._\[\]-]*$
        name_remove_regex: '[^a-zA-Z0-9._\[\]-]'
     
      modify_chat:
        # Maximum length of Town and Nation names.
        max_name_length: '20'
        # Maximum length of titles and surnames.
        max_title_length: '10'
     
     
    ############################################################
    # +------------------------------------------------------+ #
    # |             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
      # 359 - shears
      # 368 - ender pearl
      # 374 - glass bottle
      # 385 - fire charge
      item_use_ids: 259,325,326,327,328,342,351,359,368,374,385
     
      # Items which can be blocked or enabled via town/plot flags
      # 25 - noteblock
      # 54 - chest ...etc
      switch_ids: 23,25,54,61,62,64,69,70,71,72,77,96,84,93,94,107,146,147,148,149,150,138,154,158,328,342,343,407,408
     
      # 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: ''
     
      # Prevent the spawning of villager babies in towns.
      town_prevent_villager_breeding: 'false'
      # Disable creatures triggering stone pressure plates
      disable_creature_pressureplate_stone: 'false'
     
      # Globally remove living entities in all worlds that have their flag set.
      world_mob_removal_entities: ''
     
      # Prevent the spawning of villager babies in the world.
      world_prevent_villager_breeding: 'false'
     
      # 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 1.
      mob_removal_speed: 25s
     
      # Prevent fly and double block jump cheats.
      cheat_protection: 'false'
     
      # The amount of time it takes for a protected block to regenerate.  Use zero for no delay.
      regen_delay: 0s
     
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                Wilderness settings                   | #
    # +------------------------------------------------------+ #
    ############################################################
     
    # These Settings defaults only. They are copied to each worlds data files upon first detection
    # To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
     
    unclaimed:
      unclaimed_zone_build: 'false'
      unclaimed_zone_destroy: 'false'
      unclaimed_zone_item_use: '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
      unclaimed_zone_switch: 'false'
     
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                 Town Notifications                   | #
    # +------------------------------------------------------+ #
    ############################################################
     
    # This is the format for the notifications sent as players move between plots.
    # Empty a particular format for it to be ignored.
     
    # Example:
    # [notification.format]
    # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
    # ... [notification.plot.format]
    # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
    # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
     
    notification:
      format: '&6 ~ %s'
      splitter: '&7 - '
      area_wilderness: '&2%s'
      area_wilderness_pvp: '%s'
      area_town: '&6%s'
      area_town_pvp: '%s'
      owner: '&a%s'
      no_owner: '&a%s'
      plot:
        splitter: ' '
        format: '%s'
        homeblock: '&b[Home]'
        outpostblock: '&b[Outpost]'
        forsale: '&e[For Sale: %s]'
        type: '&6[%s]'
     
     
    ############################################################
    # +------------------------------------------------------+ #
    # |             Default Town/Plot flags                  | #
    # +------------------------------------------------------+ #
    ############################################################
     
     
    default_perm_flags:
     
      # 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)
      resident:
        friend:
          build: 'true'
          destroy: 'true'
          item_use: 'true'
          switch: 'true'
        ally:
          build: 'false'
          destroy: 'false'
          item_use: 'false'
          switch: 'false'
        outsider:
          build: 'false'
          destroy: 'false'
          item_use: 'false'
          switch: 'false'
     
      # Default permission flags for towns
      # These are copied into the town data file at creation
      #
      # 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)
      town:
        default:
          pvp: 'true'
          fire: 'false'
          explosion: 'false'
          mobs: 'false'
        resident:
          build: 'true'
          destroy: 'true'
          item_use: 'true'
          switch: 'true'
        ally:
          build: 'false'
          destroy: 'false'
          item_use: 'false'
          switch: 'false'
        outsider:
          build: 'false'
          destroy: 'false'
          item_use: 'false'
          switch: 'false'
     
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Resident settings                   | #
    # +------------------------------------------------------+ #
    ############################################################
     
    resident_settings:
      # player is flagged as inactive after 1 hour (default)
      inactive_after_time: ''
      # if enabled old residents will be kicked and deleted from a town
      # after Two months (default) of not logging in
      delete_old_residents:
        enable: 'false'
        deleted_after_time: 60d
        delete_economy_account: 'true'
      # The name of the town a resident will automatically join when he first registers.
      default_town_name: ''
    
     
  4. Offline

    LlmDl

    owenftw I looked at the timings and nothing looks out of the ordinary. Got anything to show it's Towny causing your 'lag spikes'?
     
  5. Offline

    owenftw

    Thanks for taking a look, I just can't find out whats causing the small lag spikes and they seemed to bring up most concern on spigot forums.

    Also do you know why somebody gets this message when trying to create a town? ^.^
    http://s8.postimg.org/5vwgydehx/Capture_ferwgggggggggggggg.png - This area is too far away from the other towns.
     
  6. Offline

    LlmDl

    owenftw There's a config setting, something like "max distance between homeblocks" that forces towns from being too far from each other.
     
  7. Offline

    Pijanista

    Can you help with permissions, every member of town can do with town whatever he want like he's owner of town, how to fix it. Using groupmanager.
    Code:
    towny.command.plot.*
    towny.command.plot.set.*
    towny.command.resident.*
    towny.command.town.*
    towny.town.*
     
  8. Offline

    LlmDl

    According to the permission node wikipage, you should only be granting the towny.wild.* node in your permission plugin's files. The rest are already handed out in the townyperms.yml. Read the wiki/install guide.
     
  9. Offline

    Avianize

    What is the best way to make a spawn town where users can buy shops and houses?

    I assume towny is going to disregard my worldedit setup.
     
  10. Offline

    LlmDl

    Go to the How Towny Works wikipage and read the mayor section, you'll want to set up a NPC town and probaly set it to the default_town in the config.
     
    Avianize likes this.
  11. Offline

    owenftw

    Would you be able to add permissions for town and nation leaders so they can mute town/nation members from talking in their towns/nation chat?
     
  12. Offline

    LlmDl

    Put in a suggestion ticket for that.
     
  13. Offline

    spy85

    When I do any command such as /t new <name> or /t <town> it always says [Towny] null but only does this on those 2 commands and probably some others as well.

    I have register and vault as well as iConomy and Essentials. I have the latest towny dev build and am running 1.5.2.
     
  14. Offline

    LlmDl

    Stop your server, move your server.log out of the craftbukkit directory. Start your server, let it load completely, then stop it. A new server.log will be created, please upload it to http://pastie.org or http://pastebin.com and post the link in the thread.
     
  15. Offline

    Avianize


    Thanks for the help.

    I have another quick question. What is the best way to quickly claim a lot of land for the default town?
     
  16. Offline

    LlmDl

    From the commands wiki page: /t claim # (where # is the radius of plots you want to claim.)
     
  17. Offline

    BiatchDeluxe

    Hi guyz, i have a problem with towny

    http://pastebin.com/Zq02mSEF

    this appears in the console when i restart/reload my server.
    How can i fix that ?
     
  18. Offline

    LlmDl

    BiatchDeluxe Looks like a parsing error in the townyperms.yml, pastebin.com it.
     
  19. Offline

    spy85

    I actually figured it out I just needed to disable economy. The good thing is its only for doners so I don't need economy enabled.
     
  20. Offline

    Seriyu859

    I would love to know how I can set it up. My friend wants to know if you use tunngle or hamachi? or is there something that you use that they don't have to use it. It'll be alot easier if someone explain it to me. Thanks. :)
     
  21. Offline

    Seathre

    Instead if selling an entire chunk as a plot, does Towny allow for areas inside a town to be defined as plots? Furthermore, is there any way Towny can be changed from chunk-based to block-based area definition? As a server owner, I find it to be much more powerful to be able to determine the size and shape of my town's plots, and my entire town for that matter, rather than being restricted to 16x16 chunks.
     
  22. Offline

    LlmDl

    Towny does not support cuboid selection. You can set one size of plot and that is the size used across the entire server.
     
  23. Offline

    Seathre

    Do you not agree that logically it is the better method? I imagine using the entire chunk is the easier method, but being able to select an area is so much nicer.
     
  24. Offline

    LlmDl

    Seathre The magic of Towny is not needing to worry about players abusing the system. You don't need to worry that a mayor will claim a 1x1x500 cuboid in the middle of the wilderness. There are plenty of cuboid-selection options if you cannot work with the chunk-system.

    Logically, I would never trust random players with a cuboid tool but I would let them become a mayor unsupervised on my server.
     
  25. Offline

    Seathre

    I don't quite understand, what other cuboid-selection options are you talking about? What I need is the ability to allow members to create and maintain towns, without being restricted to 16x16. If there was a way for advanced Towny users to switch to using a cuboid-based selection system, but keep the chunk selection system as default, it would give greater functionality to the plugin, but keep a safeguard for inexperienced server administrators.

    In addition, putting configurable limits in for cuboid selection could keep players from selecting too small or too large of areas. To be honest, the chunk system works fine for purchasing town lands, but it seems too big of a scale when designating plots for town members to purchase.

    I use Towny on my server mainly for the role-play and social aspects, getting players more involved with the server and other players and I feel adding cuboid-selection for designating house plots (at least) would benefit this.
     
  26. Offline

    LlmDl

    I can suggest residence, it used to be quite resource heavy compared to towny though. We do not plan on ever adding cuboid selection, sorry!
     
  27. Offline

    xsugerdaddyx

    The site is down!? D: AAAAAAAAAAAHHHHHHHHHHHHHHHHH
     
  28. Sorry, something odd happened and redirected it to my IP security camera network :(.
     
  29. Offline

    owenftw

  30. Offline

    LlmDl

    I'm showing this to ElgarL when he's around next, but did you notice that that is showing a percentage of 180, which shouldn't be possible right. It's more likely that the timings aren't accurate, since something shouldn't be above 100%.
     
  31. PlayerQuit timings are dependent upon your method of storage. Disc vs SQL.
    If you have really slow file storage your timings will be bad.
     

Share This Page