Michido Posted April 10, 2017 Author Share Posted April 10, 2017 Updated. Added SetPoints command Added ResetPoints command Added ResetKits command Link to comment Share on other sites More sharing options...
Gruffbug Posted April 11, 2017 Share Posted April 11, 2017 @Michido when i edit the shop, how do i number the pages? Also crashes my server i enter shop? Link to comment Share on other sites More sharing options...
Michido Posted April 11, 2017 Author Share Posted April 11, 2017 31 minutes ago, Gruffbug said: @Michido when i edit the shop, how do i number the pages? Also crashes my server i enter shop? Pages are being created automatically. Link to comment Share on other sites More sharing options...
Gruffbug Posted April 11, 2017 Share Posted April 11, 2017 ok so just make 1 giant list and the pages are done. Sweet thanks been trying to add them lol Link to comment Share on other sites More sharing options...
Gruffbug Posted April 11, 2017 Share Posted April 11, 2017 Nope list still crashes my server. /shop function crashes it Link to comment Share on other sites More sharing options...
Michido Posted April 11, 2017 Author Share Posted April 11, 2017 Most likely you did something wrong with config. Link to comment Share on other sites More sharing options...
Gruffbug Posted April 11, 2017 Share Posted April 11, 2017 passes in json validator and everything, would you mind taking a look at it, no rush. Everything but the shop works. I posted the wrong file my bad. This is the one that i did first is crashing the server. config.json Link to comment Share on other sites More sharing options...
Michido Posted April 11, 2017 Author Share Posted April 11, 2017 You changed "Shop" to "Shop1" at line 154. You can't do it. Also there are some other mistakes in your config, like multiple "Items" in kits or ":price" instead of "price". Link to comment Share on other sites More sharing options...
TrueSkillz Posted April 12, 2017 Share Posted April 12, 2017 @Michido just a quick question for you. Love the plugin btw. when you are buying dinos what command is that utilizing? Looks like GMSummon but i dont think you can set playerId with that command. just curious. Keep up the good work. Link to comment Share on other sites More sharing options...
Michido Posted April 13, 2017 Author Share Posted April 13, 2017 8 hours ago, TrueSkillz said: just a quick question for you. Love the plugin btw. when you are buying dinos what command is that utilizing? Looks like GMSummon but i dont think you can set playerId with that command. just curious. Keep up the good work. You are right, it's GMSummon. I just call it from another player. Link to comment Share on other sites More sharing options...
Gruffbug Posted April 13, 2017 Share Posted April 13, 2017 hey michido, really feel like im being a pain in the rear, i do apologize. That file i linked before was the wrong 1 i was working on, however that was my last comment. So if you could see if the same mistakes are in this 1 or not. It passed through that json validator website but crashes my server only when i open shop? The all the other kits work flawlessly, Any help with this shop and i would really appreciate it, as i really love the plugin. config.json Link to comment Share on other sites More sharing options...
Michido Posted April 13, 2017 Author Share Posted April 13, 2017 You didn't fix all mistakes. In some places it's still ":price" instead of "price". Link to comment Share on other sites More sharing options...
Gruffbug Posted April 13, 2017 Share Posted April 13, 2017 awesome thanks, think i may have fixed it. Thanks alot for the help and for the plugin amazing. Link to comment Share on other sites More sharing options...
KitKat1 Posted April 14, 2017 Share Posted April 14, 2017 Hi, I've been using the ArkShop and DinoColors plugins on my server and we've been recently experiencing extreme lag due to dinos being auto spawned/tamed in by a script running ..wondering if theres any info on this...heres the log....all of this happened within 1 second, a script seemed to execute a bunch of dinos instantly, and I can't find out how. The only plugins we have are ArkShop and DinoColors and I've already manually booted every player and disabled mods, etc. So I know It's not a player doing this, I've already confirmed from my provider It's not a DDOS attack, but when this script executes and all these dinos spawn, the server freezes @ 255 ping and sits there for 10 minutes until this script gets finished apparently. Any idea? This has been fine for the past 3 weeks, all of a sudden this is happening. Note: Because of this, we've hit the default 4,000 dino cap limit and It's lagging the server . [2017.04.14-06.55.54:318][422]2017.04.14_06.55.54: Tribe Tamed a Baby Pteranodon - Lvl 87 (Pteranodon)! [2017.04.14-06.55.54:460][426]2017.04.14_06.55.54: Tribe Tamed a Baby Pelagornis - Lvl 114 (Pelagornis)! [2017.04.14-06.55.54:461][426]2017.04.14_06.55.54: Tribe Tamed a Baby Pelagornis - Lvl 101 (Pelagornis)! [2017.04.14-06.55.54:462][426]2017.04.14_06.55.54: Tribe Tamed a Baby Pelagornis - Lvl 131 (Pelagornis)! [2017.04.14-06.55.54:463][426]2017.04.14_06.55.54: Tribe Tamed a Baby Tapejara - Lvl 106 (Tapejara)! [2017.04.14-06.55.54:463][426]2017.04.14_06.55.54: Tribe Tamed a Baby Pteranodon - Lvl 107 (Pteranodon)! [2017.04.14-06.55.54:464][426]2017.04.14_06.55.54: Tribe Tamed a Baby Pelagornis - Lvl 94 (Pelagornis)! [2017.04.14-06.55.54:499][427]2017.04.14_06.55.54: Tribe Tamed a Baby Tapejara - Lvl 106 (Tapejara)! [2017.04.14-06.55.54:837][437]2017.04.14_06.55.54: Tribe Tamed a Baby Pelagornis - Lvl 103 (Pelagornis)! [2017.04.14-06.55.54:839][437]2017.04.14_06.55.54: Tribe Tamed a Baby Pelagornis - Lvl 94 (Pelagornis)! [2017.04.14-06.55.54:840][437]2017.04.14_06.55.54: Tribe Tamed a Baby Pteranodon - Lvl 75 (Pteranodon)! [2017.04.14-06.55.54:841][437]2017.04.14_06.55.54: Tribe Tamed a Baby Pelagornis - Lvl 132 (Pelagornis)! [2017.04.14-06.55.54:841][437]2017.04.14_06.55.54: Tribe Tamed a Baby Tapejara - Lvl 128 (Tapejara)! [2017.04.14-06.55.54:842][437]2017.04.14_06.55.54: Tribe Tamed a Baby Pelagornis - Lvl 108 (Pelagornis)! [2017.04.14-06.55.54:879][438]2017.04.14_06.55.54: Tribe Tamed a Baby Tapejara - Lvl 137 (Tapejara)! [2017.04.14-06.56.02:347][661]2017.04.14_06.56.02: Tribe Tamed a Baby Argentavis - Lvl 209 (Argentavis)! Link to comment Share on other sites More sharing options...
Michido Posted April 14, 2017 Author Share Posted April 14, 2017 I doubt that plugin can do it.. You can look at the logs that should be in ArkShop folder. Try to disable plugins also. Link to comment Share on other sites More sharing options...
Kristane Posted April 18, 2017 Share Posted April 18, 2017 Michido, Is it possible to bundle multiple item classes in a "shop item"? I want a user to get a 'free primitive saddle with the dino that they purchase from the shop. I haven't found any examples of including multiple types such as "type":"item" and "type":"dino". Below is an example of code I have tried but it didn't work. "ShopItems":{ "frog":{ "description":"lvl279 Frog", "price":1000, "Dinos":[ { "level":186, "className":"Toad_Character_BP_C" } ], "Items":[ { "amount":1, "quality":1, "forceBlueprint":false, "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_ToadSaddle.PrimalItemArmor_ToadSaddle'" } ] } } Any help would be appreciated. Regards, Kristane Link to comment Share on other sites More sharing options...
Michido Posted April 19, 2017 Author Share Posted April 19, 2017 It's not possible currently, only kits support multiple types. Maybe i will add it in next update. Link to comment Share on other sites More sharing options...
WildManFyfe Posted April 25, 2017 Share Posted April 25, 2017 On 3/9/2017 at 5:55 PM, Michido said: Ingame shop, custom currency and kits for ARK. Config already contains some examples of what is possible, but you can change/add anything. Use JSON Validator to make sure that the config is still correct. Features: Add any item, dino or beacon to the shop Points trading system Create custom kits with items and dinos inside Players can receive points for the time spent on server SQLite Database Customizable config Chat Commands: /points - show current amount of points /buy <ItemID> <Amount> - buy the item from shop /trade <'SteamName'> <Amount> - Send points to other player (' ' - are necessary) /kit - Show all kits /kit <KitName> - redeem the kit /buykit <KitName> <Amount> - buy a kit (if kit has price) /shop <Page> - show a list of available items in the shop Console Commands (For Admins): AddPoints <SteamID> <Amount> - add points to the player SetPoints <SteamID> <Amount> - set player's points GetPlayerPoints <SteamID> - print how many points player has AddKits <SteamID> <KitName> <Amount> - add kits to the player ReloadShopConfig - Reload a config file. Example: "cheat ReloadShopConfig" ResetPoints - reset points for all players ResetKits - reset kits for all players RCON Commands (For Admins): AddPoints <SteamID> <Amount> - add points to the player GetPlayerPoints <SteamID> - print how many points player has SetPoints <SteamID> <Amount> - set player's points Config: Some config explanations: General: "TimedPointsReward":{ "Enabled":true, // Can be true or false "Interval":5, // Interval in minutes "Amount":5 // Amount of points to give. Currently it means: 'give 5 points for every 5 minutes spent online' }, "ItemsPerPage":20, // Amount of entries per page (for /shop command) "ShopDisplayTime":15.0 // Shop display time in seconds Kits: "starter":{ // Name of kit "DefaultAmount":2, // Default amount of kit. Can be 0 if you want to give this kit to players manually "Price": 90, // If you remove price, players won't be able to buy it "Items":[ // List of items in kit, you can add as many as you want { "amount":2, "quality":0, "forceBlueprint":false, "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponPike.PrimalItem_WeaponPike'" }, // ',' is necessary only if this item is not last, otherwise you don't need it { "amount":1, "quality":0, "forceBlueprint":true, "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponStoneClub.PrimalItem_WeaponStoneClub'" } ], "Dinos":[ // can be empty if you don't want to add dinos { "level":20, "className":"Ptero_Character_BP_C" } ] } Shop: "ingots100":{ // Item ID, should not contain white spaces "type":"item", // Type of item, can be "item", "dino" or "beacon" "description":"Metal Ingot (100x)", // Description for the /shop command "price":15, "items":[ // List of items, works the same way as in kits { "quality":0, "forceBlueprint":false, "amount":100, "blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_MetalIngot.PrimalItemResource_MetalIngot'" } ] }, "para":{ // Dino "type":"dino", "description":"Parasaurolophus", "level":10, "price":20, "className":"Para_Character_BP_C" }, "crate25":{ // Beacon "type":"beacon", "description":"SupplyCrate Lvl 25", "price":100, "className":"SupplyCrate_Level25_Double_C" } After server will be started with this plugin, "ArkDb.db" file will be created in Win64 folder. It will contain all information about how many kits/points players have, so backup it sometimes. Installation: 1) Install ARK Beyond API 2) Copy plugin's folder to "BeyondApi/Plugins". Download: http://beyondmods.rocks/ark/files/file/41-shop-currency-kits/ Source code: https://github.com/Michidu/Ark-Server-Plugins Other plugins: Random Dino Colors Extended Rcon Custom Chat Commands (http://beyondmods.rocks/ark/files/file/42-custom-chat-commands/) Hey mate does this work for ASM (Ark Server Manager) Link to comment Share on other sites More sharing options...
Michido Posted April 25, 2017 Author Share Posted April 25, 2017 7 hours ago, WildManFyfe said: Hey mate does this work for ASM (Ark Server Manager) Yes, it works with ASM. Link to comment Share on other sites More sharing options...
Gruffbug Posted April 25, 2017 Share Posted April 25, 2017 IS there a way to automatically start new players off with a certain amount of points? For example: If a new player joins my server and they aren't logged into the Arkdb just yet, is there a way I can make it to where that person starts off with a certain amount of points using the json config file already there, or would i have to create a new plugin? Either way probably would be editing the source files for the actual api dll? Link to comment Share on other sites More sharing options...
Michido Posted April 26, 2017 Author Share Posted April 26, 2017 17 hours ago, Gruffbug said: IS there a way to automatically start new players off with a certain amount of points? For example: If a new player joins my server and they aren't logged into the Arkdb just yet, is there a way I can make it to where that person starts off with a certain amount of points using the json config file already there, or would i have to create a new plugin? Either way probably would be editing the source files for the actual api dll? You can either edit this plugin or change default value for points in DB. Link to comment Share on other sites More sharing options...
Gruffbug Posted April 26, 2017 Share Posted April 26, 2017 Awesome thanks! Didn't want to change default values and come at you because i screwed it up. Link to comment Share on other sites More sharing options...
Gruffbug Posted April 26, 2017 Share Posted April 26, 2017 So when editing the DB file, that stores the points, well for some reason it will not allow me to edit the default value in the table. Will i need to download the source code for it and re-compile it or is there a way i can edit it through SQlite DB browser? I can add points with the DB browser but not edit the default value. Link to comment Share on other sites More sharing options...
Michido Posted April 27, 2017 Author Share Posted April 27, 2017 You can do it with SQlite DB browser. Database structure - Tables - Players - Modify Table - Default value. Link to comment Share on other sites More sharing options...
WildManFyfe Posted May 2, 2017 Share Posted May 2, 2017 How would i work this on ACM it doesnt load or anything for me Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.