45 lines
1.6 KiB
Java
45 lines
1.6 KiB
Java
/*
|
|
* This file is part of ViaVersion - https://github.com/ViaVersion/ViaVersion
|
|
* Copyright (C) 2016-2023 ViaVersion and contributors
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
package com.viaversion.viaversion.sponge.platform;
|
|
|
|
import com.viaversion.viaversion.configuration.AbstractViaConfig;
|
|
import java.io.File;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
public class SpongeViaConfig extends AbstractViaConfig {
|
|
private static final List<String> UNSUPPORTED = Arrays.asList("bungee-ping-interval",
|
|
"bungee-ping-save", "bungee-servers", "velocity-ping-interval", "velocity-ping-save", "velocity-servers",
|
|
"quick-move-action-fix", "change-1_9-hitbox", "change-1_14-hitbox", "blockconnection-method");
|
|
|
|
public SpongeViaConfig(File configFile) {
|
|
super(new File(configFile, "config.yml"));
|
|
reload();
|
|
}
|
|
|
|
@Override
|
|
protected void handleConfig(Map<String, Object> config) {
|
|
}
|
|
|
|
@Override
|
|
public List<String> getUnsupportedOptions() {
|
|
return UNSUPPORTED;
|
|
}
|
|
}
|