[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

    Taien

    Did you get that update done to use iConomy 5.0? I didn't see a post, so just asking :) I'd really like to update since I'm using a version where /town spawn doesn't work currently.
     
  3. Offline

    Nieksas

    not working with iconomy 5
     
  4. Offline

    Sandia

    It say it out of day when i installed iConomy
    Code:
    2011-05-03 17:08:32 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading Towny v0.63 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at ca.xshade.bukkit.towny.Towny.checkPlugins(Towny.java:157)
        at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:116)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 12 more
     
  5. Offline

    prwraith

    My issue verbatim.

    Also towny seems to load, though any command pass /towny fails.
     
  6. Offline

    tommyhales

    hey i need help when i try to run my server with towny installed i get this in my loading text and towny dosnt work proply. i cant build towns or do any command but /towny it comes up unknown command or something.

    Show Spoiler
    16:33:18 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-
    gf53e007-b740jnks (MC: 1.5_02)
    16:33:18 [INFO] Preparing level "Project Veratos"
    16:33:18 [INFO] Preparing start region
    16:33:20 [INFO] [Permissions] (Phoenix) was Initialized.
    16:33:20 [INFO] [iConomy] Logging is currently disabled.
    16:33:20 [INFO] [iConomy] v5.0 (Eruanna) loaded.
    16:33:20 [INFO] [iConomy] Developed by: [Nijikokun]
    16:33:20 [INFO] [Permissions] version [2.7.2] (Phoenix) loaded
    16:33:20 [INFO] [iConomy] hooked into Permissions.
    16:33:20 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    16:33:20 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading Towny v0.63 (Is it u
    p to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    at ca.xshade.bukkit.towny.Towny.checkPlugins(Towny.java:157)
    at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:116)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 12 more
    16:33:20 [INFO] Done (0.174s)! For help, type "help" or "?"
    >
     
  7. Offline

    Noobscraft

    For about 3 times now Towny has caused my server to crash, after the crash a random town or all the towns will be unclaimed. Although the town names are still set the mayors cant do anything and all the land they have claimed is wilderness. I know your not the developer of the plugin but this is my favourite plugin and I would love you to fix this issue.
     
  8. Offline

    imaxorz

    Add towny.wild.* in permissions for the world you do want them to be able to build while in the config set allow build/destroy in the wild to false.
    0.63 doesn't work with iConomy 5.0, use iConomy 4.6.5 for now.
     
  9. Offline

    FuzzeWuzze

    Huh, this is surprising i havent seen anything like this before. My server has literally ran 24/7 for 2 weeks straight with 3-15 people logging in and out randomly before i decided i should reboot it just to be safe ...

    Do you have more specifics, or how you know its towny causing it?

    And yes sorry no iConomy 5.0 support yet, i got sidetracked last night.
     
  10. Offline

    Noobscraft

    Not sure but its causing the towny config to wipe data from peoples towns, I'll look into it. About the /towny money top issue when you said it was disabled in the update people on my server were still able to use the command, maybe that is what's causing the problem.
     
  11. Offline

    imaxorz

    Same thing with Essentials 2.2.8
     
  12. Offline

    mexander

    Why have this mod stoped using questioner? Or I at least must have that function! Could you please add this function again to avoid cheating?
     
  13. Offline

    SplenectomY

    I've got this plugin working great in my server. If anyone wants to join, address is in my sig :D
     
  14. Offline

    The PC Tech Guy

    I'm not sure if the wild permissions (via the Towny config file) have been fixed. I want to allow building and destroying outside of towns, as I have a split Town/Surival-type server (offering towns as protection). I do not give the towny.wild node, I set the Towny config to allow building in unclaimed lands.

    I'd like to test it out, but at the moment I do not have time to.

    Questioner is developed by Shade, who has left for a while. Therefore, Questioner went down. I do wish it uses some type of system (maybe user-based accepting), but for Towny to work properly is first priority.

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

    FuzzeWuzze

    Honestly I never used Questioner, what was its purpose? And how does it prevent "cheating"?
     
  16. Offline

    The PC Tech Guy

    Questioner asked a person if they wanted to be in a town. It asked with the response /accept or /deny. This prevents mayor's from adding people (especially offline people) and then charging a heavy tax.
     
  17. Offline

    FuzzeWuzze

    Ahhh....got ya.
     
  18. Offline

    The PC Tech Guy

    Did you see my post about the Wild stuff? I'm just wondering if it's fixed, or unknown...
     
  19. Offline

    Dysalot

    Okay, just installed Towny on a brand new server. Using the newest Towny, and CB #740. I can type /towny and it shows some help to get help like normal. but when I type something like /nation or /nation ? I get an error stating "Unknown console command. Type "help" for help." Any ideas?

    Is it possible that it is caused by the new iConomy update?
     
  20. Offline

    FuzzeWuzze

    Hmmm ill take a look at it when i get a chance.
     
  21. Offline

    NotYetRated

    Does anyone know what "/town set public on" does?
     
  22. Offline

    Anthemic

    I believe so. I had the current version of towny running this morning just fine. Switched to iConomy 5, and it mostly broke. However, I also switched over from H2 to MySQL, so that could be somehow related. I think it's probably the former.
    FuzzeWuzze--my sincere thanks for your work on this plugin. I have a server full of dreamers, and as we've gone along with Minecraft, we've adapted it more and more to the kind of game we want to play. And towny is a big part of that. I hope this kind of gratitude is part of what keeps you going back to the code. I sincerely hope you love keeping towny alive as much as we enjoy playing with in on our servers. I'm sure there's a lot of admins out there who would second the motion!
     
  23. Offline

    tyzoid

    Building in another world doesn't work. I tried giving the users towny.wild.* but they still can't build. No errors in the console, and no towny errors are shown. I am not sure what the problem is. This is for a mineworld.
    plugins: (open)

    • Chatbukkit
    • Colors (my plugin)
    • Scrapbukkit
    • iConomy
    • iConomyChestShop
    • magicCarpet
    • MultiVerse
    • Permissions
    • Rules (One I created, but not released) (This is not the problem - just a motd plugin)
    • simpleHome
    • Towny (0.63)
    • WeatherControl
    • WorldEdit
     
  24. Offline

    Kingjarrad

    Keep up great work look forward to iconomy 5 support
     
  25. Offline

    Dysalot

    It is definitely then iConomy 5.0. I think I will downgrade iConomy on my servers to get things working again, until other plugins get updated.
     
  26. It allows users to /town spawn townname or not if not public
     
  27. Offline

    RobJustice

    Search-Fu didn't turn up any help for this, if it's a common problem I apologize for asking here.

    Anyway, Towny seems to be ignoring my nation-levels.csv and town-levels.csv files. It also re-sets the default titles if I strip them out of the configuration. (No one on my server wants to be called King, but even when i remove it next time I start the server it's back)

    Is there something I'm missing? How can I fix this?
     
  28. Offline

    FuzzeWuzze

    Those are only used if you set your town block Ratio in your config to zero, to set static jump points for towns. Otherwise its dynamic and gives that number of blocks per resident.

    You can remove their Prefix's and Postfix's via the config file.
     
  29. Offline

    iiShaun

    When ever i try to use the command it says they do not exist? How can i fix this?
     
  30. Offline

    RobJustice

    Even with town_block_ratio=0 set I'm not using the csv files.
    And everytime I remove the pre\postfixes when I start the server they come back.
     
  31. Offline

    tyzoid

    Anyone have a solution to users not being able to build?
     
Thread Status:
Not open for further replies.

Share This Page