<commit_before>package com.leontg77.lafs;

import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.java.JavaPlugin;

import com.leontg77.lafs.commands.LAFSCommand;

/**
 * Main class of the plugin.
 * 
 * @author LeonTG77
 */
public class Main extends JavaPlugin {
	public static boolean enabled = false;
	public static Main plugin;
	
	public static final String NO_PERM_MSG = "cYou don't have permission.";
	public static final String PREFIX = "clKillReveal 8 7";
	
	/**
	 * Get the instance of the class.
	 * 
	 * @return The instance.
	 */
	public static Main getInstance() {
		return plugin;
	}
	
	@Override
	public void onDisable() {
		PluginDescriptionFile file = getDescription();
		getLogger().info(file.getName() + " is now disabled.");
		
		plugin = null;
	}
	
	@Override
	public void onEnable() {
		PluginDescriptionFile file = getDescription();
		getLogger().info(file.getName() + " v" + file.getVersion() + " is now enabled.");
		getLogger().info("Plugin made by LeonTG77.");
		
		plugin = this;
		
		getCommand("lafs").setExecutor(new LAFSCommand());
	}
	
	/**
	 * Set the size of the teams to combine.
	 * 
	 * @param size The new size.
	 */
	public void setSize(int size) {
		getConfig().set("teamsizeToCombine", size);
		saveConfig();
	}
	
	/**
	 * Get the size of the teams to combine.
	 * 
	 * @return The size.
	 */
	public int getSize() {
		return getConfig().getInt("teamsizeToCombine", 1);
	}
}<commit_msg>Added a default config<commit_after>package com.leontg77.lafs;

import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.java.JavaPlugin;

import com.leontg77.lafs.commands.LAFSCommand;

/**
 * Main class of the plugin.
 * 
 * @author LeonTG77
 */
public class Main extends JavaPlugin {
	public static boolean enabled = false;
	public static Main plugin;
	
	public static final String NO_PERM_MSG = "cYou don't have permission.";
	public static final String PREFIX = "clKillReveal 8 7";
	
	/**
	 * Get the instance of the class.
	 * 
	 * @return The instance.
	 */
	public static Main getInstance() {
		return plugin;
	}
	
	@Override
	public void onDisable() {
		PluginDescriptionFile file = getDescription();
		getLogger().info(file.getName() + " is now disabled.");
		
		plugin = null;
	}
	
	@Override
	public void onEnable() {
		PluginDescriptionFile file = getDescription();
		getLogger().info(file.getName() + " v" + file.getVersion() + " is now enabled.");
		getLogger().info("Plugin made by LeonTG77.");
		
		plugin = this;
		
		getCommand("lafs").setExecutor(new LAFSCommand());
		
		// setup the default config.
		getConfig().options().copyDefaults(true);
		getConfig().addDefault("teamsizeToCombine", 1);
		saveConfig();
	}
	
	/**
	 * Set the size of the teams to combine.
	 * 
	 * @param size The new size.
	 */
	public void setSize(int size) {
		getConfig().set("teamsizeToCombine", size);
		saveConfig();
	}
	
	/**
	 * Get the size of the teams to combine.
	 * 
	 * @return The size.
	 */
	public int getSize() {
		return getConfig().getInt("teamsizeToCombine", 1);
	}
}
{'fraction_non_alphanumeric': 0.13004926108374384, 'fraction_numerical': 0.007553366174055829, 'mean_word_length': 3.5873493975903616, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2863521', 'n_tokens_mistral': 1070, 'n_tokens_neox': 940, 'n_words': 275}