{"id":303433,"date":"2020-05-12T15:00:35","date_gmt":"2020-05-12T15:00:35","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=303433"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=303433","title":{"rendered":"\u041a\u0430\u043a \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u0440\u0438\u0435\u043c\u0430 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u0432 Minecraft \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c PowerShell"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/501568\/\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/501568\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pc\/hh\/se\/pchhsenr29snjnzmnfro-xdfjug.jpeg\"><\/div>\n<p><\/a><br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043c \u0431\u043e\u0433\u043e\u043c\u0435\u0440\u0437\u043a\u0438\u0439 \u0434\u043e\u043d\u0430\u0442 \u043a \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Minecraft \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Powershell. \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u0430\u0439\u043d\u043a\u0440\u0430\u0444\u0442 \u044d\u0442\u043e \u043b\u0438\u0448\u044c \u0447\u0430\u0441\u0442\u043d\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434. \u041c\u044b \u043b\u0438\u0448\u044c \u0441\u043b\u0443\u0448\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0430\u043c \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0435\u0442 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0438 \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u044d\u0442\u043e \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443. \u0418 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2013 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432.<br \/>  \u0410 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0447\u0435\u0440\u0435\u0437 PayPal. \u0421\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043a\u043e\u0434, PayPal \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u043d\u0430\u043c \u0432\u0441\u0435 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e. \u041d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043a\u043d\u043e\u043f\u043a\u0438, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0447\u0438\u0441\u0442\u044b\u043c HTML. \u0410\u0431\u0441\u0442\u0440\u0430\u0433\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043e\u0442 \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u0435\u0439 \u0441\u0430\u043c\u043e\u0439 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0441\u043a\u043e\u043d\u0446\u0435\u043d\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u0430\u0445 \u0432 \u043a\u043e\u0434\u0435.<a name=\"habracut\"><\/a><\/p>\n<p>  \u041a\u0441\u0442\u0430\u0442\u0438, \u0430\u0432\u0442\u043e\u0440 \u0431\u0443\u0434\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0434, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0432\u0441\u0435 \u0435\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u0432 \u043d\u0438\u0445 \u0434\u0435\u0442\u0441\u043a\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u043a\u0430\u0436\u0435\u0442\u0435 \u0438\u043b\u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u0435. \u0412\u043e\u0442 <a href=\"https:\/\/github.com\/nneeoo\/Start-Minecraft\">\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431<\/a> \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<h2><font color=\"#3AC1EF\">\u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e IPN<\/font><\/h2>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">IPN<\/font><\/h3>\n<p>  \u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436\u0438 \u0431\u0443\u0434\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u043a\u043d\u043e\u043f\u043a\u0438. \u041a\u043d\u043e\u043f\u043a\u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0431\u044d\u043a\u0435\u043d\u0434\u0430 \u043e\u0442 \u0432\u0430\u0441, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c HTML, \u0434\u0430 \u0435\u0449\u0435 \u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u0438\u043c\u0435\u044e\u0442.<\/p>\n<p>  \u041a\u043d\u043e\u043f\u043a\u0438 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u044f\u0442 IPN \u2013 Instant Payment Notification, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u044e\u0442 \u043d\u0430 \u043d\u0430\u0448 WebListener. \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 IPN \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0443\u0442\u044c \u043d\u0438\u0436\u0435.<\/p>\n<p>  \u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u043a\u043d\u043e\u043f\u043a\u0443 \u043c\u043e\u0436\u0435\u0442 \u043a\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e, \u043a\u0442\u043e \u0438\u043c\u0435\u0435\u0442 \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c PayPal. <br \/>  IPN \u043d\u0435 \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0442\u043e\u0439 \u0432\u0441\u0435\u0439 REST API PayPal, \u043d\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u043d\u0430 \u043d\u0435\u0439. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043d\u0430\u043c\u0438 IPN \u043d\u0435 REST API \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0441\u0430\u043c PayPal \u043d\u0435 \u0436\u0434\u0435\u0442 \u043e\u0442 \u043d\u0430\u0441 \u043d\u0438\u0447\u0435\u0433\u043e \u043a\u0440\u043e\u043c\u0435 \u043a\u043e\u0434\u0430 200.<\/p>\n<h3><font color=\"#3AC1EF\">\u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c WebListener<\/font><\/h3>\n<p>  PayPal, \u043f\u043e \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043d\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043f\u043e HTTP, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442.\u00a0<\/p>\n<p>  \u0410\u0432\u0442\u043e\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b <a href=\"https:\/\/www.win-acme.com\/\">WinAcme<\/a>. \u0412\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u0434\u043e\u043c\u0435\u043d, \u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432. \u041a\u0441\u0442\u0430\u0442\u0438, \u0432 \u043e\u0431\u0440\u0430\u0437\u0435 WinAcme \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043a\u043e\u0440\u043d\u0435 \u0434\u0438\u0441\u043a\u0430.<\/p>\n<pre><code class=\"powershell\">#\u041f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c \u0445\u044d\u0448 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0438\u0437 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 Get-ChildItem -Path Cert:\\LocalMachine\\My    #\u0412\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0441 \u044d\u0442\u0438\u043c \u0445\u0435\u0448\u0435\u043c \u043d\u0430 443 \u043f\u043e\u0440\u0442. netsh http add sslcert ipport=0.0.0.0:443 certhash=D106F5676534794B6767D1FB75B58D5E33906710 &quot;appid={00112233-4455-6677-8899-AABBCCDDEEFF}&quot;<\/code><\/pre>\n<p>  Powershell \u0443\u043c\u0435\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u044b \u0438\u0437 .net, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0433\u043e \u043f\u043e\u0447\u0442\u0438 \u0440\u0430\u0432\u043d\u044b\u043c .net. \u0421\u043d\u0430\u0447\u0430\u043b\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u043b\u0430\u0441\u0441 HttpListener, \u043f\u043e\u0434\u043d\u0438\u043c\u0435\u043c Web \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<pre><code class=\"powershell\">#\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043b\u0430\u0441\u0441 \u0438\u0437 .net $http = [System.Net.HttpListener]::new()    #\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u044b \u043a \u043b\u0438\u0441\u0435\u043d\u0435\u0440\u0443 $http.Prefixes.Add(&quot;http:\/\/donate.to\/&quot;) $http.Prefixes.Add(&quot;https:\/\/donate.to\/&quot;)   #\u0421\u0442\u0430\u0440\u0442\u0443\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 $http.Start()<\/code><\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c netstat.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xs\/k4\/lc\/xsk4lcebgvakhxtchlq38svsc1y.png\"><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043d\u0430\u0448 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430\u0447\u0430\u043b \u0441\u043b\u0443\u0448\u0430\u0442\u044c 443 \u043f\u043e\u0440\u0442, \u0437\u043d\u0430\u0447\u0438\u0442, \u0432\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0438 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043f\u0440\u0438\u0435\u043c\u0443 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u0422\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043f\u0440\u043e \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440.<\/p>\n<h3><font color=\"#3AC1EF\">\u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441<\/font><\/h3>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/developer.paypal.com\/developer\/ipnSimulator\/\">IPN Simulator<\/a> \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 POST \u0437\u0430\u043f\u0440\u043e\u0441, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0442\u043e \u044d\u0442\u043e \u0442\u0430\u043a\u043e\u0435. \u041d\u043e \u0432 \u043d\u0435\u043c \u043d\u0435\u043b\u044c\u0437\u044f \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0430\u0432\u0442\u043e\u0440 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u0438 \u0441\u0440\u0430\u0437\u0443 \u043a\u0443\u043f\u0438\u0442\u044c \u0443 \u0441\u0435\u0431\u044f \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c. \u0412 IPN History \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0441 \u043a\u043d\u043e\u043f\u043a\u0438 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.\u00a0 \u0410\u0432\u0442\u043e\u0440 \u0441\u0434\u0435\u043b\u0430\u043b \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a, \u043a\u0443\u043f\u0438\u0432 \u0443 \u0441\u0435\u0431\u044f \u043e\u0434\u0438\u043d \u0443\u0433\u043e\u043b\u044c \u0437\u0430 \u043e\u0434\u0438\u043d \u0440\u0443\u0431\u043b\u044c.<\/p>\n<p>  \u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0446\u0438\u043a\u043b\u0430 While. \u041f\u043e\u043a\u0430 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043f\u043e\u0442\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<pre><code class=\"powershell\">while ($http.IsListening) {     $context = $http.GetContext()     if ($context.Request.HttpMethod -eq 'POST' -and $context.Request.RawUrl -eq '\/') {       #\u0427\u0438\u0442\u0430\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 POST \u0437\u0430\u043f\u0440\u043e\u0441\u0430     $Reader = [System.IO.StreamReader]::new($context.Request.InputStream).ReadToEnd()          #\u0424\u0438\u043a\u0441\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0435 \u0440\u0443\u043d\u044b.     $DecodedContent = [System.Web.HttpUtility]::UrlDecode($Reader)       #\u0412\u044b\u0432\u043e\u0434\u0438\u043c \u043f\u043b\u0430\u0442\u0435\u0436 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b.     $Payment | Format-Table       #\u041e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u0443 200 OK \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u0438\u043c.     $context.Response.Headers.Add(&quot;Content-Type&quot;, &quot;text\/plain&quot;)     $context.Response.StatusCode = 200     $ResponseBuffer = [System.Text.Encoding]::UTF8.GetBytes(&quot;&quot;)     $context.Response.ContentLength64 = $ResponseBuffer.Length     $context.Response.OutputStream.Write($ResponseBuffer, 0, $ResponseBuffer.Length)     $context.Response.Close()   } } <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u0432\u0435\u0440\u043c\u0438\u0448\u0435\u043b\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u0443\u044e \u044d\u0442\u043e\u0439, \u0442\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u0435:<\/p>\n<pre><code class=\"powershell\">$Payment = $DecodedContent -split &quot;&amp;&quot; | ConvertFrom-StringData<\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dj\/sy\/l4\/djsyl4jvhe5qp9v9hyjb6jvmqzu.png\"><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u0430\u043c \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043f\u0440\u0438\u0434\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u0433\u0434\u0435 \u0432\u0441\u0435 Value \u044d\u0442\u043e String.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sc\/ws\/xp\/scwsxp7gvaglfdzqc5swthhd6do.png\"><\/p>\n<p>  <b>\u041c\u043e\u0436\u0435\u0442\u0435 \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0447\u0442\u0435\u043d\u0438\u0435 \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435<\/b>, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0435 \u0433\u043b\u0443\u0431\u0436\u0435 \u0432 \u043a\u043e\u0434, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043e\u0442 \u0447\u044c\u0435\u0439-\u0442\u043e API \u0437\u0430\u043f\u0440\u043e\u0441\u044b. <\/p>\n<p>  \u0412\u043e\u0442 \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438, \u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435:<\/p>\n<pre><code class=\"powershell\">#\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043b\u0438\u0441\u0435\u043d\u0435\u0440 $http = [System.Net.HttpListener]::new()    #\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0434\u043e\u043c\u0435\u043d\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0441\u043b\u0443\u0448\u0430\u0435\u043c $http.Prefixes.Add(&quot;http:\/\/localhost\/&quot;) $http.Prefixes.Add(&quot;https:\/\/localhost\/&quot;)   $http.Start()   while ($http.IsListening) {     $context = $http.GetContext()     if ($context.Request.HttpMethod -eq 'POST' -and $context.Request.RawUrl -eq '\/') {       #\u0427\u0438\u0442\u0430\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 POST \u0437\u0430\u043f\u0440\u043e\u0441\u0430     $Reader = [System.IO.StreamReader]::new($context.Request.InputStream).ReadToEnd()          #\u0424\u0438\u043a\u0441\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0435 \u0440\u0443\u043d\u044b.     $DecodedContent = [System.Web.HttpUtility]::UrlDecode($Reader)                #\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u043c \u0432\u0435\u0440\u043c\u0438\u0448\u0435\u043b\u044c IPN \u0432 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0442\u0440\u043e\u043a     $Payment = $DecodedContent -split &quot;&amp;&quot; | ConvertFrom-StringData       #\u0412\u044b\u0432\u043e\u0434\u0438\u043c \u043f\u043b\u0430\u0442\u0435\u0436 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b.     $Payment | Format-Table       #\u041e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u0443 200 OK \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u0438\u043c.     $context.Response.Headers.Add(&quot;Content-Type&quot;, &quot;text\/plain&quot;)     $context.Response.StatusCode = 200     $ResponseBuffer = [System.Text.Encoding]::UTF8.GetBytes(&quot;&quot;)     $context.Response.ContentLength64 = $ResponseBuffer.Length     $context.Response.OutputStream.Write($ResponseBuffer, 0, $ResponseBuffer.Length)     $context.Response.Close()   } } <\/code><\/pre>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u041d\u044e\u0430\u043d\u0441\u044b Minecraft<\/font><\/h2>\n<p>  \u0412\u043e\u0442 \u043c\u044b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u043a\u0430\u043a \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u043e \u043f\u043b\u0430\u0442\u0435\u0436\u0430\u0445, \u043c\u043e\u0436\u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0438\u0445 \u0437\u0430\u0447\u0438\u0441\u043b\u044f\u0442\u044c. \u041d\u043e \u0442\u0443\u0442 \u0442\u043e\u0436\u0435 \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0438\u0433\u0440\u0430 \u043d\u0435 \u0434\u0430\u0435\u0442 \u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0438\u0433\u0440\u043e\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u0422\u043e \u0435\u0441\u0442\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0436\u0434\u0430\u0442\u044c \u043f\u043e\u043a\u0430 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0437\u0430\u0439\u0434\u0435\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0434\u0430\u0442\u044c \u0435\u043c\u0443 \u0442\u043e, \u0437\u0430 \u0447\u0442\u043e \u043e\u043d \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u043b.<\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043e\u0431\u0449\u0430\u044f \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u043a\u0443\u0440\u0438\u043b\u044c\u0449\u0438\u043a\u0430, \u043f\u043e \u0437\u0430\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044e \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sj\/tl\/9d\/sjtl9dgiovppbc6kreduniwz8o0.png\"><\/p>\n<p>  \u041f\u0440\u0438\u0435\u043c \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 Listener \u0432\u044b\u0448\u0435, \u0432 \u043d\u0435\u0433\u043e \u0431\u044b\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432 \u0444\u0430\u0439\u043b. Complete-Payment (\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a) \u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u043d\u0430 \u043d\u0438\u043a\u043d\u0435\u0439\u043c \u0438 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0444\u0430\u0439\u043b\u0430. \u0415\u0441\u043b\u0438 \u043d\u0430\u0448\u0435\u043b \u0444\u0430\u0439\u043b, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0434\u043b\u044f rcon \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0435\u0435.<\/p>\n<p>  <a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/495192\/#comment_21450408\">Start-Minecraft,<\/a> \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0430\u0432\u0442\u043e\u0440 \u043f\u0438\u0441\u0430\u043b \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u044b\u043b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u043d \u0441\u043b\u0443\u0448\u0430\u0435\u0442 \u0432\u044b\u0432\u043e\u0434, \u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u043d\u0430 \u043d\u0438\u043a\u0438 \u0438\u0433\u0440\u043e\u043a\u043e\u0432 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0438\u0445 \u0432 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439. <\/p>\n<h3><font color=\"#3AC1EF\">\u0414\u0435\u043b\u0430\u0435\u043c \u0441\u0430\u043c\u044b\u0435 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0435 \u043a\u043e\u043b\u0431\u0435\u043a\u0438<\/font><\/h3>\n<p>  \u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432, \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0438\u0441\u0442\u0438\u043d\u043d\u044b\u0435 \u043a\u043e\u043b\u0431\u0435\u043a\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u044b\u043b \u0438\u0437\u043c\u0435\u043d\u0435\u043d Start-Minecraft. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u043d \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043c\u0435\u0435\u0442 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c StdOut \u0432 \u0444\u0430\u0439\u043b, \u043d\u043e \u0435\u0449\u0435 \u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u043e\u0439. \u0411\u043b\u0430\u0433\u043e \u043c\u0430\u0439\u043d\u043a\u0440\u0430\u0444\u0442 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u043a\u043e\u0433\u0434\u0430 \u0438\u0433\u0440\u043e\u043a \u0432\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<pre><code class=\"powershell\">[04:20:00 INFO]: UUID of player XXPROHUNTERXX is 23e93d2e-r34d-7h15 -5h17-a9192cd70b48<\/code><\/pre>\n<p>  \u0418\u0437 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0431\u0440\u0430\u0442\u044c \u043d\u0438\u043a\u043d\u0435\u0439\u043c. \u0412\u043e\u0442 \u0432\u0435\u0441\u044c \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043d\u0430\u043c, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0441\u0442\u0440\u043e\u043a Stdout. <\/p>\n<pre><code class=\"powershell\">$Regex = [Regex]::new(&quot;of player ([^ ]+)&quot;)   powershell.exe -file &quot;.\\Start-MinecraftHandler.ps1&quot; -type $type -MinecraftPath $MinecraftPath | Tee-Object $LogFile -Append | ForEach-Object {        Write-host $_              $Player = $Regex.Matches($_).value -replace &quot;of player &quot;              if ($true -eq $Regex.Matches($_).Success) {         #\u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442 \u0442\u0443\u0442     } } <\/code><\/pre>\n<p>  \u041d\u0430 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440 $_ \u043f\u043e\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430, \u0435\u0451 \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u0432 \u043e\u043a\u043d\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043c\u0441\u044f \u043f\u043e \u043d\u0435\u0439 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u043e\u0439. \u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0430 \u0441\u0430\u043c\u0430 \u043e\u043f\u043e\u0432\u0435\u0449\u0430\u0435\u0442 \u043d\u0430\u0441, \u043a\u043e\u0433\u0434\u0430 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e.<\/p>\n<p>  \u041e\u0442\u0441\u044e\u0434\u0430 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u043a\u043e\u0434. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u044d\u0442\u043e \u0436\u0435 RCON, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0438\u0433\u0440\u043e\u043a\u0430 \u0432 \u041f\u041c, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u043e\u0442\u0430 \u0432 \u0434\u0438\u0441\u043a\u043e\u0440\u0434\u0435 \u043e\u043f\u043e\u0432\u0435\u0449\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u0442\u043e-\u0442\u043e \u0437\u0430\u0448\u0435\u043b \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0431\u0430\u043d\u0438\u0442\u044c \u0437\u0430 \u043c\u0430\u0442, \u043d\u0443 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435.<\/p>\n<h3><font color=\"#3AC1EF\">\u0414\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u0438\u0435\u043c \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439<\/font><\/h3>\n<p>  \u0420\u0430\u0437 \u0443\u0436 \u043c\u044b \u0432\u0437\u044f\u043b\u0438\u0441\u044c \u0437\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439, \u0442\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0438\u043c\u0435\u0442\u044c \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043b\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0438 \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439, \u0432\u0435\u0434\u044c \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u0447\u0438\u0441\u043b\u0430\u0445 \u0441 \u0434\u0432\u0443\u043c\u044f \u043d\u0443\u043b\u044f\u043c\u0438, \u0442\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u0442\u044c.<\/p>\n<p>  \u0410\u0432\u0442\u043e\u0440 \u0445\u043e\u0447\u0435\u0442 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0438 \u043d\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0449\u0435 \u0431\u0430\u0437\u0443. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c NoSQL \u043f\u043e\u0434\u0445\u043e\u0434. \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u043c \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u0438\u043d\u044f\u0442\u044b\u0435 \u043f\u043b\u0430\u0442\u0435\u0436\u0438 \u0432 \u043f\u0430\u043f\u043a\u0443 \/payments\/ \u0432 \u0444\u0430\u0439\u043b\u044b \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Json.<\/p>\n<pre><code class=\"powershell\">    class Payment {         #\u0414\u0430\u0442\u0430 \u043f\u0440\u0438\u0445\u043e\u0434\u0430 \u043f\u043b\u0430\u0442\u0435\u0436\u0430.         [datetime]$Date = [datetime]::ParseExact($i.payment_date, &quot;HH:mm:ss MMM dd, yyyy PDT&quot;, [System.Globalization.CultureInfo]::InvariantCulture)         #\u041f\u0440\u0438\u043e\u0440\u0431\u0435\u0442\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0449\u044c         [string]$Item = $i.item_name         #\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0435\u0449\u0435\u0439         [UInt16]$Quantity = $i.Quantity         #\u041a\u0430\u043a\u0443\u044e \u0441\u0443\u043c\u043c\u0443 \u043c\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438         [UInt16]$AmountPaid = $AmountPaid -as [UInt16]         #\u0412 \u043a\u0430\u043a\u043e\u0439 \u0432\u0430\u043b\u044e\u0442\u0435 \u0431\u044b\u043b \u043f\u0440\u0438\u043d\u044f\u0442 \u043f\u043b\u0430\u0442\u0435\u0436         [string]$Currency = $i.mc_currency         #\u041d\u0438\u043a\u043d\u0435\u0439\u043c \u0438\u0433\u0440\u043e\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0432\u0435\u0449\u044c         [string]$Player = $i.option_selection1              [bool]$Completed = $false         [UInt16]$ItemId = $i.item_number     } \/source&gt;  \u0418\u0437 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043a\u0442\u043e, \u043a\u043e\u0433\u0434\u0430, \u0447\u0442\u043e \u0438 \u0432 \u043a\u0430\u043a\u043e\u043c \u043e\u0431\u044a\u0435\u043c\u0435 \u043a\u0443\u043f\u0438\u043b \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043b\u0438 \u0442\u043e\u0432\u0430\u0440.  \u0414\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b \u0430\u0432\u0442\u043e\u0440 &lt;b&gt;option_selection1&lt;\/b&gt; \u2013 \u044d\u0442\u043e \u043d\u0438\u043a\u043d\u0435\u0439\u043c \u0438\u0433\u0440\u043e\u043a\u0430. \u0421\u044e\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 input, \u0432\u0441\u0435 \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e, \u043d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0438\u043a\u043d\u0435\u0439\u043c. \u0421\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u0438\u043c\u0435\u044e\u0442 \u043d\u0443\u043c\u0435\u0440\u0430\u0446\u0438\u044e &lt;b&gt;option_selection1&lt;\/b&gt;,&lt;b&gt;option_selection2&lt;\/b&gt; \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435.  \u041a\u0430\u043a \u0440\u0430\u043d\u0435\u0435 \u0431\u044b\u043b\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0441\u0445\u0435\u043c\u0435 \u0432\u044b\u0448\u0435, \u0440\u0435\u0441\u0438\u0432\u0435\u0440 \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u0438\u043d\u043e\u0433\u043e, \u043a\u0430\u043a \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0435 \u043f\u043b\u0430\u0442\u0435\u0436\u0438 \u0432 \u0444\u0430\u0439\u043b.  &lt;source lang=&quot;powershell&quot;&gt; #\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u043f\u043e \u043a\u043b\u0430\u0441\u0441\u0443 Payment, \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0438\u0445\u043d\u0443\u0442\u044c \u0432 \u0444\u0430\u0439\u043b.     $Payment = [Payment]::new()     $Payment | Format-Table     #\u0427\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043f\u043e\u043d\u044f\u0442\u043d\u043e \u043e\u0431\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b, \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0427\u0427-\u041c\u041c-\u0414\u0414-\u041c\u041c-\u0413\u0413\u0413\u0413     $FileName = $Payment.Player + &quot;-&quot; + $Payment.date.Hour + &quot;-&quot; + $Payment.date.Minute + &quot;-&quot; + $Payment.date.Day + &quot;-&quot; + $Payment.date.Month + &quot;-&quot; + $Payment.date.Year + &quot;.json&quot;   #\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0443\u0442\u044c, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043d\u0430\u0448 \u043e\u0431\u044a\u0435\u043a\u0442 \u0431\u0443\u0434\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d     $JsonPath = Join-Path $MinecraftPath \\payments\\Pending $FileName          #\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u0434\u0436\u0438\u0441\u043e\u043d\u0438\u043d\u0443     $Payment | ConvertTo-Json | Out-File $JsonPath<\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0438 \u0432\u0441\u0435, \u0447\u0442\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043e\u0442 \u043d\u0430\u0448\u0435\u0433\u043e \u043b\u0438\u0441\u0442\u0435\u043d\u0435\u0440\u0430. \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442 PayPal \u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0444\u0430\u0439\u043b. <\/p>\n<h3><font color=\"#3AC1EF\">\u0414\u0435\u043b\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439<\/font><\/h3>\n<p>  \u0412\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0431\u0443\u0434\u0435\u0442 \u0442\u0430 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0430, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0440\u0430\u043d\u0435\u0435. \u0412 \u043c\u043e\u0434\u0443\u043b\u044c \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u043d\u0438\u043a\u043d\u0435\u0439\u043c \u0438\u0433\u0440\u043e\u043a\u0430 \u0438 \u0432\u0441\u0435. \u0414\u0430\u043b\u044c\u0448\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0449\u0435\u0442 \u0444\u0430\u0439\u043b, \u0438 \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u0435\u0441\u0442\u044c, \u0434\u0430\u0435\u0442 \u0438\u0433\u0440\u043e\u043a\u0443 \u043f\u0440\u0435\u0434\u043c\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043f\u0438\u0441\u0430\u043d \u0432 \u0444\u0430\u0439\u043b\u0435.<\/p>\n<pre><code class=\"powershell\">powershell.exe -file &quot;C:\\mc.fern\\Start-MinecraftHandler.ps1&quot; -type $type -MinecraftPath $MinecraftPath | Tee-Object $LogFile -Append | ForEach-Object {                 #\u0422\u0430\u043a \u043a\u0430\u043a \u0441\u0442\u0440\u043e\u043a\u0430 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0432 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u0435,\u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0435\u0451 \u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u043c \u0432\u043e\u0442 \u043e\u0431\u0440\u0430\u0437\u043e\u043c.         Write-host $_              #\u041a\u043b\u0430\u0441\u0441 Regex \u0441\u0430\u043c \u043e\u043f\u043e\u0432\u0435\u0441\u0442\u0438\u0442 \u043d\u0430\u0441 \u043e \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0438         if ($true -eq $Regex.Matches($_).Success) {                          #\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0432\u0441\u0435 \u043b\u0438\u0448\u043d\u0435 \u0438 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0438\u043a \u0438\u0433\u0440\u043e\u043a\u0430             $Player = $Regex.Matches($_).value -replace &quot;of player &quot;                          #\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u0439\u0434\u0435\u0442 \u043f\u043b\u0430\u0442\u0435\u0436 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0441\u0442 \u0438\u0433\u0440\u043e\u043a\u0443 \u043f\u0440\u0435\u0434\u043c\u0435\u0442             Complete-Payment -Player $Player         }     } <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043c\u043e\u0434\u0443\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u043f\u043b\u0430\u0442\u0435\u0436, \u0442\u043e \u0435\u0441\u0442\u044c, \u043e\u0442\u0434\u0430\u0435\u0442 \u0438\u0433\u0440\u043e\u043a\u0443 \u043f\u0440\u0435\u0434\u043c\u0435\u0442. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u043f\u0430\u043f\u043a\u0435 \/Payments\/Pending\/ \u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u0449\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 \u043d\u0438\u043a \u0438\u0433\u0440\u043e\u043a\u0430 \u0437\u0430\u0448\u0435\u0434\u0448\u0435\u0433\u043e \u0432 \u0438\u0433\u0440\u0443 \u0438 \u0447\u0438\u0442\u0430\u0435\u0442 \u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0435\u0451 \u0442\u0443\u0434\u0430. \u0421\u043e\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430. \u041d\u0438\u043a \u0438\u0433\u0440\u043e\u043a\u0430 \u043c\u044b \u0437\u043d\u0430\u0435\u043c, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430 \u0438 \u0435\u0433\u043e ID \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0438, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0448\u0442\u0443\u043a \u0442\u043e\u0436\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0438, \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0441\u0435\u0440\u0432\u0435\u0440. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/github.com\/Tiiffi\/mcrcon\">mcrcon<\/a>.<\/p>\n<pre><code class=\"powershell\">#\u041d\u0430\u0445\u043e\u0434\u0438\u043c \u0444\u0430\u0439\u043b \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u043d\u0438\u043a \u0438\u0433\u0440\u043e\u043a\u0430     $JsonPath = Join-Path $MinecraftPath\\payments\\Pending -ChildPath $Player*     $i = $JsonPath | Get-Item | Where-Object { !$_.PSIsContainer } | Get-Content | ConvertFrom-Json -ErrorVariable Errored       #\u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u0431\u044b\u043b \u043d\u0430\u0439\u0434\u0435\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u0437\u0430\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f     if ($null -ne $i) {           #\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443          $Command = '&quot;' + &quot;give &quot; + $i.Player + &quot; &quot; + $i.Item + &quot; &quot; + $i.Quantity + '&quot;'         Write-host $Command -ForegroundColor Green              #\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440         Start-Process -FilePath mcrcon.exe -ArgumentList &quot;-H localhost -p 123 -w 5 $Command&quot;              #\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0443\u0442\u044c, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043d\u0430\u0448 \u043e\u0431\u044a\u0435\u043a\u0442 \u0431\u0443\u0434\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d         $JsonPath = Join-Path $MinecraftPath\\payments\\Pending -ChildPath $FileName                  #\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u0434\u0436\u0438\u0441\u043e\u043d\u0438\u043d\u0443         $i | ConvertTo-Json | Out-File $JsonPath              #\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044b\u0439 \u043f\u043b\u0430\u0442\u0435\u0436 \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u043f\u0430\u043f\u043a\u0443         Move-Item  -Path $JsonPath -Destination $MinecraftPath\\payments\\Completed     } <\/code><\/pre>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u041e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u043c \u044d\u0442\u043e \u0432\u0441\u0435 \u0432 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c<\/font><\/h3>\n<p>  \u0414\u043b\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 Java \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 WebListener \u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u043e\u0442\u043e\u043a\u0438, \u043d\u043e \u0430\u0432\u0442\u043e\u0440\u0430 \u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u043d\u0443\u0436\u0434\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e WebListener \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u0435\u0440\u0432\u0435\u0440. \u0410\u0432\u0442\u043e\u0440 \u0445\u043e\u0447\u0435\u0442 \u0432\u0441\u0435 \u0438 \u0441\u0440\u0430\u0437\u0443 \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439. <\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f Powershell 7, \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0438 \u0442\u043e \u0438 \u0442\u043e. \u0410 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043c:<\/p>\n<pre><code class=\"powershell\">ForEach-Object -Parallel {}<\/code><\/pre>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 inputObject, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043f\u043e\u0434\u0430\u0435\u043c \u043d\u0430 \u043d\u0435\u0433\u043e \u043d\u0435\u0437\u0430\u043c\u044b\u0441\u043b\u043e\u0432\u0430\u0442\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432, \u0430 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u043e\u0442\u043e\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0432\u0438\u0442\u0447\u0430.<\/p>\n<pre><code class=\"powershell\">&quot;A&quot;, &quot;B&quot; | ForEach-Object -Parallel {       Import-Module &quot;.\\Start-Minecraft.ps1&quot;       Import-Module &quot;.\\Start-WebListener.ps1&quot;       switch ($_) {         &quot;A&quot; {             Start-WebListener -Path &quot;C:\\mc\\&quot;         }         &quot;B&quot; {             Start-Minecraft -Type Vanilla -LogFile &quot;.\\stdout.txt&quot; -MinecraftPath &quot;C:\\mc\\&quot;         }              } } <\/code><\/pre>\n<p>  \u0422\u0430\u043a\u0438\u043c \u0432\u043e\u0442 \u043a\u043e\u0441\u0442\u044b\u043b\u044c\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0434\u0432\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 \u0438 \u0434\u0430\u0436\u0435 \u043d\u0435 \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u0438 \u0438\u043d\u043f\u0443\u0442. \u041d\u043e \u0442\u0443\u0442 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0435\u0449\u0435 \u043e\u0434\u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430. WebListener \u043b\u043e\u0447\u0438\u0442 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043f\u043e\u0441\u043b\u0435 \u0448\u0442\u0430\u0442\u043d\u043e\u0439 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442 \u0443\u0445\u043e\u0434\u0438\u0442\u044c.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u0432 Start-MinecraftHandler.ps1 \u0438 \u0432 Start-WebListener.ps1 \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e POST \u043d\u0430 WebListener. <\/p>\n<p>  Start-MinecraftHandler.ps1, \u043a\u043e\u0433\u0434\u0430 \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre><code class=\"powershell\">Invoke-WebRequest -Method Post -Uri localhost -Body $StopToken | Out-Null<\/code><\/pre>\n<p>  $StopToken \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438 \u0432 Listener \u0438 \u0432 Handler. Listener \u0441\u043c\u043e\u0442\u0440\u0438\u0442, \u0447\u0442\u043e \u0435\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0442\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 $StopToken.<\/p>\n<pre><code class=\"powershell\">if ($DecodedContent -eq $StopToken) {         Write-Host &quot;Stopping WebListener&quot;         $context.Response.Headers.Add(&quot;Content-Type&quot;, &quot;text\/plain&quot;)         $context.Response.StatusCode = 200         $ResponseBuffer = [System.Text.Encoding]::UTF8.GetBytes(&quot;&quot;)         $context.Response.ContentLength64 = $ResponseBuffer.Length         $context.Response.OutputStream.Write($ResponseBuffer, 0, $ResponseBuffer.Length)         $context.Response.Close()         $http.Close()         break       } <\/code><\/pre>\n<p>  \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e, \u043e \u0442\u043e\u043a\u0435\u043d\u0435 \u0437\u043d\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u0431\u043e\u043b\u0435\u0435 \u043d\u0438\u043a\u0442\u043e. \u0412\u0441\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0438\u0437 \u043f\u043e\u0434 PowerShell 7, \u0430 \u043f\u0443\u0442\u044c \u043a \u043c\u043e\u0434\u0443\u043b\u044f\u043c \u0434\u043b\u044f PowerShell 7 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0443\u0442\u0438 \u0432 Windows Powershell. \u0412\u0441\u0435 \u0431\u044b\u043b\u043e \u0441\u043b\u043e\u0436\u0435\u043d\u043e \u0441\u044e\u0434\u0430. \u0418\u043c\u0435\u0439\u0442\u0435 \u0432 \u0432\u0438\u0434\u0443 \u043f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u0432\u043e\u0438\u0445 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445.<\/p>\n<pre><code class=\"powershell\">C:\\Program Files\\PowerShell\\7\\Modules<\/code><\/pre>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u0414\u0435\u043b\u0430\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b<\/font><\/h3>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0432\u0441\u0435\u043c \u044d\u0442\u0438\u043c \u0431\u0435\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0435\u0437 \u0441\u0438\u043b\u044c\u043d\u043e\u0439 \u0433\u043e\u043b\u043e\u0432\u043d\u043e\u0439 \u0431\u043e\u043b\u0438, \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b. \u0424\u0430\u0439\u043b \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0441\u0435\u0431\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e. \u0426\u0435\u043f\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0444\u0438\u0433 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e:<\/p>\n<pre><code class=\"powershell\">Import-Module $MinecraftPath\\config.ps1 -Force<\/code><\/pre>\n<p>  \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435. \u0414\u043e\u043c\u0435\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0449\u0435\u0442 \u043d\u0438\u043a \u0438\u0433\u0440\u043e\u043a\u0430, \u0438\u0431\u043e \u043e\u0442 \u0432\u0435\u0440\u0441\u0438\u0438 \u043a \u0432\u0435\u0440\u0441\u0438\u0438 \u0432\u044b\u0432\u043e\u0434 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u043c, \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 rcon.<\/p>\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u043d \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"powershell\">#\u0414\u043e\u043c\u0435\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0441\u043b\u0443\u0448\u0430\u0442\u044c $DomainName = &quot;localhost&quot;   #\u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u0432\u0445\u043e\u0434 \u0438\u0433\u0440\u043e\u043a\u0430 \u0432 \u0438\u0433\u0440\u0443 #\u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0439\u0442\u0435, \u0435\u0441\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 $RegExp = &quot;of player ([^ ]+)&quot; #\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0443, \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0440\u0435\u0437\u0430\u0442\u044c \u0432\u0441\u0435, \u043a\u0440\u043e\u043c\u0435 \u043d\u0438\u043a\u0430. $RegExpCut = &quot;of player &quot;   #\u041f\u0430\u0440\u043e\u043b\u044c \u043e\u0442 rcon, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0437\u0430\u0434\u0430\u043d \u0432 server.properties $rconPassword = &quot;123&quot;<\/code><\/pre>\n<p>  \u041f\u043e\u043c\u0435\u0449\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433 \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u0449\u0435\u0442 \u0435\u0433\u043e \u0432 \u043a\u043e\u0440\u043d\u0435 -MinecraftPath<\/p>\n<h3><font color=\"#3AC1EF\">\u041a\u0430\u043a \u0432\u0441\u0435\u043c \u044d\u0442\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f?<\/font><\/h3>\n<p>  \u0412 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u044d\u0442\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0438 \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0432 \u043c\u0430\u0440\u043a\u0435\u0442\u043f\u043b\u0435\u0439\u0441\u0435 <a href=\"https:\/\/ruvds.com\/ru-rub\/marketplace\/minecraft\">Ruvds<\/a>, \u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u0435\u0449\u0435 \u043d\u0435 \u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 \u043d\u0435 \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 \u043e\u0431\u0440\u0430\u0437, \u0432\u043e\u0442 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 <a href=\"https:\/\/github.com\/nneeoo\/Start-Minecraft\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/a>, \u043d\u0435 \u0441\u0442\u0435\u0441\u043d\u044f\u0439\u0442\u0435\u0441\u044c \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442\u044c.\u00a0<\/p>\n<ol>\n<li><a href=\"https:\/\/github.com\/PowerShell\/PowerShell\/releases\/tag\/v7.0.0\">\u0421\u043a\u0430\u0447\u0430\u0439\u0442\u0435<\/a> \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 PowerShell 7  <\/li>\n<li>\u0421\u043a\u0430\u0447\u0430\u0439\u0442\u0435 \u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u0443\u0439\u0442\u0435 \u0430\u0440\u0445\u0438\u0432 \u0441 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438  <\/li>\n<\/ol>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c. \u0427\u0442\u043e \u0436\u0435 \u043e\u043d\u0438 \u0434\u0435\u043b\u0430\u044e\u0442?<\/p>\n<h3><font color=\"#3AC1EF\">Start-Minecraft<\/font><\/h3>\n<p>  \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<p>  <b>-Type<\/b><br \/>  Forge \u0438\u043b\u0438 Vanilla. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 \u043b\u0438\u0431\u043e \u0441 Server.Jar, \u043b\u0438\u0431\u043e Forge, \u0432\u044b\u0431\u0438\u0440\u0430\u044f \u0441\u0430\u043c\u0443\u044e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0435\u0441\u0442\u044c \u0432 \u043f\u0430\u043f\u043a\u0435.<\/p>\n<p>  <b>-MinecraftPath<\/b><br \/>  \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043f\u0430\u043f\u043a\u0443, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<p>  <b>-LogFile<\/b><br \/>  \u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0431\u043e\u0440\u0430 \u043b\u043e\u0433\u043e\u0432. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0444\u0430\u0439\u043b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0435, \u0447\u0442\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438.<\/p>\n<p>  <b>-StartPaymentListener<\/b><br \/>  \u0412\u043c\u0435\u0441\u0442\u0435 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0438 \u043f\u0440\u0438\u0435\u043c \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439. \u0421\u0430\u043c \u043f\u0440\u0438\u0435\u043c \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043a\u0430\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c. \u0417\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442 Start-Weblistener<\/p>\n<h3><font color=\"#3AC1EF\">Start-Weblistener<\/font><\/h3>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u0440\u0438\u0435\u043c\u0430 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439.<\/p>\n<p>  <b>-MinecraftPath<\/b><br \/>  \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043f\u0430\u043f\u043a\u0443 \u0441 \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b\u043e\u043c.<\/p>\n<p>  <b>-StopToken<\/b><br \/>  \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 -Body HTTP POST \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 WebListener\u2019a.<\/p>\n<h3><font color=\"#3AC1EF\">\u0412\u044b\u0432\u043e\u0434:<\/font><\/h3>\n<p>  \u041d\u0443 \u0438 \u0447\u0443\u0434\u0435\u0441\u0430 \u0436\u0435 \u0441\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f.<\/p>\n<p>  <a href=\"http:\/\/ruvds.com\/ru-rub\/?utm_source=habr&amp;utm_medium=article&amp;utm_campaign=machekhin&amp;utm_content=platezhi-minecraft-povershell\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/a_\/bs\/aa\/a_bsaactpbr8fltzymtkhqbw1d4.png\"><\/a><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/501568\/\"> https:\/\/habr.com\/ru\/company\/ruvds\/blog\/501568\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/501568\/\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/501568\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pc\/hh\/se\/pchhsenr29snjnzmnfro-xdfjug.jpeg\"><\/div>\n<p><\/a><br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043c \u0431\u043e\u0433\u043e\u043c\u0435\u0440\u0437\u043a\u0438\u0439 \u0434\u043e\u043d\u0430\u0442 \u043a \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 Minecraft \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Powershell. \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u0430\u0439\u043d\u043a\u0440\u0430\u0444\u0442 \u044d\u0442\u043e \u043b\u0438\u0448\u044c \u0447\u0430\u0441\u0442\u043d\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434. \u041c\u044b \u043b\u0438\u0448\u044c \u0441\u043b\u0443\u0448\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0430\u043c \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0435\u0442 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0438 \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u044d\u0442\u043e \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443. \u0418 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2013 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432.<br \/>  \u0410 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0447\u0435\u0440\u0435\u0437 PayPal. \u0421\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043a\u043e\u0434, PayPal \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u043d\u0430\u043c \u0432\u0441\u0435 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e. \u041d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043a\u043d\u043e\u043f\u043a\u0438, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0447\u0438\u0441\u0442\u044b\u043c HTML. \u0410\u0431\u0441\u0442\u0440\u0430\u0433\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043e\u0442 \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u0435\u0439 \u0441\u0430\u043c\u043e\u0439 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0441\u043a\u043e\u043d\u0446\u0435\u043d\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u0430\u0445 \u0432 \u043a\u043e\u0434\u0435.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-303433","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/303433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=303433"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/303433\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=303433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=303433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=303433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}