Atlas Shop, Currency & Kits 1.0

No permission to download
Advertisement

Official Game Server Partner

Haragon

Member
Plugin Developer
Donators
Messages
39
Likes
5
Points
8
Is it possible to get access to the proper files needed in order to make calls to AtlasShop from other plugins?
 

telco

New member
Messages
4
Likes
0
Points
1
Have a quick question, hopefully. Looks like shop and perm plugin is working okay so far. I want to setup a starter kit for new logins. Do you have to do something specific/separate to trigger that, or will that get done automatically the first time someone gets added to the db in perm group default. (using some examples that are posted on here)
I'm not getting the starter kit, and assumed there was some kind of automatic way that would get triggered. Is that true?

Example section of json.

"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'"
 

Michidu

Administrator
Staff member
Messages
610
Likes
412
Points
63
Where can I find the ATLAS API source as well? I feel like I am just looking in the wrong place heh
Same repository as for ark, just different folders.
Have a quick question, hopefully. Looks like shop and perm plugin is working okay so far. I want to setup a starter kit for new logins. Do you have to do something specific/separate to trigger that, or will that get done automatically the first time someone gets added to the db in perm group default. (using some examples that are posted on here)
I'm not getting the starter kit, and assumed there was some kind of automatic way that would get triggered. Is that true?
Make sure players in Default group or just remove permissions requirement.
 

telco

New member
Messages
4
Likes
0
Points
1
In the perm db, I have my steam id shown in the select command from permissiongroups with the perm group of Default.

If I select from the shopdb, within the players table, my steam id shows no kits, points, or spent values. How does the app know when to grant a player a 'starter' kit?
 

Michidu

Administrator
Staff member
Messages
610
Likes
412
Points
63
In the perm db, I have my steam id shown in the select command from permissiongroups with the perm group of Default.

If I select from the shopdb, within the players table, my steam id shows no kits, points, or spent values. How does the app know when to grant a player a 'starter' kit?
It should on player spawn.
 

GeekGoggles

Member
Donators
Messages
125
Likes
9
Points
18
Wanted to let you know for some reason there are some resources we can't sell. Not sure if it's a plugin issue or Atlas in general. Trying to sell

"Blueprint":"Blueprint'/Game/Atlas/AtlasCoreBP/Items/Resources/PrimalItemResource_Coal_Anthracite.PrimalItemResource_Coal_Anthracite'"

or

"Blueprint":"Blueprint'/Game/Atlas/AtlasCoreBP/Items/Resources/PrimalItemResource_Coal_Graphite.PrimalItemResource_Coal_Graphite'"

So far doesn't seem to work. I know it's not a config problem replaced the resource in the same code and it works for base_wood. Thanks in Advance ;)
 

GeekGoggles

Member
Donators
Messages
125
Likes
9
Points
18
Any way you could add the command to pay everyone at once that is currently online. Or at least everyone in the database! I think this would go great with Server Events!
 

telco

New member
Messages
4
Likes
0
Points
1
Now that everything seems to be working fine with the plugin, I have a question about the shop item order. In the config file, I have everything grouped together (metals, fibers, etc.). When I use the ingame /shop page to view the items in the shop, everything is out of order and all the items just show up randomly.
Is there any way for shop items to show up in the order they appear in the config file?

Also, I was using some examples I saw on the pages here to build out the config.
Some examples show putting in items like what the copper item I have below looks like. However, items will only actually work (able to buy) for me in the store if I put them in with the format that I used for cobalt. Do all shop 'items' have to be in the cobalt format?

"cobalt":{
"Type":"item",
"Description":"Cobalt Metal x500",
"Price":50,
"Items":[
{
"Quality":0,
"ForceBlueprint":false,
"Amount":500,
"Blueprint":"Blueprint'/Game/Atlas/AtlasCoreBP/Items/Resources/PrimalItemResource_Metal_Cobalt.PrimalItemResource_Metal_Cobalt'"
}
]
},
"copper":{
"Type":"item",
"Description":"Copper Metal x500",
"Price":50,
"Amount":500,
"Blueprint":"Blueprint'/Game/Atlas/AtlasCoreBP/Items/Resources/PrimalItemResource_Metal_Copper.PrimalItemResource_Metal_Copper'"
},
 

GeekGoggles

Member
Donators
Messages
125
Likes
9
Points
18
Now that everything seems to be working fine with the plugin, I have a question about the shop item order. In the config file, I have everything grouped together (metals, fibers, etc.). When I use the ingame /shop page to view the items in the shop, everything is out of order and all the items just show up randomly.
Is there any way for shop items to show up in the order they appear in the config file?

Also, I was using some examples I saw on the pages here to build out the config.
Some examples show putting in items like what the copper item I have below looks like. However, items will only actually work (able to buy) for me in the store if I put them in with the format that I used for cobalt. Do all shop 'items' have to be in the cobalt format?

"cobalt":{
"Type":"item",
"Description":"Cobalt Metal x500",
"Price":50,
"Items":[
{
"Quality":0,
"ForceBlueprint":false,
"Amount":500,
"Blueprint":"Blueprint'/Game/Atlas/AtlasCoreBP/Items/Resources/PrimalItemResource_Metal_Cobalt.PrimalItemResource_Metal_Cobalt'"
}
]
},
"copper":{
"Type":"item",
"Description":"Copper Metal x500",
"Price":50,
"Amount":500,
"Blueprint":"Blueprint'/Game/Atlas/AtlasCoreBP/Items/Resources/PrimalItemResource_Metal_Copper.PrimalItemResource_Metal_Copper'"
},
Yup same for me it will say you have 0/100 when you have the right amount and correct item! I can spawn then but can't sell some.
 

Visual

Member
Donators
Messages
52
Likes
9
Points
8
@Michidu

I run 36 grids with this plugin and some of them seem to disconnect from the plugin and it stops working, mysql should be able to handle this many connections right? I think it may be due to too many grids using the same plugin files? It's 18 grids per server and they use the same plugin files, could that be the issue?
 

Foppa

Moderator
Staff member
Messages
676
Likes
62
Points
28
Website
foppasgaming.com
@Michidu

I run 36 grids with this plugin and some of them seem to disconnect from the plugin and it stops working, mysql should be able to handle this many connections right? I think it may be due to too many grids using the same plugin files? It's 18 grids per server and they use the same plugin files, could that be the issue?
That shouldn't be a problem though.
How many simultaneous connections does your Mysql allow?
 
Messages
125
Likes
9
Points
18
Expecting the keyboard to type it for you? I've already GIVEN hundreds of lines of my work (nothing compared to the work the devs here have done). Instead of expecting someone to do the work for you, why don't make yourself worth something to the community and contribute!
Haha wow you took that from one comment stated I have them all and have been digging into the game files, to get them finished. Might check yourself mate ;)
 
Top