Admin Panel

This script adds more options in the game panel for more practical use.

Features:
-A working admin login.
-An option to broadcast the server for the public and stopping it.
-An option to change the server password.
-An option to change the admins passwords.

Installation:
-For normal use just put it in the public-test folder.
-For dedicated server you need to put 2 copies of it, one in your local public-test folder and one in the dedicated server folder.

Using:
-In-Game you need to login as the admin with the higher level (5) to be able to broadcast the server and change the passwords for the server and the admins.
-To change the server password select the server option in the drop down list and type the password you want in the text box and click change, if you want to remove the password just leave the text box empty and click change.
-To change the admins passwords you need to put the number of the admin you want to change the password for in the left text box and then put the password in the right box,
you can find the admin number in "server\preferences\config.cs"
Ex:
Demigod is number 0 and God is number 1
Code:
$Host::Admins::Level[0] = 1;
$Host::Admins::Level[1] = 10;
$Host::Admins::Name[0] = "Demigod";
$Host::Admins::Name[1] = "God";
$Host::Admins::Password[0] = "unlocked";
$Host::Admins::Password[1] = "<3Disaster";

oh and don't ask me about the options that doesn't work, they're not imported into the game
and might not get into it, only the devs know
 

Attachments

  • GamePanel.zip
    3.4 KB · Views: 17

RockeyRex

Legions Developer
Mmh... It does give you a login screen. Dat about it. Handy if you cba to use the console for that.

Edit: Oh and I'll add a login screen for the next push.
 
Update:
Added a button to broadcast the server ( can be used for remote servers ).
Added a way to change the password ( can be used for remote servers ).
 

Triad

Legions Developer
I need to read these threads more...

This has all already been done for the next push. ;p
 

GReaper

Grumpy
And when is that? I remember GReaper saying that the next update would be in two weeks.... which is.... today!

That was an estimate! :(

Sorry, I've had a dying hard drive to replace on my gaming PC last weekend, and a phone which I thought was bricked to deal with this weekend, and various other stuff.

Hopefully I'll have some time to look through stuff soon, and finish the rest of the functionality needed. However until then the live channel is still working fine, and the public test channel allows you to host games - even if there are some issues.
 
Top