Skip to content

zochris/SCPSL-SpectatorDisabler

Repository files navigation

SCP: Secret Labs - SpectatorDisabler

Contributor Covenant

When a player dies they are put into the tutorial role to prevent them from spectating the other players. This stops them from respawning with the knowledge of who is still alive and where they currently are.

Installation

There a two versions available one for the EXILED framework and one for plain LabAPI without dependencies on a third-party framework. Make sure to download the correct version for your server.

EXILED

  • Make sure you have the EXILED framework installed
  • Download the latest release
  • Drop all .dlls into your plugins directory
    • Windows: %appdata%\EXILED\Plugins
    • Linux: ~/.config/EXILED/Plugins
  • Restart or reload your server

LabAPI

  • Download the latest release
  • Drop the contents of the dependecies folder into your dependencies directory
    • Windows: %appdata%\SCP Secret Laboratory\LabAPI\dependencies\7777\
    • Linux: ~/.config/SCP Secret Laboratory/LabAPI/dependencies/7777/
  • Drop the contents of the plugins folder into your plugins directory
    • Windows: %appdata%\SCP Secret Laboratory\LabAPI\plugins\7777\
    • Linux: ~/.config/SCP Secret Laboratory/LabAPI/plugins/7777/
  • Restart or reload your server

Configuration

Name Type Default Value Description
tower_window_blockers Boolean false Enables blocking the windows in the tower on the surface
tower_workbench Boolean true Enables spawning a workbench and safe weapons in tower

Recommended EXILED settings

These settings ensure the best gameplay experience when using the SpectatorDisabler.

They can be found in %appdata%\EXILED\Configs\Plugins\exiled_events\7777.yml or ~/.config/EXILED/Configs/Plugins/exiled_events/7777.yml.

  • can_tutorial_block_scp173: false: Prevent tutorials from blocking SCP-173
  • can_tutorial_trigger_scp096: false: Prevent tutorials from triggering SCP-096
  • can_scp049_sense_tutorial: false: Prevent SCP-049 from sensing tutorials
  • tutorial_not_affected_by_scp079_scan: true: Prevent tutorial from being affected by SCP-079 scan.

Compatibility

This plugin uses the tutorial role to replace the spectator role. Other plugins that use the tutorial role will not work together with the SpectatorDisabler. Any other plugin should work fine.

Feel free to report plugins that cause issues.

Known incompatibilities

Contributing

Refer to the Contributing Guidelines if you want to contribute.

Everyone interacting with this repository is expected to follow the code of conduct.

About

Prevents players from spectating and rushing to the last survivors once they respawn. Built for SCP: Secret Laboratory

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors

Languages