Code Monkey home page Code Monkey logo

log2mod's Introduction

log2mod for CS2

Log2mod makes it possible to write JavaScript plugins for Counter Strike 2. It listens to events via the servers 'log to http' funtion and executes commands with RCON.

Features

Finished:

  • no plugins on the server side required
  • handle events logged to console
  • easy command handling
  • playerlist
  • multiple server support
    • different configuration per server
  • permission system
  • send Rcon commands
  • easy chat colours
  • REST API to be accessed by plugins

Planned:

  • add all events logged to console
  • documentation

Getting started

Requirements

  • nodejs
  • log2mod has to be accesable by the server over http ( the may require a port forward on the log2mod side )

Installation

  1. Clone the repository
  2. Change the IP in 'cfg/log2mod.json' the IP of log2mod ( if run on the same PC that the CS2 server/s use the default: "127.0.0.1" )
  3. Add your server to 'cfg/serverlist.json'
  4. Add plugins in the 'plugins'
  5. Run 'node server'

log2mod's People

Contributors

mjpetermann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.