These exports run on the server. Most of what you’ll need lives here.Documentation Index
Fetch the complete documentation index at: https://fxscripts.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
addMessage(target, options)
Send a chat message to one player or everyone. The most-used export.
Server
Player server ID, or
-1 to broadcast to every connected player.The message text. Supports inline color codes and a small markdown subset
(see below).
Author label. Usually a character name or system name.
Colored pill-style tag rendered before the title. Common uses:
LSPD,
EMS, ADMIN.Optional second tag, useful for badge numbers.
Author color (
#hex). Falls back to the active theme’s accent.Built-in icon name, or any other string for plain text. Available icons:
person, cloud, chat, envelope, megaphone, shield, heart,
globe, alert, radio.Adds a glow effect to highlight the message. Use sparingly.
Override the visual tag entirely.
Examples
System message
Police broadcast with badge
Special / glowing
Inline color codes
Two formats insideargs:
^0
(reset) and ^1 through ^9.
Markdown
clearChat(target?)
Clear chat history for one player or everyone.
Server
Player server ID. Pass
-1 or omit to clear chat for all players.Examples
setMuted(target, muted, durationMs?)
Mute a player so their messages are silently dropped server-side.
Server
Player server ID to mute / unmute.
true to mute, false to unmute.Optional auto-unmute delay in milliseconds. Omit for indefinite mute.
Examples
isMuted(target)
Check whether a player is currently muted.
Server
Player server ID.
true if currently muted.Missing an export you need? Ask in Discord —
we ship new ones when there’s a real use case.
