Stable
1.0.8
UPDATE
- Added checks to ensure the mayor safe can hold the money you try to deposit, so nothing is lost.
- Added missing Turkish translation strings.
Stable
1.0.7
UPDATE
- Fixed mayor upgrades not working correctly above level 1.
You can keep all your configuration files.
Stable
1.0.6
UPDATE
- Fixed not updating bodygroups in the mayor vault properly.
- Added a mayor desk entity.
- It allows the mayor to open the mayor menu by pressing E on the entity.
- Admins can spawn it via Q menu and save via
ch_mayor_saveents
as usual. - Weapons received from the reinforcements upgrade cannot be dropped anymore to avoid abuse.
- Added tax integration for Zero's Vending Machine
- Allows you to give a percentage of the money from every vending machine purchase to the mayors vault.
- You can enable it via
CH_Mayor.Config.ZerosVendingMachineTax
- Set the percentage via
CH_Mayor.Config.ZerosVendingMachineTaxPercetange
- Notify mayor with
CH_Mayor.Config.ZerosVendingMachineTaxNotify
- Added tax integration for Realistic Fastfood.
- Allows you to give a percentage of the money from all fastfood sales to the mayors vault.
- You can enable it via
CH_Mayor.Config.RealisticFastFoodTax
- Set the percentage via
CH_Mayor.Config.RealisticFastFoodTaxPercetange
- Notify mayor with
CH_Mayor.Config.RealisticFastFoodTaxNotify
Stable
1.0.5
UPDATE
- Fixed an error when a non-player entity tried to wanted/warrant a player (like CCTV's).
- Fixed an error when a non-mayor tried to wanted/warrant a player.
Stable
1.0.4
UPDATE
- Fixed a clipping issue with the text entry in the dashboard menu on ultrawide screens.
- Added Russian translation thanks to matveicher
- Added Turkish translation thanks to Illusion
Stable
1.0.3
UPDATE
- Fixed a few French translations overwriting the English ones.
- Made UI improvements when on ultrawide monitors.
- Fixed a bug if the TeamTaxes table included jobs that didn't exist in servers DarkRP job table.
Stable
1.0.2
UPDATE
- UI adjustments.
- Cached
CurTime
where I forgot. - Removed unused fonts.
- Removed some
FindByClass
use-cases and replaced with better and more optimized solution.
Stable
1.0.1
UPDATE
- Fixed announcement screen not using language translation for default text.
- Fixed new announcement screens not showing the latest announcement before updated.
- Fixed some notifications not respecting
CH_Mayor.Config.NotificationTime
- Sorted all items for the catalog in it's own sub folder and file (shared/config/catalog/)
- Added config to notify players when new laws are added.
- Config option
CH_Mayor.Config.NotifyAllOnNewLaw
- Added feature to require mayor to be close to the vault to withdraw/deposit.
- Can be toggled with config
CH_Mayor.Config.MustBeCloseToVault
- Fixed net message for leaderboards not having rate limit.
- Added refresh network button on leaderboard to update it (cooldown on 60 seconds)
- Added flashing screen to the entity when a new announcement is made.
- Define the length of the flashing screen with config
CH_Mayor.Config.NewAnnouncementScreenFlashTime
- Fixed a bug where it would send triple notifications to players when a mayor was demoted.
Stable
1.0.0
Initial version.