Git Product home page Git Product logo

cs2-tags's Introduction

CS2-Tags

image image

Description

Adds tags to the server that can be easily edited, tags can be assigned via permission or steamid64

Commands

  • css_tags_reload - Reload tags config

Configuration

{
  "tags": {
    "#css/admin": { // Group 
      "prefix": "{GREEN}[ADMIN]", // Chat prefix
      "nick_color": "{RED}", // Nick color
      "message_color": "{GOLD}", // Message nick color
      "scoreboard": "[ADMIN]" // Scoreboard tag
    },
    "@css/chat": { // Permission 
      "prefix": "{GREEN}[ADMIN]", // Chat prefix
      "nick_color": "{RED}", // Nick color
      "message_color": "{GOLD}", // Message nick color
      "scoreboard": "[ADMIN]" // Scoreboard tag
    },
    "76561198202892670": { // SteamID64
      "prefix": "{GREEN}[ADMIN]",
      "nick_color": "{RED}",
      "message_color": "{GOLD}",
      "scoreboard": "[ADMIN]"
    },
    "everyone": { // Tag for everyone, bots excluded
      "prefix": "",
      "nick_color": "",
      "message_color": "",
      "scoreboard": "[Player]"
    }
  }
}

In addons/counterstrikesharp/plugins/CS2-Tags/tags.json

Requirments

CounterStrikeSharp tested on v61

Colors

        public static char Default = '\x01';
        public static char White = '\x01';
        public static char Darkred = '\x02';
        public static char Green = '\x04';
        public static char LightYellow = '\x03';
        public static char LightBlue = '\x03';
        public static char Olive = '\x05';
        public static char Lime = '\x06';
        public static char Red = '\x07';
        public static char Purple = '\x03';
        public static char Grey = '\x08';
        public static char Yellow = '\x09';
        public static char Gold = '\x10';
        public static char Silver = '\x0A';
        public static char Blue = '\x0B';
        public static char DarkBlue = '\x0C';
        public static char BlueGrey = '\x0D';
        public static char Magenta = '\x0E';
        public static char LightRed = '\x0F';

{TEAMCOLOR} - Team color Use color name for e.g. {LightRed}

TODO

  • Thinking about better fix for commands handling

cs2-tags's People

Contributors

daffyyyy 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.