Atlas - AtlasShop Issues

xXDeathXx

New member
Donators
Messages
12
Likes
0
Points
1
Hey Everyone,

Trying to get this plugin to work on the server cluster but having some troubleshooting issues and was wondering if anyone else is having a similar issue before and if you fixed it what was the solution if you wouldnt mind sharing.

Sorry added the following and i forgot to add it before
Screenshot of the problem

It's default of course i'll change it around but just trying to get it to function before i put hours into programming it with items and all that.

JSON:
{
  "Mysql":{
    "UseMysql":true,
    "MysqlHost":"localhost",
    "MysqlUser":"username1",
    "MysqlPass":"password1",
    "MysqlDB":"AtlasShop"
  },
  "General":{
    "TimedPointsReward":{
      "Enabled":true,
      "Interval":5,
      "Groups":{
        "Default":{
          "Amount":5
        },
        "Premiums":{
          "Amount":15
        }
      }
    },
    "ItemsPerPage":15,
    "ShopDisplayTime":15.0,
    "ShopTextSize":1.3,
    "DbPathOverride":"",
    "WebKey":"",
    "DefaultKit":"vip,starter"
  },
  "Kits":{
    "starter":{
      "DefaultAmount":1,
      "Permissions":"Default",
      "Price":90,
      "Description":"Starter kit (horse with saddle)",
      "OnlyFromSpawn":true,
      "Items":[
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Base/PrimalItemArmor_SaddleGeneric_Tier2.PrimalItemArmor_SaddleGeneric_Tier2'"
        }
      ],
      "Dinos":[
        {
          "Level":30,
          "Blueprint":"Blueprint'/Game/Atlas/Creatures/Horse/Horse_Character_BP.Horse_Character_BP'"
        }
      ]
    },
    "vip":{
      "DefaultAmount":1,
      "Description":"Vip kit for premiums (ptero)",
      "Permissions":"Admins,Premiums",
      "Dinos":[
        {
          "Level":20,
          "Neutered":true,
          "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Ptero/Ptero_Character_BP.Ptero_Character_BP'"
        }
      ]
    },
    "tools":{
      "DefaultAmount":3,
      "Price":50,
      "MinLevel":1,
      "MaxLevel":20,
      "Description":"Tools kit (pike and club)",
      "Items":[
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponPike.PrimalItem_WeaponPike'"
        },
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponStoneClub.PrimalItem_WeaponStoneClub'"
        }
      ]
    }
  },
  "ShopItems":{
    "gold":{
      "Type":"item",
      "Description":"A Gold Coin",
      "Price":5,
      "Items":[
        {
          "Quality":0,
          "ForceBlueprint":false,
          "Amount":1,
          "Blueprint":"Blueprint'/Game/Atlas/AtlasCoreBP/Items/PrimalItemResource_GoldCoin.PrimalItemResource_GoldCoin'"
        }
      ]
    },
    "tools":{
      "Type":"item",
      "Description":"Tools (Metal Hatchet, Metal Pick)",
      "Price":5,
      "Items":[
        {
          "Quality":0,
          "ForceBlueprint":false,
          "Amount":1,
          "ArmorStat":400,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalHatchet.PrimalItem_WeaponMetalHatchet'"
        },
        {
          "Quality":0,
          "ForceBlueprint":false,
          "Amount":1,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalPick.PrimalItem_WeaponMetalPick'"
        }
      ]
    },
    "exp":{
      "Type":"experience",
      "Description":"A Single point of experience",
      "GiveToDino":false,
      "Price":1,
      "Amount":1.0
    },
    "galleon":{
      "Type":"ship",
      "Description":"Galleon",
      "Price":500,
      "BlueprintShip":"Blueprint'/Game/Atlas/Vehicles/Ships/Galleon/Ship_BP_Galleon.Ship_BP_Galleon'",
      "BlueprintHull":"Blueprint'/Game/Atlas/Structures/ShipHulls/ShipHullGalleon_BP.ShipHullGalleon_BP'"
    }
  },
  "SellItems":{
    "gold":{
      "Type":"item",
      "Description":"10x Gold Coin",
      "Price":1,
      "Amount":10,
      "Blueprint":"Blueprint'/Game/Atlas/AtlasCoreBP/Items/PrimalItemResource_GoldCoin.PrimalItemResource_GoldCoin'"
    }
  },
  "Messages":{
    "Sender":"AtlasShop",
    "BoughtItem":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought item</>",
    "BoughtDino":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought dino</>",
    "BoughtBeacon":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought beacon</>",
    "BoughtExp":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought experience</>",
    "ReceivedPoints":"<RichColor Color=\"1, 1, 0, 1\">You have received {0} points! (total: {1})</>",
    "HavePoints":"You have {0} points",
    "NoPoints":"<RichColor Color=\"1, 0, 0, 1\">You don't have enough points</>",
    "WrongId":"<RichColor Color=\"1, 0, 0, 1\">Wrong id</>",
    "NoPermissionsKit":"<RichColor Color=\"1, 0, 0, 1\">You don't have permission to use this kit</>",
    "CantBuyKit":"<RichColor Color=\"1, 0, 0, 1\">You can't buy this kit</>",
    "BoughtKit":"<RichColor Color=\"0, 1, 0, 1\">You have successfully bought {0} kit</>",
    "AvailableKits":"Available kits for you:",
    "NoKits":"No available kits",
    "KitsLeft":"You have {0} {1} kits left",
    "NoKitsLeft":"You don't have {0} kits left",
    "CantGivePoints":"<RichColor Color=\"1, 0, 0, 1\">You can't give points to yourself</>",
    "RidingDino":"<RichColor Color=\"1, 0, 0, 1\">You can't buy this item while riding a dino</>",
    "SentPoints":"<RichColor Color=\"0, 1, 0, 1\">You have successfully sent {0} points to {1}</>",
    "GotPoints":"You have received {0} points from {1}",
    "NoPlayer":"<RichColor Color=\"1, 0, 0, 1\">Player doesn't exist</>",
    "FoundMorePlayers":"<RichColor Color=\"1, 0, 0, 1\">Found more than one player with the given name</>",
    "BuyUsage":"Usage: /buy id amount",
    "ShopUsage":"Usage: /shop page",
    "KitUsage":"Usage: /kit KitName",
    "BuyKitUsage":"Usage: /BuyKit KitName amount",
    "TradeUsage":"Usage: /trade 'Player Name' amount",
    "PointsCmd":"/points",
    "TradeCmd":"/trade",
    "BuyCmd":"/buy",
    "ShopCmd":"/shop",
    "KitCmd":"/kit",
    "BuyKitCmd":"/buykit",
    "SellCmd":"/sell",
    "ShopSellCmd":"/shopsell",
    "SellUsage":"Usage: /sell id amount",
    "NotEnoughItems":"<RichColor Color=\"1, 0, 0, 1\">You don't have enough items ({0}/{1})</>",
    "SoldItems":"<RichColor Color=\"0, 1, 0, 1\">You have successfully sold items</>",
    "BadLevel":"<RichColor Color=\"1, 0, 0, 1\">Required level: {0} - {1}</>",
    "KitsListPrice":"Price: {0}",
    "KitsListFormat":"\"{0}\" - {1}. {2} left. {3}\n",
    "StoreListDino":"{0}) {1}. Level: {2}. Id: {3}. Price: {4}\n",
    "StoreListItem":"{0}) {1}. Id: {2}. Price: {3}\n",
    "StoreListFormat":"{0}",
    "OnlyOnSpawnKit":"This kit can be used only on spawn",
    "HelpCmd":"/shophelp",
    "ShopMessage":"Usage: /buy id amount",
    "HelpMessage":"This is shop help message",
    "ClaimCmd":"/claim",
    "ClaimedItems":"You have successfully claimed the items",
    "NothingToClaim":"You have nothing to claim",
    "ReceivedFirstPoints":"{}"
  }
}
I have the Permissions plugin installed also for this mod as it said it requires it
JSON:
{
  "Database":"sqlite",
  "MysqlHost":"localhost",
  "MysqlUser":"root",
  "MysqlPass":"pass",
  "MysqlDB":"arkdb",
  "MysqlPort":3306,
  "DbPathOverride":""
}
My question is what has to match and what doesn't between them? Just getting my head wrapped around this kinda code and everything thanks for the help to anyone!
 
Last edited:
Advertisement

Official Game Server Partner

xXDeathXx

New member
Donators
Messages
12
Likes
0
Points
1
Added a Screenshot of the problem as i forgot to add it so of course people are looking at this and wondering wtf lol sorry abotu that
 
Top