Inactive [ADMN] PermissionsHelper v1.0.3 - Generate a pastable permissions node list every reload [1185]

Discussion in 'Inactive/Unsupported Plugins' started by coolblinger, Aug 8, 2011.

  1. Offline

    coolblinger

    PermissionsHelper - Generate a pastable permissions node list every reload
    Version 1.0.3 | Download | GitHub
    Requested by @undeadmach1ne (original thread)

    PermissionsHelper generates a pastable list of permissions nodes, to make up for the lack of '*' permissions. This will only work if the plugins support SuperPerms, because it will pull the nodes from the plugin.yml files.

    Features:
    • Automatically generate and update a list of permissions nodes.
    Usage:
    The plugin will create the list automatically every reload, approximately thirty seconds after the plugin loads to prevent delaying other plugins.

    Tutorial video by @JoelDaMole789


    Changelog:
    Version 1.0.3
    • Made it compatible with the latest CraftBukkit build.
    Version 1.0.2
    • Added a list of plugins that did not have permissions nodes included
    Full changelog (open)
    Version 1.0.3
    • Made it compatible with the latest CraftBukkit build.
    Version 1.0.2
    • Added a list of plugins that did not have permissions nodes included
    Version 1.0.1
    • Added a dash in front of each permissions node
    Version 1.0
    • Initial release
    Got a feature requests or found bugs? Please post them to GitHub.
     
    DirkHBo, flames, Gonera and 3 others like this.
  2. Offline

    coolblinger

    Thank you. :)
     
  3. Offline

    thetank332

    This is what my list file says
    #Plugins that don't have any included permissions nodes:
    #Announcer
    #Backup
    #BOSEconomy
    #BukkitContrib
    #ColoredSigns
    #CraftBookCommon
    #CraftBookCircuits
    #CraftBookMechanisms
    #CraftBookVehicles
    #EpicZones
    #Essentials
    #FlatLands
    #iConomy
    #iConomyChestShop
    #Jail
    #KiwiAdmin
    #Lockette
    #MCOverhaul
    #MobSpawn
    #MoveCraft
    #MyHome
    #NiftyWarp
    #nSpleef
    #Permissions
    #Permissions
    #PermissionsHelper
    #PlgSetspawn
    #pvparena
    #Silence
    #SimpleTime
    #TeleportRequest
    #TNTWarner
    #WirelessRedstone
    #WorldEdit
    #WorldGuard
    #xAuth
    #iChat
    #MobArena
     
  4. Offline

    coolblinger

    That'd mean none of your plugins have listed their nodes in their plugin.yml files.
     
  5. Offline

    Deklin

    I think this no longer works with the dev build of craftbukkit 1.8 as of 9/21 It worked with 9/20 and 9/19 etc.. but not today.

    no method
    org.bukkit.plugin.PluginDescriptionFile.getPermissions()
     
  6. Offline

    coolblinger

    I'll take a look at it when I get back home. :)

    EDIT: There's probably something wrong with your CraftBukkit build, since the method's still in the latest source.

    Code:java
    1. public List<Permission> getPermissions() {
    2. return permissions;
    3. }
     
  7. Offline

    Deklin

    Possibly, I just updated to 1185 now and will see if it works (loading right now)


    No it still fails on the release build

    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/arrayList at
    me.coolblinger.permissionhelper.PermissionsHelper.generatePermissionsList(PermissionHelper.java:45)
     
  8. Offline

    coolblinger

    I'm getting the same error, but the method's still present in the source. I'm not sure why this is happening.

    EDIT: I've found the problem, they've changed the 'getPermissions()' method to return a 'List<Permission>', instead of an 'ArrayList<Permission>'. I'll upload a working version in a second.

    I've uploaded version 1.0.3, which should fix the incompatibility issue.

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

    netraameht

    I like it! PuTTY works great with it!
     
  10. Offline

    coolblinger

    Too bad there aren't a lot of plugins who are following the standards, and put their nodes in their plugin.yml files.
     
  11. Offline

    Celtic Minstrel

    ...you have no clue what you are talking about. PuTTY is nothing to do with anything; it's just a terminal designed for ssh connections.
    Too bad you're assuming permissions must be registered in the plugin.yml. Sometimes it's literally not possible.
     
  12. Offline

    coolblinger

    Too bad there's no easy way to fetch a plugin's permissions.
     
  13. Offline

    netraameht

    Gosh, I mean that you can work with the nice Copy/Paste system from PuTTY, and with the cat and vi command from linux its PERFECT... -__-

    If they don't, I do it! Then I give it to my friends!

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

    coolblinger

    Are you going to open random plugin jars, edit their plugin.yml file and redistribute them? :eek:
     
  15. Offline

    Celtic Minstrel

    Fair enough. If you understand vi, I'll take back that previous comment. I hate vi myself; prefer nano or emacs.

    There's something like PluginManager.getAllPermissions(), though granted that doesn't allow you to see what plugin defined them.
     
  16. Offline

    coolblinger

    Is there? I'll look into that. And there's probably a Permission.getPlugin() method or something similar, thank you. :p
     
  17. Offline

    moeyoko

    me noob (and lazy) thx and it wont work on my 1.8.1 server will it :(
     
  18. Offline

    coolblinger

    It should work.
     
  19. Offline

    moeyoko

    could it be one of the other plugins
     
  20. Offline

    WhosDaMan

    Life...saver!
     
  21. Offline

    coolblinger

    It is? I considered this as a failed experiment. :p Especially considering PEx has built in support for wildcard permissions.
     
  22. Offline

    lordenki13

    Hey can you make a version of it where it automatically sets up permissions for some plugins like Mcmmo, Heroes, Iconomy, and wormholextreme
     
  23. Offline

    coolblinger

    No, I'm sorry. I've lost interest in Minecraft a few months ago. :)
     
  24. Offline

    sniddunc

    verry nice, its title suis it it certainely does help!!:D
     
  25. Offline

    ImDuhBatMaN

    Can you update the download link?
     
  26. Offline

    coolblinger

    Oh, yeah, I deleted the files from my Dropbox. I'll reupload them although I don't see any reason to use this plugin. :) The source fules are here, in case you do have JDK and Maven installed.

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

    Liam699

    Agreed, I want Permissions support
     
  28. Offline

    Celtic Minstrel

    Permissions support would be redundant since the list you get wouldn't work with it anyway.
     
  29. Offline

    coolblinger

    Indeed, these are SuperPerms nodes.
     
  30. Offline

    noonzark

    OMFG now every one on my server wont complane hey this is gay i dont have permission to do this. Even tho iv added the permission node i did not think i dont it right maybe miss spelt it thx tho plugin of the week lol
     
  31. Offline

    Acars

    haha thanks for that little tip... For some reason i cant find superperms ive looked for a while and still nothing. May i get a link? thanks in advance
     

Share This Page