[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

    Syntaxlb

    Ok, it's the only solution ? we can't make space between plot?

    But thanks ;)
     
  2. Offline

    jayri

    no, it will be 16 blocks wide if you wanted XD
     
  3. Offline

    LlmDl

    I use entire townblocks for roads, you get 16 per resident so you should have plenty.
    Just add a nice boulevard of trees, or a double road.
    The other option is to claim half-blocks, there's a command to claim/split a townblock into two 8x16 townblocks.
     
  4. Offline

    jayri

    well, there is that.
     
  5. Offline

    cpalms

    @croxis
    Here's my permissions group file
    http://pastebin.com/e6KCkTWy

    Ignore the numbering to the side, that pastbin, not me

    My players can't build/destroy/switch in the wild no matter what permissions I add.

    What gives?

    Bukkit 953, Mc 1.7.2, permissions 3.1
     
  6. Your problem is probably that you are assigning permissions to towny.wild.XXX multiple times. This in perms 3.x cancels them out.
    You assign towny.wild.* in your N goup. Then you also give other towny.wild.XX permissions.
    Your other groups then inherit N AND try to assign the towny permissions again.
     
  7. Offline

    cpalms

    ok thanks i'll try that

    @croxis
    Did not work, here's my current group.yml
    http://pastebin.com/uiV500SB

    Any other ideas?

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

    croxis

    @cpalms You still have towny.wild.x multiple times in your inheritance tree. If you are usinging towny.wild.*, delete every other towny.wild reference.
     
  9. Offline

    cpalms

    @ElgarL
    Oops!
    Pasted the old groups.yml, heres the current one
    http://pastebin.com/cLw5NSyQ

    Still isn't working for me. It is any surprise that when I was using permissions 2.7.x it was working fine, but now that I've switched over to 3.1 it's broken? I'm also using McMyAdmin.
     
  10. Offline

    Swippen

    (PS: Sorry for double post:ish.. posted this in PermissionEx forum too.. not sure wich of te plugin that givs the problem)
    I have the same problem but with permissionsex plugin... or well I have the same but only if I op the account I can dig the admins group with only * as permission cannot dig or place without the op. I am pretty sure that it is connected to the towny plugin.. Towny seems to allways get false as response on permission question. I tried setting using permissions 3 and 2 (one at a time) but did not work.
    Code:
    2011-07-03 18:50:54 [INFO] [Towny] Debug: onBlockPlacedEvent took 1ms (Swippen, true)
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     From: world_new,1,-35
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     To:   world_new,1,-35
    2011-07-03 18:50:54 [INFO] [Towny] Debug:         Location{world=CraftWorld{name=world_new}x=5.699895689652608y=64.0z=-139.85375764148242pitch=25.448475yaw=-400.37708}
    2011-07-03 18:50:54 [INFO] [Towny] Debug:         Location{world=CraftWorld{name=world_new}x=6.261308563786918y=64.0z=-139.20042669797132pitch=25.448475yaw=-42.290985}
    2011-07-03 18:50:54 [INFO] [Towny] Debug: onPlayerItemEvent took 0ms
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.admin'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Swippen (world_new,2,-35) Cached Status: UNCLAIMED_ZONE
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.wild.build'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Swippen (world_new,2,-35) Cached Build: false
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.wild.build'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.wild.block.50'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.admin'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    I have problem adding my permission file since it is in MySQL..
    But I have tripple checked.
    - In permissions table Admin have permission *
    - In permissions.inheritance Swippen have inheritance to Admin group
    (It also says the same if I use ingame /pex commands that im in admins group)
    Is there a missmatch between towny and permissionsex/permission3 in 1.7? Anyone have that combo working?
     
  11. I'm using perms 3.x on 1.7 with CB 955, but it is a dev build thats just gone into testing.
     
  12. Offline

    croxis

    My testing shows everything is fine. I don't want to just brush it off and blame another plugin, but the debug is direct check from the response of Permissions.

    @Swippen I don't know if this a factor, but the debug string tells me that Towny is configured for Permissions 2, not 3. Double check your config.

    @cpalms Can you set debug=true in towny config and paste some of the terminal output when people try to break blocks in the wild?


    Todays update: I spent the day figuring out how to get the database connector working. I spent all this time learning the Hibernate library. Comes to find out it doesn't create mysql databases automatically x.x I'm going to see if I can use Hibernate to create the database using raw SQL, otherwise I'm back to hunting for a persistence library!
     
  13. Offline

    KillerSmurf

    I have it set only allow admins to create towns false and defualt has access to - towny.town.new
    but they cant make one it gives them the error only admins can
     
  14. Offline

    riuthamus

    Just wanted to make sure you didnt miss my message, any idea on if you will add BOSEcon support?
     
  15. Offline

    Endign

    <Profile pic related. Also, I'd like to know if you've come up with an answer about the question a couple pages back with the multiple towns owned by one player. Furthermore, can a King also be a mayor?
     
  16. Offline

    ReKLiS

    It won't let me create additional npc's for my npc towns i've built says npc2 npc3 aren't registered. I've created residence files for them in the plugins/data/residencts folder
     
  17. Offline

    jayri

    yeah, i think a king can be a mayor.
     
  18. Offline

    croxis

    https://github.com/croxis/Towny/issues/10 :)

    As far as I can town the default king is the mayor of the capital town. I do not intend to have players be able to own multiple towns. I will however improve management tools (npc mayors, probably a towny.manager permission to admin any town, etc) for better server management.

    Did you also add them to the residence list file as well? I'm not very familiar with the NPC code yet, and I am really trying to get the SQL part done first.
     
  19. Offline

    LlmDl

    Pastebin your config and you permissions files.

    Two towns cannot be owned by one player. Kings are mayors of the nation's capital city.

    This is tricky but should be doable. Make sure they are in residents.txt and in the towns townname.txt, also make sure they have a residentname.txt file.

    Croxis covered some of this, but I started replying before I read all the way down.
     
    ReKLiS likes this.
  20. Offline

    fatmarley

    @LlmDl could you possibly sum up how an NPC mayor works and how you set it up?
     
  21. Offline

    ReKLiS

    awsome i got it to work finally. i had to shut down the server because the txt files were being rewritten (residents.txt townname.txt) Thanks for the replys =P
     
  22. Offline

    LlmDl

    I've never done it myself, but during a full stop of the server you can make up a player, he needs to be in residents.txt, the town's townname.txt and have a residentname.txt in data/residents/

    Once the player 'exists' you can start the server up and use /town set mayor [fakeresidentname]
    to be able to use /town leave

    When you're all done and you want to return to being mayor of the first town, use /townyadmin set mayor [townname] [yourname]
     
  23. Offline

    cpalms

    Figured it out.

    I had use "permissions3" set to false in the towny settings config.
    Derp.
     
  24. Offline

    Swippen

    Thanks for the response. I have tried with both permission 3 and permission 2 set to true. As I said im my message both gave the same reponse just the permissions or permissions 3 string difference in the log. But i got the tip in the permissionsEx thread on how to debug that better. i will try that after work.
     
  25. Offline

    fatmarley

    @LlmDl I thought it was like 'citizens' with an actually present NPC...
    '
    Thanks for the breakdown, now I get it!
     
  26. Offline

    RedAlex

    I have just test this plugin and. with the command /town add (name of player) this will auto add the player we do not have a command /town join ? i don't love auto add any player write in add....
     
  27. Offline

    LlmDl

    You can make your files point to an actual citizens NPC, but it isn't required. Let me know if either way works for you, so that I know I'm not misremembering it.

    If you dont want mayors auto-adding players, get Questioner. It asks the player if they want to join a town and they can either /accept or /deny.
     
  28. Offline

    RedAlex

    i have add Questioner.jar v0.2 in the game i have
    New question You've been invited to join Betaville.
    /accept
    /deny
    If i type /accept or /deny it's write
    Unknown console command
     
  29. Offline

    Cosmic Break

    with questioner, towny didnt work. removed questioner, towny works fine.
     
  30. Offline

    RedAlex

    I know but i can't let player invite anyone and auto add anyone to town
     

Share This Page