I'm working on a server project with some friends and we're attempting to limit shields to stations and planets only. However, when someone uploads a blueprint from SP with shields, the ship will still have shields on board even though they're marked station-only. We'd prefer to not disable uploads and the other option is to change the ID# of shields. However, changing the ID# results in stability issues.
Description
Details
- Task Type
- Bug
- Affected Gamemode(s)
- Single and Multi
- Reproducible
- Yes
- Category
- Blockconfig
- OS-Specific
- No
- Hardware-Specific
- No
- Video Card Vendor
- uncertain
- Move any station block's entry in the blockconfig (for this example, we will use undeathinators) out of the "Station" section and into the "ship" section.
- Place undeathinator on your ship.
- Save ship and upload to any server of your choice.
- Spawn ship in and enjoy your mobile undeathinator. Can be accomplished with warpgates, factories, and other station-only blocks.
<replace this line with the file content>
<replace this line with the file content>
Event Timeline
did a fast test
moved the shop module to a ship, restored the original blockconfig and restartet the game.
the shop was at no point operational.
are you able to supply modified configs for your server setup and telling me what blocks should be blocked from having access and should not be operational where exactly
We're trying to restrict shields from ships and make them station only. We've had limited success by changing the ID number of shields to -redacted- and -redacted- respectively but it's definitely a stopgap solution. I'll poke BDLS to poke the configs.
Further update: the issue is not the blocks like shops, factories being operational. The issue is that they're allowed to be placed in the first place, whether it be a BP or a shipyard. On a server where restricting shields to stations is part of the custom config, it seriously interferes with that config without some sort of hacky workarounds.
There is the server.cfg setting:
REMOVE_ENTITIES_WITH_INCONSISTENT_BLOCKS = false //This will remove ships that have blocks that are normally disallowed (e.g. space station blocks on ships)
that helped us get by this issue by changing the value to true. Perhaps it should be true by default? OR perhaps the game just deleting the offending blocks, not the entire entity?
Oh .. i did thought you had that set to true to get that effect in the first place.
i can now close this because it works as intended ?
(aside from deleting not complying ships, which is an intended behaviour)
The setting itself is a little iffy sometimes, but it does eventually work. Go ahead and close it.