Class Mechanic

    • Constructor Detail

      • Mechanic

        public Mechanic()
    • Method Detail

      • onStartup

        public void onStartup()
        Runs when the plugin is being enabled.
      • onShutdown

        public void onShutdown()
        Runs when the plugin is being shutdown.
      • onPlayerJoin

        public void onPlayerJoin​(org.bukkit.entity.Player player)
        Runs when a player joins the server.
        Parameters:
        player - the joining player
      • onPlayerQuit

        public void onPlayerQuit​(org.bukkit.entity.Player player)
        Runs when a player quits the server.
        Parameters:
        player - the quitting player