Add a Data Store.
How to add a datastore.
Create a Data Store
Create a Data Store to store user data.
Method
public Boolean addDataStore(String key, String value)Returns
A Boolean, True if success, False if not.
Parameters
| Parameter | Type | Description |
|---|---|---|
| key | String | The Key / Name of the data store. |
| value | String | The value of the data store. |
Example
boolean addedDataStore = nexaAPI.addDataStore("Player1Coins", "100") // convert this to an int later, we only support strings.
System.out.println(addedDataStore)