🦥
Project Sloth
  • 🦥Project Sloth
  • ⭐Server Hosting | 1 of 1 Servers
  • Scripts
    • ❤️ps-hud
      • Installation Guide
      • Previews
    • 🪄ps-buffs
      • Available Buffs
      • Creduts
    • 👮ps-dispatch
      • Installation
      • Using Exports
        • Creating New Alerts
          • Using your or our Exports
    • 💻ps-mdt
      • Installation
      • Showcase
      • Credits
    • 👾ps-ui
      • Circle Minigame
      • Number Maze
      • VAR
      • Thermite
      • Scrambler
      • Display Text
      • Status UI
      • Menus
      • Input
      • Show Image
      • Show Notification
    • 🌱ps-drugprocessing
      • Previews
    • ⛽ps-fuel
      • Installation Guide
      • Features
      • Showcase
    • 🚞ps-objectspawner
      • Installation Guide
      • Features
      • Showcase
      • Credits
    • 🚓ps-liveries
      • Showcase
      • Credits
    • 🏠ps-housing
      • Installation
      • Features
      • Showcase
      • Adding Shells
      • Migration
      • Credits
    • ⚙️ps-discord
      • Installation
      • Convars
      • Exports
      • Credits
  • ❓FAQ
    • Frequently Asked Questions
      • Warnings
      • PS-HUD
      • PS-DISPATCH
      • PS-MDT
      • PS-UI
      • PS-DRUGPROCESSING
      • PS-OBJECTSPAWNER
      • PS-LIVERIES
Powered by GitBook
On this page
  1. Scripts
  2. ps-discord

Convars

You only have to configure the convars that has none as default value. The rest is optional. These should be placed in the server.cfg file or a file loaded by it. Example:

set ps:discordDebug "true"

Convar
Type
Default
Description

set ps:discordDebug

STRING

"false"

If you want debug prints in server console.

set ps:discordAPIVersion

INT

10

The Discord API Version you want to use (Recommended Version 10.)

set ps:discordGuildId

STRING

none

This is for your Discord Guild ID (Right-click Server Name in Dev Mode and Copy Server ID.)

set ps:discordBotToken

STRING

none

This is for your Discord Bot Token (Bot Token in Discord Developer Portal.)

set ps:discordRequestsPerMinute

INT

30

The Max Amount of Requests to the Discord API per minute (Recommended Amount is 30)

set ps:displayQueueInHostname

INT

1

If you want to display the queue in the hostname (1 = true, 0 = false)

set ps:gracePeriod

INT

0

The amount of time a player can be disconnected and join back to get upped queue priority (in seconds) (0 = disabled)

set ps:ghostCheckInterval

INT

60

The amount of time to check for ghost players (in seconds)

set ps:webhookStatusMessage

STRING

none

The webhook to send the status message to (leave blank to disable)

set ps:webhookStatusUpdateInterval

INT

30

The amount of time to send the status message to the webhook (in seconds) (Defualt is 30)

PreviousInstallationNextExports

Last updated 1 year ago

⚙️