Cosmic Vaults 2

Player Vaults exactly like "the most famous Factions Server"'s player vaults!

  1. RandomHashTags
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Contributors:
    RandomHashTags
    [​IMG]
    [​IMG]
    • Java 8, Spigot 1.7.10-1.12
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    Code (Text):

    # Made by RandomHashTags
    # max-size-of-pvs-display and size-of-vault has to be a multiple of 9!
    CosmicVaults:
      open-menu-when:
        renamed-vault: true
        closed-edit-icon: true
        closed-self-player-vault: true
        closed-other-player-vault: true
      # Max size of /pvs
      max-size-of-pvs-display: 54
      # Size of the vault (example: The size of /pv 1, /pv 2, /pv 3, ect.)
      size-of-vault: 54
      #
      titles:
        # When the player is in a vault that they own, this is the chest's title
        # {VAULT_NUMBER} needs to be last for it to work!
        self: "Vault #{VAULT_NUMBER}"
        # When the player is in a vault they do not own, this is the chest's title.
        # {PLAYER} needs to be first for it to work!
        other-pvs: "{PLAYER}'s Vaults"
        # other-vault requries {PLAYER} to be first, and {VAULT_NUMBER} to be last in order to work.
        other-vault: "{PLAYER}'s Vault #{VAULT_NUMBER}"
        # When the player is editing a vault icon, this is the chest's title.
        # Needs to contain {VAULT_NUMBER} to work!
        edit-icon: "Edit PV #{VAULT_NUMBER} Icon"
        # When the player is editing a vault not owned by them, this is the chest's title.
        # {PLAYER} needs to be first for it to work!
        edit-icon-other: "{PLAYER}'s PV #{VAULT_NUMBER} Icon"
        # When the player opens the pv menu, this is the chest's title.
        pvs: "Player Vaults"
      #
      default-pvs-display:
        # "<item>:<data>    # You can just have the <item>, and the data will be defaulted to zero
        # {VAULT_NUMBER} = The vault number the
        item: "emerald:0"
        name: "&b&lPV {VAULT_NUMBER}"
        lore:
        - "&d/pv {VAULT_NUMBER}"
        - " "
        - "&7Left-Click to enter Vault"
        - "&7Middle-Click to edit name"
        - "&7Right-Click to edit icon"
      #
      messages:
        prefix: "&8&l[&a&lCosmicVaults&8&l]&r"
        rename-vault:
        - " "
        - "{PREFIX}"
        - "&b&l(!)&r &bPlease enter your new desired Vault name."
        - "&7If you wish to cancel type '&ccancel&7' in the chat."
        - " "
        rename-vault-other:
        - " "
        - "{PREFIX}"
        - "&b&l(!)&r &bPlease enter your new desired Vault name"
        - "&bfor {PLAYER}'s Vault #{VAULT_NUMBER}."
        - "&7If you wish to cancel type '&ccancel&7' in the chat."
        - " "
        rename-vault-success:
        - "{PREFIX} &a&l(!)&r &aVault #{VAULT_NUMBER} renamed to {NAME}"
        rename-vault-success-other:
        - "{PREFIX} &a&l(!)&r &aYou renamed {PLAYER}'s Vault #{VAULT_NUMBER} to {NAME}"
        rename-vault-cancelled:
        - "{PREFIX} &cVault naming &lCANCELLED!"
        rename-vault-cancelled-other:
        - "{PREFIX} &c{PLAYER}'s Vault #{VAULT_NUMBER} naming &lCANCELLED!"
        save-edited-icon:
        - "{PREFIX} &aSaved Vault #{VAULT_NUMBER} icon to &n{MATERIAL}"
        save-edited-icon-other:
        - "{PREFIX} &aSaved {PLAYER}'s Vault #{VAULT_NUMBER} icon to &n{MATERIAL}"
        #
        target-player-has-no-vaults:
        - "{PREFIX} &cThis player doesn't have any vaults!"
        no-vault-access:
        - "{PREFIX} &cYou do not have access to this vault!"
        #
        no-permission-to-edit-other-vault: # Permission: 'CosmicVaults.pv.other.edit'
        - "{PREFIX} &cYou do not have access to edit this vault!"
        no-permission-to-edit-other-vault-icon: # Permission: 'CosmicVaults.pv.other.edit.icon'
        - "{PREFIX} &cYou do not have access to edit this vault's icon!"
        no-permission-to-rename-other-vault: # Permission: 'CosmicVaults.pv.other.rename'
        - "{PREFIX} &cYou do not have access to rename this vault!"
        no-permission-to-view-other-vault: # Permission: 'CosmicVaults.pv.other.view'
        - "{PREFIX} &cYou do not have access to view this vault!"
    ##
    # Item format:
    # item: "<item>:<data>"
    # Item will have a data of ZERO if you do not have ":<data>" in the item string.
    #
    # Items can only have a name! Color codes ARE allowed!
    # Example:
    # '0':
    #   item: "diamond_helmet"
    #   name: "&b&lDiamond Helmet"
    ##
    edit-icon:
      size: 54
      select-lore:
      - "&7Click to select material."
      '0':
        item: "diamond_helmet"
      '1':
        item: "diamond_chestplate"
      '2':
        item: "diamond_leggings"
      '3':
        item: "diamond_boots"
      '4':
        item: "bow"
      '5':
        item: "splash_potion"
      '6':
        item: "sugar"
      '7':
        item: "ender_pearl"
      '8':
        item: "mob_spawner"
      '9':
        item: "book"
      '10':
        item: "tnt"
      '11':
        item: "stone_slab2"
      '12':
        item: "anvil"
      '13':
        item: "iron_block"
      '14':
        item: "gold_block"
      '15':
        item: "diamond_block"
      '16':
        item: "nether_brick"
      '17':
        item: "netherrack"
      '18':
        item: "paper"
      '19':
        item: "chest"
      '20':
        item: "ender_chest"
      '21':
        item: "smooth_brick"
      '22':
        item: "snow_block"
      '23':
        item: "soul_sand"
      '24':
        item: "quartz_block"
      '25':
        item: "diamond_sword"
      '26':
        item: "diamond_axe"
      '27':
        item: "diamond_pickaxe"
      '28':
        item: "diamond_spade"
      '29':
        item: "diamond_hoe"
      '30':
        item: "ice"
      '31':
        item: "packed_ice"
      '32':
        item: "dispenser"
      '33':
        item: "furnace"
      '34':
        item: "hopper"
      '35':
        item: "glass"
      '36':
        item: "sand"
      '37':
        item: "sponge"
      '38':
        item: "obsidian"
      '39':
        item: "bedrock"
      '40':
        item: "enchantment_table"
      '41':
        item: "cactus"
      '42':
        item: "glowstone"
      '43':
        item: "diamond"
      '44':
        item: "emerald"
      '45':
        item: "gold_ingot"
      '46':
        item: "iron_ingot"
      '47':
        item: "redstone"
      '48':
        item: "bucket"
      '49':
        item: "lava_bucket"
      '50':
        item: "water_bucket"
      '51':
        item: "golden_apple:1"
      '52':
        item: "exp_bottle"
      '53':
        item: "bed"

     
    [​IMG]
    Code (Text):

    Admin Commands
    /pv <player> <vault number> - Open a specific player's vault
    /pv <player> - Open the player's /pvs menu
    [CODE]
    [CODE]
    CosmicVaults.commands.pv    - Access to /pvs (/playervault, /pv)

    CosmicVaults.pv.#    - The amount of vaults the player can have
    CosmicVaults.pv.1 = The player only has access to vault #1
    CosmicVaults.pv.5 = The player only has access to vault #1, 2, 3, 4, and 5
    #
    # ADMINS
    #
    CosmicVaults.pv.other.edit - Edit other player's vaults
    CosmicVaults.pv.other.edit.icon - Edit other player's vault icons
    CosmicVaults.pv.other.rename - Rename other player's vault names in /pvs
    CosmicVaults.pv.other.view - Check other player's vaults
    #
    What's new in v0.6?
    • You can edit player's vaults by typing /pv <player> <vault number> OR open the player's vault by typing /pv <player>!
    • Admins can edit, rename, and view other player's vaults! (Requires the correct permissions)

    Leave bugs in the DISCUSSION, AND TAG ME IN YOUR POST (@RandomHashTags)

    ========================================
    REQUESTED BY @SaltyTBNR HERE
    ========================================

Recent Reviews

  1. Jordan2313231
    Jordan2313231
    5/5,
    Version: 2
    this plugin is amazing just fix the permission CosmicVaults.pv.11 because it gives them 9 also i would highly recommend making a Factions UUID supported head name plugin plz that shows relationships
  2. mrdado243
    mrdado243
    1/5,
    Version: 1
    Plugin works although player items keep dissapearing from vaults this is trash legit
  3. Github
    Github
    3/5,
    Version: 1
    you can't middle click to change name, or not on paperspigot 1.8.8 anyway haven't tested other versions.
  4. KidShark
    KidShark
    2/5,
    Version: 0.7
    At first I liked tis plugin. It had more than 1 player vault and it was a very easy GUI. Then, players items started disappearing... Only the second row of items on each chest works. The player vaults only work for OPs. I would not recommend this plugin until this gets fixed.
    1. RandomHashTags
      Author's Response
      Today's update has fixed this issue! Check it out :)
  5. Mokokow
    Mokokow
    2/5,
    Version: 0.7
    i place item in vaults 1, i close and open again. where my item?
    please fix it. i will give 5 stars if this bug fix.
    thanks
    1. RandomHashTags
      Author's Response
      This issue has been fixed in today's update! Check it out :)
  6. 5plice
    5plice
    1/5,
    Version: 0.7
    After using this for a day people were complaining about items getting removed from their player vaults
    1. RandomHashTags
      Author's Response
      This issue has been fixed in today's update! Check it out :)
  7. Futurecb
    Futurecb
    5/5,
    Version: 0.7
    1. RandomHashTags
      Author's Response
      Thanks for the review! If this error still pops up in v1, PM me! :)
  8. JammTheGoat
    JammTheGoat
    2/5,
    Version: 0.7
    Don't use this until the permission issue is fixed. It doesn't save player's vaults correctly. It's an easy fix but I've been waiting almost 2 weeks and have had no response.

    If this issue was fixed it would be a 5/5 easily. It works fine as OP, but obviously you can't give everyone OP.
    1. RandomHashTags
      Author's Response
      Fixed this issue today! Check it out :)
  9. MrTallYT
    MrTallYT
    5/5,
    Version: 0.6
    This plugin is amazing, but it has a few bugs. The config isn't correct. Not all items are there for edit-icon. You can't disallow color codes for pv names. If you have 1 playervault in /pvs, then in /pv 1 only one item will save in the first slot. Because of the GUI being messed up.
    1. RandomHashTags
      Author's Response
      Thanks for the review! If you're still experiencing this issue in v1, PM me! :)
  10. KnightGx3
    KnightGx3
    4/5,
    Version: 0.6
    Not able to edit the icons. Only shows up to bow, not all of them and still doesn't even edit them. Will rate 5 stars if fixed.
    1. RandomHashTags
      Author's Response
      Thanks for the review! PM me if you're still experiencing this in v1! :)