📮 Post Office Plugin
The ultimate mail system for your Minecraft SMP!
Turn barrels into secure, player-owned post boxes with claim functionality, protection, and notifications.
⚠️ Note: Version 2 introduces a full system rewrite. You'll need to re-register post boxes. Simply remove the player’s name from the sign and follow the setup steps below.
🎥 Quick Demo:
✉️ How It Works
- Drop the JAR into your
/pluginsfolder and restart the server. - Adjust
config.ymlas needed (optional). - Build your post office using barrels as mailboxes.
- Place a sign on the front of a barrel.
- Look at the sign and run:
/postoffice register - Players can then run
/postoffice claimto claim an unclaimed post box. - Admins/mods can claim for others using
/postoffice claim <playername>
🔒 Items can be deposited by anyone but only the owner can retrieve them.
🛡️ Built-in protection ensures post boxes can’t be tampered with. Prefer WorldGuard or another region plugin? You can disable the internal protection in the config.
⚙️ Default Configuration
If any issues are found in your config.yml, default settings will be restored.
🔗 View default config on GitHub →
🔐 Post Box Protection
Enabled by default, this protects both barrels and signs from griefing.
To disable and use an external protection system, set postbox-protection: false in the config.
🛠️ Commands
| Command | Description |
|---|---|
/postoffice register |
Register a post box (barrel with a sign). |
/postoffice claim |
Claim a registered post box for yourself. |
/postoffice claim <player> |
Admins: Claim a post box for someone else. |
/postoffice remove |
Remove a post box (while looking at it). |
/postoffice info |
View owner or registration status of a post box. |
🧾 Permissions
| Node | Description |
|---|---|
shantek.postoffice.use |
Prevents a player from accessing post boxes (default: allowed). |
shantek.postoffice.removeitems |
Allow removal of items from any post box. |
shantek.postoffice.register |
Register/remove post boxes in config. |
shantek.postoffice.claim |
Claim a post box for yourself. |
shantek.postoffice.claim.others |
Claim a post box for another player. |
shantek.postoffice.updatenotification |
Notify this player of plugin updates. |
💬 Support & Dev Builds
- 💡 Questions or suggestions? Join the Discord →
- 🔧 Want dev builds? Check GitHub →
How to Install Post Office (Plugin)
Post Office by Shantek is verified for Bukkit, Paper, Purpur, Spigot across Minecraft versions 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3 (latest release: 2.5.1, file size: 105 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3) and platform (Bukkit, Paper, Purpur, Spigot).
- Make sure you have the compatible loader or environment installed for Bukkit, Paper, Purpur, Spigot.
- Move the downloaded Post Office file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 17 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
|
R
v1.1.0
|
2mo ago | 1 |
- Fix issue creating post boxes for a first time player on the server
- Bug fixes for counting number of boxes a player has
- Fixed bug with post box auto closing if chunk isn't loaded
- Added ability to remotely open your post box with /postbox
To use it, your players need to have a primary box and then do the following:
- Rename a barrel to "secondary" and place it
- Places a sign on their barrel
- Looking at the sign on the barrel, type **/postoffice secondary**
- Enjoy checking their post office barrel in their base
Note: They can remove it by typing **/postoffice removesecondary**. The default config allows them to have 5 secondary boxes, but you can have an infinite amount using -1 in the config.
- Fixed null inventory bug
- Added blacklist.yml to prevent specific items being left in a post box
- Bumped lang file to v2
- Fixed error with /postoffice command
- Fixed item removal bug
- Fixed bug reloading config and lang files.
- Added debug toggle in config to help troubleshoot issues.
- Fixed bug removing items from a post box.
- Added config and lang file versioning.
- Added hopper checks to config and disabled by default to prevent lag.
- Optimization/tweaks to barrel protection logic
- Fixed bug reading _ in world names
- Fixed bug with registering/claiming a post box
- Please note**: This is essentially a re-write of the plugin in a lot of areas and will require you to setup your players post boxes again - but will better allow me to add new functionality to the plugin moving forward. Lots of cool stuff to come!
To install this plugin, it's best to download a backup of your existing config and then start fresh. You can follow the setup guide here:
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/skb3oYxVzfg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
## **Change Log**
- Plugin now uses player UUIDs, no longer relying on player names!
- Post boxes are now stores in a barrels config once registered.
- New permission node allows a player to claim a registered post box by themselves if desired.
- Post boxes are now registered/claimed using commands - no longer restricted by their name fitting on the line.
- Added visual "You have mail" message to the post box sign.
- Added StructureGrow event checks to post box protection.
- Rewrote config handling/reloading.
- Players now receive a notification when a post box is set up for them, if they're online.
- Moved all messaged from config to a new lang file.
- Better handling color codes in lang file.
- Added additional keys to the lang file.
- Disabled update check if unable to pull latest version from API.
- Disabled update check if using a dev build.
- Added use permission node, deny this to prevent players from using the post office system.
- Large scale project cleanup/refactoring.
- Changed default mail notification delay to 1 second
- Added extra checks to post box protection
- Changed default "post box created for.." messages from red to green
- Added check for hopper minecart when removing items from a postbox
- Prevent protected post boxes/signs being blown up by tnt or creepers
- Prevent items being moved out of a post box with a hopper if post box protection is enabled
- Removed unused "/postoffice barrelname" command
- General bug fixes
- Added 1.21 support
- Added post box (barrel and sign) protection. Easily disabled in the config if using your own.
- Prevent players from swapping cursor items out of a post box.
- Prevent players from dropping items out of a post box.
- Prevent players from condensing items out of a post box.
- Add a 10 second delay to the "You have mail" notification when connecting.
- Added a plugin update notification system.
- Added extra language translation options to the config file.
- Removed the barrelname command as this should only be set once. Edit the config directly and use /postoffice reload to update the barrel name.
- Post Office has now been added to GitHub as a GPL3.0 Open Source project. You can find it here: https://github.com/shantek/PostOffice**
- Coming soon, v2 will update the plugin to use a players UUID and add additional flexibility to the plugin.
- Fixed issues with reloading the plugin
- Added additional checks to reloading the config file
- If keys are not found in the config, they will now revert to the default options
- Fixed issues with showing the correct sent/received messages
