CoreSnap's Wishlist
-
Noclip
By Cobalt Studios in Plugins
Features
- AntiHack Protection: The plugin integrates with Rust's AntiHack system to prevent abuse of NoClip mode.
- Building Privilege Checking: Players with noclip.ownbuildingprivilege or noclip.everywhereexceptbuildingblocked permissions are monitored to ensure they are within allowed areas.
- Automatic Teleportation: Players who activate NoClip unauthorized in a building blockade area are teleported back to their last valid position.
- Configuration File: Settings such as message texts and colors can be customized in the configuration file.
Commands
- /noclip (Chat Command): Toggles NoClip mode for the player.
- noclip (Console Command): Same function as the chat command, but executable through the console.
Permissions
noclip.ownbuildingprivilege
Allows activating NoClip within the player's own building privilege areas.
Players cannot activate NoClip when outside a building privilege area.
noclip.everywhereexceptbuildingblocked
Allows activating NoClip everywhere except in areas protected by building blockades.
Players will automatically be teleported back if they try to enter a building blockade area.
noclip.everywhere
Allows activating NoClip everywhere on the map without restrictions.
noclip.godblock
A special permission used in conjunction with the server command to block or allow specific commands for players.
If you have any questions or problems, join my discord
https://discord.gg/D2zTWCEnrN
-
KeyCrates
The Key Crates plugin introduces a captivating gameplay feature centered around locked loot crates and colored keys. Players must gather these keys to access the valuable rewards hidden within the crates. Each key color corresponds to a unique crate type, offering different levels of rarity and rewards
Keys
The keys spawn in world loot containers listed in the config. Each container has a probability field that can be customized to set the probabilities for each key type to spawn in the container. Normal cards CANNOT be used at the loot crates and loot keys cannot be used in monuments. Upon collection 10 Green loot keys they will be upgraded to one Blue key. The same for Blue to Red
Loot Crates
The three loot crates all have their own configurable reward lists that even allows you to specify skinID and names to allow custom rewards to be given when the key is claimed. Each item added must be given a probability %. This will determine how likely a player is to receive the item.
Admin Commands
There are a few admin commands:
/addcustomloc - This will allow you to set the coords for a custom set of crates to spawn at. You MAY need to alter the coords to best fit your needs in the config. Just stand where you want them to spawn, face the way you want the readers to face, and run the command. Within 5 seconds a set of crates will spawn and be ready for use.
/gk - This will give you, the admin, one of each key. This can be used for testing rewards and handing out randomly.
/givekey <color> - This is a console command. It can be used to give keys through shops, rewards, or anything that allows commands as a reward.
/givekey <player> <color> <qty> - This admin command allows you to give a specific color and quantity of key to a specific player.
Monument Spawning
The three loot crates will spawn in default positions. These can be changed by altering the config position and rotation values for the crates at a specific monument OR by using the /addcustomloc command mentioned above.
Example Config:
{ "Custom Crate Location": [ { "enabled": true, "pos": { "x": -1785.229, "y": 3.521712, "z": 1480.33313 }, "rot": { "x": 0.0, "y": 150.63768, "z": 0.0 } } ], "Crates that Keys will spawn in": [ { "crateName": "heli_crate", "enabled": true, "gKeyChance": 0, "bKeyChance": 0, "rKeyChance": 5 }, { "crateName": "bradley_crate", "enabled": true, "gKeyChance": 0, "bKeyChance": 0, "rKeyChance": 5 }, { "crateName": "codelockedhackablecrate_oilrig", "enabled": true, "gKeyChance": 0, "bKeyChance": 0, "rKeyChance": 5 }, { "crateName": "codelockedhackablecrate", "enabled": true, "gKeyChance": 0, "bKeyChance": 0, "rKeyChance": 5 }, { "crateName": "wagon_crate_normal_2", "enabled": true, "gKeyChance": 5, "bKeyChance": 1, "rKeyChance": 0 }, { "crateName": "wagon_crate_normal", "enabled": true, "gKeyChance": 0, "bKeyChance": 5, "rKeyChance": 0 }, { "crateName": "crate_tools", "enabled": true, "gKeyChance": 5, "bKeyChance": 1, "rKeyChance": 0 }, { "crateName": "crate_underwater_advanced", "enabled": true, "gKeyChance": 0, "bKeyChance": 5, "rKeyChance": 0 }, { "crateName": "crate_normal_2", "enabled": true, "gKeyChance": 5, "bKeyChance": 1, "rKeyChance": 0 }, { "crateName": "crate_normal", "enabled": true, "gKeyChance": 0, "bKeyChance": 5, "rKeyChance": 0 }, { "crateName": "supply_drop", "enabled": true, "gKeyChance": 0, "bKeyChance": 0, "rKeyChance": 5 }, { "crateName": "crate_elite", "enabled": true, "gKeyChance": 0, "bKeyChance": 5, "rKeyChance": 0 } ], "Green Loot Rewards": [ { "itemShortname": "wood", "skin": 0, "itemName": "", "minQuantity": 500, "maxQuantity": 500, "probability": 100 }, { "itemShortname": "stones", "skin": 0, "itemName": "", "minQuantity": 500, "maxQuantity": 500, "probability": 100 }, { "itemShortname": "lowgradefuel", "skin": 0, "itemName": "", "minQuantity": 250, "maxQuantity": 250, "probability": 100 }, { "itemShortname": "metal.fragments", "skin": 0, "itemName": "", "minQuantity": 250, "maxQuantity": 250, "probability": 100 }, { "itemShortname": "metal.refined", "skin": 0, "itemName": "", "minQuantity": 50, "maxQuantity": 50, "probability": 100 }, { "itemShortname": "scrap", "skin": 0, "itemName": "", "minQuantity": 100, "maxQuantity": 100, "probability": 100 }, { "itemShortname": "ammo.pistol", "skin": 0, "itemName": "", "minQuantity": 50, "maxQuantity": 50, "probability": 100 }, { "itemShortname": "wood", "skin": 0, "itemName": "", "minQuantity": 500, "maxQuantity": 500, "probability": 100 }, { "itemShortname": "stones", "skin": 0, "itemName": "", "minQuantity": 500, "maxQuantity": 500, "probability": 100 }, { "itemShortname": "lowgradefuel", "skin": 0, "itemName": "", "minQuantity": 250, "maxQuantity": 250, "probability": 100 }, { "itemShortname": "metal.fragments", "skin": 0, "itemName": "", "minQuantity": 250, "maxQuantity": 250, "probability": 100 }, { "itemShortname": "metal.refined", "skin": 0, "itemName": "", "minQuantity": 50, "maxQuantity": 50, "probability": 100 }, { "itemShortname": "scrap", "skin": 0, "itemName": "", "minQuantity": 100, "maxQuantity": 100, "probability": 100 }, { "itemShortname": "ammo.pistol", "skin": 0, "itemName": "", "minQuantity": 50, "maxQuantity": 50, "probability": 100 } ], "Give Green rewards through commands?": true, "Green Command (use %steamid% where player ID would be)": [ { "Command": "givekey %steamid% blue", "Command Chat Message": "", "Enabled": true } ], "Blue Loot Rewards": [ { "itemShortname": "rifle.ak", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "explosive.satchel", "skin": 0, "itemName": "", "minQuantity": 2, "maxQuantity": 2, "probability": 100 }, { "itemShortname": "largebackpack", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "grenade.f1", "skin": 0, "itemName": "", "minQuantity": 10, "maxQuantity": 10, "probability": 100 }, { "itemShortname": "rifle.lr300", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "metal.facemask", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "metal.plate.torso", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "electric.generator.small", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "black.raspberries", "skin": 0, "itemName": "", "minQuantity": 10, "maxQuantity": 10, "probability": 100 }, { "itemShortname": "rifle.ak", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "explosive.satchel", "skin": 0, "itemName": "", "minQuantity": 2, "maxQuantity": 2, "probability": 100 }, { "itemShortname": "grenade.f1", "skin": 0, "itemName": "", "minQuantity": 10, "maxQuantity": 10, "probability": 100 }, { "itemShortname": "rifle.lr300", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "metal.facemask", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "metal.plate.torso", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "electric.generator.small", "skin": 0, "itemName": "", "minQuantity": 1, "maxQuantity": 1, "probability": 100 }, { "itemShortname": "black.raspberries", "skin": 0, "itemName": "", "minQuantity": 10, "maxQuantity": 10, "probability": 100 } ], "Give Blue rewards through commands?": false, "Blue Command (use %steamid% where player ID would be)": [ { "Command": "givekey %steamid% red", "Command Chat Message": "", "Enabled": true } ], "Red Loot Rewards": [], "Give Red rewards through commands?": true, "Red Command (use %steamid% where player ID would be)": [ { "Command": "sr add %steamid% 3", "Command Chat Message": "<color=white>%steamid%</color> <color=red> received <color=white>3 RP</color> from the Red Key Crate!</color>", "Enabled": true }, { "Command": "opl %steamid%", "Command Chat Message": "<color=white>%steamid%</color> <color=red> received a <color=white>RP Rocket Launcher</color> from the Red Key Crate!</color>", "Enabled": true }, { "Command": "inventory.giveto %steamid% supply.signal 3", "Command Chat Message": "<color=white>%steamid%</color> <color=red> received <color=white>3 Supply Signals</color> from the Red Key Crate!</color>", "Enabled": true }, { "Command": "recycler.give %steamid%", "Command Chat Message": "<color=white>%steamid%</color> <color=red> received a <color=white>Recycler</color> from the Red Key Crate!</color>", "Enabled": true }, { "Command": "inventory.giveto %steamid% blood 3", "Command Chat Message": "<color=white>%steamid%</color> <color=red> received <color=white>3 Blood</color> from the Red Key Crate!</color>", "Enabled": true }, { "Command": "addrolls %steamid% free 3", "Command Chat Message": "<color=white>%steamid%</color> <color=red> received <color=white>3 Free Rerolls for today</color> from the Red Key Crate!</color>", "Enabled": true } ], "Broadcast when Red Key used?": true, "Monument Info": [ { "name": "assets/bundled/prefabs/autospawn/monument/medium/bandit_town.prefab", "enabled": false, "pos": { "x": 9.0, "y": 2.8, "z": 0.7 }, "rot": { "x": 0.0, "y": -90.0, "z": 0.0 } }, { "name": "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab", "enabled": false, "pos": { "x": -24.1, "y": 0.2, "z": 12.1 }, "rot": { "x": 0.0, "y": 90.0, "z": 0.0 } } ] }
-
Monument Owner
Never worry about your players fighting over a monument, make them compete for ownership! With this plugin you can configure several parameters then players can compete to claim a monument for a set time. There is enough configuration and options that this would work well for any server, whether PvE or PvP.
Video
Description
This plugin will automatically find Facepunch standard monuments, including Cargo Ship and Oil Rigs that are on the map, and which can be specified in the configuration. This will create a zone around each monument in which customizable rules apply for anyone coming to the monument, whether they become owner or not. You can also create a zone using coordinates anywhere on the map, and assign certain rules to it.
Chat Command (For all players)
mocd - Displays all cooldowns for the player
Chat Command (For Admins)
mocreatecustomzone {name} - Creates a file for a custom zone in the Data/MM_Data/MonumentOwner/Custom Zones folder with the administrator position at the time of file creation
moshowid - Creates a mark for the administrator that displays the ID of each zone on the map
modrawedges - Shows the administrator the boundaries of each square zone on the map (used to set up such zones)
Console Command (RCON only)
mocdreset {SteamID64} - Resets all cooldowns for the player
mogetcd {SteamID64} - Outputs information to the console with all the cooldowns of the player
Plugin Config
example of a configuration for monuments sample configuration for the plugin
HOOKS
void OnPlayerEnteredMonument(BasePlayer playerEntered, Vector3 zonePos, float zoneRadius) - called when the player has entered the zone after all checks void OnPlayerExitedMonument(BasePlayer playerEntered, Vector3 zonePos, float zoneRadius) - called when the player is exited of the zone API
The answer true or false will tell whether there is a zone in this coordinate
private bool HasZone(Vector3 posMonument) The answer true or false will tell whether the zone belongs to someone
private bool HasOwner(Vector3 posMonument) The answer BasePlayer will tell who the zone belongs to
private BasePlayer GetOwner(Vector3 posMonument) The answer true or false will tell whether the player can become the owner
private bool CanPlayerBecomeOwner(Vector3 posMonument, BasePlayer player) Forcibly establishes the owner of the zone, bypassing checks on his ability to become the owner. The answer true or false will tell whether he was able to become one or the zone is occupied by another player
private bool SetOwner(Vector3 posMonument, BasePlayer player) Deletes a zone. The answer true or false will tell whether he was able to do it
private bool RemoveZone(MonumentInfo monument) Creates a zone for the desired monument. The answer true or false will tell whether he was able to do it
private bool CreateZone(MonumentInfo monument) Translation assistance by Jbird.
Check out more of my work here JTedal's library.
Come see our whole teams work Mad Mapper Library.
Come by the Mad Mapper Discord for support, feedback, or suggestions!
- #jtedal
- #mad mappers
-
(and 7 more)
Tagged with:
-
Risk Factors
By Chernarust in Plugins
Updates
Just released an update that expands functionality to other lootable entities, as well as a gear damage reduction system still a WIP and a message system for the different effects still a WIP.
Additional effects have also been added to make the damages feel more realistic, improvements to this will be made over time.
About
Modifies the three loot barrels and crates to include additional risky effects upon breaking and looting. Spawn chance is configurable for each entity type in the RiskFactors.json, the damage modifiers are based on a percentage of your health so no worries about dying easily. Permissions to enable or disable certain effects from the barrels. (Permission manager highly recommended).
Features
Configurable spawn effect chance and damage percentage based on players health amount.
Modifies the three loot barrels to include additional risky effects upon breaking.
Yellow - Has a configurable chance to spawn a Scarecrow or Bear Trap with damage adjustments
Blue - Is the radioactive barrel of Rust, configurable chance to inflict radiation and reduce hunger and thirst if near.
Red - Has a chance to break into flames or explode causing damage and bleeding if near.
Loot Crates - Most all loot crates have been added with chances for splinters, nails, and cuts to happen
Computer Stations - Chance to be shocked when attempting to mount.
Elite Crates - Have a chance to cause radiation, some of their contents might have been affected.
Food Crates - Have a chance for rotten food to be inside causing vomit and thirst and hunger reduction.
Plans
Please provide suggestions and improvements! Currently will be working on adding other entities and more configurable options. Really excited about this plugin and what it will become!
Permissions
oxide.grant user <steamID/username> riskfactors.yellow oxide.grant user <steamID/username> riskfactors.blue oxide.grant user <steamID/username> riskfactors.red oxide.grant user <steamID/username> riskfactors.fireball oxide.grant user <steamID/username> riskfactors.c4 oxide.grant user <steamID/username> riskfactors.beartrap oxide.grant user <steamID/username> riskfactors.scarecrow oxide.grant user <steamID/username> riskfactors.hungerreduction oxide.grant user <steamID/username> riskfactors.thirstreduction oxide.grant user <steamID/username> riskfactors.cratesplinter oxide.grant user <steamID/username> riskfactors.toolscratecut oxide.grant user <steamID/username> riskfactors.crates2 oxide.grant user <steamID/username> riskfactors.crates3 oxide.grant user <steamID/username> riskfactors.hazmatreduction oxide.grant user <steamID/username> riskfactors.glovereduction oxide.grant user <steamID/username> riskfactors.bootsreduction oxide.grant user <steamID/username> riskfactors.electrical oxide.grant user <steamID/username> riskfactors.heavysuitreduction oxide.grant user <steamID/username> riskfactors.foodcrates oxide.grant group <groupname> riskfactors.yellow oxide.grant group <groupname> riskfactors.blue oxide.grant group <groupname> riskfactors.red oxide.grant group <groupname> riskfactors.fireball oxide.grant group <groupname> riskfactors.c4 oxide.grant group <groupname> riskfactors.beartrap oxide.grant group <groupname> riskfactors.scarecrow oxide.grant group <groupname> riskfactors.hungerreduction oxide.grant group <groupname> riskfactors.thirstreduction oxide.grant group <groupname> riskfactors.cratesplinter oxide.grant group <groupname> riskfactors.toolscratecut oxide.grant group <groupname> riskfactors.crates2 oxide.grant group <groupname> riskfactors.crates3 oxide.grant group <groupname> riskfactors.hazmatreduction oxide.grant group <groupname> riskfactors.glovereduction oxide.grant group <groupname> riskfactors.bootsreduction oxide.grant group <groupname> riskfactors.electrical oxide.grant group <groupname> riskfactors.heavysuitreduction oxide.grant group <groupname> riskfactors.foodcrates
Configuration
{ "YellowBarrel": { "SpawnChance": 50.0, "MeleeSpawnChance": 25.0, "BearTrapDamagePercentage": 25.0, "BearTrapBleedingPercentage": 15.0, "BootsDamageReduction": 50.0, "BootsBleedingReduction": 50.0, "ScarecrowHealth": 15.0 }, "BlueBarrel": { "SpawnChance": 50.0, "MeleeSpawnChance": 25.0, "EffectRange": 10.0, "RadiationDamagePercentage": 25.0, "HungerReductionPercentage": 30.0, "ThirstReductionPercentage": 20.0, "HazmatReductionFactor": 50.0 }, "RedBarrel": { "SpawnChance": 50.0, "MeleeSpawnChance": 25.0, "EffectRange": 10.0, "C4DamagePercentage": 25.0, "C4BleedingPercentage": 7.5, "HeavySuitReduction": 50.0 }, "Crate": { "SpawnChance": 30.0, "SplinterDamagePercentage": 10.0, "SplinterBleedingPercentage": 5.0, "GloveDamageReduction": 50.0, "GloveBleedingReduction": 50.0 }, "ToolsCrate": { "SpawnChance": 30.0, "CutDamagePercentage": 15.0, "CutBleedingPercentage": 5.0, "GloveDamageReduction": 50.0, "GloveBleedingReduction": 50.0 }, "Crates2": { "SpawnChance": 30.0, "NailDamagePercentage": 15.0, "NailBleedingPercentage": 10.0, "GloveDamageReduction": 50.0, "GloveBleedingReduction": 50.0 }, "Crates3": { "SpawnChance": 50.0, "RadiationDamagePercentage": 15.0, "HungerReductionPercentage": 5.0, "ThirstReductionPercentage": 5.0, "HazmatReductionFactor": 50.0 }, "Electrical": { "SpawnChance": 30.0, "ShockDamagePercentage": 25.0, "HazmatReductionFactor": 50.0 }, "FoodCrates": { "SpawnChance": 25.0, "ThirstReduction": 5.0, "HungerReduction": 5.0 }, "DisableChatMessages": false }
-
XCustomExcavator
Take full control of excavators on your Rust server with XCustomExcavator. This powerful plugin lets admins fine-tune excavator functionality, ensuring an optimized experience for players. Adjust mined resources, tweak interface settings, and enjoy multi-language support and robust data storage. Custom settings and progress are preserved after restarts. Seamlessly handle multiple excavators and integrate smoothly with your server.
Key Features
Multi-Language Support: Switch plugin language with ease. Available in EN, RU, UK, and ES. Interface Optimization: Adjusts for different monitor resolutions. Persistent Data Storage: Excavator data saved in oxide/data/XDataSystem/XCustomExcavator. Progress saved after server restarts. Sound Effects: Enjoy interactive menu sounds. Multi-Excavator Support: Works seamlessly with multiple excavators on the map. Customizable Resources: Modify resources including shortname, amount, custom name, permission, and skin. Unlimited Resources: No limit on the number of resources. Chat Integration: View excavator information in chat. User-Friendly Resource Selection: Features like check button, distance to button, permission checks, and more. Error Notifications: Informs you of configuration mistakes.
-> In the code you can switch the plugin language - LanguageEnglish = true <-
Permissions
xcustomexcavator.use - access to UI usage/resource selection. xcustomexcavator.info - chat information. xcustomexcavator.admin - administrator mode.
Commands
/einfo, /exinfo, /excavatorinfo - information about excavator in chat. [ Commands can be changed in the config. ] xcustomexcavator_unload - unload the plugin without consequences. [ For those cases when the plugin will be unloaded and will not be used for some time. ]
API
bool IsValidIndex(int index) - check if the resource index is valid. 1. string GetResourceCustomName(int index) - get the custom name of the resource. 2. string GetResourcePermission(int index) - get the resource permission. 3. ulong? GetResourceSkinID(int index) - get the skin of the resource. 4. string GetResourceAmountString(int index) - get a formatted string of the resource amount. 5. string GetResourceDisplayName(int index) - get the formatted name of the resource. ( For 1-5. If index is invalid, null will be returned. )
Hooks
object OnExcavatorResourceSetUI(ExcavatorArm excavator, int index, ulong skinID, BasePlayer player) - called when player tries to select a resource in UI. Returning non null will prevent this action!
Config
{ "General settings": { "SteamID profile for custom avatar": 0, "Chat prefix": "<size=12><color=#FFFFFF50>[</color> <color=#00FF0050>XCustomExcavator</color> <color=#FFFFFF50>]</color></size>\n", "List of commands to view information about the Excavator": [ "einfo", "exinfo", "excavatorinfo" ] }, "GUI settings": { "Color_background_1": "0.517 0.521 0.509 0.95", "Color_background_2": "0.217 0.221 0.209 0.95", "Color_background_3": "0.527 0.531 0.519 1", "Button color (icons)": "1 1 1 0.75", "Block color": "0.517 0.521 0.509 0.5", "Default block color": "0.417 0.521 0.409 0.5", "Color of the active button next": "0.35 0.45 0.25 1", "Color of the inactive button next": "0.35 0.45 0.25 0.4", "Text color of the active button next": "0.75 0.95 0.41 1", "Text color of the inactive button next": "0.75 0.95 0.41 0.4", "Color of the active button back": "0.65 0.29 0.24 1", "Color of the inactive button back": "0.65 0.29 0.24 0.4", "Text color of the active button back": "0.92 0.79 0.76 1", "Text color of the inactive button back": "0.92 0.79 0.76 0.4" }, "HQM": { "Shortname of the resource to be mined": "hq.metal.ore", "Amount of resource that will be mined - one barrel diesel": 100.0, "Custom item name": null, "Permission": null, "Item skin": 0 }, "Sulfur": { "Shortname of the resource to be mined": "sulfur.ore", "Amount of resource that will be mined - one barrel diesel": 2000.0, "Custom item name": null, "Permission": null, "Item skin": 0 }, "Stone": { "Shortname of the resource to be mined": "stones", "Amount of resource that will be mined - one barrel diesel": 10000.0, "Custom item name": null, "Permission": null, "Item skin": 0 }, "Metal": { "Shortname of the resource to be mined": "metal.fragments", "Amount of resource that will be mined - one barrel diesel": 5000.0, "Custom item name": null, "Permission": null, "Item skin": 0 }, "List of mined resources": [ ... ] }