Space Engineers

Space Engineers

Block Restrictions
318 kommentarer
Raszul 3. okt. kl. 4:34 
would it be possible to add the ability to make faction-based limits? eg blue team gets the lasers, red team gets the conventional guns or some such?
Atomhirsch 22. sep. kl. 5:49 
Hm, for me it still works
Borimino 15. sep. kl. 2:38 
In case it helps with debugging my problem as described below, here is my config: https://pastebin.com/hK46RCu9
Borimino 15. sep. kl. 2:34 
Hi
I had the mod working perfectly on a dedicated server one or two SE-updates ago, but since the last update (1.207) it doesn't seem to do anything anymore.
I have all refineries set to AllowedForPlayer=false, and yet I am able to place and start building a refinery without any problems. The same for all the other blocks that I have set to not be buildable by players.
I have tried both as an admin on the server, and without admin-priviledges, and none of them work.
Maybe I have made a mistake in my config, though as it worked last time I tried (in 1.205 or 1.206) and I have barely made any changes to the config, I kind of doubt it.
Wast3d11222 7. sep. kl. 17:44 
Hi there, I might have found a bug in your latest update with the newly added group settings. i use the mod in a dedicated server on which i have set a group limit to all refinarys at the same time. the group limit works perfect but the issue is with the admin mode: enable creative mode tools.

for any admin that has any number at or below the limit of the group and enters creative mode and leaves it again gets all blocks of the set group (refinarys in my case) deleted with the notification that they are not allowed to place any over the limit. after that they are not able to place any refinary again even if they now own 0 refinaries after the deletion by the mod. i then have to reboot the server for the problem to be solved but it happens again after they enable and disable creative mode.

when i delete the group config and restrict each individual refinary, there are no issues and everything works fine again. i hope you will have a fix for it. thanks in advanced
Blackwater Canyon 20. juli kl. 13:34 
Are there any in-game commands that let players know things about their own grid limits?
Atomhirsch 13. juli kl. 17:35 
Good mod, thanks!
Warton 30. maj kl. 17:05 
Is there a way when we set "AllowedForPlayer" to "False" to keep the blocks in the game (from wrecks, ships, etc.) so when the blocks are "hacked" they will not be deleted from the game ?
So far, when I use AllowedForPlayer to False, my character is not able to find the block in the G menu and not able to place it, but also not able to take over the same block - if I don't grind it down to hack it - it is ok, but when I do the game delete it.
Any ideas?
SHADOWTHX 26. maj kl. 0:22 
every time i add this to a dedi server and try to join the server i get an error and cant join ideas?
Kill3rCat [1st FORECON] 23. mar. kl. 18:36 
As @Stratigus said, would be great to have the option to delist a block from the G menu but disable the deletion of blocks. I presume this mod is not going to be updated again, however?
Psi 25. jan. kl. 18:01 
@Stratigus
this mod prohibits you from having a block on your grid completely, it won't work for the scrapyard scenario.
for the scrapyard you can create a new component via definitions(but don't create craft recepie for it!) and then add this component to the base of all blocks you wish to ban from building and set it "grind to scrap"(like prototech is done)
i think you can hide mod from build menu via defenitions too, you don't need scripts for that
Alexis(Mssun21) 19. jan. kl. 10:29 
What is VerboseMode?
Stratigus 25. dec. 2024 kl. 16:50 
Is there a way to remove the block from the build menu and still find them and have the abliity to use the ones u find?I setup a world and put everthing to false spawned in a rover and the batterys have diapered..Go into admin mode replace and as soon as i turn admin mode off the batterys disappear..trying to setup a scrap yard senerio but want to add more mods..have to not be able to build but able to find..
VelvetDiamond 15. dec. 2024 kl. 2:23 
Unless im an idiot, i dont see how to do this in the description?

I want a limit on a specific block, but i want the AI to be able to break over the limit of this block. So for example, i want players not to be able to build more than 4 of a specific weapon per grid but i want the AI ships to have 6 per grid. Is this doable?
jTurp  [ophavsmand] 13. dec. 2024 kl. 5:16 
@VelvetDiamond

There is a whole config file with options for player / npc / grid / faction -> details in the description...
VelvetDiamond 13. dec. 2024 kl. 0:51 
is there away to limit blocks for players but not the AI?
MrFox 8. dec. 2024 kl. 22:11 
correct
jTurp  [ophavsmand] 16. nov. 2024 kl. 17:34 
The mod log will print everything that is enabled and blocked during the world init, too, you can check that to see if it says it's blocked or not.
jTurp  [ophavsmand] 16. nov. 2024 kl. 17:33 
@MrFox

You are changing / saving that while the world is unloaded, then starting the server, correct?
jTurp  [ophavsmand] 16. nov. 2024 kl. 17:32 
@mangamer21

You have to run the world once with the mod attached, then save and exit to make the changes in the config.
MrFox 8. nov. 2024 kl. 9:41 
<SerializableBlockSetting>
<Type>MyObjectBuilder_Projector/LargeProjector</Type>
<PlayerMaxCount>0</PlayerMaxCount>
<GridMaxCount>0</GridMaxCount>
<FactionMaxCount>0</FactionMaxCount>
<AllowedForNPC>true</AllowedForNPC>
<AllowedForPlayer>false</AllowedForPlayer>
<AllowedForUnowned>true</AllowedForUnowned>
<AllowedForNPCStaticOnly>false</AllowedForNPCStaticOnly>
<AllowedForPlayerStaticOnly>false</AllowedForPlayerStaticOnly>
<AllowedForUnownedStaticOnly>false</AllowedForUnownedStaticOnly>
</SerializableBlockSetting>
MrFox 8. nov. 2024 kl. 9:40 
i have set all thrusters player is allowed to false
but everyone can still build them. whats going on?
mangamer21 16. sep. 2024 kl. 18:30 
for som reason i cant find the blocks in config for a mod called :Mod Cube Blocks - Mod pack
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1575653552
RVB 27. aug. 2024 kl. 16:03 
I can confirm that this does work with modded blocks. Just load the world first, to generate the list, then ctrl+f and modify values to your heart's content.
Forest_Ninja 27. aug. 2024 kl. 15:39 
This will work with modded blocks too right?
Gnat The Gnome 19. aug. 2024 kl. 14:04 
Is there a way to easily block ALL large grid blocks without manually adding every single one to a group?
Vas 28. juni 2024 kl. 12:47 
So I'm curious, what would this do if I set ion thrusters to false for players, and someone hijacks a pirate ship? Does it delete the ion thrusters or disable them? In this case I'd like the NPC grid to remain functional enough to make it to a salvage zone.
jTurp  [ophavsmand] 8. juni 2024 kl. 17:04 
@GJD7

The config file is generated automatically the first time the server runs with the mod. It will be located wherever the World Storage folder is for the server.
GJD7 30. maj 2024 kl. 14:36 
Ive added the mod to the server but I can't find the config file anywhere. is there something I have to do to generate it?
jTurp  [ophavsmand] 20. maj 2024 kl. 17:58 
@Jazepi

That looks right to me. I'll run a test tomorrow and see if I get the same issue.
Jazepi 19. maj 2024 kl. 21:49 
I'm having an issue with the group setting.

I want to restrict players to 5 assemblers (some have industry DLC). It appears to be applying this restriction per faction though, not per player. Have I done something wrong here?

<SerializableGroupSetting>
<GroupName>Assemblers</GroupName>
<PlayerMaxCount>5</PlayerMaxCount>
<GridMaxCount>0</GridMaxCount>
<FactionMaxCount>0</FactionMaxCount>
<AllowedForNPC>true</AllowedForNPC>
<AllowedForPlayer>true</AllowedForPlayer>
<AllowedForUnowned>true</AllowedForUnowned>
<AllowedForNPCStaticOnly>false</AllowedForNPCStaticOnly>
<AllowedForPlayerStaticOnly>false</AllowedForPlayerStaticOnly>
<AllowedForUnownedStaticOnly>false</AllowedForUnownedStaticOnly>
<Definitions>
<DefinitionId Type="MyObjectBuilder_Assembler" SubtypeId="LargeAssemblerIndustrial" />
<DefinitionId Type="MyObjectBuilder_Assembler" SubtypeId="LargeAssembler" />
</Definitions>
</SerializableGroupSetting>
jTurp  [ophavsmand] 30. mar. 2024 kl. 8:30 
@REV4666

NPCs are not included in the PlayerMaxCount setting, that is for actual players. If you take over a NPC grid, THEN it will be affected :)
REV4666 30. mar. 2024 kl. 8:08 
How does the <PlayerMaxCount> variable Impact MES NPC grids? (they always have the same owner )

If I only change the <PlayerMaxCount>2</PlayerMaxCount> for the large grid reactor and nothing else and MES spawn in a reaver with 4 reactors. does it delete the extra 2 reactors, or does it just bypass all NPC?
jTurp  [ophavsmand] 14. mar. 2024 kl. 20:14 
All terminal blocks are automatically added by the mod so you don’t need to add them. Anything not added by the mod will probably be ignored, just fyi, since the mod only tracks terminal blocks.

If it’s a creative world, set the Creative Allowed to false (or true, maybe). Also make sure he doesn’t have creative tools enabled bc admins can place whatever the want until they uncheck that box
YamiKevin 14. mar. 2024 kl. 11:53 
Yeah the file was generated, after that i made a copy of the file and removed some blocks and added some modblocks. after that i deletet the old file and put my file in the folder (path down in the comment). so the file was generated in that folder path, i simple made a copy, edit and paste the new file in and the old got deletet
jTurp  [ophavsmand] 13. mar. 2024 kl. 14:55 
You do not *put* the file in the folder. The file is generated after running the server with the mod installed.

You might be trying to add it to the wrong place.
YamiKevin 13. mar. 2024 kl. 13:33 
Does this mod also works on Torch server?
I put the Blockrestriction file in this folder path ServerFolder\Instance\Storage\2053202808.sbm_BlockRestrictions\BlockRestrictions.cfg

Is that correct? Because a friend tried to build a restrictet block (Jumpdrive 1 per grid) but was able to build more then one. In the config file the admin thing is on false, so he shouldnt be able to build more the one right? Or do i miss smth?
jTurp  [ophavsmand] 12. mar. 2024 kl. 15:33 
The piston will be deleted if it’s converted to ship
YamiKevin 12. mar. 2024 kl. 10:47 
How does the Mod handle the setting pistons in Static grid only and a player try to convert it to a ship? is it not possible with this mod? or does the piston get deletet?
jTurp  [ophavsmand] 9. mar. 2024 kl. 7:42 
@YamiKevin

Every *terminal* block is automatically added to the config file with default settings. Non-terminal blocks are not considered by the mod and are open for everyone to use.
YamiKevin 8. mar. 2024 kl. 13:13 
if a block isnt listed, the restriction dont work right? so the player npc and co can use the block?
jTurp  [ophavsmand] 15. feb. 2024 kl. 16:25 
@won2three

There is a setting for CreativeModeAllowed which you can set to False to make it function in Creative. Being an Admin doesn't matter but having Creative Tools checked does.
won2three 15. feb. 2024 kl. 14:16 
Anyway to disable the function of being able to bypass block restrictions while in admin or creative?
BlacKHaraZ 9. jan. 2024 kl. 6:53 
@jturp
Thx +1 =)
NeM 9. jan. 2024 kl. 3:53 
Players turned it off and on, it makes the block disapear itself.
Maybe I could reach the same result by turning off and on the grid with admin tool I guess.
jTurp  [ophavsmand] 7. jan. 2024 kl. 7:25 
Only safe zone blocks will disappear. If Keen doesn't automatically disable the safezone when the block is gone, that sounds like a bug on their end
NeM 7. jan. 2024 kl. 6:09 
Okay, so now I would like the existing Safe Zone to disapears, how does it work ?
jTurp  [ophavsmand] 6. jan. 2024 kl. 14:54 
@NeM

I am unable to build it in my test world with the below settings. Do you have Creative Tools enabled? If so, you are in admin mode and can build everything until you uncheck the box.
NeM 6. jan. 2024 kl. 13:35 
I try to disallow Safe Zones for players :

<SerializableBlockSetting>
<Type>MyObjectBuilder_SafeZoneBlock/SafeZoneBlock</Type>
<PlayerMaxCount>0</PlayerMaxCount>
<GridMaxCount>0</GridMaxCount>
<FactionMaxCount>0</FactionMaxCount>
<AllowedForNPC>false</AllowedForNPC>
<AllowedForPlayer>false</AllowedForPlayer>
<AllowedForUnowned>false</AllowedForUnowned>
<AllowedForNPCStaticOnly>false</AllowedForNPCStaticOnly>
<AllowedForPlayerStaticOnly>false</AllowedForPlayerStaticOnly>
<AllowedForUnownedStaticOnly>false</AllowedForUnownedStaticOnly>
</SerializableBlockSetting>

It seems it's not working, do you have an idea why :o ?
Tiberius 17. dec. 2023 kl. 16:43 
@jTurp I sent you the file via Discord.