FactionsChests

This plugin adds a kind of Guild Bank functionality to Factions.

It allows faction members to create and open virtual chests to store items faction-wide.

This plugin is in Beta status. There will be some changes in how the plugin saves the inventories in the next versions. Because of this, databases produced by the current versions will not be compatible with future versions. I recommend that you use the available versions for testing purposes only.

With the release of version 0.4 Beta the database won't change again anytime soon.

After enough testing and feedback 0.4 Beta will be promoted to release status.

Dependencies

  • Factions
  • Vault (soft dependency)

Commands

  • /f listchests - lists all available chests to you
  • /f addchest <name> [access=M] - adds a virtual faction chest with the name <name> and the access permission access (default M)
  • /f openchest <name> - opens the chest identified by <name>
  • /f chestaccess <name> - changes the access mode of the chest <name> between M (all members) and S (officers and above only)

Rank-based chest access

Starting in version 0.4 Beta all chests have rank-based access policies:

  • M (all members)
  • S (officers and above only)

Configuration (introduced in 0.3 Beta) (default config.yml from 0.4 Beta: )

# configuration option descriptions and default values
# --------------------------------------
# useVault: true
# true = try to enable Vault
# false = do not use Vault, even if it is available
# --------------------------------------
# useEconomy: true
# true = use Vault's economy (use Vault has to be true)
# false = do not use economy, even if it is available#
# --------------------------------------
# usePermissions: true
# true = use Vault's permissions (use Vault has to be true)
# false = do not use permissions, even if it is available
# --------------------------------------
# chesttitle: Faction Chest
# sets the title of the virtual chests
# in-game display: "FCVC - <chest title> - <chest name>"
# --------------------------------------
# chestslots: 54
# the number of slots a newly created chest has
# must be a multiple of 9 or the default of 54 will be used
# --------------------------------------
# chestprice: 50
# the price a player has to pay when he wants to create a new chest
# --------------------------------------
# maxchests: 5
# the maximum number of chests a faction can have
# --------------------------------------
# Configuration:
useVault: true
useEconomy: true
usePermissions: true
chesttitle: Faction Chest
chestslots: 54
chestprice: 50
maxchests: 5

Permissions

  • FactionsChests.open - allows usage of /f openchest
  • FactionsChests.add - allows usage of /f addchest
  • FactionsChests.access - allows usage of /f chestaccess
  • FactionsChests.list - allows usage of /f listchests

More Info

  • The chests are faction bound (not tag bound) so they will stay with the faction even when the name changes.
  • It is not possible for two or more players to access the same chest simultaneously.
  • The chest's content is saved whenever it is closed and when the server is shut down (as of 0.3 Beta).
  • Chest names are limited to 10 characters (as of 0.3 Beta).
  • The /f chestaccess command is only usable by faction officers and above (normal faction members with the permission FactionsChests.access are not able to use the command).

To-do

  • Add Vault support
  • Add Permissions
  • Implement price for creating new chests
  • Add configuration options (chest price, slots, etc.)
  • Add rank-dependend chests (member chests and officer & admin chests)
  • Open for new ideas

Changelog

10.08.2012 v0.4
- Added permission support
- Added chest access control based on faction ranks
- Added /f chestaccess command
- Added configurable maximum number of chests per faction
- Minor modifications

09.08.2012 v0.3
- Added Vault support (economy)
- Added configuration options
- Added chest price
- All chests are now saved when the server shuts down (clean shutdown only!) to prevent item loss or duplication because of open virtual chests
- Chest names are now limited to 10 characters
- Removed some debug code
- Minor modifications

09.08.2012 v0.2
- Fixed major issue with an old faction's chests beeing accessible from a newly created faction after the old one was disbanded (id issue)
- Removed some debug code

09.08.2012 v0.1
- Initial release

You must login to post a comment. Don't have an account? Register to get one!

  • 9 comments
  • Avatar of Tobias2289 Tobias2289 Apr 22, 2013 at 14:11 UTC - 0 likes

    Feature Request
    Make a physical chest that factions can use, the plugin ShopKeepers uses items in an inventory chest display as buttons, I was thinking you could do the same to allow users to scroll from 1 chest to another.

    I was thinking server owners could set up a faction vault/guild vault at say a spawn and then the owner of a faction could buy more chests that users could then go to at spawn and deposit items.

    It could be a config option so not everyone would be forced to use this.
    I would really love this feature! ^_^

  • Avatar of SwiftSwamp SwiftSwamp Apr 20, 2013 at 09:00 UTC - 0 likes

    Would be amazing to see this plugin in action again, if you do please contact me :)

    Website: http://DeadWoodEntertainment.com Minecraft Server(s) + More!

  • Avatar of Phil2812 Phil2812 Feb 05, 2013 at 15:53 UTC - 0 likes

    I might continue working on this project, soon. University and the written book feature got in the way but since there still seems to be the demand for a plugin like that and I get a lot of feature requests I will try to find some time to continue it.

    BFAK:Phil2812,31541,bf30427ad8189810abe6cd865c9d973f235901d46ca47c7d0cb80be3ba32506c

  • Avatar of bongodwarf bongodwarf Oct 11, 2012 at 14:36 UTC - 0 likes

    How do i remove a faction chest?

  • Avatar of livengoodb livengoodb Oct 11, 2012 at 02:25 UTC - 0 likes

    you should make it so it makes a faction ender chest so not everyone can use one for themselves

  • Avatar of Extinction93 Extinction93 Aug 24, 2012 at 00:53 UTC - 0 likes

    @Phil2812: Go

    Thats a good idea. You should really work on adding that.

  • Avatar of Master_Zangetsu Master_Zangetsu Aug 14, 2012 at 18:25 UTC - 1 like

    You should create the ability to have a physical bank area ...

    if this area is overrun by another faction then the chests become open for looting.

    Please also add the ability for each player to have his own locked chest that others in the same faction cant access, but again when overrun they can be looted

  • Avatar of Phil2812 Phil2812 Aug 10, 2012 at 13:10 UTC - 0 likes

    @Slappygilmore: Go

    So what you are talking about is that when a faction has more land than its power would allow (land inflation) another faction could overtake/claim this faction's chests?

  • Avatar of Slappygilmore Slappygilmore Aug 09, 2012 at 08:26 UTC - 0 likes

    I think it would be cool and useable for my server if you made it so once the faction didn't have enough power to maintain there land they also didn't have the power to maintain there chest. So someone in another faction could do something as /f (faction) chest

  • 9 comments

Facts

Date created
Aug 09, 2012
Category
Last update
Aug 09, 2012
Development stage
Beta
Language
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
FactionsChests
Downloads
3,980
Recent files

Authors

Relationships

Required dependency
Factions
Optional dependency
Vault