Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.sebagius7110.sebcraft.minigame.MyOwnPlanetWorldGenerator.main;
- import java.util.logging.Logger;
- import me.sebagius7110.sebcraft.minigame.MyOwnPlanetWorldGnerator.Generation.PlanetWorldGenerator;
- import org.bukkit.generator.ChunkGenerator;
- import org.bukkit.plugin.PluginDescriptionFile;
- import org.bukkit.plugin.java.JavaPlugin;
- public class MyOwnPlanetWorldGenerator extends JavaPlugin{
- public static MyOwnPlanetWorldGenerator plugin;
- public final Logger logger = Logger.getLogger("Minecraft");
- @Override
- public void onEnable() {
- PluginDescriptionFile pdfFile = this.getDescription();
- this.logger.info("[" + pdfFile.getName() + "]"+ " Version " + pdfFile.getVersion() + " Has Been Enabled Succssesfully!");
- }
- @Override
- public void onDisable() {
- PluginDescriptionFile pdfFile = this.getDescription();
- this.logger.info("[" + pdfFile.getName() + "]" + " Has Been Disabled Succssesfully!");
- }
- public ChunkGenerator getDefaultWorldGenerator(String worldname, String id) {
- return new PlanetWorldGenerator(this);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement