Command API thoughts - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html) +--- Thread: Command API thoughts (/thread-765.html) Pages:
1
2
|
RE: Command API thoughts - xoft - 02-02-2013 Done, rev 1183. Wow, I'm good And as a side-effect, the /help list is finally alpha-sorted. RE: Command API thoughts - NiLSPACE - 02-14-2013 can you also make it possible to add commands into the console? maybe something like this: PluginManager:BindConsoleCommand("/example", Handleexample, "this is also an example"); RE: Command API thoughts - xoft - 02-14-2013 That's a good idea. Later on, as I'm working on other things currently. Maybe put it in the flyspray tracker, so that it's not forgotten. RE: Command API thoughts - xoft - 02-15-2013 I'm beginning to actually like Lua. Its lambda-functions feature makes writing callbacks sooo easy! Just look at the Core/console.lua file and its handler functions, aren't they beautiful? I have to admit it's more elegant than the original C++ code. Anyway, console command binding is now done, too. |