TNTRunPlugin

TNTRunPlugin is a fast-paced minigame for Spigot/Paper 1.20.1 where players must keep moving on sand blocks to avoid falling TNT. Stay on your feet and outlast your opponents!

File Details

TNTRunPlugin-1.0

  • R
  • Feb 8, 2025
  • 7.14 KB
  • 65
  • 1.20.1

File Name

TNTRunPlugin-1.0.jar

Supported Versions

  • 1.20.1

Patch Notes - TNTRunPlugin v1.0

New Features

  • First stable release of TNTRunPlugin.
  • Implementation of the PlayerMoveEvent, which triggers the core mechanics of the minigame:
    • When a player steps on sand above TNT, the TNT will activate after a configurable delay.
    • An explosion occurs 40 ticks after the TNT is triggered.
    • A TNT priming sound is played for the affected player.

Configuration

  • Added a configuration file (config.yml) with the following parameter:
    • tnt-activation-delay: Defines the delay in ticks before TNT is triggered (default: 20).

Commands

  • /tntrun <delay>: Allows players to change the TNT activation delay in the configuration file.

Improvements & Optimizations

  • Uses BukkitRunnable to handle TNT activation efficiently without impacting server performance.
  • Prevents spectator mode players from triggering the event, improving gameplay.
  • Spigot API set to version 1.20.1, ensuring compatibility with recent server versions.

Upcoming Changes

  • Support for multiple arenas running simultaneously.
  • Integration with a point system and leaderboard.
  • Improved block detection to support additional activation surfaces.

Notas del Parche - TNTRunPlugin v1.0

Novedades

  • Primera versión estable del plugin TNTRunPlugin.
  • Implementación del evento PlayerMoveEvent, que activa la mecánica principal del minijuego:
    • Cuando un jugador pisa arena sobre TNT, la TNT se activará tras un retraso configurable.
    • Se genera una explosión tras 40 ticks de haber activado la TNT.
    • Se reproduce un sonido de activación de TNT al jugador afectado.

Configuración

  • Se ha añadido un archivo de configuración (config.yml) con el siguiente parámetro:
    • tnt-activation-delay: Define el tiempo de retraso en ticks antes de que la TNT se active (por defecto: 20).

Comandos

  • /tntrun <delay>: Permite a los jugadores cambiar el tiempo de activación de la TNT en el archivo de configuración.

Mejoras y optimización

  • Uso de BukkitRunnable para gestionar la activación de la TNT sin afectar el rendimiento del servidor.
  • Evita que jugadores en modo espectador activen el evento, mejorando la experiencia del juego.
  • Configuración del API de Spigot en la versión 1.20.1, garantizando compatibilidad con las versiones recientes del servidor.

Próximos cambios

  • Soporte para múltiples arenas en simultáneo.
  • Integración con un sistema de puntos y clasificación.
  • Mejora en la detección de bloques para soportar otras superficies de activación.