Cuberite Forum

Full Version: Bind console command (solved)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I wrote a plugin that works (hooray:D) when I execute it as user, but I can't execute it via the console. (Unknown command...)
I use the cPluginManager.BindCommand - hook.
Are more details necessary? Do I need another hook?

Julian
There's another function for binding console commands: cPluginManager:BindConsoleCommand().
That's because console command handler functions have a different signature than in-game command functions.
Thank you and facepalm!

Juli