Stable1.1.5
UPDATE
- Fixed bug with full bin icons.
- Configs
EmptyGarbagePercentageandEnableDonatorBonusnow works with trash bag swep for garbage collectors.
Stable1.1.4
UPDATE
- Fixed not marking containers full when auto generating trash.
- Added HUD configs.
- Config
CH_GarbageSystem.Config.DisplayFullContainersallows you to enable/disable it entirely. - Config
CH_GarbageSystem.Config.DrawDetailedHUDto draw detailed HUD with distance or just an icon. - Automatically force trash bag in hand when CollectingGivesTrashbagSWEP is enabled.
- You will now find auto trash generating configs in new config table called
CH_GarbageSystem.Config.AutoGenerateTrashOptions - This separates the bins and dumpsters options giving more possibilities.
- Fixed a few bugs with the latest feature from config
CH_GarbageSystem.Config.CollectingGivesTrashbagSWEP - Switch back to previous weapon when both
CH_GarbageSystem.Config.CollectingGivesTrashbagSWEPandCH_GarbageSystem.Config.StripWeaponOnEmptyare enabled. - Switches back to weapon you had in hand when collecting trashbag from containers if still valid.
Stable1.1.3
UPDATE
- Optimized loop for auto generating trash in bins and dumpsters.
Stable1.1.2
UPDATE
- Fixed garbage bins not generating trash with
AutoGenerateTrashconfig enabled. - Added speed limit for garbage truck when emptying from inside truck with
CanEmptyFromTruckconfig enabled. - Adjust with config
CH_GarbageSystem.Config.MaxTruckSpeedEmpty - Added the ability for garbage collectors to press E on dumpsters/bins to collect trash in a trash bag. Disabled by default.
- Must be enabled via config
CH_GarbageSystem.Config.CollectingGivesTrashbagSWEP' - This gives them a trash bag swep or fills their current one.
- Stopped dropping money from dumpster/bins if it's a garbage collector to prevent potential money abuse with this feature.
- Added the ability for garbage collectors to drop garbage bags into truck.
- This also works great in addition to the above feature.
- Added security distance to net message when emptying trash container.
Stable1.1.1
UPDATE
- Fixed errors with collecting trash spawned through trash spawners and throwing in containers/bins.
Stable1.1.0
UPDATE
- Improved and optimized the addon.
- Added the ability to keep trash bag swep when emptying it.
- Enable/disable config
CH_GarbageSystem.Config.StripWeaponOnEmpty - If set to false it will empty the current worth to 0 and let you keep the trash bag.
- Your XP system is now automatically detected if using a supported one (see description).
- Removed all configs to enable/disable a specific XP system support.
- You can now set
TrashIntoDumpsterOrBinXPand/orEmptyTrashContainerXPto 0 to disable the XP features. - Rewrote the
DonatorBonusesconfig table structure so that the function is now optimized. - Added the ability to make bins/dumpsters spawn with a percentage of the max trash.
- Use config
CH_GarbageSystem.Config.SpawnAmountPercentageto determine how much trash they start with. - This is useful for having some trash inside after server restarts.
- Added the ability to reward XP in percentage of trash worth instead of fixed numbers.
- If you set CH_GarbageSystem.Config.RewardPercentageXP config above 0 it will give this percentage based on the trash worth in XP.
- It will utilize the
TrashIntoDumpsterOrBinXPandEmptyTrashContainerXPconfigs as maximums.
Stable1.0.9
UPDATE
- Added missing config for the max trucks feature.
- Config is
CH_GarbageSystem.Config.MaxTrucks - Fixed a problem where players could sell their garbage truck resulting in a snowball effect of issues.
Stable1.0.8
UPDATE
- Fixed not being able to empty with E when EmptyFromTruck was disabled.
- When trying to empty an empty container via truck as a garbage collector it will now say it's empty instead of opening the menu.
- Don't draw 3d2d when in vehicles.
Stable1.0.7
UPDATE
- Added German translation thanks to Miya
- When pressing E on an empty trash container as a garbage collector it will now tell you that instead of opening the menu.
Stable1.0.6
UPDATE
- Added a donator bonus feature for emptying trash bins/dumpsters.
- Enable/disable with
CH_GarbageSystem.Config.EnableDonatorBonusconfig (disabled by default). - Configure rank multipliers with
CH_GarbageSystem.Config.DonatorBonusesconfig table.
This allows you to set a multiplier bonus for every usergroup that you have on your server. If the multiplier is above 1 it will multiply the percentage reward already given for emptying trash and reward it as a bonus to the player.
Stable1.0.5
UPDATE
- Fixed not notifying users of XP earned with DarkRP Leveling System by Vrondakis.
- Fixed an error when trying to throw trash entities into bins and dumpsters.
- Garbage collectors can now empty bins and dumpsters by pressing E on them.
- This must be enabled with
CH_GarbageSystem.Config.CanEmptyWithE - Added config to enable/disable emptying bins and dumpsters from inside the truck.
- Config
CH_GarbageSystem.Config.CanEmptyFromTruck - When emptying bins and dumpsters garbage collectors are now prompted with a menu where they must confirm emptying.
- This is to prevent abuse by being AFK inside truck or macro to press E on bins or dumpsters.
Stable1.0.4
UPDATE
- Added a trash bag weapon.
- Use it to pick up trash and carry the trash bag around as any other weapon.
- You can also holster the trash bag as you wish.
- You can empty the trash bag weapon into bins and dumpsters to get it's worth.
- Added weapon class to table of
CH_GarbageSystem.Config.TrashEntityMaxWorth - Name in the table is ch_garbage_trash_bag.
- Added the trash bag as a shipment by default.
- Other minor code optimizations.