Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inventory logging #163

Open
3Mydlo3 opened this issue Mar 31, 2021 · 0 comments
Open

Add inventory logging #163

3Mydlo3 opened this issue Mar 31, 2021 · 0 comments
Labels
feature New feature or request

Comments

@3Mydlo3
Copy link
Member

3Mydlo3 commented Mar 31, 2021

Some optional inventory logging (suggested by @sdsznsk during the mission on Monday) could be useful to quickly locate any equipment thiefs (intentional or not).

It could use InventoryOpened EH and InventoryClosed EH to check which items appeared/disappeared in player inventory but this could be very demanding as every player would fire the EH every time he opens his inventory.

Alternatively, on the server side for given container we could use ContainerOpened EH and compare the player loadout before and after he closes the container. This way we limit EH only to one object and one machine.

@3Mydlo3 3Mydlo3 added the feature New feature or request label Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant