qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
49 stars 376 forks source link

Get rid of trolls opening inventories! #429

Closed Mane48 closed 10 months ago

Mane48 commented 1 year ago

Description

Hey, yes. Literally, it will try its best to get rid of the trolls that open the inventory. If they are modding and try the famous [QB] Open Inventory trigger it will yeet them from the server and ban them!

Im just waiting on a modder to join my server and try it so I can see it work!

It does work! I kinda see how it does up the amount of code that is required but ay... it'll def reduce the amount of trolls!

Update :

Upon more testing i've realized that some of staff may be banned, its not an always kind of deal but there is a possibility, I dont know what exactly could cause this but if anyone has any suggestions feel free to push them!

Update 2 :

Downside is that it doesnt actually work properly if they're close to you. It'll just run it like either a robbery or so.

Checklist

Sharkiiie commented 1 year ago

Still not following linting / styling guidelines for spaces rather than tabs. I'll have to give everything else a closer review later.

Mane48 commented 1 year ago

Hey I thought I actually did follow it. In my side they show up as spaces 4 spaces instead of tabs. How can I check this again?

github-actions[bot] commented 10 months ago

This PR has had 60 days of inactivity & will close within 7 days