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

Disable Entity Attach #2442

Open
Yvelttt opened this issue Mar 31, 2024 · 5 comments
Open

Disable Entity Attach #2442

Yvelttt opened this issue Mar 31, 2024 · 5 comments
Assignees
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action

Comments

@Yvelttt
Copy link

Yvelttt commented Mar 31, 2024

What happened?

Hello ! I wanted to know if there was a way to block the attachment of one entity to another? Let me explain. Malicious people with external software have fun attaching vehicles to players, (with the native ATTACH_ENTITY_TO_ENTITY) if they have the misfortune of being in a car, it makes them fly into the air. And if he's on foot, vehicles are just hanging off him. Do you have a solution for this? Thanks.

Expected result

https://docs.fivem.net/natives/?_0x6B9BBD38AB0796DF

Reproduction steps

https://docs.fivem.net/natives/?_0x6B9BBD38AB0796DF

Importancy

Security issue

Area(s)

FiveM

Specific version(s)

6464

Additional information

No response

@Yvelttt Yvelttt added bug triage Needs a preliminary assessment to determine the urgency and required action labels Mar 31, 2024
@tens0rfl0w
Copy link
Contributor

Isn't https://docs.fivem.net/docs/server-manual/server-commands/#sv_filterrequestcontrol-mode exactly what you're looking for?

@FabianTerhorst
Copy link
Contributor

I think he wants to prevent attaching a vehicle to a player, even when the person triggering the attach is already the owner of the vehicle.

@Yvelttt
Copy link
Author

Yvelttt commented Mar 31, 2024

I think he wants to prevent attaching a vehicle to a player, even when the person triggering the attach is already the owner of the vehicle.

I want to block the attachment of a vehicle yes. When he attaches the vehicle he has control, so there's no point in blocking that. I would like to block the act of attaching a vehicle. Or even have a trigger and then ban it regardless. just something to be able to protect my server against this

@FabianTerhorst
Copy link
Contributor

Afaik there is no way yet to intercept the attach node update from the owner. But this is something we might look into in the future.

@Yvelttt
Copy link
Author

Yvelttt commented Mar 31, 2024

Afaik there is no way yet to intercept the attach node update from the owner. But this is something we might look into in the future.

That would be great, because we make the servers do crazy things thanks to that, make people steal etc.. some people get kicked for anti noclip on my server for example, it's annoying

@FabianTerhorst FabianTerhorst self-assigned this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

3 participants