diff --git a/CHANGELOG.md b/CHANGELOG.md index 584d091..5226e79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [2.6.2] - 2024-10-21 + +### New + +- Added `callvote` command as an alias for `vote`. +- Added `sv_ag_disabled_votes` CVar, which sets what votes are disabled on the server. For example: `sv_ag_disabled_votes "agstart;agabort"` will disable `agstart` and `agabort`. + +### Improved + +- Now game modes can be disabled on the fly when using `sv_ag_allowed_gamemodes` (no need to wait for map restart). +- Now `mp_respawn_fix` is enabled by default in `startup_server.cfg`. No reason to keep this fix disabled which improves fairness. + - If you need to adjust the respawn time, use `mp_respawn_delay`, which is set to 0.95. This is the fastest spawn time at 125 FPS with the old behavior. + +### Fixed + +- Fixed `agnextmode` not working as expected: + - Don't allow voting with an empty argument or modes that don't exist. + - It will no longer change the map when accepted or called as an admin, which defeated the purpose of setting a next map for the server. + - Fixed some misspellings in the translations. + ## [2.6.1] - 2024-09-24 ### Fixed @@ -135,6 +155,7 @@ Now the mod has an [official website](https://rtxa.github.io/agmodx) made with D - Arcade not setting armor on player spawn. - Invalid private data when a player leaves before he has fully joined. +[2.6.2]: https://github.com/rtxa/agmodx/compare/2.6.1...2.6.2 [2.6.1]: https://github.com/rtxa/agmodx/compare/2.6...2.6.1 [2.6]: https://github.com/rtxa/agmodx/compare/beta-2.5.2...2.6 [Beta 2.5.2]: https://github.com/rtxa/agmodx/compare/beta-2.5.1...beta-2.5.2 diff --git a/valve/addons/amxmodx/scripting/include/agmodx_const.inc b/valve/addons/amxmodx/scripting/include/agmodx_const.inc index 99c2135..d629ad1 100644 --- a/valve/addons/amxmodx/scripting/include/agmodx_const.inc +++ b/valve/addons/amxmodx/scripting/include/agmodx_const.inc @@ -3,7 +3,7 @@ #endif #define _agmodx_const_included -#define AGMODX_VERSION "2.6.1" +#define AGMODX_VERSION "2.6.2" // array size of some gamemode cvars #define SIZE_WEAPONS 14 diff --git a/website/docs/guides/commands.md b/website/docs/guides/commands.md index e97fe32..781e7d9 100644 --- a/website/docs/guides/commands.md +++ b/website/docs/guides/commands.md @@ -95,6 +95,8 @@ All game modes (TDM, Arena, etc.) are already included in the vote list. * `sv_ag_vote_start 1` — Allow vote agstart. * `sv_ag_vote_allow 1` — Allow vote agallow. * `sv_ag_vote_failed_time 15` — Cooldown for next vote if previous one failed. +* `sv_ag_vote_allow_bots 0` — Allow bots to vote. Debug purposes only. +* `sv_ag_disabled_votes` — Set what votes are disabled. For example: `sv_ag_disabled_votes "agstart;agabort"` will disable `agstart` and `agabort`. * `sv_ag_vote_admin 0` — Allow vote for player admin. Dropped in favour of AMXX admin system. **Multiplayer** diff --git a/website/src/_constants.js b/website/src/_constants.js index c1e7bbf..1da3f73 100644 --- a/website/src/_constants.js +++ b/website/src/_constants.js @@ -1 +1 @@ -export const AGMODX_VERSION = '2.6.1'; \ No newline at end of file +export const AGMODX_VERSION = '2.6.2'; \ No newline at end of file