[SEC/FUN/INFO] Towny v0.68 Fuzze Edition [818]

Discussion in 'Inactive/Unsupported Plugins' started by FuzzeWuzze, Apr 10, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    FuzzeWuzze

    Towny_FuzzeEdition:
    Version: v0.68

    Moderator Edit: Please direct your attention here for an updated version. This thread is now closed due to people spamming random things about how its not working.

    So this has been asked for many times so i decided to finally make this thread.
    This is related to Shade's brilliant Plugin Towny

    Since Shade has been MIA for a while now, and we dont know if hes coming back i've been trying to keep Towny afloat as best i can in hopes he does come back as i dont really have the RL schedule to much of anything other than maintain it to be usable.

    I hope in June once i have more free time if Shade still isnt back :'( to actually do a formal Github Fork and continue the project. So until then, dont bother asking for new features, as time allows the only thing i'll try to do is fix large glaring bugs that effect the mod. This is a very large plugin and Shade has spent a lot of time on it, so even when/if i do fork it will take some time to get fully up to speed on everything. For now i just have a basic understanding of how everything is interacting and enough debug skills to track down most bugs ;)

    How it works/Features
    -See Original Towny Page for Instructions on how to setup and Permissions.
    http://towny.xshade.ca/

    Read this page to learn what everything in the config does!
    http://towny.xshade.ca/configuration/config-values

    READ ME BEFORE POSTING BUGS OR ISSUES
    KNOWN "ISSUES" AND FIXES
    When reporting bugs, please use /townyadmin set debugmode on. Then perform the action and post or send me the log from your server. This will assist me in being able to fix the issue 10 faster, just simply saying "People can do X in my town when they shouldnt be able too" doesnt really help me at all and is impossible to replicate.
    • Permission cache errors
      • You didnt install Permissions properly, it creates a RENAMEME.yml file or something of the like when first started. This must be renamed to match your world name(for most people world.yml). Also you CANNOT have spaces in your world name. Test World is not an acceptable folder name, TestWorld is. Both towny and permissions dont like the Permissions YML file to have spaces.
    • /town top money causes exception
      • Your iConomy database is likely setup to still use sqlite. Ensure that your iConomy config file is setup to use database Type: H2SQL. A lot of people had issues with the sqlite to H2 conversion, if you still experience this error with it set properly your db may be corrupt. Back up your iConomy db and configs, then delete them all and allow iConomy to recreate them and see if it still happens. If it doesnt, your going to have to manually regrant people cash somehow as your iConomy database was corrupt.
    Permissions
    • towny.admin: User is able to use /townyadmin, as well as the ability to build/destroy anywhere. User can also able to make towns or nations when set to admin only.
    • towny.town.new :User is able to create a town (only is use when TOWN_CREATION_ADMIN_ONLY is on)
    • towny.town.claim : User is able to expand his town with /town claim
    • towny.nation.new :User is able to create a nation (only is use when NATION_CREATION_ADMIN_ONLY is on)
    • towny.wild.*: User is able to build/destroy in wild regardless if the config says no.
    • 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 when allow_town_spawn=false
    • towny.publicspawntp : Use "/town spawn [town]" (teleport to other towns) when allow_town_spawn_travel=false.
    GitHub
    https://github.com/fuzzewuzze/Towny

    IMPORTANT INFORMATION-READ ME BEFORE UPDATING PAST .63
    All versions .64 and after will require iConomy 5.0 and higher. When making this initial transition it is HEAVILY advised that you back up your h2 and MySQL database's. I tested as well as i could with various functionality within Towny and it seemed to be working as expected. Also note that a ton of plugins that use iConomy are still broken, so unless they ALL work i wouldnt suggest updating. You've been warned. Dont cry if something bad happens and you dont have a backup of your iConomy database ...
    • PLUGINS COMPILED/TESTED AGAINST(Recommended Versions)
      • Essentials 2.2
      • Permissions 2.7.4(DO NOT USE 3.X!)
      • iConomy 5.01
    • (JAR ONLY) Latest Build(.68) HERE
    IMPORTANT INFORMATION-READ ME BEFORE UPDATING PAST .63
    • V.61
    TODO:


    • Fix /towny top money from crashing towny
    • Investigate potential issues with build/destroy permissions.
    BUGS:

    • /town spawn will not charge players
    • DO NOT GIVE PLAYERS TOWNY.WILD.* permissions. Give players permissions by editing your config file by editing these. If players have wild permissions they can do funny business to get permission to build in other peoples towns.
      unclaimed_zone_build=false
      unclaimed_zone_destroy=false
      unclaimed_zone_item_use=false
      unclaimed_zone_switch=true
    • Some people are reporting a lot of [SEVERE] warnings related to Player_Item and Player_Move, i believe these are being triggered by other mods. If you are having this issue please list your other plugins.
    Changelog:

    Version .68
    • Compiled for CB818 (Minecraft 1.6.6)
    • Disabled town renaming (finally)
    • Do not use Permissions 3.0.x with Towny yet, there are still some MAJOR issues with the rework they are doing and a ton of people are nerd raging on their thread. I couldnt even get it to create my config or default files they were always blank, and i guess a ton of other people are having the same issues. Still didnt work when following instructions on how to make the file yourself. Because 2.7.4 works perfectly fine with CB818 im not in a rush to upgrade until they figure out their issues. Sorry if this causes plugin conflicts if some require Permissions 3.x but i doubt it will as not many mods are moving to it in its badly broken state. Because Towny is so heavily dependent on a lot of Permissions nodes being read properly i decided to stick with 2.7.4 for now. Ill work on a 3.x permissions build as soon as i feel its functioning properly.
    Version .66
    • Compiled for CB766
    • Players no longer need to /town set spawn, when a player does /town spawn they automatically go back to their town. Need to figure out how to re-implement the essentials teleport timer cooldown they changed their API
    Version .64
    • Updated to use iConomy 5.0+, BACKUP YOUR DATABASE FILES BEFORE UPGRADING.
    Version .63
    • Really fixed /town spawn!
    Version .62
    • First Official Release by Fuzze!
    • Fixed /town spawn INVESTIGATING
    • Fixed /towny map
    • Verified all permissions are working properly. I ran it on my test server and tested resident build/destroy/switch and outsider build/destroy/switch by using /town set perm and turning them on and off and trying them out. ALL the permissions acted as they should. This should put to rest a lot of bugs people are having with people building. This doesnt mean Towny is using the default_town_build=false config lines properly for new towns, thats next. It does mean if your mayor sets the options manually it works.
    Version .061R6
    • Disabled /towny top money for towns/nations until able to fix bug related to null iConomy accounts, I have a feeling its related to iConomy databases that were SQLite and transitioned to H2 like my own. It *should* work fine for Residents, so far i havent seen null resident returns.
    Version 0.61R5


    • Updated to work with CB670
     
  2. Offline

    Kobra1984

    So will this not work with MySQL
     
  3. Offline

    Liger_XT5

    Read the first post. Do NOT use the permission wild. Go into towny and change the setting to build in wild areas.


    iConomy just updated and few plugins fail to work or work partly. Towny gave me the following error. Seems to still work, but haven't tested much as of yet.

    Show Spoiler

    2011-05-04 13:25:11 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading Towny v0.63 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    at ca.xshade.bukkit.towny.Towny.checkPlugins(Towny.java:157)
    at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:116)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:287)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:201)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:247)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:394)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:379)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    ... 15 more

     
  4. Offline

    Kobra1984

    2011-05-04 16:48:01 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading Towny v0.63 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    at ca.xshade.bukkit.towny.Towny.checkPlugins(Towny.java:157)
    at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:116)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 12 more
     
  5. Offline

    tyzoid

    I know that.

    1. towny.wild has an bug that does this:
    2. It was a problem with being too close to spawn. I said that I wasn't receiving an error from towny, but it could have been related.
     
  6. Offline

    RobJustice

    Alright, it looks like the town-levels.csv is being read but not the nation-levels.csv. Is there something else I need to change in the config?
     
  7. Offline

    FuzzeWuzze

    Im working on fixing the iConomy 5.0 issue, because of this change all future versions will require iConomy 5.0 or higher.

    This will likely take an hour or so because they changed how the entire system works now. Every player now has a bank account and holdings. To replicate real life a bank is where you store money and holdings are what you are currently holding.

    Err i recant what i say, this wont be out for a while. Ill do my best to get it out tonight but there are a lot of changes that need to be made and I will want to test them fairly heavily before sending this one out as it could really screw up your iConomy stuff.

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

    IAMWIN

    hope it goes well, ive tried this plugin 3 times and it would never work, starting to lose hope :( hopefully u can fix it and next version will work for me :p
     
  9. Offline

    Galaxy

  10. Offline

    Frvwfr3

    Needs to be updated to the new version of iConomy :/

    Awesome plugin tho :p
     
  11. Offline

    Unjust

    I have a problem. :S For some weird reason everyone can make a town for free. Does this have anything to do with permissions? or... iconomy isn't working right with towny?
     
  12. Offline

    Galaxy

    if your using iconomy v.5 then yes this is the cuase if not post your server errors or permissions setup for fuzze to help you :p
     
  13. Offline

    Unjust

    Ty! :S Ill try that out.
     
  14. Offline

    FuzzeWuzze

    Yea no real point to using iConomy 5.0 right now.

    Im probably just going to leave all transactions coming from holdings and not banks. This will allow players that want too to use other mods that will most likely implement this bank system for storing money.

    Probably wont be done tonight, i have it coded but am finding some bugs and need to do more testing, i was having a ton of issues with it using my old H2 database, but when i deleted and started a new one it works fine. Not what i like to see lol...
     
  15. Offline

    Willobe

    Um so i just ran into this bug, not sure if its been reported before but... no one is allowed to use buckets on ppls land, BUT if you use the bucket ON someone then it will work. so you can use lava or water anywhere their is a person to target.

    also are you suppose to beable to dmg ppl on their land if you shoot from the wild?
     
  16. Offline

    MartN

    towny: v62
    bukkit: 740

    permission on my house: protectionStatus=denyAll
    normal user can destroy. they stolen all my torch and sign post.

    my towny config:
    Code:
    allow_outposts=false
    allow_resident_plots=true
    allow_town_spawn=true
    allow_town_spawn_travel=true
    commands_nation=/nation,/n,/nat
    commands_nation_chat=/nc
    commands_plot=/plot
    commands_resident=/resident,/r,/res,/p,/player
    commands_town=/town,/t
    commands_town_chat=/tc
    commands_towny=/towny
    commands_towny_admin=/townyadmin,/ta
    commands_world=/townyworld,/tw
    daily_backups=true
    daily_taxes=true
    database_load=flatfile
    database_save=flatfile
    day_interval=86400000
    debug_mode=false
    default_capital_postfix= City
    default_capital_prefix=Capital:
    default_king_postfix=
    default_king_prefix=King
    default_max_town_blocks=64
    default_mayor_postfix=
    default_mayor_prefix=Mayor
    default_nation_postfix= Nation
    default_nation_prefix=
    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
    default_town_name=
    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_town_postfix= Town
    default_town_prefix=
    delete_old_residents=false
    deleted_after_time=5184000000
    dev_mode=false
    first_run=false
    flatfile_backup=zip
    force_pvp_on=true
    friendly_fire=false
    health_regen=true
    health_regen_speed=3000
    inactive_after_time=86400000
    item_use_ids=259,325,326,327
    last_run_version=0.62
    line_not_perm_to_new_nation=&6[Towny] &bOnly admins are allowed to create nations.
    line_not_perm_to_new_town=&6[Towny] &bOnly admins are allowed to create towns.
    logging=true
    max_plots_per_resident=100
    min_distance_from_town_homeblock=0
    mob_removal=true
    mob_removal_entities=Monster,WaterMob,Flying,Slime
    mob_removal_speed=5000
    modify_chat_name=true
    msg_buy_resident_plot=&6[Towny] &b%s bought %s's plot!
    msg_couldnt_pay_taxes=&6[Towny] &b%s couldn't pay taxes%s
    msg_del_nation=&6[Towny] &bThe nation %s was disbanded!
    msg_del_resident=&6[Towny] &b%s lost all his Towny data!
    msg_del_town=&6[Towny] &bThe town of %s fell into ruin!
    msg_join_nation=&6[Towny] &b%s joined the nation!
    msg_join_town=&6[Towny] &b%s joined town!
    msg_mayor_abandon=&6[Towny] &bYou would abandon your people? Choose another mayor with '/t set mayor' if your sure.
    msg_new_day=&6[Towny] &bA new day is here! Taxes and rent has been collected
    msg_new_king=&6[Towny] &b%s is now the king!
    msg_new_mayor=&6[Towny] &b%s is now the mayor!
    msg_new_nation=&6[Towny] &b%s created a new nation called %s
    msg_new_town=&6[Towny] &b%s created a new town called %s
    msg_plot_for_sale=&6[Towny] &b%s put the plot (%s) up for sale!
    msg_registration=&b
    msg_war_eliminated=&6[Towny] &b%s was eliminated from the war.
    msg_war_forfeited=&6[Towny] &b%s forfeited.
    msg_war_join=&6[Towny] &b%s joined the fight!
    msg_war_lose_block=&6[Towny] &b(%s) belonging to %s has fallen.
    msg_war_score=&6[War] &b%s scored %d points!
    name_check_regex=^[a-zA-Z0-9]+[a-zA-Z0-9._-]*$
    name_filter_regex=[ /]
    name_remove_regex=[^a-zA-Z0-9._-]
    nation_creation_admin_only=false
    npc_prefix=[NPC]
    price_claim_townblock=25.0
    price_death=10.0
    price_death_wartime=200.0
    price_nation_neutrality=0.0
    price_nation_upkeep=100.0
    price_new_nation=1000.0
    price_new_town=250.0
    price_outpost=500.0
    price_town_spawn_travel=10.0
    price_town_upkeep=10.0
    pve_in_non_pvp_towns=false
    reset_log_on_boot=true
    save_on_load=false
    show_town_notifications=true
    switch_ids=64,69,70,71,72,77
    town_block_ratio=16
    town_block_size=16
    town_creation_admin_only=false
    town_limit=3000
    town_respawn=true
    unclaimed_plot_name=Unowned
    unclaimed_zone_build=true
    unclaimed_zone_destroy=true
    unclaimed_zone_ignore=14,15,16,21,50,56,65,66,73,74,89
    unclaimed_zone_item_use=true
    unclaimed_zone_name=Wildniss
    unclaimed_zone_switch=true
    using_essentials=false
    using_iconomy=false
    using_permissions=true
    using_questioner=false
    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
    
    have anyone a solution for this?

    and a big bug is, anyone can destroy pictures(id 321)
     
  17. Offline

    cropperesp

    This version of towny has had problem since shadeness left.

    /town spawn didn´t work with essentials 2.2

    So we removed essentials

    Now randomly "towny /spawn" or "/t spawn" has stopped working.....

    I have stripped back all plugins and this problem still exists. Permissions and config file are fine.

    Everytime I get "unknown command", but /towny works....

    /resident doesn´t work to anymore...

    Any ideas?
     
  18. Offline

    LlmDl

    Hey everyone,

    Just posting a link to a request I put in. It's here.

    It's for an event/call/hook to be created, to detect who set off TNT right before the TNT would explode.

    Most admins already know this, but Towny's plot protections can be subverted using TNT cannons fired from outside a town's borders. Please post in the thread so that Fuzze has something to work with, so that I don't have to nerf TNT server-wide.

    Edit: Just want to say that Towny is otherwise working perfectly on my server. Great work Fuzze!
     
  19. Offline

    Liger_XT5

    Towny works great as long as you don't update to iConomy 5.0 :/ lol
     
  20. Offline

    semibreve42

    So my users want war, and I have been trying to figure out exactly how it works, but the documentation on Shade's sites is... lacking.

    Here's how I think it works, it would be great if someone could fill in the holes or correct anything I have wrong.

    Only an admin can start war with the /townyadmin set war on/off command. Once the timer counts down, any nations that are not paying to be neutral are at "war" with any other nations that the nation has set to "enemy". What about nations who arnt set to "enemy" or "ally"? Also, what happens to towns that have not joined a nation? Are they still protected, or can other players now build/destroy within that town, regardless of towny permissions?

    Secondly, how does one actually "capture" an enemy town/nation? I know that there is HP for "blocks", and a seperate HP for the home block. Does someone just have to stand in an opponents block, or do you lower the HP of an opponents town by destroying it? Also, do permissions still apply between towns, or can the opponents dismantle towns while invading?

    I scoured both of the old towny websites for info, but didn't turn up much. If I missed a page with more explanation to war, I would be humbly appreciateive of a link.

    Thanks

    semibreve42
     
  21. Offline

    FuzzeWuzze

    I wouldnt recommend using war right now, in the past a lot of people have been having issues with it not resetting properly. Also with the way Shade set it up, it is a destructive task, in that it doesnt end until a city is bankrupt and falls into ruins as i understand it, which wont make very many people happy.

    If you want a pseudo war, i'd just force all PVP on via the config(theres 2-3 seperate settings) and /reload.

    Also it'd generally be a good idea to backup your world before doing so just incase ;)

    Im really not sure how to stop TNT cannons. Other than making sure people cant build in the wild...this allows people to still fire from city to city technically if they are close enough i suppose.
     
  22. Offline

    jeffreylec

    I want to request Questioner too. I love it. When you invite someone to a town and if you didn't have questioner, say if you and I are enemies or I want to raid your town because you have diamond blocks anywhere. Well, that is now possible because i will add your town to my nation so I can destroy your blocks and steal your stuff.. Without the other towns permission, this is possible, without Questioner. I want to keep the protections the way they are, but I would also like questioner to approve of those protections. Anyway, awesome plugin, that you for all your development.
     
    LlmDl likes this.
  23. Offline

    deaddragon

    ok i have this prob i added the command 'towny.town.claim' and yes i get the [towny] You do not have permission to expand your town.? so em eny tips to fix it cos i can not work it out. evry thing els works fined just that one.

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                - 'towny.admin'
                - 'towny.town.new'
                - 'towny.town.claim'
                - 'towny.nation.new'
                - 'towny.wild'
                - 'towny.wild.build'
                - 'towny.wild.destroy'
                - 'towny.wild.switch'
                - 'towny.wild.item_use'
                - 'towny.wild.block.[block id]'
                - 'towny.spawntp'
                - 'ecoCreature.Creature.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        TheNo1Yeti:
            group: Admins
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
     
  24. Offline

    Taemera

    Assuming that your minecraft name is deaddragon, add this to the bottom of the permissions file, and come back if it still doesn't work. If deaddragon is not your in-game name, replace 'deaddragon' with your name.

    Code:
        deaddragon:
            group: Admins
            permissions:
                - '-derp.derp'
     
  25. Offline

    deaddragon

    yeah same prob.. i just dont get it the other commands work just /town claim in the wilderness just out side the home.
     
  26. Offline

    LJJokay

    I love you Fuzze, I love you so much.
     
  27. Offline

    Liger_XT5

    Don't know if this is a bug; I attempted to disable iConomy in the towny config and towny still does not wish to run.
    Suggestions?
     
  28. Offline

    nikolater

    I have an error when i turn outsider perms off they can still destroy can someone help
     
  29. Offline

    FuzzeWuzze

    Updated for iConomy out, as i suggest in the warning a lot of plugins use iConomy still dont work. So dont update to this and iConomy 5.0 unless you know all of the plugins work.

    And ill say it again here

    BACKUP YOUR DATABASE BEFORE UPGRADING
     
  30. Offline

    andrewkm

    Code:
    2011-05-06 03:19:43 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Towny
    java.lang.NoSuchMethodError: com.earth2me.essentials.User.get(Lorg/bukkit/entity/Player;)Lcom/earth2me/essentials/User;
     at ca.xshade.bukkit.towny.Towny.checkEssentialsTeleport(Towny.java:447)
     at ca.xshade.bukkit.towny.event.TownyPlayerListener.parseTownCommand(TownyPlayerListener.java:940)
     at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerCommandPreprocess(TownyPlayerListener.java:411)
     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:256)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:669)
     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-06 03:19:43 [INFO] andrewkm issued server command: town spawn
    2011-05-06 03:19:51 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Towny
    java.lang.NoSuchMethodError: com.earth2me.essentials.User.get(Lorg/bukkit/entity/Player;)Lcom/earth2me/essentials/User;
     at ca.xshade.bukkit.towny.Towny.checkEssentialsTeleport(Towny.java:447)
     at ca.xshade.bukkit.towny.event.TownyPlayerListener.parseTownCommand(TownyPlayerListener.java:940)
     at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerCommandPreprocess(TownyPlayerListener.java:411)
     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:256)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:669)
     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    When using /town spawn
    I have townspawn travel disabled
    and this only happens when admin uses it.
    /town new <townname> also puts out
    Code:
    2011-05-06 03:26:27 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Towny
    java.lang.NoClassDefFoundError: com/iConomy/iConomy
     at ca.xshade.bukkit.towny.event.TownyPlayerListener.newTown(TownyPlayerListener.java:1158)
     at ca.xshade.bukkit.towny.event.TownyPlayerListener.newTown(TownyPlayerListener.java:1135)
     at ca.xshade.bukkit.towny.event.TownyPlayerListener.parseTownCommand(TownyPlayerListener.java:925)
     at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerCommandPreprocess(TownyPlayerListener.java:411)
     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:256)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:669)
     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Wow this is bugged like crazy
    Im not using iconomy btw... i dont want money system i just watnt towny... why is this happened?
     
  31. Offline

    FuzzeWuzze

    Good catches, i didnt think about that. Try the new one posted.
     
Thread Status:
Not open for further replies.

Share This Page