Syberspace / jcmp-countdown

JC-MP Countdown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JC-MP Countdown

This is a little JC-MP Module which allows you to start a countdown for all players on the server

Commands:

/countdown or /cd - Starts the default countdown (10 seconds)
/cd <amount> or /countdown <amount> - Starts a countdown for <amount> seconds
/cd stop or /countdown stop - Stops the current countdown, can only be used by the player who started the countdown
/cd help or /countdown help - Displays the available commands in chat

All commands can also be viewed by pressing F5

Installation

with git

cd /path/to/your/server/scripts
git clone https://github.com/Syberspace/jcmp-countdown.git
mv jcmp-countdown countdown

without git

cd /path/to/your/server/scripts
wget https://github.com/Syberspace/jcmp-countdown/archive/master.zip
unzip master.zip
rm master.zip
mv jcmp-countdown-master countdown

now you can load the module by typing load countdown into your server-console

Updating

make sure to unload the script by typing unload countdown into your server-console
with git

cd /path/to/your/server/scripts/countdown
git pull

without git

delete the _countdown_ folder inside your server's _scripts_ folder
now proceed as if it were a fresh installation

About

JC-MP Countdown


Languages

Language:Lua 100.0%