Releases: overextended/ox_core
Releases · overextended/ox_core
v0.10.0
Features
- client/player: trigger unique event for player metadata (Linden)
- client/player: lazy-event and metadata handling (Linden)
Bug Fixes
- lib/server: player.getState method and types (Linden)
- support sv_lan and fxdk (Linden)
- server/player: Wipe inScope table on logout (#38) #38 (Jag)
- sql: allow phone_number to be NULL (Linden)
Chores
v0.9.0
Features
- server/player: support for pefcl (Linden)
- server/groups: setup unique accounts (Linden)
- sql: ox_groups.hasAccount column (Linden)
- client/events: delete peds when spawning vehicles (Linden)
Bug Fixes
- server/groups: don't update player group if grade is unchanged (Linden)
- server/player: reload pefcl on restart (Linden)
- server/player: typo (Linden)
- server/vehicle: correct type for blimp (DokaDoka)
- server/player: Use all defined character slots (#35) #35 (Jag)
Code Refactoring
- server/player: don't force ox_inventory; minor formatting (Linden)
- server/player: clear charid during save (Linden)
- server/groups: improve pefcl support (Linden)
- remove built-in accounts (Linden)
- client: use PlayerPedId (Linden)
- client/spawn: don't set cache.ped (Linden)
- server/vehicle: use native CreateVehicleServerSetter (#36) #36 (BerkieBb)
- client/events: remove useless native call (Linden)
Commits
v0.8.0
Features
- server/vehicle: use CREATE_VEHICLE_SERVER_SETTER (Linden)
- server/vehicle: deprecate CVehicle.store for CVehicle.setStored (Linden)
- server/vehicle: add CVehicle.setOwner (Linden)
- server/vehicle: delete peds when spawning vehicles (Linden)
- server/vehicle: CVehicle.despawn (Linden)
- server/vehicle: group vehicles (#29) #29 (Sam Shanks)
- server/vehicle: CVehicle.setGroup (Linden)
Bug Fixes
- debug/vehicleParser: update topVehicleStats (Linden)
- server/vehicle: vehicle group (Linden)
- server/vehicle: CVehicle fields (Linden)
- sql: typo (#31) #31 (Sam Shanks)
Code Refactoring
- client/events: set vehicle on ground and delay state handler (Linden)
- client/events: handle initVehicle and set locked status (Linden)
- client/events: reduce Wait during initVehicle (Linden)
Commits
- 225abbd: refactor(server/vehicle) initVehicle and set lockStatus (Linden)
v0.7.2
Features
- debug/vehicleParser: save stats, top stats, and price (#28) #28 (Linden)
- lib/server: new interfaces and Ox namespace (Linden)
- server/player: allow boolean and nil values for player.setdb (Linden)
Bug Fixes
- server: multi-return values for method calls (Linden)
- client/spawn: don't set max armour on spawn (Linden)
Code Refactoring
- shared/vehicles: declare table properties (Linden)
v0.7.1
Bug Fixes
- imports/server: get vehicle exports #26 (Yulian Ivanov)
Continuous Integration
- release: automatic npm package bumping (Luke)
v0.7.0
Features
- client/debug: save vehicle type (Linden)
- save metadata #23 (SamShanks1)
- client/spawn: set health and armour on spawn (Linden)
- server/player: save player health and armour (Linden)
- server/player: support tables in player.setdb (Linden)
- client/spawn: set ped model from gender (#24) #24 (Sam Shanks)
- lib/server: player.setdb definition (Linden)
- server/player: GetPlayerByFilter (Linden)
- lib/server: GetPlayerByFilter (Linden)
- imports/server: Ox.GetPlayerByFilter (Linden)
Bug Fixes
- server/groups: trigger addCharacterGroup + missing command (Linden)
- client/death: possible race condition (Linden)
- server/player: use Shared.CHARACTER_SLOTS (Linden)
- lowercase where #23 (SamShanks1)
- save metadata #23 (SamShanks1)
- types (Linden)
- client: various minor fixes (Linden)
- client/player: wipe playerData on logout (Linden)
- server/vehicle: default to stored if coords are nil (Linden)
- imports/server: return CVehicle or vehicleId (Linden)
- lib/server: return CVehicle or vehicleId (Linden)
- server/vehicle: do not assign stored to false (Linden)
- server/player: apply __newindex to metatable (Linden)
Code Refactoring
- server/debug: check vehicleData before saving (Linden)
- server/vehicle: use CreateVehicle for non-automobiles (Linden)
- client/debug: use hashed model (Linden)
- remove errors (Linden)
- client: disable player health regen (Linden)
- server/player: metadata return value #23 (Linden)
- server/player: use __newindex for CPlayer methods (Linden)
- server/player: trigger ox:playerLogout before saving (Linden)
- client: remove "login" OnPlayerDeath (Linden)
- server: set Registry types (Linden)
- server/class: remove name param (Linden)
- server/player: types (Linden)
- server/vehicle: Ox.GetVehicleExports (Linden)
- imports/server: update exports reference (Linden)
- server/groups: stricter types (Linden)
v0.6.1
v0.6.0
Enjoy the breaking changes.
local player = Ox.GetPlayer(source)
print(player.dead) -- nil
print(player.get('isDead')
print(player.groups.police) -- attempt to index nil value
print(player.getGroup('police') -- get value of police
print(player.hasGroup('police') -- get group name and value
local groups = player.get('groups') -- get all groups
Breaking Changes
- server/player: move dynamic player data to metadata (Linden)
Features
- server/player: prevent multiple connections from an identifier (Linden)
- server: class constructor (Linden)
- shared: require (Linden)
Bug Fixes
- server/groups: message when group doesn't exist (Linden)
- server/player: don't return all metadata when key-value is nil (Linden)
- server/player: update references to player.groups (Linden)
- shared: set modules[path] to nil on error (Linden)
- server/vehicle: weird unstaged commit (Linden)
- shared: set default require return value (Linden)
- ci/build: remove files from directories (Linden)
Code Refactoring
- move 'files' from root to shared (Linden)
- improve error messages (Linden)
- server/player: delay loading characters (Linden)
- server/player: move dynamic player data to metadata (Linden)
- client: set initial value of player.isDead (Linden)
- lib/server: update class fields and methods (Linden)
- server: standardise groups class structure (Linden)
- server: use require to load db submodules (Linden)
- server: require modules (Linden)
Chores
- bump manifest version to v0.6.0 (Manifest Bumper)
v0.5.2
v0.5.1
Bug Fixes
- server/player: character deletion #18 (Linden)
- server/player: iterate PlayerRegistry on server shutdown (Linden)
Code Refactoring
- server: create player/db #18 (Linden)
- server/player: use a metamethod for loadResource #18 (Linden)
- server/player: re-structure player module and class #18 (Linden)
- server/player: move onResourceStop and logout from init (Linden)
- server/vehicle: create db and registry (Linden)
- server/vehicle: re-structure vehicle module and class (Linden)