Jump to content

Custom Item Definitions 2.5.4

   (5 reviews)
Message added by 0xF,

To fix the red errors on the left “Load invalid item id” after starting the server, please read this support ticket.

 

Spoiler

image.png

 

2 Screenshots

  • 29.5k
  • 4.9k
  • 91.03 kB
  • Update details
    v2.5.4
    Released
    Download size91.03 kB
    Total versions33
    Time between versions 7 days
    Typical update pace About every 31 days
    Freshness Updated today

What's New in Version 30062   See changelog

Released

2.2.2 version

  • Store icons in file storage are now produced later so as not to cause a db opening error.


2.2.0 version

  • The fallback system has been updated.
    • The library now holds items in the save file more reliably and recovers without restarting the server after successfully loading the plugin that provides the item.

      The fallback system only works when the library is loaded. If the library is not loaded before the save file is loaded and further saving occurs - ITEMS WILL BE LOST.  
      The server makes several saves so that you can roll back the save.
       
  • Added support for icons from server storage. Use FileStorage.server.Store to store your image to storage (different image sizes can be used, not necessarily 512x512). After receiving the CRC, use it when registering the item.
    public uint iconFileId;

     

  • Minor code refactoring:
    • Now, when using the reference approach to register an item, you should use:
      CustomItemDefinitions.For(this).RegisterDefinition(new ItemDefinitionDto
      {
      	...
      });
    • The old methods still work, but are marked with the Obsolete attribute.
    • The changes do not affect the plugin API via hooks.

 

 

  • Like 7
  • Love 1

User Feedback

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.8m
Total downloads
Customers
11.8k
Customers served
Files Sold
167.5k
Total sales
Payments
3.6m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.