Files
Hotels/src/main/java/mviper/plugin/hotels/bukkit/ConfigAdapter.java
2026-02-03 23:01:11 +01:00

47 lines
1.3 KiB
Java

/*
* Hotels Bukkit Plugin
* Copyright (C) 2019 mviper
* Full licence text can be found in LICENCE file
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package mviper.plugin.hotels.bukkit;
import java.nio.file.Path;
/**
* Handles loading and saving of YAML files
*/
public class ConfigAdapter {
//TODO implement methods
/**
* Extracts a yml file from resources to the plugin folder
* @param name The name of the file in the resources folder
*/
void setupConfig(String name) {
}
HotelsConfiguration getConfig(Path path) {
return null;
}
void saveConfig(HotelsConfiguration config) {
}
}