These are lightweight scarpet scripts for Minecraft servers running Carpet that add QOL without needing Fabric mods
Adds a /ping command.
/pingShows your current ping in milliseconds.
/ping <player>Shows another online player's ping.
- Uses Carpet/Scarpet's built-in player ping query
- Supports online player autocomplete
- Configurable cooldown
- Available to all players
- No separate mod required beyond Carpet
Adds a /seen <player> command.
/seen <player>Shows whether a player is currently online, or when they were last seen.
- Tracks player joins and disconnects
- Configurable cooldown
- Saves data using Scarpet app data
- Supports autocomplete from previously seen players
- Case-insensitive lookups
- Marks online players offline when the server shuts down
- Available to all players
The seen data is stored in an NBT file:
world/scripts/seen.data.nbt
/pingExample output:
Pong! Your ping is 42 ms
/ping dontflexExample output:
dontflex's ping is 42 ms
/seen dontflexExample output if online:
dontflex is online right now.
Example output if offline:
dontflex was last seen: 2026-06-12 19:45:03 UTC
Example output if no data exists:
No seen data for dontflex.
Use, modify, and share freely.