EventSK v1.0.0
- Supported Minecraft Versions:
- 1.10, 1.11
(Same resource as on Spigot)
This plugin is a Skript add-on that makes it possible to listen to all Bukkit events (even events from other plugins).
Syntax:
Say you have the following Bukkit event class:
With this plugin you can write the following skript code:Code (Text):
package some.package.name; import ... public YourEvent extends Event { private static final HandlerList handlers = new HandlerList(); @override public HandlerList getHandlers(){ return handlers; } public static HandlerList getHandlerList(){ return handlers; } private String var; public String getVar(){ return var; } }
Code (Text):
on bukkit event "some.package.name.YourEvent" set {_var} to YourEvent-getVar
Setup:
To be able to use events, you have to add them to the config.yml file:
config.yml:
Code (Text):
events: - "some.package.name.YourEvent"
-
Welcome to skUnity!
Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon EventSK 1.0.0
A addon that enables you to catch Bukkit events from within Skript