Cosmic Vaults 3.0.1

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

  1. RandomHashTags
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    Source Code:
    https://gitlab.com/RandomHashTags/cosmicvaults
    Contributors:
    RandomHashTags
    [​IMG]
    [​IMG]
    • Java 8, Spigot 1.7.10-1.14.2
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    Code (Text):

    # Made by RandomHashTags
    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!"
    #
    CosmicVaults:
      open menu when:
        renamed vault: true
        closed edit icon: true
        closed self player vault: true
        closed other player vault: true
      # Size of the vaults
      size of vault: 54
      # 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.)
      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 requires {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 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>    # You can just have the <item>, and the data will be defaulted to zero
        # {VAULT_NUMBER} = The vault number the
        item: "emerald"
        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"
    ##
    # Item format:
    # item: "<item>"
    #
    # Items can only have a name! Color codes ARE allowed!
    # Example:
    # '0':
    #   item: "diamond_helmet"
    #   name: "&b&lDiamond Helmet"
    ##
    edit icon:
      # Needs to contain {VAULT_NUMBER} to work!
      title: "Edit PV #{VAULT_NUMBER} 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 Updates

  1. [3.0.1] Fixes
  2. Recode + added 1.13-1.14 support
  3. Fixed Error

Recent Reviews

  1. SpokenWig620933
    SpokenWig620933
    5/5,
    Version: 3.0.1
    Just amazing how well it works and more. A few suggestions that would make some things better is to make it instead of opening a blank 1 row gui when a player does /pv without any vault perms have it deny then saying you dont have access to any vaults. Also when I set the max gui selection to a number beside 54 it just removed the amount of items shown to the number I set, but with the right permissions will still show a 54 space gui.
  2. mohammedTGMYT
    mohammedTGMYT
    4/5,
    Version: 3.0.1
    Plugin works but it does reset the vaults when server restarts :)

    -------------------------
  3. Metclocker
    Metclocker
    5/5,
    Version: 3.0.1
    I love this plugin, works well with 1.14.3 minecraft server. Great work developer! Thanks.
  4. XxSaw_MaxterxX
    XxSaw_MaxterxX
    5/5,
    Version: 2
    For now it works very well and I love the edit options, all your permissions works very well too, if I'd Have a problem in the future i'll contac you
  5. RalphPlayz
    RalphPlayz
    3/5,
    Version: 2
    Can't check users vaults for some reason.
    Just says I don't have permissions even though I do.
  6. Krispx2811
    Krispx2811
    4/5,
    Version: 2
    Glow get removed everytime if i exist the pvp can u please fix that thank you <3
  7. candr
    candr
    5/5,
    Version: 2
    So far, it works as promised. I will be testing it with votekeys and special NBT tag spawners. So we'll see how it does then :)
  8. Kubson_19
    Kubson_19
    5/5,
    Version: 2
    Nice plugin, works fine very easy to use! Hope has more updates in future........
  9. Mr_Art
    Mr_Art
    3/5,
    Version: 2
    nice cool plugins but when player do /pv 1 and hit by someone and click Esc button it create emerald dupe!
  10. PablockDA
    PablockDA
    5/5,
    Version: 2
    Maybe add a way that player can buy the slots by money so it is not necesary the permissions. Algo make a way to can edit per container the price