Skip to main content

WorldCannon

WorldCannon is currently implemented as the FunRTP plugin internally.

That matters for admins because:

  • the root command is /funrtp
  • /frtp and /wc are aliases
  • permissions are still under the funrtp.* namespace

What It Does

WorldCannon is now a multi-cannon random-landing system rather than a single fixed launcher.

Each cannon can:

  • watch for players entering a trigger radius
  • preload safe landing locations in its configured target world
  • reject unsafe terrain, blocked spaces, and protected land
  • optionally require an extra per-cannon permission
  • launch players through a timed warmup, preview, boost, teleport, and slow-fall sequence

Actual Launch Flow

When a player walks into an eligible cannon's trigger radius:

  1. WorldCannon checks funrtp.use.
  2. It checks the cannon's optional requiredPermission.
  3. It verifies the cannon is enabled and correctly configured.
  4. It consumes one preloaded safe landing location from that cannon's queue.
  5. It starts the launch warmup and title/subtitle preview flow.
  6. It applies vertical boost, teleports the player, and gives slow falling on arrival.

Important clarification:

  • There is currently no manual click-to-confirm destination step.
  • The "preview" is the timed title/subtitle countdown during warmup.

Landing Safety Rules

Before a location is considered valid, the current code checks:

  • target world is loaded
  • search center is valid
  • location is inside the world border
  • a highest safe surface exists
  • the feet and head spaces are passable
  • the landing surface is solid and non-liquid
  • configured unsafe materials are rejected
  • enabled protection plugins allow the location

Current Runtime Expectations

  • Minecraft API: 1.21
  • Java: 21
  • Recommended server software: Paper or a current compatible fork