Giter Site home page Giter Site logo

cs2-inventory-simulator-plugin's Introduction

CS2 Inventory Simulator Plugin

A simple plugin for integrating with CS2 Inventory Simulator. It features all we know (publically) so far to give economy items in-game.

Caution

This plugin has not been fully and thoroughly tested. Compatibility with other plugins has also not been tested. Your server can be banned by Valve for using this plugin, see the server guidelines. Use at your own risk.

Current Features

  • Weapon
    • Paint Kit, Wear, Seed, Name tag, StatTrak (with increment), and Stickers.
  • Knife
    • Paint Kit, Wear, Seed, Name tag, and StatTrak (with increment).
  • Gloves
    • Paint Kit, Wear, Seed.
  • Agents
    • Patches.
  • Music Kit
    • StatTrak (with increment).
  • Pins

Feature Roadmap

  • โ›” Graffiti

Important

โ›” indicates that I'm unaware of a way to modify using CSSharp or C++ and that it's highly unlikely to be implemented anytime soon.

Warning

Currently, I'm accepting issue reports, but please refrain from opening feature requests or suggestion issues as they will be closed. While I may consider your comments, the issue will remain closed.

Installation

  1. Make sure FollowCS2ServerGuidelines is false in addons/counterstrikesharp/configs/core.json.
  2. Download the latest release of CS2 Inventory Simulator Plugin.
  3. Extract the ZIP file contents into addons/counterstrikesharp.

Configuration

css_inventory_simulator ConVar

  • Host of Inventory Simulator's API.
  • Type: string
  • Default: inventory.cstrike.app

css_inventory_simulator_apikey ConVar

  • API Key for Inventory Simulator.
  • Type: string
  • Default: empty

css_stattrak_ignore_bots ConVar

  • Determines whether to ignore StatTrak increments for bot kills.
  • Type: bool
  • Default: true

css_minmodels ConVar

  • Limits the number of custom models allowed in-game.
  • Type: int
  • Default: 0
  • Values:
    • 0 - All agents allowed.
    • 1 - Default agents for the current map. Note: Same as 2 as Valve has not yet added them back.
    • 2 - Only SAS and Phoenix agents allowed.

Commands?

Not at the moment. I'm considering adding a command for refreshing the inventory, but it's not high priority for me. Since I'll be using this during competitive matches, I don't want players to be able to change skins mid-game. Currently, skins are only fetched when a player connects to the server.

Known Issues

  • MVP theme does not play for music kits. (Fixed?)
  • Agent voices inconsistencies. (e.g. Ava with male voice)

See also

If you are looking for a plugin that gives you more control, please see cs2-WeaponPaints.

cs2-inventory-simulator-plugin's People

Contributors

ianlucas avatar kroytz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

crashzk royz-iwnl

cs2-inventory-simulator-plugin's Issues

Update for NET 8.0

CSSharp is already using NET 8.0 since v199. Would it be possible to update the plugin to use it too?

not changing weapon skins

might be a dumb problem but, it doesnt apply the skin to the weapons, but it does to knives, adding some debug lines and it seems to find everything properly, just not setting it, gamedata outdated maybe?

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.