πŸ”₯All scripts on our website are 50% off!πŸ”₯
Logo

Commands

Create Party (Admin Only)

This command is only available to administrators.

/party

Opens the admin interface for creating and managing parties. From here you can:

  • Create new party zones
  • Configure music settings
  • Add NPCs with dance animations
  • Set up particle effects
  • Choose lighting colors
  • Save party configurations to database
  • Load saved party configurations
  • Delete existing parties

Admin Interface Features

  1. Party Zone Configuration

    • Set party location coordinates
    • Define party area radius
    • Name your party event
  2. Music Settings

    • Enter music URL (xSound compatible)
    • Set volume level
    • Configure hearing distance
    • Assign DJ job access
  3. NPC Management

    • Choose number of NPCs
    • Select ped models
    • Assign dance animations
    • Set spawn positions
  4. Visual Effects

    • Add particle effects
    • Choose particle types
    • Set particle colors
    • Configure effect density
  5. Database Actions

    • Save current configuration
    • Load existing parties
    • Update party settings
    • Delete parties

Music Control (Job-Restricted)

Once the administrator has created a party and assigned a job to the Music section, the player with that job can use the following command:

/music

Opens the music control interface allowing:

  • Play/pause music
  • Adjust volume
  • Change tracks
  • Stop music

Music Command Requirements

  • Player must have the job specified in party configuration
  • Player must be within Config.MusicJobDistance (default: 30m) of the party zone
  • Party must have music configured and active

How It Works

  1. Admin creates party with /party command
  2. Admin assigns a specific job (e.g., "dj") in party settings
  3. Player with that job can use /music within range
  4. Music is heard by all players within Config.MusicHearDistance (default: 50m)

The default commands can be changed in the configuration:

  • Party command: Config.command = "party"
  • Music command: Config.MusicCommand = "music"