1
0
cuberite-2a/MCServer/Plugins/SquirrelChatLog.nut
2013-07-29 12:13:03 +01:00

14 lines
203 B
Plaintext

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