Space Engineers

Space Engineers

Store Block - Create your own Trade Station
110 Comments
TheRanker 2 Jun @ 4:17pm 
one day the grids are showing.. now no grids are showing.. store is blank.

i cant get the store block to show anything for sale. its blank.
turned off.. turned on.. deleted.. replaced... set back up .. Nothign.. dont display a thing in the shop.

using this on a dedicated server with economy enabled.
yankeevader 9 Jan @ 6:54pm 
I made an updated/modified version using this mod and NewLife's version

it's called AdminShop and combines proper spawning of vehicles from this mod with the non random stock and specifc amounts from NewLife's as well as the ability to set prices now
check it out on my workshop

Full credits and linkbacks added.
Nemui 19 Dec, 2024 @ 7:51pm 
is there a way to set the minimum items displayed? I keep getting like 3 items in the shop.
Nemui 19 Dec, 2024 @ 5:06pm 
nevermind, I figured it out
Nemui 19 Dec, 2024 @ 4:43pm 
how does it work? i set items to true, but they're not showing up in the shop menu
FEEÐBACK 9 Nov, 2024 @ 1:50pm 
+1 ! Same but with contrats would be awesome !!!!
Cyance 2 Nov, 2024 @ 8:55am 
Hi! Can you make it so it can also have a contract block that does the same?
Catopia Rex 28 May, 2024 @ 2:16am 
I wrote this for my version of this mod, it should help you create your custom prefab mod. https://github.com/adrianre12/SE-SimpleStore/wiki/Custom-ships-and-rovers
PeaSmith 28 May, 2024 @ 2:08am 
I want to add the Moon Drop Pod of the base game, to the store. I create a Mod for do it, But I can't get it to appear in the customdata. Is there any example mod to follow? I think I'm doing something wrong.
AlphaMatte 4 Mar, 2024 @ 10:30pm 
Alright I figured it out - our minimal price for the modded comps were set to 0 so when it was calculating minimum price it had an error
AlphaMatte 4 Mar, 2024 @ 5:25pm 
No error in the logs just silent crashing after I change the prefab to =true in the custom data and turn the block off and on to refresh it
diK  [author] 2 Mar, 2024 @ 3:22am 
modded ships or blocks shouldn't be a problem. i haven't had any problems with them yet. is there any error in the log?
AlphaMatte 1 Mar, 2024 @ 8:51pm 
Hello - I followed all the steps to add my own prefabs into the store, and my prefab shows up in the custom data, and can be set to =true, but when the store reloads my client silent crashes.

Can the store handle modded blocks/ships?
diK  [author] 1 Mar, 2024 @ 11:18am 
yes
DracoNB 29 Feb, 2024 @ 11:47am 
Hey this looks awesome, is it okay to modify it and reupload with credit to you?
@ThatJameson 13 Feb, 2024 @ 3:07pm 
so why does it just randomly put them in buy or sell?
diK  [author] 12 Feb, 2024 @ 8:08am 
yes the block works like the original economy blocks. it is only possible to choose between components, resources or ships, as with economy npc factions
@ThatJameson 12 Feb, 2024 @ 12:22am 
the block just puts random items that are true, in either buy or sell, and I want it only in Buy, but there are no options to do that, its just randomised
Sneakyamr 27 Jun, 2023 @ 5:51pm 
how do i change the store block to use AI money and not mine. I go to sell something and says the person doesnt have enough money because its using my bank as a reference to the store not the ai number
Torqs 23 Jun, 2023 @ 5:17am 
Is it correct that the store blocks are not linked to the NPCs faction account but instead to the NPC leaders private account? Any other account?
Because there is no difference in the NPCs credit balance when I trade with the modded block but when I use a normal economy station, the credits changes.
So how can I give the custom store block credits!?
ThePropheticWarrior 24 May, 2023 @ 2:45pm 
Don't know if possible, but adding power/production/etc blocks would be great for those who play Scrapyard style!
CasualMochi 7 May, 2023 @ 6:16am 
When I transfer the block to an NPC faction, I can no longer access the block. When I want to with trade it states: Access denied
Nyxborne 4 Jan, 2023 @ 2:17pm 
Is there a way to add custom blueprints to this?
TV3master 1 Jan, 2023 @ 5:20am 
Heyo, we are trying to use this mod for a modded rover server, but is there anyway we can have maximum ammounts for specific items? Aswell as certain item that are only avaible as sell offers?
we want the store to sell zonechips, uranium, and platinum, and buy certain ingots and ores.
Fenrir 16 Nov, 2022 @ 8:03pm 
This mod block fixes a current (probably unknown bug) with the store block for servers. Mod Dev, keep this up to date plz!
Wilhelm 2 Nov, 2022 @ 6:50am 
I assume that the mod is looking at the keen default economy file to determine price? If so, can I include the file in the data/ of the mod and change?

PhysicalItems_Economy.sbc
Wilhelm 2 Nov, 2022 @ 6:41am 
Hi dik,

I successfully added my own ship prefab to the store block in a standalone mod.

What determines the ship price? and can I manually set this?
Wilhelm 2 Nov, 2022 @ 5:35am 
FYI - I only have the default ships enabled:

[MyObjectBuilder_Component]
ATV-Survivor=true
Fighter2=true
MinerSmallShip=true
Civic Hauler=true
Cursor=true
Buddy Miner=true
Atmo Constructor=true
Scout Miner=true
Solar Scout=true
Gerbil Miner=true
Kite Miner=true
Ion Light Scout=true
Ion Tug Ship=true
Turtle Miner=true
U-92 Patrol Craft=true
Lunar Scout mk.4=true
LCC-3 Freighter=true
Burstfire Bomber=true
Hydro Scout Rover=true
Lunar Scout mk.2=true
T-Ion Fade=true
Blue Ambassador Explorer=true
Red Cruiser=true
Rescue Rover 1=true
TT-15 Freighter=true
RespawnSpacePod=true
RespawnShip=true
B-980 Hauler=true
TT-420 Freighter=true
J-Class Courier=true
B-60 Bulk Freighter=true
H-01 Prospector=true
H-01 Sapper=true
PV-4 Buggy=true
MiniMerchant=true
Cargo Shuttle=true

[MyObjectBuilder_OxygenContainerObject]
OxygenBottle=false

[MyObjectBuilder_GasContainerObject]
HydrogenBottle=false

[MyObjectBuilder_ConsumableItem]
ClangCola=false
CosmicCoffee=false
Medkit=false
Powerkit=false
Wilhelm 2 Nov, 2022 @ 5:34am 
Greetings dik,

Can you please tell us what the values inside the custom data control?

My purpose is to control the number of Ships offered by the store and control the number of offers of ship types in the store. What values control this?

With the below setting, I can get the ship store to populate 16 ship offers with a random Quantity offered between 1-100.



*****
;Do not activate too many objects the store has a limited number of slots
[Settings]
;Max amount per Component/Ore/Ingot
Components=15
;Max amount per AmmoMagazine
AmmoMagazine=100
;Max amount per Character Item
Character=100
;Max amount per Ship
Ships=100
Uriel Simmons a.k.a. Lanski 18 Sep, 2022 @ 2:53am 
This is great,
is this also availiable for vending machines?
Torqs 9 Sep, 2022 @ 6:04am 
and of course I added the items to the Custom Data in the custom store block
Torqs 9 Sep, 2022 @ 6:03am 
I have made custom items for my server like licences. In the singeplayer they are displayed in the custom store block but not on the server, but this is even the case for the normal trade stations. Items work, I can spawn them but only the shops don't show it up.
I have entered my items in FactionTypes_Economy, PhysicalItems and BlueprintClasses, am I missing something?
ille 10 Aug, 2022 @ 6:17am 
Hi. I transfered the block now to an npc. Where to place the store now? How to buy this stuff now? :D
Wilhelm 28 Jul, 2022 @ 6:36pm 
Hello,

How do I enable the admin ships for sale, at bottom of custom data - I do not see a toggle
diK  [author] 27 Jul, 2022 @ 10:14am 
Hi,
it works identically to the vanilla block except for a few restrictions.
You can choose to sell or buy only ores, ingots, components or ships like in the NPC factions.
A config is only available in the custom data.
Type of resources and their maximum number sold between 2 updates are adjustable.
The idea was to build automatic trading stations like the vanilla without changing the gameplay.
There is no regulation for supply and demand.
But it is open to everyone to implement this.
Wilhelm 26 Jul, 2022 @ 7:51pm 
I will be checking out your mod when I get home. If this functions the way I think it might, you made what I was willing to commission for the past year.

Donation link?

For server - is there a cfg that allows admins to price control?

I see you tell us to manually change the prices in the files - is there automated price adjustment of items based off supply and demand or?

Compatible with other trade mods?
diK  [author] 6 Jul, 2022 @ 8:31am 
yes that is possible.

A separate mod must be created for this.
Save your Blueprint as a prefab in "Data/Prefabs".

Copy the files from this mod here
"Blueprints.sbc" and "Components.sbc".
into your new mod and edit them according to your prefab name.
SubtypeId must be identical in all files.

Now the new mod only has to be at the top of your mod list so that it is loaded before the StoreBlock, so that it also finds all new blueprints.
Karma Knight 2 Jul, 2022 @ 6:22pm 
is there a way to add custom ships to the store block?
Serialtasted 13 Jun, 2022 @ 7:49pm 
The interface for this block is all blown up on my game. Is there a way to change the size of it?
diK  [author] 27 May, 2022 @ 3:29am 
the prices are defined in the game files, to change them you can create a mod that defines new prices
Onomori 13 May, 2022 @ 12:51am 
Can you allow us to set min and max prices for the items?
Sentinel 7 May, 2022 @ 4:10am 
Sometimes the block dissapears, after a relog it is visual
<†>Baigle1<†>™ 22 Apr, 2022 @ 2:12pm 
This or something similar needs to be in the vanilla game. Dependency handling and ordering is also a major issue when adding mods to a world, which can be handled by the Steam dependency listing, or offloaded to the mod developers.
diK  [author] 18 Apr, 2022 @ 12:40pm 
It is not Xbox compatible. Scripts are executed on the client side
Galax 12 Apr, 2022 @ 11:38pm 
Hi, I would like to use it on my Xbox compatible dedicated server. Is it possible? If yes, would you be so nice to upload it to mod.io? Thx!
Pikesmith 5 Apr, 2022 @ 8:50pm 
@Securi, it's not a guaranteed thing. Let it run for a while and check it every time it changes. They should eventually show up.
Securi 4 Apr, 2022 @ 1:01am 
I can send you a picture of what I see, just message me please.:steamthumbsup:
Securi 3 Apr, 2022 @ 9:09pm 
@diK I followed the instructions and I see in the inventory of the "EconomySurvival Store" block the ships. However, I do not see them listed under "Buy." How does one purchase a ship?
Pikesmith 30 Mar, 2022 @ 12:06pm 
@RobskuWitteWel you really can't unfortunately. You can set up a cache of GPS loaded tablets manually in any store block but there's no framework (that I'm aware of) that will generate the datapad with coordinates itself. Usually when you see those it's a static base that is built with the world and the datapad is preloaded with the respawn pod.
Master Baiter 29 Mar, 2022 @ 4:24pm 
@SadNac to set pricing for example for vanilla ore its done in the physicalitems.sbc
example iron ore u can see the minimalpriceperunit
<PhysicalItem>
<Id>
<TypeId>Ore</TypeId>
<SubtypeId>Iron</SubtypeId>
...
<MinimalPricePerUnit>100</MinimalPricePerUnit>
<MinimumOfferAmount>1000</MinimumOfferAmount>
<MaximumOfferAmount>10000</MaximumOfferAmount>
<MinimumOrderAmount>1000</MinimumOrderAmount>
<MaximumOrderAmount>20000</MaximumOrderAmount>
<CanPlayerOrder>true</CanPlayerOrder>

<MinimumAcquisitionAmount>100</MinimumAcquisitionAmount>
<MaximumAcquisitionAmount>500</MaximumAcquisitionAmount>
</PhysicalItem>