BlackSpigot
Pve Mode for Rust

Pve Mode Rust Plugin​

This plugin does not have its own functionality, it’s an optional dependency of the plugins listed below for added benefits This plugin is only used as an API for other plugins Creates a configurable PVE mode out of compatible events and plugins

Supported Plugins​

AirEvent
HarborEvent
WaterEvent
SatDishEvent
PowerPlantEvent
JunkyardEvent
DefendableBases
BossMonster
BetterNpc
Convoy

API​

void EventAddPveMode(string shortname, JObject configJson, Vector3 position, float radius, HashSet<uint> crates, HashSet<uint> scientists, HashSet<uint> tanks, HashSet<ulong> owners, BasePlayer owner) Creates a PVE event mode
shortname – name of event
configJson – PVE mode configuration (more details below in the description)
position – event position on the map
radius – radius of the event zone
crates – list of all event crates (including locked crates)
scientists – list of all NPCs active during event
tanks – list of all Bradley events
owners – list of all event owners (this parameter is necessary if you need to create an event zone several times)
owner – event owner (this parameter is required if you need to run an event with the owner)
void EventRemovePveMode(string shortname, bool addCooldownOwners) Removes PVE mode for the event
shortname – name of event
addCooldownOwners – should there be a cooldown for all event owners if this parameter is active in the PVE mode configuration? (this parameter is necessary if you need to create an event zone several times and issue a cooldown only in the last iteration)
void EventAddCrates(string shortname, HashSet<uint> crates) Adds crates to the event if active in PVE mode
shortname – name of event
crates – list of event crates to be added (including locked crates)
void EventAddScientists(string shortname, HashSet<uint> scientists) Adds NPCs to the event if active in PVE mode
shortname – name of event
scientists – list of added event NPCs to be added
shortname – name of event
Example:
Chat commands
Author
Wifi
Downloads
0
Views
1
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Wifi

Top