[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

    excalibr23

    Think it would be cool if towns/nations didn't have to pay taxes the first day. That was if someone creates a town 1 minute before taxes their town doesn't get destroyed. I've had this happen a few times on my server.
     
  3. Offline

    lonewolf1221

    I have the exact same problem, and idea how to fix this ? i use /town claim auto and it says invalid radius use integer or 'auto'
     
  4. Offline

    Vittek

    Umm I don't think so. The prefixes are the city/nation names. And when I revert back to 0.74 it works just fine.
     
  5. Offline

    Draxum

    I am trying to set up a RP server and want to know if you can as an Admin purchase more then one block of 16x16 for a town without another player being part of a town? I like the Idea that a player has to buy land to build on it. Every video I have seen and all information I have read says I have to have more people in a the town to make it bigger. I want to setup a 32x32 block for a NPC town that is protected for NPC quest givers that the players can not grief.
     
  6. Grab Dev version. Config reading for enable/disable is bugged in release.
     
  7. Offline

    darkcloud784

    Only work around I've found is just claiming 1 chunk at a time with /town claim
     
  8. Offline

    imaxorz

    This is regarding Towny not being able to load a resident file for whatever reason. Is there going to be something implemented to catch this when a resident is added wrong to a friends list or whatever exactly causes this? We keep having the same issue with the same resident, and editing resident files to fix it isn't hard, but we aren't always there to do it, and I hate for the server to be running without Towny on.
     
  9. Offline

    Werzieq

    Citizens NPCs vanish inside claimed areas, but they still talk...encountered with 0.75
     
  10. Offline

    Guitarpro

    Hello,
    If i were t create a new world for my server would the towns transfer over.
     
  11. Fixed in Dev.

    This is an OLD citizens bug. It happens anywhere, not only in towns. Nothing to do with Towny.

    This 'should' be already fixed in current release. I added sanity checking on friends lists.

    Only if the world name is the same.

    You can assign any number of additional plots to a town with...
    /townyadmin givebonus [town] [num]

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

    Simanova

    Perhaps its already fixed

     
  13. Thank you. Fixed in dev (shortly)
     
  14. Offline

    imaxorz

    0.75.1 or dev?
     
  15. It should be fixed in release, but it would be very helpful if when you next get this error you could zip up your towny data folder and get a copy to me. I can then do tests here to get a guaranteed fix.
     
  16. Offline

    Zaros

    Can I just mention how much I love you? I use to be stuck between towny and factions because factions had better war features, but now towny advanced has war AND shops. [diamond]

    Does this work with the new bukkit permissions and how long until war will work correctly?
     
  17. Offline

    LlmDl

    Towny supports the superperms just fine, all you need to do is make sure using_permissions: false in the config.yml.

    As for the war overhaul, you're looking at something in the 30-45 day range before it is released. Bugfixes take priority and the plot overhaul is underway currently.
     
  18. Offline

    Timberman

    Is it possible to allow an resident, that already got his own town allow to claim plots in another town??
     
  19. Offline

    darkcloud784

    Currently from what I understand the answer is no, however I did request a feature that can be enabled in the config that allows players to be appart of multiple towns but only 1 nation.
     
  20. Offline

    LlmDl

    @darkcloud784 a new plot-type called an Embassy will be available in an upcoming release but currently this cannot be done without the player from the other town claiming an outpost where he wants the plot.
     
  21. Offline

    imaxorz

    Will do!
     
  22. Offline

    lonewolf1221

    Same, i went back to using factions its simpler and the features are the same except for tax and plots, both of which can be created via ingame player cooperation. ty for the plugin though it really does sound good im sure i will come back one day:p
     
    Saul R.W likes this.
  23. Offline

    bubbibjQrnen

    oh ok, ty for your reply
     
  24. Offline

    roly

    i got this error.

    Code:
    2011-08-31 02:08:51 [SEVERE] Error occurred while enabling Towny v0.75.1 (Is it up to date?): null
    java.lang.NullPointerException
            at com.palmergames.bukkit.towny.Towny.SetWorldFlags(Towny.java:156)
            at com.palmergames.bukkit.towny.Towny.load(Towny.java:296)
            at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:101)
    
     
  25. Offline

    Arjan

    Ok this is a complete of topic Q:
    Can someone please help me fix this problem??
    20:46:50 [INFO] Disconnecting robin [/5.238.79.152:49426]: Internal server error
    20:46:50 [WARNING] Failed to handle packet: java.lang.ClassCastException: org.getspout.spout.block.mcblock.CustomBlock cannot be cast to net.minecraft.server.BlockFlower
    java.lang.ClassCastException: org.getspout.spout.block.mcblock.CustomBlock cannot be cast to net.minecraft.server.BlockFlower
    at net.minecraft.server.WorldGenFlowers.a(SourceFile:21)
    at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:579)
    at org.bukkit.craftbukkit.generator.NormalChunkGenerator.getChunkAt(NormalChunkGenerator.java:45)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:177)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:99)
    at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
    at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
    at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:94)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:134)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    at net.minecraft.server.Packet1Login.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  26. I have a problem with this plugin.
    I want to take out prices of creating a town and make a command /town new only for admins. But then I use this command it always asks me to pay money for town creation.
    Also, then I want to change prices on town economy section, when i run server, they are set back to defaults.
    Can anyone help?
    Using this config:

    Code:
    
    ############################################################
    # +------------------------------------------------------+ #
    # |             block/item/mob protection                | #
    # +------------------------------------------------------+ #
    ############################################################
    
    protection:
    
        # Prevent fly and double block jump cheats.
        cheat_protection: '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: 10000s
    
        # Globally remove living entities in all worlds that have their flag set.
        world_mob_removal_entities: WaterMob,Flying,Slime
    
        # 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
    
        # 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
    
        # 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
     
    ############################################################
    # +------------------------------------------------------+ #
    # |             Default Town/Plot flags                  | #
    # +------------------------------------------------------+ #
    ############################################################
     
    default_perm_flags:
    
        # 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:
            ally:
                destroy: 'false'
                item_use: 'true'
                switch: 'true'
                build: 'false'
            outsider:
                destroy: 'false'
                item_use: 'false'
                switch: 'true'
                build: 'false'
            resident:
                destroy: 'true'
                item_use: 'true'
                switch: 'true'
                build: '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)
        resident:
            ally:
                destroy: 'false'
                item_use: 'false'
                switch: 'true'
                build: 'false'
            outsider:
                destroy: 'false'
                item_use: 'false'
                switch: 'true'
                build: 'false'
            friend:
                destroy: 'true'
                item_use: 'true'
                switch: 'true'
                build: 'true'
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Economy settings                    | #
    # +------------------------------------------------------+ #
    ############################################################
    
    economy:
        # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
        price_outpost: '0.0'
        # Cost to use /town spawn [town]
        # This is paid to the town you goto.
        price_town_public_spawn_travel: '0.0'
        # How much it costs to start a town.
        price_new_town: '0.0'
        price_death_wartime: '0.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: '0.0'
        # Cost to use /town spawn
        price_town_spawn_travel: '0.0'
        # The price for a town to expand one townblock.
        price_claim_townblock: '0.0'
        price_death: '0.0'
        # How much it costs to start a nation.
        price_new_nation: '0.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: '0.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: '0.0'
     
    ############################################################
    # +------------------------------------------------------+ #
    # |             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:
        # force_pvp_on is a global flag and overrides any towns flag setting
        force_pvp_on: 'false'
        # force_fire_on is a global flag and overrides any towns flag setting
        force_fire_on: 'false'
        # force_town_monsters_on is a global flag and overrides any towns flag setting
        force_town_monsters_on: 'false'
        # Disable creatures trampling crops
        disable_creature_crop_trampling: 'true'
        # force_explosions_on is a global flag and overrides any towns flag setting
        force_explosions_on: 'false'
        # Disable players trampling crops
        disable_player_crop_trampling: 'true'
        # world_monsters_on is a global flag setting per world.
        world_monsters_on: 'true'
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                Global town settings                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    global_town_settings:
    
        # 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
        # Allow the use of /town spawn
        allow_town_spawn: 'false'
    
        # 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: 'false'
        # Respawn the player at his town spawn point when he/she dies
        town_respawn: 'false'
        # can residents/Allies harm other residents when in a town with pvp enabled?
        friendly_fire: 'false'
        # If non zero it delays any spawn request by x seconds.
        teleport_warmup_time: '0'
        # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
        health_regen:
            speed: '3'
            enable: 'false'
        # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
        allow_town_spawn_travel: 'false'
        # Allow towns to claim outposts (a townblock not connected to town).
        allow_outposts: 'true'
        # 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'
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Wartime settings                    | #
    # +------------------------------------------------------+ #
    ############################################################
    
    war:
        wartime_points_kill: '1'
        wartime_home_block_hp: '120'
        wartime_remove_on_monarch_death: 'false'
        wartime_points_town: '10'
        wartime_warning_delay: '30'
        #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_points_townblock: '1'
        wartime_min_height: '60'
        wartime_town_block_loss_price: '100'
        wartime_points_nation: '100'
        wartime_base_spoils: '100'
        wartime_town_block_hp: '60'
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                 Plugin interfacing                   | #
    # +------------------------------------------------------+ #
    ############################################################
    
    plugin:
        # The time taken between each "day". At the start of each day, taxes will be collected.
        # Judged in seconds. Default is 24 hours.
        day_interval: 1d
        interfacing:
            # Enable if you are using cooldowns in essentials for teleports.
            using_essentials: 'true'
            using_permissions: 'true'
            using_questioner: 'true'
            using_iconomy: 'true'
        # Record all messages to the towny.log
        logging: 'true'
        # Lots of messages to tell you what's going on in the server with time taken for events.
        debug_mode: 'false'
        # If true this will cause the log to be wiped at every startup.
        reset_log_on_boot: 'false'
        database:
            database_save: flatfile
            flatfile_backup: zip
            database_load: flatfile
            daily_backups: 'true'
        # Spams the player named in dev_name with all messages related to towny.
        dev_mode:
            dev_name: ElgarL
            enable: 'false'
    version:
        last_run_version: 0.75.0
        # This is for showing the changelog on updates.  Please do not edit.
        version: 0.75.0
    levels:
    
        ############################################################
        # +------------------------------------------------------+ #
        # |                default Nation levels                 | #
        # +------------------------------------------------------+ #
        ############################################################
    
        nation_level:
        -   capitalPostfix: ''
            upkeepModifier: 1.0
            namePostfix: ' (Nation)'
            kingPrefix: 'Leader '
            namePrefix: 'Land of '
            numResidents: 0
            capitalPrefix: ''
            kingPostfix: ''
        -   capitalPostfix: ''
            upkeepModifier: 1.0
            namePostfix: ' (Nation)'
            kingPrefix: 'Count '
            namePrefix: 'Federation of '
            numResidents: 10
            capitalPrefix: ''
            kingPostfix: ''
        -   capitalPostfix: ''
            upkeepModifier: 1.0
            namePostfix: ' (Nation)'
            kingPrefix: 'Duke '
            namePrefix: 'Dominion of '
            numResidents: 20
            capitalPrefix: ''
            kingPostfix: ''
        -   capitalPostfix: ''
            upkeepModifier: 1.0
            namePostfix: ' (Nation)'
            kingPrefix: 'King '
            namePrefix: 'Kingdom of '
            numResidents: 30
            capitalPrefix: ''
            kingPostfix: ''
        -   capitalPostfix: ''
            upkeepModifier: 1.0
            namePostfix: ' Empire'
            kingPrefix: 'Emperor '
            namePrefix: 'The '
            numResidents: 40
            capitalPrefix: ''
            kingPostfix: ''
        -   capitalPostfix: ''
            upkeepModifier: 1.0
            namePostfix: ' Realm'
            kingPrefix: 'God Emperor '
            namePrefix: 'The '
            numResidents: 60
            capitalPrefix: ''
            kingPostfix: ''
    
        ############################################################
        # +------------------------------------------------------+ #
        # |                 default Town levels                  | #
        # +------------------------------------------------------+ #
        ############################################################
    
        town_level:
        -   upkeepModifier: 1.0
            namePostfix: ' Vienkiemis'
            mayorPrefix: 'Senolis '
            mayorPostfix: ''
            townBlockLimit: 1
            namePrefix: ''
            numResidents: 0
        -   upkeepModifier: 1.0
            namePostfix: ' Gyvenviete'
            mayorPrefix: 'Vyresnysis '
            mayorPostfix: ''
            townBlockLimit: 16
            namePrefix: ''
        -   upkeepModifier: 1.0
            namePostfix: ' Kaimas'
            mayorPrefix: 'Prievaizas '
            mayorPostfix: ''
            townBlockLimit: 32
            namePrefix: ''
            numResidents: 2
        -   upkeepModifier: 1.0
            namePostfix: ' Miestelis'
            mayorPrefix: 'Seniunas '
            mayorPostfix: ''
            townBlockLimit: 96
            namePrefix: ''
            numResidents: 6
        -   upkeepModifier: 1.0
            namePostfix: ' Miestas'
            mayorPrefix: ' Meras'
            mayorPostfix: ''
            townBlockLimit: 160
            namePrefix: ''
            numResidents: 10
        -   upkeepModifier: 1.0
            namePostfix: ' Apygarda'
            mayorPrefix: 'Konsulas '
            mayorPostfix: ''
            townBlockLimit: 224
            namePrefix: ''
            numResidents: 14
        -   upkeepModifier: 1.0
            namePostfix: ' Regionas'
            mayorPrefix: 'Virsila '
            mayorPostfix: ''
            townBlockLimit: 320
            namePrefix: ''
            numResidents: 20
        -   upkeepModifier: 1.0
            namePostfix: ' Industrija'
            mayorPrefix: 'Gubernatorius '
            mayorPostfix: ''
            townBlockLimit: 384
            namePrefix: ''
            numResidents: 24
        -   upkeepModifier: 1.0
            namePostfix: ' Sostine'
            mayorPrefix: 'Metropolitas '
            mayorPostfix: ''
            townBlockLimit: 448
            namePrefix: ''
            numResidents: 28
     
    ############################################################
    # +------------------------------------------------------+ #
    # |                  Resident settings                   | #
    # +------------------------------------------------------+ #
    ############################################################
    
    resident_settings:
        # player is flagged as inactive after 1 hour (default)
        inactive_after_time: 10h
        # The name of the town a resident will automatically join when he first registers.
        default_town_name: ''
        # if enabled old residents will be kicked and deleted from a town
        # after Two months (default) of not logging in
        delete_old_residents:
            enable: 'true'
            deleted_after_time: 14d
     
    ############################################################
    # +------------------------------------------------------+ #
    # |             Unclaimed plot settings                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    unclaimed:
        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
        unclaimed_zone_item_use: 'true'
        unclaimed_zone_build: 'true'
        unclaimed_zone_destroy: 'true'
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                   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.town.new :User is able to create a 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.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)
    #
    # these will be moved to permissions nodes at a later date
    permissions:
        town_creation_admin_only: 'false'
        nation_creation_admin_only: 'false'
    
    # The language file you wish to use
    language: english.yml
    
    ############################################################
    # +------------------------------------------------------+ #
    # |               Town Claim/new defaults                | #
    # +------------------------------------------------------+ #
    ############################################################
    
    town:
        # maximum number of plots any single resident can own
        max_plots_per_resident: '100'
    
        # 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: '5'
        # 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: '36'
        # Maximum number of towns allowed on the server.
        town_limit: '3000'
    
        # 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: '36'
    
        # Maximum distance between homblocks.
        # This will force players to build close together.
        max_distance_between_homeblocks: '0'
     
    ############################################################
    # +------------------------------------------------------+ #
    # |               Filters colour and chat                | #
    # +------------------------------------------------------+ #
    ############################################################
    
    filters_colour_chat:
    
        # 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
        colour:
            mayor: '&b'
            king: '&6'
        # This is the name given to any NPC assigned mayor.
        npc_prefix: NPC
        # Regex fields used in validating inputs.
        regex:
            name_remove_regex: '[^a-zA-Z0-9._-]'
            name_check_regex: ^[a-zA-Z0-9._-]*$
            name_filter_regex: '[ /]'
    
        # The format below will specify the changes made to the player name when chatting.
        # keys are
        # {nation} - Displays nation name in [ ] if a member of a nation.
        # {town} - Displays town name in [ ] if a member of a town.
        # {permprefix} - Permission group prefix
        # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels
        # {playername} - default player name
        # {modplayername} - modified player name (use if Towny is over writing some other plugins changes).
        # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
        # {permsuffix} - Permission group suffix.
        modify_chat:
            enable: 'false'
            max_title_length: '15'
            format: '{nation}{town}{permprefix}{townynameprefix}{playername}{townynamepostfix}{permsuffix}'
    
     
    AS1LV3RN1NJA likes this.
  27. Offline

    Legionarius

    Sticky pistons placed in the wilderness can pull protected blocks. This is still a big problem for obvious reasons.
     
  28. Fixing in Dev now

    Grab the Dev version, config reading is fixed.

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

    GrandRiver

    Oh my, where to begin...

    I got so frustrated trying to deal with the number of errors Towny was throwing at me I wiped it from the server until these problems are figured out...

    1) After installing Towny and working the configuration to how I wanted it, we (the server staff) set out to test the settings and how it works. Whenever we founded a new town and tried to claim a radius it threw an 'Unhandled Exception' error...

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'town' in plugin Towny v0.75.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.palmergames.bukkit.towny.PlayerCache.getLastLocation(PlayerCache.java:150)
        at com.palmergames.bukkit.towny.command.TownCommand.parseTownClaimCommand(TownCommand.java:1296)
        at com.palmergames.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:291)
        at com.palmergames.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:86)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 13 more.
    So I updated Towny to the dev build (v0.75.3.11) and that problem still persisted, I forget where in this thread I read it but I changed the config from "Using Permissions: True" to "Using Permissions: False" (since we're using PermissionBukkit with the SuperPermsBridge) and the problem seemed to go away for the moment (we'll get back to this later) and we were able to claim an area with the /town claim <radius> command.

    2) After seemingly sorting out issue #1 we tried to do /town unclaim <radius> and that immediately crashed the server with this error (now I don't know if this is actually a Dynmap problem or not, but an earlier test with /town unclaim <radius> several weeks ago with Towny v0.74 also killed the server and I didn't have dynmap on there at the time)...

    Code:
    2011-08-31 12:39:23 [SEVERE] [dynmap] HttpHandler 'org.dynmap.regions.RegionHandler@13d12bf' has thown an exception
    java.lang.NullPointerException
        at org.dynmap.regions.TownyConfigHandler.processTown(TownyConfigHandler.java:117)
        at org.dynmap.regions.TownyConfigHandler.getRegionData(TownyConfigHandler.java:68)
        at org.dynmap.regions.RegionHandler.getFileInput(RegionHandler.java:49)
        at org.dynmap.web.handlers.FileHandler.handle(FileHandler.java:94)
        at org.dynmap.web.HttpServerConnection.run(HttpServerConnection.java:204)
    3) After rebooting from issue number 2, Towny failed to function any longer and we got these errors, when I tried /townyadmin reload, the "Could Not Pass event Creature_Spawn" kept spamming the console until I rebooted the server...

    Code:
    2011-08-31 12:45:13 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-08-31 12:45:13 [INFO] [Towny] Loading Error: Exception while reading resident file Caine_McMaster
    2011-08-31 12:45:13 [SEVERE] com.palmergames.bukkit.towny.NotRegisteredException: thisbetterwork is not registered.
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.object.TownyUniverse.getTown(TownyUniverse.java:720)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.db.TownyFlatFileSource.loadResident(TownyFlatFileSource.java:258)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.db.TownyDataSource.loadResidents(TownyDataSource.java:136)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:75)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.object.TownyUniverse.loadDatabase(TownyUniverse.java:808)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.object.TownyUniverse.loadSettings(TownyUniverse.java:766)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.Towny.loadSettings(Towny.java:280)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.Towny.load(Towny.java:292)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.command.TownyAdminCommand.reloadTowny(TownyAdminCommand.java:399)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.command.TownyAdminCommand.parseTownyAdminCommand(TownyAdminCommand.java:142)
    2011-08-31 12:45:13 [SEVERE]     at com.palmergames.bukkit.towny.command.TownyAdminCommand.onCommand(TownyAdminCommand.java:83)
    2011-08-31 12:45:13 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-08-31 12:45:13 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    2011-08-31 12:45:13 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    2011-08-31 12:45:13 [SEVERE]     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    2011-08-31 12:45:13 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-31 12:45:13 [INFO] [Towny] Loading Error: Could not read resident data 'Caine_McMaster'.
    2011-08-31 12:45:13 [INFO] [Towny] Error: Failed to load!
    2011-08-31 12:45:13 [INFO] [Towny] Version: 0.75.3.11 - Mod Disabled
    2011-08-31 12:45:13 [INFO] [Towny] Using: iConomy, Questioner
    2011-08-31 12:45:13 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'townyadmin' in plugin Towny v0.75.3.11
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.palmergames.bukkit.towny.Towny.SetWorldFlags(Towny.java:156)
        at com.palmergames.bukkit.towny.Towny.load(Towny.java:296)
        at com.palmergames.bukkit.towny.command.TownyAdminCommand.reloadTowny(TownyAdminCommand.java:399)
        at com.palmergames.bukkit.towny.command.TownyAdminCommand.parseTownyAdminCommand(TownyAdminCommand.java:142)
        at com.palmergames.bukkit.towny.command.TownyAdminCommand.onCommand(TownyAdminCommand.java:83)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 13 more
    2011-08-31 12:45:22 [SEVERE] Could not pass event CREATURE_SPAWN to Towny
    java.lang.NullPointerException
        at com.palmergames.bukkit.towny.event.TownyEntityListener.onCreatureSpawn(TownyEntityListener.java:117)
        at org.bukkit.plugin.java.JavaPluginLoader$67.execute(JavaPluginLoader.java:712)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:234)
        at net.minecraft.server.World.addEntity(World.java:855)
        at net.minecraft.server.SpawnerCreature.spawnEntities(SpawnerCreature.java:134)
        at net.minecraft.server.World.doTick(World.java:1715)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:444)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    4) After the next reboot I got this on startup...

    Code:
    2011-08-31 12:46:59 [SEVERE] Error occurred while enabling Towny v0.75.3.11 (Is it up to date?): null
    java.lang.NullPointerException
        at com.palmergames.bukkit.towny.Towny.SetWorldFlags(Towny.java:156)
        at com.palmergames.bukkit.towny.Towny.load(Towny.java:296)
        at com.palmergames.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:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    5) We all but gave up when while talking about our issues on TeamSpeak and simply WALKING AROUND NORMALLY in-game the console started spamming...

    Code:
    2011-08-31 13:01:40 [INFO] [Towny] Debug: Perm Check: Does Grand_River have the node 'towny.cheat.bypass'?
    2011-08-31 13:01:40 [INFO] [Towny] Debug:     Does not have permission.
    I tried changing the config file between using permissions True and False and nothing worked at all anymore, and yes the node towny.cheat.bypass was set, even though we were just walking; not flying speed hacking or anything else.

    At this point I just deleted the entire thing, and now I'm on here posting this. For the love of all the is holy, help! :p
     
  30. Offline

    AbraxastheGreat

    i dont know if this has already been answer but when my resident buy plots it doesnt take there money from them i have iconomy turned to true and i have the prices set is there anything else im forgetting
     
  31. Offline

    LlmDl

    That was a bug in an earlier build, update and it will go away.
     

Share This Page