This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I've been using temp permissions in a plugin for a long time now.
Basically, a player is assigned a permission for a short time (2 seconds or so) and straight after the player performs a command (programmatically).
This has been working fine since I wrote it but I can't seem to get it to work with bPermissions.admin.
p.addAttachment(plugin, "bPermissions.admin", true); p.sendMessage("" + p.hasPermission("bPermissions.admin")); p.performCommand("world world");
The above is test code so I removed the time limit. The second line says the player has the permission, but the third line gets the "Unable to perform command" (from bPermissions) result.
Do you have an error log of what happened? No errors, but unexpected result.
Which version of bPermissions are you using?: (Please don't say "latest"!!!) 2.9.24
Which version of CraftBukkit?: (Please don't say "latest"!!!) 1.3.2-R03
Which OS? Windows 8 Pro x64
Any other information we may need (plugins, configs, etc):
Please fill out this form properly! Failing to do so may result in your ticket being marked invalid.
Corrected a typo. I've tried with both small and capital p.
To post a comment, please login or register a new account.