ExploitFixer
ExploitFixer copied to clipboard
Calc / Eval Command fix.
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.
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.
Or maybe we can add a specific function to only disable "for(" on Calculation commands.