[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

    FuzzeWuzze

    Are we talking Towny coordinates or Minecraft coordinates? They are seperate things...

    Also you set your min distance as 50, thats 50 TOWNY blocks. Because you have your towny block size set to 20 that means they have to be 1000 blocks away (50 * 20).
     
  3. Offline

    Drakia

    @FuzzeWuzze In a future update, could you change how Towny does it's ChatPrefix? Essentially in the low-priority chatEvent hook, have it set the players displayName as opposed to replacing %1&s in the chatFormat string, this way it will be compatible with chat formatting plugins such as iChat, and will still work with the default CB chat format (The default format uses player.getDisplayName as well).
     
  4. Offline

    vapid2323

    Thank you for that! I have changed it to 0 and did a restart all good for now!
     
  5. Offline

    RedValkyrie

    More development. Today, it reset all towns and nations, and reset the toggle for whether people could place in the wild, defaulting to no. Can I please get a guess as to what this might be? There were no errors this time.
     
  6. Offline

    FuzzeWuzze

    The error seems to be related to iConomy, are you using the latest iConomy? With the newest versions of Towny you have to use 5.x version of iConomy...

    It looks like its trying to get the holdings for an account that doesnt exist...if that town really does have a ? at the end of the name that could very well be whats breaking it. Either that or the name is to long for either iConomy or Towny....

    Have your players rename the town, then every resident of that town logs out. The first person to log in should re-create that new town file...or have them rename it and save-all and stop/start the server.

    If that doesnt work, if you know how to look at your iConomy database table look in it and see if there is a town named town-Snugglesblahblahblah?, if there isnt thats the problem.
     
  7. Offline

    Ratchet

    could you please add an option to charge players for teleporting to towns?
    i'm currently using command iconomy for this but if someone makes a typo they still get charged money
     
  8. Offline

    SwearWord

    There is an option check the configuration.
     
  9. Offline

    Ratchet

    isn't that only for /town spawn?
     
  10. Offline

    RedValkyrie

    We do indeed use iConomy 5.0... Maybe we didn't set it up right? Is there something special we have to do? But there are no errors when it deletes the towns.

    The name of the town is "Castle", and then all towns broke, and they have short names with no punctuation.

    I have no idea how to open these files... I know I can do "/money top 10" and "town-Castle" has money.

    Thanks for the help so far!
     
    FuzzeWuzze likes this.
  11. Offline

    BioRage

    Is there a way to remove pvp period, as in pvp on all the time?
     
  12. Offline

    LlmDl

    Anyone know the trick to getting the namePrefix,namePostfix from nation-levels.csv to be used. It is using all of the other parts of nation-levels.csv but is using the default 'default_nation_postfix= Nation' and 'default_nation_prefix= ' from the config.properties file.

    Any help would be great!
     
  13. Offline

    FuzzeWuzze

    Are you a fresh iConomy 5.0 install or did you do the upgrade from a 4.x sqlite database? Also are you using H2 database or MySQL?

    You can see in the error that someone was trying to rename a town to SnuggliesAndBlahblah, which instantiated Towny to create a new iConomy bank which appears to have failed when it tried to get it after that....

    I promise in the next version ill really turn off renaming...i keep saying i will and forget.
     
  14. Offline

    BioRage

    @FuzzeWuzze

    Is there a way to make a town without having a mayor, just a small place for commoners, and such, without someone being the mayor if it and for the sake of protection " "
     
  15. Offline

    Zeus5966

    Problem, i get this when anyone talks. I am using bukkit 817(1.6.6) and whenever someone talks it spams this
    http://pastebin.com/pMQrRYq4

    Please help as it is a pain. It doesn't break anything its just a REALLY BIG PAIN!
     
  16. Offline

    SwearWord

    It looks like you have a conflicting plugin.
     
  17. Offline

    RedValkyrie

    Fresh install with iconomy 5.0
    When we bought the server it was empty, and i installed 5.0
     
  18. Offline

    FuzzeWuzze

    Gonna be working on Towny for the new RB 818, hopefully have something tonight or tommorrow...depending on how much I need to change for Permissions and other changes...
     
  19. Offline

    LlmDl

    Fuzze, while you're working on an RB could you check if this is a bug or not? I haven't been able to confirm if I'm the only one with this problem.
     
  20. Offline

    Zeus5966

  21. Offline

    Silarn

    @Zeus5966
    Yes. iChat uses the more appropriate bukkit player.getName() and player.getDisplayName() to parse its chat. Since Towny just wants to catch and replace names from the default string, it fails. It could be fixed pretty easily.

    @FuzzeWuzze
    Thanks for the quick update.
     
  22. Offline

    FuzzeWuzze

    Yea i confirmed it ill add it to the list.

    Hopefully ill get it and the getNames thing fixed later tonight or tommorrow for a new version.
     
    LlmDl likes this.
  23. Offline

    Zeus5966

    @Silarn
    I can be fixed pretty easily how? Like me fixing it or fuzzy fixing it?
     
  24. Offline

    Sich

    erf, any idea for permissions 3x ?

    anyway, thanks for your work, take your time :)
     
  25. Offline

    6y7t8h

    Hey fuzze, thanks for the quick update. My town spawn keeps deleting itself, even with the old builds (before iconomy5), anyway to prevent this? :(
     
  26. Offline

    ephesian

    yea
    yeah, wait for all the plugins to be updated and for a stable recommended build is out, you people are so annoying. rush rush rush the dev's so the make mistakes and then there continues versions out, you sound like the people that are on the servers QQ that things aint working. :mad::mad::mad::mad::mad::mad: ANOYING, BAH!!!!
     
  27. Offline

    6y7t8h

    this happened before 818..
     
  28. Offline

    ephesian

    well you still know that 1.6.6 just got released, bukkit is still not 100% and all the plugins are still outdated, no one can help any one. sry just seems people have no patients.
     
  29. Offline

    6y7t8h

    I was only reporting a bug, please learn to understand what people are saying before accusing them of 'having no patients'..
     
  30. Offline

    godhand1942

    Thanks for all you have done Fuzzy. I am sure most people are very thankful that you have kept this plugin up to date
     
  31. Offline

    Malkierian

    I second this. Even though it seems like it works with Perms 3 anyway...
     
Thread Status:
Not open for further replies.

Share This Page