Stable2.0.0
Added
- New, edited and deleted jobs are now sent to every player right away, not only to the job's owners.
- Owners are refunded if saving a paid job fails.
- The server now enforces the category whitelist.
- The conversion NPC now requires you to be standing near it.
- Players are moved off a job when an admin disables it.
Fixed
Job Sync
- Custom jobs no longer show the wrong name, model or color for other players or disappear from F4. The server now decides each job's team, and every player is placed on exactly the same one.
- Deleting a job no longer shifts or breaks other jobs, for players already online or for players who join later.
- One broken job no longer stops the rest of the custom jobs from loading.
- Editing a job now updates it in place, including moving it to a new F4 category.
Credits
- Declining a job now refunds what the owner paid. It used to take the price a second time.
- The additive owner multiplier now makes jobs more expensive per extra owner. It used to make them cheaper.
- The conversion NPC only charges for whole credits.
- Negative credit balances now display correctly instead of as a huge number.
Fields
- Jobs with the category "None" now show in F4 under DarkRP's default category.
- Disabled fields can no longer be bought, and no longer grant a gun license, entity access or the trash collector perk.
- Bought health and armor now apply when switching jobs, not only on respawn.
- Health is reset correctly when leaving a custom job.
- Bodygroups now show correctly for players who join after the job was created.
- The "Can a job use a workshop model?" setting is now enforced.
Limits
- The job limit only counts other jobs you are the primary owner of. Shared jobs and the job you're editing no longer count.
Permissions
- Only the primary owner can edit a job, and owners can no longer re-enable a job an admin disabled.
- An invalid admin save no longer makes the job go live.
- Disabled jobs stay disabled after a server restart.
Ownership
- Owners removed from a job lose access immediately and stay removed after a restart.
- Workshop content stays loaded while any co-owner is still online.
Database
- Deleting a job now removes all of its data (owners, models, weapons, fields and so on).
- The admin job list pages correctly and returns complete jobs.
- Admin search by owner RP name works again.
- Offline owners' names load correctly in the admin menu.
- Owner lookups work on MySQL.
UI
- Checkout no longer errors when a job fails validation.
- The job editor no longer changes the saved job's models until you save.
- The Inspect view refreshes correctly after edits.
API
- The currency functions and `hasCurrency` no longer error.
- Updating a job through the API keeps the same job instead of creating a copy, and weapons and fields are applied.