Interface SimpleListener
- All Known Implementing Classes:
SimplePlugin, StandardEventDispatcher
public interface SimpleListener
Marker interface for classes that can listen to HytaleLoader events.
This interface is used to identify listener classes. Any class implementing
this interface can have methods annotated with EventHandler to
receive
event notifications.
This interface intentionally contains no methods - it serves solely as a marker to indicate that a class is an event listener.
Usage Example:
public class MyListener implements SimpleListener {
@EventHandler
public void onPlayerJoin(PlayerJoinEvent event) {
// Handle player join
}
}
- Since:
- 1.0.0
- Version:
- 1.0.4
- Author:
- HytaleLoader
- See Also: