ATY Scripts Logo
ATY Scripts/Docs/Map Editor/Commands

Commands

Commands

Three commands, all renameable in Config.Commands.

/opencreator

Opens the editor. Requires editor permission — see Permissions.

Registered through your framework when one is present (QBCore Commands.Add, ESX RegisterCommand), otherwise as a plain command. Permission is checked server-side either way, and every edit is re-checked, so the command registration is not the security boundary.

/cleanprops

Validates every placed prop against the shipped object list and removes records whose model no longer exists.

Run it after:

  • Removing a stream resource whose models you had placed
  • Importing data from a server with different add-ons
  • Seeing invisible props, or props that spawn as a floating question mark

Run from the server console it validates against the first connected player, since the check needs a client that has the game loaded.

/clearworldprops

Restores every world prop that has ever been erased, server-wide.

No undo, no scope, no confirmation. It empties the whole suppression list. To restore one prop, use the **Deleted world props** tab instead — see World eraser.

Renaming

Config.Commands = {
    OpenCreator     = "opencreator",
    CleanProps      = "cleanprops",
    ClearWorldProps = "clearworldprops",
}

Rename freely if another resource already owns one of the names. /cleanprops and /clearworldprops are registered as restricted commands, so they also need an ACE grant for their command principal, or console access.

ATY Scripts LogoATY SCRIPTS

Creamos scripts de FiveM altamente optimizados para QBCore y ESX. Máximo rendimiento, código preciso, cero lag.

Unirse a la comunidad

Socio

Socios oficiales de Tebex. Pago seguro e integración con Cfx.re Keymaster.

Legal

Sin afiliación con Rockstar Games, Cfx.re, FiveM ni Take-Two Interactive. Las compras se rigen por los Términos de Servicio de Tebex.

© 2026 ATY SCRIPTS. Todos los derechos reservados.