HamsterAPI

⭐ — (17 endorsements) 📥 9,838 downloads 📌 v0.3.6 📅 10/5/2025
🟡 Updated this year

By LinsaFTW · bukkit

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 3/30/2026 📅 Created: 10/5/2025

🔍 Analysis

  • 👍 0.2% endorsement rate
  • 🏆 #353 of 1560 bukkit mods in this game by downloads

📋 About This Mod

!(https://cdn.modrinth.com/data/cached_images/e816f99be33b34f16616e2d03f76447a54547390.png)

# HamsterAPI: Your Ultimate Minecraft Packet Manipulation Toolkit

### Effortlessly intercept, modify, and send packets without ever touching NMS or Reflection.

## What is HamsterAPI?

HamsterAPI is a powerful, high-performance library designed to give developers complete control over Minecraft's network protocol. It provides a clean, event-driven abstraction layer, allowing you to manipulate incoming and outgoing packets with ease and stability across multiple server versions.

Forget the hassle of maintaining complex NMS code. With HamsterAPI, you get a simple, elegant, and future-proof solution for everything from creating custom cosmetics to patching exploits at the packet level.

## Key Features

🚀 Powerful Packet Interception: Listen, modify, and cancel any packet with a flexible, priority-based event system. 📦 NMS-Free Packet Sending: Effortlessly send Titles, ActionBars, and other packets to players without the headache of Reflection or version-specific code. 🛡️ Advanced Player Control: Safely disconnect players with a custom message or instantly close their connecti: Your Ultimate Minecraft Packet Manipulation Toolkiton channel. 🌐 Seamless BungeeCord Integration: Easily switch players between servers, use plugin messaging channels, and manage your network. 🛠️ Optimized Utilities: Access our streamlined reflection and byte buffer utilities to build advanced, version-independent features.

## Getting Started

Step 1: Add HamsterAPI as a Dependency

First, ensure HamsterAPI is included as a dependency in your plugin's `plugin.yml` file. This is a crucial step for your plugin to load correctly.

```yaml name: YourPlugin version: 1. 0 main: com.yourdomain.yourplugin. Main depend: ```

Step 2: Access the API Instance

The entry point to all of HamsterAPI's features is the singleton instance. You can get it anywhere in your code with a static call:

```java HamsterAPI api = HamsterAPI.getInstance(); ```

From this instance, you can access all the core managers and utilities:

`getHamsterPlayerManager()` - Manage player-specific actions like sending packets or disconnecting. `getBungeeMessenger()` - Communicate with your BungeeCord proxy. `getPacketInjector()` - Manually inject or remove the API from a player's network pipeline. `getBufferIO()` - A utility for decoding raw byte buffers into readable packets.

## Core Concepts & Usage Examples

How to Listen to Packets

HamsterAPI offers a robust event system for intercepting packets at different stages of the network pipeline.

The Pipeline Flow: `Client -> -> PacketDecodeEvent -> -> PacketReceiveEvent -> Server`

PacketDecodeEvent When: Fires after the raw bytes are decompressed but before they are decoded into a full packet object. What you get: A raw `ByteBuf` object. Ideal for: Low-level security, fixing exploits, and analyzing raw network data.

PacketReceiveEvent / PacketSendEvent When: Fires after the packet has been fully decoded into a `PacketWrapper` object. What you get: A user-friendly `PacketWrapper` object. * Ideal for: Most common use-cases like creating cosmetics, canceling game events, or modifying game behavior.

To listen for events, register a listener class just as you would with Bukkit events. For more details, see the (https://www.spigotmc.org/wiki/using-the-event-api/).

Example: Listening for a Packet ```java public class MyPacketListener implements Listener {

@EventHandler public void onPacketSend(PacketSendEvent event) { // Get the packet's name String packetName = event.getPacket().getName();

if (packetName.equals("PacketPlayOutChat")) { Player player = event.getPlayer(); player.sendMessage("The server tried to send you a chat message!"); // You can even cancel the packet // event.setCancelled(true); } } } ```

Send a Title and Subtitle

```java // Get the HamsterPlayer instance for a specific player HamsterPlayer hamsterPlayer = HamsterAPI.getInstance().getHamsterPlayerManager().get(player);

// Send a title that fades in over 1s, stays for 3s, and fades out over 1s. // Times are in ticks (20 ticks = 1 second) hamsterPlayer.sendTitle("§aWelcome!", "§7Enjoy your stay.", 20, 60, 20); ```

Send an ActionBar Message

```java HamsterPlayer hamsterPlayer = HamsterAPI.getInstance().getHamsterPlayerManager().get(player);

hamsterPlayer.sendActionbar("§eYou have §c5§e new messages."); ```

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Plugins
Author
LinsaFTW
Version
0.3.6
Downloads
9,838
Endorsements
17
Category
bukkit
Created
10/5/2025
Updated
3/30/2026
Game Versions
1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4

🔧 How to Install Minecraft Plugins Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Plugins →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Plugins versions does HamsterAPI support?

The author lists 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5. Other versions may work but are untested by the author.

What is the latest version of HamsterAPI?

Version 0.3.6, published 2026-03-30 with 9,838 downloads recorded at the source.

Keep browsing — more Minecraft Plugins mods await

📋 All Minecraft Plugins Mods 🏆 Top 25 📂 More bukkit 👤 More by LinsaFTW 🔎 Similar Mods 🌐 Best bukkit (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods