Repository navigation
Parameters and Tags
Filter syntax for lookup, rollback, restore and purge.
Every parameter has a short and a long form. Both are identical.
| Short | Long | Meaning | Example |
|---|---|---|---|
u: |
user: |
Users, comma separated, also #tnt and similar |
u:Steve,Alex |
t: |
time: |
Time span back from now | t:2d12h |
r: |
radius: |
Radius in blocks or a world |
r:20, r:#world_nether, r:#global
|
a: |
action: |
Action type, see Actions | a:+block |
i: |
include: |
Only these blocks, items or entities | i:stone,dirt |
e: |
exclude: |
Exclude these | e:grass_block |
f: |
filter: |
Text prefix filter for chat, commands, signs |
f:/home, f:-/msg
|
p: |
page: |
Page number | p:2 |
Units: s seconds, m minutes, h hours, d days, w weeks. They can be combined: t:1w2d, t:3h30m. A number without unit counts as seconds.
| Value | Meaning |
|---|---|
20 |
20 blocks around you (not available in the console) |
#world_nether |
The whole world. Several worlds: #world,#world_nether
|
#global |
Everywhere |
Defaults: lookup uses #global, rollback and restore use 10 blocks, near uses 5.
/up lookup 1:10 Page 1 with 10 lines
/up page 3 Jump to page 3
/up page 2:25 Page 2 with 25 lines
Only for a:chat, a:command and a:sign. A prefix shows only matching texts, a leading - excludes them:
/up lookup a:command f:/home Only commands starting with /home
/up lookup a:chat f:-hello Chat without messages starting with "hello"
| Tag | Works with | Meaning |
|---|---|---|
#preview |
rollback, restore | Show a preview instead of changing anything |
#count |
lookup | Only show the number of results |
#summary |
lookup | Summary by player and action |
#verbose |
lookup, rollback | More detailed output |
#silent |
lookup, rollback, purge | No output to the sender |
#optimize |
purge | Compact the database after deleting |
| Tag | Works with | Meaning |
|---|---|---|
#command |
rollback, restore, lookup | Only changes made by /fill, /setblock and /clone
|
#dry |
compact | Simulate and report, change nothing |
#<entity> |
timeline | Only entries involving this entity, for example #enderman
|
With #command, rollback and restore search the whole server (#global) unless you set r:. The user is optional: without u: the commands of all players are affected, with u:Steve only Steve's. See Rollback and Restore.
-
/up timeline <player|#entity>takest:(default 24 hours),a:andp:. -
/up audittakest:(default 7 days),u:(a staff member) andp:. -
/up investigatetakesr:(default 15, at most 150) andt:(default 2 hours). -
/up compactneedst:of at least 7 days.
Fabric: World names are dimension IDs. Use
#the_nether,#overworldand#the_endinstead of#world_nether,#worldand#world_the_end. See Platforms.
Related pages: Actions · Lookup Examples · Rollback and Restore
UniversalProtect · Minecraft 26.3 · Paper · Fabric · Java 25 · API v13
Getting started
Using UniversalProtect
- Commands
- Inspector
- Parameters and Tags
- Actions
- Lookup Examples
- Rollback and Restore
- Investigation and Alerts
- Purge
Administration
Developers
Help