Console Explorer v2.4 6/25/07
Posted: Mon Nov 22, 2021 10:56 pm
Console Explorer v2.4
Last updated 6/25/07
Description
This plugin allows the admin to edit files and folders on the server through the console.
Commands
ce_help
Use this to list all commands and their usages.
ce_open <full path>
Use this to open folders or files. To open the base directory, type "te_open ."
When you open text files the line numbers will be appended to the beginning
of each line.
* Correct usage: ce_open ".\maps\some folder\a file.txt"
Also note:
In order to open the parent directory, you may use:
ce_open "directory\.."
ce_new <full path>
Use this to create a new file or folder.
ce_delete <full path>
Use this to delete a file or folder. Please note that you cannot delete a directory
that contains a directory with files or folders. You may only delete a directory
that contains no directory with files or folders.
For example, we are given: ".\folder1\"
folder1 contains:
folder2
file.txt
Now, if folder2 has no files or folders inside, then you can delete folder1
with one command:
ce_delete ".\folder1"
However, if folder2 contains any files or folders, then you must delete it
seperately:
ce_delete ".\folder1\folder2"
ce_delete ".\folder1"
ce_replace_line <line number> <new line text>
First you must open a text file with "ce_open file". Then, use this to replace a
line in the text file with your own line.
* Correct usage: ce_replace_line 51 "This is the text that will go on line 51."
ce_replace_string <replace this text> <with this text>
First you must open a text file with "ce_open file". Then, use this to replace all
phrases in the text file that match the first argument.
* Correct usage: ce_replace_string "admin" "lolzor"
ce_cmd <yes|no>
This commands only works after you use the command te_delete. You must confirm
that you want to delete a file or directory before it is actually deleted.
Plans for the future
Clean up and optimize the code.
get plugin
Last updated 6/25/07
Description
This plugin allows the admin to edit files and folders on the server through the console.
Commands
ce_help
Use this to list all commands and their usages.
ce_open <full path>
Use this to open folders or files. To open the base directory, type "te_open ."
When you open text files the line numbers will be appended to the beginning
of each line.
* Correct usage: ce_open ".\maps\some folder\a file.txt"
Also note:
In order to open the parent directory, you may use:
ce_open "directory\.."
ce_new <full path>
Use this to create a new file or folder.
ce_delete <full path>
Use this to delete a file or folder. Please note that you cannot delete a directory
that contains a directory with files or folders. You may only delete a directory
that contains no directory with files or folders.
For example, we are given: ".\folder1\"
folder1 contains:
folder2
file.txt
Now, if folder2 has no files or folders inside, then you can delete folder1
with one command:
ce_delete ".\folder1"
However, if folder2 contains any files or folders, then you must delete it
seperately:
ce_delete ".\folder1\folder2"
ce_delete ".\folder1"
ce_replace_line <line number> <new line text>
First you must open a text file with "ce_open file". Then, use this to replace a
line in the text file with your own line.
* Correct usage: ce_replace_line 51 "This is the text that will go on line 51."
ce_replace_string <replace this text> <with this text>
First you must open a text file with "ce_open file". Then, use this to replace all
phrases in the text file that match the first argument.
* Correct usage: ce_replace_string "admin" "lolzor"
ce_cmd <yes|no>
This commands only works after you use the command te_delete. You must confirm
that you want to delete a file or directory before it is actually deleted.
Plans for the future
Clean up and optimize the code.
get plugin