Giter Club home page Giter Club logo

shavit-uniquemap's Introduction

shavit-uniquemap

Plugin to support multiple servers for shavit-timer.

Requirements

  1. Shavit's Timer (https://github.com/shavitush/bhoptimer)
  2. An updated map list (We recommend you use this plugin: https://forums.alliedmods.net/showthread.php?t=56376?t=56376)

How it works

It connects to the shavit database, and stores name of the current map in it. If map is currently played on another server connected to the same database it forces a mapchange. It prevents possible bugs with replays and player records.

Installation

If you want to run multiple servers using same database you should :

  1. Place shavit-uniquemap.smx in all connected servers
  2. Make all servers using same shared folder for storing replay data.
    • If servers are running within same machine you can achive this by:
      • Creating joint folder and specifing path to it in your configs/shavit-replay.cfg For example for folder structure like this:

        /home/steam
        └───replaydata
        └───server1
        │   └───csgo
        └───server2
            └───csgo
        

        You would like to put "replayfolder" "{SM}/../../../../replaydata" on both of your servers

      • Creating soft link to replaybot folder on main server in according paths on other servers.

        • On Linux Servers by using ln -s command.
        • On Windows Servers by using mklink /D command or even better by using mklink /J which creates directory junction.

        For example for folder structure like above on Linux you would run : ln -s /home/steam/server1/csgo/addons/sourcemod/data/replaybot /home/steam/server2/csgo/addons/sourcemod/data/replaybot

    • If servers are running on different machines, you can share the directory through the use of network shares.

shavit-uniquemap's People

Contributors

charlesbarone avatar rtldg avatar thesaint92 avatar

Stargazers

 avatar  avatar

Forkers

nairdaa

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.