Zum Hauptinhalt springen

v1.3.1

Uses the table forms that msk_core 4.1.0 introduced, so the deprecation warnings in the server console are gone.

Requires msk_core 4.1.0 or newer

The notifications are sent as a table, which an older msk_core takes as the title. The resource checks the version on start and logs an error when msk_core is too old. Update msk_core along with this script.

Added

  • The msk_core version is checked on start. MSK.Check.Dependency('msk_core', '4.1.0', true) logs an error in the server console when msk_core is older, instead of leaving you to wonder why the notifications look wrong.

Changed

  • Config.Notification passes a table to MSK.Notification. The form with title, message, type and duration is deprecated since msk_core 4.1.0 and logs a warning once per resource. If you keep your own config, change the two MSK.Notification lines the same way. Leaving them works too, the old form is still accepted for now.

Changed files

fxmanifest.lua
config.lua
server/versionchecker.lua