Space Engineers

Space Engineers

Not enough ratings
Automatic Ejector
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.116 MB
27 Aug, 2021 @ 6:57am
3 Feb, 2022 @ 3:45am
14 Change Notes ( view )

Subscribe to download
Automatic Ejector

Description
Automatically ejects stone using just connectors and ejectors on ships or stations without sorters and ejectors. Ejection won't be turned on if connector or ejector contains other ores except the ones configured so that you won't lose any of the important content!

If you like my works and feel like you would support me, consider buying me a coffee https://www.buymeacoffee.com/JetDave

Basic Setup
  • Install the script on a programmable block
  • (Optional) Configure the ores you want to be ejected. Write the ore name with the first capital letter (ex. Stone, Silicon)
  • (Optional) Designate a sorter to tell when the ejection should be enabled or not with the [AE_DES] tag
  • (Optional) Add [AE_IGN] tag to the blocks you don't want the script to use
  • (Optional) (Optional) Add [AE] tag to the LCD blocks you want the script log on or [AE:(panelIndex)] for blocks with multiple LCDs

Run Arguments
  • toggle to toggle the automatic ejection
  • on to turn on the automatic ejection
  • off to turn off the automatic ejection

Check out my other script Battery Manager Plus!!!

Latest Changelog
  • You can now add every ore you need in the Custom Data config under the section "Ores selection"

Complete Changelog
  • Better LCD log
  • Changed script tag from JDAE to AE
  • Support for a designated sorter with tag [AE_DES]
  • Now the script tries to move the ores which should not be ejected from connector/ejectors to other inventories
  • Ejection won't be turned on if connector or ejector contains other ores except the ones configured
  • Configurable ores to eject
  • Significally improved the multiple ejection
  • To manage the script there are now run arguments!
  • Multiple connectors are now supported!
23 Comments
MrXSmiles420 25 Jan @ 12:03pm 
on argument wont work
Unruly 15 Dec, 2023 @ 10:47am 
Hi again, thanks as always for your mods.

I've just found a new wrinkle: if the programmable block AE is in is a small grid, it presumes the connector it's using is also small grid, apparently. I put a small grid on my LG miner, to be able to fit stuff like extra pb's, survival kit, etc., and when it was ejecting, it's only ejecting 400 stone at a time. while it was doing so, I manually started filling the connector w/ stone and it goes back to expelling the max that a LG connector can do.
DMN Nitemare 31 Dec, 2022 @ 3:56pm 
Jet if possible I would love a connector modification that would modify how much ore can be dumped at a time during ejection. But overall this script will be a huge help.
TurboProp  [author] 31 Mar, 2022 @ 5:00am 
Xanolego, I'm glad you liked my script, thank you very much for the compliments! If you want some improvements, please report them to me and I will try to implement them!
TurboProp  [author] 31 Mar, 2022 @ 4:59am 
Hi Unruly! I can add a run-argument to toggle the ejection for a specific ore if that's what you need!
xenolego 19 Mar, 2022 @ 9:47pm 
Thanks for this one! The old stone ejection script I was using stopped working a bit ago and the replacement one I was using only looked at one cargo container to draw stone from (ignored stone in the drills and other cargo containers).


This one seems to do what I want and I'm glad you put it together!
Unruly 11 Mar, 2022 @ 10:54am 
I was just wondering if it was possible for us to pass the article to be ejected by run arguments? Rather than docking, I'm near my destination and auto-ejecting paydirt by altering the custom data.
TurboProp  [author] 26 Jan, 2022 @ 12:34pm 
Hey Calibrated! Yep, it does support LCDs, you can use the script tag [AE] for blocks with a single lcd or [AE:displayNumber] for cockpits or other blocks with multiple lcds. With a designated sorter you can use this script with other scripts like the PAM (Path Autominer), when one of the other scripts turns on the designated sorter this script will start to eject the ores and will stop if the designated sorter is turned off. You can configure the ores from the Custom Data of the programmable block which is running the script, only Stone and Ice are supported, tell me if you need other ores and I will add them to the supported ones
Calibrated 23 Jan, 2022 @ 11:58pm 
and what "support" does this do? "Support for a designated sorter with tag [AE_DES]"
Calibrated 23 Jan, 2022 @ 11:57pm 
Hey there! AWESOME script.. Hey is there LCD support? and how do I change the ores to be ejected?