1. Hello,

    How do you add permissions to a plugin - is there a sample code I just have to input somewhere?

    Thanks!
     
  2. You first need to register the permission, and then you would need to check if the user has permission for whatever you want to limit them to, for example a command.
     
  3. Code:
    permission.RegisterPermission("perm_name", this); //Run this when your plugin loads. For example: void Init()
    if(permission.UserHasPermission("user_id", "perm_name")) //Do stuff