Shop, Currency & Kits

Shop, Currency & Kits 2.8

No permission to download
Advertisement

Official Game Server Partner

Nefiu

New member
Messages
5
Likes
0
Points
1
hey guys thanks for the answers !


Does anyone know how to make a command for the shop to buy an item and take random quality? like saddles or weapons?
 

Nefiu

New member
Messages
5
Likes
0
Points
1
I have this command line in the shop


"miel": {
"Type": "item",
"Description": "100 frascos de miel",
"Price": 200,
"Items": [
{
"ForceBlueprint": false,
"Amount": 100,
"Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/PrimalItemConsumable_Honey.PrimalItemConsumable_Honey'"
}
]
},



when a player buys this the server goes down,
Does anyone have any ideas?
 

toxxick

New member
Messages
19
Likes
0
Points
1
I have this command line in the shop


"miel": {
"Type": "item",
"Description": "100 frascos de miel",
"Price": 200,
"Items": [
{
"ForceBlueprint": false,
"Amount": 100,
"Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/PrimalItemConsumable_Honey.PrimalItemConsumable_Honey'"
}
]
},



when a player buys this the server goes down,
Does anyone have any ideas?
try getting rid of the space before the second blueprint. "Blueprint":"Blueprint'/Game/PrimalEarth
 
Messages
51
Likes
2
Points
8
so I'm having a little trouble there is a new bug that's appeared on my server every time I try to buy something and it's happening to a bunch of other people on my server to but it will go requires level 1 to 999999999 I have the points I'm in between the levels requirements the only thing that seemed to fix it is restarting the server help
 
Messages
30
Likes
4
Points
8
hey guys im struggeling with my config aswell always on line 221 right bevore shopitems it shows my fail but its exact same as default there maybe anyone could help me ? would really apreciate that

{
"General":{
"TimedPointsReward":{
"Enabled":true,
"Interval":60,
"Groups":{
"Default":{
"Amount":50
},
"Premiums":{
"Amount":100
}
}
},
"ItemsPerPage":15,
"ShopDisplayTime":15.0,
"ShopTextSize":1.3,
"DbPathOverride":"",
"DefaultKit":"vip,starter"
},
"Kits":{
"starter":{
"DefaultAmount":5,
"Price":0,
"Description":"Starter kit (PT with Saddle)",
"OnlyFromSpawn":true,
"Items":[
{
"Amount":1,
"Quality":4,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_PteroSaddle.PrimalItemArmor_PteroSaddle'"
}
],
"Dinos":[
{
"Level":100,
"Blueprint":"Blueprint'/Game/Mods/ClassicFlyers/Dinos/Ptero/Ptero_Character_BP.Ptero_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'"
}
]
},
"Starter":{
"DefaultAmount":20,
"Price":50,
"MinLevel":1,
"MaxLevel":250,
"Description":"Starter",
"Items":[
{
"Amount":1,
"Quality":3,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalPants.PrimalItemArmor_MetalPants'"
},
{
"Amount":1,
"Quality":3,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalShirt.PrimalItemArmor_MetalShirt'"
},
{
"Amount":1,
"Quality":3,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalHelmet.PrimalItemArmor_MetalHelmet'"
},
{
"Amount":1,
"Quality":3,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalBoots.PrimalItemArmor_MetalBoots'"
},
{
"Amount":1,
"Quality":3,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalGloves.PrimalItemArmor_MetalGloves'"
},
{
"Amount":1,
"Quality":3,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponOneShotRifle.PrimalItem_WeaponOneShotRifle'"
},
{
"Amount":30,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemAmmo_RefinedTranqDart.PrimalItemAmmo_RefinedTranqDart'"
},
{
"Amount":1,
"Quality":3,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalHatchet.PrimalItem_WeaponMetalHatchet'"
},
{
"Amount":1,
"Quality":3,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalPick.PrimalItem_WeaponMetalPick'"
}
]
}
},
"Base":{
"DefaultAmount":2,
"Price":50,
"MinLevel":1,
"MaxLevel":250,
"Description":"Starter Base",
"Items":[
{
"Amount":9,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Metal/PrimalItemStructure_Foundation_Metal.PrimalItemStructure_Foundation_Metal'"
},
{
"Amount":9,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Structures/Ceilings/Square/Metal/PrimalItemStructure_Ceiling_Metal.PrimalItemStructure_Ceiling_Metal'"
},
{
"Amount":10,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Structures/Walls_L/Metal/PrimalItemStructure_LargeWall_Metal.PrimalItemStructure_LargeWall_Metal'"
},
{
"Amount":4,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Structures/HatchFrames_L/Metal/PrimalItemStructure_LargeHatchframe_Metal.PrimalItemStructure_LargeHatchframe_Metal'"
},
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Structures/Gateways/Small/Metal/PrimalItemStructure_Gateway_Metal.PrimalItemStructure_Gateway_Metal'"
},
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Doors/Gates/Small/Metal/PrimalItemStructure_Gate_Metal.PrimalItemStructure_Gate_Metal'"
},
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/BoostedFab/WirelessGen/PrimalItemStructure_WirelessGen.PrimalItemStructure_WirelessGen'"
},
{
"Amount":200,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_Gasoline.PrimalItemResource_Gasoline'"
},
{
"Amount":10,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Misc/AutoTurretHeavy/PrimalItemStructure_AutoTurret_Heavy.PrimalItemStructure_AutoTurret_Heavy'"
},
{
"Amount":2000,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/BoostedFab/Ammo/PrimalItemAmmo_AdvancedRifleBullet_Auto.PrimalItemAmmo_AdvancedRifleBullet_Auto'"
},
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Crafting/Smithy/PrimalItemStructure_SmithyPlus.PrimalItemStructure_SmithyPlus'"
},
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Crafting/Fabricator/PrimalItemStructure_FabricatorPlus.PrimalItemStructure_FabricatorPlus'"
},
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Crafting/ChemistryBench/PrimalItemStructure_ChemBenchPlus.PrimalItemStructure_ChemBenchPlus'"
},
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Misc/Hatchery/PrimalItemStructure_Hatchery.PrimalItemStructure_Hatchery'"
},
{
"Amount":100,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/BaseBPs/PrimalItemConsumableMiracleGro.PrimalItemConsumableMiracleGro'"
},
{
"Amount":100,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/PrimalItemConsumable_Honey.PrimalItemConsumable_Honey'"
},
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/Mods/StructuresPlusMod/Misc/Nanny/PrimalItemStructure_Nanny.PrimalItemStructure_Nanny'"
}
]
}
},
"ShopItems":{
"Element":{
"Type":"item",
"Description":"Element (50x)",
"Price":250,
"Items":[
{
"Quality":0,
"ForceBlueprint":false,
"Amount":50,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_Element.PrimalItemResource_Element'"
}
]
},
"tools":{
"Type":"item",
"Description":"Tools (Metal Hatchet, Metal Pick)",
"Price":50,
"Items":[
{
"Quality":8,
"ForceBlueprint":false,
"Amount":1,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalHatchet.PrimalItem_WeaponMetalHatchet'"
},
{
"Quality":8,
"ForceBlueprint":false,
"Amount":1,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalPick.PrimalItem_WeaponMetalPick'"
}
]
},
"Anky":{
"Type":"dino",
"Description":"Ankylo",
"Level":200,
"Price":250,
"MinLevel":1,
"MaxLevel":250,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Ankylo/Ankylo_Character_BP.Ankylo_Character_BP'"
},
"Theri":{
"Type":"dino",
"Description":"Therizinosaurus",
"Level":200,
"Price":250,
"MinLevel":1,
"MaxLevel":250,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Therizinosaurus/Therizino_Character_BP.Therizino_Character_BP'"
},
"Angler":{
"Type":"dino",
"Description":"Anglerfish",
"Level":200,
"Price":250,
"MinLevel":1,
"MaxLevel":250,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Para/Para_Character_BP.Para_Character_BP'"
},
"Quetz":{
"Type":"dino",
"Description":"Quetzal",
"Level":150,
"Price":250,
"Neutered":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Quetzalcoatlus/Quetz_Character_BP.Quetz_Character_BP'"
},
]
}
},
"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"
}
}
 

MarleyA

New member
Messages
1
Likes
0
Points
1
Hey,

Is there a way to award players with a one of X amount of points upon joining for the first time? Possibly a way through the default kit?

Thanks.
 
Messages
2
Likes
0
Points
1
Anyone know whats up with this error? Addon seems to work fine, but this error is being spammed in the console.

11/07/18 08:26 [Permission][error] (f:\programs\ark\plugins\permissions\permissions\private\database\sqllitedb.h SqlLite::GetPlayerGroups) Unexpected DB error No row to get a column from. executeStep() was not called, or returned false.
I have same issue, does anyboyd knows what it is?
 

eb175817

New member
Messages
1
Likes
0
Points
1
how do i get the shop up and running? i do not own my own server, but i bought a server ip from a company. i had them install it, because i could not figure out how install it on ftp.. its been awhile since i touched a sql server or c ++ for that matter. i renamed the ArkDB.db to Arkshop.db and thats as far as i have gotten. i would love some insight please.
 

GMAN444

New member
Messages
7
Likes
0
Points
1
Hey guys i cant seem to issue out any of the basic commands to addpoints or getplayerpoints

[1/20/2019 9:29 PM] > GetPlayerPoints Galaxywalkers
[1/20/2019 9:29 PM] Couldn't get points amount
[1/20/2019 9:34 PM] > addpoints galaxywalkers 1000
[1/20/2019 9:34 PM] Couldn't add points

has anyone had this?
 

Michidu

Administrator
Staff member
Messages
615
Likes
448
Points
63
@Michidu Can i connect the ark shop and atlas shop to the same msql database so they can share the points?
Currently no, because of different table names. But i will add a support for it.
when I try updating the mod today it didn't launch with the server and I could not force a load either
I forgot to mention, that you need to update your config. Add 'MySQL' section from the new config. Probably that's the error.
 
Top