19 lines
526 B
Java
19 lines
526 B
Java
package dev.xoy.silkblocks;
|
|
|
|
import org.bukkit.Bukkit;
|
|
import org.bukkit.ChatColor;
|
|
import org.bukkit.plugin.java.JavaPlugin;
|
|
|
|
public class SilkBlocks extends JavaPlugin {
|
|
@Override
|
|
public void onEnable() {
|
|
Bukkit.getLogger().info(ChatColor.GREEN + "[" + this.getName() + "] enabled!");
|
|
|
|
Bukkit.getPluginManager().registerEvents(new BlockListener(), this);
|
|
}
|
|
|
|
@Override
|
|
public void onDisable() {
|
|
Bukkit.getLogger().info(ChatColor.RED + "[" + this.getName() + "] disabled!");
|
|
}
|
|
} |