Creating a command Module - AtomIsHere/Modules GitHub Wiki
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.