Package net.axay.kspigot.extensions

Functions

broadcast
Link copied to clipboard
fun broadcast(msg: String): Int
Broadcasts a message (msg) on the server.
pluginKey
Link copied to clipboard
fun pluginKey(key: String): NamespacedKey
Shortcut for creating a new NamespacedKey

Properties

console
Link copied to clipboard
val console: ConsoleCommandSender
Shortcut to get the ConsoleSender.
onlinePlayers
Link copied to clipboard
val onlinePlayers: Collection<Player>
Shortcut to get all online players.
onlineSenders
Link copied to clipboard
val onlineSenders: Collection<CommandSender>
Shortcut to get a collection of all online players plus the console command sender.
pluginManager
Link copied to clipboard
val pluginManager: PluginManager
Shortcut to get the PluginManager.
server
Link copied to clipboard
val server: Server
Shortcut to get the Server.