<commit_before>package ca.gibstick.discosheep;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public final class DiscoSheep extends JavaPlugin {
	
	static final String PERMISSION_PARTY = "discosheep.party";
	static final String PERMISSION_ALL = "discosheep.partyall";
	static final String PERMISSION_FIREWORKS = "discosheep.fireworks";
	static final String PERMISSION_STOPALL = "discosheep.stopall";
	static final String PERMISSION_RELOAD = "discosheep.reload";
	static final String PERMISSION_OTHER = "discosheep.partyother";
	static final String PERMISSION_CHANGEPERIOD = "discosheep.changeperiod";

	Map<String, DiscoParty> parties = new HashMap<String, DiscoParty>();
	private BaaBaaBlockSheepEvents blockEvents = new BaaBaaBlockSheepEvents(this);
	FileConfiguration config;

	@Override
	public void onEnable() {
		getCommand("ds").setExecutor(new DiscoSheepCommandExecutor(this));
		getServer().getPluginManager().registerEvents(blockEvents, this);

		if (config == null) {
			config = this.getConfig();
		}

		config.addDefault("max.sheep", DiscoParty.maxSheep);
		config.addDefault("max.radius", DiscoParty.maxRadius);
		config.addDefault("max.duration", toSeconds_i(DiscoParty.maxDuration));
		config.addDefault("max.period-ticks", DiscoParty.maxPeriod);<commit_msg>fixed discosheep.other typo<commit_after>package ca.gibstick.discosheep;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public final class DiscoSheep extends JavaPlugin {
	
	static final String PERMISSION_PARTY = "discosheep.party";
	static final String PERMISSION_ALL = "discosheep.partyall";
	static final String PERMISSION_FIREWORKS = "discosheep.fireworks";
	static final String PERMISSION_STOPALL = "discosheep.stopall";
	static final String PERMISSION_RELOAD = "discosheep.reload";
	static final String PERMISSION_OTHER = "discosheep.other";
	static final String PERMISSION_CHANGEPERIOD = "discosheep.changeperiod";

	Map<String, DiscoParty> parties = new HashMap<String, DiscoParty>();
	private BaaBaaBlockSheepEvents blockEvents = new BaaBaaBlockSheepEvents(this);
	FileConfiguration config;

	@Override
	public void onEnable() {
		getCommand("ds").setExecutor(new DiscoSheepCommandExecutor(this));
		getServer().getPluginManager().registerEvents(blockEvents, this);

		if (config == null) {
			config = this.getConfig();
		}

		config.addDefault("max.sheep", DiscoParty.maxSheep);
		config.addDefault("max.radius", DiscoParty.maxRadius);
		config.addDefault("max.duration", toSeconds_i(DiscoParty.maxDuration));
		config.addDefault("max.period-ticks", DiscoParty.maxPeriod);
{'fraction_non_alphanumeric': 0.10740621994228919, 'fraction_numerical': 0.0, 'mean_word_length': 6.647058823529412, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1679078', 'n_tokens_mistral': 1046, 'n_tokens_neox': 991, 'n_words': 195}