[DEV] Setup #100 - Sets up your events for you![1.1-R7]

Discussion in 'Inactive/Unsupported Plugins' started by EspoDev, Mar 10, 2012.

  1. Offline

    EspoDev

    Setup - Sets up your events for you
    Build: #100
    @BukkitDev
    What is Setup?
    Setup simply sets up all your events for you. You can either extend it to a Basic setup or a normal setup. A basic setup, sets up the most used server events. The normal setup, sets up all the events from the event type.

    Example?
    Code:
    public class Test extends BlockSetup{
     
        @Override
        public void onBlockBreak(BlockBreakEvent event) {
            // TODO Auto-generated method stub
         
        }
    
    The only thing you must do is replace the @Override with the new bukkit event system.
    Code:
    @EventHandler(priority = EventPriority.NORMAL)
    
    What are the setups?

    BlockEvents
    • BlockSetup
    • SignSetup
    EntityEvents
    • EntitySetup
    PlayerEvents
    • PlayerBasic
    • PlayerSetup
    WorldEvents
    • ChunkSetup
    • WorldSetup
    VehicleEvents
    • VehicleSetup

    Download
    Changelog:

    Build #100
    • Release
     
  2. Offline

    100pokeplayers

    can't download :(
     
  3. Offline

    EspoDev

    You can find it on BukkitDev, I put it in the top of the post. Yet, I will include another download link here.
     
  4. Offline

    md_5

    What us does this provide now?
     
  5. Offline

    vildaberper

    Why is this better than the event system? Is there any difference at all?
     
  6. Offline

    Kaikz

    I don't understand. All this does is feed the event from Bukkit -> Your plugin -> My plugin.
     
  7. Offline

    EspoDev

    It adds the all the events for you, or you can use the basic setup that adds only the most used events in Bukkit.
     
  8. Offline

    100pokeplayers

    thx Espo
     

Share This Page