Code Monkey home page Code Monkey logo

scp-disconnectdrop's Introduction

DisconnectDrop

A simple plugin for SCP:SL Smod2 servers, which drops a player's inventory in the event that they are disconnected. An example of when this is useful is when the only person with keycards in 914 times out. Without this plugin, all other players in 914 would be trapped indefinitely. It operates by lightweight caching minimal player information every so often, of which the interval is configurable.

Installation

Smod2 must be installed for this to work.

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

Commands

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

Configuration

Config Option Value Type Default Value Description
ddrop_enable Bool True Whether DisconnectDrop should be enabled on server start.
ddrop_debug Bool False Enables debugging output for DisconnectDrop.
ddrop_inventory_refreshrate Int 3 How often player inventories are cached (in seconds).

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

Place any suggestions/problems in issues!

scp-disconnectdrop's People

Contributors

neonwizard avatar rnen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

scp-disconnectdrop's Issues

crash at the end of the round

at the end of the round the plugin will try to drop the items of all the connected players and will crash the server

Plugin crashes server

I think this plugin is crashing my server. When i removed it the server worked and never crashed again... The crash appears after round restart or server restart.

My gues is that:

When the server / round restarts everyone get disconnected, but the items drop, and the server doesn't know what to do with the items and so it crashes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.