Upgrader
$20.00
Sold by: CopekUpgrader – Allows players to upgrade various item categories, including weapons, armor, and tools, each with unique upgrade options.
- Description
- Reviews (0)
- Version History
- Discussions (17)
- Setup
- Product Enquiry
Description
Description
ABOUT UPGRADER :
Allows players to upgrade various item categories, including weapons, armor, and tools, each with unique upgrade options.
Extensive configuration options for server admins to adjust :
What items will be upgradable (Only items what you chose to put in config will have upgrades )
What upgrades will item have ( you dont need to put all upgrades on item ,only what upgrades you chose for a item)
Upgrade costs (you can put what ever custom/default item,and amount for cost)
Levels (you can choose how much upgrade will have levels)
Values of upgrades (you can choose value of each upgrade ,example “damage” Lv1 2% damage, Lv2 5%)
There is a easy way to control your upgrades , all about items can be done in UI.
Adding,removing items can be done by UI.
You can modify items true UI : upgrade types, levels ,values ,cost .
In chosing cost there is also custom category tab , you need to add those items in config at bottom of config file !
There is Inspection button where you can see stats of upgraded item in inventory.
UPGRADES :
Each category have their own upgrades :
Wepons : Armor : Tools :
Damage, Defense, GatherYield,
MagazineSize, Durability, Durability,
Durability, RadiationProtection, Deforestation,
LifeSteal, ResurrectionChance InstantMine,
CritChance, RestoreItems Smelting
InstaReload
Each category have RenameName of a item .
HOW TO USE :
Simple put Upgrader.cs to your plugin folder .
Add/remove items from config or true UI .
Chose upgrades for items (levels,cost,values) .
In Game :
Add permissions.
When player put item in Repair Bench he will see Upgrade button .
UI will open with upgrades.
Inspection button is below belt inventory ,when player click on it it will open inspection mode ,so he will be able to see item upgrades in small UI.
INFOPANEL :
Admins can change text in config file for a ServerName and Info .
For more explanations to player or what ever text you need .
DIAMONDS :
4 custom items (diamonds) .They can be used for cost of upgrades.
You can chose stacksize ,where they will spawn(lootboxes),chance to spawn in boxes ,and amount.
You can change theirs DisplayName , SkinId .
You can use them or not ,its a option .
COMMANDS :
Chat Command : /additem ( it opens Ui where you can modify upgrades )
Chat Command : /giveupgradeditem [playerID/name] <itemUID> ( when you upgrade item ,you can see his UID in DataFile ! )
Console Command : giveupgradeditem [playerID/name] <itemUID>
Chat Command : /givediamond “name” “amount”
Console Command – wipeupgradedata
PERMISSION SYSTEM/COMMANDS :
upgrader.button – allow to see button in repair bench for upgrade
upgrader.weapon – allow weapon upgrades
upgrader.armor – allow armor upgrades
upgrader.tool – allow tool upgrades
upgrader.bypasscost – free upgrades
upgrader.diamondgive – allow to use command /givediamond “name” “amount”
upgrader.additem – allow to use command /additem
upgrader.giveitem – allow to use command /giveupgradeditem [playerID/name] <itemUID>
console command – giveupgradeditem [playerID/name] <itemUID>
CONFIG EXAMPLE :
https://www.dropbox.com/scl/fi/hvj6e5gs542g632d23fom/Upgrader.json?rlkey=gyu3pt2u9nl0tuosfencdae3v&st=1kewd027&dl=0
DATA :
There is data file what stores upgrades of items.
You can delete data items with command in console .
Console Command – wipeupgradedata
API :
[HookMethod(“API_HasUpgrades”)]
public bool API_HasUpgrades(Item item)
[HookMethod(“API_GetUpgrades”)]
public Dictionary<string, int> API_GetUpgrades(Item item)
[HookMethod(“API_ApplyUpgrades”)]
public void API_ApplyUpgrades(Item item, Dictionary<string, int> upgrades)
Reviews (0)
Reviews
There are no reviews yet.
Only logged in customers who have purchased this product may leave a review.
Version History
- Added Added LANG file , huge one ..you can change i can say all text fields ... There is no lang for UI editor ,well that can only see admin/moderators (hope those guys know english ! ) Didnt make lang for that UI editor bcs that would be overkill of lang file ! Maybe in future updates i will make separate lang for that UI editor also ! Some of you using restore upon death plugin ... First i made upgrade what works exactly like that ... But some was still using that plugin restore upon death .. My plugin is not compatible with that plugin at all..Items lost upgrades on that plugin . So i made simillar thing in my plugin ... So yea now you have upgrade option and permission option to give that "perk" to players , based on chances . "DropBackpackOnDeath": false, "DropActiveItemOnDeath": false, "RestoreItemsOnSuicide": false, "RestoreChancePermissions": { "upgrader.restoredefault": { ///// You can add more perms /rename it "Belt": 50, ///// This is how much percent of items will be backed to player (so 100 you will get all items) "Wear": 50, "Main": 50 },
- Added FIXED : when was in editing mode ,tools was saving in armor section .. Now they correctly save in tool section !
- Added Fixed compile error
-
Added
This update is huge !!
Added :
Now you will be able to change item upgrades true UI..
So no more need for hard placing,adjusting items in config file .
All can be done in UI , adding items ,removing items ,adding upgrades ,levels ,values ,cost .
So you can modify saved items from your config, and you can create new one to modify.
This is huge time saver!
Command to open UI : /additem
Perm : upgrader.additem
For cost there are categories , all default and custom category.
For that custom category you will need to add items in config ,that part is on bottom of config !
There is info section what will explain full UI .
Make sure to backup your config .. It will change config file !
You are still able to copy paste items from old config !
Posted new images with that UI !
Added - chat/console command for giving Upgraded item .
giveupgradeditem [playerID/name]
Permission : upgrader.giveitem So when you upgrade item you can find uid of that item in Data File ,so you can give that upgraded item! Fixed some minor bugs . Disabled puting upgraded items in (umod plugin)backpack , beacuse if there are upgraded items ,they lose upgrades after server restart ! Disabled changing skins for upgraded item true skinbox ,bcs they lose upgrades after reskining in skinbox plugin . Player can still change skin in skinbox before they upgrade item ! Skins can be normaly changes after upgrade in repair bench and in other skin plugins ,example Skin Controller , PlayerSkins . Those are tested and handle correct upgraded items ! Skinbox doesnt ! Added for devs API : [HookMethod("API_HasUpgrades")] [HookMethod("API_GetUpgrades")] [HookMethod("API_ApplyUpgrades")]
- Added Added new upgrade for armor . Restore - similar to Plugin Restore Upon Death ,so chance in percent to restore all items on respawn . Make sure to backup your config ,config fill update.. So for any case be safe .
- Added Added sounds on successful upgrade . You can enable or disable sounds in config and you can chose what sound will be on upgrading item .. Dont forget to backup your config file ,it will update cfg file ...
- Added Improved InstaReload
Discussions (17)
17 thoughts on "Upgrader"
Leave a reply
Setup
Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?
• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.
Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
This seems really cool but I do have a question. For every item we want to be upgradeable we have to add it to the config file? I see there is the AK, rocket launcher, and tool. But if we want other basic guns and tools we have to re-write the config to include each one?
Hello . Yes you need to add another items in config ,and chose for them values of upgrades …
Any possibility of a UI in the future for adding and customizing? As someone not very well versed in syntax this will indeed be a daunting task lol.
Its not that hard ,just copy paste one item ,change item shortname and then chose values for upgrades…So you have full control what item will have upgrades and how much …
Yea there is a plan to make adding items true UI ..
Alright, so I’ve got most armor, guns, and tools, added. Gather, life steal, damage all working great. Radiation was a little funky and had to be set to a fracion of a percent per item to give just enough to be in launch site safely without a hazmat. I’m wondering how exactly the crit chance works? I can set it to a fraction of a percent and it does more damage than like 10% bonus damage.
Hey..
So radiation … If you put 0.5 in config that will be 50 % rad protection ,0.51 will block radiation ,so that is 51 % rad protection ..
About crit chance ,its same ,1.0 is 100 % to apply crit chance(double dmg) , if rifle.ak got 50 dmg ,he will deal 100 dmg .. ( in real calculations ,ak will deal 22.5 dmg default, with crit he will deal 45 dmg )
Alright so everything is working great other than when people use skinbox it removes all upgrades. If they own the skin it keeps the upgrades. Any possible fix for that? lol
Also the inspect button is a little glitchy, sometime when you inspect a modded item it shows no modifications. Then inspect it in a repair bench and it shows everything.
Hey…. I will check that with skinbox .
Ran into another issue last night. Player fully upgraded the M2 mag capacity which is set to 200. After reload it only reloads to 100 and gives them 100 back in their inventory. So it’s duplicating 100 rounds of ammo and only loading the gun with 100 instead of the configured 200.
Alright I think I tracked it down, if you upgrade instant reload before anything else it seems to take mag capacity upgrades fine. If you upgrade the gun and then later on upgrade instant reload it defaults back to normal mag size and refunds ammo to the player.
Did you uodate plugin to 0.5.3 ?
I did update to the newest version but it keeps restoring the entire config file back to default everytime you reload the plugin.
Any way I can get the first version so at least the plugin works?
Add me on discord… CopCopekCro#7305 .config ,and reload works fine on new version ..
so i know this is a long shot, but would you be willing to share your file for the config that you added the weapons and such too, im having quite a bit of difficulty with the file and would really appreciate it if your willing my Discord is: justbubbziguess
Hey … sure thing ,…will send it later today ;)