diff options
author | Mattes D <github@xoft.cz> | 2014-10-08 22:29:58 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-08 22:29:58 +0200 |
commit | b77d721daa1a9218fe0ee30fea83cea57f11f2ed (patch) | |
tree | bb7da1724320c934396a3064065f9892468d2803 /MCServer/Plugins/ChatLog/plugin.lua | |
parent | Merge pull request #1518 from mc-server/AcaciaTrees (diff) | |
parent | Reordered .gitmodules. Fixes #496 (diff) | |
download | cuberite-b77d721daa1a9218fe0ee30fea83cea57f11f2ed.tar cuberite-b77d721daa1a9218fe0ee30fea83cea57f11f2ed.tar.gz cuberite-b77d721daa1a9218fe0ee30fea83cea57f11f2ed.tar.bz2 cuberite-b77d721daa1a9218fe0ee30fea83cea57f11f2ed.tar.lz cuberite-b77d721daa1a9218fe0ee30fea83cea57f11f2ed.tar.xz cuberite-b77d721daa1a9218fe0ee30fea83cea57f11f2ed.tar.zst cuberite-b77d721daa1a9218fe0ee30fea83cea57f11f2ed.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/ChatLog/plugin.lua | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/MCServer/Plugins/ChatLog/plugin.lua b/MCServer/Plugins/ChatLog/plugin.lua deleted file mode 100644 index adbf986e0..000000000 --- a/MCServer/Plugins/ChatLog/plugin.lua +++ /dev/null @@ -1,31 +0,0 @@ - --- plugin.lua - --- Implements the main entrypoint for the plugin, as well as all the handling needed - --- ChatLog plugin logs all chat messages into the server log - - - - - -function Initialize(Plugin) - Plugin:SetName("ChatLog") - Plugin:SetVersion(3) - - cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChat) - - LOG("Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion()) - return true -end - - - - - -function OnChat(Player, Message) - -- Lets get loggin' - LOGINFO("[" .. Player:GetName() .. "]: " .. StripColorCodes(Message)); - - return false -end
\ No newline at end of file |