chore: improved README
This commit is contained in:
parent
d3188205e3
commit
d30857f682
12
README.md
12
README.md
@ -10,6 +10,14 @@ This plugin adds the support for [Velocity](https://velocitypowered.com/) to [Au
|
||||
- Velocity 3.1.2 or 3.2.0
|
||||
- Java 17+
|
||||
|
||||
## Features
|
||||
- Prevent your players from executing commands or typing in the chat before they are logged in
|
||||
- Forces the first server that players enter to be an Auth server
|
||||
- Send players to another server when logging in natively (AuthMeReloaded has bugs with this functionality on its own)
|
||||
- Prevents players from having to re-login each time they join a server with AuthMe installed
|
||||
- Get access to the AuthMe API from Velocity
|
||||
- Compatibility with [FastLogin](https://github.com/games647/FastLogin) (AutoLogin support in the proxy) and [MiniPlaceholders](https://modrinth.com/plugin/miniplaceholders) (use AuthMeVelocity placeholders in any other plugin and vice versa)
|
||||
|
||||
## Setup
|
||||
1. Download the latest release of the plugin [link](https://github.com/4drian3d/AuthMeVelocity/releases)
|
||||
2. Put the plugin in the Velocity plugins folder and on all your Auth servers that have AuthMe installed.
|
||||
@ -18,6 +26,10 @@ This plugin adds the support for [Velocity](https://velocitypowered.com/) to [Au
|
||||
## Plugin API
|
||||
Check the plugin API [here](https://github.com/4drian3d/AuthMeVelocity/wiki/Plugin-API)
|
||||
|
||||
### Javadocs
|
||||
- Paper API [Javadocs](https://javadoc.jitpack.io/com/github/4drian3d/AuthMeVelocity/api-paper/latest/javadoc/)
|
||||
- Velocity API [Javadocs](https://javadoc.jitpack.io/com/github/4drian3d/AuthMeVelocity/api-velocity/latest/javadoc/)
|
||||
|
||||
## Configuration
|
||||
Check the plugin configuration [here](https://github.com/4drian3d/AuthMeVelocity/wiki/Configuration)
|
||||
|
||||
|
@ -19,7 +19,6 @@ package me.adrianed.authmevelocity.velocity.commands;
|
||||
|
||||
import com.mojang.brigadier.Command;
|
||||
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
|
||||
import com.mojang.brigadier.tree.LiteralCommandNode;
|
||||
import com.velocitypowered.api.command.BrigadierCommand;
|
||||
import com.velocitypowered.api.command.CommandManager;
|
||||
import com.velocitypowered.api.command.CommandMeta;
|
||||
@ -38,7 +37,7 @@ public class AuthMeCommand {
|
||||
final CommandManager manager,
|
||||
final Logger logger
|
||||
) {
|
||||
LiteralCommandNode<CommandSource> command = LiteralArgumentBuilder.<CommandSource>literal("authmevelocity")
|
||||
final var command = LiteralArgumentBuilder.<CommandSource>literal("authmevelocity")
|
||||
.requires(src -> src.hasPermission("authmevelocity.commands"))
|
||||
.then(LiteralArgumentBuilder.<CommandSource>literal("reload")
|
||||
.executes(cmd -> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user