Backpack Plus icon

Backpack Plus -----

Backpack




I recommend making a copy of the BackpackPlus folder before updating the plugin Remember to change only the .jar file and do not delete the BackpackPlus folder.

Fixed:
- Loading options for custom items (filling and overfill)

If something doesn't work as it should report the error on discord
----------, Nov 26, 2024

I recommend making a copy of the BackpackPlus folder before updating the plugin Remember to change only the .jar file and do not delete the BackpackPlus folder.

Changelog 20.09.2024 [1.4.4]


Fixed:
  • The code responsible for players' heads has been improved
  • Error with “Cannot have empty/air choice” has been fixed
Changed:
  • Needed libraries will now be loaded by “SpigotLibraryLoader”

If something doesn't work as it should report the error on discord
----------, Sep 20, 2024

I recommend making a copy of the BackpackPlus folder before updating the plugin
Remember to change only the .jar file and do not delete the BackpackPlus folder.

Changelog 14.09.2024 [1.4.3]

Improved:
  • Updated the code responsible for the commands
  • Command messages will depend on the language set (not all)
  • Empty messages will not be sent for players
  • Fixed sending messages when the player clicks on the backpack menu

Added:
  • Added command: /backpack resourcepack reload (permission: backpackplus.admin.resourcepack.reload) to reload resourcepack from config.yml
  • Added new values to language files
----------, Sep 14, 2024

Remember to back up the entire BackpackPlus folder and if you are using MySQL back up the backpack database as well.
Remember to change only the .jar file and do not delete the BackpackPlus folder.


Changelog 23.08.2024


Added:
  • New events for handling backpacks
  • Added ability to set custom items to gui as buttons, etc. [Preview]
  • Spanish language Translated by: Sopherine(isofix19)
  • Added support for the ResourcePackManager plugin
  • Default resourcepack will be in folder: BackpackPlus/pack (of course, changes to it will not be taken into account by the plugin, you must have a ResourcePackManager for the changes to take effect)
  • Added ability to turn off showing backpack contents in lore: show-backpack-content-lore
  • Added ability to block putting backpacks into containers (config.yml: block-backpack-insert-containers)
  • Added checking if the plugin is connected to the database. If it is not connected the plugin will be disabled

Changes:
  • Improved the code so that it works with events
  • Changes in config and [resourcepack], from now on it will also be in the BackpackPlus/pack folder

Added options to config.yml:
  • Custom fill object between buttons:
    • Gui.filling-use-custom-model - Whether it should use a custom item
    • Gui.filling-custom-model-id - Custom Model Id
    • Gui.filling-custom-model-material - Custom Model Material
  • Custom item to fill excess spaces in backpacks:
    • Gui.overfill-use-custom-model - Whether it should use a custom item
    • Gui.overfill-custom-model-id - Custom Model Id
    • Gui.overfill-custom-model-material - Custom Model Material
  • Custom Next page item:
    • Gui.page-next-button-use-custom-model - Should the next page button be as a custom model if it is on false will be used head player
    • Gui.page-next-button-custom-model-id - Custom Model Id
    • Gui.page-next-button-custom-model-material - Custom Model Material
  • Custom Previous page item:
    • Gui.page-previous-button-use-custom-model - Should the previous page button be as a custom model if it is on false will be used head player
    • Gui.page-previous-button-custom-model-id - Custom Model Id
    • Gui.page-previous-button-custom-model-material - Custom Model Material
  • show-backpack-content-lore - If the option is enabled it will show the contents of the backpack in lore
  • block-backpack-insert-containers - If this option is enabled putting backpacks into specific containers will be blocked
  • blocked-containers - List of containers to be blocked, that is, it will not be possible to put backpacks in them

Fixed:
  • From now on, backpacks should not be opened several times what happened in the case after RMB spamming
  • When a player loses connection or anything else the backpack should not leave locked
  • Fixed closing all backpacks when reloading the server
  • From now on, there should be no more problems with disappearing items from backpacks
  • Fixed the command to block items/materials - from now on, the command will save blocked items
----------, Aug 23, 2024

Before updating, make a copy of the BackpackPlus folder

Changelog 21.06.2024


Fixed:
  • From now on, the names of players who are in the database will be displayed normally not as Unknown
  • The code responsible for the database has been corrected
  • Fixed a bug whereby if an admin reviewed players' backpacks then players had a duplicate backpack when creating backpacks
Improved:
  • Code of several classes has been improved
  • Backpack opening time improved
  • Database code completely rewritten
  • From now on, you don't have to click 2 times to open the backpack
Added:
  • Added saving of player names to database
Please let me know of any errors Discord: link
----------, Jun 21, 2024

NOTE
this version causes errors with SQLite, if you are using version
1.3.2 or older do not upgrade to this one wait for the next one




Before updating, make a copy of the BackpackPlus folder

Changelog 16.06.2024



Added:
  • Support to 1.21

Fixed:
  • Fixed a bug whereby backpacks were not working on version 1.19
  • Fixed a bug whereby the config was not complete
Improved:
  • Corrected database code

Please let me know of any errors Discord: link
----------, Jun 15, 2024

Remember to make a copy of your BackpackPlus folder

Changelog 09.06.2024


Added:
  • Added ability to lock an item to prevent it from being placed in a backpack
  • Command to block items: `/backpack block <hand | name> [<Material Name>]` Permission: `backpackplus.admin.block` - Adds item/material to blocked list. If it gets bugged let me know

Fixed:
  • Fixed a bug related to fireworks that made it impossible to load a backpack.

Please let me know of any errors Discord: link
----------, Jun 9, 2024

Remember to make a copy of your BackpackPlus folder

Changelog 06.06.2024

Fixed:
  • Fixed an issue where a player could not create a new backpack due to a message indicating they already had one. This pertains to the limit-backpack-per-inventory option.
  • Fixed the Event responsible for item pickup. This pertains to the limit-backpack-per-inventory option.
  • Fixed the change of backpack material in the config.
  • Players who have never been on the server should now be displayed correctly.
Please let me know of any errors
----------, Jun 6, 2024

Remember to make a copy of your BackpackPlus folder

Changelog 14.05.2024


Added:
  • Ability to change plugin language (custom languages can be added)
  • Ability to set permissions for using a specific backpack
  • Ability to set permissions for crafting a specific backpack
  • Ability to block having more than one backpack at a time
Fixed:
  • Fixed the /backpack players command, it should now work correctly. Previously, it was bugging out and showing a message that no player had created a backpack yet.
Added options to config.yml:
  • language: - All languages are in the folder: localization, to add a language simply duplicate an already existing one and rename it
  • limit-backpack-per-inventory: - block the possibility of having more than 1 backpack in the inventory
  • permissions-to-use-backpack: - Whether to require permissions for a player to use backpacks (different for each tier)
  • crafting-backpack-requires-permission: - Whether the craft of the backpack is to require the appropriate permission
  • backpack-tiers.<tier>.permission-craft: - Permission required to craft the backpack
  • backpack-tiers.<tier>.permission-use: - Permission required to use the backpack
  • backpack-tiers.<tier>.can-be-crafted: - Whether the backpack can be crafted
Default Languages (you can add your own):
  • chi.yml - 中文
  • eng.yml - English
  • fre.yml - Français
  • ger.yml - Deutsch
  • jpn.yml - 日本語
  • pol.yml - Polski
  • ukr.yml - Українська
If you found a bug report it on my discord
----------, May 14, 2024

IF YOU ARE USING VERSION 1.1.0 DO NOT UPGRADE TO VERSION 1.2.1 WAIT FOR PATCHES

Changelog 29.04.2024


Added:
  • New option added for config.yml:
    • backpack-tiers.tier.is-skull: If it is on true then this backpack will use the head of the player
  • From now on, you can use backpacks as player heads and as resourcepacks
Improved:



    • from now on if: backpack-loading, backpack-loaded, backpack-updating, backpack-loading-error are empty messages will not be sent to the player

[​IMG]

If there are any problems or if you have any report them on discord
----------, Apr 29, 2024

Remember to back up your database and config before upgrading!

Changelog 20.04.2024

Added:
  • Added ability to use backpacks as player heads and thus disable resourcepack.
  • Added command: /backpack players which displays all players who have backpacks.
  • Added: when a player changes the name of a backpack in the anvil there will always be white normal text (not diagonally)

How to enable player heads instead of resourcepack:
  1. Open config.yml.
  2. To backpack-tiers under displayName add: backpack-skull-hash: <skull hash (e.g.: https://minecraft-heads.com/custom-heads/head/77242-backpack) For Developers: Value>.
  3. Change option: use-skulls-backpack to true and from now on resourcepack will not be used
  4. Reload your server

Remember that the use-skulls-backpack option on the true value will disable resourcepack support
I do not recommend enabling this option if you have previously used resourcepack.
If you want backpacks from resourcepack and from players' heads then wait for the next update.


If you have any problems please create a ticket.
----------, Apr 20, 2024

Remember to back up your database and config before upgrading!

Changelog 27.03.2024


Added:
  • New command: /backpack backpacks <online Player-name | offline player UUID>, Command permission:
    Code (Text):
    backpackplus.admin.view.backpacks
  • Added permissions to the /backpack resourcepack command:
    Code (Text):
    backpackplus.command.resourcepack
  • New values added to config.yml:
    • backpack-material: Backpack Material Stack default BROWN_DYE REMEMBER IF YOU CHANGE THE BACKPACK MATERIAL HERE YOU MUST ALSO CHANGE THE RESOURCEPACK
    • backpack-loading: Message when the backpack starts to be loaded from the database (after player interaction)
    • backpack-loaded: Message when the backpack has been loaded
    • backpack-updating: Message when the backpack is updating and the player tries to open it
    • backpack-loading-error: Message when the backpack could not be loaded
    • backpack-is-used-by-another-player: When a player tries to open a backpack, but it is being used by another player
    • backpacks-idle-cache-clear: After what time (in seconds) the backpack is not used, it is to be deleted from memory.
    • player-backpacks-gui-idle-cache-clear: After what time (in seconds) the player's backpack gui is not used, it is to be deleted from memory.
    • cache-clear-frequency: Every how many seconds to be checked
    • Gui.filling-color-buttons: This is for the lower Blank Stained Glass Pane at the ex buttons: [BTN] [x] [x] [x] [x] [x] [x] [x] [BTN]
    • Gui.filling-color-buttons-glow: Is it to glow
    • Gui.colour-overfill-slots: colour of overfill slots
    • Gui.colour-overfill-slots-glow: Is it to glow
    • backpack-crafting-change: Message when admin changes crafting
    • backpack-crafting-cannot-change: Message when a player tries to change crafting when it is empty or the same as before
    • backpack-crafting-change-cancelled: Message when admin cancels crafting changes
  • Possibility of changing the title of the backpack's inventory so that it is not the same as the name of the backpack:
    • To make the name different just add guiTitle preferably to be under displayName
    • Possibility to add pages e.g. 1/3, just add to guiTitle:
      • %page% Current page of the backpack
      • %max_pages% Number of backpack pages
      • Example:
        Code (Text):
        guiTitle: 'Backpack Inventory title &f%page% &8/ &7%max_pages%'
  • Automatic cleaning of unused backpacks to avoid memory leaks
  • From now on, if a value is missing in the config, it will add it
Changed:
  • The entire code has been improved

If there are errors report them on my discord Link.
----------, Mar 27, 2024

Fixed:
  • Incorrect saving of the config.yml file which resulted in only lines corresponding to resource packs being saved.
Added:
  • From now on, if there is an item with a name instead of a type in the backpack, that name will be displayed.
Other:
  • If you are using MySQL and encounter issues with backpacks, please reach out to me on Discord: itqerk.
----------, Feb 18, 2024

Improved:
  • From now on, UpdateChecker should work normally
  • Fixed the command to load Resourcepack while on the server
  • From Now you can put your backpack in Item Frame simply you have to crouch down

If you have any ideas or suggestions you can write in private message or on discord: itqerk#0
More prefer contact via discord - faster to write back
----------, Dec 28, 2023

Fixed:

  • Backpacker should no longer color plaques and sheep (If you continue to experience this problem please report it)


Added:

  • Resourcepack will display a message to accept resourcepack, if the player does not accept it he will be kicked off the server, this can be changed in config[​IMG]




If you use my resourcepack (not changed) then add what config.yml:
Code (YAML):
# You can also download the resourcepack and change it: https://www.dropbox.com/scl/fo/kha2b9dqw1fiwnhnawlmf/h?dl=1&rlkey=jfslhpxfb3c937hhn5vhjcq1x
#
# If you have your own resourcepack then upload it
# https://mc-packs.net/
#
# Download URL:
resource-pack-url
: "https://download.mc-packs.net/pack/6998056b7754a0a2c71a61ba66f26908f6816194.zip"
# SHA-1 Hash:
resource-pack-hash
: "6998056b7754a0a2c71a61ba66f26908f6816194"
# If you are using server resourcepack set this to false
use-resource-pack
: true

# If the player does not accept the resourcepack, then if the value is on true it will be discarded
force-resource-pack
: true
resource-pack-message
:
 - "&l&8[&6To play you must accept the server resourcepack&l&8]"

My discord: itqerk
----------, Dec 4, 2023

Fixed:
  • Recipes should show up in the book
  • Fixed a bug related to PlayerProfile on version 1.20.2




If there are any errors please contact me
discord: itqerk
----------, Nov 11, 2023

do not update if you have a version less than 0.0.4 because old backpacks may not work and errors may appear

Fixed:
  • Database connection error (Please write if the message continues to appear)
  • Error when reloading plugin with message about duplicate permissions
  • Other minor improvements
Added:
  • command: /backpack resourcepack

If you found an error report it
Thanks
----------, Aug 2, 2023

do not update if you have a version less than 0.0.4 because old backpacks may not work and errors may appear

Fixed:
  • Database connection error (Please write if the message continues to appear)
  • Error when reloading plugin with message about duplicate permissions
  • Other minor improvements
Added:
  • command: /backpack resourcepack


If there are any errors please report them
Thanks
----------, Aug 2, 2023

Keep in mind that if you have been using a version lower than 0.0.4, I do not recommend upgrading to the latest version (0.0.5) because the item storage system is different than on 0.0.3.
If you decide to upgrade to the latest version from the old one, you will lose your previous backpacks.



Fixed continuous return of items when canceling a crafting change, this can also be turned off in config


If you need a basic config:
Code (YAML):
# https://colors-picker.com/hex-color-picker/
# From this page you can take the color hex, of course you can from other pages.
# You can also use regular colors e.g. &2
Gui
:
  chose-crafting
:
    title
: "#194d33Choose which backpack you want to change crafting"
  edit-crafting
:
    title
: "#194d33You are changing the crafting %crafting%"
Command
:
  no-permissions
: "&4You do not have the permissions to use this command"

Messages
:
  cooldown
: "#eb0000You must wait before using it again"

# Time in milliseconds, 1 second = 1000 milliseconds
backpack-cooldown
: 2000

# Set to true if it should return items after canceling a crafting change
return-items-on-close
: true
# Link to your resourcepack with your own backpacks
# remember that customModelId corresponds to the id of the backpack
# If you want to add a backpack model remember to add it to brown_dye.json in the server resourcepack

# Example brown_dye.json:
#    "parent": "minecraft:item/generated",
#    "textures": {
#        "layer0": "minecraft:item/brown_dye"
#    },
#    "overrides": [
#        {
#            "predicate": {
#                "custom_model_data": 800001 <- Here is the id of the backpack you should set in config
#            },
#            "model": "item/backpack_tier_1" <- Your model here
#        },
#        {
#            "predicate": {
#                "custom_model_data": 800002 <- Here is the id of the backpack you should set in config
#            },
#            "model": "item/backpack_tier_2" <- Your model here
#        },
#        {
#            "predicate": {
#                "custom_model_data": 800003 <- Here is the id of the backpack you should set in config
#            },
#            "model": "item/backpack_tier_3" <- Your model here
#        }
#    ]
#}

# You can also download the resourcepack and change it
resource-pack-url
: "https://www.dropbox.com/scl/fo/kha2b9dqw1fiwnhnawlmf/h?dl=1&rlkey=jfslhpxfb3c937hhn5vhjcq1x"
# If you are using server texturepack set this to false
# Just remember to add the texture and model of the backpack
use-resource-pack
: true

# Crafting Slots
# [1] [2] [3]
# [4] [5] [6]
# [7] [8] [9]
backpack-tiers
:
  1
:
    displayName
: "#E3680EBasic Backpack"
    id
: 800001
    size
: 9
    crafting
:
      1
: leather
      2
: iron_ingot
      3
: leather
      4
: iron_ingot
      5
: chest
      6
: iron_ingot
      7
: iron_block
      8
: iron_ingot
      9
: iron_block
  2
:
    displayName
: "#E0B715Golden Backpack"
    id
: 800002
    size
: 20
    crafting
:
      1
: leather
      2
: gold_ingot
      3
: leather
      4
: gold_ingot
      5
: chest
      6
: gold_ingot
      7
: gold_block
      8
: gold_ingot
      9
: gold_block
  3
:
    displayName
: "#00C2C6Diamond Backpack"
    id
: 800003
    size
: 54
    crafting
:
      1
: leather
      2
: diamond
      3
: leather
      4
: diamond
      5
: chest
      6
: diamond
      7
: diamond_block
      8
: diamond
      9
: diamond_block

Database
:
  # MySQL | SQLite
  type
: SQLite
  host
: localhost
  port
: 3306
  username
: root
  password
: ""
  database
: backpack

If you find an error report it
My discord: itqerk
----------, Jun 21, 2023

Almost 80% of what was there has been changed, so if you are using an older version do not upgrade to this version.

New features:

  • Ability to create new backpacks with a given number of slots
  • Ability to change the texture as well as the model of the backpack
remember to set custom model data in brown_dye.json if you are adding a new backpack

Links:

----------, May 23, 2023

Added:
  • Update Checker
  • Showing what items are in a backpack:
update.png
  • Adding a cooldown for the use of backpacks
----------, May 5, 2023

Resource Information
Author:
----------
Total Downloads: 4,630
First Release: May 4, 2023
Last Update: Nov 26, 2024
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings