Home›Java›Mods›BackPack [1.21.1+ - 26.3] | MySQL & YAML | Rank-Based Sizes | Admin Inspect
BackPack [1.21.1+ - 26.3] | MySQL & YAML | Rank-Based Sizes | Admin Inspect
ModsJava

BackPack [1.21.1+ - 26.3] | MySQL & YAML | Rank-Based Sizes | Admin Inspect

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Code (Text):

  ____             _     _____           _      



 |  _ \           | |   |  __ \         | |    
 | |_) | __ _  ___| | __| |__) |_ _  ___| | __  
 |  _ < / _` |/ __| |/ /|  ___/ _` |/ __| |/ /  
 | |_) | (_| | (__|   < | |  | (_| | (__|   <  
 |____/ \__,_|\___|_|\_\|_|   \__,_|\___|_|\_\  
                                               
             High-Performance MySQL Storage by BlackCyper
 _______________________________________________________
 

English Description
A lightweight, high-performance backpack system to manage player inventories with rank-based sizes via a MySQL database.

1. About the Plugin
BackPack is a professional inventory solution designed for Citybuild and Survival networks. Unlike traditional plugins that store items in clunky flat-files, this system serializes everything into Base64 and stores it in a MySQL database. This makes it the perfect choice for networks (BungeeCord/Velocity) where players need their items on every sub-server.

2. Core Features
* MySQL Backend: Seamless synchronization across your entire network.
* Smart Serialization: Supports NBT data, enchantments, and custom item names via Base64.
* Dynamic Sizes: Define custom slot counts (9 to 54) for different ranks. You can change or add unlimited ranks in the config!
* ⚡ Zero-Lag Logic: Fully asynchronous database handling ensures your server stays lag-free.
* Admin Inspect: Open and edit any player's backpack in real-time with /bp inspect <player>.
* ️ Auto-Save: Integrated safety-net saves inventories on close and on disconnect.
* 1.21.x Ready: Optimized for the latest Minecraft versions and Java 21.

3. Commands & Permissions
* /backpack | Permission: backpack.use
* /bp inspect <Name> | Permission: backpack.admin
* Size-Permissions: backpack.size.<Key> (e.g., backpack.size.6)
⚠️ IMPORTANT: This plugin is highly recommended to be used with LuckPerms to handle rank-based permissions!


Deutsche Beschreibung
Ein hochperformantes, serverübergreifendes Rucksack-System mit rangbasierten Größen und sicherer MySQL-Speicherung.

1. Über das Plugin
BackPack ist eine schlanke und dennoch extrem leistungsstarke Lösung für die Inventarverwaltung. Im Gegensatz zu herkömmlichen Plugins nutzt dieses System die Base64-Serialisierung und speichert alle Daten direkt in einer MySQL-Datenbank. Spieler haben ihre Items so auf jedem Unterserver (BungeeCord/Velocity) sofort griffbereit.

2. Hauptfeatures
* MySQL Backend: Nahtlose Synchronisation über dein gesamtes Netzwerk hinweg.
* Intelligente Speicherung: Unterstützt NBT-Daten, Verzauberungen und eigene Item-Namen.
* Dynamische Größen: Weise Spielern je nach Rang unterschiedliche Größen zu (9 bis 54 Slots). Ränge können in der Config beliebig geändert oder neu hinzugefügt werden!
* ⚡ Zero-Lag Logik: Asynchrones Laden/Speichern garantiert einen verzögerungsfreien Spielbetrieb.
* Admin-Einsicht (Inspect): Öffne und bearbeite Rucksäcke anderer Spieler in Echtzeit.
* ️ Auto-Save: Automatisches Speichern beim Schließen und beim Verlassen des Servers.

3. Befehle & Berechtigungen
* /backpack | Permission: backpack.use
* /bp inspect <Name> | Permission: backpack.admin
* Größen-Rechte: backpack.size.1 (9 Slots) bis backpack.size.6 (54 Slots).
Hinweis: Das System erkennt automatisch den höchsten Wert, den ein Spieler besitzt!

4. Konfiguration
Code (Text):

#
# ==============================================================================
# BACKPACK SYSTEM - CONFIGURATION
# ==============================================================================

# [DE] Präfix für alle Nachrichten im Chat. FULL CUSTOMIZATION
# [EN] Prefix for all chat messages. FULL CUSTOMIZATION
prefix: "&8[&6Backpack&8] &7"

# [DE] Soll beim Start geprüft werden, ob eine neue Version verfügbar ist?
# [EN] Should the plugin check for updates on startup?
update-checker: true

# ==============================================================================
# STORAGE SETTINGS / SPEICHER-EINSTELLUNGEN
# ==============================================================================
# [DE] Speichermethode für die Rucksackdaten. Optionen: MYSQL, SQLITE, YAML
# [EN] Storage method for backpack data. Options: MYSQL, SQLITE, YAML
database:
  type: "SQLITE"

mysql:
  host: "localhost"
  port: 3306
  database: "minecraft"
  username: "root"
  password: "yourPassword"
  # Sicherheits-Parameter gegen Timeouts / Safety parameters against timeouts
  useSSL: false
  autoReconnect: true

# ==============================================================================
# ITEMSADDER BACKPACKS / ITEMSADDER RUCKSÄCKE
# ==============================================================================
# [DE] Hier kannst du beliebig viele Rucksack-IDs aus ItemsAdder eintragen.
# [EN] You can add as many backpack IDs from ItemsAdder here as you want.
itemsadder:
  backpack-ids:
    - "iawearables:black_backpack"
    - "iawearables:blue_backpack"
    - "iawearables:red_backpack"
    - "disney:autumn_backpack"

# ==============================================================================
# SOUND EFFECTS / SOUND-EINSTELLUNGEN
# ==============================================================================
sounds:
  # [DE] Sollen Sounds beim Öffnen und Schließen abgespielt werden? (true/false)
  # [EN] Should sounds be played upon opening and closing? (true/false)
  enabled: true

  # [DE] Lautstärke (0.0 bis 1.0) und Tonhöhe (0.5 bis 2.0)
  # [EN] Volume (0.0 to 1.0) and pitch (0.5 to 2.0)
  volume: 1.0
  pitch: 1.0

  # [DE] Welcher Sound soll abgespielt werden?
  #      Nutze offizielle Spigot-Sound-Namen. Beliebte Beispiele für Rucksäcke:
  #      - BLOCK_CHEST_OPEN / BLOCK_CHEST_CLOSE (Klassische Truhe)
  #      - BLOCK_BARREL_OPEN / BLOCK_BARREL_CLOSE (Fass-Sound)
  #      - ITEM_ARMOR_EQUIP_LEATHER (Leder-Rucksack-Gefühl)
  #      - BLOCK_ENDER_CHEST_OPEN / BLOCK_ENDER_CHEST_CLOSE (Magisch)
  #      - ENTITY_ITEM_PICKUP (Diskretes Klicken)
  #
  # [EN] Which sound should be played?
  #      Use official Spigot sound names. Popular backpack examples:
  #      - BLOCK_CHEST_OPEN / BLOCK_CHEST_CLOSE (Classic Chest)
  #      - BLOCK_BARREL_OPEN / BLOCK_BARREL_CLOSE (Barrel Sound)
  #      - ITEM_ARMOR_EQUIP_LEATHER (Leather backpack feel)
  #      - BLOCK_ENDER_CHEST_OPEN / BLOCK_ENDER_CHEST_CLOSE (Magical)
  #      - ENTITY_ITEM_PICKUP (Discrete click)
  open: "BLOCK_CHEST_OPEN"
  close: "BLOCK_CHEST_CLOSE"

# ==============================================================================
# ITEM BLACKLIST / GEBLOCKTE GEGENSTÄNDE
# ==============================================================================
blacklist:
  # [DE] Soll die Item-Blacklist aktiv sein? (true/false)
  # [EN] Should the item blacklist be enabled? (true/false)
  enabled: true

  # [DE] Trage hier die Spigot-Materialnamen ein, die verboten sein sollen.
  # [EN] Enter the Spigot material names here that should be forbidden.
  items:
    - "SHULKER_BOX"
    - "TNT"
    - "BEDROCK"

# ==============================================================================
# MODUS AND SIZES / MODUS UND GRÖSSEN-EINSTELLUNGEN
# ==============================================================================

# [DE] true: Nutzt das Rang-System (Permissions: backpack.size.<Key>)
#      false: Deaktiviert Ränge. JEDER Spieler erhält die 'global_size'.
# [EN] true: Uses the rank system (Permissions: backpack.size.<Key>)
#      false: Disables ranks. EVERY player gets the 'global_size'.
use_ranks: true

# [DE] Einheitsgröße (Nur aktiv, wenn use_ranks auf 'false' steht).
# [EN] Global size (Only active if use_ranks is set to 'false').
# Options: 9, 18, 27, 36, 45, 54
global_size: 54

# [DE] RANG-GRÖßEN DEFINITION (Nur aktiv, wenn use_ranks auf 'true' ist).
#      Die Slots MÜSSEN durch 9 teilbar sein (Maximal 54).
#      Beispiel-Permission in LuckPerms: backpack.size.6 (gibt 54 Slots).
# [EN] RANK SIZE DEFINITION (Only active if use_ranks is set to 'true').
#      The slots MUST be divisible by 9 (Maximum 54).
#      Example permission in LuckPerms: backpack.size.6 (gives 54 slots).
sizes:
  6: 54
  5: 45
  4: 36
  3: 27
  2: 18
  1: 9

# ==============================================================================
# MESSAGES & TITLES / FULL CUSTOMIZATION
# ==============================================================================
# [DE] Hier kannst du alle Texte und den Inventar-Titel vollständig anpassen.
# [EN] Here you can fully customize all texts and the inventory title.

messages:
  # [DE] Der Titel des Rucksack-Inventars (Max. 32 Zeichen!)
  # [EN] The title of the backpack inventory (Max. 32 characters!)
  inventory_title: "&8Rucksack"

  no_permission: "&cDu hast keine Rechte, den Rucksack zu benutzen."
  loading: "&7Dein Rucksack wird geladen..."

  # [DE] Nachricht, wenn ein Spieler versucht, ein geblocktes Blacklist-Item in den Rucksack zu legen.
  # [EN] Message when a player tries to put a blocked blacklist item into the backpack.
  blacklist_deny: "&cDieses Item darf nicht im Rucksack gelagert werden!"

  # [DE] Soll die Speicher-Nachricht beim Schließen gesendet werden? (true = Ja / false = Nein)
  # [EN] Should the save message be sent upon closing? (true = Yes / false = No)
  send_saved_message: true
  saved: "&aRucksack erfolgreich gespeichert."
 
5. Installation
1. Lade die BackPack.jar in deinen /plugins/ Ordner hoch.
2. Trage deine MySQL-Daten in die config.yml ein.
3. Starte den Server neu. Fertig!

⚠️ WICHTIG: Nutze LuckPerms, um die Größen-Permissions optimal zu verwalten!


If you enjoy this system, please leave a ⭐⭐⭐⭐⭐ rating!

​
[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

BackPack [1.21.1+ - 26.3] | MySQL & YAML | Rank-Based Sizes | Admin Inspect is a free Minecraft Java mod. Compatible with Minecraft 1.21, 26.1, 26.2, 26.3. Downloaded 160 times (via Spigot). Download it and open it directly in the game.

Explore more