Using BedWars API¶
Use the BedWars API to interact with and extend the functionality of the BedWars plugin.
Warning
The API is still evolving. Breaking changes will be introduced in future versions, starting from 0.3.0
.
Installation¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
1 2 3 4 5 6 7 |
|
1 2 3 4 5 6 7 |
|
If you prefer or need access to the entire plugin (including internals not exposed via the API), you can also depend on the main BedWars
plugin instead of BedWars-API
. However, this approach is discouraged because internal classes and methods may change at any time and without notice.
Hooking into the API¶
Once included in your build, you can access the API using:
1 2 3 4 5 |
|
Javadoc: https://docs.screamingsandals.org/BedWars/javadoc/0.2.39/