ExploitFixer icon indicating copy to clipboard operation
ExploitFixer copied to clipboard

Calc / Eval Command fix.

Open BigPanda97 opened this issue 1 year ago • 2 comments

As an exploit fixer, your plugin should “fix” a bug/exploit instead of just preventing everything from getting used. Example: This plugin (here) allows the players to use the //calc and //eval commands the normal way for their daily purposes, but prevents the “exploit” commands from getting used. Your plugin should use the same way too, instead of just blocking useful commands for everybody. Just scan the arguments of the commands for the exploitable stuff and if it contains this stuff, then block it. Otherwise, let the players execute the command.

BigPanda97 avatar Sep 03 '22 14:09 BigPanda97

As an exploit fixer, your plugin should “fix” a bug/exploit instead of just preventing everything from getting used. Example: This plugin (here) allows the players to use the //calc and //eval commands the normal way for their daily purposes, but prevents the “exploit” commands from getting used. Your plugin should use the same way too, instead of just blocking useful commands for everybody. Just scan the arguments of the commands for the exploitable stuff and if it contains this stuff, then block it. Otherwise, let the players execute the command.

ExploitFixer includes a basic fix for any command. Use that plugin if you want a full replacement for //calc.

linsaftw avatar Sep 04 '22 16:09 linsaftw

Or maybe we can add a specific function to only disable "for(" on Calculation commands.

linsaftw avatar Sep 04 '22 16:09 linsaftw