Inactive [ADMN/SEC] bPermissions v2.9.2 - no support on this post, ask for support on bukkitdev [1.2.5]

Discussion in 'Inactive/Unsupported Plugins' started by codename_B, Jul 21, 2011.

  1. Offline

    codename_B

    kahlilnc, Lappy, Gobiel and 4 others like this.
  2. Offline

    codename_B

    Just op them.

    so bPermissions 1.2 is out - this will need a complete config file rewrite I'm afraid (importing old configs is not supported yet, so you can wait to update if you prefer)

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

    Retricide

    It doesn't look like a /promote command was added. Was it? Will it be added in the next version (with multi-tracks / ranks)?
     
  4. Offline

    codename_B

    Erm... we have multigroup now. How would a /promote command work?
    I added the things I could figure out.

    On the up side I added an API, so if you wanted to write a /promote command plugin you now can!
     
  5. Offline

    Retricide

    Oh! Well, thank you for adding multi group, really wanted it.

    For promotion, i was thinking ladders, like how permissions 3.0x did it.
    Groupmanager also had a promotion system then worked well. It was inheritance based.
    Here's my suggestion thread explaining my idea :p
     
  6. Offline

    codename_B

    Would it be alright if I added promotion into a seperate plugin then?
     
    Mrlovecraft likes this.
  7. Offline

    Retricide

    It'd be fantastic! :p
    I look forward to seeing it.
     
    Mrlovecraft likes this.
  8. Offline

    codename_B

    Hope you're not in any hurry to get it :p I have some other things to attend to first, namely fixing the wierdest NPE I've ever seen in my life.
     
  9. Offline

    obnoxint

    Hmmm... either I suffer from bad documentation again or I'm simply an idiot.
    On my testingserver i added a permission with the addnode command option. The world.yml now looks like this:
    Code:
    default: default
    players:
        obnoxint:
        - default
    groups:
        default:
        - WelcomeGift.receivegift
    But when i check the permission with
    Code:
    .hasPermission("WelcomeGift.receivegift")
    it always returns false. What do I overlook?

    I restarted the server several times and double checked the spelling. The plugin.yml doesn't contain the permissions: entry like some other plugins also don't. I'm starting to get jealous and angry (jeangry?) when I see everyone's else setup seems to be working. I'm thankful for every small hint because i really want to drop support for the old permissions.
     
  10. Offline

    oglop

    why there are sooomany "same" plugins? permissions, PEX, and this one and also another.. why you can't just joinn together and make a good plugin ... now it's so confusing bcz I can't choose and what will be better
    thx
     
  11. Offline

    Mrlovecraft

    This would be fantastic. The only thing this plugin needed in a update was multi-world support and promotion limitations imo. A seperate plugin would be sweet- also where would a noob go to learn how to hook in to your api. :D
    I would love to start to learn some of the back end of these plugins im using everyday. I hate being all "it doesn't work like i want fix it plox!! and for phree! ntoday too!" ** FOUND IT ** http://forums.bukkit.org/threads/how-to-make-a-plugin-d.441/

    I know you just HAD to change the nice looking config's didn't you. :(
     
  12. Offline

    Tauryuu

    @codename_B I'm getting this problem too. The only way I could use the permissions is if I'm oped.

    Also, /permissions global addgroup mod doesn't do anything. Is global support not working?
     
  13. Offline

    codename_B

    Hi, version 1.2 is needing testing and the only way for me to test is in production, so I will get this fixed for you today. Did you /permissions reload after adding the node?
    Hi, global support is working but there's likely a config.save(); I've forgotten somewhere.
    Tbh I've kept the configs looking reasonably nice, just spacing is needed to differentiate things eh. Did you /permissions reload after adding the node?

    EDIT: I've uploaded a new version, that has auto-reloading for the world once you change things. Would anyone be willing to help me out by giving this one a try? :)
     
  14. Offline

    trevornida95

    can someone make a vid on how to set this up plz?
    and is this the same a permissions plugin 3.x?
     
  15. Offline

    Sayshal

    This almost makes me want to switch to bPermissions right now.. Still waiting to see if some of my plugins will support it.
     
  16. Offline

    Gobiel

    What about inheritance in the new 1.2 version ? Great plugin btw :) (the only superperms plugin working in multiworld, for me...)
     
  17. Offline

    obnoxint

    @codename_B:
    thank you for your response. I tried the /p reload command afterwards but it still doesn't work.
    I won't pressure you but can i securely release the plugin?
    Thanks again and go on with your great work. I love the concept.
     
  18. Offline

    Syntaxlb

    I don't understand... I need to use BukkitPermissions for use bPermissions or not ?
     
  19. Offline

    Sayshal

    This is the equivalent of PermissionsPlus for Bukkits included permissions support.
     
  20. Offline

    codename_B

    Look - tracks!
    http://forums.bukkit.org/threads/ad...promotion-tracks-for-bpermissions-1060.33154/
    Can you redownload? I added a few major fixes. Also, look - tracks!
    http://forums.bukkit.org/threads/ad...promotion-tracks-for-bpermissions-1060.33154/
    bPermissions is its own plugin, and is an alternative to BukkitPermissions.
    Look - tracks :D
    http://forums.bukkit.org/threads/ad...promotion-tracks-for-bpermissions-1060.33154/

    Ermm, inheritance is gone in favour of multigroup.

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

    Syntaxlb

    Ok, and it's work bPermissions + SuperPermBridge ?

    EDIT: arf, don't work when i write /permissions reload

    Code:
    2011-08-23 14:07:54 [INFO] [bPermissions] Setup world:worldof
    2011-08-23 14:07:54 [INFO] [bPermissions] Setup world:worldof_nether
    2011-08-23 14:07:54 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin bPermissions v1.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at de.bananaco.permissions.SuperPermissionHandler.unsetupPlayer(SuperPermissionHandler.java:35)
        at de.bananaco.permissions.worlds.WorldPermissions.setupPlayers(WorldPermissions.java:197)
        at de.bananaco.permissions.worlds.WorldPermissions.reload(WorldPermissions.java:61)
        at de.bananaco.permissions.worlds.WorldPermissionsManager.addAllWorlds(WorldPermissionsManager.java:40)
        at de.bananaco.permissions.Permissions.onCommand(Permissions.java:92)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 6 more
     
  22. Offline

    codename_B

    No, if you include the SuperPerms bridge then this plugin will do that.
    This plugin has a BUILT IN bridge.
     
  23. Offline

    Syntaxlb

    Hmm ok, i have delete SuperPermsBridge, but again the same error when i reload bPermissions (/p reload | /permissions reload). But permissions work.
     
  24. Offline

    obnoxint

    Nope, still not working. Do i have to rewrite the config and permissions files?
    I called the /p reload command and got this error in the console:
    Code:
    12:24:13 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'p' in plugin bPermissions v1.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at de.bananaco.permissions.SuperPermissionHandler.unsetupPlayer(SuperPermissionHandler.java:35)
            at de.bananaco.permissions.worlds.WorldPermissions.setupPlayers(WorldPermissions.java:197)
            at de.bananaco.permissions.worlds.WorldPermissions.reload(WorldPermissions.java:61)
            at de.bananaco.permissions.worlds.WorldPermissionsManager.addAllWorlds(WorldPermissionsManager.java:40)
            at de.bananaco.permissions.Permissions.onCommand(Permissions.java:92)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
     
  25. Offline

    codename_B

    What bukkit version are you running?

    Yes you have to rewrite the config and permission files to the new 1.2 format. That's why it says it in the OP :S

    @Everyone
    - I really want to help you get this working and if you pop onto IRC or something I am willing to spend a full hour helping you to get 1.2 working, each.

    New 1.2 uploaded - please redownload and test that for me.

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

    McSushi

    This right? dont think it is working.

    Code:
    default: Builder
    
    players:
        McSushi:
        - Builder
        shiinchan:
        - Builder
    groups:
        Grower:
        - bPermissions.build
        - iConomy.access
        - iConomy.list
        - iConomy.payment
        - iConomy.rank
        - ChestShop.shop.buy
        - ChestShop.shop.sell
        Merchant:
        - inherit.Grower
        - ChestShop.shop.*
        Officer:
        - jail.command.unjail
        - jail.command.jail
        - jail.command.jaillist
        - ^swordsgame.play
        - ^herobounty.new
        - ^herobounty.accept
        - ^herobounty.list
        Detective:
        inheritance.Officer
        - essentials.invsee
        - bb.admin.info
        Lieutenant:
        inheritance.Detective
        - jail.command.jail
        - lockette.admin.bypass
        - jail.command.unjail
        - jail.command.jailmute
        Commander:
        inheritance.Lieutenant
        - jail.command.jailcreate
        - jail.command.jail
        - essentials.tempban
        - essentials.mute
        Policecheif:
        inheritance.Commander
        - worldguard.region.bypass.world
        - lockette.admin.*
        SWAT:
        inheritance.Grower
        - worldguard.region.bypass.world
        - worldedit.superpickaxe
        Builder:
        inheritance.Grower
        - worldguard.*
        - essentials.*
        - autosave.*
        - worldedit.*
     
  27. Offline

    Syntaxlb

    Thanks, it's works ;) I'm on #1060
     
  28. Offline

    codename_B

    That's wrong lol.
    Code:
    default: Builder
    players:
        McSushi:
        - Builder
        shiinchan:
        - Builder
    groups:
        Grower:
        - bPermissions.build
        - iConomy.access
        - iConomy.list
        - iConomy.payment
        - iConomy.rank
        - ChestShop.shop.buy
        - ChestShop.shop.sell
        Merchant:
        - inherit.Grower
        - ChestShop.shop.*
        Officer:
        - jail.command.unjail
        - jail.command.jail
        - jail.command.jaillist
        - ^swordsgame.play
        - ^herobounty.new
        - ^herobounty.accept
        - ^herobounty.list
        Detective:
        - essentials.invsee
        - bb.admin.info
        Lieutenant:
        - jail.command.jail
        - lockette.admin.bypass
        - jail.command.unjail
        - jail.command.jailmute
        Commander:
        - jail.command.jailcreate
        - jail.command.jail
        - essentials.tempban
        - essentials.mute
        Policecheif:
        - worldguard.region.bypass.world
        - lockette.admin.*
        SWAT:
        - worldguard.region.bypass.world
        - worldedit.superpickaxe
        Builder:
        - worldguard.*
        - essentials.*
        - autosave.*
        - worldedit.*
    Inheritance has been replaced in favour of multigroup.
     
  29. Offline

    obnoxint

    Ok, i have rewritten the files and added the node with the command
    Code:
    /p global addnode WelcomeGift.receivegift default
    Consoleoutput:
    Code:
    12:33:35 [INFO] [bPermissions] added node:WelcomeGift.receivegift to group:default for world:world
    12:33:35 [INFO] Added node:WelcomeGift.receivegift to group:default in world:world
    12:33:35 [INFO] [bPermissions] added node:WelcomeGift.receivegift to group:default for world:world_nether
    12:33:35 [INFO] Added node:WelcomeGift.receivegift to group:default in world:world_nether
    
    As I joined the server the console put out this:
    Code:
    12:33:16 [SEVERE] Could not pass event PLAYER_TELEPORT to bPermissions
    java.lang.NullPointerException
            at de.bananaco.permissions.SuperPermissionHandler.unsetupPlayer(SuperPermissionHandler.java:35)
            at de.bananaco.permissions.worlds.WorldPermissions.setupPlayers(WorldPermissions.java:197)
            at de.bananaco.permissions.worlds.WorldPermissions.getGroups(WorldPermissions.java:146)
            at de.bananaco.permissions.worlds.WorldPermissions.getPlayerNodes(WorldPermissions.java:121)
            at de.bananaco.permissions.worlds.WorldPermissions.getPlayerNodes(WorldPermissions.java:116)
            at de.bananaco.permissions.PermissionsPlayerListener.onPlayerTeleport(Permissions.java:177)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:300)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:373)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:98)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  30. Offline

    Syntaxlb

    Hmm, why when an user try to open a chest locked with LWC i have this error :

    Code:
    2011-08-23 14:39:40 [SEVERE] Could not pass event PLAYER_INTERACT to Residence
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getPrimaryGroup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at com.bekvon.bukkit.residence.permissions.PermissionManager.getPermissionsGroup(PermissionManager.java:131)
        at com.bekvon.bukkit.residence.permissions.PermissionManager.getGroupNameByPlayer(PermissionManager.java:99)
        at com.bekvon.bukkit.residence.permissions.PermissionManager.getGroupNameByPlayer(PermissionManager.java:85)
        at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.onPlayerInteract(ResidencePlayerListener.java:89)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:573)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    EDIT: I have error too when i place / destroy a bloc :s
     
  31. Offline

    codename_B

    Mind sending me all the files? Can you delete the bPermissions directory (or rename it) and start with a fresh one?
    It looks like there may be legacy things there from 1.1b messing up your config.

    Also what bukkit version?
    Also you haven't updated to the new download.
     

Share This Page