diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-10-08 22:07:55 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-10-08 22:07:55 +0200 |
commit | 8f625867f72ea5865616a14c628a21d494bac27e (patch) | |
tree | ce21450a5d0aa8b1676972a7385958110d039869 /MCServer/Plugins/ChatLog/plugin.lua | |
parent | Added chunkWorx. (diff) | |
download | cuberite-8f625867f72ea5865616a14c628a21d494bac27e.tar cuberite-8f625867f72ea5865616a14c628a21d494bac27e.tar.gz cuberite-8f625867f72ea5865616a14c628a21d494bac27e.tar.bz2 cuberite-8f625867f72ea5865616a14c628a21d494bac27e.tar.lz cuberite-8f625867f72ea5865616a14c628a21d494bac27e.tar.xz cuberite-8f625867f72ea5865616a14c628a21d494bac27e.tar.zst cuberite-8f625867f72ea5865616a14c628a21d494bac27e.zip |
Diffstat (limited to 'MCServer/Plugins/ChatLog/plugin.lua')
-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 |