Skip to content

Rollback Command

Pixeldroid Modding edited this page May 10, 2020 · 2 revisions

Rollback Command Documentation

Usage: /rollback [-c playername] [-t time] [-r radius]

Name Arguments Format Example
Cause -c playername -c Pixeldroid (Player named Pixeldroid)
Time -t ss_mm_hh_DD_MM_YY -t 2_0_2 (2 hrs & 2 secs)
Radius -r integer -r 20 (20 blocks radius)

More info for -t at ISO 8601 and SimpleDateFormat

The order of the arguments doesn't matter at all.

More examples for -t:

-t 0_0_0_0_0_2 -> Rollback records from 2 years ago

-t 0_0_0_1 -> Rollback records from 1 day ago

-t 0_0_2_1 -> Rollback records from 1 day and 2 hours ago

NOTE: The reason why the format looks like this is because this format is more efficient and precise for doing rollbacks.

Full working command example:

"/rollback -t 0_10 -r 100 -c Popbob" is equal to "/rollback -c Popbob -t 0_10 -r 100" because the order of arguments doesn't matter.

-Rollbacks the griefing done by Popbob 10 minutes ago in a radius of 100 blocks from the player.