[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

    TheMadMan697

    as far as i know that would save the towny data from ram back onto the textfile and then load it back again. so it would overwrite any changes i made before the reload. same when shutting down the server. if i edit the file and shut it down it overwrites the textfiles.
     
  3. Offline

    transient

    There's /townyadmin reload, but I think it just reloads the config file.
     
  4. Offline

    FuzzeWuzze

    Do you have a lot of users renaming their towns? I found this causes a ton of problems which is why i will likely be turning it off. Renaming a town doesnt delete the old town file, so i have like 15 town files even though theres only like 6 towns...the rest are one town that renamed itself like 10 times and each is "locked" in the state it was in(residents/plots/etc) when they change the name if that makes sense...sort of a timeline of the town in txt files...

    It makes keeping track of towns and residents a nightmare.
     
  5. Offline

    semibreve42

    It would be much appreciated if you remove that "feature" in your next update.
     
  6. Offline

    zoolder101

    Code:
    19:30:16 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Towny
    java.lang.NoSuchMethodError: com.earth2me.essentials.Essentials.loadClasses()V
            at ca.xshade.bukkit.towny.Towny.checkEssentialsTeleport(Towny.java:443)
            at ca.xshade.bukkit.towny.event.TownyPlayerListener.parseTownCommand(Tow
    nyPlayerListener.java:941)
            at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerCommandPrepr
    ocess(TownyPlayerListener.java:412)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
    va:230)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:667)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:638)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:632)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    19:30:16 [INFO] ยบ9[PLAYER_COMMAND] zoolder101: /t spawn
    >
    
    /t spawn not working? plz halp
    WITH ESSENTIALS
    I have a delay, but that does not seem to like towny. Plz help, i NEED a delay on the tps
     
  7. Offline

    Jonathan Bloom

    I'm trying to have Towny enabled on only 1 world. But it's restricting building rights on all of my worlds. I set UseTowny to false on the townyworld.txt file and restarted, same issue.
     
  8. Offline

    rmb938

    A bunch of bugs to report:
    When a town doesn't have enough money to pay taxes it gets deleted however it doesn't delete it out of the resident files. So it still tells them they are in a town and they are unable to leave.

    Town mayors sometimes go null and the town has to be deleted to fix it.

    These bugs are really bad for my server and if left unchecked it will ruin the servers that use this plugin.
     
  9. Offline

    Ryuukossei

    I'm new to running a server and using plugins but I have the general idea of how everything works. That being said I can't figure out why the build etc. permissions aren't working for the plots. Basically anyone can do anything even when they are supposed to be restricted. I will post my config files for anyone who offers to help I guess. Besides that though awesome job on this plugin, I really enjoy it.

    [EDIT]: Nvm :p I didn't realize I had 0.6 not 0.61.
     
  10. Offline

    imaxorz

    I just had to delete a town because a mayor went missing, and everyone else in town too. So there was no way for me to make someone else the mayor.
     
  11. Offline

    rmb938

    Yea thats what I have to do. But if its a major town it causes a bigger problem with building and stuff.
     
  12. Offline

    xlilcasper

    /map seems to be a bit messed up. At least on mine it is line wrapping which breaks it all up. Screen shot is attached Running cb: 733 Towny: 0.61 FE 733
     

    Attached Files:

  13. Offline

    Stephen92

    quick question, I have been wanting for my server the display messages when entering and exiting an area like in towny, but I dont really need towny, and no one out of the 70 players lol wants it either, so i was wondering as maybe a side plugin or just for me, you can create for me what towny has as in the display messages of areas, that would be fantastic if you could, if you make it a plugin possibly make it configurable to add new areas via cuboid with a selection tool that is configurable.
     
  14. Offline

    Caliver

    Hello,

    I've been using Towny for a while but now I've run into a problem since updating Bukkit on my server. I depended on Towny because it protected our civilized area from monsters spawning within the town at night. I had a town registered and I was mayor, but now the town isn't registered anymore and I can't seem to create a new town. When I try /town new it says I'm not in town. I even checked my resident information and it says I don't belong to a town. I've only had one town and nation on my server since we're a small server, but now Towny doesn't seem to be working and I can't figure out what went wrong. Can I get some assistance here on how to get Towny working again?
     
  15. Offline

    Fluub

    Hello,
    I really need help :s i have one single problem is that my users get spammed by the message "You don't have the permission to use this" every time they break/place/use an item, in fact the message is wrong cuz they place these blocks but the message is still spammed.
    Please guys :/ it is spamming the chatbox and towny is such a good plug in i wanna use it.(i tried to reinstall to towny keeping the config files but nothing worked).
    I'm not using Permissions.

    Thank you for all the help or advices you could bring :) my server is dying because of this :'(
     
  16. Offline

    maxsteele

    I'm running Towny .61 on CB #733:
    Monsters have stopped getting removed from towns. When I restart the server, monsters are removed, but after an hour or so, they stop getting removed again.
    I haven't changed any configs since updating to CB #733. I'm not sure what the issue is.
    I don't receive any error messages in the console. If I do a /towny reload , it fixes the issue and towns start removing monsters again.
    Any clues?
     
  17. Offline

    UnrealEgg

    Getting this error too:

     
  18. Offline

    ayan4m1

    Ah, well I do agree that it's a bad behavior but presumably editing your files and then just removing write permissions on the files will prevent Towny from writing back to them, but allow it to load the changed files on reload.
     
  19. Offline

    Quadster

    Im having a problem. I don't want to have Mayor before my name when i am a town mayor but in the config file when I put nothing as the prefix it auto makes it Mayor. Please reply.


    Thank you
    - Quaddy
     
  20. Offline

    SiKiN

    I had that exact error when I installed CraftBook and failed to setup permissions properly.
     
  21. Offline

    John19800

    i have a problem with towny i have a play with the name _Henderson and i cant add him to the town becuase it keeps saying( _Henderson is not registered None of those names were valid ) is there a way this can be fixed?
     
  22. Offline

    Exidous

    Seems I also am getting the random mobs in town after some time.
     
  23. Offline

    DannyCare

    I'm trying to set PVP on in a certain area of my town, but no matter what I set it up as, PVP is still off. I know it's Towny as I disabled it and PVP worked. Even when trying to set the whole town up as PVP it still doesn't like it.

    My config:

    Code:
    allow_outposts=true
    allow_resident_plots=true
    allow_town_spawn=true
    allow_town_spawn_travel=true
    commands_nation=/nation,/n,/nat
    commands_nation_chat=/nc
    commands_plot=/plot
    commands_resident=/resident,/r,/res,/p,/player
    commands_town=/town,/t
    commands_town_chat=/tc
    commands_towny=/towny
    commands_towny_admin=/townyadmin,/ta
    commands_world=/townyworld,/tw
    daily_backups=true
    daily_taxes=true
    database_load=flatfile
    database_save=flatfile
    day_interval=86400000
    debug_mode=false
    default_capital_postfix= City
    default_capital_prefix=Capital:
    default_king_postfix=
    default_king_prefix=King
    default_max_town_blocks=64
    default_mayor_postfix=
    default_mayor_prefix=Mayor
    default_nation_postfix= Nation
    default_nation_prefix=
    default_resident_perm_ally_build=false
    default_resident_perm_ally_destroy=false
    default_resident_perm_ally_itemuse=false
    default_resident_perm_ally_switch=false
    default_resident_perm_friend_build=true
    default_resident_perm_friend_destroy=true
    default_resident_perm_friend_itemuse=true
    default_resident_perm_friend_switch=true
    default_resident_perm_outsider_build=false
    default_resident_perm_outsider_destroy=false
    default_resident_perm_outsider_itemuse=false
    default_resident_perm_outsider_switch=false
    default_town_name=
    default_town_perm_ally_build=true
    default_town_perm_ally_destroy=true
    default_town_perm_ally_itemuse=true
    default_town_perm_ally_switch=true
    default_town_perm_outsider_build=false
    default_town_perm_outsider_destroy=false
    default_town_perm_outsider_itemuse=true
    default_town_perm_outsider_switch=false
    default_town_perm_resident_build=false
    default_town_perm_resident_destroy=false
    default_town_perm_resident_itemuse=true
    default_town_perm_resident_switch=true
    default_town_postfix= Town
    default_town_prefix=
    delete_old_residents=false
    deleted_after_time=5184000000
    dev_mode=false
    first_run=false
    flatfile_backup=zip
    force_pvp_on=true
    friendly_fire=false
    health_regen=true
    health_regen_speed=1500
    inactive_after_time=86400000
    item_use_ids=259,325,326,327
    last_run_version=0.61
    line_not_perm_to_new_nation=&6[Towny] &bOnly admins are allowed to create nations.
    line_not_perm_to_new_town=&6[Towny] &bOnly admins are allowed to create towns.
    logging=true
    max_plots_per_resident=5
    min_distance_from_town_homeblock=0
    mob_removal=true
    mob_removal_entities=Monster,WaterMob,Flying,Slime
    mob_removal_speed=5000
    modify_chat_name=true
    msg_buy_resident_plot=&6[Towny] &b%s bought %s's plot!
    msg_couldnt_pay_taxes=&6[Towny] &b%s couldn't pay taxes%s
    msg_del_nation=&6[Towny] &bThe nation %s was disbanded!
    msg_del_resident=&6[Towny] &b%s lost all his Towny data!
    msg_del_town=&6[Towny] &bThe town of %s fell into ruin!
    msg_join_nation=&6[Towny] &b%s joined the nation!
    msg_join_town=&6[Towny] &b%s joined town!
    msg_mayor_abandon=&6[Towny] &bYou would abandon your people? Choose another mayor with '/t set mayor' if your sure.
    msg_new_day=&6[Towny] &bA new day is here! Taxes and rent has been collected
    msg_new_king=&6[Towny] &b%s is now the king!
    msg_new_mayor=&6[Towny] &b%s is now the mayor!
    msg_new_nation=&6[Towny] &b%s created a new nation called %s
    msg_new_town=&6[Towny] &b%s created a new town called %s
    msg_plot_for_sale=&6[Towny] &b%s put the plot (%s) up for sale! Type /plot claim on the plot to buy it!
    msg_registration=&6[Towny] &bWelcome this is your first login.@&6[Towny] &bTry the /towny command for more help.
    msg_war_eliminated=&6[Towny] &b%s was eliminated from the war.
    msg_war_forfeited=&6[Towny] &b%s forfeited.
    msg_war_join=&6[Towny] &b%s joined the fight!
    msg_war_lose_block=&6[Towny] &b(%s) belonging to %s has fallen.
    msg_war_score=&6[War] &b%s scored %d points!
    name_check_regex=^[a-zA-Z0-9]+[a-zA-Z0-9._-]*$
    name_filter_regex=[ /]
    name_remove_regex=[^a-zA-Z0-9._-]
    nation_creation_admin_only=true
    npc_prefix=[NPC]
    price_claim_townblock=25.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
    reset_log_on_boot=true
    save_on_load=false
    show_town_notifications=true
    switch_ids=64,69,70,71,72,77
    town_block_ratio=24
    town_block_size=16
    town_creation_admin_only=true
    town_limit=3000
    town_respawn=true
    unclaimed_plot_name=Outside
    unclaimed_zone_build=true
    unclaimed_zone_destroy=true
    unclaimed_zone_ignore=14,15,16,21,50,56,65,66,73,74,89
    unclaimed_zone_item_use=true
    unclaimed_zone_name=Wilderness
    unclaimed_zone_switch=true
    using_essentials=false
    using_iconomy=true
    using_permissions=true
    using_questioner=false
    wartime_base_spoils=100.0
    wartime_home_block_hp=120
    wartime_min_height=60
    wartime_points_kill=1
    wartime_points_nation=100
    wartime_points_town=10
    wartime_points_townblock=1
    wartime_remove_on_monarch_death=false
    wartime_town_block_hp=60
    wartime_town_block_loss_price=100.0
    wartime_warning_delay=30
    
     
  24. Offline

    Ratchet

    Question: is it possible to completely disable all PVP and "War" between Towns?
     
  25. Offline

    FuzzeWuzze

    Try going onto your server into the Towny data area, look for your name in the Residents folder and see if it shows you in a town? Also check in the town folder for the town you were part of and look at the text file, are you marked as a resident?

    Ill ask the obvious question, you arent allys in the same town/nation are you? Because you have friendly fire off in your config. Regardless have you tried turning that on just to see what happens?

    I know at one point in 531 that you could turn PVP on, i did it on my server ...

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

    Umbra


    @FuzzeWuzze, that would be great if you could make an anouncement about what is going on and what we can possibly do to make essentials and towny work together again.
    If I remember well, Essentials was first brought to me by Shade which recommand all towny users to set up essentials with his plugin.
    Some user already said that the last essentials version actually works with towny but I haven't been able to do so and it appears that I'm not the only one.
    That's kind of hard for all the players from my server to deal with the /t spawn feature failure which completely changes the way you play.

    I hope you'll take this under consideration and that towny and essentials users won't have to face this issue for a long time.


    Anyway, I will never be able to thank you enough for putting towny back together after "Shade's left" but here's one again:
    Thank you !
     
  27. I wonder if it is possible to restrict any of the Shop plugins to only be avaible in protected areas e.g: You can only build a market with shops only in a protected city, but not in the unprotected wildness. The problem is i want that it is possible to build normal buildings outside and inside restricted areas, only the shops schoudn't be allowed outside of a protected city. Is there a way to do that? Maybe with another cityplugin?

    Thx Laxlux
     
  28. Offline

    TheMadMan697

    "You don't have the permission to use this" error is not towny its craftbook. i had the same problem. just give your default groop

    permission and it will fix it. personally i perfer to use falsebook over craftbook now because it seems to be more up to date.
     
  29. Offline

    zlavik

    problem with /town leave it says town not registered and im the owner of the server so i should have all permissions. I think that the town thinks leave is a town not a command so i need a fix asap

    verison 740
     
  30. Offline

    byzantinian

    Getting this error on first time run through. CB733 and respective Towny version.

    Code:
    2011-04-29 02:23:46 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    2011-04-29 02:23:46 [INFO] [Towny] Loading Error: Could not read world data 'world'.
    2011-04-29 02:23:46 [INFO] [Towny] Loading Error: Could not read world data 'Nether'.
    2011-04-29 02:23:46 [INFO] [Towny] Using: Permissions, iConomy, Essentials
    2011-04-29 02:23:46 [INFO] [Towny] Version: 0.61 - Mod Enabled
    
     
  31. Offline

    DannyCare

    I feel like such an idiot :p I'm sorry for wasting your time but thank you for your help. I searched for 'PVP' in the file see, so it didn't occur to me. Great work on patching the plugin so far. The only bug I've found is that the text wraps a little too early on /towny map which makes the map look a bit funny, so very well done :)
     
Thread Status:
Not open for further replies.

Share This Page