Rust.Matrixx's Wishlist
-
ItemPerks
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 perk increases the damage dealt to Bradley Tanks. Name: HeliDamage Description: This perk perk increases the damage dealt to Patrol Helicopters.
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:
-
EpicLoot
By imthenewguy in Plugins
Epic Loot is a plugin that adds additional RPG style loot to crates, NPC corpses, barrels and crafting.
There is a configurable chance that an enhanced piece with varying set types and modifiers will appear in a loot crate, barrel or corpse.
Players also have a chance to receive an enhanced version of their crafted items, rather than the plain old vanilla armor/weapon/tool.
Wearing more than 1 of the same type of item will provide the user with a set bonus. Depending on the set type, they may get access to higher mining yields, more damage to scientists or even access to exclusive loot tables that proc while gathering.
The plugin is incredibly configurable, supports language conversions and allows users to modify and design their own set bonuses.
There are currently 24 different set types and 27 unique set bonuses!
Set types are added to the name of the item and are responsible for providing the user with a buff.
Miners, - Increases the wearers mining yield. Lumberjacks, - Increases the wearers woodcutting yield. Skinners, - Increases the wearers skinning yield. Farmers, - Increases the wearers farming yield. Foragers, - Increases the wearers collection yield. Fishermans, - Increases the wearers fishing yield. Assassins, - Increases damage done to players. Demo, - Decreases damage from explosives. Elemental - Reduces cold and fire damage. Scavengers - Offers the wearer a chance to obtain additional scrap from barrels and crates. Transporters - Reduces the fuel costs for helicopters and boats. Crafters - Increases crafting speed. Reinforced - Reduces durability loss on all equipped items. Tamers - Reduces damage taken from animals. Hunters - Increase damage done to animals. Operators - Increases damage done to humanoid NPCs. Jockeys - Increases speed of the wearers mounted horse. Raiders - Offers the wearer a chance for their fired rocket/thrown explosive to be refunded. Builders - Offers the wearer a chance for their building/upgrade costs to be refunded. Assemblers - Offers the wearer a chance for their crafting materials to be refunded. Fabricators - Offers the wearer a chance for an additional crafted item to be produced. Medics - Increases healing received. Knights - Decreases damage received from melee attacks. Barbarians - Increased damage done with melee attacks. Smelting - Chance to receive a refined ore, instead of a raw ore, while mining. InstantMining - Chance to instantly mine the rest of a node out on hit. InstantWoodcutting - Chance to instantly cut down the rest of the tree on hit. Regrowth - Chance for the felled tree to respawn. InstantSkinning - Chance to instantly skin the rest of an animal on hit. InstantCook - Chance to receive cooked meat instead of raw meat while skinning. PVPCrit - Chance to critically damage a player, adding an additional 10-30% damage. Reflexes - Reduces damage taken from PVP. IncreasedBoatSpeed - Increases the speed of all watercraft. FreeVehicleRepair - Removes the repair cost for repairing vehicles of all kinds. Survivalist - Increases calories and hydration from all food sources. Researcher - Chance to receive your scrap back while researching. Feline - Reduces fall damage. Lead, - Reduces radiation damage. Gilled - Underwater breathing. Smasher - % Chance to destroy barells and roadsigns instantly. WoodcuttersLuck - Access to a loot table for woodcutting. MinersLuck - Access to a loot table for mining. SkinnersLuck - Access to a loot table for skinning. RockCycle - Chance to spawn a new rock once mined out. Attractive - Chance for loot to be instantly moved to your inventory. FishersLuck - Access to a loot table for fishing. TeamHeal - Shares heals with nearby team mates. HealthShot - Heals team mates for damage that would have been done when shot. BulletProof - Reduces the damage received from bullets. FishingRodModifier - Adjusts the tensile strenght of the cast fishing rod, making it harder to snap the line. UncannyDodge - Chance to dodge a projectile and negate its damage.
When a user wears enough pieces of the same set, they will get access to extra set bonuses, depending on the number of pieces worn.
Any of the buffs from the set types can be added as set bonuses to any set. You can also add the BonusMultiplier set bonus if you want to increase the set bonus percentage based on the number of pieces worn.
BonusMultiplier - Add an additional bonus on top of the existing modifier.
Type: chat
Command: genitem
Parameters: <optional: item shortname> <optional: set type> <optional: tier>
Usage:
/genitem pants miners s - will spawn a pair of pants with the miners set type and a random modifier from s tier range. /genitem transporters c - will spawn a random item with the transporters set type and a random modifier from the c tier range. /genitem pants b - will spawn a pair of pants with a random set type and a random modifier from the b tier range. /genitem pants - will spawn a pair of pants with a random set type and a random set modifier.
Type: console
Command: genitem
Parameters: <target name/steam ID> <optional: item shortname> <optional: set type> <optional: tier>
Usage:
/genitem "new guy" pants miners s - will spawn a pair of pants with the miners set type and a random modifier from s tier range. /genitem "new guy" transporters c - will spawn a random item with the transporters set type and a random modifier from the c tier range. /genitem "new guy" pants b - will spawn a pair of pants with a random set type and a random modifier from the b tier range. /genitem 76561197988695317 pants - will spawn a pair of pants with a random set type and a random set modifier.
Type: chat
Command: eladdskin
Parameters: <set type> <item shortname>
Usage:
/eladdskin Transporters pants 2533474346 - Adds the specified skin ID to the list of skins for the transporters pants.
Type: chat
Command: givescrappercurrency
Parameters: <quantity>
Usage:
/givescrappercurrency 100 - gives 100 scrapper currency to the player.
Type: console
Command: givescrappercurrency
Parameters: <target name/ID> <quantity>
Usage:
givescrappercurrency new 100 - gives new guy 100 scrapper currency.
Type: console
Command: elprintitems
Parameters: none
Usage:
/elprintitems - will print a list of items that can be enhanced into console.
Type: chat
Command: el
Parameters: none
Usage:
/el - opens up the EpicLoot menu.
Type: chat
Command: reseticonpositions
Parameters: none
Usage:
/reseticonpositions - forces all player icon positions to be set to the default config value.
epicloot.use - Required to access the menu.
epicloot.admin - Required to use the genitem commands.
epicloot.drop - Required for items to drop from crates, barrels and corpses.
epicloot.salvage - Required to access the salvager menu.
epicloot.enhance - Required to access the enhancement menu.
epicloot.enhance.free - Enhancements have no cost.
epicloot.craft - Required to randomly craft epic loot items.
void GenerateItem(BasePlayer player, string type = null, List<string> item_shortname = null, string tier = null, bool msg = false) Type must be a set type (miners, transporters etc).
Item_shortname can contain a number of item shortnames. The hook will pick a random item from the list.
Tier must be either s, a, b or c.
- #enhanced
- #custom loot
-
(and 7 more)
Tagged with:
-
TC Authorized Setup
Open UI - /tssettings (use permission - tcauth.use)
FEATURES:
The maximum number of players that can authorize in a cupboard Only authorized players can open crates (on/off) Only authorized players can look inside and open Furnaces (on/off) Authorized players are automatically not attacked by turrets and SAM site (on/off) Authorized players no longer need codes and keys to open doors (on/off) Automatically if players are registered on the TC (remove building parts) (on/off) Automatically registered your teammates on the TC
PERMISSIONS:
"tcauth.use" - you can use UI (only for config setup)
"tcauth.bypass" - you can use all the functionality
"tcauth.ignore" - you ignore all the functionality
"tcauth.auth.use" - you are automatically authorizing in your teammates TC (AutoTurrets + SAM optional)
"tcauth.lock.use" - you can open what's under lock and key
"tcauth.chest.use" - you can open chests
"tcauth.turret.use" - you are automatically authorized in the turrets and SAM
"tcauth.furnace.use" - you can open the ovens
"tcauth.removebp.use" - you can destroy parts of the building at any time
P.s - (My Discord - tofurahie#4144)
- #tc
- #authorized
- (and 5 more)
-
Detective Stewie
The NpcDetective plugin adds a detective named Stewie, standing in the outpost and bandit camp.
Detective for a specified fee through time will send information about the location of the player, but there is a chance that the detective will not be able to find him, as well as that the target will feel the gaze of the detective directed at him.
The plugin is aimed at PVP content and will definitely be of interest to your players who love battles, because they will be able to find out the whereabouts of the obitchik or if they are lucky to find out where his house is, which will allow them to raid him.
Some details of the default plugin settings:
There are 2 spawn points on the monuments, in the outpost and the bandit camp. Default mission completion time is 5 to 10 minutes. Chance of mission failure - 30% Chance that the target will feel the detective's gaze - 10%. Kulldown 10 minutes Price for the service is 200 scrap Features:
The plugin supports 4 types of economics namely Economics, ServerRewards, IQEconomics, Items Has completely identical UI that Rust uses for conversations as well as for player selection. The UIs have been replicated from scratch and do not require extra dependencies. It has dialogs already ready to use. Provides the ability to translate each of the plugin texts, including the name of the bot above. A wide range of mission settings, including the chances of a variety of events, which greatly fuels interest. The plugin is immediately ready to use without further customization. Permissions:
npcdetective.allow - allows you to use the services of NPCs Commands:
getnpcpos - allows you to get a spawn point for an NPC, relative to a monument or world (in this case specified as “custom”)
Video:
Default Config:
{ "Spawn Points": { "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab": "-26.38629 0.2249966 -20.25003 -6.138487 245.2638 7.046678", "assets/bundled/prefabs/autospawn/monument/medium/bandit_town.prefab": "42.65682 7.059561 -31.20314 8.198808 329.3285 7.740015" }, "Payment Settings": { "Provider (Economics | ServerRewards | IQEconomics | Item)": "Item", "Provider Currency Name": "scrap", "[Item Provider] Short Name": "scrap", "[Item Provider] Skin ID": 0, "Price of search service": 200 }, "Mission Properties": { "Information Accuracy Type (Mark | Grid)": "Mark", "Lead Time Range Min (in seconds)": 300.0, "Lead Time Range Max (in seconds)": 600.0, "Cooldown in seconds": 600.0, "Chance of mission failure (0-100%)": 30.0, "Сhance that the target will sense the presence (0-100%)": 10.0 } }
-
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.