// EnderBank | [1.20] | Ender Chests To Banks! \\ icon

// EnderBank | [1.20] | Ender Chests To Banks! \\ -----

Turn ender chests into item banks much like popular rpg servers! [WORKING SEARCH FEATURE ;)]



[​IMG]
Spigot is terrible at showing gifs properly so preview of the plugin is:
https://imgur.com/VtBRhUj
---------------------

Purpose: EnderBank is meant to act as a clone of popular RPG servers' ender storage systems (not to mention this plugin's search feature ACTUALLY WORKS). I can't list which server this plugin is from *cough* one of the most popular MMORPG servers *cough* but my goal was to not only clone their plugin but make a version that actually works. If you don't know how the system works, all ender chests become synced storage devices in which players can store items. These storages also come with buttons to dump certain items automatically and the ability to be searched.

Requirements:
  • Java 17. This means NOT java 8. If I get one more person telling me a plugin is broke because THEY aren't using the most up to date and supported java version I'm going to have a mental breakdown. Please stop doing this. Update yourself. Get some help.
  • Vault
  • An economy plugin (I can't list one as there are many)
Test Servers:
  • I have none yet. This is awkward.
Command:
  • /enderbank open <player> - "enderbank.staff" - Opens another online player's bank.
  • /enderbank reload - "enderbank.staff" - Reloads config.yml (Not player banks because that can cause corruption)
  • /enderbank wipe <player> - "enderbank.wipe" - Wipes player's EnderBank.
Known Bugs:
  • Everything is depending on the unique id tied to minecraft accounts. If you run a server in offline mode, this unique id is made up by your server. It is tied to a user's name. If a user changes their name, there is no way to obtain their enderbank unless they change their name back.
[​IMG]
Automatically Works: Install the plugin and boom all ender chests become ender banks when you right click them. Do keep in mind upon installing this plugin players will be unable to ever open their ender chest inventory again.
Vanilla Ender Storage -> EnderBank Automation: Although players can't access their vanilla ender storage again after installing this plugin, it will automatically carry over players' vanilla items into their enderbanks the first time they attempt to open it.
Unlimited Storage Size: Theoretically store infinite items.
Customizable Page Pricing: Edit page pricing in config.yml
Purchase Pages w/ Items: You can either charge currency, items, or both to upgrade to more pages. (GUI isn't dynamic to reflect items required properly yet I know but the feature took a while to implement and I'm sick of working on it for now)
Optional Permission Based Page Purchasing: If you have a donor you want to have 3000 pages as opposed to your default 3, you can now do that! I'm not here to lecture on or question your morals :) Requires enabling in config.yml
Special Dump Inventory Buttons: Refer to pics in spoiler. (Disable-able by server if you see fit)
[​IMG]
[​IMG]
Search Storage: Storage pages can get out of hand so simply search for exactly what you want.
[​IMG]
[​IMG]
[​IMG]
Customizable GUI Items: Customize the GUI items in config.yml to better suit your server's theme .
Sound Upon Opening:
Play a sound upon opening players' banks.
Blacklist Worlds: Does exactly what you would guess it does.
Blacklist Item Dumps: Do you have a server switching compass or a tutorial/guide book players probably don't want leaving their inventory? Add it to the blacklist and upon dumping entire inventories into the EnderBank, those items will be ignored. (They can still be manually placed).
Wipe Banks Safely: Wipe a cheater's EnderBank via the wipe command. It will safely be backed up in case of accidental wipes and fully deleted the next reload. Specifics regarding functionality can be found HERE.

[​IMG]
1. Install the .jar
2. That's it
3. No really that's it (aside from configuring page pricing... you might wanna consider doing that)
Code (Text):
##########################################################
#                   EnderBank Config                     #
##########################################################

Default_Page_Price: 10
#This is how much the first bank page will cost
Page_Price_Multiplier: 1
#This is how much the bank page cost will be multiplied
#by for every additional page.
Page_Price_Addition: 0
#This is how much the bank page cost will be increased
#by for every additional page.

Use_Item_For_Page_Price: false
#Enable this if you wish to use an item to purchase new pages.
#This does NOT replace cash but works WITH cash. Set cash to 0
#if you only want items for purchase

Page_Price_Items:
2:
  id: "STICK"
  amount: 2
#This item "2" is the item required for the second page (first unlocked). Same goes for other pages.
Default:
  id: "EMERALD"
  name: "&r&cEnderBank Storage Upgrade"
  amount: 1
  lore:
   - "&r&7Use me to upgrade your EnderBank page count!"
#This default item is the one that will be looked for if a specific page doesn't
#have an item like how page 1 does above.
#If you wish to cap the EnderBank page counts, simply put specific items for all
#the pages you wish to include, and then make the default item something unobtainable.

Must_Look_At_Chest_To_Search: true
#This makes it so players must be looking at an EnderChest
#to utilize the search feature, resulting in a "never left
#the chest" experience despite actually exiting their bank
#to enter their search term in the chat.

Enable_Open_Bank_Noise: true
#Enable this to play a noise upon opening a player's bank
#It currently plays every time the first page is opened as this
#is the only way it can work with the way the backend saves
#the inventories and opens other pages.

Open_Bank_Noise: "BLOCK_ENDER_CHEST_OPEN"
#This is the correct name for the noise in 1.15.2
#If you'd like to use a different noise or run a different minecraft
#version, check documentation for exact sound name.

Open_Bank_Noise_Global: true
#If this is true, then the noise made upon opening a players'
#bank will be heard by all nearby players. If false, only
#the player opening the bank will hear it.

#Disabled_Worlds:
#- Default
#- Default_Nether
#- Example3
#This is a list of worlds that the plugin is disabled in.
#To enable this feature, simply uncomment it.

Disable_Dump_Into_Inventory: false
#Setting this to true disables use of the dump buttons.

Dump_Into_Inventory_Blacklist:
item1randomidentifier:
  id: "COMPASS"
  name: "&cServer Changer"
  lore:
   - "&rRight click to change servers!"
item2randomidentifier:
  id: "STICK"
#Items on this blacklist will not automatically be carried over into EnderBanks upon clicking the
#dump into inventory buttons. Add server switching compasses, tutorial books, or anything else like that
#you see fit. PROBABLY REMOVE THE VANILLA STICK FROM IT.

##########################
###Syntax for each item###
##########################

#id: DIRT                            (Required)
#amount: 1                            (Optional)
#name: "Dirt"                        (Optional)
#enchantments:                        (Optional)
# - "arrowdamage:1"                    (Optional)
# - "arrowfire:1"                    (Optional)
# - "arrowinfinite:1"                (Optional)
# - "arrowknockback:1"                (Optional)
# - "damage:1"                        (Optional)
# - "digspeed:1"                    (Optional)
# - "durability:1"                    (Optional)
# - "fireaspect:1"                    (Optional)
# - "knockback:1"                    (Optional)
# - "lootbonusblock:1"                (Optional)
# - "lootbonusmob:1"                (Optional)
# - "luck:1"                        (Optional)
# - "protectionfall:1"                (Optional)
# - "protectionfire:1"                (Optional)
# - "silktouch:1"                    (Optional)
#tags:                                (Optional)
# - "playerskullskin:SKINVALUE"        (Optional)
# - "vanilladurability:256"            (Optional)
# - "unbreakable:true"                (Optional)
# - "custommodeldata:1234567"        (Optional)
#flags:                                (Optional)
# - "HIDE_ATTRIBUTES"                (Optional)
# - "HIDE_DESTROYS"                    (Optional)
# - "HIDE_ENCHANTS"                    (Optional)
# - "HIDE_PLACED_ON"                (Optional)
# - "HIDE_POTION_EFFECTS"            (Optional)
# - "HIDE_UNBREAKABLE"                (Optional)

##########################################################
#                       GUI Items                        #
##########################################################

#Syntax:
#%eb_pagecost% -> Cost of next page
#%eb_pagecostitemname% -> Name of item required for next page purchase
#%eb_pagecostitemamount% -> Amount of item required for next page purchase

GUI:
  Next_Page:
    id: PAPER
    name: "Next Page"
  Buy_Next_Page:
    id: PAPER
    name: "Next Page"
    lore:
    - "&rClick to Purchase"
    - "&rCost: %eb_pagecost%"
  Confirm_Buy_Next_Page:
    id: YELLOW_STAINED_GLASS_PANE
    name: "Confirm Purchase"
    lore:
    - "&r&oClick again to confirm purchase!"
  Previous_Page:
    id: PAPER
    name: "Previous Page"
  Dump_Equipment:
    id: IRON_HELMET
    name: "Dump Equipment"
    flags:
    - HIDE_ATTRIBUTES
  Dump_Items:
    id: CHEST
    name: "Dump Items"
    lore:
    - "&r&7Left click to dump all items in inventory (excluding the hotbar)"
    - "&r&7Right click to dump all items in inventory (including the hotbar)"
  Search:
    id: COMPASS
    name: "Search"
  Separator:
    id: BLACK_STAINED_GLASS_PANE
    name: " "
    flags:
    - HIDE_ATTRIBUTES

##########################################################
#                        Version                         #
##########################################################

VERSION: 7
#Do not touch this. No touchy.

[​IMG]
I'm just a poor, poor, aerospace engineering college student. This is just a hobby. You have no need to give me money. However, if you wish to help pay for my overpriced books and classes, that would be extremely appreciated.
-_- https://paypal.me/AaronSkeels -_-​
Resource Information
Author:
----------
Total Downloads: 10,527
First Release: Dec 19, 2019
Last Update: Jun 27, 2023
Category: ---------------
All-Time Rating:
18 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings