From 46f44950a9592f9c19057d42e135125fd805c634 Mon Sep 17 00:00:00 2001 From: Yamato Date: Sun, 19 Jan 2025 23:42:21 +0100 Subject: [PATCH 1/4] Fix Link --- .github/documentation/GettingStarted.md | 4 ++-- .github/documentation/localization/GettingStarted-BR.md | 4 ++-- .github/documentation/localization/GettingStarted-FR.md | 2 +- .github/documentation/localization/GettingStarted-KR.md | 4 ++-- .../GettingStarted-\340\271\204\340\270\227\340\270\242.md" | 4 ++-- .github/documentation/localization/README-BR.md | 4 ++-- .github/documentation/localization/README-CS.md | 4 ++-- .github/documentation/localization/README-DE.md | 4 ++-- .github/documentation/localization/README-DK.md | 4 ++-- .github/documentation/localization/README-ES.md | 4 ++-- .github/documentation/localization/README-FR.md | 4 ++-- .github/documentation/localization/README-IT.md | 4 ++-- .github/documentation/localization/README-KR.md | 4 ++-- .github/documentation/localization/README-PL.md | 4 ++-- .github/documentation/localization/README-TR.md | 4 ++-- ...20\240\321\203\321\201\321\201\320\272\320\270\320\271.md" | 4 ++-- .../README-\340\271\204\340\270\227\340\270\242.md" | 4 ++-- .../localization/README-\344\270\255\346\226\207.md" | 4 ++-- 18 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/documentation/GettingStarted.md b/.github/documentation/GettingStarted.md index ae7685374e..468b2e87b4 100644 --- a/.github/documentation/GettingStarted.md +++ b/.github/documentation/GettingStarted.md @@ -12,7 +12,7 @@ It also allows plugin developers to not have to change their code after every up This documentation will show you the bare basics of making an Exiled Plugin. From here you can start showing the world what creative things you can make with this framework! ### Example Plugin -The [Example Plugin](https://github.com/ExMod-Team/EXILED/tree/master/Exiled.Example) which is a simple plugin that shows off events and how to properly make them. Using this example will help you learn how to properly use Exiled. There are a couple of things in that plugin that are important, lets talk about them +The [Example Plugin](https://github.com/ExMod-Team/EXILED/tree/master/EXILED/Exiled.Example) which is a simple plugin that shows off events and how to properly make them. Using this example will help you learn how to properly use Exiled. There are a couple of things in that plugin that are important, lets talk about them #### On Enable + On Disable Dynamic Updates Exiled is a framework that has a **Reload** command which can be used to reload all the plugins and get new ones. This means you must make your plugins **Dynamically Updatable.** This means that every variable, event, coroutine, etc *must* be assigned when enabled and nullified when disabled. The **On Enable** method should enable it all, and the **On Disable** method should disable it all. But you might be wondering what about **On Reload**? That void is meant to carry over static variables, as in every static constant you make won't be wiped. So you could do something like this: @@ -203,4 +203,4 @@ If you want more information you should join our [discord!](https://discord.gg/P We have a #resources channel that you might find useful, as well as exiled contributors and plugin developers who would be willing to assist you in the creation of your plugin(s). -Or you could read all the events that we have! If you want to check them out [here!](https://github.com/ExMod-Team/EXILED/tree/master/Exiled.Events/EventArgs) +Or you could read all the events that we have! If you want to check them out [here!](https://github.com/ExMod-Team/EXILED/tree/master/EXILED/Exiled.Events/EventArgs) diff --git a/.github/documentation/localization/GettingStarted-BR.md b/.github/documentation/localization/GettingStarted-BR.md index 1693c2c156..37b5f5b4f8 100644 --- a/.github/documentation/localization/GettingStarted-BR.md +++ b/.github/documentation/localization/GettingStarted-BR.md @@ -12,7 +12,7 @@ Isso também permite que desenvolvedores de plug-in não precisem atualizar seus Esse documento mostrará a você os básicos de como se fazer um Plug-in para o Exiled. A partir daqui, você poderá mostrar ao mundo as coisas criativas que você pode criar com essa framework! ### Exemplo de Plug-in -Um [Exemplo de Plug-in](https://github.com/ExMod-Team/EXILED/tree/master/Exiled.Example) que é um plug-in simples que mostra eventos e como fazer eles adequadamente. Usar esse exemplo ajudará você a aprender a como usar o Exiled apropriadamente. Há alguns aspectos nesse plug-in que são importantes, falaremos sobre eles. +Um [Exemplo de Plug-in](https://github.com/ExMod-Team/EXILED/tree/master/EXILED/Exiled.Example) que é um plug-in simples que mostra eventos e como fazer eles adequadamente. Usar esse exemplo ajudará você a aprender a como usar o Exiled apropriadamente. Há alguns aspectos nesse plug-in que são importantes, falaremos sobre eles. #### Atualizações Dinâmicas em On Enable + On Disable Exiled é uma framework que tem um comando de **Reload** que pode ser usado para recarregar todos os plug-ins e obter novos. Isso significa que você deve fazer com que seus plug-ins sejam **Dinamicamente Atualizáveis.** Isso significa que toda variável, evento, corrotina, etc *deve* ser atribuída quando ativada e anulada quando desativada. O método **On Enable** deve ativar todos, e o método **On Disable** deve desativar todos. Mas talvez você esteja se perguntando 'E o **On Reload**'? Essa função tem como objetivo carregar variáveis estáticas para que toda constante estática que você fizer não seja apagada. Então você poderia fazer algo assim: @@ -203,4 +203,4 @@ Se você quiser mais informações, você deve entrar no nosso [discord!](https: Nós temos um canal de #resources que você pode considerar útil, assim como colaboradores do EXILED e desenvolvedores de plug-in que estariam dispostos a ajudá-lo na criação de seus plug-ins. -Ou você poderia ler sobre todos os eventos que nós temos! Se você deseja verificá-los, veja [aqui!](https://github.com/ExMod-Team/EXILED/tree/master/Exiled.Events/EventArgs) +Ou você poderia ler sobre todos os eventos que nós temos! Se você deseja verificá-los, veja [aqui!](https://github.com/ExMod-Team/EXILED/tree/master/EXILED/Exiled.Events/EventArgs) diff --git a/.github/documentation/localization/GettingStarted-FR.md b/.github/documentation/localization/GettingStarted-FR.md index c0db7d8ff4..aadca36186 100644 --- a/.github/documentation/localization/GettingStarted-FR.md +++ b/.github/documentation/localization/GettingStarted-FR.md @@ -202,4 +202,4 @@ Si vous voulez plus d'informations, vous devriez rejoindre notre [discord!](http Nous avons un canal #resources que vous pourriez trouver utile, ainsi que des contributeurs Exiled et des développeurs de plugins qui seraient prêts à vous aider dans la création de votre/vos plugin(s). -Ou vous pourriez consulter tous les événements que nous avons ! Si vous voulez les consulter, [ici!](https://github.com/ExMod-Team/EXILED/tree/master/Exiled.Events/EventArgs) +Ou vous pourriez consulter tous les événements que nous avons ! Si vous voulez les consulter, [ici!](https://github.com/ExMod-Team/EXILED/tree/master/EXILED/Exiled.Events/EventArgs) diff --git a/.github/documentation/localization/GettingStarted-KR.md b/.github/documentation/localization/GettingStarted-KR.md index 31485ef97c..4a240e88cb 100644 --- a/.github/documentation/localization/GettingStarted-KR.md +++ b/.github/documentation/localization/GettingStarted-KR.md @@ -12,7 +12,7 @@ Exiled는 불필요한 부분 없이 게임에서 함수를 직접적으로 호 이 문서는 Exiled 플러그인을 만들기 위한 가장 기본적인 부분을 설명하고 있습니다. 여기서부터 Exiled와 함께 당신의 창의력으로 무엇이든지 만들어보세요! ### 플러그인 예제 -이 [플러그인 예제](https://github.com/ExMod-Team/EXILED/tree/master/Exiled.Example)는 이벤트를 사용하는 방법과 기본적인 구조를 설정하는 방법을 잘 나타내고 있습니다. 이것을 통해 Exiled를 제대로 사용하는 방법을 알 수 있으며, 이 플러그인 예제 안에는 몇 가지의 중요한 부분이 있습니다. 한번 볼까요? +이 [플러그인 예제](https://github.com/ExMod-Team/EXILED/tree/master/EXILED/Exiled.Example)는 이벤트를 사용하는 방법과 기본적인 구조를 설정하는 방법을 잘 나타내고 있습니다. 이것을 통해 Exiled를 제대로 사용하는 방법을 알 수 있으며, 이 플러그인 예제 안에는 몇 가지의 중요한 부분이 있습니다. 한번 볼까요? #### OnEnable + OnDisable 동적 업데이트 Exiled는 **Reload** 명령어를 통해 원래 있던 모든 플러그인과 새 플러그인들을 리로드 할 수 있습니다. 이 말은 여러분이 여러분들의 플러그인을 **동적으로 업데이트** 할 수 있게 만들어야 한다는 뜻입니다. 모든 변수, 이벤트, 코루틴 등등은 *무조건* 활성화되었을 때 할당되고 비활성화되었을 때 null이 되어야 합니다. **OnEnable** 메소드는 모든 것들을 활성화시켜야 하고, **OnDisable** 메소드는 모든 것을 비활성화시켜야 합니다. 그러면 **OnReload**는 뭘까요? 정적인 변수들은 리로드 될 때 지워지지 않으므로, 이 메소드는 변수들을 지워지게 놔두고 싶지 않을 때 사용합니다. 예를 들어: @@ -211,4 +211,4 @@ public override OnEnabled() #resources 채널에 들어가 유용한 정보들을 찾을 수 있으며, 여러분의 플러그인 개발을 기꺼이 도와줄 Exiled 기여자분들 또는 플러그인 개발자분들이 준비되어 있습니다. -...아니면 현재 존재하는 이벤트를 모두 읽고 싶으시다면 [여기](https://github.com/ExMod-Team/EXILED/tree/master/Exiled.Events/EventArgs)를 클릭해주세요! +...아니면 현재 존재하는 이벤트를 모두 읽고 싶으시다면 [여기](https://github.com/ExMod-Team/EXILED/tree/master/EXILED/Exiled.Events/EventArgs)를 클릭해주세요! diff --git "a/.github/documentation/localization/GettingStarted-\340\271\204\340\270\227\340\270\242.md" "b/.github/documentation/localization/GettingStarted-\340\271\204\340\270\227\340\270\242.md" index 947fedf4fc..a1f65b16d9 100644 --- "a/.github/documentation/localization/GettingStarted-\340\271\204\340\270\227\340\270\242.md" +++ "b/.github/documentation/localization/GettingStarted-\340\271\204\340\270\227\340\270\242.md" @@ -12,7 +12,7 @@ Exiled เป็น API ระดับต่ำ ซึ่งหมายคว เอกสารนี้จะแสดงพื้นฐานเบื้องต้นของการสร้าง Exiled Plugin จากที่นี่. คุณสามารถเริ่มแสดงให้โลกเห็นว่าคุณสร้างสรรค์สิ่งสร้างสรรค์อะไรได้บ้างด้วยเฟรมเวิร์กนี้! ### ตัวอย่างปลั๊กอิน -นี้คือ [ตัวอย่างปลั๊กอิน](https://github.com/ExMod-Team/EXILED/tree/master/Exiled.Example) ซึ่งเป็นปลั๊กอินง่ายๆ ที่แสดงอีเวนท์ต่างๆ และวิธีสร้างอีเวนท์อย่างเหมาะสม. การใช้ตัวอย่างนี้จะช่วยให้คุณเรียนรู้วิธีใช้ Exiled ได้อย่างถูกต้อง. มีสองสิ่งที่สำคัญในปลั๊กอินนั้น, มาพูดถึงกันดีกว่า +นี้คือ [ตัวอย่างปลั๊กอิน](https://github.com/ExMod-Team/EXILED/tree/master/EXILED/Exiled.Example) ซึ่งเป็นปลั๊กอินง่ายๆ ที่แสดงอีเวนท์ต่างๆ และวิธีสร้างอีเวนท์อย่างเหมาะสม. การใช้ตัวอย่างนี้จะช่วยให้คุณเรียนรู้วิธีใช้ Exiled ได้อย่างถูกต้อง. มีสองสิ่งที่สำคัญในปลั๊กอินนั้น, มาพูดถึงกันดีกว่า #### On Enable + On Disable Dynamic Updates Exiled เป็นเฟรมเวิร์กที่มีคำสั่ง **Reload** ซึ่งสามารถใช้เพื่อรีโหลดปลั๊กอินทั้งหมดและโหลดปลั๊กอินใหม่. ซึ่งหมายความว่าคุณต้องทำให้ปลั๊กอินของคุณ **Dynamically Updatable.** ซึ่งหมายความว่าทุกตัวแปร, อีเวนท์, coroutine, ฯลฯ *ต้อง* ได้รับการกำหนดเมื่อเปิดใช้งาน และจะเป็น nullified เมื่อปิดใช้งาน. วิธี **On Enable** ควรเปิดใช้งานทั้งหมด, และวิธีการ **เปิดปิดใช้งาน** ควรปิดใช้งานทั้งหมด. แต่คุณอาจสงสัยว่า **On Reload** เป็นอย่างไร? void นั้นมีไว้เพื่อส่งต่อตัวแปรคงที่, เนื่องจากค่าคงที่คงที่ทุกค่าที่คุณสร้างจะไม่ถูกล้าง. ดังนั้นคุณสามารถทำสิ่งนี้ได้: @@ -204,4 +204,4 @@ public class EventHandlers เรามีช่อง #dev-resources ที่คุณอาจพบว่ามีประโยชน์, เช่นเดียวกับผู้มีส่วนร่วมที่ Exiled และนักพัฒนาปลั๊กอินที่ยินดีช่วยเหลือคุณในการสร้างปลั๊กอินของคุณ. -หรือคุณสามารถอ่านอีเวนท์ทั้งหมดที่เรามี! คุณสามารถที่จะตรวจสอบได้จาก [ตรงนี้!](https://github.com/ExMod-Team/EXILED/tree/master/Exiled.Events/EventArgs) \ No newline at end of file +หรือคุณสามารถอ่านอีเวนท์ทั้งหมดที่เรามี! คุณสามารถที่จะตรวจสอบได้จาก [ตรงนี้!](https://github.com/ExMod-Team/EXILED/tree/master/EXILED/Exiled.Events/EventArgs) \ No newline at end of file diff --git a/.github/documentation/localization/README-BR.md b/.github/documentation/localization/README-BR.md index 7a77ea7a2e..e6f6102b89 100644 --- a/.github/documentation/localization/README-BR.md +++ b/.github/documentation/localization/README-BR.md @@ -23,7 +23,7 @@ A instalação do EXILED é bastante simples. Ele se carrega por meio da API de Se você optar por usar o instalador, se executado corretamente, ele cuidará de instalar todos os recursos do EXILED. # Windows -### Instalação automática ([mais informações](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Instalação automática ([mais informações](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Nota**: Verifique se você está conectado ao usuário que executa o servidor ou se possui privilégios de administrador antes de executar o Instalador. - Baixe o **`Exiled.Installer-Win.exe` [daqui](https://github.com/ExMod-Team/EXILED/releases)** (clique em Assets -> clique no Instalador) @@ -49,7 +49,7 @@ Se você optar por usar o instalador, se executado corretamente, ele cuidará de - Mova-o para: ``C:\Users\%NomeDoUsuário%\AppData\Roaming\EXILED\Plugins`` (mova-se para cá pressionando Win + R e, em seguida, escrevendo `%appdata%`) # Linux -### Instalação automática ([mais informações](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Instalação automática ([mais informações](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Nota:** Se você estiver instalando o EXILED em um servidor remoto, certifique-se de executar o instalador como o mesmo usuário que executa seus servidores de SCP:SL (ou root) diff --git a/.github/documentation/localization/README-CS.md b/.github/documentation/localization/README-CS.md index 918702cc46..a5cf445a03 100644 --- a/.github/documentation/localization/README-CS.md +++ b/.github/documentation/localization/README-CS.md @@ -23,7 +23,7 @@ Instalace EXILED je poměrně jednoduchá. Načítá se prostřednictvím rozhra Pokud se rozhodnete použít instalační program, postará se při správném spuštění o instalaci všech funkcí EXILED. # Windows -### Automatická instalace ([více informací](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Automatická instalace ([více informací](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Poznámka:**: Před spuštěním instalačního programu se ujistěte, že jste uživatelem, který provozuje server, nebo že máte oprávnění správce. - Stáhněte **`Exiled.Installer-Win.exe` [odsud](https://github.com/ExMod-Team/EXILED/releases)** (Klikněte na Assets -> klikněte na Instalátor) @@ -49,7 +49,7 @@ To je vše, EXILED by nyní měl být nainstalován a aktivní při příštím - Přesuňte jej do: ``C:\Users\%UserName%\AppData\Roaming\EXILED\Plugins`` (dostaňte se sem stiskem Win + R, a pak psaním `%appdata%`) # Linux -### Automatická instalace ([více informací](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Automatická instalace ([více informací](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Poznámka:** Pokud instalujete EXILED na vzdálený server, ujistěte se, že jste instalátor spustili jako stejný uživatel, který spouští servery SCP:SL (nebo jako root). diff --git a/.github/documentation/localization/README-DE.md b/.github/documentation/localization/README-DE.md index ca35de2fc5..973861a7c9 100644 --- a/.github/documentation/localization/README-DE.md +++ b/.github/documentation/localization/README-DE.md @@ -23,7 +23,7 @@ Die Installation von EXILED ist ziemlich einfach. Es lädt sich selbst über Nor Wenn Sie den Installer verwenden, wird er, wenn er korrekt ausgeführt wird, sich um die Installation aller EXILED-Funktionen kümmern. # Windows -### Automatische Installation ([mehr Informationen](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Automatische Installation ([mehr Informationen](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Hinweis**: Stellen Sie sicher, dass Sie als Benutzer, der den Server ausführt, angemeldet sind, oder Sie Adminrechte haben, bevor Sie den Installer ausführen. - Laden Sie den **`Exiled.Installer-Win.exe` [hier](https://github.com/ExMod-Team/EXILED/releases)** herunter (klicken Sie auf Assets -> klicken Sie auf den Installer) @@ -49,7 +49,7 @@ Das war's, EXILED sollte nun installiert sein und beim nächsten Start Ihres Ser - Verschieben Sie es nach: ``C:\Users\%UserName%\AppData\Roaming\EXILED\Plugins`` (bewegen Sie sich hierhin, indem Sie Win + R drücken, dann `%appdata%` schreiben) # Linux -### Automatische Installation ([mehr Informationen](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Automatische Installation ([mehr Informationen](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Hinweis:** Wenn Sie EXILED auf einem Remote-Server installieren, stellen Sie sicher, dass Sie den Installer als denselben Benutzer ausführen, der Ihre SCP:SL-Server ausführt (oder root) diff --git a/.github/documentation/localization/README-DK.md b/.github/documentation/localization/README-DK.md index d279bb04d3..97b79664e5 100644 --- a/.github/documentation/localization/README-DK.md +++ b/.github/documentation/localization/README-DK.md @@ -23,7 +23,7 @@ Installation af EXILED er ganske enkel. Den indlæser sig selv gennem NW Plugin Hvis du vælger at bruge installationsprogrammet, vil det, hvis det køres korrekt, sørge for at installere alle EXILED-funktioner. # Windows -### Automatisk installation ([mere information](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Automatisk installation ([mere information](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Note**: Sørg for, at du er på den bruger, der kører serveren, eller at du har administratorrettigheder, før du kører installationsprogrammet. - Download **`Exiled.Installer-Win.exe` [herfra](https://github.com/ExMod-Team/EXILED/releases)** (klik på Assets -> klik på Installer) - Placer den i din servermappe (download den dedikerede server, hvis du ikke har gjort det). @@ -46,7 +46,7 @@ Det var det, EXILED skulle nu være installeret og aktiv, næste gang du starter - Download et plugin fra [*deres* udgivelsesside](https://i.imgur.com/u34wgPD.jpg) (**det SKAL være en `.dll`!**) - Flyt det til: ``C:\Users\(Your_User)\AppData\Roaming\EXILED\Plugins`` (flyt den hertil ved at trykke Win + R, og skriv derefter `%appdata%`) # Linux -### Automatisk installation ([mere information](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Automatisk installation ([mere information](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Bemærk:** Hvis du installerer EXILED på en fjernserver, skal du sørge for at køre installationsprogrammet som den samme bruger, der kører dine SCP:SL-servere (eller root). diff --git a/.github/documentation/localization/README-ES.md b/.github/documentation/localization/README-ES.md index 9e91168017..a11b9334a2 100644 --- a/.github/documentation/localization/README-ES.md +++ b/.github/documentation/localization/README-ES.md @@ -24,7 +24,7 @@ La instalación de EXILED es, en realidad, muy simple. Se carga por sí solo por Si eliges el instalador automático (si se ejecuta correctamente) se encargará de instalar todas las funcionalidades de EXILED. # Windows -### Instalación automática ([más información](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Instalación automática ([más información](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Nota:** Asegurate de que estás en el usuario que ejecuta el servidor o tiene privilegios de administrador antes de iniciar el Instalador. - Descarga **`Exiled.Installer-Win.exe` [de aquí](https://github.com/ExMod-Team/EXILED/releases)** (selecciona Assets -> descarga el Instalador). @@ -50,7 +50,7 @@ Si eliges el instalador automático (si se ejecuta correctamente) se encargará - Colócalo en: ``C:\Users\%UserName%\AppData\Roaming\EXILED\Plugins`` (muévete a esta carpeta presionando Win + R, después escribiendo `%appdata%`) # Linux -### Instalación automática ([más información](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Instalación automática ([más información](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Nota:** Si estás instalando EXILED en un servidor remoto, asegúrate de que inicias el Instalador con el mismo usuario que ejecuta el servidor de SCP: SL (o con root) diff --git a/.github/documentation/localization/README-FR.md b/.github/documentation/localization/README-FR.md index 4ac46bd967..33ce9dbc25 100644 --- a/.github/documentation/localization/README-FR.md +++ b/.github/documentation/localization/README-FR.md @@ -23,7 +23,7 @@ L'installation d'EXILED est assez simple. Il se charge via la PluginAPI de North Si vous choisissez d'utiliser l'installateur, il se chargera, s'il est exécuté correctement, d'installer toutes les fonctionnalités d'EXILED. # Windows -### Installation automatique ([plus d'informations](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Installation automatique ([plus d'informations](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Note**: Assurez-vous d'être connecté en tant qu'utilisateur exécutant le serveur, ou que vous disposez de privilèges Admin avant d'exécuter l'installateur. - Téléchargez **`Exiled.Installer-Win.exe` [ici](https://github.com/ExMod-Team/EXILED/releases)** (cliquez sur "Assets" -> cliquez sur "Installer") @@ -49,7 +49,7 @@ C'est tout, EXILED devrait maintenant être installé et actif la prochaine fois - Déplacer vers: ``C:\Users\%UserName%\AppData\Roaming\EXILED\Plugins`` (pour y accéder, appuyez sur Win + R, puis écrivez `%appdata%`) # Linux -### Installation automatique ([plus d'informations](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Installation automatique ([plus d'informations](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Note:** Si vous installez EXILED sur un serveur distant, assurez-vous d'exécuter l'installateur avec l'utilisateur qui exécute vos serveurs SCP:SL (ou en tant que root). diff --git a/.github/documentation/localization/README-IT.md b/.github/documentation/localization/README-IT.md index 8099a9519c..a00c9f4162 100644 --- a/.github/documentation/localization/README-IT.md +++ b/.github/documentation/localization/README-IT.md @@ -22,7 +22,7 @@ Tutti gli eventi di EXILED sono scritti con Harmony, il che significa che non è L'installazione di EXILED è piuttosto semplice. Si carica tramite l'API del plugin NW. Per questo motivo, ci sono due cartelle all'interno del file ``Exiled.tar.gz `` nei file di rilascio. ``SCP Secret Laboratory `` contiene i file necessari per caricare le funzionalità di EXILED nella cartella ``EXILED ``. Detto questo, tutto ciò che devi fare è spostare queste due cartelle nel percorso appropriato, che viene spiegato di seguito, ed è fatto! # Windows -### Installazione automatica ([maggiori informazioni](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Installazione automatica ([maggiori informazioni](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Nota**: Assicurati di essere connesso con l'utente che esegue il server o di avere i privilegi di amministratore prima di eseguire l'Installer. - Scarica **`Exiled.Installer-Win.exe` [da qui](https://github.com/ExMod-Team/EXILED/releases)** (clicca su Assets -> clicca sull'Installer) @@ -49,7 +49,7 @@ Con questo, EXILED dovrebbe ora essere installato e attivo la prossima volta che - Spostalo su: ``C:\Users\%UserName%\AppData\Roaming\EXILED\Plugins`` (sposta qui premendo Win + R, quindi scrivendo `%appdata%`) # Linux -### Installazione automatica ([maggiori informazioni](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Installazione automatica ([maggiori informazioni](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Nota:** Se stai installando EXILED su un server remoto, assicurati di eseguire l'Installer come lo stesso utente che avvia i tuoi server SCP:SL (o con privilegi di root). diff --git a/.github/documentation/localization/README-KR.md b/.github/documentation/localization/README-KR.md index 15437a8a1b..a70baf4a5f 100644 --- a/.github/documentation/localization/README-KR.md +++ b/.github/documentation/localization/README-KR.md @@ -24,7 +24,7 @@ EXILED의 설치 과정은 상당히 간단합니다. 노스우드의 Plugin API # Windows -### 설치 프로그램 사용 ([설치 프로그램 설명 (영어)](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### 설치 프로그램 사용 ([설치 프로그램 설명 (영어)](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **주의사항**: 설치 프로그램을 사용하기 전에, SCP: 비밀 연구소 서버를 실행할 유저와 같은 유저인지, 또는 관리자 권한을 가진 유저인지 확인해주세요. @@ -55,7 +55,7 @@ EXILED의 설치 과정은 상당히 간단합니다. 노스우드의 Plugin API # 리눅스 -### 설치 프로그램 사용 ([설치 프로그램 설명 (영어)](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### 설치 프로그램 사용 ([설치 프로그램 설명 (영어)](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **주의사항**: 설치 프로그램을 사용하기 전에, SCP: 비밀 연구소 서버를 실행할 유저와 같은 유저인지, 또는 `root` 유저인지 확인해주세요. diff --git a/.github/documentation/localization/README-PL.md b/.github/documentation/localization/README-PL.md index d99ef6bdef..267402dcce 100644 --- a/.github/documentation/localization/README-PL.md +++ b/.github/documentation/localization/README-PL.md @@ -24,7 +24,7 @@ Jak wymieniono wyżej, większość EXILED'a jest zawarta poza plikiem Asembly-C Jeżeli zdecydujecie się na skorzystanie z instalatora, ten - jeżeli użyty poprawnie, zajmie się instalacją EXILED'a ze wszystkimi jego funkcjami. # Windows -### Automatyczna instalacja ([więcej informacji](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Automatyczna instalacja ([więcej informacji](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **UWAGA**: Przed uruchomieniem instalatora upewnijcie się, że jesteście zalogowani jako użytkownik, który będzie uruchamiał serwer albo ma uprawnienia Administratora. - Pobierzcie **`Exiled.Installer-Win.exe` kilkając [tutaj](https://github.com/ExMod-Team/EXILED/releases)** (Naciśnijcie na zasoby (Assets) -> naciśnijcie na instalatora) @@ -49,7 +49,7 @@ To tyle, EXILED powinien być juz zainstalowany i aktywowany podczas następnego - Przenieść go do folderu: ``C:\Users\%UserName%\AppData\Roaming\EXILED\Plugins`` (aby się tutaj dostać wystarczy wcisnąć Win + R i wpisać `%appdata%`) # Linux -### Automatyczna instalacja ([więcej informacji](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Automatyczna instalacja ([więcej informacji](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **UWAGA:** Jeżeli instalujecie EXILED'a na serwerze zdalnym, upewnijcie się, że uruchamiacie instalator jako ten sam użytkownik, który będzie uruchamiał serwer (albo jako root). diff --git a/.github/documentation/localization/README-TR.md b/.github/documentation/localization/README-TR.md index 19ec57755c..90173bb3a6 100644 --- a/.github/documentation/localization/README-TR.md +++ b/.github/documentation/localization/README-TR.md @@ -23,7 +23,7 @@ EXILED'ı indirmek oldukça kolaydır. EXILED kendini Northwood'un Plugin API'si Eğer kurulum programını kullanmayı seçerseniz ve doğru bir şekilde çalıştırırsanız, bütün EXILED özelliklerini yüklemekle ilgili işlemleri otomatik olarak gerçekleştirir. # Windows -### Otomatik indirme ([Daha fazla bilgi için tıkla](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Otomatik indirme ([Daha fazla bilgi için tıkla](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Not**: Sunucuyu indirdiğin kullanıcıda olduğundan emin ol veya yönetici olduğundan emin ol. - **`Exiled.Installer-Win.exe`'i [Buradan indir](https://github.com/ExMod-Team/EXILED/releases)** (Assets'e tıkla -> Installer'ı indir) @@ -49,7 +49,7 @@ Bu kadar, EXILED şimdi sunucunuzda kuruldu ve bir sonraki sunucu başladığın - İndirdiğiniz eklentiyi: ``C:\Users\%UserName%\AppData\Roaming\EXILED\Plugins``'dizinine taşıyın (Win + R Tuşlarına basarak `%appdata%` yazarak buraya taşıyabilirsiniz) # Linux -### Otomatik indirme ([Daha fazla bilgi için tıkla](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Otomatik indirme ([Daha fazla bilgi için tıkla](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Not:** EXILED'ı uzaktan bağlanılan bir sunucuya indiriyor iseniz, indirme programını sunucuyu kurduğunuz kullanıcı ile açın veya (root) yetkiniz olması gerekir. diff --git "a/.github/documentation/localization/README-\320\240\321\203\321\201\321\201\320\272\320\270\320\271.md" "b/.github/documentation/localization/README-\320\240\321\203\321\201\321\201\320\272\320\270\320\271.md" index d04018da31..2c9c3a1908 100644 --- "a/.github/documentation/localization/README-\320\240\321\203\321\201\321\201\320\272\320\270\320\271.md" +++ "b/.github/documentation/localization/README-\320\240\321\203\321\201\321\201\320\272\320\270\320\271.md" @@ -22,7 +22,7 @@ EXILED - низкоуровневый фреймворк для серверов Если вы решите использовать программу установки, она, при правильном запуске, "позаботится" об установке `Exiled.Loader`, `Exiled.Updater`, `Exiled.Permissions`, `Exiled.API` и `Exiled.Events`, а также о том, чтобы на вашем сервере был установлен правильный файл Assembly-CSharp.dll. # Windows -### Автоматическая установка ([подробнее](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Автоматическая установка ([подробнее](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Примечание**: Перед запуском программы установки убедитесь, что вы находитесь под пользователем, который запускает сервер, или у вас есть права администратора. - Скачайте **`Exiled.Installer-Win.exe` [отсюда](https://github.com/ExMod-Team/EXILED/releases)** (нажмите на Assets -> нажмите на Installer). @@ -48,7 +48,7 @@ EXILED - низкоуровневый фреймворк для серверов - Переместите его в: ``C:\Users\%UserName%\AppData\Roaming\EXILED\Plugins`` (переместите его сюда, нажав Win + R, а затем написав `%appdata%`) # Linux -### Автоматическая установка ([подробнее](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### Автоматическая установка ([подробнее](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **Примечание:** Если вы устанавливаете EXILED на удаленный сервер, убедитесь, что вы запускаете программу установки от имени того же пользователя, который запускает ваши серверы SCP:SL (или root). diff --git "a/.github/documentation/localization/README-\340\271\204\340\270\227\340\270\242.md" "b/.github/documentation/localization/README-\340\271\204\340\270\227\340\270\242.md" index 78783d9401..777cc2db3b 100644 --- "a/.github/documentation/localization/README-\340\271\204\340\270\227\340\270\242.md" +++ "b/.github/documentation/localization/README-\340\271\204\340\270\227\340\270\242.md" @@ -23,7 +23,7 @@ EXILED เป็นปลั๊กอินเฟรมเวิร์คระ ถ้าคุณเลือกใช้โปรแกรมติดตั้ง (installer), มันจะทำการติดตั้งฟีเจอร์ทั้งหมดของ EXILED ให้โดยอัตโนมัติ, หากคุณรันโปรแกรมติดตั้งนั้นอย่างถูกต้อง. # Windows -### การติดตั้งอัตโนมัติ ([รายละเอียดเพิ่มเติม](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### การติดตั้งอัตโนมัติ ([รายละเอียดเพิ่มเติม](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **หมายเหตุ**: ตรวจสอบให้แน่ใจว่าคุณใช้บัญชีผู้ใช้ที่รันเซิร์ฟเวอร์อยู่, หรือที่มีสิทธิ์แอดมินก่อนที่จะรันโปรแกรมติดตั้ง. - ดาวน์โหลด **`Exiled.Installer-Win.exe` [จากที่นี่](https://github.com/ExMod-Team/EXILED/releases)** (คลิกที่ Assets -> จากนั้น คลิกที่ Installer) @@ -49,7 +49,7 @@ EXILED เป็นปลั๊กอินเฟรมเวิร์คระ - ย้ายไปที่: ``C:\Users\%UserName%\AppData\Roaming\EXILED\Plugins`` (ไปที่นี่โดยการกด Win + R, เเล้วพิมพ์ `%appdata%`) # Linux -### การติดตั้งอัตโนมัติ ([รายละเอียดเพิ่มเติม](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### การติดตั้งอัตโนมัติ ([รายละเอียดเพิ่มเติม](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **หมายเหตุ:** หากคุณคุณติดตั้ง EXILED บน remote เซิร์ฟเวอร์. ตรวจสอบให้แน่ใจว่าคุณรันโปรแกรมติดตั้ง, ด้วยผู้ใช้เดียวกับที่รันเซิร์ฟเวอร์ SCP:SL ของคุณ (หรือผู้ใช้ root) diff --git "a/.github/documentation/localization/README-\344\270\255\346\226\207.md" "b/.github/documentation/localization/README-\344\270\255\346\226\207.md" index dd977af25e..36fcadd2cb 100644 --- "a/.github/documentation/localization/README-\344\270\255\346\226\207.md" +++ "b/.github/documentation/localization/README-\344\270\255\346\226\207.md" @@ -25,7 +25,7 @@ EXILED的安装十分简单。因为是用NW插件API来将自身载入,你会 如果你选择使用一键安装器,在运行正常的情况下它会帮你安装好所有EXILED的功能。 # Windows -### 全自动安装 ([更多消息](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### 全自动安装 ([更多消息](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **备注**: 在运行安装包前请确保你所使用的用户有管理员权限。 - 下载 **[Exiled.Installer-Win.exe](https://github.com/ExMod-Team/EXILED/releases)** (点击 Assets -> 下载安装包) @@ -43,7 +43,7 @@ EXILED的安装十分简单。因为是用NW插件API来将自身载入,你会 # Linux -### 全自动安装 ([更多信息](https://github.com/ExMod-Team/EXILED/blob/master/Exiled.Installer/README.md)) +### 全自动安装 ([更多信息](https://github.com/ExMod-Team/EXILED/blob/master/EXILED/Exiled.Installer/README.md)) **备注:** 如果你正在一个远程服务器上安装EXILED,请确保你运行的.exe的用户和你运行SCP:SL服务器的一致 From bfe8394ac5159908eda1ba1a290ac7bb2d5d5aae Mon Sep 17 00:00:00 2001 From: Yamato <66829532+louis1706@users.noreply.github.com> Date: Mon, 20 Jan 2025 00:08:02 +0100 Subject: [PATCH 2/4] Update events.md --- EXILED/docs/articles/plugins/events.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EXILED/docs/articles/plugins/events.md b/EXILED/docs/articles/plugins/events.md index e61f41422c..824ed00140 100644 --- a/EXILED/docs/articles/plugins/events.md +++ b/EXILED/docs/articles/plugins/events.md @@ -23,12 +23,12 @@ The EXILED framework consists of two different types of events: Events that can All events are part of a static class called a **handler**. All handlers can be found in the `Exiled.Events` namespace. Every handler is related to a specific feature in the game (eg. `Exiled.Events.Scp096` contains SCP-096 related events). -Almost all events have a corresponding **event argument** class. The event argument provides the data of an event, as well as the ability to prevent it from occurring. All event arguments can be found in the `Exiled.Events.EventArgs` namespace, and all event arguments inherit from `System.EventArgs`. +Almost all events have a corresponding **event argument** class. The event argument provides the data of an event, as well as the ability to prevent it from occurring. All event arguments can be found in the `Exiled.Events.EventArgs` namespace, and all event arguments inherit from `IExiledEvent`. ### Example: Enraging event The following is the structure of the `Exiled.Events.EventArgs.EnragingEventArgs`. ```cs -public class EnragingEventArgs : System.EventArgs +public class EnragingEventArgs : IScp096Event, IDeniableEvent { // Note: Constructor omitted. public Scp096 Scp096 { get; } // The SCP-096 instance. @@ -58,4 +58,4 @@ public void OnEnraging(EnragingEventArgs ev) // ev is the arguments for the even { Log.Info(ev.Player.Nickname + " has just been enraged!"); } -``` \ No newline at end of file +``` From 9b2be39845499ab4879f8bd7243fb79817f9c1a4 Mon Sep 17 00:00:00 2001 From: Yamato <66829532+louis1706@users.noreply.github.com> Date: Mon, 20 Jan 2025 00:10:16 +0100 Subject: [PATCH 3/4] Update structure.md --- EXILED/docs/articles/plugins/structure.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/EXILED/docs/articles/plugins/structure.md b/EXILED/docs/articles/plugins/structure.md index 117eefb593..9d3aaa32db 100644 --- a/EXILED/docs/articles/plugins/structure.md +++ b/EXILED/docs/articles/plugins/structure.md @@ -93,6 +93,7 @@ namespace MyPluginNamespace public class Config : IConfig { public bool IsEnabled { get; set; } + public bool Debug { get; set; } } } ``` @@ -106,6 +107,7 @@ namespace MyPluginNamespace public class Config : IConfig { public bool IsEnabled { get; set; } + public bool Debug { get; set; } public bool MyBoolConfig { get; set; } public string MyStringConfig { get; set; } public int MyIntConfig { get; set; } = 5; // Set to 5 by default. @@ -122,6 +124,8 @@ namespace MyPluginNamespace { [Description("Whether the plugin is enabled.")] public bool IsEnabled { get; set; } + [Description("Whether debug messages should be shown in the console.")] + bool Debug { get; set; } [Description("Config that must be true or false!")] public bool MyBoolConfig { get; set; } [Description("Config that must be a string!")] @@ -160,6 +164,8 @@ namespace MyPluginNamespace { [Description("Whether the plugin is enabled.")] public bool IsEnabled { get; set; } + [Description("Whether debug messages should be shown in the console.")] + bool Debug { get; set; } [Description("Config that must be true or false!")] public bool MyBoolConfig { get; set; } [Description("Config that must be a string!")] From aec6506ca1194ef95a302fcfa85e6ab47a2326b3 Mon Sep 17 00:00:00 2001 From: VALERA771 <72030575+VALERA771@users.noreply.github.com> Date: Thu, 30 Jan 2025 13:33:00 +0300 Subject: [PATCH 4/4] fix: `Room::NearestRooms` fix (#417) fix: new generation --- EXILED/Exiled.API/Features/Room.cs | 12 ++++++++++-- EXILED/Exiled.Events/Patches/Generic/DoorList.cs | 1 - 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/EXILED/Exiled.API/Features/Room.cs b/EXILED/Exiled.API/Features/Room.cs index dc880fe69c..9fde18957c 100644 --- a/EXILED/Exiled.API/Features/Room.cs +++ b/EXILED/Exiled.API/Features/Room.cs @@ -132,7 +132,16 @@ public class Room : MonoBehaviour, IWorldSpace /// /// Gets a of around the . /// - public IReadOnlyList NearestRooms { get; private set; } + public IReadOnlyList NearestRooms + { + get + { + if (NearestRoomsValue.Count == 0 && Identifier.ConnectedRooms.Count > 0) + NearestRoomsValue.AddRange(Identifier.ConnectedRooms.Select(Get)); + + return NearestRoomsValue; + } + } /// /// Gets a of in the . @@ -438,7 +447,6 @@ internal void InternalCreate() Windows = WindowsValue.AsReadOnly(); Doors = DoorsValue.AsReadOnly(); - NearestRooms = NearestRoomsValue.AsReadOnly(); Speakers = SpeakersValue.AsReadOnly(); Cameras = CamerasValue.AsReadOnly(); } diff --git a/EXILED/Exiled.Events/Patches/Generic/DoorList.cs b/EXILED/Exiled.Events/Patches/Generic/DoorList.cs index 8ae6a40910..2057bbd0f5 100644 --- a/EXILED/Exiled.Events/Patches/Generic/DoorList.cs +++ b/EXILED/Exiled.Events/Patches/Generic/DoorList.cs @@ -76,7 +76,6 @@ private static void InitDoor(DoorVariant doorVariant) foreach (Room room in rooms) { room.DoorsValue.Add(door); - room.NearestRoomsValue.AddRange(rooms.Except(new List() { room })); } if (door.Is(out CheckpointDoor checkpoint))