Parameters
These can be used in almost every CoreProtect command.
u:<user>
- Specify a user to rollback. Example: u:Technofied
t:<time>
Specify the amount of time to rollback. You can specify weeks, days, hours, minutes and seconds. Example: t:2w,5d,7h,2m,10s
You can pick and choose time amounts. Example: t:5d2h You can also use decimals Example: t:2.50h (2 and a half hours)
r:<radius>
Specify a radius. You can use this to only rollback blocks near you. You can specify a number (i.e. r:5), a world (i.e. r:#world_the_end), a global rollback (r:#global), or a WorldEdit selection (r:#worldedit or r:#we)
For example, the following would only rollback damage within 10 blocks of where you are standing: r:10
a:<action>
Restrict the rollback to a certain action.
Here’s a list of all the actions:
a:block- blocks placed/brokena:+block- blocks placeda:-block- blocks brokena:chat- messages sent in chata:click- player interactionsa:command- commands useda:container- items taken from or put in chestsa:+container- items put in chestsa:-container- items taken from chestsa:inventory- items dropped or picked up by playersa:+inventory- items picked up by playersa:-inventory- items dropped by playersa:item- items dropped, picked up, taken from, or put in chestsa:+item- items picked up or put in chestsa:-item- items dropped or taken from chestsa:kill- mobs/animals killeda:session- player logins/logoutsa:+session- player loginsa:-session- player logoutsa:sign- messages written on signsa:username- username changes
Example: If you wanted to only rollback blocks placed, you would use a:+block.
b:<blocks>
Restrict the rollback to certain block types. For example, if you wanted to only rollback stone, you would use b:1 You can specify multiple items, such as b:1,5,7
e:<exclude>
Exclude certain block types from the rollback.
Example: If you don’t want TNT to come back during a rollback, you would type e:46
#<hashtag>
Add a hashtag to the end of your command to perform additional actions.
Example: To perform a rollback preview, you would use #preview
Here is a list of all available hashtags
#preview- preview a rollback/restore#verbose- display additional information during a rollback/restore#silent- display minimal information during a rollback/restore