Wiki / RTP Queue v1.0.0 MIT

RTP Queue

When many players request /rtp at the same time, the queue system processes them one at a time to avoid lag spikes from simultaneous chunk loading and location searches.

Configuration

yaml
rtp_queue:
  enabled: true
  process_interval_ticks: 10   # 0.5 s between each player
  max_queue_size: 20            # 0 = unlimited
  notify_interval_ticks: 60    # remind players of position every 3 s

How It Works

  1. Player runs /rtp and the delay countdown starts.
  2. After the countdown, the player is added to the queue.
  3. Every process_interval_ticks, one player is dequeued, a safe location is found, and they are teleported.
  4. If notify_interval_ticks > 0, players are periodically reminded of their queue position.
ℹ️ Set enabled: false to teleport immediately (no queue). This is fine for low-population servers.

Respawn RTP

yaml
respawn_rtp:
  enabled: false       # teleport on death/respawn
  delay_ticks: 20      # wait 1 s after respawn screen
  skip_delay: true     # bypass the countdown on respawn