GangstaPichu's Wishlist
-
Item Perks
By imthenewguy in Plugins
Item Perks is a plugin that enhances everyday weapons, tools and armour with over 50 different types of perks.
Items with perks can be obtained a variety of ways, including:
Finding them randomly in crates or barrels during your morning scrap farm. Randomly crafting an enhanced version of your equipment while you roof camp noobs from your base. Recycling enhanced equipment and finding enhancement kits stuck in the teeth of the recycler. Using a console or chat command that can be ran through seedy plugin traders like GUIShop.
The plugin gives a large amount of control to server owners when it comes to implementation. You can:
Enable/disable perks, or modify the minimum and maximum values that they roll when applied to gear. Blacklist or whitelist items to each perk, so they will be exclusively excluded or included (based on the list you choose). Adjust the weight of each perk, so it is more or less likely to be seen on gear., or adjust the chances amount of perks that items can potentially have. Fully adjust or disable the chance for item drops to be found, or enable the enhancement kit system so players can recycle gear. So much more (watch the configuration section of the video below to see the full extent).
There are over 50 perks included with the plugin. The following list will describe briefly what each perk does.
Name: Prospector Description: This perk increases your mining yield when mining stone, metal and sulfur nodes. Name: Lumberjack Description: This perk increases your woodcutting yield when chopping living or dead trees. Name: Butcher Description: This perk increases the resources gained from skinning humans and animals. Name: Horticulture Description: This perk increases the amount of resources gained when harvesting grown plants. Name: Forager Description: This perk increases the amount of resources gained when picking up map generated collectibles. Name: Angler Description: This perk increases the amount of fish you receive upon a successful catch. Name: BeastBane Description: This perk increases the damage dealt to animals. Name: ScientistBane Description: This perk increases the damage dealt to scientists. Name: FlakJacket Description: This perk reduces the damage received from explosions. Name: Elemental Description: This perk reduces damage from received from cold and heat sources. Name: Scavenger Description: This perk provides you with a chance to find additional scrap from crates and barrels. Name: Manufacture Description: This perk increases the speed of your crafting. Name: Durable Description: This peark reduces the durability damage of all equipped items. Name: BeastWard Description: This perk reduces the damage received from animals. Name: ScientistWard Description: This perk reduces the damage received from scientists. Name: Builder Description: This perk provides you with a chance for your building upgrades to be free. Name: Thrifty Description: This perk provides you with a chance for your crafting components to be refunded upon a successful craft. Name: Fabricate Description: This perk provides you with a chance to duplicate an item upon a successful craft. Name: Pharmaceutical Description: This perk increases the amount of healing received from all sources. Name: MeleeWard Description: This perk reduces the damage received from melee weapons. Name: Academic Description: This perk provides you with a chance to receive a scrap refund when researching an item at the research bench. Name: FallDamage Description: This perk reduces the impact damage received from falling. Name: Lead Description: This perk reduces the damage from radiation. Name: Smasher Description: This perk will provide you with a chance to instantly destroy barrels with any amount of damage. Name: Environmentalist Description: This perk will increase the speed of recyclers that you activate. Name: Smelter Description: This perk will increase the smelting speed of furnaces you activate. Name: Paramedic Description: This perk provides players that you revive with additional health. Name: Prepper Description: This perk provides you with a chance to not consume food when eating. Name: Regeneration Description: This perk will passively regenerate you. Name: SharkWard Description: This perk will reduce the amount of damage received from sharks. Name: SharkBane Description: This perk will increase the amount of damage dealt to sharks. Name: Deforest Description: This perk provides you with a chance to cut down nearby trees when successfully cutting a tree down. Name: BlastMine Description: This perk provides you with a chance to mine out nearby nodes when successfully mining out a node. Name: Tanner Description: This perk provides you with a chance to skin nearby corpses when successfully skinning out a corpse. Name: Vampiric Description: This perk will heal you for a percentage of the damage dealt to certain enemies. Name: Reinforced Description: This perk will reduce the the amount of damage that your vehicles receive when mounted. Name: ComponentLuck Description: This perk will provide you with a chance to receive additional components when looting barrels and crates. Name: ElectronicsLuck Description: This perk will provide you with a chance to receive additional electronics when looting barrels and crates. Name: UncannyDodge Description: This perk provides you with a chance to dodge incoming damage, reducing it to 0. Name: LineStrength Description: This perk increases the tensile strength of your fishing line. Name: HealShare Description: This perk will share healing effects with nearby players. Name: Attractive Description: This perk will provide you with a chance to automatically pick up components when destroying barrels. Name: WoodcuttingLuck Description: This perk provides you with a chance to find a random item when you cut down a tree. Name: MiningLuck Description: This perk provides you with a chance to find a random item when you mine out a node. Name: SkinningLuck Description: This perk provides you with a chance to find a random item when you skin out a corpse. Name: FishingLuck Description: This perk provides you with a chance to find a random item when you catch a fish. Name: Sated Description: This perk will increase the amount of calories and hydration you receive from food and water sources. Name: IronStomach Description: This perk provides you with a chance to negate negative effects when consuming food. Name: TreePlanter Description: This perk will provide a chance for a tree to instantly regrow when cut down. Name: RockCycler Description: This perk will provide a chance for a node to instantly respawn when mined out. Name: BradleyDamage Description: This perk increases the damage dealt to Bradley Tanks. Name: HeliDamage Description: This perk increases the damage dealt to Patrol Helicopters. Name: Thorns Description: This perk reflects a % of the damage done back to the attacker
Command: ipgive
Type: console/chat
Parameters: <target ID/Name> <optional: shortname> <optional: perks>
Description: Gives the target player an enhanced item. If shortname is specified, it will base the enhancement off of that item. If perks are specified, it will add only those perks to the item.
Command: ipgivekit
Type: console/chat
Parameters: <target ID/Name> <perk>
Description: Gives an enhancement kit to the target.
itemperks.use - Required to receive any benefit from enhanced items. itemperks.loot - Required to loot enhanced items from crates and barrels. itemperks.craft - Required for a chance to received enhanced versions of crafted gear. itemperks.admin - Required to use admin commands. itemperks.enhance - Required to add enhancement kits to items via the workbench. itemperks.recycle - Required to receive enhancement kits from recycling enhanced items.
IPAPI_CreateItem - creates and returns an enhanced item using the details fed into the method. If shortname is left blank, it will pick a random valid item. If api_perks is null it will pick random perk(s) and add them.
Returns Item
[HookMethod("IPAPI_CreateItem")] public object IPAPI_CreateItem(string shortname = null, ulong skin = 0, Dictionary<string, float> api_perks = null) { List<KeyValuePair<Perk, float>> perks = Pool.GetList<KeyValuePair<Perk, float>>(); foreach (var perk in api_perks) { Perk _perk; if (parsedEnums.TryGetValue(perk.Key, out _perk)) perks.Add(new KeyValuePair<Perk, float>(_perk, perk.Value)); } var result = CreateItem(shortname, skin, perks); Pool.FreeList(ref perks); // Returns an Item class return result; } Example usage:
[ChatCommand("testipapi")] void TestIPAPI(BasePlayer player) { Dictionary<string, float> perks = new Dictionary<string, float>() { ["Prospector"] = 1f, ["Lumberjack"] = 1f, ["Butcher"] = 1f, ["Horticulture"] = 0.5f }; var item = (Item)ItemPerks.Call("IPAPI_CreateItem", "hammer.salvaged", (ulong)2830083288, perks); if (item == null) { Puts("Failed"); return; } item.name = "tool of the trade"; player.GiveItem(item); }
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
BetterTC
Fed up with the need to use multiple addons on my server for functions that players could execute from within the game, and considering the constant increase of new Skins for builds, I found myself dissatisfied with the limited supply of automatic upgrades on the market.
For this reason, I have reworked the most used TC-related features on my server into a single plugin, which has been enriched with ideas contributed by players and other Rust administrators.
All this under an attractive graphical interface, inspired by the item store of the game itself.
Video Update 1.5.0
Video Update 1.4.9
Video Update 1.4.0
Old Video
Features
AUTOMATIC CONSTRUCTION SKINS
With BetterTC your players will be able to improve their builds to any level of improvement, but they will also be able to choose their favorite Skin (if you enable it) completely free of charge or offering it to the VIPS on your server. Update system: I have added a small system that checks for new skins to automatically add them to the configuration. When you install the plugin for the first time and once you obtain permission from bettertc.admin, you must click on "Check Update" so that it performs an internal check and adds all the skins and options that exist to date.
LIST OF AUTHORIZED PLAYERS
It allows players or simply the rest of the Staff to easily see which players are authorized in the locker. Except for the administrators themselves, if you activate it in the config. (I don't think any player needs to know that the admin was authorized in their locker to check something) You can also allow authorizations to be deleted individually.
AUTOMATIC IMPROVEMENT SYSTEM
Allows your players to upgrade the grade of their bases automatically by obtaining resources directly from the TC. As long as they don't have RaidBlock (if you use NoEscape/RaidBlock plugin of course). You can configure different speed levels and costs depending on the player's permission from the plugin's own settings. That is, you can have players improve a building every 5 seconds for free and VIPs can improve every 2 or 1... Use your imagination! In addition, you can also calculate the cost of materials that will be required to carry out said improvement by clicking on the info button.
A new setting has been added to disable the Container skin's multi-color option. Disabling this option, which is enabled by default, will slightly improve frame rates in builds using this skin: Fewer colors = Better performance (FPS Client).
AUTOMATIC RESKIN OF EXTERNAL WALLS
The plugin also includes an automatic reskin system for external walls.
Previously, it was only compatible with standard stone external walls and their adobe variant. Now, it also includes the ability to switch wooden walls to Frontier and vice versa. Ice walls have also been added as a variant for stone.
If you place regular stone external walls (the usual ones), you can change their appearance to adobe or ice by clicking on the corresponding wall icon.
When changing the skin, the original wall's health will be preserved, so if it’s damaged, it won’t be fully restored. This prevents players from abusing the system.
Important:
I recommend using the system for external walls as an appearance modification system, not as an upgrade system. In other words, with the following configuration: "Only reskin on wall of the same grade": true
If you disable this parameter, you will be able to change from wood to stone, or vice versa, completely free of charge. Since the wall system doesn’t have a cost mechanism for players, I recommend keeping this option enabled.
AUTOMATIC REPAIR SYSTEM
Allows your players to repair their bases automatically by obtaining resources directly from the TC. As long as they don't have RaidBlock (if you use NoEscape of course). Now since version 1.4.0 it will also repair damaged objects such as doors, trapdoors, windows, boxes!
With configurable cooling system to prevent repair abuse during raids. ("Repair Cooldown After Recent Damage (seconds)": 30.0)
AUTOMATIC CONSTRUCTION DEGRADATION
It allows players to regret upgrading their huge base to metal and not being able to afford it anymore. Of course, it will charge them resources as if they improved it from 0. However, if you do not want to allow downgrade you can disable it from the config.
AUTOMATIC WALLPAPER PLACEMENT
Allows your players to place any available wallpaper in the game automatically based on the building type. Support for wallpapers on walls, ceilings, and floors.
Wallpapers are always kept up-to-date automatically. So if FacePunch adds new wallpapers, they will be instantly added to the list.
You'll also enjoy my exclusive wallpapers. Since update 1.5.0, you can also add and remove custom wallpapers with the following commands.
Chat Command:
Usage: /addwp <skinid> <Wall|Floor|Ceiling>, Example: /addwp 3356517390 Wall, Usage: /wpb (It allows you to place wallpapers on boats. To do this, you must first sit at the boat’s steering wheel.) Console Command:
Usage: addwp <skinid> <Wall|Floor|Ceiling>, Example: addwp 3356517390 Wall I've added a new parameter to the config: "Wallpaper Damage": true Setting this parameter to false prevents wallpapers from being broken in melee or with ammunition. However, you can still break them with C4 or missiles. Blocking damage completely is more complex and, in my opinion, unnecessary.
In addition, with BetterTC you can place wallpapers on both sides of the walls, even if they are on the outside of the building, as it includes an option in the configuration to force this placement.
TC SKINS
Give your players the ability to change the appearance of their TC.
ALLOWS TO SAVE OLD ITEMS
A new configuration option has been added to allow saving items back to the TC.
"Allow items in TC inventory": { "gunpowder": false, "sulfur": false, "sulfur.ore": false, "explosives": false, "diesel_barrel": false, "cctv.camera": false, "targeting.computer": false }
CONSTRUCTION EFFECTS
Allows players to disable auto-build buff effects and reduces headaches.However, if you do not want to allow them to disable this, you can disable it from the config.
BETTER GUI
The plugin's interface has been programmed so that it maintains its size regardless of the interface scaling settings of each player. It has also been taken into account that perhaps not everyone wants to enable all options for their players. Therefore, the buttons that appear at the top of the TC have been programmed so that if a player does not have permission for a specific function, instead of leaving the space empty, the buttons adapt their position automatically. The player list GUI and construction SKINS have also been prepared with a pagination system if necessary. 95% of the images used in the plugin are loaded directly from the client side, thus optimizing the loading and rendering of the interface and reducing the use of Image Library. Carbon Image Module support. If your server is running Carbon instead of Oxide, it will now use the built-in module instead of the Image Library.
Permissions
bettertc.admin Exclusive for Admin. It allows you to check if there are new skins to add. You will not appear in the list of authorized players if the option in the settings is activated. bettertc.authlist Shows a button at the top of the TC to check which players are authorized. bettertc.deleteauth Allows you to individually revoke an authorized player. You can give this permission to players if you want them to be able to delete individually. bettertc.use It is the basic degree of use found in the configuration. bettertc.vip It is the level of use for advanced that is found in the configuration. Depending on how you configure it, it makes players with this permission improve/repair/change skin faster. Or it simply costs them less resources. bettertc.repair Displays a button on top of the TC to repair the build automatically. bettertc.repair.nocost No explanation needed I think. (USE WITH CAUTION) bettertc.reskin Allows players to change the skin of their build automatically. Imagine one day you upgrade your entire foundation to container and the next day you regret losing FPS and would like to leave it on normal metal. bettertc.reskin.nocost No explanation needed I think. bettertc.updefault Shows players the default upgrade options. Without SKINS. bettertc.upskin Show players upgrade options with SKINS. bettertc.upwall Allows players to change the skin of external walls. bettertc.upgrade Permission to evade blocking of all items. bettertc.upgrade.nocost No explanation needed I think. (USE WITH CAUTION) bettertc.wallpaper Allows players to place Wallpaper. bettertc.wallpaper.nocost No explanation needed I think. (USE WITH CAUTION) bettertc.wallpaper.custom Display custom wallpapers to players with this permission. bettertc.tcskinchange Allows players to change the TC skin. bettertc.tcskindeployed Allows players to place TC with Skin.
Commands
Chat Command:
Usage: /addwp <skinid> <Wall|Floor|Ceiling>, Example: /addwp 3356517390 Wall, Console Command:
Usage: addwp <skinid> <Wall|Floor|Ceiling>, Example: addwp 3356517390 Wall
Configuration
DEFAULT CONFIGURATION
{ "Check for updates when loading": true, "Bypass DLC ownership check (⚠ only allowed on creative/test servers per Facepunch rules)": false, "Use NoEscape Plugin": false, "Use RaidBlock Plugin": true, "GUI Buttons TC - Color Default": "0.3 0.40 0.3 0.60", "GUI Buttons TC - Color Active": "0.90 0.20 0.20 0.50", "GUI Buttons TC - OffsetMin": "280 621", "GUI Buttons TC - OffsetMax": "573 643", "GUI Buttons TC - AnchorMin": "0.5 0", "GUI Buttons TC - AnchorMax": "0.5 0", "Alert Gametip": true, "Alert Chat": true, "Alert Notify Plugin": false, "Notify: select what notification type to be used": { "error": 0, "info": 0 }, "Color Prefix Chat": "#f74d31", "Show Admin Auth List": false, "Show SteamID Auth List": true, "Upgrade Effect": true, "Colour Selection MultiColor Option": false, "Reskin Enable": true, "Reskin Wall Enable": true, "Only reskin on wall of the same grade": true, "Reskin Wall TC Distance (Default: 100)": 100.0, "Deployables Repair": true, "Repair Cooldown After Recent Damage (seconds)": 30.0, "Downgrade Enable": true, "Downgrade only Owner Entity Build": false, "Upgrade only Owner Entity Build": false, "Upgrade / Downgrade only Owner and Team": true, "Wallpaper Enable": true, "Wallpaper placement Cost (Cloth)": 5, "Wallpaper Damage": true, "Wallpaper both sides": true, "Force both sides including external sides": true, "Cooldown Frequency Upgrade (larger number is slower)": { "bettertc.use": 2.0, "bettertc.vip": 1.0 }, "Cooldown Frequency Reskin (larger number is slower)": { "bettertc.use": 2.0, "bettertc.vip": 1.0 }, "Cooldown Frequency Repair (larger number is slower)": { "bettertc.use": 2.0, "bettertc.vip": 1.0 }, "Cooldown Frequency Wallpaper (larger number is slower)": { "bettertc.use": 2.0, "bettertc.vip": 1.0 }, "Cost Modifier for repairs": { "bettertc.use": 1.5, "bettertc.vip": 1.0 }, "Allow Items in TC Inventory": { "gunpowder": false, "sulfur": false, "sulfur.ore": false, "explosives": false, "diesel_barrel": true, "cctv.camera": true, "targeting.computer": true }, ... ] }
Bonus
KNOWN ISSUES
Random spawn of default (blue) wallpapers in constructions. If this happens on your server, it's likely because you have the TruePVE plugin or a similar one installed. Make sure to disable the configuration option that protects wallpaper damage in that plugin.
Instead, enable wallpaper damage protection in BetterTC. While it won't prevent 100% of the damage to wallpapers, it will significantly reduce it—especially from melee weapons.
For any problem, doubt, suggestion or assistance do not hesitate to contact me by Discord ninco90#6219
If you need me to configure everything from scratch, according to your tastes, for your server I can also do it for an additional fee. Although you should be able to configure everything yourself 😊
- #builder
- #automation
-
(and 9 more)
Tagged with:
-
Consumable Effects
Consumable Effects let you to modify metabolism values received after consuming specific item. Same goes for using medical items like
med kit, bandages and syringes. You can modify initial effect as well as add overtime effects with custom durations adding things like comfort,
oxygen, temperature, tea buffs . This includes also simple visual effects and sound/camera effects (only from ingame assets).
This plugin was developed to work with my Custom Mixing Table however you can use it with
combination of any craft panel or shop plugin as long as it supports custom item names.
List of values which can be modified
Calories Hydratation Health Pending Health Bleeding Poison Radiation Dirty (overdose value) All tea boosts Oxygen Temperature Comfort Wetness Onscreen ui effect (from game assets) Prefab sound effect (from game assets)
If you have any questions regarding to functionality and options, do not hesitate send
me message or for faster response reach out on my discord.gg/rustplugins
For more detailed documentation visit this link.
-
Skin Perks
Skin Perks allows you to modify and give certain stats to a skinned item
Commands:
Usage:
Editor:
Permission:
skinperks.use
Available Perks:
Gather (Gathering of nodes/trees/crops)
Durability (Durability of the items)
DamageOut (Damage dealt)
DamageIn (Protection)
Dodge (Dodge Chance %)
Upgrade (Upgrade structure resource multiplier, ask for more/less items when upgrading)
Build (Build structure resource multiplier, ask for more/less items when building)
Repair (Repairing items/structures resource multiplier, ask for more/less items when repairing)
Magazine (Modifies weapon's magazine capacity)
-
Shop UI
Well rounded shop, with various features. It's standalone plugin which is compatible with WelcomePanel, HumanNpc.
This plugin also supports selling commands, wipe block, no escape, sales, permission access.
Multi-currency support
Use different currencies for different items. Economics and ServerRewards (RP) is supported as well as scrap or any other ingame item.
Restrictions
Combat, raid, spawn and building block supported alongside with basic cooldowns and wipe block. NoEscape is required for combat and raid block.
Appearance
Simple and clean design to ensure smooth user experience for your players. Additionally Shop can be inserted into WelcomePanel to achieve "all in" server panel.
Customization
Widely customizable and feature rich Shop which will fit all needs of your community.
Field Tested
Plugin made by experienced developer, tested by hundreds of server owners and used by some big organizations.
Discord
Customer support available on discord,
Installation
- unzip downloaded package and place Shop.cs file into your plugin folder.
- after succesfuly loading the plugin, data folder oxide/data/Shop will be generated
- take data files provided in plugin package and drop them into your Shop data folder
After finishing these steps your shop is ready to used.
Server Currency
If you don't wish to use ingame items as currency make sure you use either Economics or ServerRewards as you currency management as only those two plugins are compatible with Shop. Default currency setting is Economics ("eco"), if you wish to change it navigate to "oxide/data/Shop/Items.json", open this file in some text editor (VSC recommended) and simply select "eco" and mass replace for desired value. (video here)
"eco" for Economics
"rp" for ServerRewards
"scrap" or any other ingame item
Shop Categories
To remove, change or add new categories open "oxide/data/Shop/Categories.json" file. There you will find all categories alongside with items lists. If you wish to remove certain items from category, just head over to item list and delete from there.
Items
Changing prices
In "oxide/data/Shop/Items.json" you will find every item with their properties, to quick search for specific items press "CTRL + F". By leaving BuyPrice or SellPrice at 0 you will disable selling or buying of said item. Due to multi-currency support prices can be set only in whole numbers, no decimals. To offset for this, you can set minimal amount requirement. For example instead of selling one piece of wood for 0.01$ you can set minimal amount of 100x wood for 1$.
Removing items
If you wish to remove some items from Shop, you can do that directly in "data/Shop/Categories.json" file. Removing items from "Items.json" is not needed as they have no effect unless they are listed in some category.
Adding new items
To add new item you must first head over to "Items.json" data file and create new entry by copy pasting some of the existing ones. Once done with that you can add the item into category. To add multiple versions of same item can be created by simply adding unique tag behind shortname, for example "rifle.ak{1}", "rifle.ak{2}", etc...
Commands
Adding new commands
Commands can be create at "data/Shop/Commands.json". Plugin can only run server side console commands and then parse steam id or player name with tags {steamid} and {playername}. There are two examples shown in default data file. Server side console commands are common thing and almost all plugins utilize them.
Listing commands in categories
Simply type in one of your command names into category item list like this "cmd/yourCommandName". Slash cmd in front of command name is there to make difference between ingame item and command.
Cooldowns
These are very basic, cooldown is triggered when buy/sell action is triggered. By using minimal amount requirement for items you can manage how much player buy and how often. Cooldowns are managed in "data/Shop/Cooldowns.json". Default data file contains two example of cooldowns but it's simply shortname and amount of seconds.
Restrictions
Raid and Combat Block
Managed by NoEscape plugin, option to enable these two block can be found in config file.
Building Block
Prevents players from using shop while they are building block, option can be found in config file.
Spawn Block
Prevents players from using shop after they respawn, amount of seconds can be set in config file, 0 = disabled.
Wipe Block
Prevents players from buying specific items after wipe. Settings are located in "data/Shop/ItemsWipeBlock.json", similar as cooldowns.
Sales
By Permission (config file)
Discount on every item in the shop assigned by permission, multiple permission can be created with their own discount values.
By Category (categories data file)
Discount for every item within specified category.
By Item
Discount for specific item in the shop. If item is already in discounted category, higher discount will be applied.
WelcomePanel integration
To integrate this plugin into WelcomePanel simply use one of the four configs included in download package. These config were premade for each WelcomePanel template (goes from 1 to 4). In case you have own highly customized layout for WelcomePanel you will have to adjust "Layout Container" in Shop config file by yourself.