Jump to content
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    permissions for minecraft


    mrthesplit22
     Share

    Recommended Posts

    First when someone logs on to the server they do not go in the group "guest" even if I set "default: true" my configuration is like this:

     

    # System is no longer used, but may become used in the future

    # Copies is for multiple-world support

    # Put the name of the world you wish for it to be a clone of, otherwise leave it empty.

    # Does not work for the default world.

    # Example: copies: Derp - This will clone the permissions of the world Derp

    #

    # Make sure to rename this file to the name of the world that is in sever.properties under

    # level-name. So if it is level-name: world then this should be world.yml and in the

    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)

    #

    # NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid

    # doing this is to use Notepad++ and replace the tab with 4 spaces.

    plugin:

    permissions:

    system: default

    copies:

     

    ##

    # AntiBuild is included with this. To disable a group from being able to build then

    # set the build: flag to false (build: false). If you want a group to be able to build

    # then set it to true.

    ##

    # Groups can contain inheritance.

    # To make a group inherit the permissions from another

    # group simply place the groups name in the "inheritance:" like so:

    #

    # Example:

    # inheritance:

    # - Default

    ##

    # All permissions including the asterisks must be placed in single quotes.

    # like so:

    #

    # - 'general.spawn'

    #

    # Otherwise errors will happen!

    ##

    # Globalized Permission settings:

    #

    # If a permission contains periods (.) you can denote a globalized parameter:

    #

    # - 'general.*'

    #

    # This will allow you to use all general commands.

    #

    ##

    # Single Asterisk denotes all commands:

    #

    # - '*'

    # If you give a group this permissions, do not have the group inherit any permissions

    # from other groups. Any users assigned to this group should NOT be given any additional

    # permissions either.

    ##

    # To exempt a node use the - prefix like so:

    # - '-general.time'

    ##

    # prefix: and suffix: do not do anything on their own. You need another outside plugin

    # such as iChat or HeroChat in order for these to do anything.

    groups:

    guest:

    default: true

    info:

    prefix: ''

    suffix: ''

    build: false

    inheritance: null

    permissions:

    Moderator:

    default: false

    info:

    prefix: '&1'

    suffix: '&1'

    build: true

    inheritance:

    - Default

    permissions:

    - 'bar.foo'

    Admin:

    default: false

    info:

    prefix: '&4'

    suffix: '&4'

    build: true

    inheritance:

    permissions:

    - '*'

     

    ##

    # Users denote which users are included in which group.

    # TheNo1Yeti is in the Admin group

    # Herpina is a member of the Moderator group but also has access

    # to the herp.derp permissions

    # Derpina is a member of the admin group but does not have access

    # to the derp.derp permission node

    # Users can also have a prefix and suffix as seen with Herpina

    ##

    users:

    mrthesplit22:

    group: Admin

    permissions:

    - '*'

    Herpina:

    group: Moderator

    info:

    prefix: 'Moo'

    suffix: 'Cow'

    permissions:

    - 'herp.derp'

    Derpina:

    group: Admin

    permissions:

    - '-derp.derp'

     

     

    Also when I pair permissions with essentials and I change the permissions for each group it does not change the essentials commands when your on the server. So whatever I do I cannot block a group from using certain commands. It would be really cool if someone helped me!!!

    Link to comment
    Share on other sites

    After giving the "/permissions -reload all" command, you don't get any errors? Somehow this file really looks alot like the standard file included in permissions and you only changed the name of the Admin.

    Also one other thing I notice, the '*' permission node is written in your yml file twice, which is obsolete since it's both about the Admin user and infact can have a negative impact on the whole file.

     

    Now there is no good way to copy code inhere, but maybe your file also gives errors in yaml parser, try to copy the text to this webpage and press ctrl+enter and after that see if it generates errors. just try this on this website http://yaml-online-parser.appspot.com

    Link to comment
    Share on other sites

    Ok, well when I give the "/permissions -reload all" command it does not give me any errors. And it is the standard file that comes with permissions, when I installed the plugin via the admin panel on verygames.net this is the configuration file it gave me when I opened it using Filezilla. For the '*' permission node I don't see where it is written 2 times? And when I put the file on the site you gave me it told me that the system is no longer in use. Which I already knew since it said that at the top of the configuration file, but I would not know how to update the system cause thats what comes when you install the plugin via the admin panel on verygames.net. And this time when I logged before I put my name back to the admin group on the configuration file it said that I was in the "default" group instead of the guest group witch I made to be the group you go in when you are not part of a specified group yet.

    Link to comment
    Share on other sites

    Ok, well when I give the "/permissions -reload all" command it does not give me any errors. And it is the standard file that comes with permissions, when I installed the plugin via the admin panel on verygames.net this is the configuration file it gave me when I opened it using Filezilla.

    OK, I allready noticed that this was the standard posting, but that has nothing to do with your problem, the only thing is that it doesn't really do anything or not much.

    For the '*' permission node I don't see where it is written 2 times?

    Well if you look up in the file you will notice this branch

    Admin:

    default: false

    info:

    prefix: '&4'

    suffix: '&4'

    build: true

    inheritance:

    permissions:

    - '*'

    and later on:

    users:

    mrthesplit22:

    group: Admin

    permissions:

    - '*'

     

    making mrthesplit22 a member of the group Admin, makes the * permission double and redundant, but again this is not the problem, but it could cause a problem that makes the permission system not work properly.

    And when I put the file on the site you gave me it told me that the system is no longer in use. Which I already knew since it said that at the top of the configuration file, but I would not know how to update the system cause thats what comes when you install the plugin via the admin panel on verygames.net. And this time when I logged before I put my name back to the admin group on the configuration file it said that I was in the "default" group instead of the guest group witch I made to be the group you go in when you are not part of a specified group yet.

     

    The output will show that that system is no longer in use, probably in another direction as it is in your file, because it converts the file in a not human way, but if you remove all lines starting with #, which are remarks anyhow so are only illustrative.

    Being in the default group, probably is guest, since you don't have a group with the name default installed, atleast not according to the example given inhere. and here you may get into another problem too, where the Moderator calls to inherit the underlying rights of group Default that doesn't exist, so you probably have to change that to guest again.

     

    Well I can't really spot any errors in the file and if guests get reported as Default, maybe changing the above vaulue may change that, and also remember not to use tabs inside these documents, you need to use tabs instead.

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...