Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package bdking;
- import java.io.IOException;
- import org.bukkit.Server;
- import org.bukkit.event.EventHandler;
- import org.bukkit.event.EventPriority;
- import org.bukkit.event.player.PlayerLoginEvent;
- import org.bukkit.plugin.PluginManager;
- import org.bukkit.plugin.java.JavaPlugin;
- public class Main extends JavaPlugin
- {
- public void onDisable()
- {
- }
- public void onEnable()
- {
- getServer().getPluginManager().registerEvents(new Playerlisten(), this);
- try {
- Metrics metrics = new Metrics(this);
- metrics.start();
- }
- catch (IOException localIOException)
- {
- }
- }
- @EventHandler
- public void normalLogin(PlayerLoginEvent event)
- {
- }
- @EventHandler(priority=EventPriority.HIGH)
- public void highLogin(PlayerLoginEvent event)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment