скрипт питон:
check_hooks.rar [13.76 Kb] (cкачиваний: 1)
==============================
ИНСТРУКЦИЯ ПО ИСПОЛЬЗОВАНИЮ check_hooks.py
==============================
1. Установка Python
-------------------
- Перейдите на официальный сайт: https://www.python.org/downloads/windows/
- Скачайте последнюю версию Python (например, Python 3.12.x).
- Запустите установщик и обязательно поставьте галочку "Add Python to PATH" (это важно!).
- Дождитесь окончания установки.
2. Проверка установки Python
---------------------------
- Откройте командную строку (Win+R → cmd → Enter).
- Введите:
python --version
или
py --version
- Если увидите версию Python — всё ок!
3. Сохранение скрипта
---------------------
- Откройте Блокнот или любой текстовый редактор.
- Вставьте туда код скрипта check_hooks.py (или скачайте готовый файл).
- Сохраните файл с расширением .py, например:
check_hooks.py
- Положите его, например, на рабочий стол или в папку с плагинами.
4. Запуск скрипта
-----------------
- Откройте командную строку (Win+R → cmd → Enter).
- Перейдите в папку, где лежит ваш скрипт:
cd C:\Users\Hasse\Downloads
или, если на рабочем столе:
cd C:\Users\Hasse\Desktop
- Запустите скрипт командой:
python check_hooks.py
или
py check_hooks.py
5. Смотрим результат
--------------------
- Скрипт выведет результат прямо в окне командной строки.
- После завершения анализа окно не закроется, пока не нажмёте Enter.
- Если появятся ошибки — скопируйте их и обратитесь за помощью.
6. Описание работы скрипта check_hooks.py
-----------------------------------------
- Скрипт ищет все .cs файлы в указанной папке и анализирует их.
- Показывает:
• Какие актуальные хуки используются в каждом плагине.
• Где используются устаревшие хуки (deprecated) — это потенциально опасные плагины.
• Ищет подозрительные паттерны: спавн объектов в (0,0,0), пиратскую защиту, вредоносные действия, массовые циклы, частые таймеры и т.д.
- В конце выводит отдельные списки:
• Плагины с устаревшими хуками (могут работать нестабильно)
• Плагины с подозрительным/вредоносным кодом (бекдоры, лаги, пиратская защита)
7. Как сделать exe-файл из скрипта
----------------------------------
- Установите pyinstaller:
pip install pyinstaller
- Перейдите в папку с вашим скриптом:
cd C:\Users\Hasse\Downloads
- Соберите exe-файл командой:
pyinstaller --onefile check_hooks.py
- В папке dist появится файл check_hooks.exe — его можно запускать двойным кликом.
- Окно не закроется, пока не нажмёте Enter.
8. Важно!
----------
- Если при установке Python или pip появляется предупреждение типа:
WARNING: The script httpx.exe is installed in 'C:\Users\Hasse\AppData\Roaming\Python\Python313\Scripts' which is not on PATH.
— Добавьте этот путь в переменную среды PATH (см. инструкцию выше).
9. Если не разбираетесь — используйте CursorAI или другой AI-помощник
---------------------------------------------------------------------
- Можно скопировать ошибки или список подозрительных плагинов и отправить AI для анализа.
- AI поможет объяснить, что не так с плагином, и как исправить.
10. Кратко на русском и английском
-----------------------------------
- Install Python from python.org (add to PATH!).
- Save script as .py file.
- Run in cmd: python check_hooks.py
- See results in terminal (window waits for Enter).
- Script finds all .cs files, shows used hooks, deprecated hooks, and suspicious code (backdoors, piracy protection, laggy code).
Все команды выполнять в командной строке или поверсшелл от имени администратора.
---
=======================================================================
1. Установка Python ставим галочку "Add Python to PATH" (это важно!).
https://www.python.org/downloads/windows/
При установке Python или pip появляется предупреждение:
WARNING: The script httpx.exe is installed in 'C:\Users\Hasse\AppData\Roaming\Python\Python313\Scripts' which is not on PATH.
Открой настройки переменных среды
Нажми Win + S (или Пуск) и введи:
переменные средЫ
Выбери:
"Изменить переменные среды для своей учетной записи"
Откроется окно "Переменные среды"
В верхней части окна найди раздел "Переменные среды пользователя".
Найди переменную с именем Path (или PATH).
Выдели её и нажми Изменить... (Edit...).
Добавь новый путь
В открывшемся окне нажми Создать (New).
Вставь скопированный путь:
C:\Users\Hasse\AppData\Roaming\Python\Python313\Scripts
Нажми ОК.Закрой все окна нажатием ОК
2. Скачать check_hooks.py и положить C:\Users\Hasse\Downloads
3. Закачать все плагины сервера раст в C:\Users\Hasse\Downloads
4. Открыть PowerShell в виндовс ввести cd C:\Users\Hasse\Downloads
5. Запустите скрипт командой:
python check_hooks.py
Вы увидите полный результат поиска по плагинам на ошибки и предупреждения
=================================================================
Тепеть можно скопировать весь текст поиска в окне скрипта и задать вопрос чату любому подходящему чату гпт или в приложении CursorAI на пк вида ; наши ошибки и предупреждения найденые и вопрос напиши какие потенциально проблемные плагины он вам даст вывод с список плагинов
Вот что мне написал в ответ курсор аи
Если хотите установить курсор аи на пк для помощи в исправления ощибок то вот инструкция
ЧТОБЫ ОБНОВИТЬ СКРИПТ ВСЕГДА НА АКТУАЛЬНУЮ ВЕРСИЮ ДОСТАТОЧНО ЕГО ОТПРАВИТЬ В КУРСОРЕ АИ И НАПИСАТЬ НУЖНО ОБНОВИТЬ ВСЕ ДО АКТУАЛЬНЫХ ХУКОВ Т Д И Т П)))
А теперь тоже самое только в простом плагине на сервер раст)))
Скачать PluginHookChecker.cs:
pluginhookchecker.rar [2.71 Kb] (cкачиваний: 1)
Вот подробное описание для твоего плагина PluginHookChecker:
PluginHookChecker
Автор: CursorAI
Версия: 1.0.0
Назначение:
Плагин для Oxide/uMod, который позволяет администраторам Rust-сервера быстро проверить все плагины (.cs файлы) на наличие:
используемых хуков (актуальных и устаревших)
подозрительных паттернов (массовые циклы, спавн в (0,0,0), пиратская защита, вредоносные проверки и т.д.)
Как работает
По команде checkplugins (только для админов) плагин:
Сканирует все .cs файлы в папке плагинов сервера.
Находит и выводит:
Все используемые хуки (Init, OnServerInitialized, OnEntityTakeDamage и т.д.)
Все устаревшие хуки (OnPlayerInit, OnPlayerInput, OnPlayerAttack и др.)
Подозрительные паттерны:
Спавн объектов в Vector3.zero
Массовые циклы по BasePlayer.activePlayerList
Проверки лицензии, ключей, дат
Частые таймеры
Вызовы CreateEntity при ошибках лицензии
Результаты выводятся в консоль сервера (или лог), а игроку-админу приходит уведомление о завершении проверки.
Для чего нужен
Для быстрого аудита всех плагинов на сервере.
Для выявления потенциально опасных, устаревших или вредоносных плагинов.
Для поиска причин лагов, спама объектов, нестабильной работы сервера.
Для подготовки к обновлению сервера или массовой чистке плагинов.
Как использовать
Скопируй файл PluginHookChecker.cs в папку oxide/plugins на сервере.
Перезагрузи сервер или выполни команду:
oxide.reload PluginHookChecker
В игре или консоли сервера (от имени админа) введи:
checkplugins
Смотри результаты в консоли сервера.
Примечания
Плагин не вносит изменений в другие плагины, только анализирует их содержимое.
Для больших серверов с большим количеством плагинов анализ может занять несколько секунд.
Можно расширять списки хуков и паттернов под свои задачи.
Вот пример что нашол скрипт
C:\Users\Hasse> python check_hooks.py
=== SCAN FOR CURRENT HOOKS ===
[+] Hooks found in: C:/Users/Hasse/Downloads\AAlertRaidEN.cs
Line 1060: private void Unload()
Line 1066: private void OnServerInitialized()
Line 1452: private void OnEntityDeath(BaseCombatEntity entity, HitInfo info)
[+] Hooks found in: C:/Users/Hasse/Downloads\AdminMap.cs
Line 66: void Init()
Line 79: void Unload()
Line 88: void OnServerInitialized(bool initial)
Line 97: OnPlayerConnected(player);
Line 100: void Loaded()
Line 113: void OnPlayerConnected(BasePlayer player)
Line 121: void OnPlayerDisconnected(BasePlayer player)
Line 128: void OnUserPermissionGranted(string userID, string permName)
Line 141: void OnUserPermissionRevoked(string userID, string permName)
Line 154: void OnUserGroupAdded(string userID, string groupName)
Line 164: void OnUserGroupRemoved(string userID, string groupName)
[+] Hooks found in: C:/Users/Hasse/Downloads\AdminRadar.cs
Line 69: public void Init()
Line 736: public void Init(AdminRadar instance)
Line 3459: radar.Init(this);
Line 3596: private void Init()
Line 3614: private void Unload()
Line 3632: private void OnServerInitialized()
Line 3680: private void OnPlayerRespawned(BasePlayer player)
Line 3698: private void OnPlayerSleepEnded(BasePlayer player)
Line 3799: private void OnEntitySpawned(BaseEntity entity)
Line 3804: private void OnEntityDeath(BaseEntity entity, HitInfo info)
Line 3812: private void OnEntityKill(BaseEntity entity)
Line 4228: data.Init();
[+] Hooks found in: C:/Users/Hasse/Downloads\AimTrain (1).cs
Line 47: private void Init()
Line 111: private void OnPlayerAttack( BasePlayer attacker, HitInfo info )
Line 156: private object OnPlayerCommand( BasePlayer player, string command, string[] args )
Line 182: private void OnPlayerDisconnected( BasePlayer player, string reason )
Line 235: private void OnServerSave()
Line 240: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\AirdropSettings.cs
Line 127: private void Init()
Line 132: private void Unload()
Line 192: private void OnEntitySpawned(SupplyDrop supplyDrop)
[+] Hooks found in: C:/Users/Hasse/Downloads\AntiRaid.cs
Line 41: private void Init() => permission.RegisterPermission("antiraid.use", this);
Line 42: object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
Line 96: object OnEntityDeath(BaseCombatEntity entity, HitInfo info)
Line 129: object OnEntityKill(BaseNetworkable entity)
[+] Hooks found in: C:/Users/Hasse/Downloads\ArenaTournament.cs
Line 194: private void Init()
Line 202: private void OnServerInitialized()
Line 709: private object OnPlayerWound(BasePlayer player, HitInfo info)
Line 731: private void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo hitInfo)
Line 784: private void OnPlayerConnected(BasePlayer player)
Line 789: private void OnPlayerDisconnected(BasePlayer player, string reason)
Line 809: private void OnPlayerRespawned(BasePlayer player)
Line 849: private void Unload()
Line 2423: private object OnServerCommand(ConsoleSystem.Arg arg)
[+] Hooks found in: C:/Users/Hasse/Downloads\AutoDoors.cs
Line 29: private void Init()
Line 44: private void OnServerInitialized()
Line 53: OnEntitySpawned(doorManipulator);
Line 58: private void OnEntitySpawned(DoorManipulator doorManipulator)
Line 64: private void OnEntityKill(DoorManipulator doorManipulator)
Line 70: private void OnEntityKill(Door door)
Line 86: private void OnServerSave() => timer.Once(UnityEngine.Random.Range(0f, 60f), SaveData);
Line 88: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\AutomaticAuthorization.cs
Line 60: private void Init()
Line 91: private void OnServerInitialized()
Line 115: private void OnServerSave()
Line 120: private void Unload()
Line 129: private void OnEntitySpawned(AutoTurret autoTurret)
Line 134: private void OnEntitySpawned(BuildingPrivlidge buildingPrivlidge)
Line 139: private void OnEntitySpawned(CodeLock codeLock)
Line 144: private void OnEntityKill(AutoTurret autoTurret)
Line 149: private void OnEntityKill(BuildingPrivlidge buildingPrivlidge)
Line 154: private void OnEntityKill(CodeLock codeLock)
[+] Hooks found in: C:/Users/Hasse/Downloads\Backpacks.cs
Line 96: private void Init()
Line 107: _config.Init(this);
Line 115: _capacityManager.Init(_config, _capacityData);
Line 132: private void OnServerInitialized()
Line 156: private void Unload()
Line 262: private void OnServerSave()
Line 285: private void OnPlayerDisconnected(BasePlayer player)
Line 292: private void OnEntityDeath(BasePlayer player, HitInfo info) =>
Line 293: OnEntityKill(player);
Line 296: private void OnEntityKill(BasePlayer player)
Line 330: private void OnGroupPermissionGranted(string groupName, string perm)
Line 361: private void OnGroupPermissionRevoked(string groupName, string perm)
Line 363: OnGroupPermissionGranted(groupName, perm);
Line 366: private void OnUserPermissionGranted(string userId, string perm)
Line 397: private void OnUserPermissionRevoked(string userId, string perm)
Line 399: OnUserPermissionGranted(userId, perm);
Line 402: private void OnUserGroupAdded(string userId, string groupName)
Line 407: private void OnUserGroupRemoved(string userId, string groupName)
Line 413: private void OnPlayerConnected(BasePlayer player) => MaybeCreateButtonUi(player);
Line 415: private void OnPlayerRespawned(BasePlayer player)
Line 426: private void OnPlayerSleepEnded(BasePlayer player) => OnPlayerRespawned(player);
Line 426: private void OnPlayerSleepEnded(BasePlayer player) => OnPlayerRespawned(player);
Line 429: private void OnPlayerSleep(BasePlayer player) => DestroyButtonUi(player);
Line 1471: _reusableEffect.Init(Effect.Type.Generic, player, 0, Vector3.zero, Vector3.forward);
Line 3979: public void Init(Configuration config, CapacityData capacityData)
Line 8425: public void Init(Backpacks plugin)
Line 8578: public void Init(Backpacks plugin)
Line 8587: DefaultRuleset.Init(plugin);
Line 8591: ruleset.Init(plugin);
Line 8670: public void Init(Backpacks plugin)
Line 8679: DefaultRuleset.Init(plugin);
Line 8683: ruleset.Init(plugin);
Line 8747: public void Init(Backpacks plugin)
Line 8799: public void Init(Backpacks plugin)
Line 8807: capacityRuleset.Init(plugin);
Line 8967: public void Init(Backpacks plugin)
Line 8969: BackpackSize.DynamicSize.Init(plugin);
Line 8970: ItemRestrictions.Init(plugin);
Line 8971: ClearOnWipe.Init(plugin);
[+] Hooks found in: C:/Users/Hasse/Downloads\Basements.cs
Line 42: void Init()
Line 70: void OnServerInitialized()
Line 91: void Unload()
Line 110: void OnServerSave()
Line 1949: void OnLootEntity(BasePlayer basePlayer, BaseEntity entity)
Line 2118: object OnEntityKill(BaseEntity entity)
Line 2213: void OnEntityDeath(BaseCombatEntity entity, HitInfo info)
Line 2245: object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
Line 2505: void OnEntitySpawned(BaseNetworkable entity)
Line 2714: object OnPlayerViolation(BasePlayer player, AntiHackType type)
[+] Hooks found in: C:/Users/Hasse/Downloads\BetterTC.cs
Line 114: private void OnServerInitialized(){
Line 165: private void Unload(){
Line 199: private void OnLootEntity(BasePlayer player, BuildingPrivlidge cup){
[+] Hooks found in: C:/Users/Hasse/Downloads\BuildingGrades.cs
Line 47: private void Init()
Line 94: private void OnServerInitialized()
Line 112: private void Unload()
Line 114: _assistant.Unload();
Line 425: internal void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\BuildingWorkbench.cs
Line 43: private void Init()
Line 79: private void OnServerInitialized()
Line 94: OnPlayerConnected(player);
Line 103: private void OnPlayerConnected(BasePlayer player)
Line 109: private void OnPlayerDisconnected(BasePlayer player, string reason)
Line 126: private void Unload()
Line 130: OnPlayerDisconnected(player, null);
Line 288: private void OnEntitySpawned(Workbench bench)
Line 331: private void OnEntityKill(Workbench bench)
Line 338: private void OnEntityKill(BuildingPrivlidge tc)
[+] Hooks found in: C:/Users/Hasse/Downloads\BuoyantHelicopters.cs
Line 63: private void Init()
Line 69: private void OnServerInitialized()
Line 71: _vehicleInfoManager.OnServerInitialized();
Line 88: private void Unload()
Line 97: private void OnServerSave()
Line 102: private void OnEntitySpawned(BaseHelicopter vehicle)
Line 139: private void OnGroupPermissionGranted(string groupName, string perm) => HandlePermissionchange(perm);
Line 140: private void OnGroupPermissionRevoked(string groupName, string perm) => HandlePermissionchange(perm);
Line 141: private void OnUserPermissionGranted(string userId, string perm) => HandlePermissionchange(perm);
Line 142: private void OnUserPermissionRevoked(string userId, string perm) => HandlePermissionchange(perm);
Line 417: void OnServerInitialized(BuoyantHelicopters plugin);
Line 436: public void OnServerInitialized(BuoyantHelicopters plugin)
Line 501: public void OnServerInitialized()
Line 539: vehicleInfo.OnServerInitialized(_plugin);
[+] Hooks found in: C:/Users/Hasse/Downloads\CarTurrets.cs
Line 60: private void Init()
Line 128: private void Unload()
Line 133: private void OnServerInitialized()
Line 173: private void OnEntitySpawned(ModularCar car)
Line 401: private void OnEntityKill(BaseVehicleModule vehicleModule)
Line 442: private void OnEntityKill(AutoTurret turret)
[+] Hooks found in: C:/Users/Hasse/Downloads\Clans.cs
Line 871: public void Init()
Line 2453: _instance?.OnPlayerConnected(player);
Line 3181: private void Init()
Line 3195: _config.Loot.Init();
Line 3208: private void OnServerInitialized()
Line 3234: private void OnServerSave()
Line 3243: private void Unload()
Line 3351: private void OnPlayerConnected(BasePlayer player)
Line 3441: private void OnPlayerDisconnected(BasePlayer player)
Line 3575: private void OnLootEntity(BasePlayer player, LootContainer lootContainer)
Line 3606: private void OnItemPickup(Item item, BasePlayer player)
Line 3626: private void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
Line 3717: private void OnLootEntity(BasePlayer player, BaseEntity entity)
Line 3731: private void OnEntityDeath(BaseCombatEntity entity, HitInfo info)
Line 3849: private void OnItemCraftFinished(ItemCraftTask task, Item item, ItemCrafter crafter)
Line 4186: private object OnPlayerChat(BasePlayer player, string message, Chat.ChatChannel channel)
Line 13462: OnPlayerConnected(player);
Line 16444: Unload(userId);
Line 16447: public static void Unload(string userId)
[+] Hooks found in: C:/Users/Hasse/Downloads\CopyPaste.cs
Line 239: private void Init()
Line 266: private void OnServerInitialized()
Line 2771: ioOutput.connectedTo.Init();
Line 2776: ioInput.connectedTo.Init();
[+] Hooks found in: C:/Users/Hasse/Downloads\CraftSystem.cs
Line 198: void OnServerInitialized()
Line 206: void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\CustomItemDefinitions.cs
Line 86: void Init()
Line 113: private void Loaded()
Line 118: private void Unload()
Line 174: object OnItemCraft(IndustrialCrafter crafter, ItemBlueprint blueprint)
[+] Hooks found in: C:/Users/Hasse/Downloads\CustomizableProtection.cs
Line 47: public static void Init(string name)
Line 100: private void Init()
Line 138: void Loaded()
Line 140: Harmony.Init(this.Name);
Line 144: private void OnServerInitialized()
Line 154: void Unload()
Line 164: private void OnUserPermissionGranted(string playerId, string perm)
Line 173: private void OnUserPermissionRevoked(string playerId, string perm)
Line 182: private void OnGroupPermissionGranted(string groupName, string perm)
Line 188: private void OnGroupPermissionRevoked(string groupName, string perm)
Line 194: private void OnPlayerSleepEnded(BasePlayer player) => UpdatePlayerProtection(player);
Line 196: void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
Line 293: private void OnPlayerLootEnd(PlayerLoot playerLoot)
Line 304: void OnLootEntity(BasePlayer player, BaseEntity entity)
Line 316: private void OnPlayerRespawned(BasePlayer player) => AddUiIcon(player);
Line 317: private void OnPlayerConnected(BasePlayer player) => AddUiIcon(player);
Line 481: public static void Init(string language)
Line 552: Translator15.Init(language);
[+] Hooks found in: C:/Users/Hasse/Downloads\CustomTurretLimits.cs
Line 25: void Init()
Line 35: void OnServerInitialized()
Line 66: void OnPlayerDisconnected(BasePlayer player)
[+] Hooks found in: C:/Users/Hasse/Downloads\DailyRewards.cs
Line 3038: Unload(userId);
Line 3041: public static void Unload(ulong userId)
Line 3126: private void Init()
Line 3131: private void OnServerInitialized()
Line 3153: private void Unload()
Line 3177: private void OnPlayerConnected(BasePlayer player)
Line 3240: private void OnPlayerDisconnected(BasePlayer player)
Line 9820: OnPlayerConnected(player);
Line 10191: OnPlayerConnected(player);
[+] Hooks found in: C:/Users/Hasse/Downloads\DeathMessages.cs
Line 796: private void OnServerInitialized()
Line 804: private void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
Line 812: private void OnEntityDeath(BaseCombatEntity victim, HitInfo info)
Line 868: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\EclipseManager.cs
Line 345: void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\EndlessCargo.cs
Line 92: private void OnServerInitialized()
Line 111: private void OnEntitySpawned(CargoShip ship)
[+] Hooks found in: C:/Users/Hasse/Downloads\ExtendedRecycler.cs
Line 244: private void OnServerInitialized()
Line 261: private void Unload()
Line 279: private void OnServerSave() => SaveData();
[+] Hooks found in: C:/Users/Hasse/Downloads\FastMenu.cs
Line 16: private void OnServerInitialized(){if (ImageLibrary == null)return;ImageLibrary.Call("AddImage", configData.uimage, "logotp");}
Line 278: void Unload()
Line 320: void Init()
Line 324: {public Hash<ulong, bool> MiddleMouseButtonEnable = new Hash<ulong, bool>();} void OnPlayerConnected(BasePlayer player) { if (!_storedData.MiddleMouseButtonEnable.ContainsKey(player.userID)) { _storedData.MiddleMouseButtonEnable[player.userID] = true;}}
Line 328: void OnPlayerInput(BasePlayer player, InputState input)
Line 333: private void OnServerSave()
[+] Hooks found in: C:/Users/Hasse/Downloads\FauxAdmin.cs
Line 38: private void Loaded()
Line 61: private void OnServerInitialized()
Line 288: private void OnPlayerConnected(BasePlayer player)
Line 320: private void OnUserPermissionGranted(string id, string permName)
Line 333: private void OnUserPermissionRevoked(string id, string permName)
Line 346: private object OnPlayerViolation(BasePlayer player, AntiHackType type, float amount)
Line 360: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\GameMenu.cs
Line 124: private void Init()
Line 312: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\GatherManager.cs
Line 114: private void Init() => LoadConfigValues();
Line 116: private void OnServerInitialized()
Line 147: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\Give.cs
Line 175: private void Init()
[+] Hooks found in: C:/Users/Hasse/Downloads\HealthRegen.cs
Line 83: private void OnServerInitialized()
Line 89: private void OnPlayerConnected(BasePlayer player)
[+] Hooks found in: C:/Users/Hasse/Downloads\HelicopterInstantTakeoff.cs
Line 11: void Init()
[+] Hooks found in: C:/Users/Hasse/Downloads\HumanNPC.cs
Line 1830: private void Init()
Line 1922: private void Unload()
Line 1979: /// OnServerInitialized()
Line 1982: private void OnServerInitialized()
Line 2025: /// OnServerSave()
Line 2028: private void OnServerSave() => SaveData();
Line 2033: /// OnPlayerInput(BasePlayer player, InputState input)
Line 2038: private void OnPlayerInput(BasePlayer player, InputState input)
Line 2125: /// OnEntityTakeDamage(BaseCombatEntity entity, HitInfo hitinfo)
Line 2128: private void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo hitinfo)
Line 2151: Interface.Oxide.LogInfo($"OnEntityTakeDamage(by {entity.name})");
Line 2190: /// OnEntityDeath(BaseEntity entity, HitInfo hitinfo)
Line 2204: private void OnEntityDeath(BaseEntity entity, HitInfo hitinfo)
Line 2287: private void OnLootPlayer(BasePlayer looter, BasePlayer target)
Line 2293: private void OnLootEntity(BasePlayer looter, BaseEntity entity)
Line 3384: OnServerInitialized();
[+] Hooks found in: C:/Users/Hasse/Downloads\ImageLibrary.cs
Line 48: private void Loaded()
Line 59: private void OnServerInitialized()
Line 75: OnPlayerConnected(player);
Line 78: private void OnPlayerConnected(BasePlayer player) => GetPlayerAvatar(player?.UserIDString);
Line 80: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\InfoPanel.cs
Line 460: private void OnServerInitialized()
Line 492: private void Unload()
Line 503: private void OnEntitySpawned(BaseEntity entity)
Line 508: private void OnEntityKill(BaseEntity entity)
Line 515: private void OnPlayerConnected(BasePlayer player)
Line 525: private void OnPlayerSleepEnded(BasePlayer player)
Line 539: private void OnPlayerDisconnected(BasePlayer player, string reason)
Line 1093: OnEntitySpawned(entity as BaseEntity);
[+] Hooks found in: C:/Users/Hasse/Downloads\InstantCraft.cs
Line 23: private void Init()
Line 28: _config.Init(this);
Line 47: private object OnItemCraft(ItemCraftTask task, BasePlayer owner)
Line 302: public void Init(InstantCraft plugin)
[+] Hooks found in: C:/Users/Hasse/Downloads\IQChat.cs
Line 1776: private Object OnPlayerChat(BasePlayer player, String message, Chat.ChatChannel channel)
Line 1803: private object OnServerMessage(String message, String name)
Line 1810: void OnPlayerCommand(BasePlayer player, string command, string[] args)
Line 1818: void OnUserPermissionGranted(string id, string permName) => SetupParametres(id, permName);
Line 1819: void OnUserPermissionRevoked(string id, string permName) => RemoveParametres(id, permName);
Line 1821: void OnUserGroupAdded(string id, string groupName)
Line 1829: void OnUserGroupRemoved(string id, string groupName)
Line 1841: void OnGroupPermissionGranted(string name, string perm)
Line 1855: void OnGroupPermissionRevoked(string name, string perm)
Line 1878: void Init()
Line 1882: private void OnServerInitialized()
Line 1956: void OnPlayerConnected(BasePlayer player)
Line 1962: void Unload()
Line 1984: void OnPlayerDisconnected(BasePlayer player, string reason) => AlertDisconnected(player, reason);
[+] Hooks found in: C:/Users/Hasse/Downloads\IQFakeActive.cs
Line 732: private void OnServerInitialized()
Line 1356: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\IQGuardianDrone.cs
Line 1228: private void Init()
Line 1339: private void OnServerInitialized()
Line 1374: OnPlayerConnected(player);
Line 1382: private void OnPlayerConnected(BasePlayer player)
Line 1409: void OnPlayerDisconnected(BasePlayer player, string reason)
Line 1422: void OnPlayerRespawned(BasePlayer player)
Line 1507: private void Unload()
Line 1617: Unload();
Line 1620: private void OnServerSave() => WriteData();
Line 1702: void OnEntityKill(Drone drone)
Line 1708: void OnEntityKill(AutoTurret turret)
Line 1718: void OnEntityKill(RFBroadcaster rfBroadcaster)
Line 1725: void OnEntityKill(WeaponRack weaponRack)
Line 1732: void OnEntityKill(FlasherLight flasher)
Line 1739: private Object OnEntityTakeDamage(BasePlayer player, HitInfo hitInfo)
Line 1798: private object OnEntityTakeDamage(AutoTurret turret, HitInfo hitInfo)
Line 1830: private object OnEntityTakeDamage(Drone drone, HitInfo hitInfo) // New logic
[+] Hooks found in: C:/Users/Hasse/Downloads\IQPermissions.cs
Line 338: private void OnServerInitialized()
Line 385: private void Unload()
Line 418: private void OnUserGroupRemoved(String id, String groupName) =>
Line 1210: private void OnUserPermissionRevoked(String id, String permName) =>
Line 1755: private void OnPlayerConnected(BasePlayer player)
Line 2213: private void Init()
[+] Hooks found in: C:/Users/Hasse/Downloads\IQSorter.cs
Line 126: private void Unload()
Line 146: void OnPlayerLootEnd(PlayerLoot inventory)
Line 328: private void OnServerInitialized()
Line 357: private void Init()
Line 818: void OnLootEntity(BasePlayer player, BaseEntity entity)
[+] Hooks found in: C:/Users/Hasse/Downloads\JetPack.cs
Line 43: void Init()
Line 48: void OnServerInitialized()
Line 60: void Unload()
Line 126: void OnPlayerKicked(BasePlayer player, string reason)
Line 178: object OnPlayerCommand(BasePlayer player, string command, string[] args)
Line 197: void OnEntitySpawned(SupplyDrop supplyDrop)
Line 596: jetpackComponent.Init(player, movableDroppedItem);
Line 601: void Init(BasePlayer player, MovableDroppedItem movableDroppedItem)
Line 1089: seekerTargetComponent.Init(movableDroppedItem);
Line 1093: void Init(MovableDroppedItem movableDroppedItem)
[+] Hooks found in: C:/Users/Hasse/Downloads\Kits.cs
Line 34: private void Loaded()
Line 49: private void OnServerInitialized()
Line 67: private void OnServerSave() => SavePlayerData();
Line 69: private void OnPlayerRespawned(BasePlayer player)
Line 106: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\MagicLoot.cs
Line 236: private void OnServerInitialized()
Line 292: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\MagicTree.cs
Line 226: void OnEntityKill(TreeEntity entity)
Line 237: void OnServerSave()
Line 242: void Loaded()
Line 251: private void OnServerInitialized()
Line 286: treeObject.AddComponent<TreeConponent>().Init(WoodsList[playerid][tree.net.ID.Value], tree);
Line 295: treeObject.AddComponent<TreeConponent>().Init(WoodsList[playerid][tree.net.ID.Value], tree);
Line 483: void Unload()
Line 515: treeObject.AddComponent<TreeConponent>().Init(WoodsList[player][Wood.net.ID.Value], Wood);
Line 533: treeObject.AddComponent<TreeConponent>().Init(WoodsList[player][Wood.net.ID.Value], Wood);
Line 677: public void Init(Wood wood, BaseEntity entity)
[+] Hooks found in: C:/Users/Hasse/Downloads\MapNoteTeleport.cs
Line 20: private void Init()
Line 31: private void OnServerInitialized()
Line 40: private void OnServerSave() => timer.Once(UnityEngine.Random.Range(0f, 60f), SaveData);
Line 42: private void Unload()
Line 422: private object OnEntityTakeDamage(BasePlayer player, HitInfo info)
[+] Hooks found in: C:/Users/Hasse/Downloads\MinicopterCombat.cs
Line 291: void OnServerInitialized()
Line 302: void Unload()
Line 329: void OnEntitySpawned(BaseNetworkable entity)
Line 1731: reusableInstance.Init(Effect.Type.Generic, baseEntity, 0, posModifier * 2, new Vector3(), null);
[+] Hooks found in: C:/Users/Hasse/Downloads\MinigunReloadAnywhere.cs
Line 102: private void Init()
Line 108: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\MLRSDamage.cs
Line 83: private void Unload()
Line 98: private void Loaded()
Line 114: private void OnEntitySpawned(BaseEntity entity)
Line 126: private object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
[+] Hooks found in: C:/Users/Hasse/Downloads\NavMeshErrorFix.cs
Line 35: private void Init()
Line 52: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\NoBuildLimits.cs
Line 11: void Init()
[+] Hooks found in: C:/Users/Hasse/Downloads\NoGiveNotices.cs
Line 7: private object OnServerMessage(string message, string name)
[+] Hooks found in: C:/Users/Hasse/Downloads\NoWorkbench.cs
Line 14: private void OnServerInitialized()
Line 23: OnPlayerConnected(player);
Line 26: private void OnPlayerConnected(BasePlayer player)
Line 30: timer.In(3, () => OnPlayerConnected(player));
Line 56: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\NpcSpawn.cs
Line 1885: Senses.Init(Npc, this, MemoryDuration, SenseRange, TargetLostRange, VisionCone, CheckVisionCone, CheckLOS, IgnoreNonVisionSneakers, ListenRange, HostileTargetsOnly, false, IgnoreSafeZonePlayers, SenseTypes, RefreshKnownLOS);
Line 1890: ((HumanPathFinder)PathFinder).Init(Npc);
Line 2332: private void Init() => _ins = this;
Line 2334: private void OnServerInitialized()
Line 2342: private void Unload()
Line 2349: private void OnEntityKill(CustomScientistNpc npc)
Line 2378: private object OnEntityTakeDamage(BaseCombatEntity victim, HitInfo info)
[+] Hooks found in: C:/Users/Hasse/Downloads\PathFinding.cs
Line 430: private void Init()
Line 440: private void OnServerInitialized()
Line 448: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\PersonalNPC.cs
Line 999: controller.OnPlayerInput(player, null);
Line 1034: private void Init()
Line 1054: private object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
Line 1228: private void OnPlayerDisconnected(BasePlayer player) => _pendingSpawnBots.Remove(player.userID.Get());
Line 1230: private void OnPlayerRespawned(BasePlayer player)
Line 1232: if(_pendingSpawnBots.Contains(player.userID.Get())) OnPlayerConnected(player);
Line 1235: private void OnPlayerConnected(BasePlayer player)
Line 1330: private void Unload()
Line 1589: private void OnServerInitialized()
Line 1629: private void Loaded()
Line 1717: private void OnLootEntity(BasePlayer player, BaseEntity entity)
Line 3930: OnPlayerInput(owner, owner.serverInput);
Line 3969: public void OnPlayerInput(BasePlayer player, InputState input)
[+] Hooks found in: C:/Users/Hasse/Downloads\PortableRecycler.cs
Line 186: void OnServerInitialized()
Line 194: void Unload()
Line 276: void OnEntityDeath(BaseCombatEntity entity, HitInfo info)
Line 283: void OnEntityKill(BaseNetworkable entity)
[+] Hooks found in: C:/Users/Hasse/Downloads\Portals.cs
Line 24: private void OnServerInitialized()
Line 42: private void Unload()
Line 51: private void OnPlayerDisconnected(BasePlayer player, string reason) =>
[+] Hooks found in: C:/Users/Hasse/Downloads\ProximityAlert.cs
Line 23: private void OnServerInitialized()
Line 31: OnPlayerConnected(player);
Line 34: private void Unload()
Line 45: private void OnPlayerConnected(BasePlayer player)
Line 50: timer.In(2, () => OnPlayerConnected(player));
Line 60: private void OnPlayerDisconnected(BasePlayer player)
Line 68: private void OnEntityDeath(BasePlayer victim, HitInfo info) => HandleVictim(victim, info);
Line 98: private void OnPlayerSleepEnded(BasePlayer player)
[+] Hooks found in: C:/Users/Hasse/Downloads\QuickSmelt.cs
Line 141: private void Unload()
Line 164: private void OnServerInitialized()
Line 176: OnEntitySpawned(oven);
Line 199: private void OnEntitySpawned(BaseNetworkable entity)
[+] Hooks found in: C:/Users/Hasse/Downloads\RaidableBases.cs
Line 1778: public void Init(RaidableBase raid)
Line 3053: Senses.Init(
Line 3240: public void Init()
Line 3343: navigator.Init(owner, navigator.Agent);
Line 6802: public void Init(RandomBase rb, List<BaseEntity> entities = null)
Line 6856: Elevators.Values.ForEach(bmg => bmg.Init(this));
Line 11416: brain.Init();
Line 12730: private void Init()
Line 12765: private void Unload()
Line 12780: private void OnServerInitialized(bool isStartup)
Line 13220: private void OnPlayerSleepEnded(BasePlayer player)
Line 13417: private object OnPlayerCommand(BasePlayer player, string command, string[] args)
Line 13433: private object OnServerCommand(ConsoleSystem.Arg arg)
Line 13435: return OnPlayerCommand(arg.Player(), arg.cmd.FullName, arg.Args);
Line 13448: private void OnEntityDeath(BuildingPrivlidge priv, HitInfo info)
Line 13478: private void OnEntityKill(StorageContainer container)
Line 13482: OnEntityDeath(priv, null);
Line 13490: private void OnEntityDeath(StorageContainer container, HitInfo info) => EntityHandler(container, info);
Line 13492: //private void OnEntityKill(BuildingBlock block) => OnEntityDeath(block, new HitInfo(block.lastAttacker, block, DamageType.Explosion, 9999f)); // ent kill testing
Line 13492: //private void OnEntityKill(BuildingBlock block) => OnEntityDeath(block, new HitInfo(block.lastAttacker, block, DamageType.Explosion, 9999f)); // ent kill testing
Line 13494: private void OnEntityDeath(StabilityEntity entity, HitInfo info)
Line 13533: //private void OnEntityKill(IOEntity io) => OnEntityDeath(io, null);
Line 13533: //private void OnEntityKill(IOEntity io) => OnEntityDeath(io, null);
Line 13535: private void OnEntityDeath(IOEntity io, HitInfo info)
Line 13724: private void OnEntitySpawned(TimedExplosive te)
Line 13770: private void OnEntitySpawned(BeeSwarmMaster swarm)
Line 13777: private void OnEntitySpawned(BeeSwarmAI ai)
Line 13786: private void OnEntitySpawned(FireBall fire)
Line 13810: private void OnEntitySpawned(DroppedItemContainer backpack)
Line 13845: private void OnEntitySpawned(BaseLock entity)
Line 13857: private void OnEntitySpawned(PlayerCorpse corpse)
Line 14468: private void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info) => CanEntityTakeDamage(entity, info);
Line 16211: raid.Init(rb);
Line 21267: ? config.Settings.Buyable.Wipe.TryAdd(mode, BuyableWipeTime.Init($"raidablebases.buyraid.{lower}wipetime"))
Line 21940: public static List<WipeInfo> Init(string value) => new() { new(value, 0), new("default", 0) };
Line 21948: modes.ForEach(mode => Set(mode, Init($"raidablebases.buyraid.{(en ? mode.ToLower() : mode).Replace(" ", "")}wipetime")));
[+] Hooks found in: C:/Users/Hasse/Downloads\RaidMarkers.cs
Line 49: private void Init() => permission.RegisterPermission(permAllow, this);
Line 51: private void Unload() => ClearRaidMarkers();
Line 53: private void OnEntityDeath(BaseCombatEntity entity, HitInfo info)
[+] Hooks found in: C:/Users/Hasse/Downloads\RecycleManager.cs
Line 69: private void Init()
Line 71: _config.Init(this);
Line 72: _recyclerComponentManager.Init(this);
Line 87: private void OnServerInitialized()
Line 105: OnLootEntity(player, recycler);
Line 110: private void Unload()
Line 116: _recyclerComponentManager.Unload();
Line 117: _recycleEditManager.Unload();
Line 206: private void OnLootEntity(BasePlayer player, Recycler recycler)
Line 576: ingredientInfo.Init();
Line 597: ingredientInfo.Init();
Line 1622: ingredientInfo.Init();
Line 2194: public void Unload()
Line 2353: public void Init(RecycleManager plugin)
Line 2358: public void Unload()
Line 2424: public void Init(RecycleManager plugin)
Line 2479: public void Init(RecycleManager plugin)
Line 2485: speedProfile.Init(plugin);
Line 2565: public void Init()
Line 2610: public void Init()
Line 2655: public void Init()
Line 2699: public void Init()
Line 2797: public void Init()
Line 2813: ingredientInfo.Init();
Line 2823: ingredientInfo.Init();
Line 2831: ingredientInfo.Init();
Line 2993: public void Init(RecycleManager plugin)
Line 2995: Speed.Init(plugin);
Line 2996: RestrictedInputItems.Init();
Line 2997: MaxItemsPerRecycle.Init();
Line 2998: OutputMultipliers.Init();
Line 2999: OverrideOutput.Init();
Line 3330: _plugin._recycleComponentManager.Unload();
Line 3332: _plugin.Init();
Line 3333: _plugin.OnServerInitialized();
[+] Hooks found in: C:/Users/Hasse/Downloads\RemoverTool.cs
Line 91: private void Init()
Line 120: private void OnServerInitialized()
Line 201: private void Unload()
Line 232: private void OnServerSave()
Line 256: private void OnEntitySpawned(BaseEntity entity)
Line 266: private void OnEntityKill(BaseEntity entity)
Line 275: private object OnPlayerAttack(BasePlayer player, HitInfo info)
Line 1056: public void Init(RemoveType removeType, int removeTime, int maxRemovable, float distance, float removeInterval, bool shouldPay, bool shouldRefund, bool resetTime, bool canOverride)
Line 2898: toolRemover.Init(removeType, time, maxRemovable, distance, interval, pay, refund, resetTime, true);
Line 3016: targetRemover.Init(removeType, time, maxRemovable, _configData.removeType[removeType].distance, permissionS.removeInterval, permissionS.pay, permissionS.refund, permissionS.resetTime, false);
[+] Hooks found in: C:/Users/Hasse/Downloads\RemoveTrash.cs
Line 159: private void OnServerInitialized()
Line 909: void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\RenameName.cs
Line 48: void OnServerInitialized()
Line 66: void Unload()
Line 71: void OnServerSave()
[+] Hooks found in: C:/Users/Hasse/Downloads\SentryTurrets.cs
Line 47: private void Init()
Line 57: private void OnServerInitialized()
Line 62: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\ServerPanel.cs
Line 3440: private void Init()
Line 3448: private void OnServerInitialized()
Line 3463: private void Unload()
Line 3509: private void OnPlayerConnected(BasePlayer player)
Line 3519: private void OnPlayerDisconnected(BasePlayer player)
[+] Hooks found in: C:/Users/Hasse/Downloads\ServerPanelAvatars.cs
Line 30: private void OnServerInitialized()
Line 35: private void OnPlayerConnected(BasePlayer player)
[+] Hooks found in: C:/Users/Hasse/Downloads\ServerPanelPopUps.cs
Line 2335: private void Init()
Line 2340: private void OnServerInitialized()
Line 2353: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\SignArtist.cs
Line 857: private void Init()
Line 971: private void OnServerInitialized()
Line 987: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\SimpleBotSpawner.cs
Line 28: void OnPlayerRespawned(BasePlayer player)
Line 33: void Unload()
Line 216: object OnEntityTakeDamage(NPCPlayer npc, HitInfo info)
[+] Hooks found in: C:/Users/Hasse/Downloads\SimpleSymmetry.cs
Line 1203: private void Init()
Line 1233: void Unload()
Line 1238: object OnEntityKill(BuildingPrivlidge entity)
Line 1279: void OnPlayerConnected(BasePlayer player)
Line 1287: void OnServerInitialized(bool initial)
[+] Hooks found in: C:/Users/Hasse/Downloads\Skinner.cs
Line 63: private void OnServerInitialized()
Line 129: private void Loaded()
Line 137: private void Unload()
Line 1896: private void OnPlayerLootEnd(PlayerLoot instance)
Line 1911: void OnPlayerConnected(BasePlayer player)
Line 1924: private void OnPlayerDisconnected(BasePlayer player, string strReason)
Line 1939: private void OnItemCraftFinished(ItemCraftTask task, Item item, ItemCrafter itemCrafter)
[+] Hooks found in: C:/Users/Hasse/Downloads\SkyReportSystem.cs
Line 295: private void OnServerInitialized()
Line 312: OnPlayerConnected(BasePlayer.activePlayerList[i]);
Line 331: void OnPlayerConnected(BasePlayer player)
Line 358: void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\SoundBox.cs
Line 29: private void Init()
Line 35: private void OnServerInitialized()
Line 61: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\SquidGameRLGL.cs
Line 583: void Init()
Line 589: void OnServerInitialized()
Line 604: timer.In(9f, () => OnServerInitialized());
Line 622: void Unload()
Line 648: object OnServerCommand(ConsoleSystem.Arg arg)
Line 667: object OnPlayerCommand(BasePlayer player, string command, string[] args)
[+] Hooks found in: C:/Users/Hasse/Downloads\StackMultiplier.cs
Line 67: private void Init()
Line 72: private void OnServerInitialized()
Line 98: void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\Statistics.cs
Line 965: private void Init()
Line 972: private void OnServerInitialized()
Line 982: OnPlayerConnected(player);
Line 991: private void OnServerSave()
Line 996: private void Unload()
Line 1006: private void OnPlayerConnected(BasePlayer player)
Line 1023: private void OnPlayerDisconnected(BasePlayer player, string reason)
Line 1122: private void OnLootEntity(BasePlayer player, BaseEntity entity)
Line 1143: private void OnEntityTakeDamage(BaseHelicopter helicopter, HitInfo info)
Line 1149: private void OnEntityDeath(BaseCombatEntity entity, HitInfo info)
[+] Hooks found in: C:/Users/Hasse/Downloads\TankCommander.cs
Line 42: private void Loaded()
Line 49: private void OnServerInitialized()
Line 59: private object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
Line 95: private void OnPlayerInput(BasePlayer player, InputState input)
Line 169: private void OnPlayerDisconnected(BasePlayer player)
Line 190: private void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\TheRedButton.cs
Line 82: private void OnServerInitialized()
Line 120: void Unload()
Line 142: void OnEntitySpawned(CargoShip ship)
Line 146: void OnEntityKill(CargoShip ship)
Line 150: //object OnItemPickup(Item item, BasePlayer player)
Line 161: private object OnPlayerViolation(BasePlayer player, AntiHackType type)
Line 185: object OnEntityTakeDamage(Signage entity, HitInfo info)
Line 193: object OnEntityTakeDamage(PressButton entity, HitInfo info)
Line 201: object OnEntityTakeDamage(SirenLight entity, HitInfo info)
Line 213: void OnEntityKill(Signage entity)
Line 225: void OnPlayerSleep(BasePlayer player)
Line 241: private void OnPlayerSleepEnded(BasePlayer player)
[+] Hooks found in: C:/Users/Hasse/Downloads\TimedExecute.cs
Line 145: void OnServerInitialized()
Line 152: void Unload()
[+] Hooks found in: C:/Users/Hasse/Downloads\Trade.cs
Line 190: void Init ()
Line 214: void Loaded ()
Line 357: void OnPlayerConnected(BasePlayer player)
Line 369: void OnPlayerDisconnected(BasePlayer player)
Line 386: void OnPlayerLootEnd (PlayerLoot inventory)
[+] Hooks found in: C:/Users/Hasse/Downloads\TrainHomes.cs
Line 479: private void Init()
Line 485: private void Unload()
Line 492: ControllerSpawnsFreeWagon.Unload();
Line 500: private void OnServerInitialized()
Line 507: ControllerSpawnsFreeWagon.Init();
Line 511: private void OnServerSave()
Line 516: private object OnEntityKill(BaseEntity entity)
Line 599: private object OnEntityTakeDamage(BaseCombatEntity baseCombatEntity, HitInfo info)
Line 610: private object OnEntityTakeDamage(BuildingBlock entity, HitInfo info)
Line 617: private object OnEntityTakeDamage(LootContainer container, HitInfo info)
Line 624: private object OnEntityTakeDamage(Barricade barricade, HitInfo info)
Line 631: private object OnEntityTakeDamage(NeonSign neonSign, HitInfo info)
Line 638: private object OnEntityTakeDamage(RFReceiver receiver, HitInfo info)
Line 645: private object OnEntityTakeDamage(RANDSwitch randSwitch, HitInfo info)
Line 708: private void OnEntitySpawned(TrainCar trainCar)
Line 872: matrix.Init(baseEntity, buildingBlocks, player);
Line 887: wagon.Init(player, matrix.posForSpawnWagon, garage);
Line 921: monument.Init(branch);
Line 1598: internal void Init(BasePlayer player, KeyValuePair<Vector3, Quaternion> pos, Garage Garage)
Line 1784: if (owner != null) modifications.Init(owner, this, data);
Line 1992: spawner.Init(this, player);
Line 2095: trigger.Init(stand);
Line 2413: internal void Init(BasePlayer player, Wagon Wagon, WagonData data)
Line 2932: public void Init(Stand stand)
Line 2998: internal void Init(Wagon Wagon, BasePlayer player)
Line 3317: internal void Init(BaseEntity baseEntity, List<BuildingBlock> foundations, BasePlayer Player)
Line 3442: internal static void Init()
Line 3462: internal static void Unload()
Line 3675: internal void Init(ElectricalBranch electricalBranch)
[+] Hooks found in: C:/Users/Hasse/Downloads\UnlockDlcItems.cs
Line 33: private void OnServerInitialized()
Line 50: OnPlayerConnected(player);
Line 53: private void Unload()
Line 59: private void OnPlayerConnected(BasePlayer player)
Line 63: timer.Once(1, () => OnPlayerConnected(player));
Line 73: private void OnGroupPermissionGranted(string name, string permName)
Line 84: private void OnGroupPermissionRevoked(string name, string permName)
Line 95: private void OnUserPermissionGranted(string id, string permName)
Line 107: private void OnUserPermissionRevoked(string id, string permName)
[+] Hooks found in: C:/Users/Hasse/Downloads\Vanish.cs
Line 157: private void Loaded()
Line 223: private void Init()
Line 269: private void Unload()
Line 558: private void OnPlayerConnected(BasePlayer player)
Line 564: timer.Once(3f, () => OnPlayerConnected(player));
Line 605: private object? OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
Line 622: private void OnPlayerDisconnected(BasePlayer player, string reason)
Line 671: private object? OnPlayerViolation(BasePlayer player, AntiHackType type, float amount) => IsInvisible(player) ? (object)true : null;
[+] Hooks found in: C:/Users/Hasse/Downloads\VipBuild.cs
Line 12: void Init()
Line 18: object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
Line 30: object OnEntityDeath(BaseCombatEntity entity, HitInfo info)
Line 42: object OnEntityKill(BaseNetworkable entity)
[+] Hooks found in: C:/Users/Hasse/Downloads\Waypoints.cs
Line 17: void Loaded()
Line 79: void Init()
[+] Hooks found in: C:/Users/Hasse/Downloads\XAntiCheat.cs
Line 946: private void OnPlayerBanned(string name, ulong id, string address, string reason)
Line 978: private void Init()
Line 1084: void OnEntityKill(StashContainer stash)
Line 1099: private void OnServerInitialized()
Line 1272: private void OnPlayerViolation(BasePlayer player, AntiHackType type, float amount)
Line 1469: private void Unload()
Line 1491: private void OnPlayerConnected(BasePlayer player)
Line 1496: timer.Once(1f, () => OnPlayerConnected(player));
Line 1504: private void OnPlayerDisconnected(BasePlayer player, string reason)
Line 1544: private void OnEntityTakeDamage(object entity, HitInfo info)
[+] Hooks found in: C:/Users/Hasse/Downloads\XBuildingSkinMenu.cs
Line 660: private void OnServerInitialized()
Line 736: private void Unload()
Line 757: private void OnUserPermissionRevoked(string id, string permName) => ResetPlayerSkins(id);
Line 759: private void OnUserGroupRemoved(string id, string groupName) => ResetPlayerSkins(id);
Line 811: private void OnPlayerConnected(BasePlayer player)
Line 815: NextTick(() => OnPlayerConnected(player));
Line 822: private void OnPlayerDisconnected(BasePlayer player)
Line 831: private void OnEntityKill(BuildingPrivlidge entity)
Line 1073: private void OnLootEntity(BasePlayer player, BuildingPrivlidge entity)
[+] Hooks found in: C:/Users/Hasse/Downloads\XFireGloves.cs
Line 62: private void OnLootEntity(BasePlayer player, BaseEntity entity)
Line 110: private void OnServerInitialized()
[+] Hooks found in: C:/Users/Hasse/Downloads\XKamikazeFPVDrone.cs
Line 143: private void OnServerInitialized()
Line 167: private void OnEntityDeath(Drone drone)
Line 412: private void OnEntitySpawned(Drone drone)
[+] Hooks found in: C:/Users/Hasse/Downloads\XL96Plus.cs
Line 134: void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
[+] Hooks found in: C:/Users/Hasse/Downloads\XPrison.cs
Line 764: private void OnServerInitialized(bool valide)
Line 777: OnPlayerConnected(player);
Line 845: private void Unload()
Line 866: private void OnEntityKill(BaseEntity entity)
Line 896: private void OnPlayerConnected(BasePlayer player)
Line 900: NextTick(() => OnPlayerConnected(player));
Line 907: private void OnPlayerDisconnected(BasePlayer player)
Line 963: private object OnPlayerChat(BasePlayer player, string message, Chat.ChatChannel channel)
Line 996: private object OnPlayerRespawn(BasePlayer player)
Line 1265: private object OnServerCommand(ConsoleSystem.Arg arg)
Line 1281: private object OnPlayerCommand(BasePlayer player, string command, string[] args)
Line 1295: private object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info) => entity.OwnerID == 100001 ? true : null;
Line 1296: private object OnPlayerAttack(BasePlayer attacker, HitInfo info) => StoredData.ContainsKey(attacker.userID) ? true : null;
[+] Hooks found in: C:/Users/Hasse/Downloads\XRestartUI.cs
Line 185: private void Unload()
Line 212: Unload();
Line 241: private void OnServerInitialized()
[+] Hooks found in: C:/Users/Hasse/Downloads\ZoneManager.cs
Line 68: private void Init()
Line 84: private void OnServerInitialized() => InitializeZones();
Line 88: private void OnPlayerConnected(BasePlayer player) => updateBehaviour.QueueUpdate(player);
Line 90: private void OnEntityKill(BaseEntity baseEntity)
Line 110: private void Unload()
Line 280: private void OnItemDeployed(Deployer deployer, ItemModDeployable itemModDeployable, BaseEntity deployedEntity) // DoDeploy_Regular
Line 293: private void OnItemDeployed(Deployer deployer, BaseEntity parentEntity, BaseEntity deployedEntity) // DoDeploy_Slot
Line 352: private object OnPlayerChat(BasePlayer player, string message, ConVar.Chat.ChatChannel channel)
Line 367: return OnPlayerChat(player, message, ConVar.Chat.ChatChannel.Global);
Line 380: private object OnServerCommand(ConsoleSystem.Arg arg)
Line 394: private void OnPlayerDisconnected(BasePlayer player)
Line 424: private object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo hitinfo)
Line 530: private void OnEntitySpawned(BaseEntity baseEntity)
Line 654: private void OnLootPlayer(BasePlayer looter, BasePlayer target) => OnLootPlayerInternal(looter, target);
Line 674: private void OnLootEntity(BasePlayer player, BaseEntity entity)
Line 761: private object OnItemPickup(Item item, BasePlayer player) => CanPickupInternal(player, ZoneFlags.NoPickup);
Line 865: private void OnPlayerSleep(BasePlayer player)
Line 920: OnPlayerSleep(player);
=== SCAN FOR DEPRECATED HOOKS ===
[!] Deprecated hooks found in: C:/Users/Hasse/Downloads\AimTrain (1).cs
Line 111: private void OnPlayerAttack( BasePlayer attacker, HitInfo info )
[!] Deprecated hooks found in: C:/Users/Hasse/Downloads\CustomTurretLimits.cs
Line 47: void OnPlayerInit(BasePlayer player)
Line 88: OnPlayerInit(player);
Line 190: OnPlayerInit(player);
Line 231: OnPlayerInit(targetPlayer);
[!] Deprecated hooks found in: C:/Users/Hasse/Downloads\FastMenu.cs
Line 328: void OnPlayerInput(BasePlayer player, InputState input)
[!] Deprecated hooks found in: C:/Users/Hasse/Downloads\HumanNPC.cs
Line 2033: /// OnPlayerInput(BasePlayer player, InputState input)
Line 2038: private void OnPlayerInput(BasePlayer player, InputState input)
[!] Deprecated hooks found in: C:/Users/Hasse/Downloads\PersonalNPC.cs
Line 999: controller.OnPlayerInput(player, null);
Line 3930: OnPlayerInput(owner, owner.serverInput);
Line 3969: public void OnPlayerInput(BasePlayer player, InputState input)
[!] Deprecated hooks found in: C:/Users/Hasse/Downloads\RemoverTool.cs
Line 275: private object OnPlayerAttack(BasePlayer player, HitInfo info)
[!] Deprecated hooks found in: C:/Users/Hasse/Downloads\TankCommander.cs
Line 95: private void OnPlayerInput(BasePlayer player, InputState input)
[!] Deprecated hooks found in: C:/Users/Hasse/Downloads\XPrison.cs
Line 1296: private object OnPlayerAttack(BasePlayer attacker, HitInfo info) => StoredData.ContainsKey(attacker.userID) ? true : null;
PS C:\Users\Hasse>