1. Any way to give and revoke a player permission via C# plugin? like:
    Code:
    permission.grant(player.UserIDString, "permission"))
     
  2. Wulf

    Wulf Community Admin

    You'd have to run the console command to grant it if your plugin isn't the owner of the permissions.
     
  3. Plugin is the permissions owner
     
  4. Wulf

    Wulf Community Admin

  5. permission.GrantUserPermission(player, permission); Maybe?
    [DOUBLEPOST=1452531037][/DOUBLEPOST]I have the [LibraryFunction("GrantUserPermission")]Already in the code
     
  6. Wulf

    Wulf Community Admin

    You don't need that, and shouldn't have that.
    Code:
    permission.GrantUserPermission(player.UserIDString, "myplugin.perm", this);