HLSW Lua Plugins
Beginning with HLSW v1.3.1 we started our scripting initiative by supporting Lua Plugins within HLSW. Lua is one popular script languages that is used in the gaming scene in projects like World of Warcraft, LabView and many others. They give the users a simple solution to extend the functionality of their software product.
One of the biggest problems of game administration tools is, that they work mostly with only one game and you can't use one program for all your games. With HLSW we have tried to remove this disadvantage of being required to use multiple highly specialised game dependant tools by providing an application that aims to support all games within the same interface. By doing this their is not only the advantage of multiple game support for the game server administrator but also advantages for the game administration tool programmer, which has used his own GUI (Graphic User Interface).
Advantages for Developer
- HLSW is one of the best game administration tools and has a large user base with more then 450,000 registered users world-wide. If someone uses HLSW, then they can use your plugins too.
- You have easy access to the proven HLSW core functions to integrate new interfaces or extensions.
- Rcon features like receive and send rcon messages
- Creation of gui's to display or change server settings
- Socket function to receive or send socket messages or load web pages into hlsw
What do I need to write HLSW Lua plugins?
You need only a text editor like notepad to write plugins and some documentations about the HLSW Lua functions and Lua itself. A better method is to use a tool with syntax highlighting like Notepad++ or LuaEdit (both completely free). For some basic information about developing a LUA-Plugin, see the How-To.
Where can find I debugging output?
At the moment you can see debug output only in the HLSW debug console, but in future we hope to provide a better method. You can enable the debugging console with the "-debugconsole" application launch argument in you program shortcut.
The function base is not enough for me
We have tried our best to include everything we think a plugin developer will need. However, their is a chance your idea for a new plugin needs more than we have provided, in which case contact us either via email or through the forums and we will try to to integrate support for new functions in later versions of HLSW.
I don't understand how it works?
You can ask question over email, IRC and messenger and we will try to offer support for any programming problems you encounter with the HLSW Lua plugin development.