mirror of
https://github.com/plexusorg/ExampleModule.git
synced 2025-07-03 16:56:42 +00:00
Example module
This commit is contained in:
16
src/main/java/dev/plex/ExampleModule.java
Normal file
16
src/main/java/dev/plex/ExampleModule.java
Normal file
@ -0,0 +1,16 @@
|
||||
package dev.plex;
|
||||
|
||||
import dev.plex.module.PlexModule;
|
||||
|
||||
public class ExampleModule extends PlexModule
|
||||
{
|
||||
@Override
|
||||
public void enable() {
|
||||
getLogger().info("Test");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disable() {
|
||||
|
||||
}
|
||||
}
|
4
src/main/resources/module.yml
Normal file
4
src/main/resources/module.yml
Normal file
@ -0,0 +1,4 @@
|
||||
name: ExampleModule
|
||||
main: dev.plex.ExampleModule
|
||||
description: An example module for plex
|
||||
version: 0.1
|
Reference in New Issue
Block a user