<commit_before>package info.tregmine.who;

import java.util.logging.Logger;

import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;

import info.tregmine.Tregmine; 
//import com.tregdev.tregmine.TregmineBlock;
//import info.tregmine.currency.Wallet;


public class Who extends JavaPlugin {

	Who plugin = this;

	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);
			} else {
				log.info(this.getDescription().getName() + " " + this.getDescription().getVersion() + " - could not find Tregmine");
				this.getServer().getPluginManager().disablePlugin(this);
			}
		}
	}

	public void onDisable(){
	}

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


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

		if(commandName.equals("who") || commandName.equals("playerlist")){

			int i = 0;
			int x = 0;
			int c = 0;
			String[] buff = new String[100];
			try {
				p = findPlayer(args[0]);
			}
			catch (Exception e) {
				p = null;
			}
<commit_msg>added /list as alias to /who again<commit_after>package info.tregmine.who;

import java.util.logging.Logger;

import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;

import info.tregmine.Tregmine; 
//import com.tregdev.tregmine.TregmineBlock;
//import info.tregmine.currency.Wallet;


public class Who extends JavaPlugin {

	Who plugin = this;

	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);
			} else {
				log.info(this.getDescription().getName() + " " + this.getDescription().getVersion() + " - could not find Tregmine");
				this.getServer().getPluginManager().disablePlugin(this);
			}
		}
	}

	public void onDisable(){
	}

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


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

		if(commandName.equals("who") || commandName.equals("playerlist") || commandName.equals("list")){

			int i = 0;
			int x = 0;
			int c = 0;
			String[] buff = new String[100];
			try {
				p = findPlayer(args[0]);
			}
			catch (Exception e) {
				p = null;
			}

{'fraction_non_alphanumeric': 0.13579561232990836, 'fraction_numerical': 0.0038878089419605664, 'mean_word_length': 4.145714285714286, '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': '107709', 'n_tokens_mistral': 1313, 'n_tokens_neox': 1158, 'n_words': 253}