How do I fix this? (config issue)

Welcome!

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

SignUp Now!
Status
Not open for further replies.

grasslp

Well-known member
Joined
Apr 22, 2018
Messages
1
Hallo, I added the "Shop, Currency & Kits Plugin on my server and changed a few things.

{
"General":{
"TimedPointsReward":{
"Enabled":true, // Can be true or false.
"Interval":10, // Interval in minutes.
"Groups":{ // Amount of points given can be configured per group. Groups can be changed.
"Default":{ // Default group. Can't be removed.
"Amount":10 // Amount of points to give. Currently it means: 'give 5 points for every 5 minutes spent online'.
},
"VIP":{
"Amount":15 // Players in group VIP receives 15 points instead.
}
}
},
"ItemsPerPage":15, // Amount of entries per page (for /shop command).
"ShopDisplayTime":15.0, // Shop display time in seconds.
"ShopTextSize":1.3, // Shop text size.
"DbPathOverride":"", // Path to database, if 2 or more servers point to the one database, they will share points/kits amount.
// If empty, default path is used.
"DefaultKit":"vip,starter" // Kits that will be automatically given to players on spawn.
Separated by comma, no whitespace needed. Kits will be attempted to be given in the order. So first one is highest priority for trying.
In the example above on player respawn an attempt will be made to give the player 'vip' kit, if not then 'starter'..
},
"Kits":{
"starter":{ // Name (ID) of the kit.
// Starter kit example. This kit can be used by everyone. Kit gives dinos and items.
"DefaultAmount":2, // Amount of free kits.
"Price":10, // Allows players to buy additional kits. If you remove price, players won't be able to buy it.
"Description":"Starter kit (light ptera with saddle)", // Description of the kit.
"OnlyFromSpawn":true, // Players can receive this kit only on spawn
"Items":[ // List of items in kit, you can add as many as you want.
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
""Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_PteroSaddle.PrimalItemArmor_PteroSaddle'"'"
}
],
"Dinos":[ // Can be empty if you don't want to add dinos.
{
"Level":600,
"Blueprint'/Game/Mods/AE/Dinos/Elemental/Ptero/AEElecPtero_Character_BP.AEElecPtero_Character_BP'"
}
]
},
"vip":{ // Vip kit example. Only specific groups of players are allowed to use it. This kit gives only dinos.
"DefaultAmount":1,
"Description":"Vip kit for premiums (ptero)",
"Permissions":"Admins,Premiums", // Groups which can use this kit. Remove this option to make kit usable by everyone.
"Dinos":[
{
"Level":20,
"Neutered":true, // Is dino neutered
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Ptero/Ptero_Character_BP.Ptero_Character_BP'"
}
]
},
"tools":{ // Kit gives only items.
"DefaultAmount":2,
"Price":10,
"MinLevel":1, // Minimum player level required to use this kit
"MaxLevel":20, // Maximum possible level needed to use this kit
"Description":"Tools kit (pike and club)",
"Items":[
{
"Amount":1,
"Quality":10,
"ForceBlueprint":false,
"Blueprint": "Blueprint'/Game/Mods/AE/Items/Tools/EternalPick/PrimalItem_WeaponEternalPick.PrimalItem_WeaponEternalPick'"
},
{
"Amount":1,
"Quality":10,
"ForceBlueprint":false,
"Blueprint": "Blueprint'/Game/Mods/AE/Items/Tools/EternalHatchet/PrimalItem_WeaponEternalHatchet.PrimalItem_WeaponEternalHatchet'"
}
]
}
},
"ShopItems":{
"ingots100":{ // Item ID, it should not contain white spaces.
"Type":"item", // Type of the item, can be "item", "dino","beacon" or experience
"Description":"Metal Ingot (100x)", // Description for the /shop command
"Price":20,
"Items":[ // List of items, works the same way as in kits. But only items are allowed here.
{
"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":{ // Dino
"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'"
},
"crate25":{ // Beacon
"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"
},
"exp10000":{ // Experience
"Type":"experience",
"Description":"10000 points of experience",
"GiveToDino":false, // Can player buy it while riding a dino. If true, experience points can be applied to the dino.
"Price":55,
"Amount":10000.0
},
"tekengram":{ // Engram
"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'"
}
]
},
"allengrams":{ // Cheat command
"Type":"command",
"Description":"All engrams",
"Price":1000,
"Items":[
{
"Command":"GiveEngrams" // You can use {steamid} in command to automatically substitute player's steam id.
}
]
}
},
"SellItems":{ // Items available for selling. If you use stacks mod, you need to set blueprints from the mod!
"metal":{
"Type":"item", // Only 'item' can be used for now
"Description":"100x metal",
"Price":10, // Amount of points that player will receive for selling this item
"Amount":100, // Required quantity
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_Metal.PrimalItemResource_Metal'"
}
}
}

But the commands like /shop /kit and so on doesnt work. How do I fix that?

The PNG is the error from the console.
 
Hallo, I added the "Shop, Currency & Kits Plugin on my server and changed a few things.

{
"General":{
"TimedPointsReward":{
"Enabled":true, // Can be true or false.
"Interval":10, // Interval in minutes.
"Groups":{ // Amount of points given can be configured per group. Groups can be changed.
"Default":{ // Default group. Can't be removed.
"Amount":10 // Amount of points to give. Currently it means: 'give 5 points for every 5 minutes spent online'.
},
"VIP":{
"Amount":15 // Players in group VIP receives 15 points instead.
}
}
},
"ItemsPerPage":15, // Amount of entries per page (for /shop command).
"ShopDisplayTime":15.0, // Shop display time in seconds.
"ShopTextSize":1.3, // Shop text size.
"DbPathOverride":"", // Path to database, if 2 or more servers point to the one database, they will share points/kits amount.
// If empty, default path is used.
"DefaultKit":"vip,starter" // Kits that will be automatically given to players on spawn.
Separated by comma, no whitespace needed. Kits will be attempted to be given in the order. So first one is highest priority for trying.
In the example above on player respawn an attempt will be made to give the player 'vip' kit, if not then 'starter'..
},
"Kits":{
"starter":{ // Name (ID) of the kit.
// Starter kit example. This kit can be used by everyone. Kit gives dinos and items.
"DefaultAmount":2, // Amount of free kits.
"Price":10, // Allows players to buy additional kits. If you remove price, players won't be able to buy it.
"Description":"Starter kit (light ptera with saddle)", // Description of the kit.
"OnlyFromSpawn":true, // Players can receive this kit only on spawn
"Items":[ // List of items in kit, you can add as many as you want.
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
""Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_PteroSaddle.PrimalItemArmor_PteroSaddle'"'"
}
],
"Dinos":[ // Can be empty if you don't want to add dinos.
{
"Level":600,
"Blueprint'/Game/Mods/AE/Dinos/Elemental/Ptero/AEElecPtero_Character_BP.AEElecPtero_Character_BP'"
}
]
},
"vip":{ // Vip kit example. Only specific groups of players are allowed to use it. This kit gives only dinos.
"DefaultAmount":1,
"Description":"Vip kit for premiums (ptero)",
"Permissions":"Admins,Premiums", // Groups which can use this kit. Remove this option to make kit usable by everyone.
"Dinos":[
{
"Level":20,
"Neutered":true, // Is dino neutered
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Ptero/Ptero_Character_BP.Ptero_Character_BP'"
}
]
},
"tools":{ // Kit gives only items.
"DefaultAmount":2,
"Price":10,
"MinLevel":1, // Minimum player level required to use this kit
"MaxLevel":20, // Maximum possible level needed to use this kit
"Description":"Tools kit (pike and club)",
"Items":[
{
"Amount":1,
"Quality":10,
"ForceBlueprint":false,
"Blueprint": "Blueprint'/Game/Mods/AE/Items/Tools/EternalPick/PrimalItem_WeaponEternalPick.PrimalItem_WeaponEternalPick'"
},
{
"Amount":1,
"Quality":10,
"ForceBlueprint":false,
"Blueprint": "Blueprint'/Game/Mods/AE/Items/Tools/EternalHatchet/PrimalItem_WeaponEternalHatchet.PrimalItem_WeaponEternalHatchet'"
}
]
}
},
"ShopItems":{
"ingots100":{ // Item ID, it should not contain white spaces.
"Type":"item", // Type of the item, can be "item", "dino","beacon" or experience
"Description":"Metal Ingot (100x)", // Description for the /shop command
"Price":20,
"Items":[ // List of items, works the same way as in kits. But only items are allowed here.
{
"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":{ // Dino
"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'"
},
"crate25":{ // Beacon
"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"
},
"exp10000":{ // Experience
"Type":"experience",
"Description":"10000 points of experience",
"GiveToDino":false, // Can player buy it while riding a dino. If true, experience points can be applied to the dino.
"Price":55,
"Amount":10000.0
},
"tekengram":{ // Engram
"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'"
}
]
},
"allengrams":{ // Cheat command
"Type":"command",
"Description":"All engrams",
"Price":1000,
"Items":[
{
"Command":"GiveEngrams" // You can use {steamid} in command to automatically substitute player's steam id.
}
]
}
},
"SellItems":{ // Items available for selling. If you use stacks mod, you need to set blueprints from the mod!
"metal":{
"Type":"item", // Only 'item' can be used for now
"Description":"100x metal",
"Price":10, // Amount of points that player will receive for selling this item
"Amount":100, // Required quantity
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_Metal.PrimalItemResource_Metal'"
}
}
}

But the commands like /shop /kit and so on doesnt work. How do I fix that?

The PNG is the error from the console.

You must remove all comments from the configuration. regards
 
Yes as mention will fix your issue. Will close this topic.
 
Status
Not open for further replies.
Back
Top