general2811's Wishlist
-
Drug Business
Looking for some business, eh?
Overview
Introduces a drug farming system to the server to enhance the gameplay
Give the role players a motive to live.
Commands
/db.vpn (Works for both chat & console) - Spawns a vpn which must be held in the belt and is required to access the black market through a computer station. (Admin only) /process - Opens the drug processing and packaging menu, must be entered while looking at a workbench level 3 for marijuana and mixing table for cocaine /spawndealer (optional parameter for name) - Spawns a dealer which can be further customized in the data file for example, regular spawning time, unique clothing to each dealer, etc (Admin only) /deletedealer ("perma" optional parameter) - Use this command while looking at the dealer, this will make them disappear for a while until the next time they're supposed to spawn, use "perma" as a optional parameter this will permanently clear them and never spawn back. (Admin only)
Flow
Players are required to find a vpn (custom item) in order to access the black market. Accessing a Computer Station with a VPN in the belt will access the Black Market, from here they'll be able to order weed or coca seeds. A drone will deliver it to them shortly, they're supposed to plant the seeds, grow the plant and harvest it on time Once done, they can now proceed further and process/package the material gotten off the plant, this can be done by standing near a workbench level 3 for weed and mixing table for coca and using the command /process (configurable) Packaged bricks can be sold to dealers available across the map, they're forced to spawn in a specific time (configurable) and they spawn randomly also configurable
Configuration
{ "Basic Settings": { "Hours From The Dealers Will Be Available": 0.0, "Hours Till The Dealers Will Be Available": 24.0, "Loading Screen Update Rate (Seconds) [Don't make it too small]": 0.035, "Loading Screen Anchor Shifting [Left - Right]": 0.001 }, "VPN Settings": { "Item Info": { "Display Name": "VPN Flash Drive", "Skin ID": 2645299478, "Require In Belt": true, "Spawn Command": "db.vpn" } }, "Drug Settings": { "Use (Economics / Server Rewards / Scraps)": "economics", "Currency Symbol": "$", "Marijuana Seeds": { "Cost per seed": 40.0 }, "Peruvian Coca Seeds": { "Cost per seed": 40.0 } }, "Drone Settings": { "Drone Spawn Distance (Default: 210)": 210, "Drone Spawn Height (Default: 78)": 78, "Drone Delivery Height (Default: 40)": 40 }, "Crafting Settings": { "Cocaine Leaves Required": 5, "Cocaine Powder Required": 10, "Cannabis Required": 5, "Marijuana Required": 10 }, "Dealer Settings": { "Maximum Dealers at a time (will pick random from the data)": 3, "Dealer Name": "Dealer", "Default Outfit": [ { "Item": "tshirt", "Skin": 838212999 }, { "Item": "pants", "Skin": 866948432 }, { "Item": "hat.beenie", "Skin": 814355387 }, { "Item": "shoes.boots", "Skin": 1889769313 }, { "Item": "mask.bandana", "Skin": 2312147084 } ], "Weed Brick": { "Bricks Sell Quantity": 1, "Time Taken For Single Trade (Seconds)": 30, "Brick Selling Price": 120 }, "Cocaine Brick": { "Bricks Sell Quantity": 1, "Time Taken For Single Trade (Seconds)": 30, "Brick Selling Price": 160 } } }
-
Abandoned Bases
Allows bases to become raidable when all players in a base become inactive.
Compatible with TruePVE and NextGenPVE servers. This plugin is not compatible with servers that have server.pve set true. It is possible to implement this, but I see no reason to do so as TruePVE provides the same protection and more.
Abandoned Bases checks each building on the server in order to determine which bases are inactive. Bases become inactive when all players authorized on the tool cupboard have been offline for the configured amount of days. When a base becomes inactive there are one of two outcomes.
1.) It will be immediately destroyed if it does not meet the configured minimum requirements.
2) It will become raidable for a configurable period of time, and when the time expires the base will be destroyed.
Each zone has a map marker, allows PVP and is surrounded by a dome that protects it from being attacked from the outside. Players who zone hop will be flagged with a PVP delay where they can still be attacked for a configurable amount of time.
Command /sar - requires abandonedbases.convert permission and converts a base into an abandoned base - this can be used on any base that you are authorized to and will cause the base to be destroyed when the timer expires
Command /sab - starts a manual check for each building on the server in order to determine which bases are inactive (requires abandonedbases.admin permission)
Command /sar radius - requires abandonedbases.convert permission and converts a base into an abandoned base and uses the specified radius for the dome / zone radius. Min and max radius are configurable.
Command /sar cancel - requires abandonedbases.convert and abandonedbases.convert.cancel permissions - completely cancels an event (destroys map marker and dome, disables PVP and prevents base from being despawned) effectively allowing the base to be taken over
Command /sar claim - requires abandonedbases.convert and abandonedbases.convert.claim permissions and converts a finished abandoned base into a claimed base that can be taken over by players
Command /sar purge - converts all bases on the server into abandoned bases for purge day (requires abandonedbases.convert, abandonedbases.admin and abandonedbases.purgeday permissions)
This is a two part command that requires you type /sab afterwards to begin. Requires abandonedbases.purgeday, abandonedbases.convert, and abandonedbases.admin permissions. Announcements are muted during purge to prevent spam. Time To Wait Between Spawns (15) will delay how quickly every base is converted Permissions (ADMINS REQUIRE PERMISSIONS TOO)
abandonedbases.convert - required to use /sar command
abandonedbases.convert.free - converting is free for users that have this permission
abandonedbases.convert.claim - required to use /sar claim command
abandonedbases.purgeday - required to use /sar purge command
abandonedbases.admin - required to use /sab and purge commands
abandonedbases.notices - users with this command can see all in-game notices from the plugin
abandonedbases.attack - lets players hunt bases and convert them by attacking if they're abandoned
abandonedbases.attack.time - shows players how much time is left before a base becomes abandoned when they attack it
abandonedbases.attack.lastseen - required to see the last time the player was online when attacking a base
Auto-add abandonedbases.immune to configuration if one does not exist already (lifetime set to "none")
- abandonedbases.immune will not be automatically added if the configuration contains a different immunity permission already
- abandonedbases.immune will give the user immunity to any base they've built at or are authed at from becoming abandoned
- abandonedbases.exclude does not provide immunity and is explicitly intended for the plugin to ignore the player only
- abandonedbases.exclude is intended for admins, mods, staff or helpers to be able to freely make repairs or auth at bases without interfering with the abandoned timer
abandonedbases.exclude:
excludes the user from being checked as an authorized user to a TC this permission should not be used to exempt users - exempt users with immunity by assigning them a permission from a role that has the lifetime set to "none" example roles that includes permission abandonedbases.immune and lifetime set to "none" to properly exempt a user or group by granting abandonedbases.immune to a user or group:
"Purge Settings": [ { "Permission": "abandonedbases.immune", "Lifetime (Days)": "none" }, { "Permission": "abandonedbases.vip", "Lifetime (Days)": "7" }, { "Permission": "abandonedbases.veteran", "Lifetime (Days)": "5" }, { "Permission": "abandonedbases.basic", "Lifetime (Days)": "3" } ], Purge Settings
Permission - The permission to use with this setting Lifetime (Days) - The amount of time in days before a base is considered abandoned. Set to none to not consider players with this permission as inactive. Conversions Before Destroying Base (1) - The amount of times a base can become abandoned before it is finally destroyed when the Despawn Timer expires. Comes with 3 configured permissions and lifetime days by default Abandoned Settings
Blacklisted Commands (command1, command2, command3) - Commands players are not allowed using at a raid or marked with PVP delay Marker Name (Minutes) (Abandoned Player Base [{time}m]) - Text shown on map marker for minutes Marker Name (Seconds) (Abandoned Player Base [{time}s]) - Text shown on map marker for seconds Foundations Required (4) - Minimum amount of foundations required to become raidable Walls Required (3) - Minimum amount of walls required to become raidable Sphere Amount (10) - Increase to darken the dome, or decrease to brighten it Sphere Radius (50) - How big the dome is in meters Use Dynamic Sphere Radius (false) - Allow the dome to detect the best dome size Max Dynamic Radius (75.0) - How maximum size of the dynamic radius Min Custom Sphere Radius - The minimum radius allowed when using /sar <radius> Max Custom Sphere Radius - The maximum radius allowed when using /sar <radius> PVP Delay (15.0) - The amount of time in seconds that players can take damage after leaving the dome Despawn Timer (1800.0) - The amount of time in seconds that players have to finish the raid Reset Despawn Timer When Base Is Attacked (true) - When enabled this will reset the above despawn timer back to 1800 seconds by default Do Not Destroy Base When Despawn Timer Expires (false) - Use this to override and prevent a base from being destroyed when Despawn Timer expires Backpacks Can Be Opened (true) - When enabled players will be allowed to open their backpacks while inside of the dome Backpacks Can Be Looted By Anyone (false) - Bypass PreventLooting plugin and allow backpacks to be lootable if enabled Corpses Can Be Looted By Anyone (true) - Bypass PreventLooting plugin and allow backpacks to be lootable if enabled Allow PVP (true) - Allows PVP while inside of the dome, and when flagged with a PVP delay Seconds Until Despawn After Looting (600) Seconds Until Despawn After Looting Resets When Damaged (true) Cancel Automated Events If Abandoned Owner Comes Online (false) Message Raiders When Event Ends During Automated Cancellation (true) Change Marker Color On First Entity Destroyed (true) Cooldown Between Conversions (3600) - Time required between each manual conversion of a base using /sar Cooldown Between Events (3600) - Time between each event - prevents looting, damage and using /sar claim Cooldown Between Cancel (3600) - Time the player must wait to use /sar cancel Cooldown Between Conversions Ignored During Purge (true) Cooldown Between Cancel Ignored During Purge (true) Cooldown Between Events Ignored During Purge (true) Prevent Hogging Ignored During Purge (false) Run Once On Server Startup (false) - Check for abandoned bases immediately after server startup is complete Run Every X Seconds (0.0) - The time in seconds to check for each building on the server in order to determine which bases are inactive Kill Inactive Sleepers (false) - When enabled players with a permission from purge settings will be executed when they are offline for the configured amount of lifetime days Let Players Kill Abandoned Sleepers (false) - Allows players to kill anyone sleeping inside of an abandoned base rather than the server killing them automatically Economics/ServerRewards Cost To Manually Convert (0 = disabled) - Used with /sar command to convert any base into an abandoned base Use Map Marker (true) Require Event Be Finished Before It Can Be Canceled (true) Various auto turret settings
Hooks (implemented in 2.1.4)
participants - anyone that has actively participated (excludes admin if configured, and those in noclip or vanish) - this should not contain null elements
participantIds - contains the userid of all participants - this list is better as anyone offline and dead will be included in this but not in the participants list because they would be null!
intruders - anyone currently inside of the event (does not exclude anyone) - this should not contain null elements
intruderIds - contains the userid of everyone inside of the event (does not exclude anyone) - this list is better as anyone offline and dead will be included in the list but not in the intruders list because they would be null!
void OnPlayerPvpDelayStart(BasePlayer player, ulong userid, Vector3 eventPos, float radius, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities) void OnPlayerPvpDelayExpiredII(BasePlayer player, ulong userid, Vector3 eventPos, float radius, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities) void OnAbandonedBaseStarted(Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> participants, List<ulong> participantIds, List<BaseEntity> entities) void OnAbandonedBaseEnded(Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> participants, List<ulong> participantIds, List<BaseEntity> entities) void OnPlayerEnteredAbandonedBase(BasePlayer player, Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities) void OnPlayerExitedAbandonedBase(BasePlayer player, Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities) void OnAbandonedBaseDespawned(Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities)
Convert Bases and/or Claim Bases
Credits:
misticos for giving permission to use some of his code 🙂- #rust
- #rust plugin
- (and 6 more)
-
XDShop
Large easily customizable shop – XDShop
Features:
Beautiful design – which can be customized for your server 2 built-in styles (dark and light) Which can be customized in your own way Great functionality Ability to connect the Human Npc plugin The ability to use any economy You can sell anything you want (Item, Blue-print, Custom Item, Command, Kit) Players can both buy goods and sell (Configurable) The ability to set a limit (purchases / sales) on WIPE, as well as a cooldown (purchases / sales) (by permissions) The ability to give access to categories by permissions Create personal discounts on permissions The ability to prohibit (buy/sell) items during the (raid/combat) block. And also during the duel This plugin does not load your server Beautiful notification option in the shopping menu Additional information
I tested this plugin with the guys for a month.
During testing, many problems were identified that were fixed.
The plugin should work correctly.
All settings have been checked.
Feel free to write me your ideas.
I will be happy to expand and add new functionality to this plugin!
Also, if you use another plugin on the store, but you liked mine more and you want to buy it,
Feel free to write to me in discord! I will help you move the goods from the old store to mine.
Filling the store with standard categories and products
For the convenience of configuring products, I made a very convenient function.
It will allow you to fill your store with standard products and categories.
And also if you install the plugin Item Cost Calculator, then when filling out the goods, the price for the item will be automatically set.
How to do it?
Just in case, save your old configuration Enter this command in the console – xdshop.refill and xdshop.yes After the process is completed successfully, the plugin will reboot. Next, you just need to change the settings for your server economy. Required Dependencies:
ImageLibrary Supported Plugins (Optional):
Economics Server Rewards IQEconomic Human NPC Item Cost Calculator IQKits Rust Kits Setup (Configuration):
Economics:
At the moment there are 4 variants of the economy Economics, Server Rewards, IQEconomic, Item
Item – this is a type of economy in which the player will have to pay with an item, it can be scrap or other as well as custom items on your server.
You will see an example of the setup below "Economics": { "Economics (0 - Economics, 1 - ServerRewards, 2 - IQEconomic, 3 - Item)": 3, "Prefix to the balance (for example, RP or $ - No more than 2 characters)": "$", "Item shortname (Use with type 3)": "", "Item SkinId (Use with Type 3)": 0 }, Product Setup:
At the moment there are 5 different types of goods: Item, Blue-print, Custom item, Command, Kit (Whale plugins are supported Rust Kits & IQKits)
Such a variety of items being sold will obviously appeal to your players!
Product setup example
{ "Item Type (0 - Item, 1 - BluePrint, 2 - Custom item, 3 - Commands, 4 - Kit)": 0, "Unique ID (DO NOT TOUCH)": 1, "Shortame": "hat.wolf", "Descriptions": "", "Price": 11.0, "Sale price (If not necessary, leave 0)": 5.5, "Quantity": 1, "Quantity for sale": 1, "Custom item name (Use with item type 2, 3 and 4)": "", "Item SkinID (Use with item type 2)": 0, "Commands (Use with item type 3)": [], "Image URL": "", "Kits (Kits - kit name. IQKits - kit key)": "", "Purchase delay (0 - unlimited)": 0.0, "Sale delay (0 - unlimited)": 0.0, "Maximum number of lots for 1 purchase (Maximum 99)": {}, "Maximum number of lots for 1 sale (Maximum 99)": {}, "The maximum number of purchased lots per wipe (0 - unlimited)": {}, "The maximum number of lots sold per wipe (0 - unlimited)": {} }, Configuring integration with the Human NPC plugin:
If you use this plugin, then you clearly need to use it with my plugin.
This is a very interesting version of the NPC store
Setup example "Setting up a Human NPC": { "Enable Human NPC support ?": false, "Human NPC [NPC ID | list shop category]": { "11223274496" : ["Attire","Weapon"] } }, Configuring the interface:
The most interesting part of the plugin. After all, only in it you can customize the color palette for your server.
You can create your own light and dark theme between which players will switch.
I am sure that every player will choose what is best for him. You can customize the color of any element in my store.
Setup example
"Configuring the interface": { "Enable the ability to change the theme?": true, "Default theme (0 - light, 1 - dark)": 1, "Light Theme UI Settings": { "The color of the main background of the store": "1 1 1 1", "[TITLE] Text color": "0 0 0 1", "[TITLE] Picture Color": "0 0 0 1", "Color of the discount picture": "0.20 0.85 0.15 1.00", "Discount text color": "0 0 0 1", "Balance picture color": "0.26 0.53 0.80 1", "Balance text color": "0 0 0 1", "[PAGE] Page number text color": "0 0 0 1", "[PAGE] Color of the page switching buttons": "0.51 0.51 0.51 1.00", "[PRODUCT] color of the number of items (digits)": "0.627451 0.6313726 0.6392157 1", "[PRODUCT] product background color": "0.97 0.97 0.98 1.00", "[PRODUCT] Text color of the product name": "0 0 0 1", "[PRODUCT] Buy button color": "0.38 0.77 0.43 1.00", "[PRODUCT] Color of the sell button": "0.8588235 0.345098 0.3372549 1", "[PRODUCT] Close button color": "0.8392158 0.3647059 0.3568628 1", "[CATEGORY] color of the name of the active category": "0 0 0 1", "[CATEGORY] Color of the inactive category name": "0.51 0.51 0.51 1.00", "[CATEGORY] Band color of the active category": "0.5607843 0.8901961 0.4705883 0.6", "[CATEGORY] Color of the inactive category stripe": "0.4078432 0.4313726 0.4392157 0.6", "[NOTIFICATIONS] The color of the text in the notification": "0 0 0 1", "Color of additional gray text": "0.55 0.55 0.55 1.00", "The color of the exit UI button": "0.8392158 0.3647059 0.3568628 1" }, "Dark Theme UI Settings": { "The color of the main background of the store": "0.13 0.15 0.16 1.00", "[TITLE] Text color": "0.87 0.87 0.87 1.00", "[TITLE] Picture Color": "0.62 0.63 0.64 1.00", "Color of the discount picture": "0.20 0.85 0.15 1.00", "Discount text color": "1 1 1 1", "Balance picture color": "0.26 0.53 0.80 1", "Balance text color": "1 1 1 1", "[PAGE] Page number text color": "0.87 0.87 0.87 1.00", "[PAGE] Color of the page switching buttons": "0.51 0.51 0.51 1.00", "[PRODUCT] color of the number of items (digits)": "0.627451 0.6313726 0.6392157 1", "[PRODUCT] product background color": "0.17 0.18 0.21 1.00", "[PRODUCT] Text color of the product name": "0.87 0.87 0.87 1.00", "[PRODUCT] Buy button color": "0.38 0.77 0.43 1.00", "[PRODUCT] Color of the sell button": "0.8588235 0.345098 0.3372549 1", "[PRODUCT] Close button color": "0.8392158 0.3647059 0.3568628 1", "[CATEGORY] color of the name of the active category": "0.87 0.87 0.87 1.00", "[CATEGORY] Color of the inactive category name": "0.51 0.51 0.51 1.00", "[CATEGORY] Band color of the active category": "0.5607843 0.8901961 0.4705883 0.6", "[CATEGORY] Color of the inactive category stripe": "0.4078432 0.4313726 0.4392157 0.6", "[NOTIFICATIONS] The color of the text in the notification": "1 1 1 1", "Color of additional gray text": "0.55 0.55 0.55 1.00", "The color of the exit UI button": "0.8392158 0.3647059 0.3568628 1" }
},
- #ui shop
- #shop rust
-
(and 4 more)
Tagged with:
-
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.
-
Simple Ticket Bot
By Amino in Discord Bots
A very simple, yet nice ticket bot.
FEATURES
- All embeds can be customized - Add up to 10 different types of tickets - Edit the ticket buttons however you want - Require people to be linked to open different types of tickets - Support SimpleLink, Steamcord, and PlatformSync - Require people to have specific roles to open tickets - Have different questions for each ticket - Have different staff allowed or not allowed to see each type of ticket - Check your stats on tickets - A button to check the user's steam profile that opened the ticket - Check if the user who has opened the ticket has any bans on battlemetrics - Add or remove users from tickets - Ban or unban users from opening tickets - Deem a ticket a successful report or not - Transcript logging - Sends a user a DM when a ticket is closed - ETC*
The bot is very simple to install.
The file includes a setup guide within it. All quite simple.
Need support or want updates about what is coming to the bot? Join the support discord here https://discord.gg/RVePam7pd7