danik159

Untitled

Aug 9th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. package com.chickenstyle.report;
  2.  
  3. import java.util.HashMap;
  4.  
  5. import org.bukkit.Bukkit;
  6. import org.bukkit.entity.Player;
  7. import org.bukkit.event.Listener;
  8. import org.bukkit.plugin.java.JavaPlugin;
  9.  
  10. public class Main extends JavaPlugin implements Listener {
  11. public void onEnable() {
  12. getCommand("report").setExecutor(new Report(this));
  13. getCommand("reports").setExecutor(new Reports());
  14. Bukkit.getPluginManager().registerEvents(this, this);
  15. // this.getConfig().options().copyDefaults();
  16. // saveDefaultConfig();
  17.  
  18. new ReportsYML(this);
  19. new ReportsList(this);
  20.  
  21. }
  22. public HashMap<Player, Long> cooldown = new HashMap<>();
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment