Skip to content

Starbug10/Hot_Potato_Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Hot Potato V3

Hot Potato V3 Banner

A high-performance Hot Potato minigame mod for Minecraft Fabric 1.21.11

Overview

Pass the potato before the time runs out! This mod implements a fully functional Hot Potato gamemode designed for high-speed 1v1 duels. It features custom boss bars, dynamic spawning, inventory management, and multiple game modes to keep the chaos fresh.

Features

๐Ÿฅ” The Game Loop

  • Tag System: A custom Boss Bar at the top of the screen displays critical game info:
    • Game Starting / Pre-game status.
    • Current Potato Holder: Clearly displayed with their username.
    • Visual alerts in chat when the potato is passed.
  • Performance Optimized: Designed to handle rapid-fire passing between two players without lag.
  • Timer: Games default to 3 minutes. At the end of the timer, the player holding the potato dies. The survivor is crowned the victor.
  • Spawn Logic:
    • Randomly selects a safe location (valid ground, no void/underground).
    • Generates a 5x5 platform at the spawn point to ensure a clean fighting arena.
    • Both players are teleported immediately to the center.

๐ŸŽฎ Commands

/startgame <gamemode> [time]

Starts the game.

  • gamemode: default, swapsies, farm, hell (see below).
  • time: (Optional) Duration of the game in minutes. Defaults to 3 minutes if left blank.

Examples:

  • /startgame default (Starts a standard 3-minute game)
  • /startgame default 5 (Starts a 5-minute standard game)

/saveinv

Saves your current inventory layout (hotbar, armor, offhand, golden apples, blocks, etc.).

  • Each player has their own unique tagged save slot.
  • This specific layout is automatically loaded for the respective player at the start of every game.

/loaninv

Force loads your saved inventory immediately (useful for resetting without starting a game).

๐Ÿ•น๏ธ Gamemodes

  1. Default

    • Standard Hot Potato. Pass it or explode.
  2. Swapsies

    • Standard rules with a twist.
    • At 1 minute 30 seconds remaining, the hot potato randomly swaps owners. Stay on your toes!
  3. Farm

    • Mob Chaos.
    • Every 15 seconds, a random mob spawns at one of the players' locations.
    • Note: Withers and Ender Dragons are excluded.
  4. Hell

    • Hardcore Survival.
    • Both players are set to 2 Hearts (4 HP) max health.
    • No Regeneration.
    • Food/Saturation is locked at max to allow sprinting, but players cannot heal.

๐Ÿ† Stats & Tracking

  • Tracks total wins for each player persistently.
  • Custom Player Colors:
    • Starbug10: Light Blue
    • Umfhero: Pink

Installation

  1. Install Minecraft 1.21.1.
  2. Install Fabric Loader.
  3. Drop the Hot_Potato_Plugin jar into your mods folder.
  4. Run the client/server.

Created for Starbug10 & Umfhero.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages