Added simple start for server-side components.
This commit is contained in:
parent
5b5b217be2
commit
38c8254707
5 changed files with 71 additions and 0 deletions
10
src/main/java/org/dynmap/TestComponent.java
Normal file
10
src/main/java/org/dynmap/TestComponent.java
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package org.dynmap;
|
||||
|
||||
public class TestComponent extends Component {
|
||||
|
||||
public TestComponent(DynmapPlugin plugin, ConfigurationNode configuration) {
|
||||
super(plugin, configuration);
|
||||
Log.info("Hello! I'm a component that does stuff! Like saying what is in my configuration: " + configuration.getString("stuff"));
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue