Quake1011 / CS2-plugins-lua

Includes 14 in one usefull lua plugins for CS2
60 stars 3 forks source link
admin advertisement blocker blockerpasses cs2 cs2-script destructive events lua lua-script most passes plant quake1011 refiller restrict weapon wr

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 14 lua plugins for CS2

Preview

Blocker passes The plugin allows you to block some certain passages by adding your own items
Spawn point manager The plugin allows you to add spawn points up to 64
Weapon Deleter(Weapon Restrict) The plugin removes prohibited weapons when buying and lifting them
Admin message The plugin adds admin functions
Voting to map The plugin adds the ability to vote for the map
Bomb explode announcer The plugin adds a timer in the center of the screen warning of an imminent bomb explosion
Round start and player team changing messages The plugin allows you to display your own messages at the beginning and end of the round, and team changing event
Connect/disconnect messages The plugin displays players who have just connected/disconnect
Kill announcer with distance print The plugin displays the murder and its distance in the chat
Advertisement of your server Good old advertising for your server. Supports multi-line
Extended connect message The plugin displays players who have just connected, displaying extended information
Plant blocker The plugin blocks the selected tape at the beginning of the round

Ammo and health refiller:

https://github.com/Quake1011/CS2-plugins-lua/assets/58555031/50b5fdc8-c219-4b69-9a0d-c0cf7e02ea92

Requirements

Patching

You can use one of automation methods below:

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:

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

or 1 one them:

sv_cheats 1
script_reload_code your_script_name.lua
sv_cheats 0

3) Reload the server

Blocker Passes commands

Spawn point manager commands

+ To unlock the player limit, add this to the exec params:
    -maxplayers 64 -maxplayers_override 64