daily pastebin goal
85%
SHARE
TWEET

Untitled

a guest Nov 20th, 2017 49 in 152 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.xxxxx.xxxxxxx;
  2.  
  3. import java.util.logging.Level;
  4. import org.bukkit.Bukkit;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. public class Main extends JavaPlugin {
  8.    
  9.     public static Main THIS;    
  10.  
  11.     @Override
  12.     public void onEnable() {
  13.         Main.THIS = this;
  14.        
  15.         if(Bukkit.getPluginManager().getPlugin("PlotSquared") == null) {
  16.             getLogger().log(Level.SEVERE, "PlotSquared required. Disabling.");
  17.             Bukkit.getPluginManager().disablePlugin(this);
  18.             return;
  19.         }        
  20.        
  21.         getLogger().log(Level.INFO, "xxxxxxxxxxxxx enabled.");
  22.        
  23.     }
  24. }
RAW Paste Data
Top