[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

    rmb938

    Come on fix the "null mayors problem" already.
     
  3. Offline

    NeonJ

    I have no idea why, but now monsters are getting into town when mob_removal is true. I have mob_removal_time at 1000 (1 second) and have removed everything but the Wolf, yet monsters are still entering. How can I prevent this?
     
  4. Offline

    UnrealEgg

    Don't suppose you have any update on questioner? I had a request from a member to make it so that people don't get instantly invited as it could be used as an exploit to the system. I looked at the questioner thread and someone did update it so I tried it and it was still outdated due to the recent update. (Was a nag author error)
     
  5. Offline

    thedjshow

    Hello. Are there some way to have auto tc like it would Be Good with a command like this: / tc on /tc off

     
  6. Offline

    icbat

    Hey all,

    I'm sure this is a simple question, but I haven't been able to find it via google or searching these forums.

    We're using Towny (v65) + iConomy 5.0. Upkeep of a town is 10.0, our town's resident tax is 0, plot tax is 5. I own two plots.

    When a new day rolls over, upkeep for the town is taken away, but no taxes are collected at all. Are we just setting this up wrong? I can post configs, but there's not much about taxes in there...

    EDIT: I'm dumb. The only two land-owners are staff of the town (I'm an assistant). I tried setting up resident taxes, and we're exempt. Strange we don't get that message for plot, but that's ok.

    Thanks all! And thanks Fuzze for taking over!
     
  7. Offline

    FuzzeWuzze

    I PM'd Shade over a week ago, but he never responded...so ill take that as a No that he isnt going to respond. He never released/published the Questioner code. This will likely have to be written from scratch or a new system put in place...

    Its related to users using invalid characters when they name cities, or someone with an invaild character joining a city. As i understood it the fix was already out there if your using the right regex....

    I noticed this on my server as well, they seem to disappear still but not always...ill look into it when i get a chance.
     
  8. Offline

    Olat

    Seems outsiders can access chests in other peoples claimed plots, no matter what the permissions for that plot are set to.. Is this a known issue?
     
  9. Offline

    UnrealEgg

    Alright, I would probably say that adding it strait into Towny may be a better option so people don't have to have multiple plugins. Thanks for keeping Towny up to date!
     
  10. Offline

    NeonJ

    If you release it, can you please release an iConomy 4.0 version? Hardly any of my server's plugins have updated to iConomy 5.0 yet...
     
  11. Offline

    tyzoid

    How do I set up towny so that everyone that joins the server automatically gets put into my town?
     
  12. Offline

    NeonJ

    There is a default-town variable inside the config. Change it to the name of your town.
     
  13. Offline

    FuzzeWuzze

    Theres nothing in Towny to stop chests from being used i dont think. I need to check what triggers chests fall under, i may just add a check for them under the item_use permission. Currently i just use ChestProtect on my server...its easy enough.

    Cant happen sorry, the iConomy update required a big amount of rewriting of the code that handles money within Towny. There's no going back at this point really...
     
  14. Offline

    Anathema

    I noticed on your xshade site there was a "/town wall" command proposed...
    Would that be some sort of impassable barrier (for non-residents) into the town?
    if so I think that would be Awesome =]
     
    Kingjarrad likes this.
  15. Offline

    Mneten

    I'm having some issues getting towny to work... i recently deleted all of my plugins to start from scratch (probably a bad idea). I'm still new to running a server, so some of this is confusing to me.

    problem: on start i get a severe error involving iconomy and towny. i'm running iconomy 5.0, towny .65 (from here). In world i can /towny and /towny ? but i can't /town or any other towny related command, it just gives me a unkown command, use /help for info... bleh.

    here's a paste of the whole server log. http://pastebin.com/wpEt4wsA

    if this is a iConomy related error, please let me know, i'll go talk to them about it :) but i thought it may be a towny issue because iConomy was loading the other plugins fine.

    ***EDIT: i'm a fool :p i had accidently used an older iconomy .jar, 4.65. updated it to 5.0 and now i get the fabled 'permission cache' errors, though permissions is installed and functioning properly, and set up correctly... *Another EDIT: :p even managed to fix that one, i guess towny doesn't like it when there's a space in the level name, or the permissions file name? might want to fix that, nothing else seems to have that issue. (sierra nevada.yml gave me the error, switching it to sierranevada.yml fixed it up)
     
  16. Offline

    Olat

    That would be awesome if you did. I would like to be able to disallow stealing with out having to use a separate plugin. Because during wartime all those permissions are turned off are they not? Which means you can loot and pillage a town, which is what the over all grand scheme of War is about. If you put it under the item_use it would be a quick fix and would be a tremendous help.

    thanks Fuzze!
     
  17. Offline

    msw1

    Please don't make this require MySQL. My computer cannot have this, and without it this epic fails. Maybe SQLite? If your gonna say its because iConomy requires MySQL then a version without iConomy please? I know that isn't as good but I need this for my server.
     
  18. Offline

    FuzzeWuzze

    If/when it does change i wouldnt require MySQL, it would probably work with the new(to bukkit) H2 database as well as MySQL similar to iConomy.
     
  19. Offline

    thedjshow

    When i restart my server, /town set perm outsider off, doesn't work no longer.
     
  20. Offline

    syconox

    Hey, I just started a second world on my server, and I want to make my second world have different Towny settings than my first, is this possible?
     
  21. Offline

    zoolder101

    I got some bugs:
    Leaving a town will make you rejoin that town if the server restarts,
    /town spawn STILL wont work, is it cause I have delay on essentials?
     
  22. Offline

    Olat

    @FuzzeWuzze
    Is there a way to fix the multiple penalty from dying? People losing 50 rupees is cool. But losing 250- 500 because of lag or spam is not.
     
  23. Offline

    leetgamer

    The config doesn't work properly for me. Everytime my server is either restarted or reloaded, these settings are all put back to false no matter what they were before. Also, i tried /ta reload with no effect. It didn't reload these settings. (From what I can see all it does is say [Towny] Towny's settings was reloaded.)

    I'm forced to use the permission node on this since the config seems to do nothing.
     
  24. Offline

    Kingjarrad

    I also believe the config file isn't working correctly
    eg I set health_regen=false but it still regenerates health
     
    leetgamer likes this.
  25. Offline

    NeoGriim

    Am I able to set an NPC to mayor? I'm making a spawn town/castle/market type thing and I want to protect it from mobs, however I already have a town that's used up all it's spots and I don't want to just give the town to someone else to manage. I was hoping, as admin, I'd be able to manage both towns without having to make an outpost or connect them.
     
    Zalastri likes this.
  26. Offline

    leetgamer

    There are files in plugins/Towny/data/worlds.. In theory you should be able to alter these for different worlds (ie turn off Towny on certain maps) but these settings reset on every reload (at least on my server they do).
     
  27. Offline

    Silarn

    Just want to bring to light a bug with town protections. It seems that for some amount of time (or possibly until they try to break or place any other kind of block) lava buckets can be used freely within a town. If you enter a town, obtain a bucket, and try to place the lava, it seems to work properly and nothing happens. If you go to the border and enter the town with the bucket, you are suddenly able to place it and can grief freely.
     
  28. Offline

    SkullDrago

    Is it possible to be ,as admin, mayor in more than one town?
     
  29. Hi, been using for a good few months on our servers now, and last night it decided that it wanted to forget everything and ignore all of the data after a server restart.
    There's nothing in the server log showing this, it just decided to stop. That wouldn't be a problem if the backups worked.
    All the data appears to be saved but the text files have lost line breaks, leaving all the data a jumbled mess on one line, and also, when extracting the zip file, i get duplicate file warnings, and one "The filename, durectory name, or volume label syntax is incorrect"
    This is using winrar.

    Little bit too late for my server to be fixed, we're just going around re-claiming everything, but I thought you should know.
     
  30. Offline

    Kene

    Can you tell me how to remove
    Mayor
    from
    [Admin] Mayor Ovelite: Message
     
  31. Offline

    leetgamer

    @Kene
    Go to the config. properties in the Towny directory, and change this line:
    Code:
    default_mayor_prefix=Mayor 
    Hopefully that works but the config is a bit buggy.
     
Thread Status:
Not open for further replies.

Share This Page