Manual Uninstallation - Walk-Through

Note:This portion of the guide discusses a manual uninstallation of Admin Mod, and is not recommended for people who do not have a clear understanding of directory structures, file editing, etc. – For a script-based, more automated uninstallation, please read the Running the Windows Installation Script section. However, no matter what type of uninstallation you are undertaking, there is a lot of good information to learn from here, so be sure to read it at some point in time, even if you do script-based installation.

 

Note:For Linux users, the installation process is identical to the one described below, except for the .dll files. When reading, mentally replace '.dll' with '_i386.so'. This means that 'metamod.dll' corresponds to 'metamod_i386.so'. Furthermore, slashes must be inverted when discussing file paths.

 

This walkthrough will leave you with your server without Admin Mod and possibly Metamod if you decide to uninstall it.

 

  1. Stop What you are doing

    If your server is running stop it. Atempting to uninstall Admin Mod with the server running is a bad idea.

     

  2. Find your Admin Mod Installation.

    Where did you want to install Admin Mod to? First find the folder where you installed Half-Life or Counter-Strike. In this folder there should be one or more executable files with the Half-life or Counter-Strike icon, as well as the files hl.exe hlds.exe OR cstrike.exe if you have the Counter-Strike Retail version of Half-Life. This folder will be refered to as the Half-Life folder (<HL>).

     

    The Admin mod installation you wish to remove is in one of the mod folders under the <HL> directory. Find the mod which contains the Admin mod installation you want to remove. Typically ths name of the folder corresponds to the name of the mod in some obvious way. The folder that the mod is contained in will be refered to as the Mod folder (<MOD>).

     

  3. Remove Admin Mod

    Admin Mod is almost entirely contained in the folder <MOD>\addons\adminmod All Admin mod dlls plugin binaries and configuration files are located here by default. If you wish to back up the Admin mod installation before you uninstall it then you should copy this folder structure and keep it in a safe location elsewhere.

     

    Delete the <MOD>\addons\adminmod folder and all its subfolders and files.

     

  4. Remove Admin Mod from the Metamod plugins.ini

    Note: if you wish to uninstall metamod as well you can skip this step.

    Open the file <MOD>\addons\metamod\plugins.ini in a plain text editor

     

    Save the file. Close the file

     

  5. Remove Metamod

    If you have no other Metamod plugins installed (such plugins include some bots, administative and gameplay modification mods, refer to their specific documentation for details) then you may want to remove metamod. If you remove metamod and you are using metamod plugins that rely on it those plugins will require metamod to be reinstalled and reconfigured before they will be functional.

     

    Metamod is almost entirely contained in the folder <MOD>\addons\metamod If you wish to back up the Admin mod installation before you uninstall it then you should copy this folder structure and keep it in a safe location elsewhere.

     

    Delete the <MOD>\addons\metamod folder and all its subfolders and files.

     

  6. Edit your server config file

    your <MOD>\(listen)server.cfg file should contain an number of lines which execute the admin mod configuration file. You should delete these lines. For details see: Setting up your Admin Mod config file. Simply remove any lines known to be linked to Admin Mod

     

  7. Restore your liblist.gam file

    When Admin Mod was installed a backup of the normal liblist.gam file was created named <MOD>\AdminMod backup of liblist.gam. If this file exists then follow the instructions below. If it does not then you will have to edit the liblist.gam file and change the gamedll manually.

     

     

  8. Restart the server

    Admin Mod (and possibly Metamod) is now uninstalled. You can now start your server.