[This is preliminary documentation and is subject to change.]

A list of possible results of Player.CanPlace() permission test.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public enum CanPlaceResult

Members

MemberValueDescription
Allowed0
Block may be placed/changed.
OutOfBounds1
Block was out of bounds in the given map.
BlocktypeDenied2
Player was not allowed to place or replace blocks of this particular blocktype.
WorldDenied3
Player was not allowed to build on this particular world.
ZoneDenied4
Player was not allowed to build in this particular zone. Use World.Map.FindDeniedZone() to find the specific zone.
RankDenied5
Player's rank is not allowed to build or delete in general.
PluginDenied6
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.
PluginDeniedNoUpdate7
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).

See Also