View Single Post
Plugin Info:     Modification:          Category:          Approver:   Arkshine (91)
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 07-03-2011 , 06:05   Server Tasks v2.0
Reply With Quote #1

Server Tasks v2.0


Servers Running Server Tasks v2.0



(GameTracker)

Description

You can set many tasks.
These tasks are written in a .ini file that can easily be configured.
You also have a .cfg file for night and one for day.
One of these .cfg files is executed after each map change.
You can also leave these .cfg files empty or even erase them/ don't upload them.

How does a task look like?

"01:45" "changelevel de_dust2"

What is special in this plugin?

It's made with arrays instead of string global variables.
You could add unlimited tasks. It means there's no tasks limit.
You may set the tasks using a .ini configuration file.

How does the configuration file look like?

Code:
# Lines starting without " will be taken as comments!
# The format is :  "TIME" "COMMAND"

"02:02" "say Here's Johnny!"
"15:15" "changelevel de_dust2"

// DARK HOURS
// WHEN IS IT NIGHT? WHICH HOURS?
// CONFIGURE IT THE WAY YOU WANT!
// AVAILABLE HOURS :  00, 01, 02, 03, ..., 09, 10, 11, 12, ..., 13, 14, 15, ..., 19, 20, 21, 22, 23  [00 <-> 23]
//
"DARK HOURS" "23, 00, 01, 02, 03, 04, 05, 06, 07, 08, 09"
How to install?

Configure .ini and .cfg files the way you want. .cfg files are optional.
Upload .ini and .cfg files to your configs directory. .cfg files are optional.
Upload server_tasks.amxx file to your plugins directory.
Edit plugins.ini file adding server_tasks.amxx.

Attached Files
File Type: cfg day_config.cfg (62 Bytes, 2475 views)
File Type: cfg night_config.cfg (64 Bytes, 2431 views)
File Type: ini server_tasks.ini (434 Bytes, 2197 views)
File Type: sma Get Plugin or Get Source (server_tasks.sma - 3612 views - 4.3 KB)
__________________

Last edited by claudiuhks; 05-28-2023 at 13:39.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks