[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

    Shanev

    wrong link for v.66 ? Im still having v62 (console//towny v) ? Taxes still don't seem to work
     
  3. Offline

    Eggie-Game.nl

    Hallo,
    I have a server with you plugin turning, but the people how is not an admin or op, get always a message: "You don't have the permissions to do that". That is very annoying and they get the message if they place or use something, but the action is doing it normal.
    How can I get that out of my server?
    I have every Setting for Towny and Permissions checked, and I can't find it.

    You can check this on eggie-game.nl, be warned the website and server is fully Dutch!


    Greats,
    Eggie-Game.nl
    Minecraft Group
     
  4. Offline

    Racha

    Is it possible to get towns name like prefix? well, my ingame nick is Racha, and if i am in town bukkit I want to it show something like this -Bukkit- Racha, and where can i change that Mayors color? i dont want to it be blue ;)
     
  5. Offline

    Vittek

    Welp there goes the regret of updating:

    /town spawn brings:

    And can't go back to 0.65 cause the zip actually contains another plugin. Evertorch?

    CB 766 Towny 0.66
     
  6. Hello gentlebeings! I need some help with a classic towny problem (.061fuzzev5)! My mayors cant kick players from their towns and get the "none of these names where valid" message. Is it still not possible to kick offline players from towns? Also Ive tried to remove him via editing the town- and resident-file and did /ta reload - no luckers!
    Can anybody give me a pointer or tipp to solve that?
    thx
     
  7. Offline

    SkullDrago

    No one have the .65 version as backup and can up it?

    solved

    I´ve used the olderversion function of windows 7
     
  8. Offline

    Vittek

    Coul
    Not sure what you mean with this, but could you upload the 0.65 somewhere?

    Edit: Nm figured it out.
     
  9. Offline

    MartN

    is there any way to let spawn monsters in a town?
    or only in all towns via config file?
     
  10. Offline

    FuzzeWuzze

    Son of a ...thats what you get for updating late at night before going to bed. Sorry about .65 being the wrong file somehow i dragged one of my other plugin zips into the zip file and not the .65 before i overwrote it, I tested /town spawn and it seemed to work for me last night...ill take a look at it tonight when i get home.
     
  11. Offline

    Racha

    Can some one please answer?
    And @FuzzeWuzze can you add that play needs to /t join or something, if he gets invited.. ?
     
  12. Offline

    Shanev

    Is there a problem with player registration, who have a "_" at the beginning of their name? (e.g. _Shanev)
    The user wont get created in residents.txt and residents folder, resulting in the inability to become a resident in town :(
     
  13. Offline

    hatstand

    Problem with the default name-checking regex.
    Find it in the towny config file and change it to "^[^\s]+$" (minus the quoations) - works for me with players with underscores at the start.
     
  14. Offline

    Joelyyyy

    Hey I'm not sure if this question has been answered before or not, but is there a way to allow citizens to own property in another town that is a part of the same nation?
    Ex. Town A and B are both a part of Nation X, Could a member of Town A buy a lot in Town B?

    Thanks :)
     
  15. Offline

    zeeveener

    That might have something to do with Allies and Friends having rights in your town. Those settings are in the config,yml
     
  16. Offline

    buzbi

    Hi, for some reason i installedd towny and it seemed to all work nothing crashed but once i go into the server, i can do /towny and it gives me a log of /commands i can get for info on things but NON of the towny commands work cept the help one /towny? anyone know anything about this, something wrong with permissions im on my admin version which has * all powers and i still cant do anything no commands any ideas why the commands arent working?
     
  17. Offline

    zeeveener

    Please FIX THIS!!
     
  18. Offline

    FuzzeWuzze

    Who is minifries, is that you? It seems like its having some sort of error because this minifries player is in two different cities?
     
  19. Offline

    zeeveener

    No this is happening in every player now. Every restart, the plugin does something different. The last one the mayor was removed and set to NULL and the town blocks were all set to Unclaimed and Unowned again...

    Minifries is a player on my server.

    Also this is only happening for one town
     
  20. Offline

    FuzzeWuzze

    Alright i think i put it all back together now try grabbing the latest(.67) from the link.
     
  21. Offline

    Damian Mason

    So as of now do not use essentials?
     
  22. Offline

    yup8

    @FuzzeWuzze
    can a mayor add users when he is offline ?
    cause there is a plugin that let's you run commands as a fake user (means you dont have the permission to do that but you can "use" another username)

    if not, can you add that?
     
  23. Offline

    Shanev

    So, do I have to replace

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

    by

    name_check_regex=^[^\s]+$ ?


    @FuzzeWuzze: Is there a possibility to add a top10 list of players who deposit money in the town account? :)
     
  24. Offline

    hatstand

    Yes, that should do it.

    Also, .66/.67 are throwing nice big errors with /town spawn:
    Code:
    11:22:24 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Towny
    java.lang.NoSuchMethodError: com.earth2me.essentials.Essentials.getUser(Ljava/lang/Object;)Lcom/earth2me/essentials/User;
            at ca.xshade.bukkit.towny.Towny.checkEssentialsTeleport(Towny.java:447)
            at ca.xshade.bukkit.towny.event.TownyPlayerListener.parseTownCommand(TownyPlayerListener.java:940)
            at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerCommandPreprocess(TownyPlayerListener.java:411)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:256)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:674)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:645)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:639)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Looks to be from checking the teleport cooldown.
     
  25. Offline

    Malkierian

    Update your version of essentials. I just did and it works perfectly now.
     
  26. Offline

    FuzzeWuzze

    Yea, sorry make sure you use the latest essentials they are always updating.

    For future reference ANY time i release a new version it will always be compiled against the latest iConomy/Essentials/Recommended CraftBukkit
     
  27. Offline

    impfreak1234

    Hey!, very nice plugin, but 1 question:
    i seem to be having an error with my permissions, i've tried everything like towny.wild.build and towny.wild.*, but i'm getting an error (in game) wich says: You don't have permission to use this, i can't seem to get rid of it. any suggestions on how to fix this?
     
  28. Offline

    HiPPiE1337

    I have a problem i have unclaimed zone build etc true and it works but it gives an error: cant use here or something
     
  29. Offline

    Vittek

    I think there is a glitch with renaming towns/nations.. Everytime someone renames a town or nation they get 50 money added to it... can I disable that somehow?
     
  30. Offline

    FuzzeWuzze

    I think thats because they are getting a new iConomy account every time and you probably have your initial income set to 50. You may want to set that to 0 and manually give new people cash?

    Thanks for the reminder though i meant to remove the rename command i will do that right now. It causes so many issues...

    Can you turn debug mode on in the config(or use /townyadmin set to turn on debug mode without restarting the server), then perform the action and post here what your log looks like? Having the debug log will help a lot in figuring out what functions are seeing what so i know where to start debugging.
     
  31. Offline

    Damien711

    Im having trouble with claiming town blocks I set a new mayor for my town and all my claimed land went away there is no homeblock and for some reason I can't set a new one. I've tried all the commands and it doesn't seem to work. Is there anyway I can fix this or do I need to alter the config and set a new homeblock through there. This is afflicting several of my server's towns so any help would be great. Thanks
     
Thread Status:
Not open for further replies.

Share This Page