ApiBuilder
This is a guide to learn how to initialize SmartCommands using the ApiBuilder class.
Initialize the API
To use SmartCommands
, you must first initialize the API using the ApiBuilder
class. First, create a new instance of the internal class ApiBuilder
.
ApiBuilder properties
Property | Default value |
|
|
|
|
You can change the value of these properties using the following methods.
Method | Description |
| Set |
| Set the path of the folder which contains the |
| Initialize the API with the previously configured options |
Only the build(Plugin plugin)
method is needed to initialize the API. The others are optional.
Example
pageGet started
Last updated