mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-22 10:15:52 +01:00
Updated SubAPI (markdown)
parent
c758d4e8e8
commit
3ea9e21dbf
@ -97,14 +97,6 @@ This will show how to use SubAPI for SubServers.Host. For more detailed informat
|
||||
### Creating your plugin
|
||||
To use SubAPI here, you must create a SubPlugin. This section will detail how this is done, step by step.
|
||||
|
||||
__package.xml:__<br>
|
||||
On the root of your jar you must have a file named package.xml or SubAPI won't be able to find your plugin. You can specify multiple main classes by adding multiple `<class>` elements.
|
||||
```
|
||||
<package>
|
||||
<class>path.to.your.main.plugin.class</class>
|
||||
</package>
|
||||
```
|
||||
|
||||
__Plugin Main Class:__<br>
|
||||
Moving on, now you have to create a main class. This class will be added as a Listener automatically.
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user