-
-
Notifications
You must be signed in to change notification settings - Fork 15
API Usage
There's a nice tutorial here: https://jitpack.io/#AlessioGr/NotQuests/-SNAPSHOT
If Jitpack doesn't work, simply add the plugin jar manually to your project.
First, add NotQuests as depend:
or softdepend:
into you plugin.yml.
Then, access the instance with NotQuests.getInstance()
and do whatever you want with it 😄
You can easily add your own Objectives to NotQuests (either directly or via the API) with, for example, NotQuests.getInstance().getObjectiveManager().registerObjective("jumpobjective", JumpObjective.class);
with JumpObjective extending "Objective" and being similar to all the other objective classes. Just copy the structure.
Only thing which is missing are commands & command completions. At the moment, they would manually need to be added to "ObjectivesAdminCommand".