public interface NucleusInvulnerabilityService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INVULNERABLE_CONTEXT
The permission context key that indicates a player is invulnerable.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isInvulnerable(org.spongepowered.api.entity.living.player.User user)
Returns whether a player is invulnerable as far as Nucleus is concerned.
|
void |
setInvulnerable(org.spongepowered.api.entity.living.player.User user,
boolean invulnerable)
Sets whether a player is invulnerable as far as Nucleus is concerned.
|
static final java.lang.String INVULNERABLE_CONTEXT
The value of this context will always be true if set.
boolean isInvulnerable(org.spongepowered.api.entity.living.player.User user)
user
- The usertrue
if sovoid setInvulnerable(org.spongepowered.api.entity.living.player.User user, boolean invulnerable)
user
- The userinvulnerable
- true
if so