Updated SubAPI (markdown)

ME1312 2017-08-17 02:21:37 -04:00
parent 4526895341
commit 8dcbbb9d8a

@ -81,7 +81,7 @@ SubServer subserver = (serverinfo instanceof SubServer)?(SubServer)serverinfo:nu
## SubServers.Client ## SubServers.Client
this will show how to use SubAPI for SubServers.Client. For more detailed information visit the page for your platform:<br> this will show how to use SubAPI for SubServers.Client. For more detailed information visit the page for your platform:<br>
[http://subservers.ME1312.net/Javadoc/SubServers.Bungee/](http://subservers.ME1312.net/Javadoc/SubServers.Client.Bukkit/) [http://subservers.ME1312.net/Javadoc/SubServers.Client.Bukkit/](http://subservers.ME1312.net/Javadoc/SubServers.Client.Bukkit/)
### Using SubAPI for SubServers.Client ### Using SubAPI for SubServers.Client
Like bungee, SubAPI methods can be accessed using this simple method `SubAPI.getInstance()`, however for SubServers.Client most of the API is SubData packet based. This means you will have to create your own packets, or use the ones provided to you in the `net.ME1312.SubServers.Client.<platform>.Network.Packet` package. For more info on SubData [click here](https://github.com/ME1312/SubServers-2/wiki/SubData), to see what the JSON responses are for packets, [click here](https://github.com/ME1312/SubServers-2/tree/master/SubServers.Bungee/src/net/ME1312/SubServers/Bungee/Network/Packet). Like bungee, SubAPI methods can be accessed using this simple method `SubAPI.getInstance()`, however for SubServers.Client most of the API is SubData packet based. This means you will have to create your own packets, or use the ones provided to you in the `net.ME1312.SubServers.Client.<platform>.Network.Packet` package. For more info on SubData [click here](https://github.com/ME1312/SubServers-2/wiki/SubData), to see what the JSON responses are for packets, [click here](https://github.com/ME1312/SubServers-2/tree/master/SubServers.Bungee/src/net/ME1312/SubServers/Bungee/Network/Packet).