-
Notifications
You must be signed in to change notification settings - Fork 4
Installing SCXPM
To install the SCXPM plugin on your server, first download a copy of this repository clicking HERE.
Copy the files SCXPM.as and SCXPM_Achievements.as from the src folder to svencoop/scripts/plugins.
Now, add the following entry to your default_plugins.txt file:
"plugin"
{
"name" "SCXPM"
"script" "SCXPM"
}
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, whose purposes are described below:
- 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 the as_reloadplugins console command then changemap. This command should be executed directly into the server console. If everything is OK, SCXPM should now be running.
If you cannot execute the above command, you may try reloading only the SCXPM plugin with as_reloadplugin "SCXPM". As usual, the command should be run directly from the server console.
If SCXPM is not running:
- Double check your default_plugins.txt file.
- Turn on developer mode on your server with
developer 1and 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.
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, and provides some minor bug-fixes.
The helper plugin was built and tested on AMX Mod X 1.10. Usage of the auxiliary plugin on older AMXX versions is untested, use at own risk!
To use this plugin, it must be compiled. 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. The auxiliary plugin should now be running, you can check it with the amx_plugins console command.