Skip to content

Improve the plugin for 0.2.0-alpha Release #11

Improve the plugin for 0.2.0-alpha Release

Improve the plugin for 0.2.0-alpha Release #11

Triggered via pull request February 14, 2026 20:40
@ZoriotZoriot
synchronize #68
build
Status Success
Total duration 2m 59s
Artifacts

qodana_code_quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 336 warnings, and 12 notices
Usage of API marked for removal: src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/GeneratorCollections.java#L67
'load(java.io.File)' is deprecated since version 2.11.1 and marked for removal
Access static member via instance reference: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/components/warps/menu/WarpMenu.java#L112
Static member 'net.buildtheearth.buildteamtools.modules.navigation.components.warps.WarpsComponent.createWarp(org.bukkit.entity.@org.jspecify.annotations.NonNull Player, net.buildtheearth.buildteamtools.modules.navigation.components.warps.model.WarpGroup)' accessed via instance reference
Access static member via instance reference: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/components/warps/commands/WarpCommand.java#L57
Static member 'net.buildtheearth.buildteamtools.modules.navigation.components.warps.WarpsComponent.createWarp(org.bukkit.entity.Player)' accessed via instance reference
Nullability and data flow problems: src/main/java/net/buildtheearth/buildteamtools/modules/network/NetworkModule.java#L180
Method invocation `getRegions` may produce `NullPointerException`
Nullability and data flow problems: src/main/java/net/buildtheearth/buildteamtools/modules/network/api/NetworkAPI.java#L337
Method invocation `isConnected` may produce `NullPointerException`
Nullability and data flow problems: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/menu/MainMenu.java#L113
Method invocation `getWarpGroups` may produce `NullPointerException`
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/common/commands/BuildTeamToolsCommand.java#L182
'HoverEvent(net.md_5.bungee.api.chat.HoverEvent.Action, net.md_5.bungee.api.chat.BaseComponent\[\])' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L62
'HoverEvent(net.md_5.bungee.api.chat.HoverEvent.Action, net.md_5.bungee.api.chat.BaseComponent\[\])' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L61
'net.md_5.bungee.api.chat.ClickEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/common/commands/BuildTeamToolsCommand.java#L180
'HoverEvent(net.md_5.bungee.api.chat.HoverEvent.Action, net.md_5.bungee.api.chat.BaseComponent\[\])' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L37
'org.bukkit.UnsafeValues' is deprecated since version 1.7.2
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L60
'net.md_5.bungee.api.chat.TextComponent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L61
'net.md_5.bungee.api.chat.ClickEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/common/commands/BuildTeamToolsCommand.java#L182
'setHoverEvent(net.md_5.bungee.api.chat.HoverEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L302
'getByName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated since version 1.13
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L62
'net.md_5.bungee.api.chat.HoverEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L62
'net.md_5.bungee.api.chat.ComponentBuilder' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L281
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L91
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L62
'net.md_5.bungee.api.chat.HoverEvent.Action' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/stats/menu/StatsMenu.java#L136
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/utils/menus/BookMenu.java#L68
'addPage(java.lang.@org.jetbrains.annotations.NotNull String...)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L62
'net.md_5.bungee.api.chat.HoverEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L62
'setHoverEvent(net.md_5.bungee.api.chat.HoverEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L61
'ClickEvent(net.md_5.bungee.api.chat.ClickEvent.Action, java.lang.String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L69
'sendMessage(net.md_5.bungee.api.chat.BaseComponent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L301
'getByName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated since version 1.13
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteMenu.java#L241
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/common/commands/BuildTeamToolsCommand.java#L186
'sendMessage(net.md_5.bungee.api.chat.@org.jetbrains.annotations.NotNull BaseComponent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L285
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/stats/menu/StatsMenu.java#L106
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L300
'getByKey(org.bukkit.@org.jetbrains.annotations.Nullable NamespacedKey)' is deprecated since version 1.20.3
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/common/commands/BuildTeamToolsCommand.java#L184
'HoverEvent(net.md_5.bungee.api.chat.HoverEvent.Action, net.md_5.bungee.api.chat.BaseComponent\[\])' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L61
'net.md_5.bungee.api.chat.ClickEvent.Action' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/stats/menu/StatsMenu.java#L126
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/common/commands/BuildTeamToolsCommand.java#L180
'setHoverEvent(net.md_5.bungee.api.chat.HoverEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L61
'setClickEvent(net.md_5.bungee.api.chat.ClickEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/BlockPaletteManager.java#L227
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L298
'getByKey(org.bukkit.@org.jetbrains.annotations.Nullable NamespacedKey)' is deprecated since version 1.20.3
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/stats/menu/StatsMenu.java#L120
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L303
'getByName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated since version 1.13
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/common/commands/BuildTeamToolsCommand.java#L184
'setHoverEvent(net.md_5.bungee.api.chat.HoverEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/NavUtils.java#L60
'net.md_5.bungee.api.chat.TextComponent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/utils/menus/AbstractMenu.java#L143
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/stats/listeners/StatsListener.java#L45
'org.bukkit.event.player.AsyncPlayerChatEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/buildteamtools/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L299
'getByKey(org.bukkit.@org.jetbrains.annotations.Nullable NamespacedKey)' is deprecated since version 1.20.3
Redundant type cast: src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/Command.java#L197
Casting `operation.get(...)` to `String[]` is redundant
Redundant type cast: src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/Command.java#L213
Casting `operation.get(...)` to `Vector[]` is redundant
Redundant type cast: src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/Command.java#L193
Casting `operation.get(...)` to `String[]` is redundant
Redundant type cast: src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/Command.java#L193
Casting `operation.get(...)` to `Vector[]` is redundant
Redundant type cast: src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/Command.java#L197
Casting `operation.get(...)` to `Vector[]` is redundant
Redundant type cast: src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/Command.java#L185
Casting `operation.get(...)` to `String[]` is redundant
Redundant type cast: src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/Command.java#L201
Casting `operation.get(...)` to `String[]` is redundant
'size() == 0' can be replaced with 'isEmpty()': src/main/java/net/buildtheearth/buildteamtools/utils/Utils.java#L29
`currentLine.length() > 0` can be replaced with '!currentLine.isEmpty()'
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/utils/Config.java#L73
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/utils/Config.java#L63
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/network/model/BuildTeam.java#L154
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/common/components/updater/UpdaterComponent.java#L252
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/network/model/BuildTeam.java#L81
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/network/model/BuildTeam.java#L105
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/common/components/updater/UpdaterComponent.java#L326
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/network/model/BuildTeam.java#L126
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/common/components/updater/UpdaterComponent.java#L315
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/network/model/BuildTeam.java#L210
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/Command.java#L233
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/common/components/updater/UpdaterComponent.java#L333
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/network/model/BuildTeam.java#L186
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/Command.java#L243
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/common/components/updater/UpdaterComponent.java#L181
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/navigation/components/navigator/NavigatorComponent.java#L58
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/network/model/BuildTeam.java#L134
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/utils/menus/AbstractMenu.java#L73
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/navigation/components/warps/menu/WarpEditMenu.java#L162
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/buildteamtools/modules/network/model/BuildTeam.java#L162
Call to `printStackTrace()` should probably be replaced with more robust logging
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/menu/MainMenu.java#L75
Unchecked assignment: 'java.util.ArrayList' to 'java.util.ArrayList'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/network/api/NetworkAPI.java#L39
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/menu/MainMenu.java#L75
Unchecked call to 'ArrayList(Collection)' as a member of raw type 'java.util.ArrayList'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/stats/model/StatsPlayer.java#L55
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/utils/menus/NameListMenu.java#L88
Unchecked cast: 'capture' to 'net.daporkchop.lib.common.misc.Tuple'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/menu/ExploreMenu.java#L36
Unchecked assignment: 'java.util.ArrayList' to 'java.util.ArrayList'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/network/api/NetworkAPI.java#L329
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/stats/model/StatsServer.java#L53
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/menu/MainMenu.java#L63
Unchecked call to 'ArrayList(Collection)' as a member of raw type 'java.util.ArrayList'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/network/api/NetworkAPI.java#L317
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/stats/StatsModule.java#L141
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/utils/menus/NameListMenu.java#L106
Unchecked cast: 'capture' to 'net.daporkchop.lib.common.misc.Tuple'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/menu/MainMenu.java#L63
Unchecked assignment: 'java.util.ArrayList' to 'java.util.ArrayList'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/stats/model/StatsPlayer.java#L57
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/menu/MainMenu.java#L57
Unchecked call to 'ArrayList(Collection)' as a member of raw type 'java.util.ArrayList'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/network/api/NetworkAPI.java#L344
Unchecked call to 'add(E)' as a member of raw type 'java.util.ArrayList'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/menu/ExploreMenu.java#L36
Unchecked call to 'ArrayList(Collection)' as a member of raw type 'java.util.ArrayList'
Unchecked warning: src/main/java/net/buildtheearth/buildteamtools/modules/navigation/menu/MainMenu.java#L57
Unchecked assignment: 'java.util.ArrayList' to 'java.util.ArrayList'
Unstable API Usage: src/main/java/net/buildtheearth/buildteamtools/modules/network/NetworkModule.java#L139
'getVersion()' is declared in unstable interface 'io.papermc.paper.plugin.configuration.PluginMeta' marked with @ApiStatus.Experimental
Unstable API Usage: src/main/java/net/buildtheearth/buildteamtools/modules/common/components/dependency/DependencyComponent.java#L37
'getVersion()' is declared in unstable interface 'io.papermc.paper.plugin.configuration.PluginMeta' marked with @ApiStatus.Experimental
Unstable API Usage: src/main/java/net/buildtheearth/buildteamtools/modules/common/components/dependency/DependencyComponent.java#L37
'getPluginMeta()' is unstable because its signature references unstable interface 'io.papermc.paper.plugin.configuration.PluginMeta' marked with @ApiStatus.Experimental
Unstable API Usage: src/main/java/net/buildtheearth/buildteamtools/modules/network/NetworkModule.java#L139
'getPluginMeta()' is unstable because its signature references unstable interface 'io.papermc.paper.plugin.configuration.PluginMeta' marked with @ApiStatus.Experimental
Method can be extracted: src/main/java/net/buildtheearth/buildteamtools/modules/generator/components/field/FieldScripts.java#L97
It's possible to extract method returning 'directionToUse' from a long surrounding method