Commit Graph

44 Commits

Author SHA1 Message Date
Mycroft 69342a678b fix(es_extended): Gamebuild now returns for all users 2022-09-21 18:33:00 +01:00
Mycroft f289e42340 tweak(es_extended): better prints + esx:getSharedObject deprecation
https://docs.esx-framework.org/tutorials/sharedevent
2022-09-18 05:55:56 +01:00
Mycroft 3ca6c68d2d fix(esx_multicharacter & es_extended): Character not loading 2022-09-12 18:34:14 +01:00
Mycroft 254f1c29b8 feat(es_extended): Added Reasons for Account Changes 2022-09-09 22:23:44 +01:00
Mycroft 234d079820 Experimental - refactor(es_extended):change accounts to handle index within its object
this should correct the behaviour when working with ESX within v8
2022-09-07 18:31:22 +01:00
Mycroft 3d569b3e9a es_extended -> formatting 2022-08-31 15:17:28 +01:00
Mycroft c00ff23658 remove duty system (unused code) 2022-08-30 14:34:08 +01:00
Mycroft a40eaf9e8c tweak: es_extended - code cleanup 2022-08-30 14:31:44 +01:00
Mycroft 177149082a feat: es_extended - allow decimals in accounts 2022-08-30 14:17:03 +01:00
Mycroft 114a05f4e1 tweak: es_extended/server/main.lua - code cleanup 2022-08-30 13:42:58 +01:00
Mycroft 145815c982 refactor: better handling of accounts + performance tweaks 2022-08-28 18:31:16 +01:00
Mycroft 4402a62e74 refactor: better Coord Handling
this method means we dont have to trust the client to send the correct info
2022-08-28 18:09:13 +01:00
Mycroft 2e1b347751 add compliance with the new *txAdmin:events:serverShuttingDown* event 2022-07-02 14:58:05 +01:00
Mycroft dc825d0e35 Merge branch 'main' of https://github.com/esx-framework/esx-legacy 2022-05-25 17:59:55 +01:00
Mycroft 4e2110ecf9 Fix ESX WeaponShop + remove colours to match ESX Notify 2022-05-25 17:59:51 +01:00
SavageFromLx 8cff17fe0d Update - Add position 2022-05-25 00:08:37 +01:00
Mycroft ef6b66ab3e refactor - es_extended - PlayerOverride Functionality 2022-05-22 18:32:43 +01:00
LeZach 20b5f9a8f1 Merge branch 'main' into main 2022-04-11 15:27:45 -04:00
Tinky c8d167dcbf Added Config.DistanceGive 2022-04-05 15:53:03 +01:00
ZF eece397ea2 Added the space to the end of main.lua 2022-03-30 00:36:36 -04:00
ZF 3f4bae10e2 Fixed inversed bool for setDuty 2022-03-26 14:19:43 -04:00
ZF 54f006f0b4 Added Config for default duty 2022-03-24 06:29:44 -04:00
ZF 98c8b40114 Code Correction
- Changed onduty for onDuty (CamelCode)
- Event now uses bool instead of state arg.
- Unemployed is now off-duty (doesn't change the paycheck).
2022-03-23 09:14:22 -04:00
Tinky ac7459d05a Protection, fixed giving weapons components, tints 2022-03-20 20:02:23 +01:00
ZF 8ab2aa8fa2 Revert "Config for spawn point (firstspawn/bug)"
This reverts commit 62db2291f8.
2022-03-18 19:53:16 -04:00
ZF 62db2291f8 Config for spawn point (firstspawn/bug) 2022-03-18 19:52:53 -04:00
ZF 028af92484 Fix: loadESXPlayer onduty. 2022-03-18 19:36:09 -04:00
ZF 694a423034 toggleDuty to setDuty
- Default duty have been put to be true.
- toggleDuty event have been changed to setDuty needing a boolean state.
2022-03-18 19:34:23 -04:00
ZF 36ac7ef2d1 New OnDuty System for jobs.
- Added a setDuty event.
- Added a job.onduty data.
- Default onduty is false at connection and creation of the user, job change.
- Added a esx:toggleDuty event to change the state of the duty.
2022-03-18 19:15:48 -04:00
0xDEMXN 45ff24b532 Revert "Merge pull request #108 from 0xDEMXN/group"
This reverts commit 1e905415e5, reversing
changes made to 0f3aaf74ad.
2022-02-24 16:18:56 +01:00
Mycroft 1e905415e5 Merge pull request #108 from 0xDEMXN/group
feat: use first char group for new chars
2022-02-18 16:12:50 +00:00
0xDEMXN 1edf290943 feat: standardize notifications and get rid of chat messages 2022-02-18 12:00:01 +01:00
0xDEMXN e4d8fd8d1e feat: use first char group for new chars 2022-02-18 11:51:30 +01:00
Linden 7edbd07ae7 feat: setup basic support for ox inventory
Fairly low effort to get the the basics working.
2022-02-18 00:22:49 +11:00
Linden a1cfd5f84e fix(esx/server): race condition
Use await on queries during startup for less nesting / callback hell, and to delay the paycheck and save intervals from starting too early.
2022-02-14 15:29:42 +11:00
Linden b72e1e0b04 refactor: update native references
Many natives have updated / more accurate names.
2022-02-14 13:42:43 +11:00
Mycroft 8dd3abd872 Refactors and fixes
refactor: Remove Citizen. (Wait And CreateThread)(All resources)
feat: Add KeyMapping to taxijob and sit (Removes pointless Threads)
fix: vector coords bug
feat : Add txAdmin support into basicneeds (server.lua)
Change: ESX Whitelist config from 0 minimum to 10
fix: Start Changing IsDead to ESX.GetPlayerData().dead
fix: Add a sleep to Identity
2022-02-11 00:31:23 +00:00
Mycroft 1d4aa2fd53 feat: esx:isUserAdmin Callback 2022-02-06 19:53:24 +00:00
Mycroft 498f623bc5 Update main.lua 2022-02-05 13:49:01 +00:00
Linden 178533cd4a fix(esx): set default newPlayer query
This query should only be modified when using multicharacter.
2022-01-22 22:00:11 +11:00
Linden d42f6b91c0 fix(esx): multicharacter support
Properly support custom multicharacter prefixes.
Disable playerConnecting event handler when using multicharacter.
2022-01-19 21:15:37 +11:00
Linden f4d7991b10 refactor(esx): various changes
Minor improvements to spawning.
Moved internal variables out of the ESX namespace.
SavePlayer function now uses a prepared statement.
Replaced bulk SavePlayers query with prepared statements.
Cleaned up newPlayer/loadPlayer queries.
Player load and creation functions use prepared statements.
Removed async dependency.
2022-01-19 20:58:20 +11:00
Linden ace2718a49 chore(esx): Update readme and version 2021-07-03 02:56:08 +10:00
Linden 7c3e817cfa chore: Reorganise directories; include a sample server.cfg 2021-06-25 21:34:28 +10:00