Skip to content
This repository was archived by the owner on Aug 9, 2020. It is now read-only.

Creating a command Module

AtomIsHere edited this page Jan 19, 2018 · 2 revisions

To create a command module you have to create a package called modules in the root of your project (The "java" folder), create a class inside the package called ModuleClass, make it extend "CommandModule"

Inside the class add a constructor and add a super statement in this format super(<name>, <description>, <usage>, new ArrayList<String>);

Now all you have to do is implement methods!

And if you want to add a permissions just override getPermission and make it return your permission.

Clone this wiki locally