Space Engineers

Space Engineers

Not enough ratings
Grid Name Protection
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
1.818 KB
22 Oct, 2020 @ 11:21pm
1 Change Note ( view )

Subscribe to download
Grid Name Protection

Description
This script automatically renames your grid to whatever you set in Custom Data, every few seconds.

This is essential for some multiplayer servers that require your grids to have a name. As most playesr know, when you disconnect merged grids, the disconnected grids may revert to generic names, which can cause them to be deleted by trash cleanup on a multiplayer server if they aren't renamed.

Add this script to all grids you want to protect their names when they are unmerged from a larger grid.

You can add this script to multiple grids, and merge them all together, and for a time, merged grid scripts will battle out over which name the merged grid should have, however upon unmerging the names, all independent grids that have this script will get their grid names back. I haven't figured out how to code for when two scripts exist on a grid, and to pick a priority name. This script is released to the public to help code a solution. In the meantime, this works beautifully so far.

I use this on the Sigma Draconis multiplayer sever.
3 Comments
Calibrated 17 Jan, 2022 @ 11:14am 
Still work?
NilByMouth 27 Nov, 2020 @ 2:46pm 
How about if the user gives the PB a unique name (e.g. Programmable block [Primary]) and the script checks for that? If its own name is that then it runs as normal, otherwise if it finds the Primary PB then it uses the custom data from the Primary. Hope that makes sense.
404 GLaDOS 5 Nov, 2020 @ 6:16pm 
I hope you find the solution you seek.