| Package | Description |
|---|---|
| de.pheasn.blockown | |
| de.pheasn.blockown.protection |
| Modifier and Type | Field and Description |
|---|---|
static Material |
Material.ANY |
| Modifier and Type | Method and Description |
|---|---|
Material |
OwnedEntity.getMaterial() |
Material |
OwnedBlock.getMaterial() |
Material |
Ownable.getMaterial() |
static Material |
Material.parseMaterial(String materialName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
User.hasAccess(Material material,
User owner) |
boolean |
User.hasLocked(Material material) |
boolean |
User.hasProtected(Material material) |
boolean |
BlockOwn.isOwnEnabled(Material material) |
| Constructor and Description |
|---|
OwnedBlock(String worldName,
int x,
int y,
int z,
Material material) |
| Modifier and Type | Method and Description |
|---|---|
Material |
ProtectAction.getMaterial() |
| Modifier and Type | Method and Description |
|---|---|
Set<Material> |
Protection.getLocks(User owner)
Gets an immutable Set of locked materials for a user
|
Set<Material> |
Protection.getProtections(User owner)
Gets an immutable Set of protected materials for a user
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Protection.hasAccess(User owner,
Material material,
User user)
Checks whether a user can access an Ownable consisting of the specified material that is owned by the specified owner.
|
boolean |
Protection.isLocked(User owner,
Material material)
Checks whether the user has locked the access to the material
|
boolean |
Protection.isProtected(User owner,
Material material)
Checks whether the material is protected
|
| Constructor and Description |
|---|
ProtectAction(ProtectActionType protectActionType,
User owner,
Material material)
May be used with protectActionType == PROTECT or UNPROTECT or LOCK or UNLOCK
|
ProtectAction(ProtectActionType protectActionType,
User owner,
Material material,
User user) |
Copyright © 2015. All rights reserved.