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 |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
protected void |
JavaPlugin.initialize(PluginLoader loader,
Server server,
PluginDescriptionFile description,
File dataFolder,
File file,
ClassLoader classLoader)
Deprecated.
This method is legacy and will be removed - it must be
replaced by the specially provided constructor(s).
|
Constructor and Description |
---|
JavaPlugin(PluginLoader loader,
Server server,
PluginDescriptionFile description,
File dataFolder,
File file)
Deprecated.
This method is intended for unit testing purposes when the
other constructor cannot be used.
Its existence may be temporary. |
JavaPluginLoader(Server instance)
Deprecated.
|
Copyright © 2022. All rights reserved.