[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

    Seven50six6

    Declared war with a town and when we try to use /townyadmin war toggle off it says no war is toggled. Now everyone can destroy our stuff in our town
     
  3. Offline

    Mr_Mellow

    Yeah i just ment isnt he helping canary? they are still going and i see him on their forums. hes more active there then here.
     
  4. Offline

    FuzzeWuzze

    Maybe *shrug*, maybe by taking this on i opened a can of worms and he figured he could make a clean break lol...
     
  5. Offline

    cheepz

    Using 612, the towns literally just stopped responding. v.61. Used backup files, re-installed towny, I have made no changes to the server and where a town used to be, there is no town.

    Is this a bug? I don't see why it wouldn't be working all of a sudden.
     
  6. Offline

    FuzzeWuzze

    I figured out the Towny crash bug, or atleast whats causing it. It has to do with new towns that dont have bank accounts in the database not getting added properly, iConomy is throwing up an error it cant add it to the database...checking with them now whats going on.

    Chances are some of your users or towns start with a non standard character and its hosing everything. Goto a backup and look through your town and user names..if any dont start with a-z or A-Z then thats why...theres a solution somewhere in this thread...page 1 i think.

    *edit*

    Update your config with this after you restore a backup but BEFORE you start the server. As soon as you start the server with invalid names it bugs out and can clear crap.
    name_check_regex=^[a-zA-Z0-9]+[a-zA-Z0-9._-]*$

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

    Mr_Mellow

    If you get this working, i will bow to you.
     
  8. Offline

    cheepz

    I went through all the town and username txt's.
    None of them are anything other then 0-9, a-z, or A-Z.

    name_check_regex=^[a-zA-Z0-9]+[a-zA-Z0-9._-]*$
    name_filter_regex=[ /]
    name_remove_regex=[^a-zA-Z0-9._-]

    This is the part of the config file You were talking about.

    Still doesn't work :S
     
  9. Offline

    bluemoondevil

    Wow. I just got this plug-in and I'm having the hardest time configuring it to what I want lol. I need quite a bit of help setting up the configuration, so if there is anyone that knows a lot of the commands and such and wants to help me out then could you please let me know. I would appreciate it. I would like to handle it in private message so I don't spam the thread with what I need this thing to do lol
     
  10. Offline

    PatPeter

    FuzzeWuzze,

    Assuming you made the jump to fix the one block plot bug that Shade did not fix himself, thank you. I've been wanting Shade to fix that for a while and he never did. I'm glad you did when you picked up the plugin. Keep up the good work.
     
  11. Offline

    FuzzeWuzze

    I hate to say i did, because i didnt. But if it works for you better now yay? :)
     
  12. Offline

    Naruchico

    Just asking, but BOSEconomy support ?
    :D
     
  13. Offline

    bluemoondevil

    Specifically, how do I set it so that as an admin I don't have to pay to make towns? I want to make a few towns with no residents in them for some "Trials of the Elements"
     
  14. Offline

    some1

    can you add jobs and stuff it would be awsome?
     
  15. @FuzzeWuzze I have located the source anyone using a MySQL iConomy database was getting the problem i recently changed to SQLite and everything works like a dream

    P.S, Is there anyway to add someone to a town / nation without being the mayor just being an admin? It would be really great as i had to role back my towny stuff a few times and people get lost out of towns the only way is to delete there player data and wait for the mayor to reinvite.
     
  16. Offline

    cheepz

    Fuzze, I found out that for some reason the coordinates for towny has changed, All the backups of the towny settings shows the town at 73,1. Where as in-game it used to be 73,1. Now, the same location in-game is now 11,0. I'm not confortable with changing all the values for each of the towns manually, do you have a fix for this?
     
  17. Offline

    FuzzeWuzze

    The easiest way is to just /money grant yourself money through iConomy to pay for it.

    Ive never heard of this happening....i wonder if its once again related to improper names or something in the residents/town files? hmmm

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

    Ancetras

    Does it works like the old Towny? T_T
     
  19. Offline

    FuzzeWuzze

    It should yes, with all of its imperfections and all ...really not much changed since 531 except some rerouting of code.
     
  20. Offline

    marktech

    Hi, I run an offline mode server, which allows players to login with any username they choose. Recently a lot of the players on my server have been noticing that their town banks are being "robbed", they have reported that it is being done by players logging in as a town mayor and they somehow bypass the authentication plugin, which protects player's accounts from malicious players. I don't know how they are able to bypass the authentication plugin because it blocks all commands, chat, etc. from the user who has logged in but hasn't entered their password. I was wondering if this problem was within the authentication plugin or is it within Towny.

    Thanks.
     
  21. Offline

    Seven50six6

    People that aren't in our towns can destroy stuff. It happened after we toggle war, any fix?
     
  22. Offline

    LlmDl

    I'm trying out multiverse and in the 2nd world I don't want people to be able to build in the wilderness, or affect it in any way. Can towny set different perms for different worlds?
     
  23. Offline

    FuzzeWuzze

    Yes give towny.wild.* permission in your permissions file for 1 world and dont in the other, and config it so that people cant build/destroy via the config file in towny...
     
  24. Offline

    Seven50six6

    Really need help before the server goes to hell:

     
  25. Offline

    Legionarius

    Protected chunks throw ordinal out of range errors in mcedit, etc. Protected chunks are flagged with ascii characters instead of unicode. Just a heads up. Pull one of your maps into mcedit to see what I mean.
     
  26. Offline

    rmb938

    Can you add a prefix so people know who is in what town?
     
  27. Offline

    Kene

    If I remove the Lib folder, will I get any Severe errors? Will the Plugins still work?
     
  28. Offline

    bluemoondevil

    Is there a way for me to set it up so that my towns will charge everyone else rent, but won't charge me any?
     
  29. Offline

    2insane

    I'm confused. So are build/destroy permissions definitely not working then? I use /town set perm outsider off, and everyone still can build and destroy my towns. Also, I tried using /town set public off, just because it was displayed on Shade's website. I edited my permissions and stuff and nobody has towny.wild.* in their group except for admins. I made sure the config file for towny has the necessary configurations as well. Is this an ongoing error everyone is experiencing, or did I just do something wrong?

    A list of my plugins:
    AFKBooter
    AntiHack
    BinaryBlood
    ColorMe
    CommandBook
    Gastronomic
    LocalShops
    Log (Kinda like BigBrother)
    Permissions
    PhatLoots
    SimpleCensor
    Towny (duh)
    Warpz0r
    WorldEdit
    WorldGuard

    Fuzze, I really appreciate all your hard work. Thanks!
     
  30. Offline

    Seven50six6

    Happening to me too and I did the same things as you and its not fixed.
     
  31. Offline

    bluemoondevil

    Is there any way I can make this plug-in not charge me rent for the towns I own, but still charge everyone else rent?
     
Thread Status:
Not open for further replies.

Share This Page