Mostly Harmless

User:Eliot/MutAccessPlus

From Unreal Wiki, The Unreal Engine Documentation Site
< User:Eliot
Revision as of 16:24, 21 January 2014 by Amunak (Talk | contribs) (Created page with 'AccessPlus is a UT2004 administration mutator. It was originally meant only for private use on UT2X community server. It is based on AdminPlus, addin…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

AccessPlus is a UT2004 administration mutator. It was originally meant only for private use on UT2X community server. It is based on AdminPlus, adding dozen more admin commands to manage your server. It was created by .:..: and contributed to by Eliot. It consists from the main AccessPlus file, config file and AccessPlusUI, a GUI which was never completed.

Installation

The following installation steps are tested, which means that they will work, but there may be other (perhaps simpler) ways to make this mutator work.

Download and extract

Use one of those mirrors to download the file:

AccessPlus.zip
   MD5: 3bcae50a5c0358e8273e687f3da2e33d
 SHA-1: 9af6312d33830e91cba45972f07b9df7b7ca92ff

Extract files AccessPlus.u, AccessPlusUI.u and UAdminIni.ini to your UT2004\System folder.

Edit config files

In order to run the mutator you have to edit your server's config file and set global administrator password in UAdminIni.ini, so you can add other administrators.

Edit your server's INI file

AccessPlus works as access control class and replaces the vanilla Engine.AccessControl. First you have to load AccessPlus as a server actor. Locate your server's INI file (that's either UT2004.ini or whatever you set in the startup line of your server) and in the section Engine.GameEngine add new ServerActor line after UWeb.WebServer:

ServerActors=AccessPlus.AccessMut

Next in the Engine.GameInfo section find the line starting with AccessControlClass:

AccessControlClass=Engine.AccessControl

and replace it with

AccessControlClass=AccessPlus.UAccessControl

You can now save and close the server config file. Please note that from this point all admin authentication will be done via AccessPlus.

Edit AccessPlus' UAdminIni.ini

Open the recently unpacked UAdminIni.ini and change the settings to your needs. Notice the Engine.AccessControl section which replaces the same section in server's config file. The one thing you have to set up is GlobalAdminPW, a kind of master password, which will allow you to add general admin accounts and edit them. If you are the only administrator, you may use only this password from now on in the AdminLogin command.

GlobalAdminPW=MyMasterPassword

It is also advisable to edit ServerNameColored and ServerAdminColored - again, they take precedence before ServerName and AdminName from the server config file. As the name suggests, you can use color codes here without the need of any other "server name color" mutator.

You are now free to run the server and use the commands it offers.


Usage

When you login as administrator with the command adminLogin <password>, you can use admin help to print the list of all AccessPlus commands.

Add administrator accounts

In order to create general administrative accounts you have to log in as a global administrator using the 'GlobalAdminPW, and the person you want to give admin rights to must be on the server.

  • Run adminLogin MyMasterPassword.
  • After successful log-in, find ID of the player you want to make an admin: admin getID
  • Create new admin account with the ID you just found: createAccount <id>
  • Check for the admin ID of the account you just created: admin listAccounts
  • Set the password and optionally title and disallowed commands for that user:
    • admin editAccountPass <admin-slot-id> <new-password>
    • admin editAccountAN <admin-slot-id> <new-title>
    • admin editAccountPriv <admin-slot-id> <disallowed-commands>
  • Finally check if the changes are correct: admin listAccounts

If you created the account for yourself, you can now log out (adminLogout) and use adminLogin without the password - you are identified by your unique ID. You use your log-in with the password on the webadmin [VERIFY]. You can use silent as the password and the message <nick> logged in as <name> will not be displayed, not notifying the cheaters of an admin's presence.

Sharing information

This document was created and plugin released for download by User:Amunak with permission of User:Eliot. Thank you for allowing me to share this awesome plugin publicly!