CoreProtect

CoreProtect

1M Downloads

[Suggestion] Logging of /execute commands

ItsLeon15 opened this issue ยท 4 comments

commented

There should be a way to rollback actions that have occurred from an /execute command as at the moment whatever happens you can't roll it back. This could be particularly useful when an attacker gains access to OP, runs this command and destroys your server.

commented

Please provide examples of exactly what you'd like to see logged with this command.

commented

Commands like /execute run <command> could report the specific command and argument that was used on lookup. Commands used from /execute that affect block updates such as replacenear / fill / remove would be the most important where you can rollback the command which undo's the block changes when doing /co rollback a:command.

Or add the changed blocks that was caused by these commands to be logged in the normal way and just be able to /co rollback r:10 t:1d which includes the blocks modified by the /execute command.

commented

Thanks!

commented

Added on new suggestions here: #237 (comment)