Shop, Currency & Kits

Shop, Currency & Kits 2.8

No permission to download
Advertisement

Official Game Server Partner

Venum

New member
Messages
13
Points
1
Hello, I have a problem somewhere. When I type / Buy Rex OK but when I type / Buy Charcoal he tells me Wrong id can help you Thank you
 

Attachments

Faka

Member
Plugin Developer
Donators
Messages
73
Points
18
How do I give a player vip?
First of all:
Permissions.AddGroup vip
Permissions.Grant vip vip

For every player:
Permissions.Add SteamID vip

Then in shop config at kits would be like:
"vip":{
"DefaultAmount":1,
"Description":"Vip kit for premiums (ptero)",
"Permissions":"vip",
"Dinos":[
{
"Level":20,
"Neutered":true, // Is dino neutered
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Ptero/Ptero_Character_BP.Ptero_Character_BP'"
}
]
},
 

Faka

Member
Plugin Developer
Donators
Messages
73
Points
18
Can you help me please
"charcoal":{
"Type":"item",
"Description":"Charcoal (100)",
"Price":1,
"Items":[
{
"Quality":0,
"ForceBlueprint":false,
"Amount":100,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_Charcoal.PrimalItemResource_Charcoal'"
}
]
},
 

kfking

New member
Messages
11
Points
3
When I enter the command to change the number of points in the console, the game has no reaction.
 

Venum

New member
Messages
13
Points
1
Hello I modified as Mark the kit (starter & bass) Also walks the dinos. when I type / Buy ingots his walk but not / Buy poly because his crash I'm ejecting from the server
 

Attachments

Foppa

Administrator
Staff member
Messages
1,000
Points
63
Website
foppasgaming.com
When I enter the command to change the number of points in the console, the game has no reaction.
Ensure you are logged in as admin and execute the command with cheat before. Example:
admincheat ResetKits

And about to change the amount of "free" kits you want to give to someone. You need to change the config file that's included and look for the kit and change the "DefaultAmount"

Hello I modified as Mark the kit (starter & bass) Also walks the dinos. when I type / Buy ingots his walk but not / Buy poly because his crash I'm ejecting from the server
According to your config, it looks like you are using an old version. Are you using the latest version of the ArkShop ?
Ensure you are using the newest Arkshop + API and download and copy the "Messages" section from the latest Arkshop config.
And also, if you are using a stackmod I'll recommend you to use the stackmods blueprint paths otherwise 10k Polymer won't work with vanilla paths.
 

Venum

New member
Messages
13
Points
1
Hello, yes it's 2.5 so my file is not good? because I picked up this line on various file find here
 

Venum

New member
Messages
13
Points
1
I just changed the links for the mods But it still does not work I'm ejecting from the server the kit share against market ....



09/01/18 12:24 [info] Venum(76561198046218817) used kit "Starter"
09/01/18 12:24 [info] Venum(76561198046218817) used kit "Basse"
09/01/18 12:26 [info] Venum(76561198046218817) used kit "ptera"
 

Attachments

Kals

New member
Messages
6
Points
1
First of all:
Permissions.AddGroup vip
Permissions.Grant vip vip

For every player:
Permissions.Add SteamID vip

Then in shop config at kits would be like:
"vip":{
"DefaultAmount":1,
"Description":"Vip kit for premiums (ptero)",
"Permissions":"vip",
"Dinos":[
{
"Level":20,
"Neutered":true, // Is dino neutered
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Ptero/Ptero_Character_BP.Ptero_Character_BP'"
}
]
},
Permissions.Add SteamID vip
Where do I add this?
In the config file? If so, which line?
Create a better example if you can please
 

Faka

Member
Plugin Developer
Donators
Messages
73
Points
18
Permissions.Add SteamID vip
Where do I add this?
In the config file? If so, which line?
Create a better example if you can please
In the ingame (admin) console (or RCON).
 

Faka

Member
Plugin Developer
Donators
Messages
73
Points
18
can someone check this code for me , seems to be breaking the plugin but cant find where error is.
https://pastebin.com/PqqbLzJM
And the rest of the config?
{
"General":{
"TimedPointsReward":{
"Enabled":true, // Can be true or false.
"Interval":5, // 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":5 // Amount of points to give. Currently it means: 'give 5 points for every 5 minutes spent online'.
},
"Premiums":{
"Amount":15 // Players in group Premiums 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":90, // Allows players to buy additional kits. If you remove price, players won't be able to buy it.
"Description":"Starter kit (carno 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":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
}
],
"Dinos":[ // Can be empty if you don't want to add dinos.
{
"Level":10,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Carno/Carno_Character_BP.Carno_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":3,
"Price":50,
"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":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":{ // 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":15,
"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"
},
"exp1000":{ // Experience
"Type":"experience",
"Description":"1000 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":1000.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"
}
]
}
},
"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'"
}
}
}

For example, what about:
{
"General":{
"TimedPointsReward":{
"Enabled":true, // Can be true or false.
"Interval":5, // 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":5 // Amount of points to give. Currently it means: 'give 5 points for every 5 minutes spent online'.
},
"Premiums":{
"Amount":15 // Players in group Premiums 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'..
},
 

Kals

New member
Messages
6
Points
1
[QUOTE = "Faka, post: 4918, membro: 92"] No console do jogo (admin) (ou RCON). [/ QUOTE]
Só mais uma dúvida, como removo os Vips? E eu posso adicionar a construção sem colisão apenas pra vip?
 

darkjohnlpk

Member
Donators
Messages
113
Points
18
09/03/18 21:07 [ArkShop][warning] (d:\programs\ark\plugins\arkshop\arkshop\private\store.cpp ArkShop::Store::ChatBuy) Parsing error invalid stoi argument
09/03/18 22:18 [ArkShop][warning] (d:\programs\ark\plugins\arkshop\arkshop\private\storesell.cpp ArkShop::StoreSell::ChatSell) Parsing error invalid stoi argument

Does anyone know what this error is?
 
Top