Back to Plugins
GraveBox icon

GraveBox

Active tab
Overview
Latest version
Not specified
Minecraft support
0 versions
Topics synced
0
Claim this plugin

This plugin was imported from Spiget and is currently unclaimed.

Live badges: Downloads badge for GraveBox Spigot Downloads badge for GraveBox GitHub Stars badge for GraveBox License badge for GraveBox How to embed โ†’

Plugin Information

Type: Minecraft plugin
Spigot Resource: Open on SpigotMC
Repository: Bebonaiem/GraveBox
Created by: Spiget Importer

Description

๐Ÿชฆ GraveBox v2.0

GraveBox is a robust Minecraft plugin designed to enhance player experience by preventing item loss upon death. Instead of dropping items when players die, GraveBox automatically creates a special container (grave) at the death location that securely stores all inventory items.

โœจ Key Features

โšก Core Functionality

  • ๐Ÿชฆ Automatic Grave Creation: Instantly generates a container at the exact death location when a player dies
  • ๐ŸŽ’ Complete Inventory Preservation: Transfers ALL items including:
    • Full armor set (helmet, chestplate, leggings, boots)
    • Offhand items (shields, totems, etc.)
    • Main inventory contents
    • Hotbar items
  • ๐Ÿ“ฆ Multiple Container Options: Supports CHEST, BARREL, and SHULKER_BOX
  • ๐Ÿงน Smart Grave Management: Automatically removes empty graves to prevent clutter
  • ๐Ÿ“‚ File-based Storage: Each grave's contents are saved to individual YML files
  • ๐Ÿ” Virtual Inventory Mode: Uses virtual inventories for grave contents

๐Ÿ›ก๏ธ Enhanced Protection Systems

  • ๐Ÿ’ฅ Explosion Protection: Graves survive TNT, creepers, and other explosions
  • ๐Ÿ”’ Indestructible Graves: Optional complete protection against all damage
  • ๐Ÿ”‘ Owner-Exclusive Access: Strict access control with configurable messages
  • ๐Ÿšซ Item Blacklisting: Prevent specific items from being stored in graves

๐Ÿ“Š Player Statistics System

  • ๐Ÿ“ˆ Death Tracking: Records how many times each player has died
  • ๐Ÿ—ƒ๏ธ Database Storage: SQLite by default
  • ๐Ÿ“Š Stats Command: /gravestats shows personal death count
  • โฑ๏ธ Timestamp Tracking: Records when each death occurred

๐Ÿ’ฌ Discord Integration

  • ๐Ÿ“ข Death Notifications: Real-time alerts to Discord channels
  • ๐ŸŽจ Custom Embeds: Color-coded messages with rich formatting
  • ๐Ÿ“ Location Details: Includes world and coordinates
  • ๐Ÿ–ผ๏ธ Custom Footer: Shows plugin version in messages

๐ŸŽจ Customization Options

  • ๐Ÿท๏ธ Custom Grave Names: Supports {player} placeholder and color codes
  • ๐Ÿ”ง Flexible Material Choices: Any container block type
  • ๐Ÿ“ค Item Overflow Handling: Drops excess items when grave is full
  • โš™๏ธ Blacklist System: Prevent specific items from being stored

๐Ÿ“ฅ Installation Guide

  1. ๐Ÿ”ฝ Download the latest GraveBox.jar from releases
  2. ๐Ÿ“‚ Place in plugins/ folder
  3. ๐Ÿ”„ Restart server to generate configs
  4. โš™๏ธ Edit plugins/GraveBox/config.yml as needed
  5. ๐Ÿ”ƒ Reload with /gravebox reload or restart

โš™๏ธ Configuration Details

โšฐ๏ธ Grave Settings

grave:
  material: "CHEST" # CHEST, BARREL, SHULKER_BOX
  size: "EXTRA_LARGE" # SMALL (9), MEDIUM (18), LARGE (27), EXTRA_LARGE (54)
  explosion-protection: true
  indestructible: true
  auto-remove: true
  drop-items-on-destroy: false
  custom-name: "&6{player}'s Grave"

๐Ÿ“Š Statistics System

stats:
  enabled: true
  database:
    type: "SQLITE"
    file: "stats.db"

๐Ÿ“ข Discord Webhook

discord:
  enabled: false
  webhook-url: "https://discord.com/api/webhooks/your_webhook_here"
  message: "{player} died at {x}, {y}, {z} in world {world}"
  embed-color: "FF0000"

๐Ÿ’ฌ Messages

messages:
  grave-created: "&aYour items are safe in a grave at &e{x}, {y}, {z}&a in world &e{world}&a."
  not-your-grave: "&cThis is not your grave!"
  cannot-destroy: "&cThis grave is indestructible!"
  grave-emptied: "&aYou retrieved all items from your grave. It has now vanished."
  grave-full: "&cYour grave was too small to hold all your items! Some were dropped nearby."
  stats-message: "&6Your death count: &a"

๐Ÿšซ Advanced Settings

advanced:
  blacklisted-items:
    - "BEDROCK"
    - "BARRIER"
    - "COMMAND_BLOCK"
    - "CHAIN_COMMAND_BLOCK"
    - "REPEATING_COMMAND_BLOCK"
    - "STRUCTURE_BLOCK"
    - "JIGSAW"

๐Ÿ”‘ Permission Nodes

Permission Description Default
gravebox.use Access grave features true
gravebox.stats View death statistics true
gravebox.admin Admin commands op
gravebox.bypass Bypass all protections op

๐Ÿ•น๏ธ Usage Guide

๐Ÿ‘จโ€๐Ÿ’ป Player Commands

  • /gravestats - View your death count (aliases: deathstats, deaths)

๐Ÿ‘จโ€๐Ÿ’ผ Admin Commands

  • /graveadmin - Admin commands for GraveBox (reload|stats)

๐Ÿ› ๏ธ Technical Specifications

๐Ÿ“ฆ Dependencies:

  • PaperMC API 1.21
  • SQLite JDBC (included)
  • Jackson Databind (included)

โš™๏ธ API Support:

  • PlaceholderAPI (soft dependency)
  • Vault (soft dependency)

๐Ÿ“Š Data Storage:

  • SQLite database for statistics
  • YML files for grave contents storage

๐Ÿ”ง Technical Details:

  • Java 17+ required
  • Maven build system
  • Shaded dependencies to prevent conflicts

โ“ FAQ

Q: How do I set up Discord notifications?
A: Enable in config.yml and add your webhook URL

Q: Can graves be destroyed if indestructible is false?
A: Yes, with drop-items-on-destroy controlling whether items drop or are deleted

Q: How do I prevent certain items from being stored?
A: Add them to the blacklisted-items in config.yml

Q: What happens if a grave is placed in an obstructed location?
A: The plugin will try to place it one block higher, or drop items normally if no space is available

Q: Can I change the grave size?
A: Yes, through the size option in config (9-54 slots depending on material)

๐ŸŒŸ Pro Tips

  • Use SHULKER_BOX for portable graves that move with chunks
  • Combine with WorldGuard for region-specific protections
  • Use PlaceholderAPI to show death stats in scoreboards
  • Set up Discord webhooks for staff monitoring
  • For large servers, consider monitoring the graves folder size

๐Ÿค Support & Contributing

Report issues on GitHub. Contributions welcome via pull requests!

๐Ÿ“œ License

MIT License - Free for use and modification

๐Ÿ“Œ Version Information

  • Current Version: 2.0
  • Minecraft Version: 1.17
  • API Version: Paper 1.21-R0.1-SNAPSHOT
  • Java Version: 17+

๐Ÿ—๏ธ Building from Source

  1. Clone the repository
  2. Run mvn clean package
  3. Find the shaded jar in target/ folder

๐Ÿงฉ Plugin Integration

GraveBox is designed to work well with:

  • Essentials (loads before it to handle death events)
  • Vault (for potential economy integration)
  • PlaceholderAPI (for stats display)

โš ๏ธ Known Limitations

  • 54-slot graves only work with CHEST material (as double chests)
  • Virtual inventory mode doesn't support hoppers or other block interactions
  • File-based storage may become inefficient with extremely high player counts

Minecraft Plugin Badges

Use these badge images in docs, README files, or forum posts.

Badge Guide
Downloads
Downloads badge for GraveBox
![Downloads](https://ezbanners.org/shields/plugins/68e21445-aa08-41e4-a689-0052c9077e3f/downloads.png)
Spigot Downloads
Spigot Downloads badge for GraveBox
![Spigot Downloads](https://ezbanners.org/shields/plugins/68e21445-aa08-41e4-a689-0052c9077e3f/spigot-downloads.png)
GitHub Stars
GitHub Stars badge for GraveBox
![GitHub Stars](https://ezbanners.org/shields/plugins/68e21445-aa08-41e4-a689-0052c9077e3f/github-stars.png)
License
License badge for GraveBox
![License](https://ezbanners.org/shields/plugins/68e21445-aa08-41e4-a689-0052c9077e3f/license.png)