This repository was archived by the owner on Dec 31, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
java/lol/hyper/bungeeblockversion Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 125125 <dependency >
126126 <groupId >net.kyori</groupId >
127127 <artifactId >adventure-text-minimessage</artifactId >
128- <version >4.11 .0</version >
128+ <version >4.13 .0</version >
129129 <scope >compile</scope >
130130 </dependency >
131131 <dependency >
132132 <groupId >net.kyori</groupId >
133133 <artifactId >adventure-platform-bungeecord</artifactId >
134- <version >4.1.2 </version >
134+ <version >4.3.0 </version >
135135 <scope >compile</scope >
136136 </dependency >
137137 </dependencies >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public void onPreConnect(LoginEvent event) {
5353 String blockedMessage = bungeeBlockVersion .configHandler .configuration .getString ("disconnect-message" );
5454 String allowedVersions = VersionToStrings .allowedVersions (bungeeBlockVersion .configHandler .blockedVersions );
5555 if (allowedVersions == null ) {
56- blockedMessage = "<red>All versions are currently blocked from playing.</red> " ;
56+ blockedMessage = "<red>All versions are currently blocked from playing." ;
5757 }
5858 if (blockedMessage .contains ("{VERSIONS}" )) {
5959 blockedMessage = blockedMessage .replace ("{VERSIONS}" , allowedVersions );
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public class VersionToStrings {
6565 versionMap .put (760 , "1.19.2" );
6666 versionMap .put (761 , "1.19.3" );
6767 versionMap .put (762 , "1.19.4" );
68- versionMap .put (763 , "1.20" );
68+ versionMap .put (763 , "1.20.1 " );
6969 }
7070
7171 /**
Original file line number Diff line number Diff line change @@ -37,12 +37,12 @@ versions:
3737 - 760 # this will show up as 1.19.2 because 1.19.1 and .2 share the same protocol version
3838 - 761
3939 - 762
40- - 763
40+ - 763 # will show up as 1.20.1 because 1.20 and 1.20.1 use the same version
4141
4242# Send this message if someone connects with a blocked version.
4343# Use {VERSIONS} to show what versions your server uses. It will display like "1.8 to 1.16.3" or whatever.
4444# If you don't want to use {VERSIONS}, just remove it.
45- disconnect-message : " <red>You cannot connect with this version! We only allow version(s) {VERSIONS}.</red> "
45+ disconnect-message : " <red>You cannot connect with this version! We only allow version(s) {VERSIONS}."
4646
4747# This will say "Player is connecting with protocol version" when someone joins.
4848# This is off by default to not spam your console, but you can enable it for debug reasons.
You can’t perform that action at this time.
0 commit comments