-
Notifications
You must be signed in to change notification settings - Fork 0
Config
LPDMinecraft edited this page Dec 29, 2021
·
5 revisions
The Config is a class, that can create config files. There are three constructures:
public Config(String startPath, String path, String filename)
public Config(String path, String filename)
public Config(String filename)
The first constructor is the most important. It can create configurations in any folder in the server folder. The second and third construct is for the configurations used by the API for configuration. If you search a Config for your Module use the ModuleConfig
The ModuleConfig is a Config that differs only with the composition. The only new thing about ModuleConfig is that you can specify your module and the config is created in the module folder.
| Servers | Bukkit | Spigot | Paper | Pupur |
|---|---|---|---|---|
| 1.16 | ✔️ | ✔️ | ✔️ | ✔️ |
| 1.17 | ✔️ | ✔️ | ✔️ | ✔️ |
| 1.18 | ✔️ | ✔️ | ✔️ | ✔️ |
| Proxies | BungeeCord | Waterfall | Velocity |
|---|---|---|---|
| 1.16 | ✔️ | ✔️ | ✔️ |
| 1.17 | ✔️ | ✔️ | ✔️ |
| 1.18 | ✔️ | ✔️ | ✔️ |
- Setup Location
- module.yml
- Module Class
- ModuleDescriptionFile
- Config
- ModuleConfig
- ModuleCommandManager
- ModuleListenerManager
- PermissionsManager
- LanguagesManager
- LPlayer
- CraftingRecipes
- Inventorys
- ItemBuilders
- Other Utils
- LPlayer