Permissions, what is this; Rocket Science?

Discussion in 'Bukkit Help' started by PneumonicFungus, Mar 10, 2011.

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

    PneumonicFungus

  2. Offline

    solentice

    Come one guys...If you actually read the file you just posted, it actually states that you need an "outside plugin such as iChat" for the prefix and suffix to do anything for you! In that same file you posted, it also tells you that the '*' permission "denotes all commands", meaning you have all of them. Please, next time just take a little bit of time to do a little bit of research on these plugins you are using, as there is lots of information and instructions on how to set them up already in the forums, and even in the config file themselves.
     
  3. Offline

    bastion

    However sometimes depending on the builds, putting the '*' in more than one place can cause problems with permissions actually being implemented, and even better than that, it doesn't show as an error, they just don't work.

    So OP try taking out the global from your user info and see if u get the permissions. If not, then do what i do, remove the global, put your permission nodes ie: essentials.* for each plugin in the group you want them in and don't put any permissions in for individual users. I know the global '*' is supposed to make it easy but sometimes it just doesn't work.
     
  4. Offline

    Blackstorm72

    The funniest thing is this:
    I see a lot of people having major issues with permissions.
    The plugin that I use that does not give me any issues the MOST is: Permissions.
    In fact, I think i've only had one error with Permissions and that was when updating and using the wrong type of configuration.

    A lot of other plugins cause more issues then permissions. Most of the errors have nothing to do with the permissions of them.

    I'm always glad to help with permissions though, only because I never seem to have a problem with it and understand it quite well.
    But one thing is really true about permissions: one space and it's ruined. That's what gets people going mad. Yaml does have its cons too.
     
  5. Offline

    solentice

    Also, I believe the global '*' permission should only appear once, and be used in one single group, and that group should NOT inherit anything else, as you would just make any users you want to have all commands members of that single group. If you want to have more than one group with the '*' all commands, maybe to differentiate who's an Admin or not, then make an Admin group with the '*' permission, and then make the secondary group with NO PERMISSIONS at all, but inherit from the Admin group.;)

    Like this:
    Code:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Secondary:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Admins
            permissions:
    I only know the very basics for iChat, never used plugins until about just 3 weeks ago, but this is my Permissions code for my Admins groups with green prefix color code, and no suffix code:
    Code:
    Admins:
            default: false
            info:
                prefix: '&a'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    And this is my iChat code, so when I chat, it shows only my group name in green(from prefix in Permissions), then my user name and my message in white. (I cleared the censor-list to not offend anyone):
    Code:
    message-format: '[+prefix+group+suffix&f] +name: +message'
    censor-list: []
    censor-char: '*'
    censor-colored: true
    censor-color: '&7'
    censor-string-color: '&f'
    use-world-name: true
    It'll show like this:
    [Admins] myself: my message(in white)
    This works perfectly for me and the others on my server.

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

    woodzy

    b

    Ba who need ichat anyway, i dont use it i just use a plugin called prefix. Anyway what version on craftbukkit are u useing? the latest is #522 (LOVE IT!!)
     
  7. Offline

    solentice

    I can only somewhat help with Windows 7 64bit Pro(and probably other Windows OSes) since I've only started using plugins very recently myself.
    I think it might be best if you post you operating system, version of Java, craftbukkit build number, and list of plugins and versions so I, or others can try and figure out what might be wrong.

    Update:
    [MERGETIME="1299811037"][/MERGETIME]
    Maybe try what woodzy uses. Might be the easier route...
     
  8. Offline

    maxx001

    I will never understand why someone chose to use this horrible YAML format when there is a much much much better established alternative out there: XML
     
  9. Offline

    Toasty

    To be perfectly honest, if you're having THIS much trouble with permissions, you probably shouldn't run a server. At least not if it's for anyone other than your friends, in which case you'd have no need for permissions.

    @maxx001
    There's been a ton of discussion over this. The general consensus is that people hate YAML since it's picky about tabs (for good reason).

    But instead of stating all of the arguments again, I'll post a snippet from another post of mine:

    Which would you rather read?

    this:
    Code:
    ---
    players:
      Vladimir Kramnik: &kramnik
        rating: 2700
        status: GM
      Deep Fritz: &fritz
        rating: 2700
        status: Computer
      David Mertz: &mertz
        rating: 1400
        status: Amateur
    
    matches:
      -
        Date: 2002-10-04
        White: *fritz
        Black: *kramnik
        Result: Draw
      -
        Date: 2002-10-06
        White: *kramnik
        Black: *fritz
        Result: White
    Or this?:
    Code:
    <?xml version="1.0"?>
    <club>
      <players>
        <player id="kramnik"
                name="Vladimir Kramnik"
                rating="2700"
                status="GM" />
        <player id="fritz"
                name="Deep Fritz"
                rating="2700"
                status="Computer" />
        <player id="mertz"
                name="David Mertz"
                rating="1400"
                status="Amateur" />
      </players>
      <matches>
        <match>
            <Date>2002-10-04</Date>
            <White refid="fritz" />
            <Black refid="kramnik" />
            <Result>Draw</Result>
        </match>
        <match>
            <Date>2002-10-06</Date>
            <White refid="kramnik" />
            <Black refid="fritz" />
            <Result>White</Result>
        </match>
      </matches>
    </club>
    YAML is much easier to read and understand, and it doesn't have all of this extra, useless metadata that XML requires. For the specific purpose that bukkit is using YAML for, it works much better than XML.
     
  10. Offline

    jorks

    YAML isnt rocket science. Just take some time and read a wiki or two and 90 percent of people should be fine. If you know XML the you must be into coding to some extent so YAML should be a walk in the park.

    My advice - choose a good text editor. I use text wrangler for YAML because it makes it very hard to make mistakes.
     
  11. Offline

    solentice

    I kept my iChat plugin as default, didn't change one thing. In Permissions under each group, I defined a color under prefix only. Now when we chat ingame, it displays chat like this:
    (world) [Admins] solentice: my message
    with world in white, Admins in color, and my name and chat message in white.
     
  12. Offline

    saturnine_nl

    i use essentials chat plugin and it gives me my groupname as default suffix.
    no problems there.
     
  13. Offline

    clash

    Which iChat are you using? There are 3 versions now, I think. The old, original one from
    Nijikokun is no longer supported (as far as I know). Then there is a branch from TheYeti.
    And another by Drakia. I use the one from Drakia with no problems.
     
Thread Status:
Not open for further replies.

Share This Page