GithubHelp home page GithubHelp logo

sevenmod / plugin-servershutdown Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 87 KB

Plugin for SevenMod that schedules automatic server shutdowns and enables shutdown votes

License: MIT License

C# 100.00%
sourcemod 7dtd 7daystodie sevenmod

plugin-servershutdown's Introduction

Server Shutdown

Plugin for SevenMod that schedules automatic server shutdowns and enables shutdown votes. This plugin is in early development and is not ready for use in a live environment. Use at your own risk.

Configuration

File: ServerShutdown.xml

Property Default Description
ServerShutdownAutoRestart True Enable if the server is set up to automatically restart after crashing
ServerShutdownCountdownTime 5 The countdown time in minutes for scheduled shutdowns
ServerShutdownEnableRestartCommand True Enable the restart admin command
ServerShutdownEnableVote True Enable the voteshutdown admin command
ServerShutdownSchedule "" The automatic shutdown schedule in the format HH:MM. Separate multiple times with commas
ServerShutdownVotePercent 0.60 The percentage of players that must vote yes for a successful shutdown vote

Admin Commands

Command Arguments (<required> [optional]) Access Description
sm cancelrestart Changemap Cancels an impending restart
sm cancelshutdown Changemap Cancels an impending shutdown
sm restart [minutes] RCON Starts a server restart
sm voterestart Vote Starts a vote to restart the server
sm voteshutdown Vote Starts a vote to shut down the server

License

The source code for SevenMod is available under the terms of the MIT License. See the LICENSE.txt in the project root for details.

plugin-servershutdown's People

Contributors

stevotvr avatar

Watchers

 avatar  avatar

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.