[Bleeding] Added Help API. Addresses BUKKIT-863
By: rmichela <deltahat@gmail.com>
This commit is contained in:
parent
2280c6be2b
commit
10cd1cbb5c
16 changed files with 596 additions and 35 deletions
|
@ -14,6 +14,7 @@ import org.bukkit.command.ConsoleCommandSender;
|
|||
import org.bukkit.command.PluginCommand;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.InventoryType;
|
||||
import org.bukkit.help.HelpMap;
|
||||
import org.bukkit.inventory.Inventory;
|
||||
import org.bukkit.inventory.InventoryHolder;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
@ -564,6 +565,13 @@ public interface Server extends PluginMessageRecipient {
|
|||
*/
|
||||
public Messenger getMessenger();
|
||||
|
||||
/**
|
||||
* Gets the {@link HelpMap} providing help topics for this server.
|
||||
*
|
||||
* @return The server's HelpMap.
|
||||
*/
|
||||
public HelpMap getHelpMap();
|
||||
|
||||
/**
|
||||
* Creates an empty inventory of the specified type. If the type is {@link InventoryType#CHEST},
|
||||
* the new inventory has a size of 27; otherwise the new inventory has the normal size for
|
||||
|
@ -592,4 +600,4 @@ public interface Server extends PluginMessageRecipient {
|
|||
* @throws IllegalArgumentException If the size is not a multiple of 9.
|
||||
*/
|
||||
Inventory createInventory(InventoryHolder owner, int size, String title);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue