This commit is contained in:
2022-03-03 17:52:55 -06:00
parent 208d4484f1
commit 8bf42d5516
183 changed files with 1913 additions and 483 deletions

View File

@ -1,7 +1,6 @@
---
id: compiling
title: Compiling Plex
sidebar_position: 2
---
import Tabs from '@theme/Tabs';

View File

@ -9,6 +9,7 @@ Almost all of the messages inside of Plex are fully customizable. This page will
## Default file
The default `messages.yml` file is below.
```yaml title=/plugins/Plex/messages.yml# Plex Messages File
# Plex Messages File
# This file uses the MiniMessage system.
# Documentation available at https://docs.adventure.kyori.net/minimessage/format.html
@ -25,6 +26,7 @@ The default `messages.yml` file is below.
# 3. Expiry
# 4. Punisher
banMessage: "<red>You have been banned! You may appeal at <gold><v>.\n<red>Reason: <gold><v>\n<red>End date: <gold><v>\n<red>Banned by: <gold><v>"
indefBanMessage: "<red>Your <v> is currently banned! You may appeal at <gold><v>."
test: "this is a test message!"
# 1. The command sender's username
variableTest: "variable test with <v>!"
@ -44,16 +46,22 @@ oppedPlayer: "<aqua><v> - Opped <v>"
deoppedPlayer: "<red><v> - Deopped <v>"
# 1. The person who is freezing
# 2. The person who has been frozen
frozePlayer: "<aqua><v> - Froze <v>"
frozePlayer: "<red><v> - Froze <v>"
# 1. The person who is unfreezing
# 2. The person who has been unfrozen
unfrozePlayer: "<aqua><v> - Unfroze <v>"
# 1. The person who is freezing
# 2. The person who has been frozen
mutedPlayer: "<aqua><v> - Muted <v>"
# 1. The person who is unfreezing
# 2. The person who has been unfrozen
# 1. The command sender
# 2. The person who has been muted
mutedPlayer: "<red><v> - Muted <v>"
# 1. The command sender
# 2. The person who has been unmuted
unmutedPlayer: "<aqua><v> - Unmuted <v>"
# 1. The person who is locking up
# 2. The person who has been locked up
lockedUpPlayer: "<aqua><v> - Locking up <v>"
# 1. The person who is unlocking
# 2. The person who has been unlocked
unlockedUpPlayer: "<aqua><v> - Unlocking <v>"
noPermission: "<red>You cannot use this command!"
# 1. The rank required to use the command
noPermissionRank: "<red>You must be at least <v> to use this command!"
@ -115,12 +123,14 @@ playerNotMuted: "<red>That player is not muted!"
playerBanned: "<red>That player is already banned!"
playerFrozen: "<red>That player is already frozen!"
playerMuted: "<red>That player is already muted!"
playerLockedUp: "<red>That player is already locked up!"
muted: "<red>You are currently muted - STFU!"
kickedPlayer: "<red><v> - Kicking <v>"
teleportedToWorldSpawn: "<aqua>Teleporting to the local spawn"
toggleCommandSpy: "CommandSpy has been"
enabled: "enabled."
disabled: "disabled."
adminChatFormat: '&8[&9AdminChat&8] &4<v> &7» &6<v>'
adminChatFormat: '<dark_gray>[<blue>AdminChat<dark_gray>] <dark_red><v> <gray>» <gold><v>'
maximumPrefixLength: "<red>The maximum length for a tag may only be <v>."
prefixCleared: "<aqua>Your prefix has been cleared."
otherPrefixCleared: "<aqua>You have cleared <v>'s prefix."

36
docs/indefinitebans.md Normal file
View File

@ -0,0 +1,36 @@
---
id: indefinitebans
title: Indefinite Bans
---
# Introduction
Similar to TotalFreedomMod, Plex has indefinite bans. Indefinite bans are reserved for players who should not automatically be unbanned. Anyone who has access to the `indefbans.yml` file can add indefinite bans.
## Default file
```yaml title=/plugins/Plex/indefbans.yml
# Plex Indefinite Bans File
# Players with their UUID / IP / Usernames in here will be indefinitely banned until removed
# List of permanently banned UUIDs
# If you want to get someone's UUID, use https://api.ashcon.app/mojang/v2/user/<username>
uuids:
- 1dac0e92-f565-4479-afd5-38c7df5f9732 # badplayer123
# List of permanently banned IP addresses
ips:
- 169.254.69.69
# List of permanently banned UUIDs
# If you want to get someone's username, use https://api.ashcon.app/mojang/v2/user/<uuid>, or just remember it
usernames:
- badplayer123
```
### UUIDs
Plex allows you to add UUIDs as indefinite bans. To get the UUID of a player, you can use the Ashcon API. Replace `<username>` with the player's username: `https://api.ashcon.app/mojang/v2/user/<username>`. You can then add the UUID to the indefinite ban list.
### IPs
You can add IP addresses as indefinite bans if you know it. Note that it must be a valid IPv4 Address. This means each group must be between 0 - 255 and there can only be three separators.
### Usernames
If you wish to only ban a username and not a UUID, Plex allows you to do so. Note that if a player changes their name, they will be allowed to join again. To convert a UUID to a username, you can use the Ashcon API. Replace `<uuid>` with the player's UUID: `https://api.ashcon.app/mojang/v2/user/<uuid>`. You can then add the UUID to the indefinite ban list. If you already know the player's username, you may simply enter it.

View File

@ -1,7 +1,6 @@
---
id: intro
title: Introduction
sidebar_position: 1
---
# Welcome to Plex

View File

@ -1,7 +1,6 @@
---
id: redis
title: Configuring Redis
sidebar_position: 6
---
# Introduction