[This is preliminary documentation and is subject to change.]
Possible player operation exception codes.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)
Syntax
| C# |
public enum PlayerOpExceptionCode
Members
| Member | Value | Description |
|---|---|---|
| Other | 0 | Other/unknown/unexpected error. |
| CannotTargetSelf | 1 | Player cannot execute this operation on himself/herself. |
| NoActionNeeded | 2 | Operation is not needed (e.g. target is already in the desired state). |
| ReasonRequired | 3 | Server configuration requires a reason to be given to complete this operation. |
| PermissionMissing | 4 | A permission needed to execute this operation is missing. |
| PermissionLimitTooLow | 5 | All needed permissions are present, but rank limit is not high enough. |
| TargetIsExempt | 6 | Target cannot be affected by this operation. |
| MustBeInAWorld | 7 | Player must have a world to execute this operation. |
| Cancelled | 8 | Operation was cancelled by an event callback (e.g. by a mod or a plugin). |
| InvalidIP | 9 | Cannot ban IPAddress.Any or IPAddress.All. |