JJiGolem / league-gamemode

League tdm gamemode for clan matches

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

League

The TDM gamemode, based on the GTA V RAGE:MP Discord: League, RAGE:MP Gamemode

Requirements

  1. MongoDB Community server v4.4.0 or above
  2. Setup the connection config.json (./serverside/assets/config.json) For example
{
  "DB": {
    "HOSTNAME": "localhost",
    "PORT": "27017",
    "USERNAME": "root",
    "PASSWORD": "root",
    "DATABASE": "league"
  }
}

Installation

If you don't have typescript compiler

$ yarn add global typescript

Install dependecies

$ yarn

Build the gamemode

$ yarn build

Flexibility with watch mode

For development with the watch mode it's recommended to change the build paths in cef/clientside/serverside to your server's folders for more flexibility. For example (in the clientside), change the webpack.common.js to something like this:

const path = require('path')
const fs = require('fs')

// Let's imagine that GIT folder in the %RAGEMP%/server-files/league
// And we are in the %RAGEMP%/server-files/league/clientside
// So make the path to the server client_packages
// To avoid the build project any time when files are changed
const outputPath = path.resolve("..", "..", "client_packages", "league")

// check if directory exists
fs.statSync(outputPath)

// other code in webpack.common.js...

Roadmap

Roadmap (ru)

License

ISC LICENSE

About

League tdm gamemode for clan matches

License:ISC License


Languages

Language:TypeScript 98.3%Language:JavaScript 0.9%Language:HTML 0.4%Language:CSS 0.3%