Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.command |
Classes relating to handling specialized non-chat player input.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.plugin |
Classes specifically relating to loading software modules at runtime.
|
org.bukkit.plugin.java |
Classes for handling
plugins written in
java. |
Modifier and Type | Method and Description |
---|---|
static Server |
Bukkit.getServer()
Gets the current
Server singleton |
Modifier and Type | Method and Description |
---|---|
static void |
Bukkit.setServer(Server server)
Attempts to set the
Server singleton. |
Modifier and Type | Method and Description |
---|---|
default Server |
MessageCommandSender.getServer() |
Server |
CommandSender.getServer()
Returns the server instance that this command is running on
|
Constructor and Description |
---|
SimpleCommandMap(Server server) |
Modifier and Type | Method and Description |
---|---|
Server |
Entity.getServer()
Gets the
Server that contains this Entity |
Modifier and Type | Method and Description |
---|---|
Server |
Plugin.getServer()
Returns the Server instance currently running this plugin
|
Constructor and Description |
---|
SimplePluginManager(Server instance,
SimpleCommandMap commandMap) |
Modifier and Type | Method and Description |
---|---|
Server |
JavaPlugin.getServer()
Returns the Server instance currently running this plugin
|
Constructor and Description |
---|
JavaPluginLoader(Server instance)
Deprecated.
|
Copyright © 2022. All rights reserved.