GithubHelp home page GithubHelp logo

cs2-plugins-lua's Introduction

CS2-plugins-lua

IMPORTANT: Only for folder OTHER: Since when the map is changed, the player_connect event is not executed, in which all important data is transmitted, because of this, after changing the map, some functions will not work for those players who were at the time of changing the map to the server until they are do reconnect

Includes 12 mini lua plugins for CS2

  • Mini-admin
  • Voting for map
  • Ammo and health refill after kill
  • Connect/disconnect events announcer
  • Team switch announcer
  • Advertisement
  • Kill announcer with distance print
  • Round end/start announcer
  • Bomb explode announcer
  • Most destructive
  • Plant blocker
  • Weapon deleter(aka low-leveled weapon restrictor)
- WARNING: WEAPON DELETER NOT REFUND MONEY FOR WEAPON)

Preview

Weapon Deleter(Weapon Restrict)
Admin message
Voting to map
Bomb explode announcer
Round start and player team changing messages
Connect/disconnect messages
Kill announcer with distance print
Advertisement of your server
Extended connect message
Plant blocker

Ammo and health refiller:

Counter-strike.2.2023.10.12.-.14.11.14.06.1.1.mp4

Install

  1. Place contains of folder(s) in game\csgo\scripts. If scripts folder not exist then you should to make it
  2. Add to gamemode_your_gamemode_name.cfg next lines:

You can load all script or 1 one them if u want

sv_cheats 1
script_reload_code your_script_name.lua
sv_cheats 0
sv_cheats 1
script_reload_code your_script_name.lua
script_reload_code your_script_name.lua
script_reload_code your_script_name.lua
sv_cheats 0
  1. Reload the server

Requirements

Patching

  • manual patching vscript.dll:
    • Windows VSCRIPT LIBRARY - Counter-Strike Global Offensive\game\bin\win64\vscript.dll
    • Linux VSCRIPT LIBRARY - Counter-Strike Global Offensive\game\bin\linuxsteamrt64\libvscript.so
  1. Open your vscript.dll / libvscript.so via any hex editor
    • Replace byte-sequence:
      • Windows - 01 00 00 00 2b d6 74 61 3b d6
      • Linux - 01 0F 84 0A 02 00 00 83 FE 02
    • to this byte-sequence:
      • Windows - 02 00 00 00 2b d6 74 61 3b d6
      • Linux - 02 0F 84 0A 02 00 00 83 FE 01
  2. Save the changes
  3. Success!

You can use one of automation methods below:

Commands(Other)

For admin:

  • kickit <uid> - kick player from server
  • setmap <map> - change the map after the specified time interval in seconds
  • conexec <convar> - change the value of the server variable
  • asay <message> - write a message from the admin to the chat (all characters up to 127 ascii encoding)
  • hp <value> - set the number of hp to the player
  • size <value> - set the player size (any decimal positive number, for example 0.5 or 49.0)
  • clr <uid> <r> <g> <b> <a> - set color and transparency to the player (all RGBA numbers within 0 - 255)
  • grav <uid> <value> - set gravity to the player (any decimal positive number, for example 0.5 or 49.0)
  • fric <uid> <value> - to set the grip on the surface of the player (any decimal positive number, for example 0.5 or 49.0)
  • disarm <uid> <weapon_classname> - remove the player's weapon, for example, weapon_ak47. Delete all weapons - instead of <weapon_classname> write - @all
  • killit <uid> - kill the player
  • changeteam <uid> <team> - change the player's team (team number or short name. For example ct or 3)
  • hudstatus <uid> <status> - turn off or turn off the hood to the player (0 or 1)

For all:

  • login <password> - getting administrator rights for a session
  • votemap <mapname> - vote for the map
  • suicide - kill yourself

Credits

Thanks to all those who supported me and my work in any way

About possible problems, please let me know:

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.