-
Notifications
You must be signed in to change notification settings - Fork 2
FQA꞉ Supports
Arie edited this page Dec 6, 2023
·
8 revisions
Enums are only registered when the enum's OvommandHook is registered. Assuming the other plugin registers Ovommand properly, you need the other plugin to load before your plugin is loaded. To do this, add a new tag to plugin.yml
, named depend
Eg: OvoTest2 needs to use an enum of OvoTest1
name: OvoTest
version: 0.0.1
main: arie\test\Main
api: 5.4.3
name: OvoTest2
version: 0.0.1
main: arie\test2\Main
api: 5.4.3
depend:
- OvoTest
After doing that, you can use the enum normally without getting crashes if the enums exist.
Not to the default hardcoded enum, but you can change the default soft enums...
This wiki is under construction....
⠀Home⠀⠀
⠀Back to top⠀⠀
⠀Getting Started⠀⠀
⠀Parameters⠀⠀
⠀Enums⠀⠀
⠀Results⠀⠀
⠀FQA⠀⠀
⠀Demo plugin⠀
© 2023 GalaxyGamesMC