Solved Create An API

Discussion in 'Spigot Plugin Development' started by Dorian349, Jul 4, 2018.

  1. Hey SpigotMc Community,

    I don’t if we can name that an api but i want something and i think it’s api plugin.
    So i want to know how to create event that can be catch by other plugin.

    Like, if i do a minigame, i want to catch server status (like getState or other), player points or other things.

    Thanks for your help :)
     
    • Like Like x 1
  2. But the event can be catch by pther plugin?
    Check your pm ;)
     
  3. Yes. Any plugin can listen to your event. They would just need a copy of it in their IDE the same way you include Bukkit API in your IDE ^_^
     
    • Like Like x 1
  4. Oh ok, ty :)