Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

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

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. Offline

    baiumbg

    Does anyone know why my server lags like hell from Permissions? I disabled all my plugins 1 by 1, until I found out that it was causing the lags. So any idea how to fix this? Group Manager doesn't cause any lags, but it isn't as perfect as Permissions.

    EDIT: And Group Manager hasn't been updated in quite a while.
    EDIT2: I have 5-10 people on my server.
    P.S. Essentials' Group Manager doesn't work for me.
     
  3. Offline

    Celtic Minstrel

    Quoting is a good first thing to try for any situation involving special characters being used in a key or value.

    There's not a lot of point in having Permissions at all if everyone is an op. That said... by making everyone an op, you give them the power to /stop the server at any time.

    Yes. Though not all errors are spacing-related.

    Don't do this. Replace 777 with 664. It's safer, and should have the same effect. Note that if you have a startup shellscript you'll need to chmod u+x it afterwards, or you could just use 764 instead of 777.

    No minecraft_server.jar; that's included in craftbukkit, remember?
     
  4. Offline

    Itssnowing

    That's weird, I haven't heard anything about lag as a result of Permissions...
    Oh! If you're going to use the Essentials GroupManager, you need two parts. This, and This. Try those and tell me how it works.

    Multiverse requires Permissions, and I'm a MV fanatic.
    And whenever I play, it's usually only myself and one other*, so even if they do /stop the server, it doesn't impact a dozen other players.

    *I usually know the person in RL, too.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  5. Offline

    baiumbg

    @Itssnowing thanks :) I had tried using the bridge in the past, and I can't remember why it didn't work. But now everything is fine - no lags, permissions work.

    EDIT: Prefixes don't work, though.
    EDIT2: And players have yellow names for some reason :confused:
    EDIT3: It doesn't work as a whole. It uses it's own configs, doesn't even look at the Permissions folder.

    Final EDIT: I am an idiot....When I looked at Permissions' configs, I saw that build was set to false....Which looked like lag. Sorry for bringing this up.
     
  6. Offline

    Itssnowing

    @baiumbg Oh, heh. I can get that ;)

    Prefix/suffixes only work if there's another plugin present, like iChat or Herochat.
     
  7. Offline

    virtualism

    Well, no. You're right. Formatting in general, then. Post edited.

    Safer, no doubt, though I'm not sure it will have the same effect. I'd personally rather just do full on permissions and be sure that isn't the issue. Regardless, post edited.

    No, i don't, but i'll take your word for it at any rate.
    I hope my post will have been of use to someone, regardless.
     
  8. Offline

    Celtic Minstrel

    I'm sure someone will find it useful... sadly, most people seem to just ignore all the posts before their own (I suppose I can't blame them really, what with 100 pages and counting).
     
  9. Offline

    Frisoso

    Thanks for this plugin, I think it is very usefull. But using this config gives me an extincive error:
    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - essentials.spawn
            - essentials.help
            - essentials.depth
            - essentials.getpos
            - essentials.compass
            - essentials.home
            - essentials.sethome
            - essentials.msg
            - essentials.afk
            - essentials.rules
            - essentials.motd
            - essentials.me
            - essentials.list
            - essentials.mail
            - essentials.helpop
            - essentials.whois
            - essentials.ping
            - essentials.suicide
            - essentials.mail.read
            - BetterShop.user.*
            - petition
            - jail.modifyjail
            - jail.command.jailcheck
            - BetterShop.user.*
            - towny.town.claim
            - essentials.kit.starter
            - essentials.kit
            - lwc.protect
            - mcmmo.commands.ability
            - mcmmo.commands.party
            - mcmmo.commands.whois
            - mcmmo.skills.*
            - iConomy.payment
            - iConomy.rank
            - iConomy.access
            - iConomy.list
            - nethrar.use
        Tier-1:
            default: false
            info:
                prefix: '&e'
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - essentials.kit.tier1
        Tier-2:
            default: false
            info:
                prefix: '&8'
                suffix: ''
                build: true
            inheritance:
            - Tier-1
            permissions:
            - essentials.kit.tier2
        Tier-3:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
            - Tier-2
            permissions:
            - essentials.kit.tier3
        Tier-4:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance:
            - Tier-3
            permissions:
            - essentials.kit.tier4
        Tier-5:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
            - Tier-4
            permissions:
            - essentials.kit.tier5
        Tier-6:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            - Tier-5
            permissions:
            - essentials.kit.tier6
        Uber-Tier:
            default: false
            info:
                prefix: '&6[Über] '
                suffix: ''
                build: true
            inheritance:
            - Tier-6
            permissions:
            - essentials.item
            - essentials.tp
            - essentials.tphere
        Moderator:
            default: false
            info:
                prefix: '&1'
                suffix: ''
                build: true
            inheritance:
            - Uber-Tier
            permissions:
            - bar.foo
            - essentials.teleport.cooldown.bypass
            - essentials.teleport.timer.bypass
            - essentials.tpo
            - essentials.tp
            - essentials.tphere
            - essentials.tpohere
            - essentials.tppos
            - essentials.ban
            - essentials.banip
            - essentials.kick
            - essentials.unban
            - essentials.unbanip
            - herochat.*
            - essentials.protect.*
            - essentials.mute
            - bb.admin.rollback
            - bb.admin.info
            - vanish.*
            - petition.moderate
            - jail.command.jail
            - jail.command.unjail
            - jail.command.jailtransfer
            - jail.command.jailtelein
            - jail.command.jailteleout
            - nocheat.notify
            - nocheat.p
            - lwc.mod
            - lockette.admin.snoop
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            - Moderator
            permissions:
            - '*'
    users:
        Frisoso:
            group: Admins
            info:
                prefix: ''
                suffix: ''
            permissions: null
        Robinbloed:
            group: Moderator
            info:
                prefix: ''
                suffix: ''
            permissions: null
        Axinnn:
            group: Moderator
            info:
                prefix: ''
                suffix: ''
            permissions: null
    
    And this is the error I get:
    Code:
    [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:136)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 2579
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:68)
        at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:117)
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanPlain(ScannerImpl.java:1569)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchPlain(ScannerImpl.java:860)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:348)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:536)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:73)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:126)
        ... 13 more
    Is there someone who could help me with this? I already tried replacing the spaces in the tier names (also the inheritance, I did thought about it :D) with "_" and "-", but that gives me the same error.

    Thanks in advance,

    Frisoso
     
  10. Offline

    Alex Berndt

    HELP! Permissions 2.5.5 wont load CB 617 log here

    Code:
    2011-04-06 20:57:26 [SEVERE] Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:105)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:63)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:101)
        ... 8 more
    Caused by: while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 86, column 1:
    
        ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:73)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:126)
        ... 13 more
     
  11. Offline

    Itssnowing

    Post your config. I believe there's a tab in it ^_^

    Could you try putting quotes around each of the group's names? You won't need it around Moderator and Admins, though.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
    Alex Berndt likes this.
  12. Offline

    Jambokid

    I'm having problems, it gives me the error but I don't know how to fix it.

    Code :

    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: '&e[&bGuest&e]&f'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.msg'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
        Moderator:
            default: false
            info:
                prefix: '&e[&aMod&e]&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - ''
        Admins:
            default: false
            info:
                prefix: '&e[&cAdmin&e]&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
     
    users:
        Jambod:
            group: Admins
            info:
                prefix: ''
                suffix: ''
            permissions:
                - '*'
    Error :

    Code:
    21:48:21 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:136)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 20, column 34:
                    - 'essentials.helpop'
                                         ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:510)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    a:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    126)
            ... 13 more
     
  13. Offline

    Itssnowing

    It's found a tab in the last permission node for the Default group. Try rewriting that line.
     
  14. Offline

    Jambokid

    I tried again and just used the spacebar, I don't know if this matters or helps. I have tried moving along with spacebar then typing and typing and then moving it along with spacebar. Still same error.
     
  15. Code:
    22:56:23 [SEVERE] java.lang.LinkageError: com/nijiko/permissions/PermissionHandl
    er
    22:56:23 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.in
    Group(NijiPermissionsResolver.java:77)
    22:56:23 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager
    .inGroup(PermissionsResolverManager.java:106)
    22:56:23 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(
    WorldGuardPlugin.java:219)
    22:56:23 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.
    onPlayerJoin(WorldGuardPlayerListener.java:313)
    22:56:23 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav
    aPluginLoader.java:169)
    22:56:23 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    22:56:23 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:255)
    22:56:23 [SEVERE]       at net.minecraft.server.ServerConfigurationManager.a(Ser
    verConfigurationManager.java:98)
    22:56:23 [SEVERE]       at net.minecraft.server.NetLoginHandler.b(NetLoginHandle
    r.java:87)
    22:56:23 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:68)
    22:56:23 [SEVERE]       at net.minecraft.server.Packet1Login.a(SourceFile:46)
    22:56:23 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:198)
    22:56:23 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:34)
    22:56:23 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :87)
    22:56:23 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:368)
    22:56:23 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:283)
    22:56:23 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:375)
    22:56:23 [SEVERE] java.lang.LinkageError: com/nijiko/permissions/PermissionHandl
    er
    22:56:23 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.in
    Group(NijiPermissionsResolver.java:77)
    22:56:23 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager
    .inGroup(PermissionsResolverManager.java:106)
    22:56:23 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(
    WorldGuardPlugin.java:219)
    22:56:23 [SEVERE]       at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.
    onPlayerJoin(WorldGuardPlayerListener.java:317)
    22:56:23 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav
    aPluginLoader.java:169)
    22:56:23 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    22:56:23 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:255)
    22:56:23 [SEVERE]       at net.minecraft.server.ServerConfigurationManager.a(Ser
    verConfigurationManager.java:98)
    22:56:23 [SEVERE]       at net.minecraft.server.NetLoginHandler.b(NetLoginHandle
    r.java:87)
    22:56:23 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:68)
    22:56:23 [SEVERE]       at net.minecraft.server.Packet1Login.a(SourceFile:46)
    22:56:23 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:198)
    22:56:23 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:34)
    22:56:23 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :87)
    22:56:23 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:368)
    22:56:23 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:283)
    22:56:23 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:375)
    
    ============================================================================
    
    23:00:44 [SEVERE] Could not pass event PLAYER_QUIT to CraftIRC
    java.lang.LinkageError: com/nijiko/permissions/PermissionHandler
            at com.ensifera.animosity.craftirc.CraftIRC.getPermPrefix(CraftIRC.java:
    781)
            at com.ensifera.animosity.craftirc.RelayedMessage.asString(RelayedMessag
    e.java:125)
            at com.ensifera.animosity.craftirc.RelayedMessage.asString(RelayedMessag
    e.java:71)
            at com.ensifera.animosity.craftirc.CraftIRC.sendMessage(CraftIRC.java:38
    0)
            at com.ensifera.animosity.craftirc.CraftIRCListener.onPlayerQuit(CraftIR
    CListener.java:90)
            at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.ja
    va:175)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:121)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:504)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:202)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    bukkit 617, mc 1.4_01
    Edit: It's just a selection from this kinda error messages - a lot of other plugins seem to be affected too.
     
  16. Offline

    Frisoso

    I did so, first only around the tiers, then also the inheritants, then also default and inheritants, and then also moderator and admin and inheritants. Didnt make any difference :C Someone else have an idea?
     
  17. Offline

    Itssnowing

    Huh. Could you check the end of the line? It might be there :S
     
  18. Offline

    Jambokid

    Lol, it actually was , Thanks alot ! Why would the cursor have an effect, lol. Thanks :)
     
  19. Offline

    David PRitchett

    I really wish there was a way to search within a thread! 100 pages is daunting, for sure. I'm almost positive the answer to this probably exists -somewhere- in this thread.

    I am currently running a server and I'm the only op.

    I want to add one admin... with the ability to whitelist people. I don't want this user to be able to /tp /time or /give.

    Is this possible?

    Thanks so much!

    d.
     
  20. Offline

    Manbeast77

    Use essentials, as much as I hate it, it will do what you want. All you have to do is edit the config to what you want people to have/not have.
     
  21. Offline

    Alex Berndt

    Indeed I found the culprit, thanks very much your a lifesaver with lots of patience for Idiot noobs like myself :p
     
  22. Offline

    bejay

  23. Offline

    Incendia

  24. Offline

    Itssnowing

    Haha, no problem! Good to know it's fixed ^_^

    The cursor? whaaa? XD

    No, sorry :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  25. Offline

    Jambokid

    I just clicked on the line and the cursor was a tab along, lol. I'm having another problem :( It won't let me build as Player, Moderator or even Admin (I took myself off the ops list to test all groups).

    Code :

    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: '&e[&bGuest&e]&f'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.msg'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.rules'
        Player:
            default: false
            info:
                prefix: '&d'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.afk'
                - 'essentials.nick'
                - 'essentials.kit'
                - 'essentials.kit.*'
                - 'essentials.help'
                - 'essentials.msg'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.rules'
    
        Moderator:
            default: false
            info:
                prefix: '&e[&aMod&e]&f'
                suffix: ''
                build: true
            inheritance:
            - Player
            permissions:
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'essentials.top'
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.teleport.cooldown.bypass'
                - 'essentials.teleport.time.bypass'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tpohere'
                - 'essentials.tpahere'
                - 'essentials.warp.list'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.me'
                - 'essentials.whois'
                - 'essentials.clearinventory'
                - 'essentials.ban'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.togglejail'
                - 'essentials.jails'
                - 'essentials.item'
                - 'essentials.suicide'
    
        Admins:
            default: false
            info:
                prefix: '&e[&cAdmin&e]&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        Jambokid:
            group: Default
            info:
                prefix: ''
                suffix: ''
            permissions:
                - '*'
    I get no error or nothing in the console.

    I'm a complete noob and I really appreciate your help :)

    Note: It says I'm as Default, but I was just testing with all groups so I could give as much info as possible :)

    I'm running build #651 if that helps :)
     
  26. Offline

    Jack Bartlett

    Big issues here...iChat is on, but will not work. Permissions is on, but will not work..It loads but this is the error I get
    [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:652)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:64)
    at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:345)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:156)
    at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:117)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:359)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-06 18:21:31 [INFO] [§f] KravenT0xic§f: ...
    iChat should of used &4 (DarkRed) for mine.
    Here is my config
    groups:
    Guest:
    default: true
    info:
    prefix: '&f'
    suffix: '&f'
    build: false
    inheritance:
    permissions:

    Villager:
    default: false
    info:
    prefix: '&7'
    suffix: '&7'
    build: true
    inhertitance:
    - Guest
    permissions:
    - 'warp.to.own
    '
    - 'warp.to.invited'
    - 'warp.to.other'
    - 'warp.to.global
    '
    - 'warp.sign.own
    '
    - 'warp.sign.invited'
    - 'warp.sign.other'
    - 'warp.sign.global
    '
    - 'warp.create.private'
    - 'warp.create.public'
    - 'warp.create.global'
    - 'wolfpound.use
    '
    - 'supplysign.access'
    Donator:
    default: false
    info:
    prefix: '&2'
    suffix: '&2'
    build: true
    inheritance:
    - Villager
    permissions:
    - 'warp.to.own
    '
    - 'warp.to.invited'
    - 'warp.to.other'
    - 'warp.to.global
    '
    - 'warp.sign.own'
    - 'warp.sign.invited'
    - 'warp.sign.other'
    - 'warp.sign.global'
    - 'warp.create.private'
    - 'warp.create.public'
    - 'warp.create.global'
    - 'spawnlist.item'
    - 'locker.lockinfo'
    - 'locker.lock.self'
    - 'locker.lock.other'
    - 'locker.unlock.self'
    - 'locker.unlock.other'
    - 'locker.view.self
    '
    - 'locker.view.other
    '
    - 'locker.nolimit'
    - 'invtools.allowtools
    '
    - 'magiccarpet.mc'
    - 'supplysign.access'
    - 'worldedit.navigation.thru'
    - 'worldedit.navigation.jumpto
    '
    - 'worldedit.tool.tree'
    - 'worldguard.region'
    - 'wolfpound.use
    '
    - 'wolfpound.adopt'
    - 'signColours.*
    '
    Moderators:
    defualt: false
    info:
    prefix: '&1 The Godly'
    suffix: '&1'
    build: true
    inheritance:
    - Donator
    permissions:

    - 'backup.canbackup'
    - 'spawnlist.item'
    - 'spawnlist.canspawnanything'
    - 'spawnlist.spawnlisted'
    - 'spawnlist.reload
    '
    - 'spawnlist.give'
    - 'ichat.colour
    s'
    - 'locker.lockinfo
    '
    - 'locker.lock.self'
    - 'locker.lock.other
    '
    - 'locker.unlock.self
    '
    - 'locker.unlock.other'
    - 'locker.view.self
    '
    - 'locker.view.other
    '
    - 'locker.nolimit
    '
    - 'invtools.allowtools
    '
    - 'invtools.allowarmor
    '
    - 'wolfpound.create
    '
    - 'wolfpound.use
    '
    - 'wolfpound.adopt'
    - 'jail.command.jailcreate
    '
    - 'jail.command.jaildelete'
    - 'jail.command.jail
    '
    - 'jail.command.unjail'
    - 'jail.command.jailtransfer'
    - 'jail.command.jailtransferall
    '
    - 'jail.command.jailcheck'
    - 'jail.command.jailtelein
    '
    - 'jail.command.jailteleout
    '
    - 'jail.command.jaillist'
    - 'jail.command.unjailforce
    '
    - 'jail.command.jailclear'
    - 'jail.command.jailclearforce'
    - 'jail.command.jailbackup'
    - 'jail.usercmd.jailstatus'
    - 'vanish.vanish
    '
    - 'magiccarpet.mc'
    - 'godmode.command.godself'
    - 'godmode.default.noFire
    '
    - 'mcbans.kick'
    - 'mcbans.lookup'
    - 'mcbans.unban
    '
    - 'mcbans.ban.temp
    '
    - 'mcbans.ban.local
    '
    - 'mcbans.ban.global
    '
    - 'mcbans.ban.view
    '
    - 'mcbans.reload'
    - 'mcbans.mod'
    - 'permissions.reload'
    - 'supplysign.create'
    - 'supplysign.access
    '
    - 'supplysign.destroy'
    - 'supplysign.reload
    '
    - 'signColours.*'
    - 'worldedit.*'
    - 'worldguard.locate
    '
    - 'worldguard.region
    '
    - 'warp.admin.give
    '
    - 'warp.admin.invite'
    - 'warp.admin.uninvite'
    - 'warp.admin.delete
    '
    - 'warp.admin.message'
    - 'warp.admin.update'
    - 'warp.admin.to.all'
    - 'warp.admin.private'
    - 'warp.admin.public
    '
    - 'warp.admin.global'
    - 'warp.admin.reload'
    - 'warp.admin.convert'
    - 'warp.admin.export
    '
    - 'warp.admin.editors.remove'
    - 'warp.admin.editors.add
    '
    - 'warp.admin.warp.others'
    - assignpermissions.add.group
    - assignpermissions.del.group
    - assignpermissions.list.all
    - assignpermissions.list.group
    Admins:
    default: false
    info:
    prefix: '&4'
    suffix: '&4'
    build: true
    inheritance:
    permissions:
    - '*'
    users:
    KravenT0xic:
    group: Admins
    kcollins420:
    group: Donator
    Ninja_Storm:
    group: Villager
    Nibbzzeh:
    group: Moderator
    Xfearx:
    group: Donator
    Performance:
    group: Villager
    tiki21898:
    group: Villager
    pieworshipper:
    group: Villager
    My_Cute_Penguin:
    group: Villager
    Jayden_booth:
    group: Villager
    Siknesselite:
    group: Villager
    xXSquirrelXx:
    group: Villager
     
  27. Offline

    Itssnowing

    @Jambokid I don't see anything that would stop you from building.. You could try giving yourself a Build: node. (After Prefix and Suffix, indented to the same level, set to true.)
     
  28. Offline

    Jambokid

    @Itssnowing

    Thanks, I tried still didn't work. I removed all my plugins and tried it but it still didn't work, so it's definitely something to do with Permissions. :confused:

    I just tried using the recommended build, #617 but still no luck :(
     
  29. Offline

    x3no

    I'm getting "Invalid config file found and converted to proper name/format.", after that it loads normal.

    CB617 and latest MCserver... i checked the config and referenced with the original config a few times now, i can't find anythins wrong. :(

    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.list'
                - 'essentials.compass'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.whois'
                - 'essentials.spawn'
                - 'essentials.ping'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'stats.log'
                - 'stats.view.own'
                - 'stats.view.others'
                - 'stats.view.playtime'
                - 'AutoRepair.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        Admin:
            group: Admins
            permissions:
        OtherUsers:
            group: Default
            permissions:
    "Admin" is myself and "OtherUsers" is the normal User config. Using permissions for a few month now.
     
  30. Offline

    Dark Nero

    Can anyone help me please?
    I am having the same trouble as most here.

    I am using the up to date iChat and Premissions for Craftbukkit 1.4
    But my problem is my server will not show names correctly anymore.
    It just shows up as

    <Nero> Text Here

    What should I do to revert back to

    [Admin] Nero: My Text Here

    Should I be using another Plugin?

    Text demo

     
  31. Offline

    Jambokid

    @Dark Nero

    I might be able to help if you post the iChat - config.yml and the permissions config :confused:
     
Thread Status:
Not open for further replies.

Share This Page