Commit a394d66 1 parent 2c8e4fe commit a394d66 Copy full SHA for a394d66
File tree 4 files changed +24
-3
lines changed
4 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public interface GeyserConfiguration {
44
44
void setAutoconfiguredRemote (boolean autoconfiguredRemote );
45
45
46
46
// Modify this when you introduce breaking changes into the config
47
- int CURRENT_CONFIG_VERSION = 5 ;
47
+ int CURRENT_CONFIG_VERSION = 4 ;
48
48
49
49
IBedrockConfiguration getBedrock ();
50
50
@@ -72,6 +72,12 @@ public interface GeyserConfiguration {
72
72
73
73
boolean isDebugMode ();
74
74
75
+ @ Deprecated
76
+ boolean isAllowThirdPartyCapes ();
77
+
78
+ @ Deprecated
79
+ boolean isAllowThirdPartyEars ();
80
+
75
81
String getShowCooldown ();
76
82
77
83
boolean isShowCoordinates ();
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
2
+ * Copyright (c) 2019-2022 GeyserMC. http://geysermc.org
3
3
*
4
4
* Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
* of this software and associated documentation files (the "Software"), to deal
@@ -91,6 +91,9 @@ public abstract class GeyserJacksonConfiguration implements GeyserConfiguration
91
91
@ JsonProperty ("debug-mode" )
92
92
private boolean debugMode = false ;
93
93
94
+ @ JsonProperty ("allow-third-party-capes" )
95
+ private boolean allowThirdPartyCapes = true ;
96
+
94
97
@ JsonProperty ("show-cooldown" )
95
98
private String showCooldown = "title" ;
96
99
@@ -104,6 +107,9 @@ public abstract class GeyserJacksonConfiguration implements GeyserConfiguration
104
107
@ JsonProperty ("emote-offhand-workaround" )
105
108
private EmoteOffhandWorkaroundOption emoteOffhandWorkaround = EmoteOffhandWorkaroundOption .DISABLED ;
106
109
110
+ @ JsonProperty ("allow-third-party-ears" )
111
+ private boolean allowThirdPartyEars = false ;
112
+
107
113
@ JsonProperty ("default-locale" )
108
114
private String defaultLocale = null ; // is null by default so system language takes priority
109
115
Original file line number Diff line number Diff line change @@ -125,6 +125,15 @@ public class SkinProvider {
125
125
WEARING_CUSTOM_SKULL = new SkinGeometry ("{\" geometry\" :{\" default\" :\" geometry.humanoid.wearingCustomSkull\" }}" , wearingCustomSkull );
126
126
String wearingCustomSkullSlim = new String (FileUtils .readAllBytes ("bedrock/skin/geometry.humanoid.wearingCustomSkullSlim.json" ), StandardCharsets .UTF_8 );
127
127
WEARING_CUSTOM_SKULL_SLIM = new SkinGeometry ("{\" geometry\" :{\" default\" :\" geometry.humanoid.wearingCustomSkullSlim\" }}" , wearingCustomSkullSlim );
128
+
129
+ GeyserImpl geyser = GeyserImpl .getInstance ();
130
+ if (geyser .getConfig ().isAllowThirdPartyEars ()) {
131
+ geyser .getLogger ().warning ("Third-party ears have been removed from Geyser, if you still want this functionality please use the extension: https://github.com/GeyserMC/EarsExtension" );
132
+ }
133
+ if (geyser .getConfig ().isAllowThirdPartyCapes ()) {
134
+ // TODO Update warning once an extension is available
135
+ geyser .getLogger ().warning ("Third-party capes have been removed from Geyser, there is currently no replacement for this functionality" );
136
+ }
128
137
}
129
138
130
139
public static ExecutorService getExecutorService () {
Original file line number Diff line number Diff line change @@ -220,4 +220,4 @@ use-direct-connection: true
220
220
# This requires use-direct-connection to be true.
221
221
disable-compression : true
222
222
223
- config-version : 5
223
+ config-version : 4
You can’t perform that action at this time.
0 commit comments