public class Utils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Utils.Broadcast |
static class |
Utils.Config |
static class |
Utils.Player |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static void |
addInventoryItem(Inventory inv,
Material material,
java.lang.String displayName,
java.lang.String lore,
int position)
Add item to inventory (using arguments)
|
static World |
getWorld(java.lang.String world)
Get World (by name)
|
static void |
runConsoleCommand(java.lang.String command)
Run a command in the console.
|
public static World getWorld(java.lang.String world)
world
- StringWorld
public static void addInventoryItem(Inventory inv, Material material, java.lang.String displayName, java.lang.String lore, int position)
public static void runConsoleCommand(java.lang.String command)
command
- command