From 34b3c13404c466c8f64d198dce914a1e3fa094c2 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 15 Feb 2013 13:00:59 +0000 Subject: Plugins can now bind console commands FS #300 Most console commands are now implemented in the Core plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1214 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Plugin.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/Plugin.cpp') diff --git a/source/Plugin.cpp b/source/Plugin.cpp index 968f8c1f6..3c2502617 100644 --- a/source/Plugin.cpp +++ b/source/Plugin.cpp @@ -535,6 +535,16 @@ bool cPlugin::HandleCommand(const AStringVector & a_Split, cPlayer * a_Player) +bool cPlugin::HandleConsoleCommand(const AStringVector & a_Split) +{ + UNUSED(a_Split); + return false; +} + + + + + AString cPlugin::GetLocalDirectory(void) const { return std::string("Plugins/") + m_Directory; -- cgit v1.2.3