Skip to content

Statistics & Logging

InviteMe records all invitation activity and provides statistics commands to monitor server health.


/im stats
/im stats 10

Permission: invite.stats (default: op)

Output:

══════ Server Invite Statistics ══════
Total invites given: 47
Total invited players: 47
─────────── Top Inviters ───────────
1. Alice β€” 8 invites
2. Bob β€” 6 invites
3. Steve β€” 5 invites
════════════════════

The optional number after /im stats N sets how many inviters appear in the top list (default: 5).

StatUse
Total invites givenOverall server growth
Total invited playersCurrent tracked whitelist size
Top invitersMost active community builders

The action log records every invitation event with timestamps and reasons.

/im log list

Permission: invite.log (default: op)

Shows the last 20 entries by default. Maximum per request: 200 (requests above this are capped automatically).

Output:

══════ Invite Action Log ══════
[INVITE] Alice β†’ Bob (2024-01-20 16:45)
[UNINVITE] Admin β†’ Charlie (2024-01-20 15:30) β€” rule violation
[SYNC_ADD] Console β†’ Eve (2024-01-17 20:30)
════════════════════
/im log list 50
/im log list 100
TypeWhen it Appears
INVITE/invite add PlayerName executed
UNINVITE/invite remove PlayerName executed
EXPIREDTemporary invite timed out automatically
SYNC_ADDPlayer added via /im sync

When an admin removes a player with a reason:

/invite remove Bob Rule violation - griefing

The log shows:

[UNINVITE] Admin β†’ Bob (2024-01-20 16:45) β€” Rule violation - griefing

Always provide a reason when removing players β€” it makes moderation audits much easier.


To view a specific player’s invite history and recent activity:

/im log list Alice

Output:

══════ Invite Profile: Alice ══════
Invited by: Console (2024-01-01 10:00)
Has invited: 3 players
β€’ Bob (2024-01-15 14:30)
β€’ Charlie (2024-01-17 09:00)
β€’ Diana (2024-01-19 20:15)
─── Recent Activity ────────────────
[INVITE] Alice β†’ Bob (2024-01-15 14:30)
[INVITE] Alice β†’ Charlie (2024-01-17 09:00)
══════════════════════════════════════

You can limit the history shown:

/im log list Alice 10

/im log export # full global log
/im log export global # explicit global export
/im log export Alice # one player's log

Files created in plugins/InviteMe/logs/:

  • Global: global_log_YYYY-MM-DD_HHmmss.csv
  • Per player: user_log_<name>_YYYY-MM-DD_HHmmss.csv

CSV columns:

ColumnContent
timestampDate and time of action
action_typeINVITE, UNINVITE, EXPIRED, SYNC_ADD
actor_nameWho performed the action
actor_uuidActor’s Minecraft UUID
target_namePlayer affected
target_uuidTarget’s Minecraft UUID
reasonReason (if provided, otherwise empty)

Use cases:

  • Monthly activity reports
  • Evidence for ban appeals
  • Import into spreadsheets for analysis
  • Long-term archiving

1. /im log list SuspiciousPlayer
β†’ Check who invited them, when, and full action history
2. /invite remove SuspiciousPlayer Reason for removal
β†’ Remove with a logged reason
3. /im log list
β†’ Confirm the action appears in the log
1. /im stats
β†’ Overview of server activity
2. /im log list 50
β†’ Review last 50 actions for anything unusual
3. /im log export
β†’ Archive logs to CSV
4. /im debug
β†’ Confirm all systems healthy