Skip to content

pisiEventAPI is the fastest* & feature-rich event api for java

License

Notifications You must be signed in to change notification settings

slowcheet4h/pisiEventAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pisiEventAPI

NOTE: Async listeners requires yystal (only required if you are going to use Async (AsyncListener<>)
you can get it here: https://github.com/united-meows/yystal

Usage

example event class

testEvent

creating a event manager

Screenshot_20211030_185957

creating a listener

listener

!! NOTE: for users using java version 8 or less

Avoid using lambdas or it'll make classes load slowly (90-200ms per class)
java18
Use anonymous calls instead

listener settings

weight

asynclistener and custom listeners

asynclistener
Async listeners can't cancel or stop events and editing an event wont make difference (since its async)

registering listeners

Screenshot_20211030_190215

unregistering listeners

Screenshot_20211030_190306


Credits

! This event api contains features from Brady's event api