Installing SCXPM - JulianR0/CLevels GitHub Wiki
To install the SCXPM plugin on your server, first download a clone of this repository clicking HERE.
Copy the files SCXPM.as and SCXPM_AHandler.as from the src folder to svencoop/scripts/plugins.
Now, add the following entries to your default_plugins.txt:
"plugin"
{
"name" "SCXPM"
"script" "SCXPM"
}
"plugin"
{
"name" "SCXPM Achievement Handler"
"script" "SCXPM_AHandler"
}
The next step is to create the folders that will be used by SCXPM to store and save players data. Go to svencoop/scripts/plugins/store and make a new folder named scxpm.
Get inside this new directory and create these additional folders:
- data ~ Most basic data is stored here.
- logs ~ All events that occur within SCXPM, such as level ups, admin commands, and achievements will be logged here.
- achievement ~ Players unlocked achievements are saved here.
- permaincrease ~ XP Modifiers will go here.
All done! If the server is already running, reload your server plugins with as_reloadplugins then changemap. SCXPM should now be running.
If SCXPM is not running:
- Double check your default_plugins.txt file.
- Turn on developer mode on your server with developer 1 and reload your server plugins. Ensure that plugin compilation is successful.
- If you did NOT modify the files in any way, and a compilation error ocurrs: Please file an issue.
Installing auxiliary SCXPM plugin
This is an optional plugin. You can still use SCXPM with no drawbacks at all if you cannot/don't want to install this plugin.
The auxiliary plugin removes some entities that could be XP-abused, while also removing score giving from wrench repairing (if medkit points are disabled as well). This is because there's a CVar for medkit points, but none for wrench points.
The helper plugin was built on AMX Mod X 1.9.0. It should work with AMXX 1.8.2, however this is untested, use at own risk!
On a first, fresh install of SCXPM, copy the hamdata.ini file from the cfg folder to addons/amxmodx/configs. Overwrite the existing hamdata.
Now, compile the helper plugin. This is done by coping the SCXPM_Helper.sma file from the src folder to addons/amxmodx/scripting. Then, on a command prompt window, go to that folder (that is, addons/amxmodx/scripting) and run the following command:
- Windows:
amxxpc.exe SCXPM_Helper.sma
- Linux:
./amxxpc SCXPM_Helper.sma
If you did NOT modify the file in any way, and a compilation error ocurrs: Please file an issue. Otherwise copy the newly compiled plugin to addons/amxmodx/plugins.
Lastly, we add the helper plugin to AMXX's plugins.ini file, located in addons/amxmodx/configs. Adding the entry is done by simply writing:
SCXPM_Helper.amxx
At the end of the file. Once done, changemap.
Remember to update hamsandwich's offsets on each SC update! That means that on SC 5.26 the file *MUST* be updated or except huge misbehaviour or frequent server crashes.
If SCXPM is already installed, and a SC update has just been released, download the updated ham offsets from HERE.