Skip to content

Commit 4d0f054

Browse files
committed
Fix OriginBlacklist on bungeecord
1 parent 5453ed0 commit 4d0f054

28 files changed

+124
-16
lines changed

bin/main/bungee.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: OriginBlacklist
2+
version: ${version}
3+
main: dev.colbster937.originblacklist.bungee.OriginBlacklistBungee
4+
description: ${description}
5+
author: Colbster937
6+
depends:
7+
- EaglercraftXServer

bin/main/config.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
messages:
2+
# Valid Placeholders:
3+
# - %blocked% - The player's origin/brand that was blocked
4+
# - %blocktype% - Shows what the player was blocked for
5+
# - %easyblocktype% - Shows what the player was blocked for in an eagler-kid readable form
6+
7+
kick: |
8+
<red>This %easyblocktype% is not allowed on the server!</red>
9+
<dark_gray>»</dark_gray> <gray>%blocked%</gray> <dark_gray>«</dark_gray>
10+
11+
<gray>Think this is a mistake? Join our discord:</gray>
12+
<blue>discord.gg/changethisintheconfig</blue>
13+
14+
motd:
15+
enabled: true
16+
text: |
17+
<red>This %easyblocktype% is not allowed!</red>
18+
<dark_gray>»</dark_gray> <gray>%blocked%</gray> <dark_gray>«</dark_gray>
19+
icon: "blacklisted.png"
20+
21+
# Origin + Brand blacklist supports wildcards
22+
# Everything should be lowercase
23+
blacklist:
24+
origins:
25+
- "hack.example.com"
26+
brands:
27+
- "*dragonx*"
28+
- "*piclient*"
29+
missing_origin: false
30+
31+
discord:
32+
webhook: ""
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
63+
64+
65+
66+
67+
68+
69+
# :>
Binary file not shown.
13.4 KB
Binary file not shown.
Binary file not shown.
1.55 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)