You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need the following commands to be enterable in the console:
load : loads the plugin.
unload : if loaded, unloads the plugin.
reload : unloads then loads the plugin
It would also be cool to have the ability to set config options from the console. Imagine ... :
set NWNX_CHAT_LOG_LEVEL=7
reload NWNX_Chat
(now you have debug info, you debug on the fly to find an issue on a live server)
unset NWNX_CHAT_LOG_LEVEL
reload NWNX_Chat
(back to normal)
Help should output info on these additional commands. It should be implemented through a service so other plugins can add their own custom commands.
GetServices()->m_Commands->RegisterCommand(std::string command, std::function<bool(std::string)>) is an example API that could be used.
This is important for the profiler and could be very useful for many other plugins. I want people to be able to selectively load it during laggy times to get 30 seconds - 1 minute of important metrics then unload it again.
The text was updated successfully, but these errors were encountered:
We need the following commands to be enterable in the console:
It would also be cool to have the ability to set config options from the console. Imagine ... :
(now you have debug info, you debug on the fly to find an issue on a live server)
(back to normal)
Help should output info on these additional commands. It should be implemented through a service so other plugins can add their own custom commands.
This is important for the profiler and could be very useful for many other plugins. I want people to be able to selectively load it during laggy times to get 30 seconds - 1 minute of important metrics then unload it again.
The text was updated successfully, but these errors were encountered: