gabs-artillery brings fully functional, placeable artillery weapons to your RedM server — Breach Cannons, Hotchkiss Cannons, and Maxim Guns that players can deploy, position, and leave in the world.
Players use the item from their inventory to enter a placement mode with a live ghost preview. From there they can adjust the distance with scroll, rotate freely with Q/E, and confirm the position with Enter. Once placed, the piece stays in the world — it persists through server restarts via database and remains after the owner disconnects until someone physically picks it up.
Stealing another player's artillery triggers a real-time alert to all online law enforcement, complete with a map blip and radius indicator showing the location.
What's included:
- Full source code (Lua) — client, server, and config
- 3 pre-configured artillery types (Breach Cannon, Hotchkiss Cannon, Maxim Gun)
- Database persistence via oxmysql — no manual SQL import, table is created automatically
- Discord webhook logging for placements, pickups, and thefts with character names and coordinates
- syn_society: Theft detection with law job alerts and timed map blips
- Per-player placement limit (configurable)
- Config-driven artillery types — add new weapons in one line without touching server code
- Dev mode for server console debugging