Skip to content

API Usage

BloodyTim3 edited this page Dec 14, 2024 · 6 revisions

API

Set the provider details from another plugin

Example:

@Override
public void onLoad() {
    FuturePlots.getInstance().getProvider().setDataClient(new DataClient(
            ClientType.MONGODB, new MongoDBDetails(
            "uri",
            "database"
    )));
}

Test

Clone this wiki locally