Configuring this resource
π§ Installation
Place the resource in your
resources/directory.Add to your
server.cfg:ensure MirrorParkStudios-MobilisingModify
Shared/Config.luato suit your station layout and call signs.Add your sound files to the appropriate directory.
Restart the server.
βοΈ Configuration
All configuration is handled inside:
Shared/Config.luaπ― Events
Server-Side Turnout
TriggerEvent("MPS-TurnoutSystem:Server:TurnoutCallsigns", callsigns, turnoutMessage)callsigns: An array like{"E435", "E431"}turnoutMessage: A string (can include HTML<br />for formatting)
Server-Side Station Broadcast
stations: An array like{"F22", "F23"}message: A string message to broadcastinformationMessage:true/false- whether to play the info message tone
Server-Side Standby Order
callsigns: An array like{"E435", "E431"}station: A string, e.g.,"F22"
π¦ Sample Station Config
π¬ Commands
Players can open the mobilising interfaces manually:
π§ Sound Files
Sound files (e.g. E431.ogg, turnouttone.ogg) should be placed in your html/sounds/ or wherever your resource defines. They must match the names defined in the config but do not include file extensions.
Last updated