Initial commit

This commit is contained in:
BuildTools
2022-01-31 23:49:02 -06:00
commit 9804ea9bf0
29 changed files with 8461 additions and 0 deletions

View File

@ -0,0 +1,10 @@
---
id: config
title: Configuration
sidebar_position: 1
---
# Introduction
This page will show you how to modify the configuration file. The configuration file is located at: ```/plugins/Plex/config.yml```.
# Coming soon...

View File

@ -0,0 +1,10 @@
---
id: messages
title: Messages
sidebar_position: 2
---
# Introduction
Almost all of the messages inside of Plex are fully customizable. This page will document how to change messages in the ```messages.yml``` file inside the Plex folder.
# Coming soon...

55
docs/compiling.mdx Normal file
View File

@ -0,0 +1,55 @@
---
id: compiling
title: Compiling Plex
sidebar_position: 2
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Introduction
Compiling Plex is straightforward as there are no dependencies that need to be added manually. Plex uses Gradle as the build system. All compiling instructions are in the ```build.gradle``` file.
# Prerequisites
Please ensure that you have Java 17 installed on your computer, as Plex requires JDK 17 to compile. You will get an error if you try to use an older version.
If you have Java 17 installed, it may not be set in your path. If you do not already have Java installed, the recommended place to get Java is from [Adoptium](https://adoptium.net/). In the installer, there is an option to set JDK 17 to your path. **You must select that option if it is not already selected by default.**
Plex does not require, but recommends having Git installed on your computer. If you do not want to install Git, you may download the source code manually. Git for Windows can be downloaded [here](https://git-scm.com). macOS and Linux users should already have Git installed by default.
# Using the command line
First, clone the Plex source code from GitHub on to your computer using the following command.
```bash
git clone https://github.com/PlexDevelopment/Plex
```
:::note
If you don't have Git installed, you can download a ZIP of the source code from the repository instead.
:::
Next, change your working directory to the Plex folder.
```bash
cd Plex-master
```
Gradle is already included in the folder with Plex. Run the following command below based on your operating system to compile Plex.
<Tabs>
<TabItem value="macOS" label = "macOS" default>
./gradlew build
</TabItem>
<TabItem value="Windows" label="Windows">
gradlew.bat build
</TabItem>
<TabItem value="Linux" label="Linux">
./gradlew build
</TabItem>
</Tabs>
You should receive a message indicating the compilation was successful. The JAR file is located at ```build/libs/Plex.jar```
Plex has no external dependencies and can be used right away after compilation.

9
docs/intro.md Normal file
View File

@ -0,0 +1,9 @@
---
sidebar_position: 1
---
# Welcome to Plex
This website serves as the official documentation for **Plex**. **Plex** is a Minecraft: Java Edition plugin. It is inspired by [TotalFreedomMod](https://github.com/TotalFreedom/TotalFreedomMod), and is aimed as an alternative for server owners.
Use the sidebar on the left to navigate the documentation.