Skip to content

Core Configuration Reference (config.yml)

This document provides a detailed reference for the core settings in config.yml (under plugins/RTP/ on the Bukkit family, or config/rtp/ on Fabric / NeoForge).


Updating Settings

You can view and update core settings using: 1. In-game admin menu: Run /rtp admin or /rtp menu -> click Admin Panel. 2. Command line: Use /rtp config <key>=<value> (for instance, /rtp config teleportCooldown=60). 3. Direct editing: Edit config.yml on disk and run /rtp reload.

📎 See IN_GAME_CONFIG.md for full menu and command navigation details.


Language

Language selection is configured in language.yml. See LANGUAGE.md for the full reference.

Teleportation Settings

Key Type Default Description
teleportDelay Integer / Duration 2 Wait time before teleport occurs. Accepts raw seconds (2) or duration units (e.g. 2s, 40t, 1500ms). 0 teleports immediately (skips the cancel-on-move window).
cancelDistance Integer 2 Max distance (blocks) a player can move during the delay before cancellation.
teleportCooldown Integer / Duration 300 Wait time between successful RTP uses. Accepts raw seconds (300) or duration units (e.g. 5m, 300s, 1h). Bypassed by rtp.nocooldown.
lockAfterUses Integer 0 Max successful /rtp uses within the lockAfterResetSeconds window before lockout (BetterRTP LockAfter parity). 0 disables. Bypassed by rtp.nolock.
lockAfterResetSeconds Integer / Duration 0 Length of the rolling usage-cap window for lockAfterUses. Accepts raw seconds or duration units (e.g. 24h, 1d). 0 means the cap never resets (a hard lifetime cap).
setRespawnOnTeleport Boolean false When true, a successful /rtp sets the landed location as the player's persistent spawn anchor (BetterRTP SetAsRespawn parity).

Duration Unit Suffixes & Parsing

Any duration setting (such as teleportCooldown, teleportDelay, lockAfterResetSeconds, cache TTLs in advanced/ttl.yml, and queue intervals in advanced/performance.yml) accepts human-readable temporal unit suffixes as well as composite strings:

  • Game Ticks:
  • t, tick, ticks: Minecraft game ticks (1 tick = 50ms = 0.05s, 20 ticks = 1s). E.g. teleportDelay: 40t (2 seconds).
  • Metric & Standard Units:
  • ms, milli, millis, millisecond, milliseconds: Milliseconds (1,000 ms = 1s). E.g. teleportDelay: 2500ms (2.5 seconds).
  • s, sec, second, seconds: Seconds. E.g. teleportCooldown: 300s.
  • m, min, minute, minutes: Minutes (60s). E.g. teleportCooldown: 5m.
  • h, hr, hour, hours: Hours (3,600s). E.g. teleportCooldown: 1h.
  • d, day, days: Days (86,400s). E.g. lockAfterResetSeconds: 1d.
  • w, week, weeks: Weeks (604,800s). E.g. uniquePlacement: 4w.
  • Composite Durations:
  • You can combine multiple units without punctuation: e.g. teleportCooldown: 2h30m, 1d12h, 1m30s, 45s500ms.
  • Special Values:
  • -1, infinite, permanent: Infinite / no expiration (used in TTL configs).
  • Auto-Interpretation of Dimensionless Values:
  • Plain numeric values (e.g. 300) maintain 100% backward compatibility with their historical unit defaults (seconds for cooldowns/delays, ticks for queue intervals).
  • Unusually large dimensionless numbers entered where seconds or ticks are expected (such as entering 5000 assuming milliseconds) are auto-detected and safely interpreted with a helpful console notice. Explicit suffixes (e.g. 5000ms or 5s) are always recommended.

Commands

List of commands to execute after a successful teleport. Use the [player] placeholder for the player's name.

  • consoleCommands: Executed by the server console.
  • playerCommands: Executed by the player.

Configures the menu interface. Nested under the menu: block.

Key Type Default Description
renderer List [ "book" ] Ordered preference list of renderer ids. On exception or a missing adapter the framework walks the list and falls back to the next entry. Available ids: book, chat. If the list is exhausted, the no-token open-page path falls back to the configurable menuInvalid message.

Defaults (inheritance)

Nested under the defaults: block. Holds global default templates and values that region/world files inherit when configured with @config.

Key Type Default Description
shape Block (CIRCLE block) Default shape block inherited whole by a region whose shape is @config. Holds the teleport size knobs: radius (outer edge, default 256) and centerRadius (inner edge / donut hole, default 64), both in chunks. See REGIONS.md → Region Size.
vert Block (LINEAR block) Default vertical adjustor block inherited whole by a region whose vert is @config.
cacheCap Integer 50 Default region cacheCap (max pre-calculated safe locations).
backlogCacheCap Integer 1000 (lite: 0) Default region backlogCacheCap (L3 backlog buffer; 0 disables).
activeChunkCap Integer 10 Default region activeChunkCap (chunks kept loaded for zero-latency).
spatialResolution Integer / String "auto" Default region spatialResolution (bad-location tracking precision, positive integer or "auto").
requirePermission Boolean false Default requirePermission for regions/worlds.

The type-bearing shape/vert settings inherit as a whole named block, while type-free scalars inherit individually. Other source files own their own defaults: e.g. a region's price can reference @economy to inherit from economy.yml.

Teleport distance lives here. On a single-world server, defaults.shape.radius is the one place to set how far /rtp throws players, because the bundled regions/default.yml ships shape: "@config". Sizes default to chunks (1 chunk = 16 blocks), so radius: 256 is 4,096 blocks and radius: 625 is 10,000 blocks; centerRadius is the matching minimum distance. You can also specify spatial unit suffixes directly, such as 4096b (or 4096m), 256c, 4r, or 5km. Full reference, including unit suffixes, auto-interpretation, and per-region and per-command overrides: REGIONS.md → Region Size.



Versioning

  • version: Internal config version (do not change).