[This is preliminary documentation and is subject to change.]
A list of possible results of Player.CanPlace() permission test.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)
Syntax
| C# |
public enum CanPlaceResult
Members
| Member | Value | Description |
|---|---|---|
| Allowed | 0 | Block may be placed/changed. |
| OutOfBounds | 1 | Block was out of bounds in the given map. |
| BlocktypeDenied | 2 | Player was not allowed to place or replace blocks of this particular blocktype. |
| WorldDenied | 3 | Player was not allowed to build on this particular world. |
| ZoneDenied | 4 | Player was not allowed to build in this particular zone.
Use World.Map.FindDeniedZone() to find the specific zone. |
| RankDenied | 5 | Player's rank is not allowed to build or delete in general. |
| PluginDenied | 6 | A plugin callback cancelled block placement/deletion.
To keep player's copy of the map in sync, he will be resent the old blocktype at that location. |
| PluginDeniedNoUpdate | 7 | A plugin callback cancelled block placement/deletion.
A copy of the old block will not be sent to the player (he may go out of sync). |