Having trouble with the shop plugin

Welcome!

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

SignUp Now!

TheMakaan

Well-known member
Joined
Feb 26, 2019
Messages
4
Hello I'm new to using this plug in and I've read most of the information on it, so right now I'm just trying to play with it get a better understanding, I have a picture and as you can see I've added the Direwolf to the shop with all the necessary infomation to it's name, but if you see the server I'm getting an error with that plug in.. What am I doing wrong ?
 
That means you dont have somthing written right in the config use this website to help verify that everything is typed correctly
Just copy and paste your text into it and it will show where you have errors
https://jsonlint.com/
Also if you post your config file here I can look at it and help you
 
Thank you very much.


{
"Mysql":{
"UseMysql":false,
"MysqlHost":"localhost",
"MysqlUser":"apitest",
"MysqlPass":"12345",
"MysqlDB":"apitest"
},
"General":{
"TimedPointsReward":{
"Enabled":true,
"Interval":5,
"Groups":{
"Default":{
"Amount":5
},
"Premiums":{
"Amount":15
}
}
},
"ItemsPerPage":15,
"ShopDisplayTime":15.0,
"ShopTextSize":1.3,
"DbPathOverride":"",
"DefaultKit":"vip,starter"
},
"Kits":{
"starter":{
"DefaultAmount":2,
"Price":90,
"Description":"Starter kit (carno with saddle)",
"OnlyFromSpawn":true,
"Items":[
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
}
],
"Dinos":[
{
"Level":10,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Carno/Carno_Character_BP.Carno_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":{
"ingots100":{
"Type":"item",
"Description":"Metal Ingot (100x)",
"Price":15,
"Items":[
{
"Quality":0,
"ForceBlueprint":false,
"Amount":100,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_MetalIngot.PrimalItemResource_MetalIngot'"
}
]
},
"tools":{
"Type":"item",
"Description":"Tools (Metal Hatchet, Metal Pick)",
"Price":5,
"Items":[
{
"Quality":0,
"ForceBlueprint":false,
"Amount":1,
"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'"
}
]
},
"para":{
"Type":"dino",
"Description":"Parasaurolophus",
"Level":10,
"Price":20,
"MinLevel":10,
"MaxLevel":15,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Para/Para_Character_BP.Para_Character_BP'"
},
"carno":{
"Type":"dino",
"Description":"Carnotaurus",
"Level":15,
"Price":50,
"Neutered":true,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Carno/Carno_Character_BP.Carno_Character_BP'"
},
"wolf":{
"Type":"mammal",
"Description":"Direwolf",
"Level":50,
"Price":10,
"MinLevel":50,
"MaxLevel":70,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Direwolf/Direwolf_Character_BP.Direwolf_Character_BP'"
},
"crate25":{
"Type":"beacon",
"Description":"SupplyCrate Lvl 25",
"Price":100,
"ClassName":"SupplyCrate_Level25_Double_C"
},
"crate2":{
"Type":"beacon",
"Description":"Artifact Crate 2",
"Price":100,
"ClassName":"ArtifactCrate_2_C"
},
"exp1000":{
"Type":"experience",
"Description":"1000 points of experience",
"GiveToDino":false,
"Price":55,
"Amount":1000.0
},
"tekengram":{
"Type":"unlockengram",
"Description":"Engram TEK Boots & Gloves",
"Price":20,
"Items":[
{
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/TEK/PrimalItemArmor_TekBoots.PrimalItemArmor_TekBoots'"
},
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/TEK/PrimalItemArmor_TekGloves.PrimalItemArmor_TekGloves'"
{
},
"SellItems":{
"metal":{
"Type":"item",
"Description":"100x stone",
"Price":10,
"Amount":100,
"Blueprint":"Blueprint'/Game/Mods/Stack50/Resources/PrimalItemResource_Stone_Child.PrimalItemResource_Stone_Child'"
}
},
"Messages":{
"Sender":"ArkShop",
"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"
}
}
 
This is bit of a nightmare to remove and add things to this list, it seems to all effect each other.. :(
 
So here is your problem

"tekengram":{
"Type":"unlockengram",
"Description":"Engram TEK Boots & Gloves",
"Price":20,
"Items":[
{
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/TEK/PrimalItemArmor_TekBoots.PrimalItemArmor_TekBoots'"
},
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/TEK/PrimalItemArmor_TekGloves.PrimalItemArmor_TekGloves'"
{
},

Those brackets needs to be put before the bp path

"tekengram":{
"Type":"unlockengram",
"Description":"Engram TEK Boots & Gloves",
"Price":20,
"Items":[
{
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/TEK/PrimalItemArmor_TekBoots.PrimalItemArmor_TekBoots'"
},
{
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/TEK/PrimalItemArmor_TekGloves.PrimalItemArmor_TekGloves'"
},
This would be the correct spot
 
Ahhh I see, thank you for your assistance :) One more question,

Where it says Type and I put in Dino... does it matter between Dino/Fish/Mammal do I need to put input on the type of Animal it is ?

"Sabertooth": {
"Type": "dino",
"Description": "Sabertooth",
"Level": 10,
"Price": 1,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Saber/Saber_Character_BP.Saber_Character_BP'"
 
No, Dino encompasses all living creatures ;-) No need to state type
 
Ahhh I see, thank you for your assistance :) One more question,

Where it says Type and I put in Dino... does it matter between Dino/Fish/Mammal do I need to put input on the type of Animal it is ?

"Sabertooth": {
"Type": "dino", \\ This basically is what you type to show the game if it needs to spawn a item or a creature so if it was a item.
"Description": "Sabertooth",
"Level": 10,
"Price": 1,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Saber/Saber_Character_BP.Saber_Character_BP'"

If you wanted to do a item it would look like this


"energybrew": {
"Type": "item",
"Description": "Energy Brew (50x)",
"Price": 50,
"Items": [{
"Quality": 0,
"ForceBlueprint": false,
"Amount": 50, "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/PrimalItemConsumable_StaminaSoup.PrimalItemConsumable_StaminaSoup'"
}
]
},

This would spawn a Energy brew with a stack of 50
 
Tebex
Tempest Dedicated Servers
Rogue Vikings Discord Server - Rogue Vikings Gaming Servers - Minecraft Prison Servers - Minecraft Creative Servers
Monetize your ARK server
Back
Top