Stable1.2.2
UPDATE
- Added support for scrolling law/city board.
- Added config
CH_Mayor.Config.MaxVisibleLaws - Added config
CH_Mayor.Config.LawScrollInterval
Stable1.2.1
UPDATE
- Fixed an error caused by 0$ salaries in DarkRP.
- Updated language string for paychecks.
Stable1.2.0
UPDATE
- Fixed rare lua errors in mayor menu if players left while menu was open.
- Added condition for DarkRP "max" config when promoting players.
- Added configs for mayor desk entity.
- Set desk model via
CH_Mayor.Config.MayorDeskModel - Set computer model via
CH_Mayor.Config.MayorDeskComputerModel
Stable1.1.9
UPDATE
- Fixed sql injection.
Please update the addon immediately.
Updates files: server/sql/ch_mayor_sql_functions.lua and server/ch_mayor_stats.lua
Stable1.1.8
UPDATE
- Fixed a bug with the XP rewards system.
Updated file server/ch_mayor_xp.lua
Stable1.1.7
UPDATE
- Fixed a bug with the Fitness Subscription (walk/run modifier) upgrade not applying to proper run speed.
- Fixed the mayor desk not spawning frozen.
Updated files: lua/ch_adv_mayor/shared/config/upgrades/upgrade_walkrun.lua and lua/entities/ch_mayor_desk/init.lua
Stable1.1.6
UPDATE
- Added a command that allows players to print all laws to their chat.
- Enable/disable with config
CH_Mayor.Config.EnableCommandToPrintLaws - Command config
CH_Mayor.Config.CommandToPrintLaws - Added the ability for admins to edit laws with default darkrp chat commands (/addlaw /removelaw)
- New config table to define admin groups
CH_Mayor.Config.AdminUsergroups - Added new mayor upgrade: Reinforced Doors
- It will increase the time it takes to lockpick doors in the city.
Stable1.1.5
UPDATE
- Fixed an error when changing screen size.
Updated file: lua/ch_adv_mayor/client/ch_mayor_fonts.lua
Stable1.1.4
UPDATE
- Fixed an error if taxes were disabled.
Updated file: lua/entities/ch_mayor_cityboard/cl_init.lua
Stable1.1.3
UPDATE
- Added config CH_Mayor.Config.UsingSetAllowNonAsciiCharacters
- When allowing non-ASCII characters, a small box appears inside the text entry, indicating your keyboard's current language. That makes the user unable to input some letters from German, French, Swedish, etc. alphabet.Â
- Added config CH_Mayor.Config.DisableTeamTaxWhenNoMayor
- Set to true to disable team taxes when there is no mayor.
- Added support for both customCheck and CustomCheckFailMsg when promoting teams as the mayor.
- Added config CH_Mayor.Config.RotateTeamTaxesOnCityBoard
- If enabled it will randomly rotate the current paycheck taxes in the bottom of the city board.
- Config CH_Mayor.Config.RotateTeamTaxesInterval to determine how often it shuffles (in seconds)
Stable1.1.2
UPDATE
- Fixed a problem where jobs with randomized models would be stuck with just one of them.
- Removed
MaxLevelconfig on upgrades and calculated it based on Levels table.
Stable1.1.1
UPDATE
- Added turkish translation thanks to ABHONNNNNN
- Fixed a small problem with the MySQL structure.