Aimtrain Abuse...Solved

I use AimTrain plugin but people used to abuse this and store kit from the aimtrain with all weapons into the backpack. Aimtrain supports blacklist of Commands so added backpack command and works if you type /backpack

But if you have the perms for the gui that every normal server use instead of typing the command you can still open the backpack. Also if you remove the gui permission people use binded key to open the backpack again?!

In conclusion blacklisting the command for backpack only prevents players form using backpack via chat command? Any sollution or way to fix this?

So you want players to have backpack but not be able to use it ? , the obvious answer is remove backpacks !

Want my players to use backpack all around the map but if they enter the aimtrain arena build into the water far away from the main lands not to be able open it and store the aimtrain kit and farm free kits with all weapons.

Which arena plugin do you use? Not sure if you looked at recent threads, but this sounds like the other most recently reported issue. I posted a patch in there that you can try.
https://umod.org/community/backpacks/32199-players-can-open-backpack-while-in-an-arena-event

Merged post

Regarding blocking the backpack command, the key bind and GUI button use backpack.open, so you could try blocking that, though not sure if the aim train plugin allows blocking console commands.

Does the aim train plugin run standalone, or does it require another arena plugin? Please tell me the filename of them such as AimTrain.cs and Arena.cs. Also please tell me if either plugin contains a method named IsEventPlayer, since that is what I will likely make Backpacks call to check if the player is participating in an event.

Merged post

I think I found the AimTrain plugin you are using on another website. Fortunately it documented a public API so I've implemented this in the upcoming patch which you can download here. Let me know if that is working for you. The expected behavior will be that players cannot open their backpack while in the AimTrain event.

AimTrain is from C... website you know... It's standalone plugin which is very good and have almost everything needed to prevent players abuse the arena but still sometimes you might need zone manager. So this plugin have built in option in config to blacklist commands while in the aimtrain.

I will check the other thread too but yeah its standalone

I am glad you gave this test version, I will rest it later when have time and report.

Looks like hoppel implemented blocking of Backpacks within AimTrain, so the change I made in Backpacks is no longer needed, so it will not be included in the next release.

Marking this as solved.

Yeah resolved.

Locked automatically