A simple plugin for swiftly that implements the basic functionality of a Deathmatch/FFA server.
- Download the newest release.
- Everything is drag & drop, so i think you can do it!
- Setup database connection in
addons/swiftly/configs/databases.json
with the keyswiftly_deathmatch
like in the following example:
{
"swiftly_deathmatch": {
"host": "...",
"username": "...",
"password": "...",
"database": "...",
"port": 3306
}
}
(!) Don't forget to replace the ...
with the actual values !!
- While developing the plugin, I have been using a config with a few settings, that works for a basic Deathmatch/FFA server, if you want to use the same settings as me, use the provided cfg in the archive, if not, make your own settings (cvars).
- Instant Respawning after death.
- HP Regen on kill.
- Ammo Refill on kill.
- Choosing the guns through a menu (!guns) or through chat commands (!ak47, !m4a4, !m4a1, !deagle, etc)
- After installing the plugin, you should change the default prefix and the default translation messages from
addons/swiftly/translations/translation.swiftly_deathmatch.json
(optional). - To change the value of the HP Regen, edit
addons/swiftly/configs/plugins/deathmatch.json
.
- When the player connects for the first time, it inserts a new field into the
player_guns
table in DB with the following structure:steamid
,primarygun
,secondarygun
. - When a player chooses a weapon (from the guns menu or through a chat command), it inserts that gun into the DB (wheter it is a primary or a secondary weapon) and next time he reconnects on the server he will have that weapon, so no need for choosing the same weapon everytime you reconnect.
- swiftly_rank - It provides an smooth experience without any flaws and it is easy to install.
- swiftly_removedefaultmessages - It removes the annoying default messages from the chat (such as joining a team, etc)
- Command Cooldown (will be done ASAP).
- Killstreak messages in the chat.
- Fork the Project
- Create your Feature Branch
- Commit your Changes
- Push to the Branch
- Open a Pull Request
Join Swiftly Discord Server and send a message in the topic from πβplugins-sharing
of this plugin!