⚠ This Lua project will not receive any more features due to the limitations of the Lua API! Lua VScript is intentionally disabled by Valve! It is expected to be replaced by Pulse in the future, and will likely be completely removed from the game when that happens. Depend on Lua at your own risk.
This plugin requires unlocking LUA VScript!
Lua Unlocker MetaMod Plugin: https://github.com/Source2ZE/LuaUnlocker
Lua Patcher (use if you are not using MetaMod, and make sure your server runs -insecure): https://github.com/bklol/vscriptPatch
- Unzip into your servers
game/csgo
folder and - Add
exec dea_pugplugin
to your servers gamemode cfg (e.g.gamemode_competitive.cfg
)
-
To configure the plugin head to
game/csgo/scripts/vscripts/pug_cfg.lua
Feel free to change the variables to what you desire! Make sure to read their --comments
⚠ Disable
autokickOnMapChange
if your server crashes after usingchangemap
⚠ -
To whitelist players add their SteamID3 to the allowedPlayers table in whitelist.lua
-
To add admins edit the
adminPlayers
table inpug_cfg.lua
-
To add custom nade lineups for the Pracc mode navigate to
game/csgo/cfg/dea_pugplugin_praccnades.cfg
and follow the example given there
adminhelp
--Prints these commands into chatadminsay hello
--Prints a message in chat with a admin nametagstartpug
--Starts the pugpausepug
--Pauses the pugunpausepug
--Unpauses the pugrestartpug
--Compleatly restarts the pugscramble
--Shuffles teamsrewarmup
--Restarts warmup phasepugkick id
--Kicks the player (usestatus
to get the player id you want to kick)changemap de_dust2
--Changes map
pracc
--Enables pracc modepracchelp
--prints these commands in chatsavenade "mynade" "type" "description"
--Saves a nade lineup with the given name, description and type. Valid types: smoke, he, falsh, mollyloadnade mynade
--Loads a nade lineupimportnade
"code" --Imports a nade from a nade codeallsmoke
--Shows all saved smokesallmolly
--Shows all saved molotovsallhe
--Shows all saved HE nadesallflash
--Shows all saved flashes