Jump to content

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


Michido

Recommended Posts

  • Replies 292
  • Created
  • Last Reply
11 hours ago, Staarbit said:

Hey, everyone! I'd love to use this on my own server, but I have one hosted by Nitrado. Does anyone happen to know if they're compatible? And how I'd go about installing it on a Nitrado server? Thanks so much!

No, nitrado doesn't allow it and their support is bad, It's not even likely you will receive an answer from them.

Link to comment
Share on other sites

  • 2 weeks later...

hello, is it possible to install this plugin twice without errors? I try to coexist two systems of currencies, with different rewards and others, on the same server and with the same plugin, but it is impossible to install it twice as usual, so if someone knows how to configure the plugin so that they work separately I would be very helpful

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
On 7/7/2018 at 6:41 PM, C9Satellizer said:

Hey i don't know what is going on here, it passes the json test but when i get into the game i can't buy anything. All it says is "wrong id" for everything

can someone please tell me what i did wrong i spent almost 2 days coding this, i'd really like it to work.

Ark Shop coding.json

use the ArkShop.Reload command in the console if it does not work the same, try changing any id with a number and give back the ArkShop.Reload command. "you can do everything to open server" sorry for the box i use traslate XD
Link to comment
Share on other sites

On 7/15/2018 at 5:42 PM, Res said:

Hey sorry but I have a problem I got the plugin working but as soon as I put my own code in it stopped working /kit just types in chat now. I ran the code through the Json test and couldent find anything this is the code.

https://pastebin.com/U3rRZbz1

Hello. you crash because it was full of errors. I fixed, just copy and paste and it will work
 {
     "General": {
         "TimedPointsReward": {
             "Enabled": true,
             "Interval": 5,
             "Groups": {
                 "Default": {
                     "Amount": 20
                 },
                 "Premiums": {
                     "Amount": 15
                 }
             }
         },
         "ItemsPerPage": 15,
         "ShopDisplayTime": 15.0,
         "ShopTextSize": 1.3,
         "DbPathOverride": "",
         "DefaultKit": "vip,starter"
     },
     "Kits": {
         "starter": {
             "DefaultAmount": 2,
             "Price": 300,
             "Description": "Starter kit (Flak+Base)",
             "OnlyFromSpawn": false,
             "Items": [{
                     "Amount": 1,
                     "Quality": 35,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalHelmet.PrimalItemArmor_MetalHelmet'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 35,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalShirt.PrimalItemArmor_MetalShirt'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 35,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalPants.PrimalItemArmor_MetalPants'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 35,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalBoots.PrimalItemArmor_MetalBoots'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 35,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Metal/PrimalItemArmor_MetalGloves.PrimalItemArmor_MetalGloves'"
                 },
                 {
                     "Amount": 100,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Walls_L/Glass/PrimalItemStructure_LargeWall_Glass.PrimalItemStructure_LargeWall_Glass'"
                 },
                 {
                     "Amount": 100,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Glass/PrimalItemStructure_Foundation_Glass.PrimalItemStructure_Foundation_Glass'"
                 },
                 {
                     "Amount": 100,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Ceilings/Square/Glass/PrimalItemStructure_Ceiling_Glass.PrimalItemStructure_Ceiling_Glass'"
                 },
                 {
                     "Amount": 2,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Doorframes_Double/Glass/PrimalItemStructure_DoubleDoorframe_Glass.PrimalItemStructure_DoubleDoorframe_Glass'"
                 },
                 {
                     "Amount": 2,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/StructuresPlusMod/Doors/Doors_Double/Glass/PrimalItemStructure_DoubleDoor_Glass.PrimalItemStructure_DoubleDoor_Glass'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/ArkAuto/Structures/TurretFiller/PrimalItemStructure_TurretFillerAA.PrimalItemStructure_TurretFillerAA'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/ArkAuto/Structures/TekGenerator/PrimalItemStructure_TekGenerator_AA.PrimalItemStructure_TekGenerator_AA'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/ArkAuto/Structures/AAIndustrialForge/PrimalItemStructure_IndustrialForgeAA.PrimalItemStructure_IndustrialForgeAA'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/StructuresPlusMod/Crafting/Fabricator/PrimalItemStructure_FabricatorPlus.PrimalItemStructure_FabricatorPlus'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/StructuresPlusMod/Crafting/ChemistryBench/PrimalItemStructure_ChemBenchPlus.PrimalItemStructure_ChemBenchPlus'"
                 },
                 {
                     "Amount": 10000,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_Gasoline.PrimalItemResource_Gasoline'"
                 },
                 {
                     "Amount": 30,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/StructuresPlusMod/Misc/AutoTurretHeavy/PrimalItemStructure_AutoTurret_Heavy.PrimalItemStructure_AutoTurret_Heavy'"
                 },
                 {
                     "Amount": 5000,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemAmmo_AdvancedRifleBullet.PrimalItemAmmo_AdvancedRifleBullet'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Glass/PrimalItemStructure_Foundation_Glass.PrimalItemStructure_Foundation_Glass'"
                 }
             ],
             "Dinos": [{
                 "Level": 90,
                 "Blueprint": "Blueprint'/Game/PrimalEarth/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'"
             }]
         },
         "fabby": {
             "DefaultAmount": 3,
             "Price": 200,
             "MinLevel": 1,
             "MaxLevel": 20,
             "Description": "Weapons kit (Fabby and sword)",
             "Items": [{
                     "Amount": 1,
                     "Quality": 50,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMachinedSniper.PrimalItem_WeaponMachinedSniper'"
                 },
                 {
                     "Amount": 1,
                     "Quality": 60,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponSword.PrimalItem_WeaponSword'"
                 },
                 {
                     "Amount": 100,
                     "Quality": 1,
                     "ForceBlueprint": false,
                     "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemAmmo_AdvancedSniperBullet.PrimalItemAmmo_AdvancedSniperBullet'"
                 }
             ]
         }
     },
     "ShopItems": {
         "ingots10000": {
             "Type": "item",
             "Description": "Metal Ingot (10000x)",
             "Price": 40,
             "Items": [{
                 "Quality": 0,
                 "ForceBlueprint": false,
                 "Amount": 10000,
                 "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": {
             "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": {
             "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
         }
     },
     "SellItems": {
         "metal": {
             "Type": "item",
             "Description": "100x metal",
             "Price": 10,
             "Amount": 100,
             "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_Metal.PrimalItemResource_Metal'"
         }
     },
     "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"
     }
 }

 

Link to comment
Share on other sites

can someone help me please!!!

So for some strange reason every time a player on my server uses a kit or buys something from the shop the server instantly crashes....ive triple checked the coding for the system and nothing has changed from the last time we had it on the server the only difference was we changed maps from Ragnarok to Scorched Earth....i thought it was a clash with a mod update so i deleted all the mod files from the server and reinstalled them all on the server....ive even deleted the data base for the shop just in case and nothing seems to have worked...server crashes still and i cant figure it out...here is the coding ive done for the server that hasnt changed in almost 4 weeks and its only acting up since we moved to scorched earth

Shop and Kit Layout.txt

Link to comment
Share on other sites

Archived

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


×
×
  • Create New...