v3.0.1 mayor
The newsroom, press camera, live broadcasts and newspaper boxes
22cambios

The newsroom, press camera, live broadcasts and newspaper boxes
22cambios

[02] Versión
A full rebuild of the job. Editors write real multi-page editions in game, journalists shoot photos and go live on everyone's screen, players read the paper and take it from street boxes, and delivery pays for the share of the round that was done. The config is new, so copy your settings onto the new files.
config/config.lua and config/translations.lua. The old files do not work with this version: every text is now a translation key and there are many new sections. Copy your own settings (jobs, coordinates, vehicles, pay) onto the new files. config/descriptions.lua is new.qs-newspaperjob.sql is only for a manual install.newspaper, newspaper_bundle and press_camera to your inventory. Use the file for yours: items.lua (QBCore), items_ox.lua (ox_inventory), items_qs.lua (qs-inventory) or items(ESX).sql (ESX).server.cfg. URLs written in config/config.lua are downloaded by every player, so they are now read from convars. If you had one in the config, move it and replace the webhook in Discord.set qs_newspaperjob_edition_webhook "https://discord.com/api/webhooks/..."
set qs_newspaperjob_photo_webhook "https://discord.com/api/webhooks/..."
set qs_newspaperjob_broadcast_webhook "https://discord.com/api/webhooks/..."
Config.Shop.Enabled = false to keep handing them out for free.photos/ folder when you update in the future. It holds the pictures taken with the press camera.Replace the whole resource. If you edited any of these files yourself, copy your changes onto the new file.
qs-newspaperjob/fxmanifest.luaqs-newspaperjob/config/config.luaqs-newspaperjob/config/translations.luaqs-newspaperjob/config/descriptions.lua (new)qs-newspaperjob/items.lua, items_ox.lua, items_qs.lua, items(ESX).sql (new)qs-newspaperjob/qs-newspaperjob.sqlqs-newspaperjob/photos/ (new)qs-newspaperjob/client/achievements.lua, adminconfig.lua, arm.lua, broadcast.lua, camera.lua, editor.lua, layouts.lua, newsbox.lua, pickup.lua, press.lua, reader.lua (new)qs-newspaperjob/client/delivery.lua, dialogue.lua, guide.lua, leaderboard.lua, main.lua, marker.lua, routes.lua, framework/*, vehiclekeys/*qs-newspaperjob/server/achievements.lua, adminconfig.lua, broadcast.lua, configstore.lua, editor.lua, layouts.lua, newspaper.lua, photos.lua, press.lua, shop.lua, upload.js, updater.lua (new)qs-newspaperjob/server/delivery.lua, levelsystem.lua, main.lua, routes.lua, schema.lua, webhooks.lua, framework/*qs-newspaperjob/web/*Papers in hand and thrown, credited doors, pay and career stats are tracked by the server. The leaderboard no longer sends identifiers to clients.
Multi-page editions with headlines, stories, photos and pull quotes. Each edition has a date, can be written days ahead and reaches nobody before its day. Publishing announces it on Discord once, with a picture of the front page. Publish and delete permissions by job grade, and a cooldown between publications.
Build each page as a stack of blocks (masthead, lead headline, photo, columns), then anyone writing an edition fills it in. Ships with 6 layouts: Classic front page, City feed, Los Santos, Neon night, Vinewood cover and Wanted bulletin.
A new ped next to the delivery one, with a shop, photos and the tip line.
Item press_camera, $750 at the press room shop. Hold it, right click to raise it to the eye and left click to shoot. The photo is a real capture of the game; keep or discard it, with a roll of 3. Photos are stored in the resource and served by the server, so it works with no setup. A copy can be sent to a Discord webhook.
Any player can send a story. Editors get them in an inbox and place them in the edition with one click: they go into the first free slot on the page, with the photo where it belongs and the author's byline.
A journalist on the scene puts a headline with their photo in a lower third, like a news channel. Colored sections (Breaking, Crime, Traffic, Weather, City, Sports), your own channel name (for example Weazel News), server-wide or radius reach, a photo from the journalist's own roll, cooldowns per journalist and server-wide, and a log of who broadcast what.
Item newspaper. Opens with an animation and the paper in hand, and shows the edition that copy came from, even an old one.
Detected by model, including boxes from added maps. Off duty, anyone opens the archive of published editions and picks one (free or with a price, with a copy limit per edition). On a round, the delivery worker restocks the boxes on the route with bundles.
Delivery now buys its papers and bundles (item newspaper_bundle) instead of getting them for free. Cart with several items, required level per item and a cap per purchase. Set Config.Shop.Enabled = false to keep them free.
A paper that lands in the street instead of at the door stays on the ground with a marker and a blip, and can be picked up again. Only a thrown paper that no door was credited for can be recovered.
Y by default, each player can rebind it. An option puts the next paper in hand automatically after each throw.
Shows where the paper has to land while riding the bike.
Rounds pay by doors and boxes done, so boxes-only rounds pay too, and the bike can be handed in early for what was done so far, after a confirmation. The tracker shows the expected pay and what was earned so far.
For rounds finished, doors, boxes, perfect rounds, published editions, level and earnings.
Validated ranges and a description for every option. Changes are saved in the database.
Separate channels for editions, photos and live broadcasts: qs_newspaperjob_edition_webhook, qs_newspaperjob_photo_webhook and qs_newspaperjob_broadcast_webhook.
On start it shows the installed version and whether it is up to date. When a new version ships, it shows the most important changes, the urgency and the changelog link, once per version. Pick the channel with the quasar_update_channel convar (STABLE by default).
items.lua, items_ox.lua, items_qs.lua and items(ESX).sql.
Editions, layouts, photos, tips, broadcasts, achievements and config.
Peds, vehicles, rounds, shop, blips and live sections. All 11 languages are complete.