Temp permission problem #447


  • New
  • Other
Open
  • coldandtired created this issue Nov 7, 2012

    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.

  • coldandtired added the tags New Other Nov 7, 2012
  • coldandtired edited description Nov 7, 2012
  • coldandtired posted a comment Nov 7, 2012

    Corrected a typo. I've tried with both small and capital p.


To post a comment, please login or register a new account.