-
Notifications
You must be signed in to change notification settings - Fork 0
π Getting Started
Gustavo M. Paes edited this page Sep 23, 2021
·
1 revision
To get started we need to start Mars and declare your intention with Mars.init(plugin), when you start Mars will register all intents events:
public final class Test extends JavaPlugin{
@Override
public void onEnable() {
//'this' need be your plugin main class
//'Intent.ALL' active all modules
Mars.init(this, Intent.ALL);
}
}List of all intents:
- ALL
- ARMOR_STAND
- CHAT
- ITEMS
- INVENTORY
- INTERACTIONS
(you can start Mars like this: Mars.init(this, Intent.CHAT, Intent.ITEMS))
Mars it's created by GumpDev and use some repositories like PaperMC and SkullCreator