Commit Graph

46 Commits

Author SHA1 Message Date
Idris 429966cdd7 chore: removed bloated chatMessage code. 2022-04-05 13:57:16 +10:00
Idris aab215334f feat: Added ChatEvent handler to server/events.lua 2022-04-02 18:51:47 +11:00
Kakarot ccbc6b216d Remove job check 2022-03-30 17:25:20 -05:00
Kakarot 3bb1023654 WIP permission system 2022-03-28 01:24:40 -05:00
BerkieBb 32d32e78fc fix(server/events): add kickall 2022-03-01 20:25:14 +01:00
BerkieBb 20635c389d feat(server/events): closed server check, whitelist functionality and optional connectqueue config 2022-03-01 19:41:05 +01:00
BerkieBb 31888996ab feat!: ace permission system 2022-02-24 21:58:49 +01:00
BerkieBb e43fac3568 fix(server/playerdrop): bucket table reference 2022-02-19 14:45:09 +01:00
BerkieBb e61cc26322 style(server/events): indentation 2022-02-18 15:21:48 +01:00
BerkieBb edc914835d feat(events/join): add duplicate license check config 2022-01-18 13:59:36 +01:00
Kakarot d786a3cd07 Locale/oxmysql
MUST UPDATE OXMYSQL TO 1.9 OR HIGHER
2022-01-10 01:52:59 -06:00
Stable ba67673b07 Fix Nil player_buckets if player leave 2021-12-20 15:48:17 +07:00
Kakarot 54300267a0 Merge pull request #358 from Mitroxs/main
Introduction to Routingbuckets
2021-12-19 20:04:34 -06:00
Jagen0 cebd4e5e47 Unused TriggerClientEvent 2021-12-05 12:31:40 +03:00
Mitroxs b9712a0fe5 Introduction to Routingbuckets 2021-12-03 17:35:32 +01:00
Taso a5ebf4b9ce chore(styling): ensure consistent indentation & define editorconfig 2021-10-13 21:54:57 -04:00
GhzGarage 34c574daf2 fix(server/events/player): Position
Position was not updating on player dropped but was on player save event.
2021-09-25 18:31:28 -05:00
GhzGarage f2414d0275 fix(server/commands.lua/events.lua): Perms
- Wrong native was used for checking ace perms which allowed all to use them. Should be resolved.
2021-09-25 18:04:35 -05:00
Kakarot 923f3d3a31 ⚠️ Major Update ⚠️
- Major cleanup of all files including reformatting & notations
- Added an optional export to add to scripts as an alternative to import.lua
- Added player state to OnPlayerLoaded so no more need for isLoggedIn inside scripts
- Updated all events to the new RegisterNetEvent and got rid of unneeded handlers
- Added the ability for ACE permissions with commands
- Added two new config options for player update interval and status update
- Changed players table to use citizenid column as primary key <-- very important
- Overall sloppy code cleanup, removal of unused code, got rid of nil checks
2021-09-24 22:46:20 -06:00
SamShanks1 64f34af3c8 Sets all players routing bucket to 0 2021-09-20 14:15:35 +01:00
Tony c1eadcc827 Update SQL queries for MySQL2 2021-09-12 23:42:30 -04:00
GhzGarage 95d4d6d287 ⚠️⚠️ ghmatti ditch ⚠️⚠️ 2021-09-11 21:26:56 -05:00
GhzGarage a99f51fddf Merge branch 'main' of https://github.com/qbcore-framework/qb-core into main 2021-09-08 23:47:17 -05:00
GhzGarage e59cb33ad1 Update drop event 2021-09-08 23:47:10 -05:00
tastyfish 6cce66c001 Configurable hunger and thirst rate. 2021-09-01 04:07:14 -04:00
AJ 6d6efc88ed fix: HasItem always returning true 2021-08-29 12:35:40 -04:00
BerkieBb b069f71fcc Fix items in separate slot not being recognized 2021-08-27 18:55:05 +02:00
BerkieBb d62a5ee9e9 Spacing went fucked 2021-08-26 23:02:39 +02:00
BerkieBb a01af9e199 feat(events/hasitem): Add amount argument to check for item amount and optimize it slightly 2021-08-26 23:01:29 +02:00
GhzGarage 2722215aba Remove QBCore.Functions.ExecuteSql 2021-08-03 19:22:06 -05:00
Developer-Bear 4400413233 disallow connection of a rockstar license that is already in the server 2021-07-26 22:15:51 -05:00
GhzGarage d08f88f10c Remove Deprecated Feature 2021-07-08 19:59:58 -05:00
GhzGarage 0603076be3 ⚠️⚠️ Steam Ditch ⚠️⚠️ 2021-07-08 19:54:57 -05:00
GhzGarage 4d4feeed04 Change coord grabbing back to client 2021-07-07 17:59:44 -05:00
GhzGarage cba18337d6 SQL Queries 2021-06-28 11:08:29 -05:00
GhzGarage af5c2f9d71 Stupid, Stupid, Stupid 2021-06-27 17:52:24 -05:00
GhzGarage 9a9a2f78e2 GetItemByName 2021-06-27 14:17:48 -05:00
BerkieBb 45713b35e1 Fix coords not saving 2021-06-21 14:08:27 +02:00
BerkieBb 65c1eb70c9 HasItem callback made compatible with multiple items
To add multiple items to the callback you use it like this

QBCore.Funtions.TriggerCallback('QBCore:HasItem', function(result)
    if result then
        print('has items')
    end
end, {"item1", "item2"})

Also still compatible with 1 item.
2021-06-19 14:48:19 +02:00
BerkieBb b2007b597a Update events.lua 2021-06-18 17:45:14 +02:00
LordLucifr 880e0b25cb Fixed a typo
...
2021-04-15 15:35:00 -04:00
LordLucifr 4f12f9662d Added ConnectQueue Trigger
forgot it in the first commit
2021-04-15 04:14:51 -04:00
LordLucifr da9350f8bc Fix Defferals
Additional Defferals can be added these are just proof of concept.
2021-04-15 03:58:30 -04:00
GhzGarage 78d7ff2f8b Remove log event not used 2021-04-10 18:15:54 -05:00
LoveFistRP ca4ed82715 General Fixes/Cleanup 2021-04-08 19:53:25 -07:00
GhzGarage 36a139cc09 easier file management 2021-04-08 19:11:32 -05:00