Jump to content

[Server Plugin] Shop, Currency & Kits v2.3


Michido

Recommended Posts

On 1/9/2018 at 2:15 AM, Michido said:
There were a lot of errors, basically in every item. This seems to be a fixed version (untested) https://pastebin.com/QFsfUut3

Thank you.  The kits straight up hard crash the server, so I had to remove those for now.  But the rest works great..

I just need to learn how to actually write this all out to get the rest working now!   i do appreciate the help!

Link to comment
Share on other sites

  • Replies 292
  • Created
  • Last Reply

I've just installed and customized the config for my server and i even verified the coding on JSON Formatter to make sure i did everything correctly...but for some reason when i type in /shop nothing appears anymore and i've never had this happen to me before...when i type in /kit its showing me 2 different kits which doesnt make sense seeing how i only created 1 type of kit for my players to use...typing /kit shows me my Starter kit and shows my ShopItems which isnt supposed to be there because its as if they code is reading it all items in the shop are all in 1 kit which isnt right....Please help me and tell me what i need to do to fix this lol i know for a fact i messed something up somewhere and im not entirely sure what i messed up....Here is the current file for the plugin 



Nvm i figured out what happened lol forgot 1 little bracket

Link to comment
Share on other sites

Hi Guys

I was hoping that some one can help me fix this issue i have on my server , when i go to buy a starter kit  i receive the items But then the server crashes.  Code Follows:-

{
    "General": {
        "TimedPointsReward": {
            "Enabled": true,
            "Interval": 10,
            "Amount": 50
        },
        "ItemsPerPage": 20,
        "ShopDisplayTime": 15.0
    },
    "kit": {
        "starter": {
            "DefaultAmount": 5,
            "Price": 150,
            "Items": [{
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalPants.PrimalItemArmor_MetalPants'"
                },
                {
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalShirt.PrimalItemArmor_MetalShirt'"
                },
                {
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalHelmet.PrimalItemArmor_MetalHelmet'"
                },
                {
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalBoots.PrimalItemArmor_MetalBoots'"
                },
                {
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalGloves.PrimalItemArmor_MetalGloves'"
                },
                {
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalHatchet.PrimalItem_WeaponMetalHatchet'"
                },
                {
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalPick.PrimalItem_WeaponMetalPick'"
                },
                {
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/Test/PrimalItem_WeaponSpyglass.PrimalItem_WeaponSpyglass'"
                },
                {
                    "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_WeaponCrossbow.PrimalItem_WeaponCrossbow'"
                },
                {
                    "amount": 100,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemAmmo_ArrowTranq.PrimalItemAmmo_ArrowTranq'"
                },
                {
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/PrimalItemConsumable_WaterJarCraftable.PrimalItemConsumable_WaterJarCraftable'"
                },
                {
                    "amount": 2,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Structures/Misc/PrimalItemStructure_SleepingBag_Hide.PrimalItemStructure_SleepingBag_Hide'"
                },
                {
                    "amount": 1,
                    "quality": 0,
                    "forceBlueprint": false,
                    "blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_PteroSaddle.PrimalItemArmor_PteroSaddle'"
                }
            ]
        },
        "ShopItems": {

any help would be Great full 

Link to comment
Share on other sites

6 hours ago, Fluffypawns said:

Hi Guys

I was hoping that some one can help me fix this issue i have on my server , when i go to buy a starter kit  i receive the items But then the server crashes.  Code Follows:-

any help would be Great full 

Seems like you forgot one ' } ' before '"ShopItems": {'.

On 1/24/2018 at 1:07 PM, Tiny1 said:

i just added this mod for my server i added quetz by following all instructions but now when i restart server it doesn,t show shop when i type /shop in chat so can i get a reply on this have i done something worng

 

Most likely you did something wrong, but can't tell without a config.

Link to comment
Share on other sites

Updated to V2.0.

  • Added permissions support
  • Added option to change database path to the config
  • Added experience points to the shop
  • Added option to change text size for /shop command
  • /kit command was improved
  • Kits may have a description now
  • Messages are now configurable
  • Dinos can be spawned using blueprints
  • /trade command uses character name instead of steam name
  • Amounts of points given for the time spent on the server can be configured for groups
  • Some other improvements

It requires V2.0 of the API. Please, read "Upgrading from V1" section, old configs are not compatible.

Link to comment
Share on other sites

  • 3 weeks later...
13 hours ago, Allanon said:

ARK\ShooterGame\Binaries\Win64 why cant i find any of this ive followed the video but lost me when taking stuff from the one folder to another i know were the arkAPI is but idk were to find the other file..... please help just started my first server today lol any help is appreciated....

What exactly you can't find? "ARK" - is the location of your server.

Link to comment
Share on other sites

Hello guys,

I have had the plugin installed on my pvp cluster for ages now and it works great.
I recently setup a PVE cluster and have noticed something odd, on the island everything works fine. But on Rag and Aberration i get the points every 10mins, but none of the commands work. Anybody know a fix?

I have installed Api and put in folder ect.. like on the pvp cluster, i have validated the Json file. The only thing different is, i have changed the level that the dinos from shop are given from 224 to 750. Is there some Level cap issue?

Link to comment
Share on other sites

On 15.02.2018 at 6:37 AM, Misaligned said:

Is there a option to limit points with a cap? If I wanted to cap the amount of points earned instead of infinite point generation?

Currently no. You can only manually edit db to remove points.

19 hours ago, Killakeller666 said:

Hello guys,

I have had the plugin installed on my pvp cluster for ages now and it works great.
I recently setup a PVE cluster and have noticed something odd, on the island everything works fine. But on Rag and Aberration i get the points every 10mins, but none of the commands work. Anybody know a fix?

I have installed Api and put in folder ect.. like on the pvp cluster, i have validated the Json file. The only thing different is, i have changed the level that the dinos from shop are given from 224 to 750. Is there some Level cap issue?

Do you use the latest version? None of commands work or only dinos?

Link to comment
Share on other sites

3 hours ago, Michido said:

Currently no. You can only manually edit db to remove points.

Do you use the latest version? None of commands work or only dinos?

I'm not sure, possible not as pvp cluster has been up about 6 months now. Where could i find the latest version?
No all codes are not working, but it can see the config file as im getting 20 points per 10mins (how its set in the config.Json)

Link to comment
Share on other sites

20 hours ago, Killakeller666 said:

I'm not sure, possible not as pvp cluster has been up about 6 months now. Where could i find the latest version?
No all codes are not working, but it can see the config file as im getting 20 points per 10mins (how its set in the config.Json)

The first post here has the download link. I'm not sure what your problem for now, but try to use v2.0. Just keep in mind that config format was updated.

Link to comment
Share on other sites

Hi Guys 

Been having an issue using the plugin i have not removed anything i did not need but for some reason my shop wont work at all i have asked a whole bunch of forums to no avail could i please get some help

 

 

{
  "General":{
    "TimedPointsReward":{
      "Enabled":true,
      "Interval":20,
      "Amount":50
    },
    "ItemsPerPage":20,
    "ShopDisplayTime":45.0
  },
  "Kits":{
    "starter":{
      "DefaultAmount":3,
      "Price": 100,
      "Items":[
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponPike.PrimalItem_WeaponPike'"
        },
        {
          "amount":50,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/PrimalItemConsumable_Narcotic.PrimalItemConsumable_Narcotic'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalHatchet.PrimalItem_WeaponMetalHatchet'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponSickle.PrimalItem_WeaponSickle'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalPick.PrimalItem_WeaponMetalPick'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/Test/PrimalItem_WeaponSpyglass.PrimalItem_WeaponSpyglass'"
        },
        {
          "amount":2,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/BaseBPs/PrimalItemConsumableBuff_Parachute.PrimalItemConsumableBuff_Parachute'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Chitin/PrimalItemArmor_ChitinGloves.PrimalItemArmor_ChitinGloves'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Chitin/PrimalItemArmor_ChitinBoots.PrimalItemArmor_ChitinBoots'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Chitin/PrimalItemArmor_ChitinBoots.PrimalItemArmor_ChitinHelmet'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Chitin/PrimalItemArmor_ChitinBoots.PrimalItemArmor_ChitinPants'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Chitin/PrimalItemArmor_ChitinBoots.PrimalItemArmor_ChitinShirt'"
        },
        {
          "amount":50,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/PrimalItemConsumable_CookedMeat.PrimalItemConsumable_CookedMeat'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/PrimalItemConsumable_WaterJarRefill.PrimalItemConsumable_WaterJarRefill'"
        },
        {
          "amount":20,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/Test/PrimalItemConsumable_Egg_Dodo.PrimalItemConsumable_Egg_Dodo'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponCrossbow.PrimalItem_WeaponCrossbow'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Chitin/PrimalItemArmor_ChitinBoots.PrimalItemArmor_ChitinShirt'"
        },
        {
          "amount":1,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponSword.PrimalItem_WeaponSword'"
        },
        {
          "amount":5,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":    "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponBola.PrimalItem_WeaponBola'"
        },
        {
          "amount":100,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemAmmo_ArrowStone.PrimalItemAmmo_ArrowStone'"
        },
        {
          "amount":100,
          "quality":0,
          "forceBlueprint":false,
          "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemAmmo_ArrowTranq.PrimalItemAmmo_ArrowTranq'"
        {
      ],
      "Dinos":[

      ]
    },
    "vip":{
      "DefaultAmount":3,
      "Items":[

      ],
      "Dinos":[
        {
          "level":100,
          "className":"Ptero_Character_BP_C"
        }
      ]
    }
  },
  "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'"
        }
      ]
    },
    "Bulb":{
      "type":"dino",
      "description":"Bulbdog",
      "level":225,
      "price":100,
      "className":"LanternPug_Character_BP_C"
    },
    "Shine":{
      "type":"dino",
      "description":"Shinehorn",
      "level":225,
      "price":100,
      "className":"LanternGoat_Character_BP_C"
    },
    "Glow":{
      "type":"dino",
      "description":"Glowtail",
      "level":225,
      "price":100,
      "className":"LanternLizard_Character_BP_C"
    },
    "Feather":{
      "type":"dino",
      "description":"Featherlight",
      "level":225,
      "price":100,
      "className":"LanternBird_Character_BP_C"
    },
    "Lamp":{
      "type":"dino",
      "description":"Lamprey",
      "level":225,
      "price":250,
      "className":"Lamprey_Character_C"
    },
    "Rav":{
      "type":"dino",
      "description":"Ravager",
      "level":225,
      "price":250,
      "className":"CaveWolf_Character_BP_C"
    },
    "Rat":{
      "type":"dino",
      "description":"Rolerat",
      "level":225,
      "price":250,
      "className":"MoleRat_Character_BP_C"
    },
    "Seeker":{
      "type":"dino",
      "description":"Seeker",
      "level":225,
      "price":250,
      "className":"Pteroteuthis_Char_BP_C"
    },
    "Crab":{
      "type":"dino",
      "description":"Karkinos",
      "level":225,
      "price":1000,
      "className":"Crab_Character_BP_C"
    },
    "Basil":{
      "type":"dino",
      "description":"Basilisk",
      "level":225,
      "price":1000,
      "className":"Basilisk_Character_BP_C"
    },
    "King":{
      "type":"dino",
      "description":"Reaperking",
      "level":225,
      "price":1500,
      "className":"Xenomorph_Character_BP_Male_Tamed_C"
    },
    "Drake":{
      "type":"dino",
      "description":"Rockdrake",
      "level":225,
      "price":1500,
      "className":"RockDrake_Character_BP_C"
    },
    "Mant":{
      "type":"dino",
      "description":"Manticore",
      "level":225,
      "price":1750,
      "className":"Manticore_Character_BP_C"
    },
    "Angler":{
      "type":"dino",
      "description":"AnglerFish",
      "level":150,
      "price":250,
      "className":"Angler_Character_BP_C"
    }
  }
}

 

 

Link to comment
Share on other sites

7 hours ago, spanks2019 said:

Hi Guys 

Been having an issue using the plugin i have not removed anything i did not need but for some reason my shop wont work at all i have asked a whole bunch of forums to no avail could i please get some help

Old configs are not compatible with V2, look at the new example. Now every option starts with the capital letter, also dinos are using blueprints instead of classname.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...