While the corn and potatoes are baking, start the garlic butter sauce. Add the butter to a large skillet over medium heat. Now gently add the onions into the skillet and saute them for 3-5 minutes, stirring occasionally so that they do not burn.
Now add the garlic into the skillet and saute it along with the onions for about one minute, careful not to burn it. After about a minute, squeeze in the lemon juice and then pour in the chicken or vegetable broth.
Now sprinkle in all of the seasonings, including the Old Bay seasoning, Paprika, Chili powder, Cajun seasoning, Cayenne pepper. If you are using sweet chili sauce, add that in now as well. Stir everything together until it is fully incorporated.
Turn the heat down to medium low and allow it to simmer for about 10 minutes, coming back to stir it every 2-3 minutes. The sauce will thicken and reduce by about half. Add more chicken or vegetable broth if you want your sauce to be on the thinner side.
Optional: While the sauce is simmering, fry your sliced smoked sausage in a skillet over medium heat until they are golden brown.
Remove the corn and potatoes from the oven. Add the smoked sausage, crab legs, and shrimp to the baking dish with the corn and potatoes. Sprinkle the remaining old bay seasoning and garlic powder over the snow crab legs and shrimp.
Place the baking dish in the oven and bake the seafood for 10-12 minutes. Seafood does not take long to bake at all, so be careful not to overcook!
Serve with the garlic butter sauce on the side for dipping. And enjoy!