#Nalto Jewelry System ๐Ÿ’ A FiveM QBCore jewelry system

16 messages ยท Page 1 of 1 (latest)

candid spade
#

Nalto Jewelry System ๐Ÿ’ A FiveM QBCore jewelry system that allows players to equip, craft, and manage magical rings with unique buffs.

https://github.com/NALTOtest/nalto-jewelry

Been working on this for a bit. It uses QBcore and is completely open source. Feedback is always appreciated!

Ring Abilities ๐Ÿ’
Each ring provides a unique buff when worn. Hereโ€™s a quick overview:

Sapphire Ring โ€“ Gradually overcharges armor when fully protected.
Aquamarine Ring โ€“ Boosts swimming speed when in water.
Citrine Ring โ€“ Slowly reduces stress over time.
Diamond Ring โ€“ Grants periodic speed boosts.
Emerald Ring โ€“ Increases money earned from certain activities. -- must link to your own reward/robbery scripts.
Onyx Ring โ€“ Adds temporary extra health (overcharge HP).
Ruby Ring โ€“ Provides minor health and armor regeneration.
Tanzanite Ring โ€“ Slowly regenerates armor over time.
Rings lose durability with use but can be repaired at a jeweler. Only one ring can be active at a time!

GitHub

Nalto Jewelry System ๐Ÿ’ A FiveM QBCore jewelry system that allows players to equip, craft, and manage magical rings with unique buffs. - NALTOtest/nalto-jewelry

#

Nalto Jewelry System ๐Ÿ’ A FiveM QBCore jewelry system

scenic citrus
#

no imgs?

candid spade
#

completely forgot the images. will add them in a bit

vague jolt
#
[script:nalto-jewelry] SCRIPT ERROR: @nalto-jewelry/server/main.lua:438: attempt to index a nil value (global 'activeBuffs')
[script:nalto-jewelry] > handler (@nalto-jewelry/server/main.lua:438)
#

server side location:

RegisterNetEvent('nalto-jewelry:server:activateBuff', function()
    local src = source
    activeBuffs[src] = true
    print("[DEBUG] Server: Activated buff for player", src)
end)

client side call:

        TriggerServerEvent('nalto-jewelry:server:activateBuff')

i think there in the client side you should but that to an 'source'

#

o no actually activeBuffs is not defined anywhere

#

Also in the server side you did an ps-inventory export almost anywhere , you can replace it with qb-inventory and add an option to an config so people can choose between scripts

steep bolt
#

For activebuffs, just define it as as an empty table at top of serverside

candid spade
#

I was going to remove the active buffs because I think it was linked to ps-buffs. I went all native functions so it could be more standalone. but as for qb inventory i could add that as well.

#

thanks for the feedback

candid spade
#

new UI update coming soon? ๐Ÿ‘€

candid spade
drowsy moon
#

sweet this

olive ember
#

Shame im on qbox wud love to use this

candid spade