Shop, Currency & Kits

Shop, Currency & Kits 2.8

No permission to download

redhollow

New member
Messages
5
Points
1
We have other plugins for item delivery, I would like to know if it is possible to execute a command when purchasing an item.
I tried using Advanced Kits, but the command doesn't work properly.
Has anyone managed to do this in any way?
 
Advertisement

Official Game Server Partner

redhollow

New member
Messages
5
Points
1
Wouldn't there be another way to execute a command from the purchase of an item?
Example:

"XXXX":{
"Type":"item",
"Description":"DINO XXX",
"Price":250,
"Items":[
{
"Quality":0,
"ForceBlueprint":false,
"Amount":1,
"GiveDinoInCryopodTo {steamid} Blueprint'xxxxx' 225 0 1 1 Blueprint'xxxxx'"
}
]
},
 

thedodoempire

New member
Messages
1
Points
1
I'm having an issue on my cluster with some players not being able to use kits and I'm hoping someone can help point me the right direction for where to look for the problem. User can purchase kit with "/buykit kitname 1", and points are subtracted from their account, but when they attempt to use "/kit kitname" command, it returns an error "You don't have have kitname kits left." It will work just fine for other players on the same maps, but certain players will get the error. Only thing I can confirm is that it's not a permissions problem, and it doesn't matter if they change maps. Anyone know what might be causing the kits to work for some people but not for others?
 

yn4ever

New member
Messages
3
Points
1
hi can you help me with my codes
i need to convert the 2 items ( coin100 and coin1000 ) to shop instead of kits i keep getting error
here is my code
thank you
Code:
{
    "Mysql": {
        "UseMysql": false,
        "MysqlHost": "localhost",
        "MysqlUser": "apitest",
        "MysqlPass": "12345",
        "MysqlDB": "apitest"
    },
    "General": {
        "TimedPointsReward": {
            "Enabled": true,
            "Interval": 20,
            "Groups": {
                "Default": {
                    "Amount": 30
                },
                "Premiums": {
                    "Amount": 60
                }
            }
        },
        "ItemsPerPage": 15,
        "ShopDisplayTime": 15.0,
        "ShopTextSize": 1.3,
        "DbPathOverride": "",
        "DefaultKit": "vip,starter"
    },
    "Kits": {
        "starter": {
            "DefaultAmount": 2,
            "Price": 0,
            "Description": "Starter kit (carno with saddle)",
            "OnlyFromSpawn": false,
            "Items": [{
                    "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/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": 5,
                    "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'"
                },
                {
                    "Amount": 25,
                    "Quality": 0,
                    "ForceBlueprint": false,
                    "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Consumables/PrimalItemConsumable_CookedMeat.PrimalItemConsumable_CookedMeat'"
                }
            ],
            "Dinos": [{
                "Level": 150,
                "Blueprint": "Blueprint'/Game/PrimalEarth/Dinos/Ptero/Ptero_Character_BP.Ptero_Character_BP'"
            }]
        },

        "vault": {
            "DefaultAmount": 1,
            "Price": 0,
            "MinLevel": 1,
            "MaxLevel": 200,
            "Description": "store vault",
            "Items": [{
                    "Amount": 1,
                    "Quality": 100,
                    "ForceBlueprint": false,
                    "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Structures/Thatch/PrimalItemStructure_ThatchWall.PrimalItemStructure_ThatchWall'"
                },
                {
                    "Amount": 1,
                    "Quality": 100,
                    "ForceBlueprint": false,
                    "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Structures/Thatch/PrimalItemStructure_ThatchFloor.PrimalItemStructure_ThatchFloor'"
                },
                {
                    "Amount": 1,
                    "Quality": 100,
                    "ForceBlueprint": false,
                    "Blueprint": "Blueprint'/Game/Mods/TCsAutoRewards/Main/RewardVault/PrimalItemStructure_RewardVault.PrimalItemStructure_RewardVault'"
                }

            ]
        }
    },
    "coins100": {
        "DefaultAmount": 1,
        "Price": 100,
        "MinLevel": 1,
        "MaxLevel": 200,
        "Description": "100 coins",
        "Items": [{
                "Amount": 1,
                "Quality": 0,
                "ForceBlueprint": false,
                "Blueprint": "Blueprint'/Game/Mods/TCsAutoRewards/Main/Currency/PrimalItemConsumable_TCsAR_CurrencyARcPlatinum.PrimalItemConsumable_TCsAR_CurrencyARcPlatinum'"
            }

        ]
    },
    "coins1000": {
        "DefaultAmount": 1,
        "Price": 1000,
        "MinLevel": 1,
        "MaxLevel": 200,
        "Description": "1000 coins",
        "Items": [{
                "Amount": 1,
                "Quality": 0,
                "ForceBlueprint": false,
                "Blueprint": "Blueprint'/Game/Mods/TCsAutoRewards/Main/Currency/PrimalItemConsumable_TCsAR_CurrencyARcKhorium.PrimalItemConsumable_TCsAR_CurrencyARcKhorium'"
            }

        ]
    },

    "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"
    }
}
 
Top