You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin really rock, and I would like to extend it with some control plugins we made.
The point is to create arena (that I think is done by GameImpl.createGame method), but unfortunatly is completly unaccessible.
I tried to import the main .jar file as maven dependency and call directly createGame as I normally do for plugins without API, but with no luck.
Can you help me on this ?
Also, I think that would make a great add to the main project API.
The text was updated successfully, but these errors were encountered:
our maven repository also contains the plugin itself (it has artifact id just "BedWars" and the rest is same). In the current stable version (0.2.22), the class is not called GameImpl but just Game.
We're going to add this in 0.3.0, but for the time being, you can access internals marked as private using Reflection, other internals can be accessed like the API (keep in mind that they may change unexpectedly). Also we have the plugin uploaded to our repo, so you don't have to shuffle with the plugin jar: https://repo.screamingsandals.org/#/releases/org/screamingsandals/bedwars/BedWars/0.2.22
This plugin really rock, and I would like to extend it with some control plugins we made.
The point is to create arena (that I think is done by
GameImpl.createGame
method), but unfortunatly is completly unaccessible.I tried to import the main
.jar
file asmaven dependency
and call directlycreateGame
as I normally do for plugins without API, but with no luck.Can you help me on this ?
Also, I think that would make a great add to the main project API.
The text was updated successfully, but these errors were encountered: