Shop with Boss Pack

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Public Service Announcement

    Hey Guest, I’ve got some exciting news to share! 🎉

    Starting this December, I’ll be moving the entire GameServersHub website away from WordPress and rebuilding it in Next.js! This upgrade will bring incredibly faster speeds, smoother performance, and a modern user experience that sets the stage for everything coming next.

    In 2026, GameServersHub will be entering a new era. I’ll be revamping the entire platform from the ground up and launching a brand-new, fully modernized marketplace. It’ll feature a cleaner design, improved functionality, and better tools for both creators and server owners.

    On top of that, development has already started on the GameServerListing project at https://gsl-six.vercel.app/, which is expected to launch in early Q1 2026. This new system will make discovering and managing servers easier than ever before.


    👉 Stay in the loop!
    Join our Discord for behind-the-scenes updates, early previews, and community discussions.

    » Click here to join our Discord! «

    ~ MrOwlSky

bsk193

Well-known member
Joined
Nov 3, 2018
Messages
4
Hello!
So i wanna do a shop item with type "command" to give all boss items but the thing is i can't cauz of the "" on the code..

Example:
JSON:
"allengrams":{  // Cheat command
      "Type":"command",
      "Description":"",
      "Price":1000,
      "Items":[
        {
          "Command":"giveitem "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/PrimalItemArtifact_01.PrimalItemArtifact_01'" 1 0 0 | giveitem "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/PrimalItemArtifact_02.PrimalItemArtifact_02'" 1 0 0"
        }
      ]
 }

How can i do this?
Already tried to remove all of the "" and didn't worked..
 
Hey,

first of all I don't know if this is a exact copy of your current config but in general comments are not supported in JSON.

The Quotation mark is a by JSON reserved character - which means you can't actually put a string into another one (Like you've done it above).
now to tell JSON that it should interpret the qoute to be a start / end of a string you'll need a escape character " \ ".

Which means;

JSON:
          "Command":"giveitem "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/PrimalItemArtifact_01.PrimalItemArtifact_01'" 1 0 0 | giveitem "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/PrimalItemArtifact_02.PrimalItemArtifact_02'" 1 0 0"


should be transformed to

JSON:
          "Command": "giveitem \"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/PrimalItemArtifact_01.PrimalItemArtifact_01'\" 1 0 0 | giveitem \"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/PrimalItemArtifact_02.PrimalItemArtifact_02'\" 1 0 0"




I highly recommend validating your config before loading up.
You could use sites like
https://jsonlint.com/
 
We just use the kits for boss items, like this :


JSON:
        "AlphaDragon":{
          "DefaultAmount":0,
          "Price":5200,
          "Description":"Tribute items for Alpha Dragon (NO ARTIFACTS) ",
          "OnlyFromSpawn":false,
          "Items":[
            {
              "Amount":10,
              "Quality":0,
              "ForceBlueprint":false,
              "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_ApexDrop_Tuso.PrimalItemResource_ApexDrop_Tuso'"
            },
            {
              "Amount":10,
              "Quality":0,
              "ForceBlueprint":false,
              "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_ApexDrop_Basilo.PrimalItemResource_ApexDrop_Basilo'"
            },
                    {
              "Amount":2,
              "Quality":0,
              "ForceBlueprint":false,
              "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_ApexDrop_Giga.PrimalItemResource_ApexDrop_Giga'"
            },
            {
              "Amount":15,
              "Quality":0,
              "ForceBlueprint":false,
              "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_ApexDrop_Rex.PrimalItemResource_ApexDrop_Rex'"
            },
            {
              "Amount":10,
              "Quality":0,
              "ForceBlueprint":false,
              "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_ApexDrop_Allo.PrimalItemResource_ApexDrop_Allo'"
            },
            {
              "Amount":10,
              "Quality":0,
              "ForceBlueprint":false,
              "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_ApexDrop_Yuty.PrimalItemResource_ApexDrop_Yuty'"
            }
          ]
        },
 
Back
Top