1.0.1.10e Mar 10, 2024
Bug fix & Additions

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.


1.0.1.10d Mar 10, 2024
Fix bug

Fixed an issue where locked items could be put using the numbers to put items in the inventory (HOTBAR_SWAP).

Video bug

Many thanks to Rain_G for reporting this bug <3


1.0.1.10c Mar 5, 2024
Dupe fix

Fixed a dupe that was made when making too many quick clicks on drop items. Thanks to jhqwqmc for reporting this dupe! <3


1.0.1.10b Mar 4, 2024
Small Repair
I simply fixed a bug of mine, that the blacklist didn't work because I made a mistake when placing the variables and I put another one instead of the blacklist.
 
Also, recipes now load in the same thread as the bukkit one.

1.0.1.10 Mar 4, 2024
Big Update

IMPORTANT MOVE -> StorageMechanic.JAR TO "PLUGINS/"

 

To see all the news go to my github. I added so many things that if I start writing here I won't finish in 1 week.

Commits · Wuason6x9/StorageMechanic (github.com)

Commits on Jan 10, 2024 to Commits on Mar 3, 2024

 


1.0.1.9 Dec 18, 2023
fixed bugs and api commands
The following bugs have been fixed:
 
- solved the problem that if we click on an item storage and there are 64, the 64 item storages will not be made, only 1 will be made and it will be subtracted from the stack and the remaining one will be 63
 
- Fixed a problem where when putting an event in an action, the event was executed even if in the action you put execute_as: api, if it was not an api, it was executed even if it was blockstorage.
 
 
Added things:
 
The following variables to actions have been added if you use execute_as: api
 
- $api_id$
- $api_type$
 
 
The following commands have been added:
- sm api create <id> <storageConfig>
- sm api createIfNotExistAndOpen <id> <storageid> <page> <player / OPTIONAL>
- sm api delete <id>
- sm api exist <id>
- sm list
- sm open <id> <page> <player / OPTIONAL>
- sm saveAndUnload <id>
 
 

1.0.1.8 Nov 12, 2023
Added new things and fixed a bug

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.


1.0.1.7 Oct 31, 2023
A big update - read it carefully, it's very important

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.


1.0.1.6 Aug 31, 2023
Added new ItemInterface & Fixed errors

A new item interface was added, this makes it delete the items in the specified slots or pages.

example:

itemCleaner:
    itemType: CLEAN_ITEM
    item: 'mc:stone'
    displayName: '<gold>Clean storage.'
    properties:
      pages: [0-2]
      slots: [0-53]

An API method was added to add items to the storage respecting the whitelist lists, etc.

Fixed sm Collect{} skill

 


1.0.1.5 Aug 31, 2023
Added new Skill & Fixed errors!

Fixed a small bug where ~onOpenStorage was not working correctly
Removed an annoying console message
Added SmCollect{} Mythic Skill

Uses:

- SmCollect{} @IIR{r=3;sort=NEAREST} ~onTimer:40

It is used to take all the items around the mob.


1.0.1.4 Aug 27, 2023
Fixed multiple bugs & Added more functions

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

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

1.0.1.3 Aug 2, 2023
Fixed a bug!

fixed spam console error.

UPDATE MECHANICS
LINK


1.0.1.2 Jul 29, 2023
Bug fix & Added new System CustomBlocks

Fixed general bugs as well as a bug that could open the storage after having broken it using the SEARCH_PAGE and a glitch that allowed adding the item that contained the itemstorage within the same storage, which broke the plugin

Added this new property to the Furniture Storage,Block Storage,Item Storage Configuration:

properties:
  isStorageable: false

Download the new version of mechanics was also updated!!!!!
Mechanics


1.0.1.1 Jul 28, 2023
Updated to 1.20.1

remember to update mechanics so everything works correctly i made several big changes


Mechanics


1.0.1 Jul 28, 2023
New StorageMechanic

Check the wiki to see everything that the New StorageMechanic brings

Wiki


1.0 Oct 4, 2022