Skip to content

Latest commit

 

History

History
76 lines (46 loc) · 2.12 KB

File metadata and controls

76 lines (46 loc) · 2.12 KB

Quick start

SampLive works from the folder where your server lives.

1. Setup

samplive setup

It tries to guess everything: your server, the runtime (SA-MP or open.mp), your gamemode, your pawncc and the RCON password. Most of the time you just press Enter.

If it can't find something, it asks. The result is a samplive.yaml in the current folder.

2. Run

samplive

That's it. Now edit a .pwn, save it, and watch it reload.

The loop

  1. Save a .pwn or .inc.
  2. SampLive compiles.
  3. Errors show up on the terminal. Failed build? The server stays alone.
  4. Clean build? The server reloads.

What you'll see on open.mp (Windows)

On Windows with open.mp the reload is in place: SampLive types changemode into the server's console, so your players stay connected and the process keeps running. The terminal prints:

reloaded via console:changemode (players stay connected)

No setup needed, it just works. The server runs in the background with a hidden console that SampLive drives for you; you never have to look at it.

On Linux (or if console injection isn't available) it falls back to restarting the server process, which disconnects everyone — that's normal.


En español

SampLive se usa desde la carpeta de tu servidor.

1. Configurar

samplive setup

Intenta adivinar todo solo: tu server, si es SA-MP u open.mp, tu gamemode, el pawncc y la contraseña de RCON. Casi siempre solo tenés que apretar Enter.

Si no encuentra algo, te lo pregunta. Al final te crea un samplive.yaml.

2. Correr

samplive

Y listo. Ahora editá un .pwn, guardalo, y miralo recargarse solo.

Qué pasa en open.mp (Windows)

La recarga es en el momento: SampLive escribe changemode en la consola del server, así los jugadores siguen conectados y el proceso no se reinicia. Vas a ver esto en la terminal:

reloaded via console:changemode (players stay connected)

El server corre en segundo plano con una consola oculta que SampLive maneja por vos. No tenés que mirarla nunca.

En Linux (o si no hay consola disponible) se reinicia el proceso del server y todos se desconectan — eso es normal.