[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. Well, some people will use it as grieving
     
  3. Offline

    FuzzeWuzze

    Ban them ;) Ill try to figure it out asap...
     
  4. But its hard to find as the console dont log the /towny top money command as the server crashes.
     
  5. Offline

    xlilcasper

    Fuzze, if you want to throw this on git hub i'll fork it and help you work out bugs and such
     
  6. Offline

    Glen

    Getting CraftWolf error with build 670 and latest towny .61 for 670 when 2 players tame wolfs pvp each other.
     
  7. Offline

    GregRUS

    The same:
    Code:
        at org.bukkit.craftbukkit.entity.CraftWolf.toString(CraftWolf.java:36)
        at java.lang.String.valueOf(Unknown Source)
        at java.lang.StringBuilder.append(Unknown Source)
     
  8. Offline

    thehoodedfigure

    First off, what are your FUCKING PERMISSIONS NODES, and secondly, what are your COMMANDS. These are kind of CRUCIAL TO THE MAKING OF A FUCKING TOWN, YOU KNOW.

    All it says is that towny can't create a permission cache in the world, and it's pissing me the fuck off. :mad:

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

    FuzzeWuzze

    Then you should learn to read instructions. You didnt set up your permissions mod properly by renaming the config file they give you.

    And this mod is a direct fork of Shades towny, which lists all of the permission nodes.
     
  10. Offline

    thehoodedfigure

    Oh yes I did, I did change the permissions file. I've had permissions for months, and nothing else does this.
     
  11. Offline

    Lonwol

    No matter what I do, players can break anything in towns.
    The only permissions set are the claim one, and the admin one.

    Plugins used.
    -Essentials (Full Archive)
    -BetterShop
    -Dynmap
    -iConomy
    -Towny

    Tried applying your fix and nothing changed.
     
  12. Offline

    Reymas

    I hope this hasn't been mentioned. I searched the thread pretty thoroughly but I seem to remember that we used to be able to restrict specific mob types appearing in town?

    In our town we had a pit that only had zombies in it that we would throw people into if they committed a crime, but now it seems the specific types have are unable to be restricted. Any word on what happened to this feature? Did I miss something?
     
  13. Offline

    scessel270

    dude i had the same problem as you and fuzze helped me fit that. my problem was that the permissions file set as my world which had this wierd character + so if it has this or any other wierd characters take them out and this should hopefully fix the problem
     
  14. Offline

    BioRage

    @FuzzeWuzze

    You never answered my question, so I have another on for you,

    Is there a way to prevent NORMAL mobs from spawning (Stupid annoying cows, and what not?) from town regions like normal monsters.

    Cheers.
     
  15. Offline

    prom3th3an

    Bugs:
    1) When someone owns land, puts it up for sale and someone else buys it, The original owner who put it up for sale doesn't get the money which makes selling land useless.
    2) Town owned unclaimed plots are considered wilderness, can this be disabled as I dont want people planting tree's on other people's land but I dont want to stop people cutting tree's down in the wilderness.

    Feature Request:
    1) Have a config variable to change the way land sales work. The current behavior is someone has to buy the land before the existing owner would normally get paid (if bug 1 is fixed), it would be nice if there was a cvar where they put it up for sale and got paid instantly and the land was swapped to unclaimed-forsale.

    Because essentials economy cant be used without using a whole heap of other essentials shit that conflicts with most independent plugins, I cant see nor would encourage it being supported anytime soon.

    The developer of essentials needs to split his different functionalities into independent jars and stop duplexing other people's plugins (IE group manager)

    And for those bitching, I am running Towny with permissions and a fuckton of other plugins just fine without any issues what so ever apart from the above. So go tell your story walking.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  16. Nice that your keeping this alive, a lifesaver for my server.
     
  17. Offline

    Chojin

    You rocks :)
     
  18. Offline

    Sevenos

    Thanks for maintaining this, it's really appreciated.

    But one question, have you fixed the chunk calculation bug which was in since hMod times? Which moves most of the towny plots by one? It would be really, really cool to have a switch to use the "bugged" version, as most of the towns on my server complain about that now.
     
  19. Offline

    thehoodedfigure

    Nope, everything else works until I put this on.
     
  20. Offline

    FuzzeWuzze

    Yes that hasnt changed, you do it the same way in the config file as always.

    #1 I think thats how Shade originally created it, i believe all plot sales go to the Town bank? Im still somewhat of a Towny newbie myself so im not sure.

    #2 Town owned plots that are unclaimed shouldnt be seen as wilderness, they are part of your town. The safest way to fix this is to just take away all permissions for build/destroy/switch/item_use with the /town set perm commands. So it should read
    B=--- D=--- S=--- I=---
    This is what i tell all new city owners to do, this makes it so that nobody but the mayor/assistants can build everywhere in town. Residents have to actually own the plot to get their own set of permissions they can set.

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

    imaxorz

    When using /town withdraw $$$$ it says "iConomy is not turned on"


    Not sure if anyone else has reported this.
     
  22. Offline

    The PC Tech Guy

    Take a look at your Towny config file, check for use-iConomy node.
     
  23. Offline

    imaxorz

    Meh, got it.

    I didn't even bother checking that since it's been working fine until now.

    Thanks!
     
  24. Offline

    The PC Tech Guy

    Sorry, I deleted Towny some time ago, and won't put it back until my server becomes semi-public. I know that there was such an option in the configuration.txt file, something about iConomy, Permissions, and the such.
     
  25. Offline

    Sixpak

    Just wanted to echo mine and all my users "Thank You!"
     
  26. Offline

    KrisEike

    Thank you SO much for updating this, it's really nice of you. If you ever need any assistants to help you out, tell me and i will "advertise" everywhere. I know a few good plugin developers, that might be able to help. Just tell me if you need any help!

    Regards,
    Kris
     
  27. Offline

    Plague

    This thread is getting some attention, could you please reformat it like a normal plugin submission so I could just move it to releases?
     
  28. Offline

    Bashur

    So, I've looked through the settings and everything, but I still can't see where I might be able to set a price on plots for sale. Like if I wanted to sell the plots to residents, I don't see how I can set the price.

    Any insight on this?
     
  29. Offline

    2Bucks

    could Questioner also be updated when it goes out?
     
  30. Offline

    Juze

    Last time I'm going to say this, please update the post to follow Plugin Submission guidelines. Also, update to latest RB.
     
  31. Offline

    dumptruckman

    This is not in the configs... Type /town set
    That will give you a list of all your town settings you can change... such as plot price.

    /town set plotprice 100
    that sets the plot price to 100.
     
Thread Status:
Not open for further replies.

Share This Page