SCRIPTS avs_marriage
Marriage & Divorce.
Weddings in the church or by an officiant, a shared surname everywhere, rings, divorces and certificates as A4 documents.
AVAILABLE
ScreenshotsMarriage & Divorce
Choose your partner from players nearbyEXPORTS · EVENTS · HOOKSFor developers
-- server
exports.avs_marriage:GetMarriage(identifier) -- nil | { partner, partnerId, since, oldName }
exports.avs_marriage:IsMarried(identifier)
AddEventHandler('avs_marriage:married', function(d) end) -- { a, b, aSource, bSource, officiant }
AddEventHandler('avs_marriage:divorced', function(d) end) -- { a, b, filedBy }
-- config.lua: update the name in your other scripts (phone, billing …)
Config.OnNameChanged = function(identifier, fullName, source) endavs_marriageFeatures
- Church NPC with marker and [E] interaction – or officiants by job & grade anywhere (/wedding)
- Family name choice: keep names or take one partner's name
- Surname changes in the database and live in memory – no relog (ESX + QB)
- Wedding rings and certificate items with metadata (ox, qb, ESX inventory)
- One-sided divorce: adopted names are reset and rings removed, even offline
- /certificates: marriage & divorce certificates as A4, show them to others
- Confetti, sound, optional announcement, Discord webhook
avs_marriageRequirements
FrameworkESX Legacy · QBCore (auto)
LanguagesEnglish, German – add your own in locales/
RequirementsESX Legacy or QBCore · ox_lib · oxmysql · OneSync
avs_marriageCommands
/weddingOfficiant: marry two people nearby/certificatesOpen your certificates