| Package | Description |
|---|---|
| de.pheasn.blockown | |
| de.pheasn.blockown.command | |
| de.pheasn.blockown.database | |
| de.pheasn.blockown.importer | |
| de.pheasn.blockown.protection |
| Modifier and Type | Field and Description |
|---|---|
static User |
User.nobody |
| Modifier and Type | Method and Description |
|---|---|
void |
BlockOwn.addWaiting(User user,
WaitType waitType) |
WaitType |
BlockOwn.getWaiting(User user) |
boolean |
User.hasAccess(Material material,
User owner) |
boolean |
User.hasFriend(User user) |
boolean |
BlockOwn.isIgnoring(User user) |
boolean |
BlockOwn.isWaiting(User user,
WaitType waitType) |
void |
BlockOwn.removeWaiting(User user) |
void |
BlockOwn.setIgnoring(User user,
boolean enable) |
| Constructor and Description |
|---|
OwnRunner(BlockOwn plugin,
Iterator<org.bukkit.block.Block> region,
User user,
org.bukkit.entity.Player player) |
UnownRunner(BlockOwn plugin,
Iterator<org.bukkit.block.Block> region,
User user,
org.bukkit.entity.Player player) |
| Modifier and Type | Method and Description |
|---|---|
protected User |
Database.getDatabaseOwner(Ownable ownable)
Accesses the database and searches for the owner
|
User |
Database.getOwner(Ownable ownable)
Gets the owner of an Ownable.
|
User |
CachedDatabase.getOwner(Ownable ownable) |
User |
DatabaseAction.getUser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Database.dropDatabaseUserData(User user)
Accesses the database and drops all data related to the specified user
|
protected String |
SqliteDatabase.generateDropUserBlocksQuery(User user) |
protected abstract String |
Database.generateDropUserBlocksQuery(User user) |
protected String |
MySqlDatabase.generateDropUserBlocksQuery(User user) |
protected String |
SqliteDatabase.generateDropUserEntitiesQuery(User user) |
protected abstract String |
Database.generateDropUserEntitiesQuery(User user) |
protected String |
MySqlDatabase.generateDropUserEntitiesQuery(User user) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Database.flushDatabase(Map<Ownable,User> cacheData)
Flush cache data to database.
|
| Constructor and Description |
|---|
DatabaseAction(DatabaseActionType databaseActionType,
Ownable ownable,
User user)
Instantiates a new DatabaseAction.
|
DatabaseAction(User user)
Creates a user drop action
|
| Modifier and Type | Method and Description |
|---|---|
protected User |
Importer.getUser(String name) |
| Modifier and Type | Method and Description |
|---|---|
User |
ProtectAction.getOwner() |
User |
ProtectAction.getUser() |
| Modifier and Type | Method and Description |
|---|---|
Set<User> |
Protection.getFriends(User owner)
Gets an immutable Set of friends for a user
|
| Modifier and Type | Method and Description |
|---|---|
Set<User> |
Protection.getFriends(User owner)
Gets an immutable Set of friends for a user
|
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
|
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.isFriend(User owner,
User user)
Checks whether owner has declared user as a friend.
|
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)
Instantiates a new protect action.
|
ProtectAction(ProtectActionType protectActionType,
User owner,
User user)
May only be used with protectActionType == FRIEND or UNFRIEND.
|
ProtectAction(User user)
Creates a DROP ProtectAction
|
Copyright © 2015. All rights reserved.