> For the complete documentation index, see [llms.txt](https://docs.ohalee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ohalee.com/products/playerdatahistory/command-and-permissions.md).

# Command & Permissions

On Bukkit/Paper the command is `/datahistory`, with the aliases `/dh` and `/dhbukkit`. On a Velocity proxy the command is `/dhv` (aliases `/dhvelocity`). All examples below use `/dh`.

{% hint style="info" %}
The `chat`, `commands`, `servers` and `sessions` log views are sub-commands of `user` and accept an optional `[page]` argument. `register` and `unregister` can only be run from the console.
{% endhint %}

<table><thead><tr><th width="270">Command</th><th width="120">Parameters</th><th width="230">Permission</th><th>Capabilities</th></tr></thead><tbody><tr><td>/dh user &#x3C;user> info</td><td></td><td>datahistory.user.info</td><td>Show user info (UUID, status, last IP)</td></tr><tr><td>/dh user &#x3C;user> chat</td><td>[page]</td><td>datahistory.log.chat</td><td>View chat history</td></tr><tr><td>/dh user &#x3C;user> commands</td><td>[page]</td><td>datahistory.log.commands</td><td>View command history</td></tr><tr><td>/dh user &#x3C;user> servers</td><td>[page]</td><td>datahistory.log.servers</td><td>View server-switch history</td></tr><tr><td>/dh user &#x3C;user> sessions</td><td>[page]</td><td>datahistory.log.sessions</td><td>View session (join/leave) history</td></tr><tr><td>/dh user &#x3C;user> purge</td><td></td><td>datahistory.user.purge</td><td>Delete all stored data for a user</td></tr><tr><td>/dh verbose</td><td>&#x3C;on|record|off|upload> [filter]</td><td>datahistory.verbose</td><td>Live verbose logging of actions</td></tr><tr><td>/dh push</td><td></td><td>datahistory.push</td><td>Flush buffered entries to the database now</td></tr><tr><td>/dh reloadconfig</td><td></td><td>datahistory.reloadconfig</td><td>Reload the configuration</td></tr><tr><td>/dh register</td><td>&#x3C;otp></td><td>datahistory.web.register</td><td>Register a web-panel user (console only)</td></tr><tr><td>/dh unregister</td><td>&#x3C;username></td><td>datahistory.web.unregister</td><td>Remove a web-panel user (console only)</td></tr></tbody></table>

## Additional Permissions

<table><thead><tr><th width="270">Permission</th><th>Capabilities</th></tr></thead><tbody><tr><td>datahistory.verbose.join</td><td>Automatically receive verbose output on join</td></tr></tbody></table>
