Solved Permissions

Discussion in 'General Help' started by TimTalk, Jul 19, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    TimTalk

    Hey, so I was trying to sort out the permissions for my server.
    for some reason it isn't working (I add the player to the group but they cant use any of the commands)
    I was wondering if someone could tell me what was wrong or post a new code with the error fixed.
    (Its the moderator group permissions that are not working)

    Code:
    groups:
      default:
        options:
          default: true
        permissions:
        - modifyworld.*
        -essentials.spawn
        options:
          default: false
          prefix: '&4Mod  '
        permissions:
        - essentials.speed
        - essentials.balance.others
        - essentials.pay
        - essentials.mail
        - essentials.mail.send
        - essentials.msg
        - essentials.near
        - essentials.nick
        - essentials.nick.others
        - essentials.nick.color
        - essentials.rules
        - essentials.seen
        - essentials.seen.banreason
        - essentials.spawner
        - essentials.whois
        - essentials.ban.offline
        - essentials.ban
        - essentials.deljail
        - essentials.invsee
        - essentials.invsee.modify
        - essentials.jails
        - essentials.kick
        - essentials.mute
        - essentials.socialspy
        - essentials.tempban
        - essentials.unban
        - essentials.vanish
        - essentials.delhome
        - essentials.home
        - essentials.tp
        - essentials.tp.others
        - essentials.tpahere
        - essentials.warps.*
        - essentials.chat.color
        - essentials.joinfullserver
        - essentials.spawn
    ( I didnt put it in a spoiler as it removes all the spaces)


    schema-version: 1



    Thanks
     
    Last edited by a moderator: Jul 24, 2017
  2. Offline

    Machine Maker

    @TimTalk
    Is that your whole permissions.yml? If you did add a player to a group there should be a bit more of the file.
     
    TimTalk likes this.
  3. Offline

    TimTalk

    Yet thats it. I deleted the plugin and the file itself to reset it and it just resets as this:

    groups:
    default:
    options:
    default: true
    permissions:
    - modifyworld.*
    schema-version: 1


    so no there is nothing else to it. Do you know what else should be there?
     
  4. Offline

    Machine Maker

    @TimTalk No, there isn't any more to the file initially, but when you run /pex user <user> group set <group>, some more text will show up at the bottom of the file saying that <user> is in group <group>.
     
    TimTalk likes this.
  5. Offline

    FrostDevStudios

    @TimTalk
    Your Whole Permissions File setup is Incorrect. Hence why its not working, You are trying to merge your default group with your non-existing Mod group. PermissionsEx does not check if a group exists, and allows you to add players to the specified group, In your case (The Mod Group).

    This is how your permissions should be set up. Or at least it should be similar. By Setting up your permissions like this, You will now have an existing 'Mod' group in which the users placed in this group can now receive the specified permissions.

    Code:
    groups:
      default:
        options:
          default: true
        permissions:
        - modifyworld.*
        -essentials.spawn
      mod:
        options:
          default: false
          prefix: '&4Mod'
        permissions:
       - essentials.speed
       - essentials.balance.others
       - essentials.pay
       - essentials.mail
       - essentials.mail.send
       - essentials.msg
       - essentials.near
       - essentials.nick
       - essentials.nick.others
       - essentials.nick.color
       - essentials.rules
       - essentials.seen
       - essentials.seen.banreason
       - essentials.spawner
       - essentials.whois
       - essentials.ban.offline
       - essentials.ban
       - essentials.deljail
       - essentials.invsee
       - essentials.invsee.modify
       - essentials.jails
       - essentials.kick
       - essentials.mute
       - essentials.socialspy
       - essentials.tempban
       - essentials.unban
       - essentials.vanish
       - essentials.delhome
       - essentials.home
       - essentials.tp
       - essentials.tp.others
       - essentials.tpahere
       - essentials.warps.*
       - essentials.chat.color
       - essentials.joinfullserver
       - essentials.spawn
     
    Last edited: Jul 20, 2017
    TimTalk likes this.
  6. Offline

    Machine Maker

    @FrostDevStudios
    Yep you're right, I missed that he didn't have the Mod: line that started a new group.
     
    TimTalk likes this.
  7. Offline

    TimTalk

    Thanks so much :) it work perfectly now :) . I no longer have to OP mods on my server xD.

    @FrostDevStudios, if I wanted to give one player a permission, how would I do that?
    So say I wanted to give a player called MinecraftPerson the essentials.fly permission where would I put it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 26, 2017
  8. Offline

    FrostDevStudios

    @TimTalk
    Not a problem! Glad to hear. Please Mark this thread as Solved
     
    TimTalk likes this.
Thread Status:
Not open for further replies.

Share This Page