diff --git a/SubAPI.md b/SubAPI.md index 9b81135..2061af6 100644 --- a/SubAPI.md +++ b/SubAPI.md @@ -31,7 +31,7 @@ You may want to use Maven to handle the SubAPI dependency for you. If so, here's ### Using SubAPI as a Soft Dependancy A "Soft Dependancy" is where your plugin will use SubServers, but it is not required for your plugin to function properly. -First, Make a method to see if SubServers v2.11.2a+ is available using reflection: +First, Make a method to see if, for example, SubServers v2.14a+ is available using reflection: ```java public boolean isSubServers2() { try { @@ -53,7 +53,7 @@ So what happens here is:
__Pro-Tips for using SubServers as a Soft-Dependancy:__ * Make sure SubServers is available using the above method before accessing SubServers classes -* Never use imports for classes starting with "net.ME1312"
`new Version(1);` is now `new net.ME1312.SubServers.Bungee.Library.Version.Version(1);`
`SubAPI.getInstance();` is now `net.ME1312.SubServers.Bungee.SubAPI.getInstance();` +* Never use imports for classes starting with "net.ME1312"
`new Version(1);` is now `new net.ME1312.Galaxi.Library.Version.Version(1);`
`SubAPI.getInstance();` is now `net.ME1312.SubServers.Bungee.SubAPI.getInstance();` ## SubServers.Bungee This will show how to use SubAPI for SubServers.Bungee. For more detailed information visit this page: