Raised This Month: $51 Target: $400
 12% 

Console Explorer v2.4 6/25/07


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Hawk552 (427)
stupok
Veteran Member
Join Date: Feb 2006
Old 06-08-2007 , 21:42   Console Explorer v2.4 6/25/07
Reply With Quote #1


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.

Changelog
Code:
06/24/07 - v2.4 - More optimization, better recognition of files/dirs. te -> ce
06/23/07 - v2.3 - Optimization, te_cmd instead of two commands. More than
                  one person can use it at one time.
06/09/07 - v2.1 - Added te_help.
06/08/07 - v2.0 - Initial release.
Warning
Code:
*********************************** WARNING ***********************************
*********************************** WARNING ***********************************
*********************************** WARNING ***********************************

This plugin can potentially make your server COMPLETELY vulnerable. It may also
violate your terms of service with your server provider. Use at your own risk.
	
*********************************** WARNING ***********************************
*********************************** WARNING ***********************************
*********************************** WARNING ***********************************
Attached Files
File Type: sma Get Plugin or Get Source (console_explorer.sma - 1942 views - 17.3 KB)

Last edited by stupok; 06-25-2007 at 14:14. Reason: Added warning from sma
stupok is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode