<commit_before>package info.tregmine.citadel;

import info.tregmine.Tregmine;

import java.util.logging.Logger;

//import org.bukkit.World;
import org.bukkit.World.Environment;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
//import org.bukkit.ChatColor;
//import org.bukkit.World;
import org.bukkit.WorldCreator;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;



public class Citadel extends JavaPlugin {

	public final Logger log = Logger.getLogger("Minecraft");
	public Tregmine tregmine = null;

	public void onEnable() {
		Plugin test = this.getServer().getPluginManager().getPlugin("Tregmine");
		
		if(this.tregmine == null) {
			if(test != null) {
				this.tregmine = ((Tregmine)test);
				
				WorldCreator citadelCreator = new WorldCreator("citadel"); 
				citadelCreator.environment(Environment.NORMAL);
				citadelCreator.createWorld();
				
				WorldCreator alpha = new WorldCreator("alpha"); 
				alpha.environment(Environment.NORMAL);
				alpha.createWorld();
				
				WorldCreator skyland = new WorldCreator("skyland"); 
				skyland.environment(Environment.NORMAL);
				skyland.createWorld();

			} else {
				log.info(this.getDescription().getName() + " " + this.getDescription().getVersion() + " - could not find Tregmine");
				this.getServer().getPluginManager().disablePlugin(this);
			}
		}
		
	}

	public void onDisable(){
	}

	public void onLoad() {
	}

	
	public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {
		String commandName = command.getName().toLowerCase();
		Player from = null;

		if(!(sender instanceof Player)) {
			return false;
		} else {
			from = (Player) sender;
		}
		info.tregmine.api.TregminePlayer tregPlayer = this.tregmine.tregminePlayer.get(from.getName());
<commit_msg>fixed so skylands uses skylands engein<commit_after>package info.tregmine.citadel;

import info.tregmine.Tregmine;

import java.util.logging.Logger;

//import org.bukkit.World;
import org.bukkit.World.Environment;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
//import org.bukkit.ChatColor;
//import org.bukkit.World;
import org.bukkit.WorldCreator;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;



public class Citadel extends JavaPlugin {

	public final Logger log = Logger.getLogger("Minecraft");
	public Tregmine tregmine = null;

	public void onEnable() {
		Plugin test = this.getServer().getPluginManager().getPlugin("Tregmine");
		
		if(this.tregmine == null) {
			if(test != null) {
				this.tregmine = ((Tregmine)test);
				
				WorldCreator citadelCreator = new WorldCreator("citadel"); 
				citadelCreator.environment(Environment.NORMAL);
				citadelCreator.createWorld();
				
				WorldCreator alpha = new WorldCreator("alpha"); 
				alpha.environment(Environment.NORMAL);
				alpha.createWorld();
				
				WorldCreator skyland = new WorldCreator("skyland"); 
				skyland.environment(Environment.SKYLANDS);
				skyland.createWorld();

			} else {
				log.info(this.getDescription().getName() + " " + this.getDescription().getVersion() + " - could not find Tregmine");
				this.getServer().getPluginManager().disablePlugin(this);
			}
		}
		
	}

	public void onDisable(){
	}

	public void onLoad() {
	}

	
	public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {
		String commandName = command.getName().toLowerCase();
		Player from = null;

		if(!(sender instanceof Player)) {
			return false;
		} else {
			from = (Player) sender;
		}
		info.tregmine.api.TregminePlayer tregPlayer = this.tregmine.tregminePlayer.get(from.getName());

{'fraction_non_alphanumeric': 0.12670408981555734, 'fraction_numerical': 0.0, 'mean_word_length': 4.285310734463277, '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': '4883443', 'n_tokens_mistral': 1338, 'n_tokens_neox': 1159, 'n_words': 229}