/*
* AntiCheat for Bukkit.
* Copyright (C) 2012-2013 AntiCheat Team | http://gravitydevelopment.net
*
* 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 .
*/
package net.h31ix.anticheat.config.files;
import net.h31ix.anticheat.AntiCheat;
import net.h31ix.anticheat.config.Configuration;
import net.h31ix.anticheat.config.ConfigurationFile;
import java.util.List;
public class Lang extends ConfigurationFile {
public static final String FILENAME = "lang.yml";
public ConfigValue> alert;
public ConfigValue> playerWarning;
public ConfigValue spamWarning;
public ConfigValue spamKickReason;
public ConfigValue spamBanReason;
public ConfigValue spamKickBroadcast;
public ConfigValue spamBanBroadcast;
public ConfigValue banReason;
public ConfigValue banBroadcast;
public ConfigValue kickReason;
public ConfigValue kickBroadcast;
public Lang(AntiCheat plugin, Configuration config) {
super(plugin, config, FILENAME);
}
@Override
public void open() {
alert = new ConfigValue>("alert");
playerWarning = new ConfigValue>("warning.player_warning");
spamWarning = new ConfigValue("chat.warning");
spamKickReason = new ConfigValue("chat.kick_reason");
spamBanReason = new ConfigValue("chat.ban_reason");
spamKickBroadcast = new ConfigValue("chat.kick_broadcast");
spamBanBroadcast = new ConfigValue("chat.ban_broadcast");
banReason = new ConfigValue("ban.ban_reason");
banBroadcast = new ConfigValue("ban.ban_broadcast");
kickReason = new ConfigValue("kick.kick_reason");
kickBroadcast = new ConfigValue("kick.kick_broadcast");
}
}