PDA

View Full Version : vB plugin to start things. ( don;t know how to topic it)


SupremeWeapon
06-23-2006, 03:46 PM
ok, This Small PLugin I would like would essentially do the following.

- Query a status to check and see if three things are online on the server
- Have an option to start the items if they are offline
- Have an option to restart them if needed ( Not sure if this can be done )
- Admincp configurable as to who can use the page ( usergroups ) as well as paths to the programs ( IE it would need to allow things like /home/user/program )

This would present a security risk to those that have NO IDEA what they are doing. But what I am requesting it for holds no security risk.

Basically the page for users would look like

"Welcome $username to the Control panel for the server"

You have the following options avaliable to you

below that it will say

Login-Server: $status (green for on or red for off) $start $restart
Char-Server: $status (green for on or red for off) $start $restart
Map-Server: $status (green for on or red for off) $start $restart

When you hit start it will say

"$servername has been started"

and for restart

"$servername has been restarted"

Also would like a log added to the admincp for it so when someone in th eallowed group uses the function they get logged.