Package net.axay.kspigot.extensions.bukkit

Functions

appear
Link copied to clipboard

Shows the player for all onlinePlayers.

fun Player.appear(plugin: Plugin)
disappear
Link copied to clipboard

Hides the player for all onlinePlayers.

fun Player.disappear(plugin: Plugin)
feed
Link copied to clipboard

Sets the players' foodLevel to the max possible value.

fun Player.feed()
feedSaturate
Link copied to clipboard

Feeds and saturates the player.

fun Player.feedSaturate()
heal
Link copied to clipboard

Sets the entities' health to the max possible value.

fun LivingEntity.heal()
kick
Link copied to clipboard

Kicks the player from the server.

fun Player.kick(reason: String?)
kill
Link copied to clipboard

Kills the damageable.

fun Damageable.kill()
saturate
Link copied to clipboard

Sets the players' saturation to the current max possible value.

fun Player.saturate()
spawnCleanEntity
Link copied to clipboard

Spawns an entity without any variations in color, type etc...

fun Location.spawnCleanEntity(entityType: EntityType): Entity?

Properties

isDamageable
Link copied to clipboard

val GameMode.isDamageable: Boolean
isFeetInWater
Link copied to clipboard

Checks if the entities' feet are in water.

val Entity.isFeetInWater: Boolean
isGroundSolid
Link copied to clipboard

Checks if the entity stands on solid ground.

val Entity.isGroundSolid: Boolean
isHeadInWater
Link copied to clipboard

Checks if the entities' head is in water.

val LivingEntity.isHeadInWater: Boolean
isInWater
Link copied to clipboard

Checks if the entity is completely in water.

val LivingEntity.isInWater: Boolean