Skip to content

Commit

Permalink
0.8.8: pause fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhit-pathak committed Jan 1, 2025
1 parent fac90ec commit 4a1e4e5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# MatchZy Changelog

# 0.8.8

#### January 1, 2025

- Fixed issue with !pause command where non-admin players were not able to take pauses when `matchzy_tech_pause_flag ""` was set.

# 0.8.7

#### December 4, 2024

- Fixed backup / restore on Windows.
- Dryrun will now have random competitive spawns rather than same spawns every time.
- Made `.pause` / `.tech` toggleable. Use `matchzy_enable_tech_pause` convar to toggle.
- Updated pt-PT translation.
- Fixed live_override

# 0.8.6

#### September 13, 2024

- Improvements in coach, now coaches will spawn on the fixed defined spawn to avoid spawning and getting stuck with the players. Spawns will be defined in `addons/counterstrikesharp/plugins/MatchZy/spawns/coach/<map_name>.json`. Each map will have its json file, in which there will be 2 keys, "3" and "2". 3 -> CT, 2 -> T and the values will be an array of Vector and QAngle objects.
- Added `.showspawns` and `.hidespawns` command for Practice mode to toggle highlighting of competitive spawns. (Image attached)
- Removed auto-join of players in match setup which was causing players to spawn under the ground.
- Added `.rr` alias for `.restart` command.

# 0.8.5

#### August 27, 2024
Expand Down
2 changes: 1 addition & 1 deletion MatchZy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public partial class MatchZy : BasePlugin
{

public override string ModuleName => "MatchZy";
public override string ModuleVersion => "0.8.7";
public override string ModuleVersion => "0.8.8";

public override string ModuleAuthor => "WD- (https://github.com/shobhit-pathak/)";

Expand Down
2 changes: 1 addition & 1 deletion Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ private void PauseMatch(CCSPlayerController? player, CommandInfo? command)
PrintToPlayerChat(player, Localizer["matchzy.pause.techpausenotenabled"]);
return;
}
if(!string.IsNullOrEmpty(techPausePermission.Value))
if(!string.IsNullOrEmpty(techPausePermission.Value) && techPausePermission.Value != "\"\"")
{
if (!IsPlayerAdmin(player, "css_pause", techPausePermission.Value))
{
Expand Down

0 comments on commit 4a1e4e5

Please sign in to comment.