Raised This Month: $ Target: $400
 0% 

EntMod Manager v2.0 - 7/24/07


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   GHW_Chronic (70)
stupok
Veteran Member
Join Date: Feb 2006
Old 12-13-2006 , 22:38   EntMod Manager v2.0 - 7/24/07
Reply With Quote #1

EntMod Manager v2.0

by XmINiX and stupok69

I made this plugin intending to replace Seather's plugin.

The only EntMod plugin worth mentioning that I found was made by Seather almost one year ago, and it has very limited functionality. I am posting this plugin as a combination of XmINiX's two other plugins and some of my own ideas. I have permission from XmINiX to do this. I hope that will make the situation more simple.

Description:
This plugin will eliminate the need to modify the files inside "addons/EntMod/" by hand. You can add users, remove users, and delete entsaves using console commands. Also, this plugin gives you the option of logging EntMod commands.

Details:
  • If a user has EntMod access, he will be "logged in" automatically with the correct password. (ie. setinfo _entpass "pass")
  • Upon adding a user with ent_adduser the client will be automatically logged in.
  • Using ent_removeuser will remove the line from DF_admins.txt that contains the client's STEAMID.
  • The commands that will be logged are determined by reading a file called commands.cfg in addons/EntMod/log/.
  • The log will write an entry when the server starts, so that the admin can see the last command executed before a server crashes. This is helpful to determine what command and user caused the crash.
  • The plugin writes one log per day.


Commands:
  • ent_adduser <name> <password>
  • ent_removeuser <name>
  • es_delete <name> as it appears in es_list

Cvars:
  • entlog 0 or 1, log EntMod commands
  • entlog_showactivity 0 or 1, display a hudmessage when EntMod command executed

Please Note:
You need to have a list of EntMod commands defined in commands.cfg in the directory "addons/EntMod/log/commands.cfg" in order to log EntMod commands. I have included one for your convenience.

Changelog:
v1.0 - Initial release.
v2.0 - Updated code: more efficient, same functionality.
Attached Files
File Type: cfg commands.cfg (646 Bytes, 3971 views)
File Type: sma Get Plugin or Get Source (entmanager.sma - 5639 views - 6.1 KB)

Last edited by stupok; 07-24-2007 at 22:24.
stupok is offline
 


Thread Tools
Display Modes

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 20:27.


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