Storage Mechanic v1.0.2

Backpacks, Chests, and more, create your own storages!
Updated to 1.0.2, changed ItemBuilderMechanic to ItemBuilder
Added support for new versions and fixed a dupe
Fixed bug that when putting only one number in the default item in the amount gave an error example "amount: 1" this gave an error.
Added new parameter in the config to give all recipes when joining.
Lowered the auto-save time to 5 minutes in the config.
Fixed this bug: https://mclo.gs/5RybEbh

Added 2 new settings

1.https://wiki.techmc.es/storagemechanics/config/storage-config#config
Added a setting to limit the maximum players that can be opening storage

2.https://wiki.techmc.es/storagemechanics/config/item-interfaces#id-3
Added a property to the search page interface item to limit the distance at which the storage can be opened.
There are 2 problems with this update!


  1. You must delete the config.yml
  2. All current storage data must be deleted or the plugin will not work.

The most serious thing about this is the storage data. All of this is my fault for not having a version system applied. I want to apologize in advance. Additionally, it was also for a good cause to add a source system that was totally necessary.


I have good news, this will never happen again, you can rest assured, take precautions, people make mistakes, forgive me.



Added​


  • A new storage origin context system has been added to identify the specific origin of each storage unit. This enhancement will be crucial in identifying and removing storage devices that are no longer functional.




  • A new placeholder system has been added for the item interface. This system allows you to add an item interface and click on an item to place it on the cursor within the item interface. Later, you can remove the item by clicking again on the same item interface. For more information, you can check out our wiki at the following link: [LINK]




  • Support for furniture and skills from MythicMobs has been added. Now, support has been implemented for MythicCrucible skills with furniture. This enables seamless integration with MythicMobs and MythicCrucible elements, enhancing the user experience and providing exciting new gameplay possibilities. [LINK]




  • A new skill has been added: 'smExecuteAction{id=actionID}', which allows the execution of actions within StorageMechanic. You can now utilize this skill to perform various actions within the storage system. For more details on how to use this feature, please refer to our link: [LINK].




  • A new stages system has been added to the Storage configuration. What is its purpose? This system allows you to alter the appearance of the inventory, including its content such as item interfaces, as well as the inventory title. How can the stage be changed? The stage value can be adjusted through the configuration using the 'refresh' parameter, measured in ticks. This determines how often the stage changes. If set to 0, the stage will not change. What are the uses of these stages? When set to 'refresh: 0', you can utilize this feature with the actions system using 'setStage{stage=stageId}', which changes the stage. How can it be used? You can use it to change the stage when performing a custom crafting or an action that animates the storage. For further details, please refer to this link: [LINK].




  • Added Actions System.
    What does it include?
    • Event System: Executes actions based on events.
    • Local and Global Variables: Local variables are specific to the same storage, while global variables apply to all storages using the variable (Note: These variables are cleared upon server restart!).
    • List Variables System.
    • Functions System: Supports conditions and conditional actions.
    • Execution of Java Code within functions.
    • Conditions System.
    For more information, please visit this [LINK].




  • Added a New Item Interface.
    This new item interface allows for the execution of actions upon being clicked. [LINK]




  • Added a New Mechanic for BlockStorage.
    This new mechanic enhances compatibility with hoppers, allowing you to modify the ticks for speed and configure the items transferred per tick. [LINK]




  • Added 2 New Properties for Storage:
    • isTempStorage
    • dropAllItemsOnClose
    These new properties have a significant impact on the actions system. They allow the creation of temporary storage, meaning it won't be saved in the database, and another option where all items inside the storage are dropped upon closure. [LINK]




  • Added a New YAML Reading System.
    It is necessary to delete the config.yml file for the new system to function properly.




  • Added a New Data Saving System.
    Now, data can be automatically saved at specified intervals, configurable through the settings.

Fixed​


  • Resolved an issue where pushing a custom StorageMechanic block was causing an error.

Removed​


  • Temporary Removal of Support for MythicCrucible using the StorageMechanic System.
Fixed:
fixed error with whitelist and blacklist and block slot the problem was that when putting several configuration instances only the first one worked, the others did not read them so if you created several configurations of whitelist or blacklist etc they did not work.

Added:

Added new trigger for mythicmobs that can help you create unique storage!

~onOpenStorage
~onCloseStorage

Variations:


~onOpenS ~onOpen_Storage ~onStorageOpen ~onStorage_Open
~onCloseS ~onClose_Storage ~onStorageClose ~onStorage_Close

Use:

The close storage is executed when a storage is closed and no one else is using that storage.

The OpenStorage is executed when the storage is opened for the first time.

-------------------------------------------------------------------------------------------------------------------

Added a new item interface that is used to search for items in storage
YAML:
itemSearch:
    itemType: SEARCH_ITEM #type
    item: 'ia:storagemechanic:search_item'
    displayName: '<gold>Search items'
    properties:
      inv_id: searchItemAnvil #id of inventory search
      inv_result_id: searchItemAnvilResult #id of inventory result
      type: name #material or name
.
.
.
.
.
.
.
.
.
.
.
Buy a license now
Name a fair price:
EULA: Standard EULA
$
Secure checkout:
Share and earn
Refer this resource and earn a 10% commission.
1,537 Views
4 Purchases
6 Downloads
Oct 27, 2022 Published
Aug 23, 2024 Updated
5.00 star(s)
Average rating (1)
335.3 KB File size
Type
  1. Gameplay
  2. Library
Supported software
  1. Bukkit
  2. Spigot
  3. Paper
Supported versions
  1. 1.18
  2. 1.19
  3. 1.20
  4. 1.21
Creator
Recommended for you
#3 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 97 ratings
2,516 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 111 ratings
2,225 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 61 ratings
2,088 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 57 ratings
1,908 purchases
Protect your server from crash/dupe/packets exploits with the ultimate Spigot security fix plugin.
5.00 star(s) 22 ratings
1,227 purchases
Share and earn
Refer this resource and earn a 10% commission.
1,537 Views
4 Purchases
6 Downloads
Oct 27, 2022 Published
Aug 23, 2024 Updated
5.00 star(s)
Average rating (1)
335.3 KB File size
Type
  1. Gameplay
  2. Library
Supported software
  1. Bukkit
  2. Spigot
  3. Paper
Supported versions
  1. 1.18
  2. 1.19
  3. 1.20
  4. 1.21
Creator
Recommended for you
#3 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 97 ratings
2,516 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 111 ratings
2,225 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 61 ratings
2,088 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 57 ratings
1,908 purchases
Protect your server from crash/dupe/packets exploits with the ultimate Spigot security fix plugin.
5.00 star(s) 22 ratings
1,227 purchases
Top