mcserver/MCServer/Plugins/SquirrelChatLog.nut

14 lines
216 B
Plaintext

class SquirrelChatLog extends Plugin
{
function Initialize()
{
this.AddHook(Hook.Chat);
return true;
}
function OnChat(Message, Player)
{
::print(Player.GetName() + ": " + Message);
}
}