BlackPlugin- все для вашего сервера RUST

Привет, выживший! Ты зашел как гость, а значит, видишь лишь верхушку айсберга. Зарегистрируй бесплатный аккаунт сегодня, чтобы открыть полный доступ к библиотеке плагинов Rust Oxide, готовым конфигурациям и гайдам по оптимизации! После входа ты сможешь скачивать приватные дополнения, задавать вопросы разработчикам в темах и общаться с другими админами через личные сообщения. Твой идеальный сервер начинается здесь!

Этот плагин не имеет собственной функциональности, он является дополнительной зависимостью от плагинов, перечисленных ниже, для получения дополнительных преимуществ. Этот плагин используется только в качестве API для других плагинов. Создает настраиваемый режим PVE из совместимых событий и плагинов.
​
PVE_mode-640x360.jpg

Supported Plugins​


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
void EventAddTanks(string shortname, HashSet<uint> tanks)
Adds Bradley to the event if active in PVE mode

  • shortname – name of event
  • tanks – list of added Bradleys event to be added
HashSet<ulong> GetEventOwners(string shortname)
Returns a list of SteamID for all of the Event Owners during the operation of an event

  • shortname – name of event
ulong GetEventOwner(string shortname)
Returns the SteamID of the current Event Owner (if there is no Event Owner, it returns 0)

  • shortname – name of event
void SetEventOwner(string shortname, ulong owner)
Sets the current Event Owner

  • shortname – name of event
  • owner – SteamID of the player
  • Мне нравится
Реакции: gmsim
Автор
Black
Скачиваний
3
Просмотры
767
Первый выпуск
Обновление

Рейтинги

0,00 звёзд Оценок: 0

Ещё ресурсы от Black

Последние обновления

  1. 1.2.7

    1.2.7 добавлено новое API - GetScientistPlayerDamageMap 1.2.6 Добавлены дополнительные хуки...
  2. 1.2.1

    - Fixing the latest Rust update
  3. 1.1.5

    - Исправлена ошибка, из-за которой основное орудие танка не наносило урон игроку - Улучшено...
Назад
Верх