Installation

Install Alpy SafeZones with oxmysql and admin permissions.

  1. Copy the resource

    Place AlpySafeZones in your resources/ folder. The ensure name in server.cfg must match the folder name.

  2. Ensure dependencies

    ensure ox_lib
    ensure oxmysql
    ensure PolyZone        # optional
    ensure AlpySafeZones

    INSTALL.sql is included for reference; the resource also creates the table on first start when ServerConfig.UseDatabase = true.

  3. Set admin permissions

    Add your staff groups to ServerConfig.AllowedGroups in server/server.config.lua, or use Ace:

    add_ace group.admin safezones.admin allow
    add_principal identifier.steam:XXXX group.admin
  4. Open the panel in-game

    Restart the resource, then run /safezones (or your custom command from Config.OpenCommand).

Alpy SafeZones create zone modal