PDA

View Full Version : TimedAdmin


API
08-04-2007, 23:06
TimedAdmin
Version 1.0
Coded by PimpinJuice
Requested by The-Killer

Description

Sometimes it is easier to give a player admin at a certain time of the day, or only on certain days, or even a mix! This plugin makes it easy, following the same format as the admins.cfg file, setup is easy! The instructions for configuring are in admins_timed.cfg, if you have any questions though, post here.

Installation
Place the timedadmin.smx file inside of the addons/sourcemod/plugins/ folder.
Place the admins_timed.cfg file inside of the addons/sourcemod/configs/ folder.
Cvars
sm_ta_updatetime - How often to check the time for admin changes, in minutes. For performance reasons, it is recommended to stay <=1 minute.

Mad.Eagle
08-05-2007, 08:23
thanks! useful plugin, will test and use it! =)

Rebell
08-05-2007, 08:33
Oh cool iead - scheduled admins :D

cya

Extreme_One
08-05-2007, 08:42
Brilliant idea!

I'm gonna try and use this to encourage donations towards our server fund. ;)

imported_Anth0ny
08-05-2007, 14:18
really good and useful, thanks!

API
08-05-2007, 15:44
Yup, thats the general idea :]
Let me know if you have problems or questions.

The-Killer
08-05-2007, 18:34
Thanks again for coding my great idea... lol

imported_Anth0ny
08-23-2007, 03:12
can you adapt your great plugin for using with MySQL database?

=)

J@y-R
09-08-2007, 12:53
Hello All

if I enter sm_reloadadmins into the console of HLSW
come this

[SM] Plugin encountered error 15: Array index is out of bounds
[SM] Displaying call stack trace for plugin "timedadmin.smx":
[SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()is my format of the .cfg wrong or is this a bug

wfg JaY

imported_Anth0ny
09-08-2007, 13:20
this plugin- NICE and USEFUL!
please update it =)

DeaD_EyE82
09-09-2007, 10:16
Hi, i couldn't compile the Plugin with the newest Sourcemod Version (1406).

//// timedadmin.sp
// timedadmin.sp(32) : fatal error 120: cannot read from file: "admin-flatfile\a
dmin-levels.sp"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0,06 sec
// ----------------------------------------

J@y-R
09-09-2007, 10:40
BUG

L 09/08/2007 - 18:50:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:50:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:50:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:50:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:50:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:50:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:51:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:51:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:51:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:51:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:51:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:51:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:52:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:52:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:52:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:52:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:52:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:52:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:53:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:53:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:53:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:53:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:53:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:53:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:54:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:54:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:54:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:54:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:54:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:54:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:55:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:55:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:55:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:55:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:55:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:55:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:56:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:56:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:56:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:56:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:56:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:56:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:57:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:57:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:57:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:57:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:57:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:57:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:58:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:58:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:58:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:58:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:58:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:58:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:59:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:59:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:59:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 18:59:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 18:59:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 18:59:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:00:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:00:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:00:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:00:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:00:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:00:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:01:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:01:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:01:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:01:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:01:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:01:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:02:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:02:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:02:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:02:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:02:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:02:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:03:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:03:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:03:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:03:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:03:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:03:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:04:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:04:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:04:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:04:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:04:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:04:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:05:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:05:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:05:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:05:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:05:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:05:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:06:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:06:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:06:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:06:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:06:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:06:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:07:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:07:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:07:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:07:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:07:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:07:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:08:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:08:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:08:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:08:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:08:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:08:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:09:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:09:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:09:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:09:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:09:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:09:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:10:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:10:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:10:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()
L 09/08/2007 - 19:10:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2007 - 19:10:51: [SM] Displaying call stack trace for plugin "timedadmin.smx":
L 09/08/2007 - 19:10:51: [SM] [0] Line 206, timedadmin.sp::OnRebuildAdminCache()

J@y-R
03-13-2008, 20:30
This Plugin is dead

:(

Mortdredd
02-03-2010, 09:27
anyone still working on this plugin?