Skip to main content

Scripting Your World


BeamMP allows for extensive server-side logic using the Lua programming language. This enables you to create everything from welcome messages to automated race timing systems.
Reading TimeDifficultyLast Updated
5 minutesIntermediateJanuary 2026

The Server Script Directory

All server-side logic scripts are stored in the /Resources/Server/ directory.
  1. Creation: Create a new folder (e.g., /MyEvent/) and a file inside it named main.lua.
  2. Basic Hook: Use the native BeamMP events to trigger your code.
    function onPlayerJoin(playerID)
        Chat.send("Welcome to the FREAKHOSTING Derby!", playerID)
    end
    

Advanced Functions

You can utilize functions like MP.TriggerClientEvent to send data to all players, allowing you to synchronize visuals (like a race countdown HUD) or force specific teleportations for community events.

Support Channels

If you need assistance or have any questions, please contact our support team:

First Month Discount

Use code KB20 at checkout to get 20% off your first month of hosting!

Last Updated: January 2026 | Scripting: Unleash your creativity.