Lan2Play / PugSharp

Pugsharp is a PUG System Plugin for CS2 based on the awesome CounterStrikeSharp by roflmuffin. Its intended purpose is to be used with our fork of eventula, but ofc can be used in a different environment as well. We also try to build an compatible api with most apis of the awesome Get5.
GNU General Public License v3.0
40 stars 8 forks source link

Command aliases #102

Open lanslide-team opened 8 months ago

lanslide-team commented 8 months ago

Adding some aliases might be nice

Player Commands

!r / .r =>ready !stay /.stay => stay on the same team after veto !switch / .switch => switch team after veto

Admin Commands

!lc => load remote config !lcf => load local config file !fs => force start a match starting at 0-0 !cm / !nl => cancel/stop match or not live !ch => cancel half !sm => start match !match_state => Current match state [PugSharp.Match.Contract.MatchState] !map_score => Returns the correct map score, eg: Team 1 [4] vs Team 2 [5] !team1_name => The name of Team 1 !team1_map_score => The current round wins for Team 1 !team1_series_score => The overall score for Team 1 in this series !team1_side => Either T or CT !team2_name => The name of Team 1 !team2_map_score => The current round wins for Team 2 !team2_series_score => The overall score for Team 2 in this series !map_score_json => Return the current map score as json, eg: {"team1":{"name":"Team 1","score":4,"side":"T"},"team2":{"name":"Team 2","score":5}} !series_score_json => Returns the series score as json, eg: {"team1":{"name":"Team 1","score":0},"team2":{"name":"Team 2","score":1}}

lanslide-team commented 8 months ago

Having !match_state and !map_score_json would be a game changer :)

TheR00st3r commented 8 months ago

Hi,

I started adding the aliases and Commands.

Current State:

TheR00st3r commented 8 months ago

@lanslide-team I am not sure if i undestood !ch correctly. What should happen for !ch? What should happen if it is called in the first half, in the second half, in overtime? Is it really required?

lanslide-team commented 8 months ago

First half would be the same as restarting the game at 0-0. Second half would be back to half-time (eg: 6-6). Overtime: Similar rules

It may be needed if there are multiple technical issues (server is lagging, multiple player drops). You could restore the match to a certain round, but this would be easier.