An open API service indexing awesome lists of open source software.

https://github.com/strifel/vbans

Ban your Velocity players!
https://github.com/strifel/vbans

Last synced: 5 months ago
JSON representation

Ban your Velocity players!

Awesome Lists containing this project

README

        

# VBans
### Ban your players.

## What?
VBans is a complete tool to handle player banning on your Velocity server.

It contains:
- Banning
- Tempbanning
- Kicking
- Ban/Kick History
- Checks the players override permission even if the player is offline (if luckperms is installed)

It saves to History to a mysql server.

## How to install
1. Drop the jar file (found in releases) in to the plugin folder.
2. Start the server
3. Stop the server
4. go to plugins/vbans/config.toml and change the mysql connection details
5. Start the server

## Commands
|Command|What is does|Permissions|
|-------|------------|-----------|
|/ban \ [reason]|Bans a player permanently|VBans.ban and VBans.ban.reason|
|/tempban \

## Difference between /delban and /reduce
I developed these commands to get used in different situations.

/delban should only be used if the server made an mistake by banning the player (e.g. The player could prove that he was not hacking)

/reduce or /unban should be used if the server forgives the player (e.g. the player wrote a ban appeal)

## See who has been banned
If you want to see who has been banned. The only way at the moment is to look at the databse with a statement like:
```mysql
SELECT username AS "Banned User",
Reason,
From_unixtime(until) AS "Banned until",
issuedat != until AS "Was Ban",
(until = -1
|| until > Unix_timestamp()) AS "Still banned"
FROM ban_bans,
ban_namecache
WHERE ban_bans.user = ban_namecache.user
AND purged IS NULL;
```
## End
Please report any issue you find.

If you have any problems or you are missing a feature please contact me.