Electus LogoElectus Documentation

Electus Pets Changelog

Release notes for every update, newest first.

5.2.0

Added
  • Added eight new daily tasks: care routines, leash walks, unique commands, long-distance fetches, location visits, vehicle searches, scent tracking, and area guarding.
  • Added the ability to give a configured pet directly to an online player from the Admin Pet Manager, including its name, model, and sex.
  • Added full support for the a_c_rottweiler_02 model across pet shops, animations, accessories, variations, carrying, petting, and vehicles.
Improved
  • Daily tasks are now selected according to each pet's model, animations, and unlocked abilities, preventing impossible tasks from being assigned.
  • Pets now find a safe position when leaving a vehicle and resume their previous follow or movement behavior afterward.
  • Pet spawning now waits for confirmed client initialization and cleans up failed or abandoned spawns.
  • The player's previous camera view is now restored after riding a pet.
  • Refreshed the pet menu, emote list, abilities view, shop selection, and Admin Pet Manager interfaces.
Fixed
  • Fixed search daily tasks not progressing after successful pedestrian or vehicle searches.
  • Fixed walking task progress so each pet advances at the correct one-minute interval.
  • Fixed daily task progress being counted for duplicate commands or locations.
  • Fixed care-routine progress so petting only counts for the pet's owner.
  • Improved reliability when pets exit missing or invalid vehicles.
Performance
  • Batched and cached inventory item-label lookups to reduce framework callbacks.
  • Reduced redundant pet growth state synchronization and distributed growth updates over time.
  • Optimized scent trail sampling by distributing player updates and ignoring duplicate coordinates.

5.1.2

  • Fixed /pets command not loading
  • Fixed issue with pet scaling
  • Fixed shop

5.1.0

  • Fixed some issues
  • Added pet growth/age into pet admin menu

5.0

  • Small pets, they grow with time, with support for both custom pets and default pets.
  • Some new accessories
  • Track player scents
  • Brand new UI
  • Pet management admin panel
  • and more!
    Download it on the Release Candidate/Beta tag. Make sure to report any issues in a ticket

4.3.1

  • Quick fix for emotes
  • Fix translation for actions in UI

4.3.0

  • Fixed issue with pet house colliding with player
  • Reworked the player search system
  • Reworked marker system
  • Synced routing buckets for servers who use other routing buckets than deafult
  • Added customRequirement function in config, makes it easier to create custom permission to access the pet shop
  • Added GivePet export
  • Changed the config structure for easier reading. This format will be the new default on all script updates.
  • Added further security checks

May 23, 2025

Fixed Issues

  • Just a error on QB/QBX

4.2.4

Issues

  • Fixed issue with some multichar systems causing error

4.2.3

Issues

  • Fixed bag issue with new version of qs-inventory
  • Fixed issue with speed visually updaing as thoughess as well
  • Fixed occasional issue with loading
  • Fixed issue with guarding
  • Fixed glitch with fetching ball

New Features

  • Added loop for certain emotes configurable in Config.emotes

4.2.2

Issues

  • Fixed issue with name input
  • Adjusted vehicle search for newer artifact versions
  • and some other stuff

4.2.1

Issues

  • Reworked bag inventory system
  • Refined character loading & relogging to work better
  • Wrapped help text components inside HelpText (in client->utils.lua)
  • Fixed some ui components being off
  • Added check so client doesnt get spammed with network ids not found warnings
  • Removed ox lib text ui after riding and placing pet guard
  • and other stuff

4.2.0

  • Added ox_lib as an dependancy
  • New feature Accessory Creator to easily add more accessories and accessories to custom pets. See the file how-to-add-new-accessories in shared folder to see how it should be done. Also make sure to add your custom pets to petKeys in accessory_creator.lua
  • Adjusted the hunger & thirst system and added so you can change how much food & water should go up when eating/drinking in config
  • Resolved qb-target options for pet bag & petting
  • Cleaned up a lot of UI components and added some color to dialog buttons
  • Changed notification & help text system to ox_lib
  • Converted a lot of callbacks from esx & qb to ox_lib and reduced the code
  • Fixed issue with blips not loading
  • Switched out the current key system with ox_lib making the pet system more configurable for players
  • Changed the inventory system functionality for easier editing & up-to-date exports etc.
  • Fixed various bugs and cleaned up a lot of code

4.1.17

  • Fixed ESC button opening pause menu when quitting pet menu
  • Re-wrote the marker system
  • Cleaned up some code
  • Fixed door shutting when pets enter
  • Fixed various other bugs and made improvements

November 15, 2024

  • Fixed some bugs & UI
  • Added support for tgiann inv

4.1.15

  • Fixed various bugs
  • Improved non-target user experience (added Config.commands and more)

4.1.14

  • Major performance improvements
  • Fixed so non-target stuff is disabled during target
  • Added ps-inventory
  • Fixed issues with transferring a pet
  • Fixed issue with pet menu while player is inside a vehicle
  • Fixed issue with custom pets not entering vehicle (make sure they are still added to Config.petsAllowedInVehicle
  • Fixed wild animals getting attacked by npcs

4.1.13

  • Fixed pet disappearing when the vehicle is removed
  • Added configurable pet bags
  • Fixed adding new pet images in the accessory shop
  • Fixed configurable payment methods for vet
  • Fixed translations for pet bag
  • Added so the pet follows you directly when you put a leash on

4.1.12

  • Fixed issue with blips not working

4.1.11

  • Fixed getting health after riding
  • Added features to non-target users
  • Adjusted riding a lot and fixed issues related to riding
  • Added Config.enableControlledRiding = false, -- if you want to be able to control the riding instead of switching between pet and player models etc. (false = more smooth, true = if you have issues with the riding)

4.1.10

  • Added config file pet_accessories for you to add your own props/component accessories to custom and existing pets
  • Added config file custom_player_loading if you have a custom spawn selector that requires an event to be called
  • Improved performance on accessories loading for ESX with qs and default inventory
  • Changed distance for pet bag and pet to the same as pet menu
  • Fixed issue with GetClosestPet

4.1.9

  • Added config addBallAfterFetch
  • Added config paymentMethods so you can disable cash or card
  • Added config ridingOffsets for custom horses
  • Fixed issue with bag inventory for qb-core
  • Fixed issue with vet
  • Fixed issue with Config.enableBlips to disable and enable all blips
  • Hopefully fixed the issue for some people having issues with accessories interfering with carrying and entering vehicles.

4.1.8

  • Fixed QB error
  • Made some changes to Qs inventory integration... (if anyone has experience with qs inventory please contact me cause I do not own it and can't get the necessary information about the script from the docs)

4.1.7

  • Uploaded some docs to https://docs.electus-scripts.com
  • Fixed issue with always being able to use pet leash despite not having the item on ESX
  • Fixed issue regarding usage with spawn selectors causing errors
  • Added the pet price beside the purchase button in the shop
  • Fixed issue with not having pet_leash, pet_food etc for later versions of QB-core
  • Changed some things for qs-inventory

4.1.6

  • Fixed issue with accessory compatibiles for rottweiler
  • Fixed issue when removing the pet from the server causing incorrect target for pets
  • Added export exports.electus_pets:IsRiding()
  • Added to config pettableDogs and petsAllowedInVehicle
  • Fixed issue with getting stuck in UI after bag lock change
  • Fixed in Config.keyActions commandAction to command and also fixed UI to sync with this
  • Fixed issue with blank pet name

4.1.5

  • Fixed inventory issues
  • Added exports
    exports.electus_pets:DeletePets()
    exports.electus:GetPets()
    exports.electus:AnyPetsOutside()
  • Fixed issue with adding new pets to the system
  • Added config Config.allowPlayerAttack if you only want your pets to attack npcs

4.1.4

Fixed a thing I missed with characters so hopefully you will not get any more errors.

4.1.3

I pushed one last update before official release mostly fixed bugs and errors.

4.1.2

  • Fixed last images
  • Fixed issue with obedience both UI and when its maxed
  • Fixed error on pet house
  • Finalized breeding (happens random, and not all dogs can breed with all dogs + max amount of breeds for a single pet in config)
  • Changed some ui stuff for vet
  • Fixed other bugs

make sure you run this code in your db before you test the new version

ALTER TABLE `electus_pets`
ADD `numOfBreedings` int(2) DEFAULT 0 AFTER `breedingSeed`;

4.1.1

  • Fixed accessory ui
  • Fixed various bugs and errors
  • Added last 2 images for abilities
  • Fixed config and functionality for UI fast interaction placement
  • Fixed weird-looking riding for other players
  • Fixed bugs with goto vehicles and following vehicles on all pets

4.1.0

  • Fixed more errors such as errors when switching to tasks for a recently purchased pet
  • Added so you can fall off while riding (better obedience skill = lower risk of falling)
  • Fixed so the pet doesn't run away when you stop riding it
  • Added more support for non-target users. Now there are commands /pet_bag and /pet_dog
  • Fixed bug that clothing doesn't get completely removed
  • Added 2 more shops! One Exotic Shop which sells some cool animals but also a Farm Shop which sells horses, cows, hens, pigs, and those kinds of animals!
  • Added a new section to accessory shop called items where you can purchase pet leashes, houses and food (more icons will come)
  • Fixed the houses so it doesn't give errors and the ui

4.0.5

  • Fixed error when there are no emotes for the pet

4.0.4

  • Fixed bugs and glitches in both qb and esx
  • Fixed tons of errors
  • Added fix when game build is old (make sure you use latest game build to access all accessories though)
  • And more

4.0.3

  • Fixed bugs, mostly for QB-core
  • Fixed sql error so probably have to clean the db
  • Fixed poodle working properly
  • Fixed pet house overflow with ui
  • Added a folder for all item images

4.0.2

  • Fixed missing translations
  • Adjusted leash
  • Fixed command on single pet
  • Fixed SQL file
  • Fixed not able to buy pets which do not have any variation
  • Blocked some interactions when riding
  • Fixed some bugs in riding
  • Added event
TriggerServerEvent("electus_pets:givePet", secretKey --[[abc123]], name --[[petname]], model --[[e.g. a_c_rottweiler]], startingPoints --[[10]], variation --[leave blank or e.g. {componentId = 0, textureId = 0}]])```
- Fixed QB items
- Fixed other bugs

4.0.1

  • Fixed bugs and errors on load

4.0

BETA v4 has been pushed to keymaster. This is not a official release so do not test on main server.

Some changes in the new update are:

  • Abilities (Sniff vehicle, more daily tasks, attack vehicle, adding health while eating, guard area and auto attack)
  • New skills (Obedience)
  • All new UI
  • Settings (friends, themes etc)
  • Pet houses
  • Riding horses and other pets
  • Accessories (over 400 different accessory combinations so some might have to be tuned on certain pets)
  • Bags (there are lots of bags as accessories which also can be accessed as an inventory)
  • Natural pet animations
  • Leash
  • Interaction between player and other players pets
  • Much more configuration (such as job specific shops and much much more)
  • Emotes
  • Daily tasks (to get xp and level up your pet)
  • And more, also if you want more features please leave a suggestion 🙂

February 19, 2023

  • added qs-inventory
  • added ability to have your own custom vehicle sniff in config
  • fixed bugs
  • prep for v3

December 21, 2022

  • Added migration fix, if the pet is on following and is too far away from its owner it will tp if it sits it won't.
  • Fixed interaction with single pet from menu
  • Fixed crucial server error on newer builds.
  • and more.

August 4, 2022

  • bug fixes
  • added starting amount of skill points configurable in config
  • added configurable command name

July 10, 2022

  • fixed infinity tracker glitch

July 9, 2022

  • fixed some qb-bugs

  • fixed non-target users on old esx memory leak

  • added option to make pets non-buyable and added a event to insert a pet without any price (for your own tebex)

  TriggerEvent("kr_pets:insertPetWithoutPrice", model --[[e.g. "a_c_rottweiler"]])
  • added option to have a "pet house" everywhere (so you can withdraw and store pets without a pet house)
    default options are:
    EnablePetHouse = true,
    EnablePetCommand = false,

command to get pets are /pets

July 1, 2022

  • hopefully fixed most bugs (open ticket if you find any)
  • added support for ox_inventory, mf-inventory (trunk)