Hide admin Modules from non-admins
Brought to you by:
ostersc
From forum post:
http://sourceforge.net/forum/message.php?
msg_id=2128224
"It would be cool have some of the Admin mods only
show in the list if you are an admin, like the telnet thing.
I don't want everyone to know that I have it running... "
Would require a classification of roles for modules (as
opposed to just commands). Wouldn't be hard to
implement, but the downside is its another requirement
for module developers.
Logged In: YES
user_id=273524
Could also just add an optional argument in bot.properties to
hide the module to non-admins. Something like:
mod.6=com.levelonelabs.aimbot.modules.HeadlinesModule
mod.6.adminonly=true
The difference in approach is that this allows the bot owner
to decide as opposed to the module developer.
Logged In: YES
user_id=726706
I like the idea of having the bot owner set the in the
configuration file if they want the Mod to be seen in the Help
menu. That would take the buren off the Mod Developers, and
allow the ower to control which ones can be accessed by
Admin's only!
Great Idea!
Logged In: YES
user_id=930178
I sent an email to the developer list with a fix for this.
Hope that it is satisfactory.