Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
/ SCP-SCPSwap Public archive

Allow people to change to a different SCP at the start of the round.

Notifications You must be signed in to change notification settings

NeonWizard/SCP-SCPSwap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCPSwap

A simple plugin for SCP:SL Smod2 servers that allows players to change which SCP they are at the start of the round. There are configurable conditions to be met to allow swapping SCPs, such as time and health limits. If a player wants to switch to an already taken SCP, a request is sent to the user to allow them to accept the trade.

Installation

Smod2 must be installed for this to work.

  1. Grab the latest release of SCPSwap.
  2. Place SCPSwap.dll in your server's sm_plugins folder.

Commands

Command Value Type Description
SCPSWAPDISABLE Disables the SCPSwap plugin. Server will need to restart to enable it again.

GameConsole Commands

Command Value Type Description
SCPSWAP Int Attempt to swap with the SCP designated under the provided Int.
SCPLIST List all alive SCPs (only accessible to SCPs).

Configuration

Config Option Value Type Default Value Description
scpswap_enable Bool True Whether SCPSwap should be enabled on server start.
scpswap_timeperiod Int 60 Amount of time in seconds after round start that player can swap SCPs.
scpswap_minhealth Int 98 Minimum health percentage required to be able to swap SCPs.
scpswap_preservehealth Bool True Whether to preserve health percentage on a swap.
scpswap_maxswaps Int 1 How many swaps can be done per player, per round.
scpswap_disallowed_scps List Empty List of SCPs that cannot be swapped to or from.

*Note that all configs should go in your server config file, not config_remoteadmin.txt

Place any suggestions/problems in issues!

About

Allow people to change to a different SCP at the start of the round.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages