Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import me.BukkitPVP.VIPHide.VIPHide;
- public class setcommand extends JavaPlugin implements Listener {
- //API
- public VIPHide hide;
- private void setupVIPHide() {
- if (Bukkit.getPluginManager().isPluginEnabled("VIPHide"))
- this.hide = (VIPHide) Bukkit.getPluginManager().getPlugin("VIPHide");
- }
- //HashMaps
- public static HashMap<String, Long> cooldown = new HashMap<>();
- public static HashMap<String, Long> cooldownfood = new HashMap<>();
- //Strings
- String kitprefix = "§2[KitSystem] §e";
- static String prefix = "§2[Survival] §e";
- String playerniked = hide.getName();
- //Enable
- @Override
- public void onEnable() {
- Bukkit.getServer().getPluginManager().registerEvents(this, this);
- System.out.println("The Plugin started");
- setupVIPHide();
- }
- //Disable
- @Override
- public void onDisable() {
- System.out.println("The Plugin stopped");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement