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

    Zerco

    I'm fairly certain you can't use the format - '/somepermission' it needs to be a set node, something like - 'essentials.*' or something of the like, not a single / command.
     
  3. Offline

    Cookies326

    Turns out the General plugin can't detect Permission nor Group manager but can only detect WorldEdit permission. Thanks a lot for helping.
     
  4. Offline

    Zerco

    Anytime just poke me and I'll try to help :D
     
  5. Offline

    RugRats

    Could not pass event BLOCK_BREAK to permissions. 714 and 2.7.
     
  6. Offline

    Techcuron

    Is Permissions 2.7 ready for 1.5? Because it dose not work for me at all since the update....
    I guess it is not update, time to wait....
     
  7. Offline

    Celtic Minstrel

    Um, what? General can detect Permissions directly as well, as long as you tell it to.

    Permissions 2.7 works in 1.5.
     
  8. Offline

    Cookies326

    Ohh Thank You very much, did not notice that. lol. Thanks a lot.
     
  9. Offline

    Malkierian

    Yes, I've seen something like that around before, but it's nothing permissions can handle. There are specific nodes for those commands you gave mods. Look them up in the command reference on the Essentials wiki.
     
  10. Is there a way to Add User to groups without editing the Config manually?
     
  11. Offline

    DiamondCraft

    I'm going to use Permissions with the IconomyChestShop and was wondering what i would put in permissions (if thats the right place). Sorry if this has been asked before but just looking for some help!
     
  12. Offline

    Flo_White

    can anyone help me? I'm using the standart permissions file, renamed it and changed the usernames. But when i try to destroy a block it appears again :s
    no errors in the serverlog

    EDIT: i can't even hit sheeps, open chests.... ok it doesnt even work without it :S
    Edit2: i figured it out, that the singleplayercommands will f*** up the multiplayer
     
  13. Offline

    HaleServer

    sorry but im pretty confused, would you mind explaning that again? thanks :)
     
  14. Offline

    Maxis010

    Plugins that use permissions designate nodes

    Example
    /command1 is assigned to plugin.node1
    /command2 is assigned to plugin.node2

    This is only an example, check the plugins OP for a complete list of plugin nodes and how they are used
     
  15. i have now :
    - 'essentials.*'
    but i want to disable Give / I / Item
    is it possible without putting all commands in it?
     
  16. Offline

    SimplisticX2

    Does this work in 714, because i have set it up in 714 and it doesn't work, just making sure it not me?
     
  17. Offline

    HaleServer

    well i copy and pasted the nodes from essentials but the nodes for essentials dont work?!!

    oh
    and by the way i think you can do singlle commmands..u can on my tut

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

    Marcus101RR

    How do I control the commands each group can use? Such as mods can use kick, give, spawn?
     
  19. Offline

    villadsenk

    my permissions don't work, it does not give me all the commands with the - '*' and it and i cant add em manually any help
     
  20. Offline

    Ryuuzaki

    Hi,

    great work. It it possible to link permissions with a mysql db, maybe in the next version? This would be awesome. So its easyer to administrate the permission. I imagine 2 tables: 1 for groups and 1 for user.
     
  21. Offline

    Celtic Minstrel

    If you want to give mods basic vanilla Minecraft commands (the ones that are available even without a plugin), then use my DefaultPermissions plugin. Otherwise, check the thread for the plugin that gives the command; it will tell you what to put in the config for each command.
     
  22. Offline

    Truecorruptor

    So it was working great evan with a newer verison of bukkit. But then all the sudden this happens and it doesnt work. One i got rid of the first few it went on and on with simple things like a - or a A. It doesnt want to read any of the writing. The only thing that i would think would interfere would be ichat but thats for clor coded names. I could really use some ones help on this bacause my server would fall apart...And it was working on 714, it just stopped randomly

    Heres the error:

    2011-04-23 17:11:33 [INFO] Starting minecraft server version Beta 1.5_02
    2011-04-23 17:11:33 [INFO] Loading properties
    2011-04-23 17:11:33 [INFO] Starting Minecraft server on 192.168.2.150:25565
    2011-04-23 17:11:33 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-686-g71ef92a-b714jnks (MC: 1.5_02)
    2011-04-23 17:11:33 [INFO] Preparing level "world"
    2011-04-23 17:11:33 [INFO] Preparing start region
    2011-04-23 17:11:34 [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:160)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while scanning an anchor
    in "<reader>", line 193, column 22:
    prefix: '&4[&4Admins&4]&f'
    ^
    expected alphabetic or numeric character, but found [(91)
    in "<reader>", line 193, column 24:
    prefix: '&4[&4Admins&4]&f'
    ^
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1164)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAnchor(ScannerImpl.java:794)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:317)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:508)
    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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
    ... 13 more
    2011-04-23 17:11:34 [INFO] [WormholeXTreme][v0.833][By Lologarithm & alron]Load Beginning.
    2011-04-23 17:11:34 [INFO] [WormholeXTreme]4 Wormholes loaded from WormholeDB.
    2011-04-23 17:11:34 [INFO] [WormholeXTreme][v0.833]Load Completed.
    2011-04-23 17:11:34 [INFO] [AdminCmd] (version 4.5) Enables without Permissions.
    2011-04-23 17:11:34 [INFO] [AdminCmd] Instead of Permissions, check if the user is OP.
    2011-04-23 17:11:34 [INFO] CraftBookCommon 3.0-alpha2 enabled.
    2011-04-23 17:11:34 [INFO] CraftBookCommon: No known permissions plugin detected. Using configuration file for permissions.
    2011-04-23 17:11:34 [INFO] CraftBookMechanisms 3.0-alpha2 enabled.
    2011-04-23 17:11:34 [INFO] CraftBookMechanisms: No known permissions plugin detected. Using configuration file for permissions.
    2011-04-23 17:11:34 [INFO] 1 cauldron recipe(s) loaded
    2011-04-23 17:11:34 [INFO] HomeX enabled
    2011-04-23 17:11:34 [INFO] Permission system not detected, defaulting to OP
    2011-04-23 17:11:34 [INFO] iChat (v2.2.3) enabled
    2011-04-23 17:11:34 [INFO] [iConomy] Logging is currently disabled.
    2011-04-23 17:11:35 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    2011-04-23 17:11:35 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    2011-04-23 17:11:35 [SEVERE] [mcMMO] Permissions isn't loaded, there are no restrictions.
    2011-04-23 17:11:35 [INFO] mcMMO version 0.9.29 is enabled!
    2011-04-23 17:11:35 [INFO] §ePermissons not detected - defaulting to OP!
    2011-04-23 17:11:35 [INFO] Money2XP version 0.1.5 is enabled!
    2011-04-23 17:11:35 [INFO] [PlugMan] Starting Up! - Version: 1.3 by bekvon
    2011-04-23 17:11:35 [INFO] [PlugMan] Permissions Plugin NOT Found, using OP!
    2011-04-23 17:11:35 [INFO] [RealShop] Uses built-in RealEconomy (/mny commands) as economy system
    2011-04-23 17:11:35 [INFO] [RealShop] version [0.593] (tickleman) loaded
    2011-04-23 17:11:35 [INFO] [rTriggers] Loaded: Version 1.4
    2011-04-23 17:11:35 [INFO] SpawnX enabled
    2011-04-23 17:11:35 [INFO] Permission system not detected, defaulting to OP
    2011-04-23 17:11:35 [INFO] [uQuest] Loaded with Flatfile!
    2011-04-23 17:11:35 [INFO] [uQuest] v1.12 enabled! With 53 quests loaded!
    2011-04-23 17:11:35 [INFO] [uQuest] Successfully linked with iConomy.
    2011-04-23 17:11:35 [INFO] WorldEdit 4.3 enabled.
    2011-04-23 17:11:35 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-04-23 17:11:35 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    2011-04-23 17:11:35 [INFO] WorldGuard: (world) Single session is enforced.
    2011-04-23 17:11:35 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-04-23 17:11:35 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-04-23 17:11:35 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-04-23 17:11:35 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-04-23 17:11:35 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-04-23 17:11:35 [INFO] WorldGuard: 9 regions loaded for 'world'
    2011-04-23 17:11:35 [INFO] WorldGuard 5.0-alpha9 enabled.
    2011-04-23 17:11:35 [INFO] [WormholeXTreme][v0.833]Enable Beginning.
    2011-04-23 17:11:35 [INFO] [WormholeXTreme]Permission Plugin not yet available. Defaulting to built-in permissions until Permissions is loaded.
    2011-04-23 17:11:35 [INFO] [WormholeXTreme]Attached to iConomy version 4.65
    2011-04-23 17:11:35 [INFO] [WormholeXTreme]Help Plugin not yet available - there will be no Help integration until loaded.
    2011-04-23 17:11:35 [INFO] [WormholeXTreme][v0.833]Enable Completed.
    2011-04-23 17:11:35 [INFO] Done (0.221s)! For help, type "help" or "?"
    2011-04-23 17:11:40 [SEVERE] [uQuest] Permissions is not loaded. Turning Permissions support off.
    2011-04-23 17:11:40 [SEVERE] [uQuest] If this is not correct, change the config 'pluginTimerCheck' to a higher value.
    2011-04-23 17:11:43 [INFO] Stopping the server..
    2011-04-23 17:11:43 [INFO] CONSOLE: Stopping the server..
    2011-04-23 17:11:43 [INFO] Stopping server
    2011-04-23 17:11:43 [INFO] [AdminCmd] Plugin Disabled. (version4.5)
    2011-04-23 17:11:43 [INFO] HomeX disabled
    2011-04-23 17:11:43 [INFO] [iChat] iChat Disabled
    2011-04-23 17:11:43 [INFO] [iConomy] Plugin disabled.
    2011-04-23 17:11:43 [INFO] [WormholeXTreme]Detached from iConomy plugin.
    2011-04-23 17:11:43 [INFO] mcMMO was disabled.
    2011-04-23 17:11:43 [INFO] Money2XP disabled.
    2011-04-23 17:11:43 [INFO] [PlugMan] Shutting Down!
    2011-04-23 17:11:43 [INFO] [RealShop] version [0.593] (tickleman) un-loaded
    2011-04-23 17:11:43 [INFO] [rTriggers] Disabled!
    2011-04-23 17:11:43 [INFO] SpawnX disabled
    2011-04-23 17:11:43 [INFO] [Hawox uQuest] Saving all players quests to file...
    2011-04-23 17:11:43 [INFO] [Hawox uQuest] Done saving.
    2011-04-23 17:11:43 [INFO] [uQuest] disabled!
    2011-04-23 17:11:43 [INFO] WorldGuard 5.0-alpha9 disabled.
    2011-04-23 17:11:43 [INFO] WorldGuard: (world) Single session is enforced.
    2011-04-23 17:11:43 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-04-23 17:11:43 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-04-23 17:11:43 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-04-23 17:11:43 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-04-23 17:11:43 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-04-23 17:11:43 [INFO] [WormholeXTreme]WormholeDB shutdown successfull.
    2011-04-23 17:11:43 [INFO] [WormholeXTreme][v0.833]Successfully shutdown.
    2011-04-23 17:11:43 [INFO] Saving chunks
    2011-04-23 17:11:43 [INFO] Stopping server
     
  23. Offline

    RegaIia

    Those last two things are your problem. Download Notepad++ here: http://notepad-plus-plus.org/download open your permissions, scroll down to like 193, and look at the 22 and 24 character. Remember the basic rules about spaces and tabs and you should be fine. If you want to upload your permissions I can look at it that way too
     
  24. Offline

    Truecorruptor

    Except i didnt change any spaces or use any tabs, im pretty careful about that kinda stuff... But r you sure its about format?
     
  25. Offline

    RegaIia

    No, it's two errors on line 193. It's just a pain in the neck to count down to line 193 in notepad and notepad++ numbers them for you. Notepad++ is better to work with for all of these plugins anyway
     
  26. Offline

    DioZero

    use permissionsplus, i don't know if it's updated yet xS but i used it xP
     
  27. Offline

    RegaIia

    Woh, you changed your post up, I didn't notice till now. And yes, that's what the server log is reporting as an error. There's an unexpected character at line 193 character 22 and 24
     
  28. Offline

    Truecorruptor

    Ummmm, except there is no format error, i checked it lines up how it is suppose to, only spaces, and its lined up with all the other things. And it is pointing at the p which shouldnt be an error. I really wanns fix this as soon as possible
     
  29. Offline

    RegaIia

    Delete the line and retype it. It is literally telling you that there is an error at line 193. I had something similar early on and I just retyped it and found that there was a tab where there shouldn't have been and it looked exactly like yours. It doesn't hurt to retype it and you might find something you missed just by looking
     
  30. Offline

    Truecorruptor

    Tryed re typing it, there is still an error
     
  31. Offline

    tom

    Yes, simply get the node for spawning items and arrange it like this:

    - '-ItemSpawn.Essentials'

    The '-' inside the ' ' will remove that ability from the group/user.
     
Thread Status:
Not open for further replies.

Share This Page