Skip to content

fltuna/lupercalia-mg-cs2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

277 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lupercalia MG server core plugin

CounterStrikeSharp plugin for Lupercalia MG Server.

Requirements

You need install these to plugin work:

Features

  • General
    • DuckFix
    • Map config
    • Rocket
    • Vote map restart
    • Vote round restart
    • Scheduled shutdown
    • Debugging commands
    • Misc commands
    • Hide Legs
  • Multigames
    • Team Based Body Color
    • Team Scramble
    • Anti camp system
    • Round end damage immunity
    • Round end weapon strip
    • Round end death match
  • Course
    • Auto Respawn with spawn killing detection
    • Course Weapon
  • Fun
    • Omikuji
  • Others
    • Entity Output Hook

General

DuckFix

This feature removes duck cooldown when spamming +duck button.

Map config

  • Support full map name matching. i.e. mg_test_multigames
  • Support start with any prefix. i.e. mg_

Usage

Put ***.cfg to csgo/cfg/lupercalia/map/ folder

This map config folder will automatically created when not exists.

ConVar

In default lp_mg_mapcfg_type is 0, which means disabled.

If you want to use exact mach i.e. de_dust2.cfg set lp_mg_mapcfg_type to 1

Or you want to use partial match i.e. dust.cfg set lp_mg_mapcfg_type to 2


In default lp_mg_mapcfg_execution_timing is 1 which means Execute on map start only.

If you want to execute at only round start set lp_mg_mapcfg_execution_timing to 2

Or you want to execute at both set lp_mg_mapcfg_execution_timing to 3

Rocket

Probability based vertical launching system. And high chance(default) to die due to rocket accident.

Same feature as Rocket

Vote map restart

Rock The Vote style map restart system.

Same feature as votemaprestart

Vote round restart

Rock The Vote style round restart system.

Same feature as voterestart

Scheduled shutdown

Shutdown a server in certain time.

Partial feature from sm-csgo-scheduled-shutdown

Debugging commands

Some course/multigames debugging commands.

Currently provides:

  • Save and teleport to location

Misc commands

Adds some small feature commands

Currently provides:

  • Give knife with !knife command

Hide Legs

Hide legs from POV.

Multigames

Team Based Body Color

Same feature as TeamBasedBodyColor

Team Scramble

  • Scrambles team when round end.

Anti camp system

  • When camp detected player will be glow.

Round end damage immunity

Player grant immunity for damage when round end.

Same feature as Damage Immunity plugin (Forget to upload in GitHub).

Round end weapon strip

Player's weapon will be removed when round end / or round prestart.

Same feature as roundEndWeaponStrip.

Round end death match

Starts a FFA when round end.

Course

Auto Respawn

  • Auto respawn player when died
  • Repeat kill detection

Course Weapon

Give pistols and hegrenade to prevent stuck while playing course map.

Fun

Omikuji

Probability based event system. When player type !omikuji in chat something good/bad/unknown event happens.

Others

EntityOutputHook

This feature like a BSP ConVar Allower

This module is OFF by default as it is only useful for certain use cases.

For example, when you have a multi-game kind of map with a skate mode, the map will try to change the CVAR of sv_standable_normal, but this is usually impossible to change because it is not in the Whitelist + requires sv_cheats 1.

So, a workaround can be implemented by utilizing CSSharp's HookEntityOutput

By hooking an arbitrary Entity and executing commands allowed on the server side, it is possible to safely modify a specific CVAR while bypassing the above restrictions.

By default, three Entities are hooked: logic_auto point_servercommand func_button (most maps seem to issue commands via these).

Also, by default, there are no allowed commands, so we need to change and set the CVAR for each map by cfg.

ConVars / Config

See generated configs in csgo/cfg/lupercalia/ or PluginSettings.cs

About

CounterStrikeSharp Implementation of Lupercalia Minigame server plugin

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages