<commit_before>package info.tregmine.chat;

//import java.util.HashMap;

import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerChatEvent;

public class ChatPlayer implements Listener {
	private final Chat plugin;

	public ChatPlayer(Chat instance) {
		plugin = instance;
		plugin.getServer();
	}

	@EventHandler
	public void onPlayerChat(PlayerChatEvent event) {
		Player sender = event.getPlayer();
		info.tregmine.api.TregminePlayer tregminePlayer = this.plugin.tregmine.tregminePlayer.get(sender.getName());
		Player[] players = plugin.getServer().getOnlinePlayers();


		if ( !this.plugin.lasttime.containsKey(tregminePlayer.getId())) {
			this.plugin.lasttime.put(tregminePlayer.getId(), 0L);
		} else {
			if (this.plugin.lasttime.get(tregminePlayer.getId()) >= System.currentTimeMillis() + 3000 ) {
				tregminePlayer.sendMessage("SPAMBLOCK TEST *IGNORE IT*, its not yet tuned");
			}
		}

		//		if (event.getMessage().equals(this.plugin.lastline.get(sender.getName())) ) {

		//		}


		//		if (event.getMessage().equals(this.plugin.lastline.get(sender.getName())) ) {
		//			sender.getPlayer().sendMessage("No need to repeat yourself!"); <commit_msg>i'm a stupid coder and asshole<commit_after>package info.tregmine.chat;

//import java.util.HashMap;

import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerChatEvent;

public class ChatPlayer implements Listener {
	private final Chat plugin;

	public ChatPlayer(Chat instance) {
		plugin = instance;
		plugin.getServer();
	}

	@EventHandler
	public void onPlayerChat(PlayerChatEvent event) {
		Player sender = event.getPlayer();
		info.tregmine.api.TregminePlayer tregminePlayer = this.plugin.tregmine.tregminePlayer.get(sender.getName());
		Player[] players = plugin.getServer().getOnlinePlayers();


		if ( !this.plugin.lasttime.containsKey(tregminePlayer.getId())) {
			this.plugin.lasttime.put(tregminePlayer.getId(), 0L);
		} else {
			if (this.plugin.lasttime.get(tregminePlayer.getId())  + 3000 >= System.currentTimeMillis() ) {
				tregminePlayer.sendMessage("SPAMBLOCK TEST *IGNORE IT*, its not yet tuned");
			}
		}

		//		if (event.getMessage().equals(this.plugin.lastline.get(sender.getName())) ) {

		//		}


		//		if (event.getMessage().equals(this.plugin.lastline.get(sender.getName())) ) {
		//			sender.getPlayer().sendMessage("No need to repeat yourself!"); 
{'fraction_non_alphanumeric': 0.1413551401869159, 'fraction_numerical': 0.003894080996884735, 'mean_word_length': 4.671081677704194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6949358', 'n_tokens_mistral': 901, 'n_tokens_neox': 833, 'n_words': 143}