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
-
Party Zone Configuration
- Set party location coordinates
- Define party area radius
- Name your party event
-
Music Settings
- Enter music URL (xSound compatible)
- Set volume level
- Configure hearing distance
- Assign DJ job access
-
NPC Management
- Choose number of NPCs
- Select ped models
- Assign dance animations
- Set spawn positions
-
Visual Effects
- Add particle effects
- Choose particle types
- Set particle colors
- Configure effect density
-
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
- Admin creates party with
/partycommand - Admin assigns a specific job (e.g., "dj") in party settings
- Player with that job can use
/musicwithin range - 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"