Space Engineers

Space Engineers

Block Restrictions
318 条留言
Raszul 10 月 3 日 上午 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 9 月 22 日 上午 5:49 
Hm, for me it still works
Borimino 9 月 15 日 上午 2:38 
In case it helps with debugging my problem as described below, here is my config: https://pastebin.com/hK46RCu9
Borimino 9 月 15 日 上午 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 9 月 7 日 下午 5: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 7 月 20 日 下午 1:34 
Are there any in-game commands that let players know things about their own grid limits?
Atomhirsch 7 月 13 日 下午 5:35 
Good mod, thanks!
Warton 5 月 30 日 下午 5: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 5 月 26 日 上午 12: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] 3 月 23 日 下午 6: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 1 月 25 日 下午 6: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) 1 月 19 日 上午 10:29 
What is VerboseMode?
Stratigus 2024 年 12 月 25 日 下午 4: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 2024 年 12 月 15 日 上午 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  [作者] 2024 年 12 月 13 日 上午 5:16 
@VelvetDiamond

There is a whole config file with options for player / npc / grid / faction -> details in the description...
VelvetDiamond 2024 年 12 月 13 日 上午 12:51 
is there away to limit blocks for players but not the AI?
MrFox 2024 年 12 月 8 日 下午 10:11 
correct
jTurp  [作者] 2024 年 11 月 16 日 下午 5: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  [作者] 2024 年 11 月 16 日 下午 5:33 
@MrFox

You are changing / saving that while the world is unloaded, then starting the server, correct?
jTurp  [作者] 2024 年 11 月 16 日 下午 5: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 2024 年 11 月 8 日 上午 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 2024 年 11 月 8 日 上午 9:40 
i have set all thrusters player is allowed to false
but everyone can still build them. whats going on?
mangamer21 2024 年 9 月 16 日 下午 6:30 
for som reason i cant find the blocks in config for a mod called :Mod Cube Blocks - Mod pack
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1575653552
RVB 2024 年 8 月 27 日 下午 4: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 2024 年 8 月 27 日 下午 3:39 
This will work with modded blocks too right?
Gnat The Gnome 2024 年 8 月 19 日 下午 2:04 
Is there a way to easily block ALL large grid blocks without manually adding every single one to a group?
Vas 2024 年 6 月 28 日 下午 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  [作者] 2024 年 6 月 8 日 下午 5: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 2024 年 5 月 30 日 下午 2: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  [作者] 2024 年 5 月 20 日 下午 5:58 
@Jazepi

That looks right to me. I'll run a test tomorrow and see if I get the same issue.
Jazepi 2024 年 5 月 19 日 下午 9: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  [作者] 2024 年 3 月 30 日 上午 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 2024 年 3 月 30 日 上午 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  [作者] 2024 年 3 月 14 日 下午 8: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 2024 年 3 月 14 日 上午 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  [作者] 2024 年 3 月 13 日 下午 2: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 2024 年 3 月 13 日 下午 1: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  [作者] 2024 年 3 月 12 日 下午 3:33 
The piston will be deleted if it’s converted to ship
YamiKevin 2024 年 3 月 12 日 上午 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  [作者] 2024 年 3 月 9 日 上午 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 2024 年 3 月 8 日 下午 1:13 
if a block isnt listed, the restriction dont work right? so the player npc and co can use the block?
jTurp  [作者] 2024 年 2 月 15 日 下午 4: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 2024 年 2 月 15 日 下午 2:16 
Anyway to disable the function of being able to bypass block restrictions while in admin or creative?
BlacKHaraZ 2024 年 1 月 9 日 上午 6:53 
@jturp
Thx +1 =)
NeM 2024 年 1 月 9 日 上午 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  [作者] 2024 年 1 月 7 日 上午 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 2024 年 1 月 7 日 上午 6:09 
Okay, so now I would like the existing Safe Zone to disapears, how does it work ?
jTurp  [作者] 2024 年 1 月 6 日 下午 2: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 2024 年 1 月 6 日 下午 1: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 2023 年 12 月 17 日 下午 4:43 
@jTurp I sent you the file via Discord.