Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuriofernandez/grechconfigplugin
Minecraft spigot plugin that handles configuration loading for other plugins.
https://github.com/nuriofernandez/grechconfigplugin
bukkit bukkit-api bukkit-plugin bukkitdev configuration-management minecraft minecraft-plugin
Last synced: 2 days ago
JSON representation
Minecraft spigot plugin that handles configuration loading for other plugins.
- Host: GitHub
- URL: https://github.com/nuriofernandez/grechconfigplugin
- Owner: nuriofernandez
- Created: 2021-01-03T17:50:07.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T05:10:30.000Z (over 1 year ago)
- Last Synced: 2024-01-03T14:36:01.029Z (10 months ago)
- Topics: bukkit, bukkit-api, bukkit-plugin, bukkitdev, configuration-management, minecraft, minecraft-plugin
- Language: Java
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GrechConfigPlugin
Minecraft spigot plugin that handles configuration loading for other plugins.
## Maven dependency
```xml
nurio-repo
https://maven.nurio.me/```
```xml
me.nurio
bukkit.configuration
1.2
provided```
## Usage examples
```java
// Instanciate the GrechConfig class
// GrechAreas is the main class of the GrechAreas plugin
GrechConfig config = new GrechConfig(GrechAreas.getPlugin(), "areas" + File.separator + file.getName());// Retrieve data from the file
String name = config.getConfig().getString("name");
UUID uuid = UUID.fromString(config.getConfig().getString("uuid"));// Retrieve locations from the file
Location start = config.getLocation("areas.1.start");
Location end = config.getLocation("areas.1.end");
```