Resource icon

[Unstable] ArkShop Rework 2.9.1

No permission to download

This is a rework of: https://arkserverapi.com/index.php?resources/shop-currency-kits.14/ ,
Make sure to check this page out first.


Added features:
  • Discord logs with webhooks.
  • Ability to auto imprint dino's in kits and shop!
  • Ability to customize weapon damage, durability, armor in kits and shop!
  • Total points spent fixed!
  • Ability to have saddled dino.
  • Option to specify a dino gender.
Future features:
  • Option to have categories in the /shop
  • Permissions in store
  • And more!

This plugin will work with your current arkshop config!

Config example:
JSON:
{
  "Mysql":{
    "UseMysql":false,
    "MysqlHost":"localhost",
    "MysqlUser":"apitest",
    "MysqlPass":"12345",
    "MysqlDB":"apitest"
  },
  "General":{
    "ServerName": "RAG",
    "DiscordWebhookKits": "Webhook Here",
    "DiscordWebhookStore": "Webhook Here",
    "TimedPointsReward":{
      "Enabled":true,
      "Interval":5,
      "Groups":{
        "Default":{
          "Amount":5
        },
        "Premiums":{
          "Amount":15
        }
      }
    },
    "ItemsPerPage":15,
    "ShopDisplayTime":15.0,
    "ShopTextSize":1.3,
    "DbPathOverride":"",
    "DefaultKit":"vip,starter"
  },
  "Kits":{
    "starter":{
      "DefaultAmount":2,
      "Price":90,
      "Description":"Starter kit (carno with saddle)",
      "OnlyFromSpawn":true,
      "Items":[
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
        },
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalHelmet.PrimalItemArmor_MetalHelmet'",
          "Durability":250,
          "Armor":200
        },
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalShirt.PrimalItemArmor_MetalShirt'",
          "Durability":250,
          "Armor":200
        },
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalGloves.PrimalItemArmor_MetalGloves'",
          "Durability":250,
          "Armor":200
        },
          {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalPants.PrimalItemArmor_MetalPants'",
          "Durability":250,
          "armor":200
        },
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalBoots.PrimalItemArmor_MetalBoots'",
          "Durability":250,
          "Armor":200
        }
      ],
      "Dinos":[
        {
          "Level":10,
          "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Carno/Carno_Character_BP.Carno_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'"
        }
      ]
    },
    "tools":{
      "DefaultAmount":3,
      "Price":50,
      "MinLevel":1,
      "MaxLevel":20,
      "Description":"Tools kit (pike and club)",
      "Items":[
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponPike.PrimalItem_WeaponPike'",
          "Durability": 100,
          "Damage": 150
        },
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponStoneClub.PrimalItem_WeaponStoneClub'",
          "Durability": 100,
          "Damage": 150
        }
      ]
    }
  },
  "ShopItems":{
    "flak":{
      "Type":"item",
      "Description":"Full flak armor",
      "Price":15,
      "Items":[
        {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalHelmet.PrimalItemArmor_MetalHelmet'",
          "Durability":250,
          "Armor":200
        },
          {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalShirt.PrimalItemArmor_MetalShirt'",
          "Durability":250,
          "Armor":200
        },
          {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalGloves.PrimalItemArmor_MetalGloves'",
          "Durability":250,
          "Armor":200
        },
            {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalPants.PrimalItemArmor_MetalPants'",
          "Durability":250,
          "Armor":200
        },
          {
          "Amount":1,
          "Quality":0,
          "ForceBlueprint":false,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalBoots.PrimalItemArmor_MetalBoots'",
          "Durability":250,
          "Armor":200
        }
      ]
    },
    "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'",
          "Durability": 100,
          "Damage": 150
        },
        {
          "Quality":0,
          "ForceBlueprint":false,
          "Amount":1,
          "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalPick.PrimalItem_WeaponMetalPick'",
          "Durability": 100,
          "Damage": 150
        }
      ]
    },
    "para":{
      "Type":"dino",
      "Description":"Parasaurolophus",
      "Level":10,
      "Price":20,
      "MinLevel":10,
      "MaxLevel":15,
      "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Para/Para_Character_BP.Para_Character_BP'",
      "Imprinted": true
    },
    "carno":{
      "Type":"dino",
      "Description":"Carnotaurus",
      "Level":15,
      "Price":50,
      "Neutered":true,
      "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Carno/Carno_Character_BP.Carno_Character_BP'",
      "Imprinted": true
    },
    "crate25":{
      "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":{
      "Type":"experience",
      "Description":"1000 points of experience",
      "GiveToDino":false,
      "Price":55,
      "Amount":1000.0
    },
    "tekengram":{
      "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'"
        }
      ]
    },
    "giga":{
      "Type":"dino",
      "Description":"Giganotosaurus",
      "Level":224,
      "Price":400,
      "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Giganotosaurus/Gigant_Character_BP.Gigant_Character_BP'",
      "Saddle": {
        "SaddleBP": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_GigantSaddle.PrimalItemArmor_GigantSaddle'",
        "SaddleQuality": 0,
        "SaddleArmor": 180
      }
    },
    "gigam":{
      "Type":"dino",
      "Description":"Giganotosaurus",
      "Level":224,
      "Price":400,
      "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Giganotosaurus/Gigant_Character_BP.Gigant_Character_BP'",
      "Gender": "m"
    },
    "gigaf":{
      "Type":"dino",
      "Description":"Giganotosaurus",
      "Level":224,
      "Price":400,
      "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Giganotosaurus/Gigant_Character_BP.Gigant_Character_BP'",
      "Gender": "f"
    },
    "allengrams":{
      "Type":"command",
      "Description":"All engrams",
      "Price":1000,
      "Items":[
        {
          "Command":"GiveEngrams"
        }
      ]
    }
  },
  "SellItems":{
    "metal":{
      "Type":"item",
      "Description":"100x stone",
      "Price":10,
      "Amount":100,
      "Blueprint":"Blueprint'/Game/Mods/Stack50/Resources/PrimalItemResource_Stone_Child.PrimalItemResource_Stone_Child'"
    }
  },
  "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"
  }
}

Please leave suggestions so i can add more features!
You can do this by joining the discord or leave them in the discussion!
Author
Tsjollin
Downloads
406
Views
6,259
First release
Last update
Rating
3.50 star(s) 12 ratings

Latest updates

  1. QUICKFIX 2.9.1

    Fixed bug with amount of items.
  2. 2.9

    Added following requested features: Total points spent fixed! Ability to have saddled dino...

Latest reviews

this plugin will 100% crash a server if used. I just rolled the dice and gave it a go and it indeed crashed my server within a hour of it being online. It may have something to do with discord hooking as someone spam bought the same package when it crashed which doesnt happen on the original.
awesome, been waiting for saddles + dinos in shopitems :)
Looking forward to more good features
If not problems with /kits, then everything would be great. Except it's a major issue.
Yor Discord Webhocks doenst work...
Great concept but causes crashes with errors referencing ArkShop.dll at random when people buy items from shop, revert back to regular ArkShop and the crashes stop.
causes server crashes , when player just put /kit sometimes
Error popping up & causes server crashes

Error message:
[ArkShop][error] (C:\Users\colli\Google Drive\projects\ArkShop\ArkShop\Private\Kits.cpp ArkShop::Kits::Hook_AShooterCharacter_AuthPostSpawnInit) Unexpected error [json.exception.type_error.302] type must be number, but is number
T
Tsjollin
Your config is wrong
Can I replace it with this plug-in https://arkserverapi.com/index.php?resources/shop -currency-kits.14/ ?
Very good !
Top