Author
|
Message
|
Veteran Member
Join Date: May 2012
Location: California
|
07-14-2018
, 03:10
[Any] Delay Command (testing appreciated!)
|
#1
|
[Any] Delay Command
v. 18.0725.0
This plugin allows admins to schedule commands to be run in the future. It takes heavy inspiration from this this plugin: https://forums.alliedmods.net/showthread.php?t=134288
Commands:- sm_delaycmd [time in seconds] [command to run], deafult access ADMFLAG_GENERIC. This command allows those with access to schedule command usage for a later time. For example, running the command sm_delaycmd 300 sm_kick @all "time's up!" would kick all players after 5 minutes with the reason "time's up!" If a player disconnects while he has pending commands, those commands will be cancelled.
- sm_delaycmd_list [target], default access ADMFLAG_GENERIC. This command allows the user to view a list of all pending commands queued by the target player(s), printed to the console. Players who do not have access to sm_delaycmd_viewothers (defaults to ADMFLAG_GENERIC) will be unable to specify a target; the target is assumed to be themselves. Players with access to sm_delaycmd_rcon will be able to view the server console's pending commands via either the @all targeting filter, or by using sm_delaycmd_rcon with no arguments, and selecting CONSOLE from the menu that should appear.
- sm_delaycmd_cancel [handle], default access ADMFLAG_GENERIC. Players can use this command, in conjunction with a handle code given to them by sm_delaycmd_list, to cancel a pending command. Players with access to sm_delaycmd_cancelothers (defaults to ADMFLAG_GENERIC) can specify command handles queued by other players. Players without access to this override can only cancel their own pending commands. Further, players with access to sm_delaycmd_rcon can specify commands pending to be run by the server console.
- sm_delaycmd_rcon [time in seconds] [command to run], default access ADMFLAG_RCON. This command is similar to sm_delaycmd, except the command will be run by the server console. These commands will not be cancelled if the player leaves the server.
CVARS, shown with default values:- sm_delaycmd_update 2 - Controls Updater compatibility
- 0 : Completely disables Updater integration
- 1 : Updater will notify you in Updater.log if an update becomes available.
- 2 : Updater will automatically download any updates. They will be installed on the next server start or map change.
- 3 : Updater will automatically download and immediately install any updates.
Changelog:
Future plans:
DOWNLOADS:
If you like what you see here, please consider donating~
__________________
Last edited by ddhoward; 07-25-2018 at 04:09.
|
|
|
|