massive help with groupusers/permissions

Discussion in 'Bukkit Help' started by Stephen92, Jan 21, 2011.

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

    Stephen92

    ok I have the newest build i believe of craftbukkit,I have several plugins atm,most to all work,but my main problem is that no matter what ill make myself a default user like a normal player logging in and I can spawn stuff,ive tried for almost 4 hours now editing stuff can someone please tell me the proper way to setup users.text groups.text and the permissions.yml or w/e. I need this fixed as its an important fix so people cant spawn things I only have 2 admins including myself I just want default for regular people,mods, and admins. thats it,blue text for admins and green for mods. if someone can please make this for me and send them to me in a text format id appreciate it greatly,if it helps my server is dedicated and im using winscp.

    list of plugins currently using:Essentials,Permissions,GroupUsers,GroupUsers,WorldEdit,SimpleProtect,WorldGuard,iConomy,AntiBreak,LWC,MinecartManiaCore,Noon,Vanish,TelePlus.
     
  2. Offline

    jpDIV

    I'm in the same situation, though there's nothing to do about it. The only plugins that work with Permissions (the plugin) right now are general, essentials, cleaner, iChat and LWC. This means that they're the only plugins that you can restrict commands to certain people with. All those other plugins, if you're not using their built-in permissions files (Worldedit has one, I know.), then everyone can use those commands, and there's nothing to be done about it.

    I have yet to figure out coloring names, though I know permissions has a prefix thing similar. But if you're having trouble with Permissions' YAML coding for the groups, I'd be happy to send you an annotated copy of my file for Permissions.

    Basically, there's nothing to be done about the others, like TelePlus, that don't have built-in permissions and aren't compatible with Permissions. I'm just waiting, and hoping that there's an update that'll make it compatible.
     
  3. Offline

    Danxl5

    Not quite true.
    Worldedit and Worldguard use the GroupUsers plugin to control the command systems.
    The YAML system implemented in the command files is for use if GroupUsers is not installed.
     
  4. Offline

    jpDIV

    Well, yeah. But GroupUsers is dead, no?
     
  5. Offline

    Danxl5

    No no, I believe it to be still in use.
    Am I ignorant?
     
  6. Offline

    Stephen92

    the main thing i need fixed is so reugulars cant spawn items idc about the other stuff and the only reason im using essentials is becuase the main general plugin's help doesnt work so idk what to do.
     
  7. Offline

    jpDIV

    Well, it's still working, but it's no longer being updated, so I'm going to go ahead and call it dead. I can't see switching to something that's not being updated and will probably break soon anyhow.
    --- merged: Jan 22, 2011 6:54 PM ---
    Okay, so basically you want a group that's the default, that doesn't have permission to spawn items? First thing you need to do is figure out which plugins are giving your users that command in the first place. I'm not familiar with all of your plugins, but just make sure that Essentials is the only one that gives the /item and /give commands.

    Then, open the Permissions' config.yml and create a group in the groups section, typing it like this:

    Code:
    groups:
        NAMEOFGROUP:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.whatevercommand'    
    And basically you list whatever commands from essentials that you want the default group to have, just don't list essentials.give or essentials.item in there, and it should create a group that everyone joins by default, that can't use the /item or /give commands.

    And, if anyone sees errors in this, please correct me. I'm still trying to figure it out myself. ^-^
     
  8. Offline

    TewDIE

    I just installed my GroupUsers, works perfect with my old hmod config
     
  9. Offline

    Stephen92

    can you post your settings please.

    and jpdiv ima try what you posted now thanks for helping me out guys I appreciate it,
    --- merged: Jan 23, 2011 3:55 AM ---
    aff didnt work for me all i used was the .spawn and .help one and i could still spawn shit its really pissing me off can you show me how your group users are setup please all I want is Default, Mods, and Admins and only 1 person for the admin. thanks man.
     
  10. Offline

    TewDIE

    USERS.txt
    #Add your users here (When adding your entry DO NOT include #!)
    #The format is:
    #NAME:GROUPS:ADMIN/UNRESTRICTED:COLOR:COMMANDS:IPs
    #For administrative powers set admin/unrestricted to 2.
    #For no restrictions and ability to give out items set it to 1.
    #If you don't want the person to be able to build set it to -1.
    #Admin/unrestricted, color and commands are optional.
    #Examples:
    #Adminfoo:admins
    #Moderator39:mods:1:0:/unban
    #BobTheBuilder:vip:0:d



    GROUPS:
    #Add your groups here (When adding your entry DO NOT include #!)
    #The format is:
    #NAME:COLOR:COMMANDS:INHERITEDGROUPS:ADMIN/UNRESTRICTED
    #For administrative powers set admin/unrestricted to 2.
    #For no restrictions and ability to give out items set it to 1.
    #If you don't want the group to be able to build set it to -1.
    #Inherited groups and admin/unrestricted are optional.
     
  11. Offline

    jpDIV

    When you say that you can spawn things, do you mean with the /item command? And, are you sure that your username isn't given access to that by an asterisk somewhere?
    --- merged: Jan 24, 2011 2:25 PM ---
    Here's my permissions config, it sets up two groups of users, plus a guest(default) rank and a rank for moderators and myself. Feel free to do whatever you like with it, just delete and retype your groupnames and commands in there.

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   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:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix: '&f'
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.whois'
                - 'essentials.motd'
                - 'essentials.list'
                - 'myhome.home.*'
        Miners:
            default: false
            info:
                prefix: '&a'
                suffix:
                build: true
            inheritance: Default
            permissions:
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'tplus.tp.to'
                - 'tplus.tp.here'
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.whois'
                - 'essentials.motd'
                - 'essentials.list'
                - 'myhome.home.*'
                - 'mywarp.warp.*'
        Crafters:
            default: false
            info:
                prefix: '&d'
                suffix:
                build: true
            inheritance: Default,Miners
            permissions:
                - 'essentials.nick'
                - 'essentials.top'
                - 'tplus.jump.up'
                - 'tplus.jump.jump'
                - 'tplus.jump.qjump'
                - 'tplus.history'
                - 'magiccarpet.mc'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'tplus.tp.to'
                - 'tplus.tp.here'
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.whois'
                - 'essentials.motd'
                - 'essentials.list'
                - 'myhome.home.*'
                - 'mywarp.warp.*'
        Moderators:
            default: false
            info:
                prefix: '&e'
                suffix:
                build: true
            inheritance: Default,Miners,Crafters
            permissions:
                - 'essentials.heal'
                - 'essentials.time'
                - 'myhome.*'
                - 'mywarp.*'
                - 'tplus.tp.coords'
                - 'tplus.tp.others'
                - 'essentials.nick'
                - 'essentials.top'
                - 'tplus.jump.up'
                - 'tplus.jump.jump'
                - 'tplus.jump.qjump'
                - 'tplus.history'
                - 'magiccarpet.mc'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'tplus.tp.to'
                - 'tplus.tp.here'
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.whois'
                - 'essentials.motd'
                - 'essentials.list'
                - 'myhome.home.*'
        Owner:
            default: false
            info:
                prefix: '&6'
                suffix:
                build: true
            inheritance: Default,Miners,Crafters,Moderators
            permissions:
                - '*'
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        jpDIV:
            group: Owner
            permissions:
                - '*'
        Acpmage:
            group: Admins
            permissions:
                - 'essentials.item'
        kingkiller155:
            group: Miners
        narutojeddy:
            group: Miners
        LordofWhales:
            group: Crafters
        arrrogance:
            group: Moderators
        icefirex:
            group: Miners
        Raspberry_Tea:
            group: Crafters
        Kamilio:
            group: Miners
        Pinkconnors:
            group: Crafters
        Iggy100:
            group: Miners
    NOTE: I have listed all the permissions for each group like that because, try as I might, I still can't get the inheritance to work. Cookies for anyone who can tell me how. :D
     
  12. Offline

    Danxl5

    Hmm... I have been trying to get the prefix to work for quite a while now.
    I can add anything to the prefix location and nothing happens.
    I've been using SimpleServer for a while now, and it allows you to add colour and the name of the person.
    This is really helpful for discerning what people are what, and for my patrons who may like to know who my admins are. I noticed you added '&6' to the prefix slot, but I cannot seem to get this to work.

    Is there something I need to do somewhere else to get this to show up?
    Much appreciated.
     
  13. Offline

    keeganptero

    I am unable to build on my server now, I think something is wrong with my permissions file. Another weird thing is that my permissions file was originally completely empty, with no text. I had to copy and paste it in. Here's what I have:
    (Sorry for posting on an old thread I couldn't find anything anywhere else.)
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   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:
    #
    #       - '*'
    ##
    
    groups:
        User:
            default: true
            info:
                prefix: '&f'
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.home'
                - 'essentials.sethome'
    
        Owner:
            default: false
            info:
                prefix: '&f'
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
     
    users:
        keeganptero:
            group: Owner
            permissions:
          
     
Thread Status:
Not open for further replies.

Share This Page