HKMP release v2.3.0
Release of major version of HKMP.
A number of additions have been made to the HKMP API. Most importantly, it is now possible for client addons to be 'togglable' when extending the TogglableClientAddon
class. This allows the addon to be enabled and disabled by the user via a command (for example: /addon enable Tag
). These addons are then restricted from using HKMP networking and will allow users to connect to server that have differing addons on them.
Features since previous release:
- Interface for
IPlayerCommandSender
allows to retrieve the ID of the player that sent a command - Server-side event for player chat allows cancelling and modifying sent chat messages
- Player map entries are exposed on the client-side API
- Server settings (previously called
GameSettings
) are exposed on the server-side API allowing addons to modify and read them - New
/log <level(s)>
command allows server to modify which messages are logged to the console - Client addons can now be togglable by extending the
TogglableClientAddon
class
Bugfixes since previous release:
- Explicit converter for Vector2 and Vector3 are fixed
- Exception are now better formatted in logs
- Some frequent log messages have been removed
- Addon-sent messages are now broken up on newline