10-25-2015, 09:42 PM
(This post was last modified: 10-25-2015, 09:43 PM by Seadragon91.)
I have pushed the branch with the Info.lua to github.
The plugin SkyBlock works and every lua file gets loaded.
My problem is that the function RegisterPluginInfoCommands can not find the functions for the subcommands like CommandSkyBlockPlay.
It throws that error
The functions are in the file cmd_SkyBlock.lua in folder code/commands/
If I copy the file cmd_SkyBlock.lua into the root folder of the plugin, where the Info.lua is, everything works.
The plugin SkyBlock works and every lua file gets loaded.
My problem is that the function RegisterPluginInfoCommands can not find the functions for the subcommands like CommandSkyBlockPlay.
It throws that error
Code:
[12:35:38] SkyBlock: Invalid handler for command /skyblock play, command will not be registered.
The functions are in the file cmd_SkyBlock.lua in folder code/commands/
If I copy the file cmd_SkyBlock.lua into the root folder of the plugin, where the Info.lua is, everything works.