Skip to content

An extension to CommandHelper that provides more complex or dangerous events/functions

Notifications You must be signed in to change notification settings

Veyyn/CHAdvanced

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Functions

array tmp_file_list_dir(path):

Returns a list of files and folders in the specified directory. If the specified path isn't a directory, an IOException is thrown.

Events

server_command

This event is fired off when any command is run from the console. This actually fires before normal CommandHelper aliases, allowing you to insert control before defined aliases, even. Be careful with this event, because it overrides ALL console commands, which if you aren't careful can cause all sorts of havok, because the command is run as console, which is usually completely unrestricted.

Prefilters

command: The entire command the console ran
prefix: Just the first part of the command, i.e. '/cmd' in '/cmd blah blah'

Event Data

command: The entire command
prefix: Just the prefix of the command

Mutable Fields

command

About

An extension to CommandHelper that provides more complex or dangerous events/functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published