Skip to content

Latest commit

 

History

History
93 lines (67 loc) · 6.39 KB

README.md

File metadata and controls

93 lines (67 loc) · 6.39 KB

du-storage-monitoring

a simple storage monitoring for Dual Universe

Img001

Edit the code

img

Guilded Server (better than Discord)

You can join me on Guilded for help or suggestions or requests by following that link : https://guilded.jericho.dev

Description

WARNING: Breaking changes from v3.x - that script is now using the item id and not anymore the item name, read the container name pattern doc to know how to find it if you are looking for the v3.x version, you can still find it here: https://github.com/jericho1060/du-storage-monitoring/tree/v3.x but it won't be updated anymore

It's displaying on a screen the quantity and the percent fill of containers or hub.

It can support up to 9 screens and chose what is display on each (group feature)

To add a container to the system, you must rename it following that pattern: <prefix>_<itemId> For a Hub, you must use that pattern: <prefix>_<itemId>_<containserSize>_<amountOfContainers>

  • <prefix>: the prefix that enable monitoring, by default MONIT, see options to customize it
  • <itemId>: The ID of the item in the game database, you can search the ID of item here: https://du-lua.dev/#/items
  • <containerSize>: if a hub, the size of the containers linked (default to XS)
  • <amountOfContainers>: if a hub, the amount of containers linked

By default, the script is grouping all containers or hub that contains the same items on a single line and add the values. See option if you want to disable it.

By default, the list is sorted by item tier and then by name

Installation

required elements

  • screen : 1 (up to 9)
  • programming bard : 1
  • databank : 1 (optional)

links

The programming board must be linked to the core and to the screens. If linked to a databank, the parameters will be saved for easier update.

installing the script

Copy the content of the file config.json then right clik on the board, chose advanced and click on "Paste Lua configuraton from clipboard"

Options

By rightclicking on the board, advanced, edit lua parameters, you can customize these options:

  • useDatabankValues: if checked and if values were saved in databank, parmaters will be loaded from the databank, if not, The ones from LUA Parameters will be used. Disable this parameter if you need to update values. Unchecked by default.
  • PrefixScreen1: the prefix value to add to each containers that should be monitored and display on the 1st screen. Default to s1_, you must keep the _ in that option
  • PrefixScreen2: the prefix value to add to each containers that should be monitored and display on the 2nd screen. Default to s2_, you must keep the _ in that option
  • PrefixScreen3: the prefix value to add to each containers that should be monitored and display on the 3rd screen. Default to s3_, you must keep the _ in that option
  • PrefixScreen4: the prefix value to add to each containers that should be monitored and display on the 4th screen. Default to s4_, you must keep the _ in that option
  • PrefixScreen5: the prefix value to add to each containers that should be monitored and display on the 5th screen. Default to s5_, you must keep the _ in that option
  • PrefixScreen6: the prefix value to add to each containers that should be monitored and display on the 6th screen. Default to s6_, you must keep the _ in that option
  • PrefixScreen7: the prefix value to add to each containers that should be monitored and display on the 7th screen. Default to s7_, you must keep the _ in that option
  • PrefixScreen8: the prefix value to add to each containers that should be monitored and display on the 8th screen. Default to s8_, you must keep the _ in that option
  • PrefixScreen9: the prefix value to add to each containers that should be monitored and display on the 9th screen. Default to s9_, you must keep the _ in that option
  • screenTitle1: the title display on the 1st screen, not displayed if empty or equal to "-"
  • screenTitle2: the title display on the 2nd screen, not displayed if empty or equal to "-"
  • screenTitle3: the title display on the 3rd screen, not displayed if empty or equal to "-"
  • screenTitle4: the title display on the 4th screen, not displayed if empty or equal to "-"
  • screenTitle5: the title display on the 5th screen, not displayed if empty or equal to "-"
  • screenTitle6: the title display on the 6th screen, not displayed if empty or equal to "-"
  • screenTitle7: the title display on the 7th screen, not displayed if empty or equal to "-"
  • screenTitle8: the title display on the 8th screen, not displayed if empty or equal to "-"
  • screenTitle9: the title display on the 9th screen, not displayed if empty or equal to "-"
  • containerProficiencyLvl: Talent level for Container Proficiency
  • containerOptimizationLvl: Talent level for Container Optimization
  • containerFillRedLevel: The percent fill below gauge will be red
  • containerFillYellowLevel: The percent fill below gauge will be yellow
  • groupByItemName: if enabled, this will group all entries with the same item name (enabled by default)
  • QuantityRoundedDecimals: maximum of decimals displayed for the quantity value
  • PercentRoundedDecimals: maximum of decimals displayed for the percent fill value
  • fontSize: the size of the text for all the screen
  • showGreen: if not enable, line with green gauge will be hidden
  • showYellow: if not enable, line with yellow gauge will be hidden
  • showRed: if not enable, line with red gauge will be hidden
  • maxAmountOfElementsLoadedByTick: the maximum number of element loaded by tick of the coroutine on script startup (lower that value if you encounter cpu load errors on startup, default to 5000)
  • maxAmountOfElementsRefreshedByTick: the maximum number of element refreshed by tick of the coroutine when refreshing values (lower that value if you have cpu load errors after all emlements are loaded, default to 200)
  • verticalMode: rotate the screen 90deg (bottom on right), disabled by default

Support or donation

if you like it,

You can also donate in game by sending credits to jericho1060