fix some logic

This commit is contained in:
Colbster937
2025-05-11 14:40:36 -05:00
parent 8dbd01f016
commit af478adb3b
33 changed files with 244 additions and 104 deletions

7
bin/main/bungee.yml Normal file
View File

@@ -0,0 +1,7 @@
name: OriginBlacklist
version: ${version}
main: dev.colbster937.originblacklist.bungee.OriginBlacklistBungee
description: ${description}
author: Colbster937
depends:
- EaglercraftXServer

69
bin/main/config.yml Normal file
View File

@@ -0,0 +1,69 @@
messages:
# Valid Placeholders:
# - %blocked% - The player's origin/brand that was blocked
# - %blocktype% - Shows what the player was blocked for
# - %easyblocktype% - Shows what the player was blocked for in an eagler-kid readable form
# - %host% - The IP the player pinged
kick: |
<red>This %easyblocktype% is not allowed on the server!</red>
<dark_gray>»</dark_gray> <gray>%blocked%</gray> <dark_gray>«</dark_gray>
<gray>Think this is a mistake? Join our discord:</gray>
<blue>discord.gg/changethisintheconfig</blue>
motd:
enabled: true
text: |
<red>This %easyblocktype% is not allowed!</red>
<dark_gray>»</dark_gray> <gray>%blocked%</gray> <dark_gray>«</dark_gray>
icon: "blacklisted.png"
# Origin + Brand blacklist supports wildcards
# Everything should be lowercase
blacklist:
origins:
- "hack.example.com"
brands:
- "*dragonx*"
- "*piclient*"
missing_origin: false
blacklist_redirect: ""
discord:
webhook: ""
# :>

9
bin/main/plugin.yml Normal file
View File

@@ -0,0 +1,9 @@
name: OriginBlacklist
version: ${version}
main: dev.colbster937.originblacklist.bukkit.OriginBlacklistBukkit
description: ${description}
author: Colbster937
depend:
- EaglercraftXServer
commands:
originblacklist:

BIN
bin/main/server-blocked.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -0,0 +1,14 @@
{
"id": "originblacklist",
"name": "OriginBlacklist",
"version": "${version}",
"description": "${description}",
"main": "dev.colbster937.originblacklist.velocity.OriginBlacklistVelocity",
"authors": ["Colbster937"],
"dependencies": [
{
"id": "eaglerxserver",
"optional": false
}
]
}