1
0
cuberite-2a/MCServer/Plugins/SquirrelChatLog.nut
2012-08-20 12:20:20 +00:00

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);
}
}