Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision |
plugin:connectorplugin:usage:start [2020/10/16 19:01] – created phoenix616 | plugin:connectorplugin:usage:start [2023/02/12 13:54] (current) – [Maven Info] Update version phoenix616 |
---|
# How to use it | # How to use it |
| |
| [Javadocs](https://docs.phoenix616.dev/connectorplugin/) |
| |
| The most useful classes will be the [Connector](https://docs.phoenix616.dev/connectorplugin/de/themoep/connectorplugin/connector/Connector.html) and the Bridge utilities ([Bukkit](https://docs.phoenix616.dev/connectorplugin/de/themoep/connectorplugin/bukkit/Bridge.html), [Bungee](https://docs.phoenix616.dev/connectorplugin/de/themoep/connectorplugin/bungee/Bridge.html), [Velocity](https://docs.phoenix616.dev/connectorplugin/de/themoep/connectorplugin/velocity/Bridge.html)). Both can be accessed via the getters in the plugin's main class. |
| |
## Examples | ## Examples |
| |
TODO | Check out the [Bukkit](https://github.com/Phoenix616/ConnectorPlugin/blob/master/bukkit/src/main/java/de/themoep/connectorplugin/bukkit/Bridge.java), [Bungee](https://github.com/Phoenix616/ConnectorPlugin/blob/master/bungee/src/main/java/de/themoep/connectorplugin/bungee/Bridge.java) and [Velocity](https://github.com/Phoenix616/ConnectorPlugin/blob/master/velocity/src/main/java/de/themoep/connectorplugin/velocity/Bridge.java) bridge utility source for example implementations of the messaging. |
| |
| See the [GlobalWarps plugin](https://github.com/Phoenix616/GlobalWarps/) for an example on how to use (parts of) the bridge. |
## Maven Info | ## Maven Info |
| |
```xml | <code xml> |
<repository> | <repository> |
<id>minebench-repo</id> | <id>minebench-repo</id> |
<url>https://repo.minebench.de/</url> | <url>https://repo.minebench.de/</url> |
</repository> | </repository> |
``` | </code> |
| |
```xml | <code xml> |
<dependency> | <dependency> |
<groupId>de.themoep.connectorplugin</groupId> | <groupId>de.themoep.connectorplugin</groupId> |
<artifactId>[bukkit|bungee]</artifactId> | <artifactId>[bukkit|bungee|velocity]</artifactId> |
<version>1.0-SNAPSHOT</version> | <version>1.5-1SNAPSHOT</version> |
<scope>provided</scope> | <scope>provided</scope> |
</dependency> | </dependency> |
``` | </code> |