Code:
Spoiler anzeigen
PHP
		
					
				<?php
/**
 * Anti Multi GUID Plugin
 * This plugin will kick a joining player if another player with his guid is already on the server.
 *
 * @author Yenz
 * @license Creative Commons BY-NC-SA 3.0 (Creative Commons — Attribution-NonCommercial-ShareAlike 3.0 Uported  — CC BY-NC-SA 3.0)
 * @version 1.0
 * [antimultiguid]
 * enabled = 1
 * kickreason = "Multiple Key"
 */
$mod->setDefaultCV("antimultiguid", "enabled", 0);
$mod->setDefaultCV("antimultiguid", "kickreason", "Multiple Key");
 
$antiMultiGuid = new antiMultiGuid();
$mod->registerEvent("playerPIDChange", "playerPIDChange", $antiMultiGuid);
class antiMultiGuid
{
	public function __construct()
	{
 // nothing to do
	}
	public function playerPIDChange($param)
	{
		 global $mod, $logging;
		if (!$mod->getCV("antimultiguid", "enabled")) {
			return false;
		}
		 $guid = $param[0];
		 $old_pid = $param[1];
		 $new_pid = $param[2];
		 $logging->write(MOD_NOTICE, "antiMultiGuid: playerPIDChange, GUID: $guid, old_pid: $old_pid, new_pid: $new_pid");
		 $logging->write(MOD_NOTICE, "antiMultiGuid: kick new player id and sync playerlist");
		 $mod->rconRcon("clientkick $new_pid");
		 $mod->rconSay($mod->getCV("antimultiguid", "kickreason"));
		 $mod->syncPlayerlist();
	}
}
Config:
Have fun 
 But i will update the Chatlog Plugin soon.
 But i will update the Chatlog Plugin soon.