{"id":16567042,"url":"https://github.com/uyriq/wotping","last_synced_at":"2025-06-20T16:33:12.908Z","repository":{"id":243082919,"uuid":"811042092","full_name":"uyriq/wotPing","owner":"uyriq","description":"Pwsh script conducts a ping test on a predefined list of server records and presents the results in a tabular format","archived":false,"fork":false,"pushed_at":"2024-12-06T18:05:11.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-06T20:08:50.097Z","etag":null,"topics":["game","lesta","network-analysis","pwsh-scripts","worldoftanks"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uyriq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-05T20:37:43.000Z","updated_at":"2024-12-06T18:05:15.000Z","dependencies_parsed_at":"2024-06-23T21:31:55.967Z","dependency_job_id":"e949831d-b4ac-40e8-b1f4-f3ff8a31255f","html_url":"https://github.com/uyriq/wotPing","commit_stats":null,"previous_names":["uyriq/wotping"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uyriq%2FwotPing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uyriq%2FwotPing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uyriq%2FwotPing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uyriq%2FwotPing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uyriq","download_url":"https://codeload.github.com/uyriq/wotPing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234117178,"owners_count":18782468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","lesta","network-analysis","pwsh-scripts","worldoftanks"],"created_at":"2024-10-11T21:05:26.381Z","updated_at":"2025-01-15T23:10:01.887Z","avatar_url":"https://github.com/uyriq.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wotPing.ps1\n\n## Synopsis\n\nThis script conducts a ping test on a list of server records provided via parameters or a JSON file and presents the results in a tabular format.\n\n## Description\n\nThe script performs ping tests on a customizable list of servers, allowing you to add or remove servers without modifying the script itself. Server information can be provided directly through the `-serverList` parameter or via a JSON file specified with the `-serverListFile` parameter. All World of Tanks (WOT) gaming servers have been moved to a separate JSON file for easier management.\n\nResults include the average response time and latency dispersion, helping you identify the optimal server based on these metrics.\n\n### Server Information Sources\n\n- [Lesta.ru wiki](https://wiki.lesta.ru/ru/%D0%98%D0%B3%D1%80%D0%BE%D0%B2%D1%8B%D0%B5_%D0%BA%D0%BB%D0%B0%D1%81%D1%82%D0%B5%D1%80%D1%8B)\n- [Wargaming.net wiki](https://na.wargaming.net/support/en/products/wot/article/10252/)\n- [Wargaming.net wiki](https://eu.wargaming.net/support/ru/products/wot/article/15291/)\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- You have installed PowerShell version 5.1 or later. You can check your PowerShell version by running the following command in your PowerShell terminal:\n\n```powershell\n$PSVersionTable.PSVersion\n```\n\nScript execution policy should be enabled. If the execution policy is not set to RemoteSigned or Unrestricted, you can change it using the Set-ExecutionPolicy cmdlet. Note that you may need to run this command as an administrator:\n\n```powershell\nSet-ExecutionPolicy RemoteSigned\n```\n\nUsage\nProviding Server Lists\nYou can supply servers to the script in two ways:\n\nUsing Parameters:\n\n-serverList: Provide a list of server URLs directly.\n-serverListFile: Provide a path to a JSON file containing server details.\nUsing a JSON File:\n\nAll gaming WOT servers have been moved to a JSON file (serverList.json). You can modify this file to add or remove gaming servers.\n\nRunning the Script\nDownload the Script:\n\nGo to the wotPing.ps1 file in the GitHub repository.\nClick on the Raw button in the top right.\nSave the file with a .ps1 extension to your desired location.\nExecute the Script in PowerShell:\n\n```Powershell\n.\\wotPing.ps1 -pingCount 4 -serverList \"ya.ru\", \"google.com\" -serverListFile \"serverList.json\"\n```\n\nParameters:\n-pingCount: (Optional) Number of ping attempts per server. Defaults to 4.\n-serverList: (Optional) Direct list of server URLs.\n-serverListFile: (Optional) Path to a JSON file containing server details.\n\nExample\nTo ping servers listed in serverList.json with the default ping count:\n\nEditing Server Lists\nDirect Parameter Method:\n\nModify the $serverList hashtable within the script if you prefer hardcoding (not recommended).\n\nJSON File Method:\n\nEdit serverList.json to add or remove servers. Ensure each server entry includes name and url fields.\n\n```JSON\n{\n  \"servers\": [\n    { \"name\": \"Yandex\", \"url\": \"ya.ru\" },\n    { \"name\": \"LESTA_RU-1\", \"url\": \"login.p1.tanki.su\" },\n    // Add or remove server entries as needed\n  ]\n}\n```\n\n## License\n\n[MIT License](LICENSE)\n\nThis script is free to use, as in \"free beer\". You can use it, modify it, and distribute it as you like. If you find it useful, please consider sharing your improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuyriq%2Fwotping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuyriq%2Fwotping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuyriq%2Fwotping/lists"}