[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

    Willobe

    Cuz i want to play just like everyone else with out wasting town plots on spawn area :) i know i can claim it and give myself bonus squares but i just want an "Admin town" or unclaimable at least. i dont just just how i want to do it is all. just didnt know if there was a way
     
  3. Offline

    dragonking

    is it possible to make a force save on towny? all the towns on my server got rolled back like 2 days or so because i restarted it?
     
  4. Offline

    KevGraf94

    players with "_" at the beginning of their name cannot join towns
    example:
    _Kekz
     
  5. Offline

    imaxorz

  6. Offline

    Umbra

    The last update of Essentials prevents me from using /town spawn
    Anyone else having the same problem ?

    Thanks
     
  7. Offline

    Pymous

    Small question !

    How can u remove the color and the prefix for the mayor ? (Lord Pymous is quit sententious)

    Thanks for the good work !
     
  8. Offline

    Willobe

    Started getting this error when after i installed a few addons

    McMMO
    McRestart i think its mainly this one


    Code:
    [SEVERE] java.lang.NullPointerException
    2011-04-21 09:00:23 [SEVERE]     at ca.xshade.bukkit.towny.Towny.onDisable(Towny.java:180)
    2011-04-21 09:00:23 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:129)
    2011-04-21 09:00:23 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:592)
    2011-04-21 09:00:23 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:228)
    2011-04-21 09:00:23 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:222)
    2011-04-21 09:00:23 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:104)
    2011-04-21 09:00:23 [SEVERE]     at net.minecraft.server.MinecraftServer.g(MinecraftServer.java:238)
    2011-04-21 09:00:23 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:313)
    2011-04-21 09:00:23 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)

    any idea what this is, it happens when i restart, the restart pluging disables all the plugins before restart and this error is after its disabled, before restart. is it not getting disabled correctly?
     
  9. Offline

    hatstand

    "^[^\s]+$"
    Works just fine for me. One or more of any non-space character.
     
  10. Offline

    semibreve42

    Here's a warning for anyone who is starting to experiment with the 1.5 compatible builds - I tried running craftbukkit build 699 with All my current plugins including towny, and using the /town spawn *mytown* commands caused the server to go crazy with [severe] errors about missing chunks, etc. Now the server won't start at all

    Thankfully this was all on my test server, using a copy of everything. If you're going to play around with the new builds before they (and the plugins ) are recommended, use a test server!

    *Update* - I think my previous issue might have been from a bad copy of my world that my test server was using. I recopied my stuff from my production server, and everything is running smoothly with 705.
     
  11. Offline

    2Bucks

    could you possibly put this on Github so other developers can have a look?
    Town protections are really wacky. they randomly let Outsiders build/destroy at certain times, so towns are getting griefed periodically
     
  12. Offline

    FuzzeWuzze

    The code is in the zip file, i never did fork this because it was meant to be temporary. Honestly when i get time i would(and plan on it) rewriting this plugin from the ground up. Not that Shades code doesnt work but theres SO much code thats not documented, and just so much code in general that it'd be faster and better for me to do it myself and learn. Instead of spending 3 hours trying to fix a bug just figuring out where each function is going within his code.

    So look for that in June ;) Until then i'll probably just continue limping this project along to keep my server running it. Honestly i hear a lot of people saying that people are building/destroying in their towns, but i havent really seen it on my server? Are there any people out there that ARENT having these issues in the waves of people that are posting here that are?
    I think a lot of it has to do with other mods and improper Towny config(which is understandable its confusing).

    So if you have Idea's for a "New" towny Plugin you'd like to see implemented PM me your idea's ill read every one and see if I feel it fits within the project, when i do start on it in a few months.

    I have some idea's of my own, mostly would be seperate plugins from the "core" Towny idea.

    Oh and if your having problems with Permission cache errors you probably didnt setup the Permissions mod correctly by renaming the config file they give you. I dont know why so many people have this issue its pretty clear when the config yml file is called "RENAMEME.YML"
     
  13. Offline

    LlmDl

    I don't think we can PM you, might be disabled. It's great news you might rewrite this plugin. One of the things I would like to see is grouping players into permission groups automatically when they join a town. Other plugins rely on players being put into different groups and because of people joining/leaving towns on the fly, I haven't implemented town-groups in permissons. If towny did it automatically, that would be very nice.
     
  14. Offline

    FuzzeWuzze

    Click on my name and start a conversation, and start it with a decent title so i can easily sort through them.

    Like prefix your title with "Towny Idea:" or something...
     
  15. Offline

    2Bucks

    sorry if this is a nub question, but what is this?
    name_check_regex=^[a-zA-Z0-9]+[a-zA-Z0-9._-]*$
    name_filter_regex=[ /]
    name_remove_regex=[^a-zA-Z0-9._-]

    Fuzze, can you share your Towny config file with us?
     
  16. Offline

    Pymous

    So ? No way to disable the Mayor/Lord thing ? Really incompatible with my server ^^

    Oh ! And i have an idea (for once) !

    What about a command who fence a wall plot wich can be buyed ?

    Like an indicator for the buyer !

    "Here is your futur property !"
     
  17. Offline

    FuzzeWuzze

    I like it, actually i think Shade was working on something like this because there's a code module for walling in an area that never got finished. And no i dont think theres a way to turn that off.
     
  18. Offline

    Zalastri

    Hey Fuzze, Don't mean to rush you, but can you make towny compatible with 709? Seems like it's close to release, and I'd like to upgrade already. My userbase is dwindling! :]
     
  19. Offline

    2Bucks

    Fuzze is busy enough as it is, let him wait for an official build
     
  20. Offline

    FuzzeWuzze

    Yea its not gonna happen until an official build is out. Bukkit team likes to the coding API wildly at random times so waiting for a recommended build. I too have a mostly dead server for now but thats just temporary and users shouldnt be updating anyways.
     
  21. What issues show up if any, such as "The town is not public" etc? As it the town is not public then you may need the mayor to do /town set public on also you may need the permission nodes
    Code:
    towny.publicspawntp
    Also if you are using iConomy you may have it setup to charge per travel if you have not enough money you agian will not be able to travel these settings can be edited in the config file.

    Hope i helped

    The Mayor lord thing can easily be changed or removed.

    There is files called Town-levels and nation-levels which are excel documents, If you open these up and remove all the prefix's Such as "Mayor, Lord" etc your users will no longer have these names.

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

    James D. Green

    Thanks dude, at least you have common sense for the PLUGIN.yml that most PLUGINS do not have.. <.< Apparently they are retarded. lol!
     
  23. Offline

    ghost0001

    hey fuzzewuzze...first off, thanks for the great plugin. I have a question with the economy side. is there a way to not use iconomy and use essentials built in system for money?
     
  24. Offline

    2Bucks

    Fuzze, can you show us your Towny config file? I think I might be doing something wrong to cause the build/destroy issues
     
  25. Offline

    FuzzeWuzze

    Here it is, keep in mind i changed my block size to 8x8 not the default 16x16 so dont just copy/paste this into your world...also i dunno why it says not using iConomy..uhh wut lol i gotta fix that...

     
  26. Offline

    jcrom95

    Whenever i move with towny on i get this message in the chatbox:
    Could not create permission cache for this world(Cromie's Hardcore Server.
    Also this message:
    Not Registered, but already registered when trying to register.

    please help!!
     
  27. Code:
    using_iconomy=false
    under your config. propitiates file change to true.

    You can edit your prices for creating / maintaining here
    Code:
    price_claim_townblock=10.0
    price_death=10.0
    price_death_wartime=200.0
    price_nation_neutrality=0.0
    price_nation_upkeep=100.0
    price_new_nation=1000.0
    price_new_town=250.0
    price_outpost=500.0
    price_town_spawn_travel=10.0
    price_town_upkeep=10.0
    pve_in_non_pvp_towns=true

    Umm, That problem may need you to test all your other plugins as somthing is most likely clashing with towny creating the problems, or you could completely remove towny and make sure your on the correct / latest version
     
  28. Offline

    jcrom95

    pydrex, this is the error i get in cmd:
    04:05:13 [INFO] Starting minecraft server version Beta 1.4
    04:05:13 [INFO] Loading properties
    04:05:13 [INFO] Starting Minecraft server on 192.168.1.64:25565
    04:05:13 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-653-
    g9992fff-b677jnks (MC: 1.4)
    04:05:13 [INFO] Preparing level "Cromie's Hardcore Server"
    04:05:13 [INFO] Preparing start region
    04:05:14 [INFO] 144 recipes
    04:05:14 [INFO] Preparing spawn area: 69%
    04:05:15 [INFO] [Permissions] (Phoenix) was Initialized.
    04:05:15 [INFO] [iConomy] Logging is currently disabled.
    04:05:15 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    04:05:15 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    04:05:15 [INFO] [Permissions] version [2.7] (Phoenix) loaded
    04:05:15 [INFO] [iConomy] hooked into Permissions.
    04:05:15 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    04:05:15 [INFO] [Towny] Using: Permissions, iConomy
    04:05:15 [INFO] [Towny] Version: 0.61 - Mod Enabled
    04:05:15 [INFO] Done (0.201s)! For help, type "help" or "?"
    04:05:24 [INFO] jcrom95 [/192.168.1.64:65117] logged in with entity id 52
    04:05:24 [SEVERE] Could not pass event PLAYER_TELEPORT to Towny
    java.lang.NullPointerException
    at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerMove(TownyPl
    ayerListener.java:290)
    at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerTeleport(Tow
    nyPlayerListener.java:298)
    at org.bukkit.plugin.java.JavaPluginLoader$8.execute(JavaPluginLoader.ja
    va:246)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
    at net.minecraft.server.NetServerHandler.teleport(NetServerHandler.java:
    316)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:305)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:293)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    >
     
  29. Offline

    blacky5

    How can I set up that new user instantly join a
    predefined city?


    That didnt work.
    Some ideas? Is that possible?
     
  30. Offline

    2Bucks

    What difference does it make if Towny is using essentials?
     
Thread Status:
Not open for further replies.

Share This Page