How to disconnect KS the server

How to disconnect KS the server

Switch-off the Counter Strike server not so difficult if the nobility, how exactly it becomes. And remote switching off is also very conveniently and it is useful when the owner of the server is going to leave somewhere. At this time players can continue to play.

Instruction

1. Download a plug-in of serveroff which is in network in free access. He also allows to carry out the procedure of remote shutdown of the KS server. Unpack the downloaded archive in any folder. Copy all files from archive and place them in addons\amxmodx\config\plugins directory.

2. Start the standard simplest Notepad text editor. It is possible to make it, having pressed the Start-up button on a desktop, having clicked on "All programs", then having guided the mouse cursor at the Standard point and having clicked with the left mouse button the inscription "Notepad". Open the users.ini file in this program. Alternative option: find the specified file, click it with the right mouse button, select "Open with the help", and then "Select the program" and click the word "Notepad" with the left mouse button, having found it in the list. By the way, there is a file in server\cstrike\addons\amxmodx\configs\directory.

3. In the last line of the open document keep the name of a plug-in which you install, and then save the made changes.

4. Use the following commands:

— say/serveroff — a call of the main menu;
— amx_serveroff — shutdown of the server via the console;
— 1 — switching off of the server through the period selected by the administrator (in hours);
— 2 — switching off of the server upon termination of use of the current card;
— 3 — immediate shutdown of the server;
— amx_serveroff stop — shutdown of the timer.

5. Also you can change colors of messages of a chat:

— b — blue color;
— w — white color;
— y — yellow color;
— r — red color;
— g — green color.

6. The full syntax, thus, will look approximately as follows: amx_serveroff 1 2 r. It means switching off of the server by means of the console through the set number of hours, that is 2, at the same time the text of the message in a chat will be red color.

7. Other option of execution of the same task is also serveroff plug-in, but only the old version, unpretentious (v 0.7). For use of this version of a plug-in just print in console/serveroff. And  you can select a time interval in hours by means of the so_timeoff command.

Author: «MirrorInfo» Dream Team


Print