Private Chest

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

PrivateChest

was designed to be a personal inventory for your users which you can access

(Version: 1.3.0 BETA)

Spigot NOT supported

Latest Version

Warning: These files have not been approved by bukkit. Use at your own risk.

Experimental

VersionDownloadStability
v1.3.1Private Chest v1.3.1Untested

Commands

CommandPermissionDescriptionDefaultVersion
/prprivatechest.cmd.helpShows a help menuOpv1.2.9
/pr helpprivatechest.cmd.helpShows a help menuOpv1.2.9
/pr openprivatechest.cmd.openAllows player to open/generate own private chestOpv1.2.9
/pr open <Player>privatechest.cmd.otherAllows player to open others private chest if it exists. Must be exact nameOpv1.2.9
/pr reloadprivatechest.cmd.reloadAllows player to reload PrivateChest configOpv1.3.0

Configuration

# +----------------------------------------------------+
# <                     Config for                     >
# <                    PrivateChest                    >
# +----------------------------------------------------+

# Set to "true" if you dont want metrics on!
opt-out: false

# Set to "check" to check for an update and log into console if a update is found. Set to "update" to automaticly download an update when it is found. Set to "none" to do nothing when an update is found.'
auto-update: update
sign: {}
inv: {}

All Permissions:

PermissionDescriptionDefaultVersion
privatechest.*Gives all permissionsOpv1.2.9
privatechest.cmd.*Gives access to all commandsOpv1.2.9
privatechest.placesignAllows user to create PrivateChest signsOpv1.2.9
privatechest.breaksignAllows user to break PrivateChest signsOpv1.2.9
privatechest.openchestAllows user to open PrivateChestsAllowv1.2.9
privatechest.cmd.openAllows user to open own PrivateChest/generate oneOpv1.2.9
privatechest.cmd.open.otherAllows user to open others PrivateChest, must be exact nameOpv1.2.9
privatechest.cmd.helpAllows user to see help menuOpv1.2.9
privatechest.cmd.reloadAllows user to reload PrivateChest configOpv1.3.0

New in v1.3.1

  • Defaults fixed
  • Version is now 1.7.9 R0.2
  • New reload command: /pr reload
    • Permission: privatechest.cmd.reload
  • Fixed plugin initialization bug

Planned Features

* Allow admins to see players PrivateChest Implemented in v1.2.9
* Create an API for developers (If developers start asking for this in the comments)
* Add McStats implementation Implemented in v1.2.9
* Add auto-updating Implemented in v1.2.9
* Add a command cooldown Implemented in v1.3.0
* Switch to 1.7.9 compiling Implemented in v1.3.0

For Developers

There is a sort of API currently, there is an event for when a player opens a private chest.

How to use:

Set my plugin as a library then import com.gong.util.OpenPrivateChestEvent; That event will be called every time a player opens a private chests

Features

These are all the arguments passed in when the event is called: Block blockOpened, Player opener, Inventory inventoryOpened, Boolean isDoubleChest, InventoryOpenEvent e

Plugin Metrics

This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:

  • A unique identifier
  • The server's version of Java
  • Whether the server is in offline or online mode
  • The plugin's version
  • The server's version
  • The OS version/name and architecture
  • The core count for the CPU
  • The number of players online
  • The Metrics version
  • The number of inventorys created
  • The number of signs created

Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true or editing plugins/PrivateChest/config.yml and changing opt-out to true

Auto-Updating

PrivateChest will either download an update, check for one or do nothing at all depending on what you set in its config or in the global plugins/Updater/config.yml.

To change/disable auto-updating got to plugins/PrivateChest/config.yml and change auto-update to "update" to automaticlly download an update when its found. To check put "check" and to do nothing do "none"

Source

Plugins source can be found here

Be sure to fork and make changes that could improve the plugin. I will keep this up to date!

Known bugs

BugBug descriptionIs fixed
Double-chest bugIf a player opens a double chest that is a private chest, then opens a normal chest, the size will still be of a double-chestIntentional
Inventory-DuplicationIf an admin opens another players private chest, that inventory will clone to his own private chestIn v.1.3.0
DefaultsDefaults for permissions not workingIn v1.3.0

Tickets

To create a ticket, click on the top right of this page and fill out the page. I will respond to ALL tickets and try to fix all bugs found.

Suggestions

I am more than happy to take all of your suggestions/improvments for this plugin!


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    83724
  • Created
    Aug 8, 2014
  • Last Released File
    Never
  • Total Downloads
    25,034
  • License

Categories

Members

Recent Files