GangstaPichu's Wishlist
-
Water Event
A new event includes a lot of game mechanics
Description
The event starts with a warning in the chat: a submarine will soon be passed near the island.
A submarine will appear on the water when the time is up.
There are 4 floors in the submarine. 2 floors are over the water and 2 floors are under the water.
It is possible to get into the submarine on absolutely any transport. There are 4 outside entrances, 4 underwater entrances, and 2 submarine entrances (added in the Underwater Update).
There are about 50 NPCs outside the boat and two upper floors.
There are about 120 crates of items, rooms with blue and red doors, locked crates, recyclers, workbenches in the submarine (it is possible to set up in the configuration).
There are also 4 cameras on the submarine that you can connect to (Submarine1, Submarine2, Submarine3, Submarine4).
The number and location of all NPCs and crates can be changed in the plugin configuration. It is also possible to change the dropdown items in them.
It is necessary to blow up the doors on the submarine with explosives to get to the crates (it is possible to set up the amount of damage to the doors in the configuration).
When an event appears, a marker will display on the map (configurable in the configuration file).
It is possible to set up in the configuration the PVP zone for those who use the TruePVE plugin.
A timer with a countdown to the Event end and the number of crates and NPCs will display for all players in the Event zone.
The conditions for the completing event are the end of the timer or the end of the loot crates.
The submarine will disappear at the end of the event.
It is possible to set up an automatic event appear on the map. All timers can be set up in the configuration.
It is possible to lower the FPS on the server due to the large number of entities during the submarine appearance or the end of the event!
Dependencies Required
NpcSpawn
Dependencies (optional, not required)
True PVE PveMode GUI Announcements Notify Discord Messages AlphaLoot CustomLoot NTeleportation Economics Server Rewards IQEconomic Kits
Chat commands (only for administrators)
/waterstart - start the event
/waterstop - end the event
/waterpos - determining the position and rotation coordinates for changing the location of NPCs and crates.It should write in the configuration (Attention! The event must be started, the current position of the administrator in relation to the submarine is read)
Console commands (RCON only)
waterstart - start the event
waterstop - end the event
Plugin Config
en - example of plugin configuration in English ru - example of plugin configuration in Russian
Hooks
void OnWaterEventStart(HashSet<BaseEntity> entities, Vector3 position, float radius) – called when the event starts
void OnWaterEventEnd() – called when the event ends
void OnWaterEventWinner(ulong winnerId) – called at the end of the event, where the winnerId is the player who did more actions to complete the event
My Discord: KpucTaJl#8923
Join the Mad Mappers Discord here!
Check out more of my work here!
The submarine is designed by Jtedal
-
Enchanting
By imthenewguy in Plugins
Enchanting adds the ability for different types of weapons to be enchanted with over 29 specialized, unique abilities from freezing your target in place, to increasing the speed of your horse. Each enchantment is configurable and can be added to any weapon type, or even multiple times under the same weapon type with different durations/effect modifiers.
Enchanting an item requires a cost of runes, which are found from different sources. See the "Runes" section below for more information on how players obtain runes.
The plugin comes with a number of pre-made enchanted weapons, but you can add, remove or edit your own via the config file, allowing you to tailor this plugin for your on worlds.
Runes are required to enchant a weapon. The enchantment costs can be seen under each weapon, and must be in the players inventory when they attempt to enchant their weapon.
Runes drop from multiple sources, but each rune type has a uniquely flavoured drop source by default:
Ice Runes: Obtained while mining, woodcutting or picking floora (hemp, mushrooms, pumpkins etc) in the acrtic biome. Life Runes: Obtained from collecting floora in any biome. Death Runes: Obtained while harvesting the flesh of NPCs and animals. Fire Runes: Obtained while mining, woodcutting or picking floora in the arid biome (desert). Dark Runes: Obtained while mining, woodcutting or picking plants during the night (after 6pm, before 6am). Light Runes: Obtained while mining, woodcutting or picking plants during the day (between 6am and 6pm). Water Runes: Obtained while gutting fish or harvesting flesh from sharks. Runes can be adjusted, renamed and changed in the config file, and additional rune types can also be added, all of which can be assigned to any of the 15 drop sources.
There are 29 enchantments available as of version 1.0.0. These enchantements can be placed onto most held items, and can be activated as long as the player is not on cooldown.
The cooldown works as a global cooldown, meaning that if a player uses any enchantment, they cannot use another enchantment until their cooldown finishes.
Each weapon can have a unique cooldown period, allowing for more powerful enchantments to cause a longer cooldown, while having a shorter cooldown for less powerful ones.
To enchant an item, simply place it into a repairbench, which will trigger the "Enchanting" button to appear. Clicking this button will display all available enchantments for that particular item. Click the desired enchantment, click enchant and you are done!
All abilities require activation by pressing MOUSE3 (default) while the weapoin is active. Stowing or swapping the weapon so something else cancels the ability.
Command: inspect
Action: Shows the enchantment info for the active weapon.
Permission: none
Command: giverunes
Parameters: <Optional: quantity>
Action: Gives the user x amount of each rune.
Permission: enchanting.admin
Command: giverandomweapon
Action: Gives the user a random enchanted weapon.
Permission: enchanting.admin
Command (CONSOLE): generaterandomweapon
Parameters: <target name/ID>
Action: Gives the user a random enchanted weapon.
Permission: enchanting.admin
enchanting.admin - required for admin commands. enchanting.free - enchanting requires no runes. enchanting.create - required to see the enchanting menu appear in the repairbench menu. enchanting.nocooldown - no cooldown is applicable after activating an ability.
[1] Freeze: Freezes the target in place when hit for x seconds. [2] Slow: Prevents the target from running when hit for x seconds. [3] Inferno: Sets the target on fire when hit for x seconds. [4] Bleeding: Applies x bleeding stacks when hit for the duration. [5] Radiation: Applies x radiation stacks when hit for the duration. [6] Poison: Poisons the target, dealing x damage every y seconds for z cycles. They also vomit. [7] Indestructable: Prevents condition loss on the weapon for the duration. [8] Lifesteal: Returns x% of the damage dealt to a target, back to the attacker. [9] PVPDamage: Increases the damage versus players by x% for the duration. [10] PVEDamage: Increases the damage versus animals and scientists by x% for the duration. [11] Blind: Blinds the player for x seconds when hit. [12] Splinter: Damages all players within x meters of the target for y% of the damage dealt to the target. [13] Explosive: Spawns and detinates an explosive at the landing point of a projectile weapon for the duration. [14] Healing: Prevents the damage that would be done to the target by the attacker, instead healing them for x% of the damage that would have been done. [15] Sleep: Forces the target into the sleep state for x seconds when hit. [16] Fumble: The target's active item is moved into their inventory when hit. It is dropped to the ground instead of there is no room in the inventory. [17] Curse: When the target is hit, their screen quickly flashes purple and black and they take 0.6 damage every 0.2 seconds for the duration. [18] GatherYield: Gather yield is increased by x% for the duration when using this enchanted tool to harvest. [19] AnimalSpawn: Spawns an animal at the hit market (default wolf) for the duration. [20] ReduceDamage: While active, this ability will reduce incoming damage by x% for the duration. [21] HealSelf: Instantly heals the player for x health. [22] HealOthers: Instantly heals other players for x health that are within y meters. [23] BradleyCloak: Makes the player invisible to bradley tank for the duration. [24] FeatherFall: Prevents fall damage while active. [25] RadiationResist: Removes all radiation stacks once per second for the duration. [26] Spectre: Makes the player invisible to turrets and base defences for the duration. [27] HorseCrop: Increases the horses stats by x for the duration. Will affect any horse that the player climbs onto while active. Horses the player dismounts from will no longer be affected. [28] ScientistCloak: Makes the player invisible to scientists for the duration. [29] ElementalDamageResist: Makes the player immune to fire and cold damage for the duration. [30] DamageIncrease: Increases the damage of the weapon to everything by x% for the duration.
void GenerateRandomWeapon(BasePlayer player) //gives the player a random weapon.
- #enchanting
- #epic
- (and 4 more)
-
Disbanded team restore
TL;DR: This plugin restores lost player teams after a server crash.
In some cases, after an unsuccessful shutdown or a server crash, all player teams get disbanded and no one knows why.
Facepunch knows about this issue for years but since it happens rarely and sporadically, it seems that they can't fix it.
This leads to many annoying problems like
- players can't open doors with locks that were placed by their (former) team mates and therefore will be trapped in the base until suicide (ingame)
- players are beeing attacked by their "own" turrets and traps
- players can't access the tool cupboard and chests since the building priviledge of the former team owner is not shared anymore.
How does it work?
This plugin is simple, has just four optional chat/console commands, one permissions and a very short configuration.
It just saves all Rust teams to a data file on the following events/hooks:
- OnServerSave
- OnTeamCreated (removed, unnecessary)
- OnTeamLeave (removed, unnecessary)
- OnTeamAcceptInvite (removed, unnecessary)
- OnTeamDisbanded (removed, unnecessary)
- OnTeamKick (removed, unnecessary)
- OnTeamPromote (removed, unnecessary)
- OnServerShutdown
- Unload
Only this last two hooks tell the plugin that the shutdown was sucessful and planned by setting a flag.
If the server (re)starts and this flag is NOT set, it knows that the server crashed or the process was killed.
In this case the plugin restores all teams and you are good to go.
Permissions:
DisbandedTeamRestore.admin
Player can list, disband and restore all teams
Commands:
/dtr.saveteams
Saves the currently existing teams to the data file
/dtr.restoreteams
Disbands all currently existing teams and restores the teams from the data file
/dtr.disbandteams
Disbands all currently existing teams
/dtr.listteams
Lists all teams with ID, leader and members. Outputs to chat, if ran by a player via ingame chat, or to server console if run from - you guessed it - the server console.
Config file:
"Keep all backups, not only the last" set to "true" will create a backup data file for the teams on every call of the above mention events/hooks, instead of just one backup file.
Don't worry, each file is only a few bytes in size, they won't bloat your hard drive.
Debugging/Troubleshooting:
By setting the variable "debug" to "true" (in the plugin file, not in the config file!) you can enable verbose logging into the server console.
Roadmap:
- Make it work with "Automatic authorization".
Done. After the teams are restored, the players are automatically authorized on TCs, turrets and doors/locks if the plugin "Automatic authorization" is used
- Add a config option to force restore all teams on server start (even if the server did not crash)
Done
- ...
Feel free to DM me your suggestions!
-
The Ferry
Spawn in the Nexus ferry and let players ride it around the map.
The ferry by default will make a stop at Ferry Terminal monument. You can add more stops to the map using the commands listed below.
You can add parented items to the ferry. By default there is some items in the config to see how its done.
It is recommended you create your own path for the ferry to follow. This is as easy as driving a boat around with the pathing tool this way you are sure there is a path point close to your docks turnaround point..
When creating a path make sure you mark on the map where you started so you can end your path close to where you started to continue the path loop. Also make sure to create your path in the direction cargoship drives.
Permissions
theferry.admin
ChatCommand
/ferry <killall, dock, path, dockpoint>
killall - Kills your ferry on the map.
dock - Spawns a dock in front of where your standing and looking for the ferry to dock at.
path - Pathing tool to create a path for the ferry to follow so you can get it close to there your docks are.
dockpoint - Tool used to create a dock point with out it spawning the dock useful for custom built docks.
{ "General Settings": { "Custom Path FileName": "CargoPath", "Custom Path Reverse/ Use if paths not in direction of cargoship": false, "How long to stay at dock in seconds": 300.0, "Ui OffsetMin": "380.8 325.0", "Ui OffsetMax": "680 350.0", "Use SafeZone": true, "SafeZone Radius": 75.0, "SafeZone Turret Scan Range": 20.0 }, "Radio Settings": { "Custom Path FileName": null, "Custom Path Reverse/ Use if paths not in direction of cargoship": false, "How long to stay at dock in seconds": 0.0, "Radio Enabled": true, "Radio Stations": { "Triple J": "http://live-radio01.mediahubaustralia.com/2TJW/mp3/", "Double J": "http://live-radio01.mediahubaustralia.com/DJDW/mp3/", "NPR": "https://npr-ice.streamguys1.com/live.mp3", "98.7 The Shark": "http://17643.live.streamtheworld.com/WPBBFM.mp3", "Magic Oldies Florida": "http://ais-edge07-live365-dal02.cdnstream.com/a46209", "Smooth Jazz Florida": "http://server.webnetradio.net:5120/", "Salsa Radio": "http://radio.domiplay.net:2002/;", "Radio Central": "http://philae.shoutca.st:8459/stream", "J Pop Project Radio - Global Edition": "http://bluford.torontocast.com:8085/stream", "Heart FM": "http://media-ice.musicradio.com/HeartLondonMP3", "Heart 80s": "https://media-ice.musicradio.com/Heart80sMP3", "Heart 90s": "https://media-ice.musicradio.com/Heart90sMP3", "Heart Dance": "https://icecast.thisisdax.com/HeartDanceMP3", "Heart 00s": "https://ice-sov.musicradio.com/Heart00sMP3", "Classical California KUSC": "http://playerservices.streamtheworld.com/api/livestream-redirect/KUSCMP32.mp3", "KEXP": "http://kexp-mp3-128.streamguys1.com/kexp128.mp3", "Sensimedia": " http://equinox.shoutca.st:9878/stream", "Rude FM": " http://sh-uk.audio-stream.com:8042/;", "WEFUNK": "http://s-00.wefunkradio.com:81/wefunk64.mp3", "Metal Rock": "http://listen.djcmedia.com/metalrockradiohigh", "Smooth Country": "https://media-ice.musicradio.com/SmoothCountryMP3", "Real Punk Radio": "http://s2.nexuscast.com:8080/stream", "World Music Radio": "http://stream.wlmm.dk:8010/wmrmp3", "Jazz FM": "http://46.10.150.243/jazz-fm-lounge.mp3" } }, "Parent Entitys": { "Parents Entitys": { "SirenLight1": { "prefab": "assets/prefabs/deployable/playerioents/lights/sirenlight/electric.sirenlight.deployed.prefab", "localPosition": "0.0, 10.38, 9", "rotation": "0, 0, 0" }, "cardtable": { "prefab": "assets/content/vehicles/trains/caboose/cardtable.caboose_static.prefab", "localPosition": "-5.3, 3.5, -7.0", "rotation": "0, 90, 0" }, "blackjackmachine": { "prefab": "assets/content/vehicles/trains/caboose/blackjackmachine/blackjackmachine.static.prefab", "localPosition": "5.8, 3.5, -11.0", "rotation": "0, 90, 0" }, "slotmachine": { "prefab": "assets/content/vehicles/trains/caboose/slotmachine.caboose_static.prefab", "localPosition": "5.0, 3.9, -8.9", "rotation": "0, -90, 0" }, "slotmachine1": { "prefab": "assets/content/vehicles/trains/caboose/slotmachine.caboose_static.prefab", "localPosition": "5.0, 3.9, -7.7", "rotation": "0, -90, 0" }, "slotmachine2": { "prefab": "assets/content/vehicles/trains/caboose/slotmachine.caboose_static.prefab", "localPosition": "5.0, 3.9, -1.0", "rotation": "0, -90, 0" }, "slotmachine3": { "prefab": "assets/content/vehicles/trains/caboose/slotmachine.caboose_static.prefab", "localPosition": "-5.0, 3.9, -0.3", "rotation": "0, 90, 0" }, "slotmachine4": { "prefab": "assets/content/vehicles/trains/caboose/slotmachine.caboose_static.prefab", "localPosition": "-5.0, 3.9, 0.8", "rotation": "0, 90, 0" }, "bigwheelbettingterminal1": { "prefab": "assets/prefabs/misc/casino/bigwheel/bigwheelbettingterminal.prefab", "localPosition": "1.4, 3.49, -4.69", "rotation": "0, 165, 0" }, "bigwheelbettingterminal2": { "prefab": "assets/prefabs/misc/casino/bigwheel/bigwheelbettingterminal.prefab", "localPosition": "1.9, 3.49, -6.5", "rotation": "0, -15, 0" }, "bigwheelbettingterminal3": { "prefab": "assets/prefabs/misc/casino/bigwheel/bigwheelbettingterminal.prefab", "localPosition": "1.4, 3.49, -4.15", "rotation": "0, 15, 0" }, "bigwheelbettingterminal4": { "prefab": "assets/prefabs/misc/casino/bigwheel/bigwheelbettingterminal.prefab", "localPosition": "1.9, 3.49, -2.25", "rotation": "0, 195, 0" }, "bigwheel": { "prefab": "assets/prefabs/misc/casino/bigwheel/big_wheel.prefab", "localPosition": "4.522, 5.1, -4.3", "rotation": "180, 0, 90" }, "sofa_pattern1": { "prefab": "assets/bundled/prefabs/static/sofa_pattern.static.prefab", "localPosition": "1.0, 3.49, -3.0", "rotation": "0, 105, 0" }, "sofa_pattern2": { "prefab": "assets/bundled/prefabs/static/sofa_pattern.static.prefab", "localPosition": "1.0, 3.49, -5.8", "rotation": "0, 75, 0" } } }, "Version": { "Major": 1, "Minor": 0, "Patch": 7 } }
-
Stash Warning System
Assists in finding ESPers that unearth stashes, it also allows admins to make placing bait stashes easy and simple, by automatically filling predefined items in random, and disables the ability for admins to accidentally unearth stashes whilst enabled. It will also automatically delete all contents of an admin stash when unearthed, which assists in admin abuse and/or exploitation of hackers.
Supports Auto Demo Recorder (ADR)
Supports Better Ban System
Supports Server Armour
Features:
Notifies to discord when stashes are found which doesn't belong to players (or clan if using the clan plugin) Records the number of stashes found in a certain, configurable timeframe. Sends discord notifications when the above happens Admins can place "server" stashes, and they will be auto-filled with the /stash command. When a player unearths said stash, the contents will be automatically removed. Stashes can also be autogenerated and placed automatically. And can be replaced as they are found in another random location. It auto bans based on condition. Example: If a player finds 5 stashes that don't belong to them within 1 hour, they are auto-banned with a preset reason. It works with ADR as well and can trigger demo recordings based on conditions It works with ServerArmour to handle bans, else native bans. Battlemetrics will soon be supported. Permissions:
stashwarningsystem.admin - allows admins to use the stash placement system.
Chat Commands:
/stash - Enables manual stash placement tool. Stashes cannot be unearthed when enabled and stashes will be automatically given.
/stashshow- Toggles On/Off - Will show admin the location of all plugin related stashes.
/stashdestroyall - This will destroy all server stashes create by, or with this plugin.
/genstashes- This will force generate all stashes that are missing.
/regenstashes- This will remove, and then replace all stashes from this plugin.
Config explanations:
"API: ADR reason"
The reason that will be given to ADR, and is sent to discord along with the recording.
"API: ADR recording length in mins"
How long the recording should be in minutes.
"API: ADR Trigger recording when stashes found/triggered more than"
When the recording should trigger, Example: If set to 1, the recording will trigger when the player has triggered/unearthed 2 stashes.
"Discord: Color"
Color for the embed message, see here https://gist.github.com/thomasbnt/b6f455e2c7d743b796917fa3c205f812
"Discord: Embed Title"
The title of the embed inside discord.
"Discord: Send Stash Toggle Msgs"
If notifications should be sent to discord when an admin toggles the stash command.
"Discord: Webhook Server Name"
The server where the notification is sent from, useful for when you have multiple servers.
"Discord: Webhook URL"
https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks
"SteamID for in-game chat icon."
This will be used to assign against placed stashes for tracking. Do not change this to a user on the server, leave as is if you don't have another steamid.
"Embed count buckets in hours"
This should be a string, comma-separated. This will be the bucket embeds in discord, to show the count of stashes found for the user, inside the hour brackets.
Example: 0, 24, 1 = would give you a count for all stashes, stashes in the last hour, and stashes in the last 24hours. See below
"Stash Items"
The items that you would like to be automatically filled when a stash is placed. The number would be the max quantity, this will be randomized when placing in a stash to remove predictability.
"Stash Item Slots To Fill: Max"
The maximum amount of slots to fill
"Stash Item Slots To Fill: Min"
The minimum amount of slots to fill
A random value will be chosen between the above two values.
"Auto Ban False Positive Distance"
Default: 5 - Stashes found in this distance will be considered false positives. (Useful where multiple stashes are unearthed in one spot.)
"Auto Ban False Positive - Include in count?"
If the above false positives should be counted in the triggers. This affects auto bans as well.
"Ignore Admins"
If admins should be ignored when unearthing stashes not belonging to them.
"Auto Ban Delay In Min"
Delays auto bans by X minutes.
"Delete found server stash after X seconds (0 = Disables)"
Will automatically delete server stashes that were found, after X seconds.