[Inactive][SEC/FUN/INFO/CHAT/TP] Towny v0.71 Community Edition [953]

Discussion in 'Inactive/Unsupported Plugins' started by croxis, Jun 28, 2011.

  1. Offline

    LlmDl

    There's a build being tested, with an updated questioner.

    Tons of code was rewritten, lots of long-time bugs are fixed, but because of the large number of changes there is a list of fixes that need to be added.
     
  2. Offline

    RedAlex

    You can give me the beta version of your questioner to i test?
     
  3. Offline

    LlmDl

    Questioner

    Check back and let us know if it's working. This wont fix the adding-to-nation sniping.
     
  4. Offline

    RedAlex

    For t add player working deny and accept.
    Not working for /nation add town, question are not recive for the mayor.
     
  5. Offline

    LlmDl

    It's getting fixed. Before reporting something check to see if it's already an Issue on the github.
     
  6. Offline

    cheepz

    Could you possibly add the function to towny where their is an extended town protection radius from what the actual town is?

    For example, If you have a 100x100x128 (length x width x height) town that you have recently bought for 75,000 coins. Protruding from that town is a 100x100x128 aura that prevents anyone from destroying or building within that area.

    Incase that dosen't make any sense, let me word it a different way.


    You have the 4 sides of the town, from each of the 4 sides, an area of 100x100x128 protrudes from the walls in the direction they are facing. In this area, neither are outsiders or the town owners themselves, are allowed to build/destroy in this area, so that the area around the town remains untouched and "clear". As for the corner spaces that are created by protruding the walls out, You could either make a "curve" from one end of the wall to the other, or simply, make it another 100x100x128 area.

    In conclusion, Your creating a perimeter that encircles pre-existing town so that the land around the town can remain untouched. If you were to the expand the town, the town's outer-protection can shift accordingly.

    P.S. This also does not have to include outposts, as for now.
     
  7. Offline

    LlmDl

    If you are changing the default townblock size from 16x16x128 to 100x100x128, you just need to give mayors more townblocks per resident.

    Using towny's default 16x16 at a rate of 16 per resident, it doesn't take long before you'll have 100+ extra townblocks, just use your extras to claim more blocks on your surrounding border.
     
  8. Offline

    Flenix

    I have a bug, every now and then all towny blocks delete themselves and i have to go claim again.

    My towns are all 200+ blocks, and then I have to get all players to reclaim their plots...

    I tried adding the "Diabolus.txt" file from the backup to the main thing, and it said it was 2,000 bytes. Reloaded and it just deletes it again, but if I reclaim its fine for about 2 months...

    Also, I saw somewhere you can change the size of plots. Right now we have them as 16x16 - if I changed it to 8x8 would it corrupt all my data?
     
  9. Offline

    LlmDl

    You can't use /reload or /ta reload after altering towny's files. If you do, it pulls them from the latest backup (the setup you are trying to overwrite.)

    If you changed to 8x8 you would almost certainly mess up all your claims.
     
  10. Offline

    Ziden

    this plugin is my 2nd favorite of all !!! however, it doesnt have a good performance. Could this be fixed in next updates ?
     
  11. Offline

    LlmDl

    Croxis is working on converting it to a database from flatfile. This should help performance and stop towns from losing townblocks/residents.
     
  12. Offline

    cheepz


    Unfortunetly, I don't feel like you understand what I'm trying to say. >.<
     
  13. Offline

    LlmDl

    If you want to create a bufferzone around a town, Towny lets you do it by claiming more townblocks. If you want your buffer zone left untouched, you can disallow residents/allies/outsiders from building/destroying within it. This will set the build/destroy for the town non-personally-claimed plots as well (The stuff labelled ~ Unowned.)

    Use
    /t set perm build off
    and
    /t set perm destroy off

    If you aren't wanting to disallow your town members from building/destroying public town land, claim the bufferzone plots as personal blocks (/plot forsale, /plot claim) then turn off the perms for your plots using

    /r set perm build off
    and
    /r set perm destroy off

    This still relies on having the townblocks to claim, you can use /ta givebonus [townname] [number of blocks]
    to get more blocks, or change how many blocks are given per resident in config.properties.
     
  14. I'm focusing on flatfile support. I've rewritten masses of code and optimized other sections. I've also added a lot of new functionality in the dev version Things like Allies/enemies now works, nations adding towns now asks the town mayor if they want to join (was no code even there for it. It wasn't a bug, it just never existed).
    Also a rework of many commands as they are now all correctly implementing the bukkit command interface.
    LOTS of bugs fixed, and I managed to piece together the source for questioner, so thats now safe.
     
  15. Offline

    Ziden

    Nice, thanx for the info :D Makes me feel safer when using this plugin !
     
  16. Offline

    RedAlex

    do you have a solution to create a "Safe zone" for the first spawn? when i have open the server to public the spawn have becose the hell all killing all with and and flower and dirt lol but i don't have see a command to claim a safe-pvp-build-destroy zone in neutral zone.
     
  17. Offline

    Craig1690

    Hey in my console all the time this is what i see im currently on version .68

    Code:
     Could not pass event PLAYER_CHAT to Towny
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
            at java.lang.String.substring(String.java:1949)
            at ca.xshade.bukkit.towny.event.TownyPlayerListener.onPlayerChat(TownyPlayerListener.java:96)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:681)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  18. That error is to do with Switches. You'll need to post your config and permissions.

    You can create a town at the spawn and then assign it to an NPC. I'm looking at making assigning NPC towns easier.

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

    cheepz


    Right, but would you control the mayor from claiming the bufferzone instead of expanding his town further out?

    and how would I stop the mayor himself or residents of the town to build / destroy in the "bufferzone"?


    "
    Use
    /t set perm build off
    and
    /t set perm destroy off
    "

    So this would allow me to restrict residents and the town mayor to build/destroy in the bufferzone? and allow them to do as they wish in what would be considered their actual town space? (which would be... 100x100x128)
     
  20. Offline

    Craig1690

    oh ok
    here is my towny 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=true
    default_resident_perm_ally_destroy=true
    default_resident_perm_ally_itemuse=true
    default_resident_perm_ally_switch=true
    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=true
    default_resident_perm_outsider_destroy=true
    default_resident_perm_outsider_itemuse=true
    default_resident_perm_outsider_switch=true
    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=true
    default_town_perm_outsider_destroy=true
    default_town_perm_outsider_itemuse=true
    default_town_perm_outsider_switch=true
    default_town_perm_resident_build=true
    default_town_perm_resident_destroy=true
    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=false
    friendly_fire=false
    health_regen=true
    health_regen_speed=3000
    inactive_after_time=86400000
    item_use_ids=259,325,326,327
    last_run_version=0.68
    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=100
    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!
    msg_registration=&6[Towny] &bWelcome this is your first login.@&6[Towny] &bYou've successfully registered!@&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=false
    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=500.0
    price_outpost=1000.0
    price_town_spawn_travel=150.0
    price_town_upkeep=30.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=16
    town_block_size=16
    town_creation_admin_only=false
    town_limit=3000
    town_respawn=true
    unclaimed_plot_name=Unowned
    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=false
    using_permissions=false
    using_permissions2=true
    using_permissions3=false
    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
    and my perms is 3.1.6 :D
     
  21. Oh I'm sorry, I was looking at the dev build and none of that code exists anymore.

    You can not FORCE a buffer zone. The mayor can set an unuseable area around his own town of plots. Or if wild build is off you can set the minimum distance between homeblocks. to prevent towns colliding.

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

    sk17

    Hi,this is a awesome plugin :D
    but i wanted to know if i can configure the size of plots,cause now when i set plots its a chunk and i want it like 10x10 :s
     
  23. Offline

    cheepz

    That's why I'm asking for a new feature. :)
     
  24. Offline

    LlmDl

    Cheepz, what you're asking for is a protected area that niether a mayor nor a resident can alter. What you really want is worldguard. Let the mayor make his town, once you know where you want the bufferzone, worldguard it and you're done.

    Mayors on my town would be ticked off if they found that I'd surrounded them.

    This will break any towny plots that have already been claimed. Go into the config and find "townblock size" and change it from 16 to 10.

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

    sk17

    plots are now 10x10 but if i claim land its also 10x10 and i want it to be the default 16x16 when i claim land
     
  26. Offline

    Drago1128

    Uhh.... when i download permissions it says i not an admin... no1 answers me on their page i wondered if anyone...can help me here? i need easy steps... i am very new to bukkit as you can see when i joined .
     
  27. Offline

    Jesseg2

    Great plugin !
    I'm requestion a addition tho, instead of making the town pay rent each day, I want to make a town pay rent per each plot each day !
    So say a town has 5 plots, I want to make it so you pay rent*5 PER DAY....

    Also, I want away to make a freebuild area because I set it for can't build in wild, but I want players just joining to have a freebuild area !
     
  28. Offline

    Syntaxlb

    Why when a mayor invite a user, he is automatically in the town without accept the invitation ?
     
  29. Offline

    LlmDl

    You can't use two sizes of plots.

    You need to read more bukkit tutorials. And take your question to the permissions thread please.
    There are two taxation options already.

    1) /town set taxes $

    and

    2) /town set plottax $

    You want the second one.

    edit: for a freebuild area/starting place, you should consider MutliVerse, you could start a whole new world that new players spawn at, without towny's restrictions.

    You need to have questioner.jar and questioner=true in your config.

    Anyone who downloaded the Questioner I linked on the last page, redownload it now.

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

    cheepz

    I do use worldguard! But the problem, is that I'd have to make at least 4 regions for 1 100x100x128 town. If a town expands, you'd have to redo one of the borders, add more, and etc.

    This is hard to do when you have 10+ towns.

    I also suggestion configuration:

    towny_bufferzone=true
    towny_bufferzone_range=100
    towny_bufferzone_build,destroy,switch= false

    etc?
     

Share This Page