Dynamic Slots

MIT

A simple Dynamic Slots plugin for SourceMod that increments and decrements the maxplayers count as users join or leave.

A simple dynamic slots plugin for SourceMod that relies on increasing the visible maxplayers (sv_visiblemaxplayers CVar) by incrementals. The incremental value must be dividable by two.

If for whatever reason the game you're using this for doesn't support sv_visiblemaxplayers, the plugin will not work.

ConVars

Here is a list of the plugin's ConVars along with their descriptions and default values.

// This file was auto-generated by SourceMod (v1.10.0.6537)
// ConVars for plugin "dynamic_slots.smx"


// Whether to include bots in player count calculations.
// -
// Default: "0"
ds_bots_include "0"

// Enables debugging (for developer mode only). Will log a SourceMod message.
// -
// Default: "0"
ds_debug "0"

// How many slots to increase by after 'ds_min' is reached until 'ds_max'.
// -
// Default: "2"
ds_increase "2"

// The maximum player count before the plugin stops doing anything. 0 = maxplayers.
// -
// Default: "0"
ds_max "0"

// The minimum amount of players required for the plugin to do anything.
// -
// Default: "24"
ds_min "24"

Installation

Compile the .sp source file (SourcePawn) using SourceMod and copy the compiled plugin (.smx file) into the server's plugins directory.

Afterwards, execute sm plugins reload dynamic_slots or restart the map/ or server to load the plugin.

Engagement au fil du temps

Chargement…

Dynamic Slots est un mod pour Source Engine dans la catégorie SourceMod. Il compte 0 téléchargement, 3 vues, 0 favori et 0 version. Cet élément appartient à 5 tags.

Avis

Connectez-vous pour laisser un avis.

Chargement…

Commentaires (0)

Connectez-vous pour commenter.

Chargement…