Skip to content

Commit 71ad305

Browse files
committed
use .replaceAll instead of .replace
1 parent c5a2b10 commit 71ad305

28 files changed

+115
-13
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+
# - %host% - The IP the player pinged
7+
8+
kick: |
9+
<red>This %easyblocktype% is not allowed on the server!</red>
10+
<dark_gray>»</dark_gray> <gray>%blocked%</gray> <dark_gray>«</dark_gray>
11+
12+
<gray>Think this is a mistake? Join our discord:</gray>
13+
<blue>discord.gg/changethisintheconfig</blue>
14+
15+
motd:
16+
enabled: true
17+
text: |
18+
<red>This %easyblocktype% is not allowed!</red>
19+
<dark_gray>»</dark_gray> <gray>%blocked%</gray> <dark_gray>«</dark_gray>
20+
icon: "blacklisted.png"
21+
22+
# Origin + Brand blacklist supports wildcards
23+
# Everything should be lowercase
24+
blacklist:
25+
origins:
26+
- "hack.example.com"
27+
brands:
28+
- "*dragonx*"
29+
- "*piclient*"
30+
missing_origin: false
31+
32+
discord:
33+
webhook: ""
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.8 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)