Fistful of Frags plugin that enables a random gimmick near the maps end.
- SourceMod 1.10 or later
Make sure your server has SourceMod installed. See Installing SourceMod. If you are new to managing SourceMod on a server be sure to read the 'Installing Plugins' section from the official SourceMod Wiki.
Download the latest release and copy the contents of addons
to your server's addons
directory. It is recommended to restart your server after installing.
To confirm the plugin is installed correctly, on your server's console type:
sm plugins list
Command | Accepts | Values | Description |
---|---|---|---|
sm_near_map_end | boolean | 0-1 | Set to 1 to enable the near map end plugin |
sm_near_map_end_time | integer | any | Enable near map end at this time from end (in seconds) |
If you are new to SourceMod development be sure to read the 'Compiling SourceMod Plugins' page from the official SourceMod Wiki.
You will need the spcomp
compiler from the latest stable release of SourceMod. Download it from here and uncompress it to a folder. The compiler spcomp
is located in addons/sourcemod/scripting/
; you may wish to add this folder to your path.
Once you have SourceMod downloaded you can then compile using the included Makefile.
cd sm-near-map-end
make SPCOMP=/path/to/addons/sourcemod/scripting/spcomp
Other included Makefile targets that you may find useful for development:
# compile plugin with DEBUG enabled
make DEBUG=1
# pass additonal flags to spcomp
make SPFLAGS="-E -w207"
# install plugins and required files to local srcds install
make install SRCDS=/path/to/srcds
# uninstall plugins and required files from local srcds install
make uninstall SRCDS=/path/to/srcds
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request