-
Posts
276 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Services
Downloads Plus Support
DOWNLOADS EXTRA
Everything posted by Yaki
-
what errors are you getting? did you delete the previous config before updating?
-
Version 1.0.0
64 downloads
Centralized API for drug item definitions and creation across plugins. Drugs: This plugin comes with 4 default drug seeds, drug items, and drug clones Drug Seeds: Weed Seeds Coca Seeds Tobacco Seeds Poppy Seeds Drug Items: Weed Leaf Cocaine Leaf Tobacco Leaf Opium Leaf Drug Clones: Weed Clone Cocaine Clone Tobacco Clone Opium Clone Don't like those options or want to add your own? You can do that in the config, but you will need to add the image for them to display in the UI. Config { "Drugs": [ { "Item Shortname": "seed.hemp", "Item Amount": 1, "Skin ID": 3354230033, "Display Name": "Weed Seeds", "Item Description": "Grows into a Weed Leaf. 15 Weed Leafs required to package.", "Item Image Name": "weedseeds", "Drug Item": { "Drug Item Shortname": "cloth", "Drug Item Skin ID": 3354227129, "Drug Item Display Name": "Weed Leaf", "Drug Item Description": "Can be sold for currency.", "Drug Item Image Name": "weedleaf" }, "Drug Item Clone": { "Drug Item Clone Shortname": "clone.hemp", "Drug Item Clone Display Name": "Weed Clone", "Drug Item Clone Image Name": "weedseeds", "Drug Item Clone Skin ID": 3354230033, "Drug Item Clones To Give When Cloning": 2 } }, { "Item Shortname": "seed.hemp", "Item Amount": 1, "Skin ID": 3354230311, "Display Name": "Coca Seeds", "Item Description": "Grows into a Cocaine Leaf. 20 Cocaine Leafs required to package.", "Item Image Name": "cocaseeds", "Drug Item": { "Drug Item Shortname": "cloth", "Drug Item Skin ID": 3354228232, "Drug Item Display Name": "Cocaine Leaf", "Drug Item Description": "Can be sold for currency.", "Drug Item Image Name": "cocaleaf" }, "Drug Item Clone": { "Drug Item Clone Shortname": "clone.hemp", "Drug Item Clone Display Name": "Cocaine Clone", "Drug Item Clone Image Name": "cocaseeds", "Drug Item Clone Skin ID": 3354230311, "Drug Item Clones To Give When Cloning": 2 } }, { "Item Shortname": "seed.hemp", "Item Amount": 1, "Skin ID": 3354229737, "Display Name": "Tobacco Seeds", "Item Description": "Grows into a Tobacco Leaf. 25 Tobacco Leafs required to package.", "Item Image Name": "tobaccoseeds", "Drug Item": { "Drug Item Shortname": "cloth", "Drug Item Skin ID": 3354228677, "Drug Item Display Name": "Tobacco Leaf", "Drug Item Description": "Can be sold for currency.", "Drug Item Image Name": "tobaccoleaf" }, "Drug Item Clone": { "Drug Item Clone Shortname": "clone.hemp", "Drug Item Clone Display Name": "Tobacco Clone", "Drug Item Clone Image Name": "tobaccoseeds", "Drug Item Clone Skin ID": 3354229737, "Drug Item Clones To Give When Cloning": 2 } }, { "Item Shortname": "seed.hemp", "Item Amount": 1, "Skin ID": 3354229356, "Display Name": "Poppy Seeds", "Item Description": "Grows into an Opium Leaf. 30 Weed Leafs required to package.", "Item Image Name": "poppyseeds", "Drug Item": { "Drug Item Shortname": "cloth", "Drug Item Skin ID": 3354228480, "Drug Item Display Name": "Opium Leaf", "Drug Item Description": "Can be sold for currency.", "Drug Item Image Name": "poppyleaf" }, "Drug Item Clone": { "Drug Item Clone Shortname": "clone.hemp", "Drug Item Clone Display Name": "Opium Clone", "Drug Item Clone Image Name": "poppyseeds", "Drug Item Clone Skin ID": 3354229356, "Drug Item Clones To Give When Cloning": 2 } } ], "Drug Genetics (sum of values for genes is # drugs player gets when harvesting)": { "Drug Genetic G": 3, "Drug Genetic Y": 5, "Drug Genetic H": 2, "Drug Genetic W": 1, "Drug Genetic X": 1 }, "Configuration version": { "Major": 1, "Minor": 0, "Patch": 0 } } API --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- List<Dictionary<string, object>> API_GetAllItemConfigs() Returns a list of all drug item configs. Parameters: none --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Dictionary<string, object> API_GetItemConfig(string displayName) Returns the drug item config for the given display name, or null if not found. Parameters: displayName - drug seed display name specified in config --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Dictionary<string, object> API_GetItemConfigBySkinID(ulong skinID) Returns the drug item config matching the given skin ID (seed or clone), or null if not found. Parameters: skinID - skin ID of the drug seed or drug clone item --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Item API_CreateDrugSeed(string displayName, int amount) Creates and returns a drug seed item, or null if the display name is not found. Parameters: displayName - drug seed display name specified in config amount - the amount of drug seeds to create --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Item API_CreateDrug(string displayName, int amount) Creates and returns a drug item, or null if the display name is not found. Parameters: displayName - drug display name specified in config amount - the amount of drugs to create --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Item API_CreateDrugClone(string displayName, int amount) Creates and returns a drug clone item, or null if the display name is not found. Parameters: displayName - drug clone display name specified in config amount - the amount of drug clones to create --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- int API_CalculateHarvestAmount(int yCount, int gCount, int hCount, int wCount, int xCount) Total number of drugs to give when the drug is harvested. Calculated by the sum of each gene by the configured amount Parameters: yCount - the number of y genes in the drug plant gCount - the number of g genes in the drug plant hCount - the number of h genes in the drug plant wCount - the number of w genes in the drug plant xCount - the number of x genes in the drug plantFree -
mixing tables do not keep the upgrades when you use /remove on it. a normal furnace does so the issues is just with the mixing table. picking up with normal hammer does preserve it for both furnaces and mixing table. heres my config: { "General Settings": { "Only the owner can upgrade the furnace": false, "Only teammates can upgrade the furnace": false, "Only Allow Oven Toggling by Owner & Team": false, "Keep attributes when removing": true, "Requires upgrade button permission": false, "Requires show status permission": false, "Show furnace item cooking animation": true }, "Currency Settings": { "Currency type (0 - Scrap | 1 - Economics | 2 - Server Rewards)": 0, "Currency item (if the currency type is '0')": { "Short name": "scrap", "Skin ID": 0 } }, "Visual Settings": { "Use chat messages": true, "Notification plugin (0 - None | 1 - Toastify | 2 - Notify)": 1, "Toastify notification ID": "success", "Notify notification type": 0, "Upgrade effect (empty = disabled)": "assets/bundled/prefabs/fx/build/promote_stone.prefab" }, "UI Settings": { "Disable status panel": false, "Upgrade button": { "Anchor": "0.5 0 0.5 0", "Offset": "400 109.5 480 141.5", "Background color": "0.45 0.63 0.19 1", "Font size": 13 }, "Upgrade button on electric furnaces": { "Anchor": "0.5 0 0.5 0", "Offset": "492 354.5 572 386.5", "Background color": "0.45 0.63 0.19 1", "Font size": 13 }, "Upgrade button on mixing table": { "Anchor": "0.5 0 0.5 0", "Offset": "338 79.5 418 101.5", "Background color": "0.45 0.63 0.19 1", "Font size": 13 }, "Status panel": { "Anchor": "0.5 0 0.5 0", "Offset": "193 17 420 103", "Background color": "0.969 0.922 0.882 0.035", "Font size": 12 } }, "Features Settings": { "Smelting speed multiplier": true, "Fuel speed": false, "Resource output multiplier": false, "Charcoal multiplier": true, "Auto split cookables": true, "Auto add fuel": true }, "Default Settings": { "Smelting speed": 1.0, "Fuel speed": 1.0, "Resource output multiplier": 1.0, "Charcoal multiplier": 1.0, "Charcoal byproduct chance(1.0 = 100%, 0.5 = 50%)": 0.5 }, "Mixing Table Upgrade Settings": { "Enable Mixing Table upgrade": true, "Mixing Table speed upgrade": true, "Mixing Table Speed in %(Max 100)": [ { "Cost": 100, "Multiplier": 25.0 }, { "Cost": 500, "Multiplier": 50.0 } ] }, "Upgrades Settings": { "furnace": { "Smelting speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ], "Fuel speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Resource output multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Charcoal multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ] }, "furnace.large": { "Smelting speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ], "Fuel speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Resource output multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Charcoal multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ] }, "electric.furnace": { "Smelting speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ], "Fuel speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Resource output multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Charcoal multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ] }, "legacyfurnace": { "Smelting speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ], "Fuel speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Resource output multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Charcoal multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ] }, "campfire": { "Smelting speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ], "Fuel speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Resource output multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Charcoal multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ] }, "bbq": { "Smelting speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ], "Fuel speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Resource output multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Charcoal multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ] }, "small.oil.refinery": { "Smelting speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ], "Fuel speed": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Resource output multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 200, "Multiplier": 3.0 } ], "Charcoal multiplier": [ { "Cost": 100, "Multiplier": 2.0 }, { "Cost": 500, "Multiplier": 3.0 } ] } }, "Version": { "Major": 2, "Minor": 6, "Patch": 5 } }
-
- 1
-
-
is there anything else anyone would like added to this? im currently working on an update to this plugin and adding another drug based plugin that is compatible with DrugDeals. For the next update, players will be required to package their drugs before selling them (will include configurable amount per package) @D420. In the past, I remember random dealer spawns being requested. Is this of interest to anyone? If so, when should their location change? every x minutes? every time a player trades with them? something else? I might also redo the UI at some point as well.
-
no you dont need to modify the cs file at all. thats what the config is for. the permission based spawns is working just fine for me on my test server. if youd like, i can come look at your server if youre willing to give me access. if so, send me a dm on here or a message on discord (yakidzoba is my discord name).
- 27 comments
-
- #playerspawnpoints
- #spwn points
-
(and 2 more)
Tagged with:
-
- 27 comments
-
- #playerspawnpoints
- #spwn points
-
(and 2 more)
Tagged with:
-
Changed Status from Pending to Not a Bug Changed Fixed In to 3.0.0
-
all good then? you should also delete the lang files as well, otherwise might get an error when you use the outpost/bandit spawn messages
-
- 27 comments
-
- #playerspawnpoints
- #spwn points
-
(and 2 more)
Tagged with:
-
- 27 comments
-
- #playerspawnpoints
- #spwn points
-
(and 2 more)
Tagged with:
-
- 27 comments
-
- #playerspawnpoints
- #spwn points
-
(and 2 more)
Tagged with:
-
- 233 comments
-
- #jtedal
- #mad mappers
-
(and 7 more)
Tagged with:
-
can you also add support for cooking workbench?
- 1 reply
-
- 1
-
-
can you please add clan support? i run hardcore servers which means there are no teams so teammates cannot use some of the features
-
ive tried toilet, polar bear, and one of the rocks so far. /dnpickup does work. more convenient with the happen and mouse click though. i dont see anything binded for mouse3 for me so maybe something is off there. thanks for the info
-
thank you! changing to RP works, but for custom items and scrap it doesnt have enough room (ex: "NatureMarketPriceDisplay": "scrap{0}",). making the font size smaller, or the button larger, should be good enough if putting the item image isnt ideal.
-
and middle mouse button pickup does not work for me. i have all perms but free, ignore.restrictions, setprefab, and vip and this set in config "Allow players to use their middle mouse button to remove an item with a hammer (they can still use chat command regardless if they have perms)": true, "Allow players to use their middle mouse button to remove an item with a hammer (they can still use chat command regardless if they have perms)": true,
-
i also have "Allow the buy 20 button in the market to be used?": false, and the buttons still appear. is that intended?
-
seems like its intended to not change, but would it be possible to change this to the selected currency? $ for economics RP for SR Scrap image for scrap item image for custom (would show sulfur image for sulfur, low grade for low grade, etc) Yes, a chat message tells the players what currency they need when trying to purchase, but we dont have economnics on my server so the $ really throws them off.
-
Recently switched to this stacking plugin from another and I must say.. this plugin has to be the best stacking plugin out there for a number of reasons: 1) dev is extremely responsive. they added suggestions and fixed issues within 24 hours 2) covers all items players could possibly want 3) very well priced Highly recommend it!
- 44 comments
-
- 1
-
-
- #stack everything
- #stack entity
-
(and 53 more)
Tagged with:
- #stack everything
- #stack entity
- #stack box
- #stack container
- #stack storage box
- #stack storage barrel
- #stack furnace
- #stack barricade
- #stack water catcher
- #stack locker
- #stack barbeque
- #stack barrel
- #stack composter
- #stack legacy furnace
- #stack electric furnace
- #stack cauldron
- #stack hobo barrel
- #stack mixing table
- #stack battery
- #stack solar panel
- #stack generator
- #stack test generator
- #stack water purifier
- #stack chippy arcade
- #stack boom box
- #stack light
- #stack chest
- #pookie bear
- #medieval
- #medieval large wood box
- #stack farm
- #stack farming
- #farm
- #farming
- #stack large planter box
- #stack small planter box
- #stack triangle planter box
- #stack rail road planter
- #stack triangle rail road planter
- #stack minecart planter
- #stack bath tub planter
- #stack single plant pot
- #stack beehive
- #propane explosive bomb
- #firebomb
- #cooking workbench
- #command block
- #abyss horizontal storage tank
- #abyss vertical storage tank
- #black box
- #krieg storage crates
- #krieg storage barrel
- #naval
- #deep sea
- #storage box pack dlc
-
Failed to call hook 'OnBetterChat' on plugin 'BetterChatAutomatedFilter v1.0.9' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.BetterChatAutomatedFilter.OnBetterChat (System.Collections.Generic.Dictionary`2[TKey,TValue] data) [0x0005f] in <eb380b2d70264311ba24eff432ea745c>:0 at Oxide.Plugins.BetterChatAutomatedFilter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00052] in <eb380b2d70264311ba24eff432ea745c>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0