Giter VIP home page Giter VIP logo

cs2-auto-rotate-maps-goldkingz's Introduction

.:[ Join Our Discord For Support ]:.


[CS2] Auto-Rotate-Maps-GoldKingZ (1.0.2)

Auto Rotate Maps Depend Players In Server

Mode3

Mode1

.:[ Dependencies ]:.

Metamod:Source (2.x)

CounterStrikeSharp

Newtonsoft.Json

.:[ Configuration ]:.

Caution

Config Located In ..\addons\counterstrikesharp\plugins\Auto-Rotate-Maps-GoldKingZ\config\config.json

Map Config Located In ..\addons\counterstrikesharp\plugins\Auto-Rotate-Maps-GoldKingZ\config\RotationServerMapList.txt

Map Schedule Config Located In ..\addons\counterstrikesharp\plugins\Auto-Rotate-Maps-GoldKingZ\config\RotationServerMapListSchedule.txt

{
  //Load Map List Path 
  "Load_MapList_Path": "csgo/addons/counterstrikesharp/plugins/Auto-Rotate-Maps-GoldKingZ/config/RotationServerMapList.txt",

  //Prefix Of ds_workshop_changelevel
  "Prefix_For_Ds_Workshop_Changelevel": "ds:",

  //Prefix Of host_workshop_map
  "Prefix_For_Host_Workshop_Map": "host:",

  // (0) = Disable
  // (1) = Get Maps From Top To Bottom
  // (2) = Get Random + Not Duplicated Maps
  "RotateMode": 1,

  //Wait X Mins Before You Do RotateMode 
  "RotateXTimerInMins": 5,

  //Do RotateMode When X Players In Server OR Less
  "RotateWhenXPlayersInServerORLess": 0,

  //Force Change Map When mp_timelimit End Or Reach mp_maxrounds
  "ForceRotateMapsOnTimelimitEndOrMaxRoundEnd": false,

  //If ForceRotateMapsOnTimelimitEndOrMaxRoundEnd Enabled And mp_timelimit End How Much Delay Would You Like (In Secs)
  "DelayXInSecsChangeMapOnTimelimitEnd": 2,

  //If ForceRotateMapsOnTimelimitEndOrMaxRoundEnd Enabled And mp_maxrounds Reach How Much Delay Would You Like (In Secs)
  "DelayXInSecsChangeMapOnRoundEnd": 0,

  //Enable Schedule?
  "EnableSchedule": false,

  //If EnableSchedule Enabled Which Time Would You Like
  "ScheduleFromTime": "01:00",
  "ScheduleToTime": "06:00",

  //Load Map List Path For Schedule
  "Schedule_MapList_Path": "csgo/addons/counterstrikesharp/plugins/Auto-Rotate-Maps-GoldKingZ/config/RotationServerMapListSchedule.txt",

//-----------------------------------------------------------------------------------------

  //Enable Logging Text Located In Auto-Rotate-Maps-GoldKingZ/logs/ ?
  "TextLog_Enable": false,

  //Log Message Format
  //{TIME} == Time
  //{DATE} == Date
  //{MAP} == Which Map Name Has Changed To
  "TextLog_MessageFormat": "[{DATE} - {TIME}] Server Has Less Players Changing Map To [{MAP}]",

  //Date and Time Formate
  "TextLog_DateFormat": "MM-dd-yyyy",
  "TextLog_TimeFormat": "HH:mm:ss",

  //Auto Delete Logs If More Than X (Days) Old
  "TextLog_AutoDeleteLogsMoreThanXdaysOld": 0,

//-----------------------------------------------------------------------------------------

  //Send Log To Discord Via WebHookURL
  // (0) = Disable
  // (1) = Text Only (Result Image : https://github.com/oqyh/Auto-Rotate-Maps-GoldKingZ/blob/main/Resources/Mode1.png?raw=true)
  // (2) = Text With Saparate Date And Time From Message (Result Image : https://github.com/oqyh/Auto-Rotate-Maps-GoldKingZ/blob/main/Resources/Mode2.png?raw=true)
  // (3) = Text With Saparate Date And Time From Message + Server Ip In Footer (Result Image : https://github.com/oqyh/Auto-Rotate-Maps-GoldKingZ/blob/main/Resources/Mode3.png?raw=true)
  "DiscordLog_EnableMode": 0,

  //Discord Log Message Format
  //{TIME} == Time
  //{DATE} == Date
  //{MODE} == Which Method Did It Used
  "DiscordLog_MessageFormat": "[{DATE} - {TIME}] Server Has Less Players Changing Map To [{MAP}]",

  //Date and Time Formate
  "DiscordLog_DateFormat": "MM-dd-yyyy",
  "DiscordLog_TimeFormat": "HH:mm:ss",

  //If DiscordLog_EnableMode (2) or (3) How Would You Side Color Message To Be Check (https://www.color-hex.com/) For Colors
  "DiscordLog_SideColor": "00FFFF",

  //Discord WebHookURL
  "DiscordLog_WebHookURL": "https://discord.com/api/webhooks/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",

  //If DiscordLog_EnableMode (3) Image Url Footer
  "DiscordLog_FooterImage": "https://github.com/oqyh/cs2-Auto-Rotate-Maps-GoldKingZ/blob/main/Resources/serverip.png?raw=true",

}

.:[ Change Log ]:.

(1.0.2)
-Fix Reset Timer On Players Connect / Disconnect
-Removed Warning sv_hibernate_when_empty
-Added Lang (Time Left/Change Map)
-Added ForceRotateMapsOnTimelimitEndOrMaxRoundEnd
-Added DelayXInSecsChangeMapOnTimelimitEnd
-Added DelayXInSecsChangeMapOnRoundEnd
-Added Map Name Will Be Last <Prefix>:<MAP>:<Map Name>

(1.0.1)
-Added Load_MapList_Path
-Added Prefix_For_Ds_Workshop_Changelevel
-Added Prefix_For_Host_Workshop_Map
-Added EnableSchedule
-Added ScheduleFromTime
-Added ScheduleToTime
-Added Schedule_MapList_Path

(1.0.0)
-Initial Release

.:[ Donation ]:.

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

cs2-auto-rotate-maps-goldkingz's People

Contributors

oqyh avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

cs2-auto-rotate-maps-goldkingz's Issues

[Feature] Use of an external maplist

Hey @oqyh,

Wondering if you're able to have the plugin support other maplist.txt in different server directories. These maplists might have other formats where they can read real map names or plain workshop names ie. surf_utopia_njv vs ds:surf_utopia_njv.

Think this is possible? yay? nay?

Hope you've been well.

-maV.

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.