A plugin designed for DangerZone Community servers, it has many functions to make server run well with DangerZone.
- Ready System: At least 6 players are ready, the game will start.
- Broadcast System: The system will broadcast players living status every {interval} seconds.
- Simple Stats System: Plugin will save players stats (Kills, Deaths, Wins, Cases Opened) to mySql database.
- Squad Manage System: Now you can only change the team players count to 1 - 3.
- Health System: You can change the spawn health and max health when the game begin.
- Admin Panel: You can change game convars and respawn players, also item spawns.
- I18N System: Now plugin supports English, Chinese, Japanese
- Other repair: When a player died, plugin will auto put him to spectator.
- !ready:Ready
- !unready:Unready
- !dzteam: Join team, only effects when Team Players Count > 1 (Player Command, Sub Plugin Command)
- !start:Force start game (Admin Only)
- !end:End game (Admin Only)
- !fend:Force end game (Admin Only)
- !dzadmin:Admin panel (Admin Only)
- !respawn: Respawn a player (Admin Only)
- !give: Give Items (Admin Only)
- !savecfg: Save server info (Admin Only)
- yk_dzEnable : PLEASE DONT USE THIS COMMAND AT THIS TIME !!!
- yk_dzInterval : Player status broadcast interval (30s - 3600s)
- yk_dzTeamCount : Set squad players count (1 - 3 players)
- yk_dzSpawnHealth : Set players spawn health after game begin (1hp - 1000hp)
- yk_dzMaxHealth : Set players max health after game begin (1hp - 1000hp)
- yk_dzReadyToStartPlayersCount : Set game start needs minium ready players count (1 - 18 players)
- Download and compile
yk_dangerzone.smx
, then move it toaddons/sourcemod/plugins/
. - Move
translations
folder toaddons/sourcemod/translations/
. - Modify
addons/sourcemod/configs/databases.cfg
and add this:
"dangerzone"
{
"driver" "mysql"
"host" "<localhost>"
"database" "<database>"
"user" "<user>"
"pass" "<pass>"
}
- Add the
CreateTables.sql
to your database to create the fields needed.
- DO NOT USE yk_dzEnable COMMAND, IT WILL TRIGGER AN EXCEPTION. When you want to disable the plugin, move
yk_dangerzone.smx
to thedisable
folder. - Server will not auto-save your settings changed with the in-game menu, you need to type
!savecfg
or go to Admin Panel to save them. - Other problems? Submit an issue!
This is a beta plugin, if you have any questions, please submit an issue, I can't promise I will solve that problem, but I want to try my best.
You can modify this plugin, but I wish you don't delete and modify this function: YK_WelcomeMessages()
, thank you!
Support Me:
- Paypal: [email protected]
- Alipay: [email protected]