HELP - Steam Validation Requirement | Steam has to be running to play

Hello!

I am runing the latest FiveM server update on my linux Dedicated Machine, I use txAdmin with PlumeESX template.

For some reason, people can connect without steam running, with their computer/user name.
I added the steam Web Api key to the config but it did nothing.

I would like to prevent people from playing if they don’t have steam running. I tried some scripts and they manage to block it, but give an error when you try to join with steam.

Any help is greatly appreciated.

Thank you!

You can check if their steam id is present in the identifiers. In the lua-example, you find a way to do that.
https://docs.fivem.net/docs/scripting-reference/events/list/playerConnecting/#lua-example

Thank you! That helped me, it works now.

or maybe use sv_authMinTrust ?

this is wierd. because it just says it cant find a steam id, are you sure that this script can be used on esx? and if so it isnt finding a steamid try checking why in the code,