1
0
cuberite-2a/MCServer/Plugins/SquirrelChatLog.nut

14 lines
216 B
Plaintext
Raw Normal View History

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