ECO

EcoPlayerUtilities for ECO

Released (updated ago). Ranked 181 of 230 with 163 (0 today) downloads

Published by Salbris - learn more (mod ID: 1869540)

examplescreenshotlist.png
examplescreenshotneeded.png

Installation

Simply extract the folder into your server's mods folder and install the Elixir mods framework: Eco.mod.io

Usage

The mod provides two commands under the "/items" namespace. "/items list" and "/items needed" as described below. Each has been tested for performance and bugs on a real and active server. Also note all items listed are linked correctly so they should show a tooltip when hovered.

/items list {tagFilter="ALL"}, {includeBackpack=true}

Displays a list of all the player's items in all their stockpiles, vehicles, personal inventory, fuel slots, etc. Anything considered an inventory owned by the player in Eco.
- Can optionally filter by tag with the "tagFilter" option. Use "ALL" to match all items.
- Can exclude items in their player's backpack and hotbar by setting "includeBackpack" to false.

Examples:
/items list
List all items in all inventories.

/items list Food
Will list all items with tag "Food"

/items list ALL, false
Will list all items excluding the player's backpack and hotbar.

/items needed {targetUser}

Calculates all the ingredients needed to complete all the projects the player has queued up. It will use the same logic as the "/items list" command to figure out how much of the ingredients the player already has. It also considers the products of any projects as part of the available inventory. It considers all projects even if the table is not currently connected to storage, has no labor provided or requires a profession the player doesn't have.
- Can optionally calculate this for another user. This is especially useful if your server uses the Companies mod as this command only works on tables you own. Instead use the name of your companies manager user that was created to see what ingredients your company's projects require.

Examples:
/items needed
List all ingredients you need.

/items needed OtherUser
List all ingredients OtherUser needs.

Imagine you have two projects queued up: 10 Boards and 5 Hewn Logs. When you run /items needed it will calculate that you need 10 Hewn logs to complete the Board project and since you have 5 Hewn Logs queued up it will subtract them from the 10 you need and will list something like:
Hewn Logs - 5

Source Code

Full source code is available on Github: Github.com

Dependencies

NameAddedUpdated
Elixr Mods - EM Framework

Releases

FilenameSizeVersionAddedOptions
ecoplayerutilities.1.zip5.76kb1.0.0

ecoplayerutilities.zip5.75kb0.1.0

7 comments

Join the community or sign in with your gaming account to join the conversation:

Dave247
Dave247 @dave247

Unfortunately it will need to be updated again for 9.6 as it causes the server to crash on start-up.
Github.com

LO
loremaster.cerberus @loremastercerberus

will this be updated? I think my server that used this mod might be doomed without an update

Salbris
Salbris @salbris

Sorry about the delay. I've uploaded a 9.5.2 compatible version now!

ecomodjeff
ecomodjeff @ecomodjeff

Anyone have issues with 9.5.0? I am installing this for the first time and cannot get it to work. It is crashing when I start up the server.

Salbris
Salbris @salbris

Sorry about the delay. I've uploaded a 9.5.2 compatible version now!

ecomodjeff
ecomodjeff @ecomodjeff

I'm getting nothing but error messages when running these commands. I can see the command tips so it seems to be installed but it keeps saying I did not specify a recipient for my message. I used "/needed myusername"

OZB
OZB @ozb

Any news on an update for 9.6?