1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

Help with regions' permissions

Discussion in 'Help and Support' started by cutekittenkyti, Oct 23, 2013.

  1. cutekittenkyti

    cutekittenkyti Level 1

    Joined:
    Oct 3, 2013
    Messages:
    16
    So I recently made big changes to the groups and which groups had what permissions. I created an artist group. Artists can build anywhere and have access to world edit commands. The group artist is the parent of newadmin. And the group newadmin is the parent of admin.
    The issue is people in the group admin don't seem to have access to build in protected regions, but artists do. Is there a lets-group-build-in-any-protected-region permission? I thought it was tshock.world.modify but adding that to admin group's permissions didn't fix it. I'm still learning about groups and permissions, so I would appreciate some advice. Thanks

    Edit: I have almost my entire server protected by regions, except for a freebuild area. If someone makes something good, I move it to the protected part. If they are really good they get artist rank and can build in the protected world. Admin groups, of course, can also build in any region. At least they should be...
     
  2. Azaxel

    Azaxel Level 3

    Joined:
    Apr 9, 2013
    Messages:
    49
    The fact that newadmin is parent of admin makes no sense already. anyway: u can look in the topic of the plugins to see permissions. i don't know them on the top of my head
     
  3. cutekittenkyti

    cutekittenkyti Level 1

    Joined:
    Oct 3, 2013
    Messages:
    16
    I've looked at the tshock wiki but some of the definitions of permissions are kind of vague and I don't really understand what they mean. And I have different admin ranks because I've had issues with not very qualified admins and admins going rogue. So the newadmin group is for admins who are new, and when they are good at being a newadmin, they can move up to admin rank. So permission-wise the admin group inherits all the permissions of newadmin and gets some more of their own.
     
  4. Azaxel

    Azaxel Level 3

    Joined:
    Apr 9, 2013
    Messages:
    49
    usually people make newadmin inherit from normal admin. anyway for the permissions i don't see how they are vague since they say what command they are for or what they are used for. maybe u just typed it wrong.
     
  5. aMoka

    Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    162
    Azaxel, you have inheritance backward. Parents aren't the more powerful group. The child gains all permissions from a parent (lower group), and also can have more permissions, thus making it a more powerful group. So newadmin would be the parent of admin.

    As for the inheritance not working, I'm not really sure, but based on some older older older posts, messing with the default groups don't always seem to work properly outside of permissions and colors. You could try making a whole new branch of groups with copied permissions, and see if that works.
     
  6. cutekittenkyti

    cutekittenkyti Level 1

    Joined:
    Oct 3, 2013
    Messages:
    16
    Hm, here's a couple I'm not sure of and, they apply to my question
    tshock.world.editregion
    Description: Allows you to edit regions.
    Commands: None
    Does that permission let you edit the region itself, or edit the blocks inside the region?
    tshock.world.modify
    Description: User can modify the world.
    Commands: None
    Does this mean the user can modify the world at any time (like if it is protected by a region) or does it just mean a person is allowed to change blocks? Like, if a group didn't have this permission they couldn't build even in an area without region protection
     
  7. cutekittenkyti

    cutekittenkyti Level 1

    Joined:
    Oct 3, 2013
    Messages:
    16
    Well it seems all the other permissions are inheriting properly. For example, newadmins can ban, and so can admins. Also only the artist has the world edit permissions and I know that admins can use that command because one crashed the server trying to use //set water. :p

    So I'm not sure, unless all the admins are adding themselves to the region, because they can still do that. (And they added the artist too (Because I only have one artist so far))
     
  8. aMoka

    Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    162
    tshock.admin.region
    - use of /region commands​
    tshock.world.editregion
    - bypass region protection​
    - group "trustedadmin" has this through permission "tshock.world.*" by default​
    tshock.world.modify
    -can build on the world outside of protected regions​

    So permission inheritance is working now?
    Ryst looks great as usual. ^^
     
    • Like Like x 1
  9. cutekittenkyti

    cutekittenkyti Level 1

    Joined:
    Oct 3, 2013
    Messages:
    16
    Awesome! Thanks for the handy list :D
    Oh! And that's sweet that you know about Ryst :3
    The goal is to have a map running for a long time, without getting tunnels and destroyed biomes everywhere. Hence 75% or more of Ryst is protected.
    And also I can't edit Ryst right now, since I'm not near the server computer. So I don't know about the permissions. I think now that I assumed tshock.world.editregion meant /region commands. And I don't want the artist group to have those. So I might have left them out. And yes trustedadmins have tshock.world.* so they can build in the regions.
     
    • Like Like x 2
  10. Kirbyblue2k

    Kirbyblue2k Level 3

    Joined:
    Feb 28, 2014
    Messages:
    46
    please help me, i have some regions, example, spawn, i protected it, still everyone can edit it :c and the groups i dont want editing it dont have the permissions tshock.admin.region or tshock.world.editregion help please!!! i also did a freash of tshock still and they can still edit it, and i also did /region protect Spawn true! help :c
     
  11. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    https://tshock.atlassian.net/wiki/display/TSHOCKPLUGINS/Home
     
  12. Kirbyblue2k

    Kirbyblue2k Level 3

    Joined:
    Feb 28, 2014
    Messages:
    46
    Thank u!!! :D ^.^
     
  13. Nalah1987

    Nalah1987 Level 1

    Joined:
    Feb 8, 2012
    Messages:
    10
    :)
     
    #13 Nalah1987, May 16, 2014
    Last edited: Jul 9, 2015