Profile image

Map Mod Question - (Map Plugin) Main Sandbox Name? (SOLVED)

9,246 SaintNPC  4.2 years ago

What's the name of the main sandbox?

I want a map plugin to only work on the main sandbox, and not on custom maps. I am assuming that if I add it under "Supported Map Names" in the plugin component, then it will do just that. Using the debug tool, I found "LevelSandbox", but that didn't work for me. I hope somebody out there knows. Especially the devs.

I reiterate, I must know the name of the main sandbox or a placeholder value that represents it for the map plugin object/component when making a map in Unity.

Edit: I also have a friend asking this and if it's possible to add a map start location as a plugin. It doesn't seem to be working for either of us.

Edit 2: I'ma throw in a relevant picture. Map Plugin

  • Log in to leave a comment
  • Profile image
    18.8k mushr0om

    The default map name is "Default Map". Use that without the quotation marks.

    Pinned 4.2 years ago
  • Profile image
    9,246 SaintNPC

    I reiterate, I must know the name of the main sandbox or a placeholder value that represents it for the map plugin object/component when making a map in Unity.

    Pinned 4.2 years ago
  • Profile image
    29.1k destroyerP

    @mushr0om @SaintNPC oh great it work, thanks for that.
    And now my main problem is yet to be answer.

    4.2 years ago
  • Profile image
    9,246 SaintNPC

    @mushr0om Thank you very much, you have my sincerest thanks. I can't overstate my elatement!

    4.2 years ago
  • Profile image
    9,246 SaintNPC

    @AndrewGarrison For starters, I preemptively thank you for taking the time to review this question. Will adding the main sandbox under "Supported Map Names" on an asset with a map plugin allow it to spawn only in the sandbox and not on custom maps? If so what is the name or value I should use to represent the main sandbox?

    4.2 years ago
  • Profile image

    @SaintNPC i never use this function because i need map plugin for spawn object or map in game world

    4.2 years ago
  • Profile image
    9,246 SaintNPC

    @Kakhikotchauri1 I guess that's the basics of how to do a map plugin. I'm looking for advanced info.


    What value do you use for "Supported Map Names" to keep your plugins from spawning on custom maps?

    4.2 years ago
  • Profile image

    Put all assets into map plugin then save map plugin in sp mod builder

    4.2 years ago
  • Profile image

    @Kakhikotchauri1

    4.2 years ago
  • Profile image
    313k Gestour

    Warhawk.
    I think maybe you should learn to take a joke.
    I removed my comment since you were so offended.
    Have a nice life.

    4.2 years ago
  • Profile image
    34.8k WarHawk95

    @Gestour I know both of you guys are members of this server but please, for heaven's sake, you don't have to be such cynical.
    You can just tell him "dude u can ask on the Discord, I'll be pleased to help u" instead of being mean.
    I mean, dude, maybe you're tired of ppl asking questions but try to be more friendly.
    You won't help anybody when behaving like this.
    Think about it. Thanks.

    +1 4.2 years ago