[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

    materschief

    you mean
    materschief
    permission:
    - example.permission
    - anotherpermission

    but in correct writing form Oo why so heavy.
    but thanks for the answeres
    i am new at minecraft server managing so i dont know much.
     
  3. Offline

    jayri


    admins should be written like this

    Code:
        Admins:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    and adding people to permissions would be like

    Code:
        materschief:
            permissions:
            group: Admins
     
  4. Offline

    Bikespot

  5. Offline

    jayri

  6. Offline

    Bikespot

    The newest one i believe.
     
  7. Offline

    jayri

    ver 3? you need to use version 2.7.4
     
  8. Offline

    Bikespot

    Ok ill try that one.
     
  9. Offline

    jayri

    with permissions 2.7.4 you have to add everyone manually whenever they join your server
     
  10. Offline

    Tagz

    I'm using McMyAdmin in conjunction with GroupManager. I know it says Permissions, but I've got Towny to work with this setup. I'm just curious if any has experienced Towny resetting a lot of the data when the server restarts. I've got one town that will loose its spawn location with each server restart. And the prices set in the config file for all the costs of a town/nation reset to the default prices anytime the server resets/reloads. It seems like the config file won't save anything.
    Any ideas?
     
  11. Offline

    Bikespot

    So i have to add them to the user list and give them default group. Wow that is not good.

    Is this only because towny plugin. I got it installed now 2.7.4. Towny is working now but now regular users it says cannot build in wild.
     
  12. Offline

    jayri

    you have to put the exception blocks in the config of towny
     
  13. Offline

    Tagz

    jayri ever hear of the issue I'm having? With the towny config resetting to default anytime the server restarts?
     
  14. Offline

    Bikespot

    do you know what its called.

    Code:
    force_pvp_on=false
    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.68
    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=&6[Towny] &bWelcome this is your first login.@&6[Towny] &bYou've successfully registered!@&6[Towny] &bTry the /towny command for more help.
    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=250.0
    price_death=100.0
    price_death_wartime=1000.0
    price_nation_neutrality=0.0
    price_nation_upkeep=1000.0
    price_new_nation=20000.0
    price_new_town=20000.0
    price_outpost=5000.0
    price_town_spawn_travel=50.0
    price_town_upkeep=500.0
    pve_in_non_pvp_towns=true
    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=20
    town_creation_admin_only=false
    town_limit=3000
    town_respawn=true
    unclaimed_plot_name=Unowned
    unclaimed_zone_build=false
    unclaimed_zone_destroy=false
    unclaimed_zone_ignore=14,15,16,21,50,56,65,66,73,74,89
    unclaimed_zone_item_use=false
    unclaimed_zone_name=Wilderness
    unclaimed_zone_switch=true
    using_essentials=false
    using_iconomy=true
    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
     
  15. Offline

    jayri

    heh, im new to this myself. I haven't heard of that one. ^v^;
    im only giving my experience that i've learned in the past week.
     
  16. Offline

    LlmDl

    If you are using /reload to restart your server that is probably your problem. Always do full stops and starts:
     
  17. Offline

    jayri

    @bikespot

    Code:
    [/FONT]
    
    [FONT=arial]unclaimed_plot_name=Unowned[/FONT]
    [FONT=arial]unclaimed_zone_build=false[/FONT]
    [FONT=arial]unclaimed_zone_destroy=false[/FONT]
    [FONT=arial]unclaimed_zone_ignore=14,15,16,21,50,56,65,66,73,74,89[/FONT]
    [FONT=arial]unclaimed_zone_item_use=false[/FONT]
    [FONT=arial]unclaimed_zone_name=Wilderness[/FONT]
    [FONT=arial]unclaimed_zone_switch=true[/FONT][FONT=arial]


    That's the area you need to concentrate on. You can use the data values from http://www.minecraftwiki.net/wiki/Data_values to put what you want. or you can put unclaimed_zone_build to true if you'd like.
    [/CODE][/FONT]
     
  18. Offline

    Tagz

    I'm doing stops and then restarting it up using the McMyAdmin control panel. And for some reason everytime I do the config file for Towny resets to its default settings.
     
  19. Offline

    Bikespot

    Thanks that worked. Seems to be good now
     
  20. Offline

    jayri

    @Bikespot

    glad its working now.

    while im on the thread. I can't seem to get PvP working. any thoughts?

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

    LlmDl

    Make sure pvp is enabled in the worlds folder+files.
    Also in your server.properties.
     
  22. Offline

    jayri

    its enabled in the server.properties. i just need to know what to turn to false or true to make pvp work in the wilderness, but not in town.

    i have permissions 2.7.4 and essentials 2.3.3
     
  23. Offline

    LlmDl

    Go to plugins/towny/data/worlds/ and open your world.txt

    There is a PVP flag per-world along with per-world wilderness rules.
     
  24. Offline

    BioRage

    @FuzzeWuzze

    /town set perm outsider build off

    Etc. they don't work.

    /town

    BDSI = FA-

    User's can still greif and what not.

    Any idea's / Help is greatly apperciated
     
  25. Offline

    jayri

    nope, pvp is still not working.
     
  26. Offline

    BioRage

    Each time you set any kind of permissions it says

    [Towny] Successfully changed permissions to residentBuild, ResidentDesotry, residentSwitch, ResidentItemUse.

    Also changed everything to f--, Outsiders can still greif/place blocks.

    /town set perm off (DENY ALL)

    Still outsider's can place blocks..

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

    Ratchet

    hope someone forks this :(
     
  28. Offline

    LlmDl

    Ratchet, this plugin doesn't need to be forked. It's going through a major update and the author takes time to make sure it works with each Recommended Build.

    Biorage, if your outsiders can place blocks (even the town perms don't allow it,) you've probably given players the towny.wild permissions which is mentioned as a bad thing to do in the OP.

    Jayri, if you really want a solution pastebin your server.properties, world.txt, config.properties and I will take a look at it. This is standard "I have a problem" stuff.
     
    BioRage likes this.
  29. Offline

    1n5aN1aC

    I had a town get nulled from a crash, which i understand and stuff, but now several plots are owned by "null" and no matter what i do, i can't get them back to wilderness so they can be built on again.
     
  30. Offline

    LlmDl

    Go into your backups and find a good one, if that doesn't help delete the town and the mention of it in the affected resident files.
     
  31. Offline

    BioRage

    Thanks for the reply,

    However,

    Didn't read that, nor check my permissions, thank's a ton.
     
Thread Status:
Not open for further replies.

Share This Page