BlaizerBrumo / SafeGuard

SafeGuard is a minecraft bedrock anticheat add-on
https://discord.com/invite/Ua2Q8AEeXU
GNU General Public License v3.0
13 stars 8 forks source link

Spawn Eggs #10

Open GloryPEKKA opened 6 days ago

GloryPEKKA commented 6 days ago

I have a world where I want to ban illegal items, but not spawn eggs. no matter what i do people get banned when they hold a spawn egg. how do i stop this and allow spawn eggs?

BlaizerBrumo commented 6 days ago

Go to line 251 (as of V1.9.3) in your index.js script and remove the part where it checks for _spawn_egg inside item ID.

For further help and quicker assistance I suggest you join our community discord: https://discord.gg/Ua2Q8AEeXU

GloryPEKKA commented 6 days ago

Do I also delete line 41?

BlaizerBrumo commented 6 days ago

Can you comment the permalink of the line from the script you are referring to? I think I might be looking at the wrong thing

GloryPEKKA commented 6 days ago

https://github.com/BlaizerBrumo/SafeGuard/blob/334b9fc7cec8ffbe21d30703b9234f14f717c2f2/Safeguard%20anti-cheat%20B/scripts/index.js#L41