Java APIs
The Java APIs for developers.
Note
Don't forget this!
Before doing anything, start your server once. You should see this error in console:
Game Token not set in Config File. Please read the documentation!This is completely normal. The plugin will automatically create a
NexaDeveloperAPI folder with a data.yaml file inside
it.
Open the file and find:
gameToken: ""
Go to your Nexa Server Details page and press Copy Your Game Token. Paste the token into the empty string, save the file, then restart your server.
Never share your Game Token. Anyone with access to it can control your game connection.
What is this API?
This "API" Is in simple terms, A way to interact with Nexa's API But in Java for your Server / Games. It allows you to do various things like Create a Gamepass Transaction for user, Get their games played and more.