Giter Site home page Giter Site logo

csgo_sourcemod_dangerzone's Introduction

CSGO DangerZone Community Plugin

A plugin designed for DangerZone Community servers, it has many functions to make server run well with DangerZone.

Functions:

  1. Ready System: At least 6 players are ready, the game will start.
  2. Broadcast System: The system will broadcast players living status every {interval} seconds.
  3. Simple Stats System: Plugin will save players stats (Kills, Deaths, Wins, Cases Opened) to mySql database.
  4. Squad Manage System: Now you can only change the team players count to 1 - 3.
  5. Health System: You can change the spawn health and max health when the game begin.
  6. Admin Panel: You can change game convars and respawn players, also item spawns.
  7. I18N System: Now plugin supports English, Chinese, Japanese
  8. Other repair: When a player died, plugin will auto put him to spectator.

Commands:

  1. !ready:Ready
  2. !unready:Unready
  3. !dzteam: Join team, only effects when Team Players Count > 1 (Player Command, Sub Plugin Command)
  4. !start:Force start game (Admin Only)
  5. !end:End game (Admin Only)
  6. !fend:Force end game (Admin Only)
  7. !dzadmin:Admin panel (Admin Only)
  8. !respawn: Respawn a player (Admin Only)
  9. !give: Give Items (Admin Only)
  10. !savecfg: Save server info (Admin Only)

Cvars:

  1. yk_dzEnable : PLEASE DONT USE THIS COMMAND AT THIS TIME !!!
  2. yk_dzInterval : Player status broadcast interval (30s - 3600s)
  3. yk_dzTeamCount : Set squad players count (1 - 3 players)
  4. yk_dzSpawnHealth : Set players spawn health after game begin (1hp - 1000hp)
  5. yk_dzMaxHealth : Set players max health after game begin (1hp - 1000hp)
  6. yk_dzReadyToStartPlayersCount : Set game start needs minium ready players count (1 - 18 players)

Install:

  1. Download and compile yk_dangerzone.smx, then move it to addons/sourcemod/plugins/.
  2. Move translations folder to addons/sourcemod/translations/.
  3. Modify addons/sourcemod/configs/databases.cfg and add this:
	"dangerzone"
	{
		"driver"			"mysql"
		"host"				"<localhost>"
		"database"			"<database>"
		"user"				"<user>"
		"pass"				"<pass>"
	}
  1. Add the CreateTables.sql to your database to create the fields needed.

Issues so far:

  1. DO NOT USE yk_dzEnable COMMAND, IT WILL TRIGGER AN EXCEPTION. When you want to disable the plugin, move yk_dangerzone.smx to the disable folder.
  2. 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.
  3. Other problems? Submit an issue!

Notes from original plugin author:

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:

  1. Paypal: [email protected]
  2. Alipay: [email protected]

Chinese version of readme

csgo_sourcemod_dangerzone's People

Contributors

tiltysola avatar sayt123 avatar borzaka avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.