HomeJavaModsConsole Peek
Console Peek
ModsJava

Console Peek

The ability for ops to see recent lines from the console log

⬇ Download on Modrinth

ConsolePeek

A tiny Paper plugin that adds /console <lines> — it reads the last N lines of logs/latest.log and prints them into chat for whoever ran the command.

Never again will you need to visit the web portal to whitelist when your friend forgets their username. Simply wait for a failed login attempt, then run /console X to see their username. Helpful for quick debugs.

Install

  1. Drop ConsolePeek.jar into your server's plugins/ folder.
  2. Restart the server.
  3. In game or console, run /console 20 to see the last 20 lines.

Commands

Command Who What
/console <lines> everyone or ops (per ops-only) Last N raw console lines.
/consolepeek login <count> ops (consolepeek.admin) Last N logins as date time username.
/console login <count> ops (consolepeek.admin) Alias for /consolepeek login.
/consolepeek reload ops (consolepeek.admin) Reload config.yml.

/consolepeek login

Config

plugins/ConsolePeek/config.yml:

Key Default Meaning
ops-only true Require the consolepeek.use permission (ops have it by default).
max-lines 100 Hard cap on lines printed per command.

Apply changes with /consolepeek reload — no restart, no recompile.

Permissions

Node Default Grants
consolepeek.use op Use of /console <lines>.
consolepeek.admin op Use of /consolepeek reload.

With a permissions plugin (LuckPerms etc.) you can grant consolepeek.use to specific players or ranks while leaving ops-only: true — e.g. /lp group moderator permission set consolepeek.use true.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more