Event Maps

The Event Maps are XMLs that are inside the folder EventMaps these XML is possible to determine what the Scripter to do when the event is triggered by Bukkit.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<EventSetStorage>
    <EventSet>
        <Name>on-blockbreak</Name>
        <Script>block.rb</Script>
        <Method>onBlockBreak</Method>
    </EventSet>
</EventSetStorage>

EventSet

Name:

Name of the event.

The name of the event is always determined by on-{EventName}

example: 
BlockBreakEvent = on-blockbreak 
PlayerDeathEvent = on-playerdeath
Script

Name of Ruby Script file in Scripts Directory

Method

Name of Function or Method

Events List

http://jd.bukkit.org/rb/apidocs/org/bukkit/event/class-use/Event.html


Comments

Posts Quoted:
Reply
Clear All Quotes