Advertisement
Guest User

Untitled

a guest
Jan 25th, 2023
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. package eu.decoiled;
  2.  
  3. import eu.decoiled.commands.Gang;
  4. import org.bukkit.configuration.file.FileConfiguration;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. public class Main extends JavaPlugin {
  8.  
  9. public static FileConfiguration config;
  10.  
  11. @Override
  12. public void onEnable() {
  13. getCommand("gang").setExecutor(new Gang());
  14. System.out.println("[DecoiledGangs] DecoiledGangs è stato caricato con successo.");
  15. saveDefaultConfig();
  16. config = getConfig();
  17. }
  18.  
  19. @Override
  20. public void onDisable() {
  21. System.out.println("[DecoiledGangs] DecoiledGangs è stato disattivato.");
  22. saveConfig();
  23. }
  24. }
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement