Support

Troubleshooting

Common questions when wiring exports and commands into your server.

My export call errors with "attempt to index a nil value".

The resource name is wrong, or Solar started after the resource calling it. Use your install's folder name in exports['…'] (default SolarAC), and make sure SolarAC is started first in server.cfg.

A whitelist still got flagged.

Call the whitelist immediately before the action and use a window long enough to cover it. Server-authoritative checks run continuously — a 5000ms window that expires before your teleport completes will not help.

BanPlayer dropped the player but no ban appeared on the dashboard.

The dashboard connection is required to record bans. Confirm the license in .license is valid and the resource is not in dev mode. KickPlayer works regardless, but ban / warn records need the dashboard.

IsPlayerBanned always returns false.

It fails open when the dashboard is unreachable or in dev mode. Check the FXServer console for license / dashboard connection status.

A console command does nothing when I type it in chat.

That is by design. solarban, solarunban, refreshconfig and the rest are console-only — they only run from the live server console (or txAdmin live console), never from player chat. Use the in-game admin menu (/solar) or the dashboard for staff actions.

The license fails to validate on boot.

Re-paste the key into .license (no extra spaces / newlines), confirm the license is active on the dashboard, and make sure your server can reach the Solar API. Transient network blips retry automatically.

Still stuck?

Open a ticket in our Discord — the team helps with integration, false-positive tuning, and deploys.

Join Discord