EntMod Manager v2.0 - 7/24/07

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

EntMod Manager v2.0 - 7/24/07

Post by greenie »

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.

get plugin
get source
Post Reply

Return to “Admin Commands”