
How to read a Rust server launch script
Find the line that starts RustDedicated. That line tells you which world and network settings the script hands to the server. A SteamCMD line belongs to installation or updates.
Follow the launch from top to bottom
Open the script in a text editor. Find the command that runs SteamCMD, if present, and the one that runs RustDedicated. Read the options following RustDedicated as settings for the running game. Look for server.identity to find the save folder and server.port to find the game port. Treat any password in the script as private.
If a panel starts the game for you, look at its startup settings for the same values. Some settings can also come from server.cfg. Check that file before assuming the script is the only place a value is set.
Check your reading against the running server
For example, find server.hostname in the startup settings, then compare it with the name shown when you join locally. Compare the identity with the folder that contains the active world save. When those match, you know where to look before the next change. If the name differs, check the server's configuration file and confirm you opened the script that actually starts it.