-
Notifications
You must be signed in to change notification settings - Fork 0
1. How to use
Nont Nonnipat edited this page Nov 27, 2024
·
4 revisions
<!-- rest of the code ... <dependencies> -->
<dependency>
<groupId>com.pinont</groupId>
<artifactId>experiences</artifactId>
<version>Latest version of Experiences</version>
<scope>compile</scope>
</dependency>
<!-- rest of the code ... </dependencies> -->
import com.pinont.experiences.plugin.ExpPlugin;
public class MainClass extends ExpPlugin {
@Override
public void onPluginStart() {
/* We are now supporting auto registration for
Events and Commands (ps. if you are using SimpleCommand) */
}
@Override
public void onPluginStop() { /* Do something when the plugin is being disabled */ }
public static MainClass getInstance() {
return (MainClass) ExpPlugin.getPlugin();
}
}
Coming soon full version on 2025!
Coming soon full version on 2025!