Skip to content

Commit 65eb119

Browse files
committed
docs(api): remove mentions to "spigot only" config options
Since PacketEvents is supported across platforms, this is no longer the case.
1 parent bf523fb commit 65eb119

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

api/src/main/java/com/rexcantor64/triton/api/config/TritonConfig.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,12 @@ public interface TritonConfig {
8989
boolean isTitles();
9090

9191
/**
92-
* Spigot only
93-
*
9492
* @return The value of "language-creation.guis.enabled" in the config.
9593
* @since 1.0.0
9694
*/
9795
boolean isGuis();
9896

9997
/**
100-
* Spigot only.
10198
* From v3.0.0 to v3.2.0, this always returned false because scoreboard was dropped.
10299
*
103100
* @return The value of "language-creation.scoreboards.enabled" in the config.
@@ -106,8 +103,6 @@ public interface TritonConfig {
106103
boolean isScoreboards();
107104

108105
/**
109-
* Spigot only
110-
*
111106
* @return The value of "language-creation.scoreboards.advanced" in the config.
112107
* @since 1.0.0
113108
* @deprecated Scoreboard translation has been removed in v3.0.0 and this will always return false from now on.
@@ -116,7 +111,6 @@ public interface TritonConfig {
116111
boolean isScoreboardsAdvanced();
117112

118113
/**
119-
* Spigot only
120114
* Be careful because this method returns a list of a custom wrapper of EntityType, not Bukkit's EntityType.
121115
*
122116
* @return The value of "language-creation.holograms.types" in the config.
@@ -148,8 +142,6 @@ default List<EntityType> getHolograms() {
148142
List<String> getAllowedEntityTypes();
149143

150144
/**
151-
* Spigot only
152-
*
153145
* @return The value of "language-creation.holograms.allow-all" in the config.
154146
* @since 1.0.0
155147
*/
@@ -168,32 +160,24 @@ default List<EntityType> getHolograms() {
168160
boolean isTab();
169161

170162
/**
171-
* Spigot only
172-
*
173163
* @return The value of "language-creation.items.enabled" in the config.
174164
* @since 1.0.0
175165
*/
176166
boolean isItems();
177167

178168
/**
179-
* Spigot only
180-
*
181169
* @return The value of "language-creation.items.allow-in-inventory" in the config.
182170
* @since 1.0.0
183171
*/
184172
boolean isInventoryItems();
185173

186174
/**
187-
* Spigot only
188-
*
189175
* @return The value of "language-creation.items.books" in the config.
190176
* @since 1.4.0
191177
*/
192178
boolean isBooks();
193179

194180
/**
195-
* Spigot only
196-
*
197181
* @return The value of "language-creation.signs.enabled" in the config.
198182
* @since 1.0.0
199183
*/
@@ -286,16 +270,13 @@ default List<EntityType> getHolograms() {
286270
FeatureSyntax getTitleSyntax();
287271

288272
/**
289-
* Spigot only
290-
*
291273
* @return The {@link com.rexcantor64.triton.api.config.FeatureSyntax FeatureSyntax} of "language-creation.guis"
292274
* in the config.
293275
* @since 1.0.0
294276
*/
295277
FeatureSyntax getGuiSyntax();
296278

297279
/**
298-
* Spigot only
299280
* From v3.0.0 to v3.2.0, this always returned a default
300281
* {@link com.rexcantor64.triton.api.config.FeatureSyntax FeatureSyntax}.
301282
*
@@ -327,17 +308,13 @@ default List<EntityType> getHolograms() {
327308
FeatureSyntax getTabSyntax();
328309

329310
/**
330-
* Spigot only
331-
*
332311
* @return The {@link com.rexcantor64.triton.api.config.FeatureSyntax FeatureSyntax} of "language-creation.items"
333312
* in the config.
334313
* @since 1.0.0
335314
*/
336315
FeatureSyntax getItemsSyntax();
337316

338317
/**
339-
* Spigot only
340-
*
341318
* @return The {@link com.rexcantor64.triton.api.config.FeatureSyntax FeatureSyntax} of "language-creation.signs"
342319
* in the config.
343320
* @since 2.3.0

0 commit comments

Comments
 (0)