Add files via upload
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,11 +13,12 @@ import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public final class ExplosionsControl extends JavaPlugin {
|
||||
|
||||
public static String STARTER = Config.getPluginPrefix();
|
||||
public static String STARTER;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
// Plugin startup logic
|
||||
STARTER = Config.getPluginPrefix();
|
||||
Bukkit.broadcastMessage(STARTER + "aExplosionsControls has loaded!");
|
||||
ExplosionConfigFile.setup();
|
||||
ExplosionToggle.setup();
|
||||
|
||||
@@ -57,6 +57,12 @@ public class ExplosionToggle {
|
||||
EXPLOSIONMENU = menu;
|
||||
}
|
||||
|
||||
/**
|
||||
* Open the toggle configuration menu for a player!
|
||||
*
|
||||
* @param player Player
|
||||
* @param world World
|
||||
*/
|
||||
public static void openToggleMenu(Player player, World world) {
|
||||
Inventory menu = Bukkit.createInventory(null,54, ExplosionsControl.STARTER + "eEditing " + world.getName());
|
||||
ExplosionConfiguration configuration = new ExplosionConfiguration(world);
|
||||
|
||||
Reference in New Issue
Block a user