From 5f9eb0ebc141d737f5db4ea1b07de79e608a3994 Mon Sep 17 00:00:00 2001 From: FlameCord Contributors Date: Mon, 30 Nov 2026 14:08:04 +0000 Subject: [PATCH] Initial import of FlameCord 2.7.1 --- .gitattributes | 2 + .gitignore | 24 + .idea/encodings.xml | 6 + .idea/misc.xml | 12 + .run/FlameCord Package.run.xml | 18 + README.md | 31 + pom.xml | 495 + .../flamecord/natives/MoreByteBufUtils.java | 24 + .../natives/NativeEnvironmentDetector.java | 32 + .../arkflame/flamecord/natives/Natives.java | 118 + .../natives/compress/Compressor.java | 15 + .../natives/compress/CompressorFactory.java | 11 + .../natives/compress/JavaCompressor.java | 74 + .../compress/LibdeflateCompressor.java | 156 + .../compression/NativeZlibDeflate.java | 11 + .../compression/NativeZlibInflate.java | 13 + .../dev/_2lstudios/flamecord/FlameCord.java | 210 + .../_2lstudios/flamecord/LimboProtocol.java | 50 + .../dev/_2lstudios/flamecord/LimboThread.java | 102 + .../flamecord/WrappedArgumentType.java | 93 + .../antibot/BlockedPlayersNotifier.java | 72 + .../flamecord/antibot/CheckManager.java | 116 + .../flamecord/antibot/LimboFilter.java | 140 + .../flamecord/antibot/LoggerWrapper.java | 46 + .../flamecord/antibot/PacketsData.java | 92 + .../flamecord/antibot/StatsData.java | 86 + .../antibot/addressdata/AddressData.java | 210 + .../addressdata/AddressDataManager.java | 38 + .../antibot/addressdata/FirewallAddress.java | 77 + .../antibot/cached/CachedCaptcha.java | 151 + .../antibot/cached/CachedExpPackets.java | 53 + .../antibot/cached/CachedMessage.java | 49 + .../antibot/cached/CachedPacket.java | 33 + .../antibot/cached/CachedPacketType.java | 26 + .../antibot/cached/CachedRegistryData.java | 39 + .../flamecord/antibot/cached/CachedTitle.java | 111 + .../antibot/check/AccountsCheck.java | 49 + .../flamecord/antibot/check/CountryCheck.java | 179 + .../antibot/check/FastChatCheck.java | 85 + .../flamecord/antibot/check/LatencyCheck.java | 44 + .../flamecord/antibot/check/LimboCheck.java | 77 + .../antibot/check/LockdownCheck.java | 192 + .../antibot/check/NicknameCheck.java | 55 + .../flamecord/antibot/check/PacketsCheck.java | 65 + .../antibot/check/PasswordCheck.java | 80 + .../antibot/check/RatelimitCheck.java | 54 + .../antibot/check/ReconnectCheck.java | 114 + .../antibot/handlers/LimboHandler.java | 427 + .../antibot/handlers/MoveHandler.java | 113 + .../flamecord/antibot/proxy/IPCollection.java | 66 + .../flamecord/antibot/proxy/ProxyCheck.java | 93 + .../antibot/proxy/ProxyLoadTask.java | 68 + .../antibot/proxy/ProxyRecurringCheck.java | 50 + .../flamecord/antibot/utils/Whitelist.java | 102 + .../flamecord/balancer/Balancer.java | 54 + .../flamecord/captcha/CaptchaGeneration.java | 170 + .../captcha/generator/CaptchaPainter.java | 162 + .../flamecord/captcha/generator/Rippler.java | 82 + .../captcha/generator/map/CraftMapCanvas.java | 40 + .../captcha/generator/map/MapPalette.java | 75 + .../flamecord/commands/BungeeIPCommand.java | 36 + .../flamecord/commands/BungeeKickCommand.java | 46 + .../commands/BungeePluginsCommand.java | 41 + .../flamecord/commands/FlameCordCommand.java | 198 + .../commands/FlameCordStatsCommand.java | 51 + .../commands/FlameCordWhitelistCommand.java | 42 + .../flamecord/commands/LobbyCommand.java | 52 + .../flamecord/configuration/FlameConfig.java | 78 + .../configuration/FlameCordConfiguration.java | 1054 ++ .../configuration/MessagesConfiguration.java | 142 + .../configuration/ModulesConfiguration.java | 32 + .../flamecord/enums/PacketsCheckResult.java | 7 + .../enums/PacketsViolationReason.java | 6 + .../event/DownstreamHandshakeEvent.java | 145 + .../forge/ModernFMLHandshakeEvent.java | 71 + .../forge/ModernForgeClientHandler.java | 17 + .../forge/ModernForgeServerConnector.java | 147 + .../forge/ModernForgeUpstreamBridge.java | 77 + .../managers/UserWhitelistManager.java | 73 + .../packets/DefaultSpawnPosition.java | 129 + .../flamecord/packets/EmptyChunkPacket.java | 176 + .../flamecord/packets/JoinGame.java | 486 + .../flamecord/packets/MapDataPacket.java | 176 + .../_2lstudios/flamecord/packets/Player.java | 78 + .../flamecord/packets/PlayerAbilities.java | 105 + .../flamecord/packets/PlayerPosition.java | 130 + .../packets/PlayerPositionAndLook.java | 201 + .../flamecord/packets/RegistryData.java | 199 + .../_2lstudios/flamecord/packets/SetExp.java | 104 + .../_2lstudios/flamecord/packets/SetSlot.java | 269 + .../flamecord/packets/TeleportConfirm.java | 72 + .../flamecord/packets/TimeUpdate.java | 94 + .../_2lstudios/flamecord/tasks/StatsTask.java | 73 + .../flamecord/util/FirewallCommandQueue.java | 210 + .../_2lstudios/flamecord/utils/ColorUtil.java | 42 + .../flamecord/utils/ConcurrentHashSet.java | 28 + .../_2lstudios/flamecord/utils/Dimension.java | 580 + .../_2lstudios/flamecord/utils/IPUtils.java | 28 + .../flamecord/utils/PacketUtils.java | 362 + .../flamecord/utils/ProtocolUtil.java | 28 + .../dev/_2lstudios/flamecord/utils/Util.java | 75 + .../iridiumcolorapi/IridiumColorAPI.java | 165 + .../patterns/GradientPattern.java | 22 + .../iridiumcolorapi/patterns/Pattern.java | 5 + .../patterns/RainbowPattern.java | 19 + .../patterns/SolidPattern.java | 25 + .../waterfallmc/waterfall/QueryResult.java | 294 + .../conf/WaterfallConfiguration.java | 63 + .../console/ConsoleCommandCompleter.java | 26 + .../console/HexFormattingConverter.java | 134 + .../waterfall/console/WaterfallConsole.java | 32 + .../waterfall/event/ConnectionInitEvent.java | 45 + .../event/ProxyDefineCommandsEvent.java | 69 + .../waterfall/event/ProxyExceptionEvent.java | 17 + .../waterfall/event/ProxyQueryEvent.java | 101 + .../exception/ProxyCommandException.java | 44 + .../exception/ProxyEventException.java | 36 + .../waterfall/exception/ProxyException.java | 19 + .../exception/ProxyInternalException.java | 31 + .../ProxyPluginEnableDisableException.java | 17 + .../exception/ProxyPluginException.java | 27 + .../ProxyPluginMessageException.java | 44 + .../exception/ProxySchedulerException.java | 27 + .../exception/ProxyTabCompleteException.java | 18 + .../waterfall/log4j/Log4JLogHandler.java | 44 + .../waterfall/log4j/WaterfallLogger.java | 28 + .../waterfall/utils/FastException.java | 15 + .../waterfallmc/waterfall/utils/Hex.java | 121 + .../waterfall/utils/UUIDUtils.java | 82 + src/main/java/net/md_5/bungee/Bootstrap.java | 12 + src/main/java/net/md_5/bungee/BungeeCord.java | 778 + .../net/md_5/bungee/BungeeCordLauncher.java | 45 + .../net/md_5/bungee/BungeeServerInfo.java | 179 + .../java/net/md_5/bungee/BungeeTitle.java | 212 + .../net/md_5/bungee/ConnectionThrottle.java | 52 + .../java/net/md_5/bungee/EncryptionUtil.java | 125 + .../net/md_5/bungee/PlayerInfoSerializer.java | 50 + .../md_5/bungee/PlayerSkinConfiguration.java | 42 + .../net/md_5/bungee/ServerConnection.java | 209 + .../java/net/md_5/bungee/ServerConnector.java | 429 + .../java/net/md_5/bungee/UserConnection.java | 932 + src/main/java/net/md_5/bungee/Util.java | 85 + .../bungee/api/AbstractReconnectHandler.java | 33 + .../java/net/md_5/bungee/api/Callback.java | 5 + .../java/net/md_5/bungee/api/ChatColor.java | 179 + .../net/md_5/bungee/api/ChatMessageType.java | 7 + .../net/md_5/bungee/api/CommandSender.java | 32 + .../java/net/md_5/bungee/api/Favicon.java | 86 + .../java/net/md_5/bungee/api/ProxyConfig.java | 82 + .../java/net/md_5/bungee/api/ProxyServer.java | 127 + .../net/md_5/bungee/api/ReconnectHandler.java | 14 + .../md_5/bungee/api/ServerConnectRequest.java | 163 + .../java/net/md_5/bungee/api/ServerLink.java | 135 + .../java/net/md_5/bungee/api/ServerPing.java | 669 + .../md_5/bungee/api/SkinConfiguration.java | 17 + src/main/java/net/md_5/bungee/api/Title.java | 26 + .../md_5/bungee/api/chat/BaseComponent.java | 621 + .../net/md_5/bungee/api/chat/ClickEvent.java | 95 + .../bungee/api/chat/ClickEventCustom.java | 65 + .../bungee/api/chat/ComponentBuilder.java | 259 + .../md_5/bungee/api/chat/ComponentStyle.java | 267 + .../api/chat/ComponentStyleBuilder.java | 59 + .../net/md_5/bungee/api/chat/HoverEvent.java | 149 + .../net/md_5/bungee/api/chat/ItemTag.java | 104 + .../bungee/api/chat/KeybindComponent.java | 92 + .../net/md_5/bungee/api/chat/Keybinds.java | 38 + .../md_5/bungee/api/chat/ObjectComponent.java | 92 + .../md_5/bungee/api/chat/ScoreComponent.java | 145 + .../bungee/api/chat/SelectorComponent.java | 119 + .../md_5/bungee/api/chat/TextComponent.java | 336 + .../api/chat/TranslatableComponent.java | 241 + .../bungee/api/chat/TranslationProvider.java | 13 + .../api/chat/hover/content/Content.java | 43 + .../bungee/api/chat/hover/content/Entity.java | 133 + .../chat/hover/content/EntitySerializer.java | 60 + .../bungee/api/chat/hover/content/Item.java | 113 + .../chat/hover/content/ItemSerializer.java | 53 + .../bungee/api/chat/hover/content/Text.java | 48 + .../chat/hover/content/TextSerializer.java | 24 + .../bungee/api/chat/objects/ChatObject.java | 4 + .../bungee/api/chat/objects/PlayerObject.java | 119 + .../bungee/api/chat/objects/SpriteObject.java | 92 + .../md_5/bungee/api/chat/player/Profile.java | 133 + .../md_5/bungee/api/chat/player/Property.java | 140 + .../api/config/ConfigurationAdapter.java | 24 + .../md_5/bungee/api/config/ListenerInfo.java | 247 + .../md_5/bungee/api/config/ServerInfo.java | 35 + .../api/connection/ConnectedPlayer.java | 4 + .../bungee/api/connection/Connection.java | 32 + .../api/connection/PendingConnection.java | 36 + .../bungee/api/connection/ProxiedPlayer.java | 128 + .../md_5/bungee/api/connection/Server.java | 9 + .../bungee/api/dialog/ConfirmationDialog.java | 126 + .../net/md_5/bungee/api/dialog/Dialog.java | 10 + .../md_5/bungee/api/dialog/DialogBase.java | 243 + .../bungee/api/dialog/DialogListDialog.java | 181 + .../bungee/api/dialog/MultiActionDialog.java | 164 + .../md_5/bungee/api/dialog/NoticeDialog.java | 98 + .../bungee/api/dialog/ServerLinksDialog.java | 179 + .../md_5/bungee/api/dialog/action/Action.java | 4 + .../api/dialog/action/ActionButton.java | 174 + .../api/dialog/action/CustomClickAction.java | 103 + .../api/dialog/action/RunCommandAction.java | 78 + .../api/dialog/action/StaticAction.java | 79 + .../api/dialog/action/package-info.java | 2 + .../bungee/api/dialog/body/DialogBody.java | 69 + .../api/dialog/body/PlainMessageBody.java | 113 + .../bungee/api/dialog/body/package-info.java | 2 + .../api/dialog/chat/ShowDialogClickEvent.java | 102 + .../bungee/api/dialog/chat/package-info.java | 2 + .../bungee/api/dialog/input/BooleanInput.java | 170 + .../bungee/api/dialog/input/DialogInput.java | 91 + .../bungee/api/dialog/input/InputOption.java | 136 + .../api/dialog/input/NumberRangeInput.java | 245 + .../api/dialog/input/SingleOptionInput.java | 181 + .../bungee/api/dialog/input/TextInput.java | 324 + .../bungee/api/dialog/input/package-info.java | 2 + .../md_5/bungee/api/dialog/package-info.java | 2 + .../md_5/bungee/api/event/AsyncChatEvent.java | 51 + .../net/md_5/bungee/api/event/AsyncEvent.java | 148 + .../net/md_5/bungee/api/event/ChatEvent.java | 103 + .../bungee/api/event/ClientConnectEvent.java | 100 + .../bungee/api/event/CustomClickEvent.java | 121 + .../net/md_5/bungee/api/event/LoginEvent.java | 159 + .../api/event/PermissionCheckEvent.java | 98 + .../api/event/PlayerConfigurationEvent.java | 89 + .../api/event/PlayerDisconnectEvent.java | 64 + .../api/event/PlayerHandshakeEvent.java | 99 + .../bungee/api/event/PluginMessageEvent.java | 94 + .../md_5/bungee/api/event/PostLoginEvent.java | 90 + .../md_5/bungee/api/event/PreLoginEvent.java | 129 + .../md_5/bungee/api/event/ProxyPingEvent.java | 90 + .../bungee/api/event/ProxyReloadEvent.java | 64 + .../bungee/api/event/ServerConnectEvent.java | 171 + .../api/event/ServerConnectedEvent.java | 85 + .../api/event/ServerDisconnectEvent.java | 92 + .../bungee/api/event/ServerKickEvent.java | 262 + .../bungee/api/event/ServerSwitchEvent.java | 85 + .../api/event/SettingsChangedEvent.java | 64 + .../bungee/api/event/TabCompleteEvent.java | 101 + .../api/event/TabCompleteResponseEvent.java | 82 + .../md_5/bungee/api/event/TargetedEvent.java | 84 + .../md_5/bungee/api/plugin/Cancellable.java | 7 + .../net/md_5/bungee/api/plugin/Command.java | 131 + .../net/md_5/bungee/api/plugin/Event.java | 17 + .../md_5/bungee/api/plugin/LibraryLoader.java | 104 + .../net/md_5/bungee/api/plugin/Listener.java | 4 + .../net/md_5/bungee/api/plugin/Plugin.java | 93 + .../bungee/api/plugin/PluginClassloader.java | 182 + .../bungee/api/plugin/PluginDescription.java | 269 + .../md_5/bungee/api/plugin/PluginLogger.java | 20 + .../md_5/bungee/api/plugin/PluginManager.java | 496 + .../md_5/bungee/api/plugin/TabExecutor.java | 7 + .../api/scheduler/GroupedThreadFactory.java | 75 + .../bungee/api/scheduler/ScheduledTask.java | 13 + .../bungee/api/scheduler/TaskScheduler.java | 25 + .../net/md_5/bungee/api/score/Objective.java | 111 + .../net/md_5/bungee/api/score/Position.java | 23 + .../java/net/md_5/bungee/api/score/Score.java | 92 + .../net/md_5/bungee/api/score/Scoreboard.java | 195 + .../java/net/md_5/bungee/api/score/Team.java | 245 + .../bungee/chat/BaseComponentSerializer.java | 165 + .../net/md_5/bungee/chat/ChatVersion.java | 9 + .../bungee/chat/ClickEventSerializer.java | 158 + .../md_5/bungee/chat/ComponentSerializer.java | 68 + .../bungee/chat/ComponentStyleSerializer.java | 120 + .../chat/KeybindComponentSerializer.java | 38 + .../chat/ObjectComponentSerializer.java | 117 + .../bungee/chat/ScoreComponentSerializer.java | 58 + .../chat/SelectorComponentSerializer.java | 46 + .../bungee/chat/TextComponentSerializer.java | 37 + .../chat/TranslatableComponentSerializer.java | 57 + .../md_5/bungee/chat/TranslationRegistry.java | 243 + .../chat/VersionedComponentSerializer.java | 191 + .../md_5/bungee/command/CommandBungee.java | 18 + .../net/md_5/bungee/command/CommandEnd.java | 22 + .../net/md_5/bungee/command/CommandIP.java | 32 + .../net/md_5/bungee/command/CommandPerms.java | 29 + .../md_5/bungee/command/CommandReload.java | 23 + .../bungee/command/ConsoleCommandSender.java | 68 + .../md_5/bungee/command/PlayerCommand.java | 36 + .../md_5/bungee/compress/CompressFactory.java | 10 + .../bungee/compress/PacketDecompressor.java | 64 + .../net/md_5/bungee/conf/Configuration.java | 346 + .../java/net/md_5/bungee/conf/YamlConfig.java | 286 + .../net/md_5/bungee/config/Configuration.java | 335 + .../bungee/config/ConfigurationProvider.java | 50 + .../md_5/bungee/config/JsonConfiguration.java | 113 + .../md_5/bungee/config/YamlConfiguration.java | 130 + .../bungee/connection/CancelSendSignal.java | 19 + .../bungee/connection/DownstreamBridge.java | 719 + .../bungee/connection/InitialHandler.java | 1174 ++ .../md_5/bungee/connection/LoginResult.java | 113 + .../md_5/bungee/connection/PingHandler.java | 71 + .../bungee/connection/UpstreamBridge.java | 451 + .../java/net/md_5/bungee/event/EventBus.java | 161 + .../bungee/event/EventExceptionHandler.java | 5 + .../net/md_5/bungee/event/EventHandler.java | 12 + .../md_5/bungee/event/EventHandlerMethod.java | 30 + .../net/md_5/bungee/event/EventPriority.java | 15 + .../md_5/bungee/forge/ForgeClientHandler.java | 147 + .../forge/ForgeClientHandshakeState.java | 124 + .../net/md_5/bungee/forge/ForgeConstants.java | 25 + .../net/md_5/bungee/forge/ForgeLogger.java | 72 + .../md_5/bungee/forge/ForgeServerHandler.java | 75 + .../forge/ForgeServerHandshakeState.java | 77 + .../net/md_5/bungee/forge/ForgeUtils.java | 61 + .../forge/IForgeClientPacketHandler.java | 10 + .../forge/IForgeServerPacketHandler.java | 11 + .../java/net/md_5/bungee/http/HttpClient.java | 103 + .../net/md_5/bungee/http/HttpHandler.java | 70 + .../net/md_5/bungee/http/HttpInitializer.java | 38 + .../java/net/md_5/bungee/jni/NativeCode.java | 141 + .../md_5/bungee/jni/NativeCodeException.java | 11 + .../md_5/bungee/jni/cipher/BungeeCipher.java | 18 + .../md_5/bungee/jni/cipher/JavaCipher.java | 88 + .../md_5/bungee/jni/cipher/NativeCipher.java | 52 + .../bungee/jni/cipher/NativeCipherImpl.java | 9 + .../net/md_5/bungee/jni/zlib/BungeeZlib.java | 16 + .../net/md_5/bungee/jni/zlib/JavaZlib.java | 65 + .../bungee/jni/zlib/NativeCompressImpl.java | 28 + .../net/md_5/bungee/jni/zlib/NativeZlib.java | 70 + .../bungee/module/JenkinsModuleSource.java | 61 + .../net/md_5/bungee/module/ModuleManager.java | 177 + .../net/md_5/bungee/module/ModuleSource.java | 5 + .../net/md_5/bungee/module/ModuleSpec.java | 102 + .../net/md_5/bungee/module/ModuleVersion.java | 94 + .../bungee/module/cmd/alert/CommandAlert.java | 36 + .../module/cmd/alert/CommandAlertRaw.java | 40 + .../bungee/module/cmd/alert/PluginAlert.java | 10 + .../bungee/module/cmd/find/CommandFind.java | 43 + .../bungee/module/cmd/find/PluginFind.java | 9 + .../bungee/module/cmd/list/CommandList.java | 59 + .../bungee/module/cmd/list/PluginList.java | 9 + .../bungee/module/cmd/send/CommandSend.java | 170 + .../bungee/module/cmd/send/PluginSend.java | 9 + .../module/cmd/server/CommandServer.java | 70 + .../module/cmd/server/PluginServer.java | 9 + .../module/reconnect/yaml/PluginYaml.java | 16 + .../reconnect/yaml/YamlReconnectHandler.java | 122 + .../java/net/md_5/bungee/nbt/NamedTag.java | 116 + src/main/java/net/md_5/bungee/nbt/Tag.java | 84 + .../java/net/md_5/bungee/nbt/TypedTag.java | 5 + .../bungee/nbt/exception/NBTException.java | 7 + .../nbt/exception/NBTFormatException.java | 7 + .../nbt/exception/NBTLimitException.java | 7 + .../net/md_5/bungee/nbt/limit/NBTLimiter.java | 54 + .../md_5/bungee/nbt/type/ByteArrayTag.java | 84 + .../net/md_5/bungee/nbt/type/ByteTag.java | 78 + .../net/md_5/bungee/nbt/type/CompoundTag.java | 146 + .../net/md_5/bungee/nbt/type/DoubleTag.java | 79 + .../java/net/md_5/bungee/nbt/type/EndTag.java | 50 + .../net/md_5/bungee/nbt/type/FloatTag.java | 78 + .../net/md_5/bungee/nbt/type/IntArrayTag.java | 94 + .../java/net/md_5/bungee/nbt/type/IntTag.java | 78 + .../net/md_5/bungee/nbt/type/ListTag.java | 151 + .../md_5/bungee/nbt/type/LongArrayTag.java | 94 + .../net/md_5/bungee/nbt/type/LongTag.java | 79 + .../net/md_5/bungee/nbt/type/ShortTag.java | 78 + .../net/md_5/bungee/nbt/type/StringTag.java | 93 + .../net/md_5/bungee/netty/ChannelWrapper.java | 284 + .../net/md_5/bungee/netty/HandlerBoss.java | 263 + .../netty/LengthPrependerAndCompressor.java | 163 + .../netty/OptimisticExceptionTracker.java | 42 + .../net/md_5/bungee/netty/PacketHandler.java | 30 + .../net/md_5/bungee/netty/PipelineUtils.java | 321 + .../bungee/netty/cipher/CipherDecoder.java | 25 + .../bungee/netty/cipher/CipherEncoder.java | 29 + .../protocol/AbstractPacketHandler.java | 264 + .../bungee/protocol/BadPacketException.java | 19 + .../md_5/bungee/protocol/ChatSerializer.java | 10 + .../md_5/bungee/protocol/DefinedPacket.java | 611 + .../bungee/protocol/FastDecoderException.java | 38 + .../bungee/protocol/KickStringWriter.java | 19 + .../md_5/bungee/protocol/LegacyDecoder.java | 31 + .../bungee/protocol/MinecraftDecoder.java | 204 + .../bungee/protocol/MinecraftEncoder.java | 55 + .../protocol/OverflowPacketException.java | 15 + .../md_5/bungee/protocol/PacketWrapper.java | 31 + .../net/md_5/bungee/protocol/Protocol.java | 489 + .../bungee/protocol/ProtocolConstants.java | 89 + .../bungee/protocol/Varint21FrameDecoder.java | 53 + .../channel/BungeeChannelInitializer.java | 39 + .../protocol/channel/ChannelAcceptor.java | 8 + .../md_5/bungee/protocol/data/ChatChain.java | 222 + .../md_5/bungee/protocol/data/Location.java | 74 + .../bungee/protocol/data/NumberFormat.java | 88 + .../bungee/protocol/data/PlayerPublicKey.java | 74 + .../md_5/bungee/protocol/data/Property.java | 120 + .../bungee/protocol/data/SeenMessages.java | 106 + .../md_5/bungee/protocol/packet/BossBar.java | 233 + .../protocol/packet/BundleDelimiter.java | 46 + .../net/md_5/bungee/protocol/packet/Chat.java | 150 + .../bungee/protocol/packet/ClearDialog.java | 47 + .../bungee/protocol/packet/ClearTitles.java | 76 + .../bungee/protocol/packet/ClientChat.java | 270 + .../packet/ClientChatAcknowledgement.java | 76 + .../bungee/protocol/packet/ClientCommand.java | 297 + .../protocol/packet/ClientSettings.java | 296 + .../md_5/bungee/protocol/packet/Commands.java | 1045 ++ .../bungee/protocol/packet/CookieRequest.java | 87 + .../protocol/packet/CookieResponse.java | 108 + .../protocol/packet/CustomClickAction.java | 117 + .../packet/DisconnectReportDetails.java | 104 + .../protocol/packet/EncryptionRequest.java | 168 + .../protocol/packet/EncryptionResponse.java | 218 + .../bungee/protocol/packet/EntityStatus.java | 95 + .../protocol/packet/FinishConfiguration.java | 52 + .../bungee/protocol/packet/GameState.java | 94 + .../bungee/protocol/packet/Handshake.java | 148 + .../bungee/protocol/packet/KeepAlive.java | 90 + .../net/md_5/bungee/protocol/packet/Kick.java | 100 + .../bungee/protocol/packet/KnownPacks.java | 218 + .../protocol/packet/LegacyHandshake.java | 48 + .../bungee/protocol/packet/LegacyPing.java | 66 + .../md_5/bungee/protocol/packet/Login.java | 726 + .../protocol/packet/LoginAcknowledged.java | 52 + .../protocol/packet/LoginPayloadRequest.java | 131 + .../protocol/packet/LoginPayloadResponse.java | 110 + .../bungee/protocol/packet/LoginRequest.java | 165 + .../bungee/protocol/packet/LoginSuccess.java | 204 + .../bungee/protocol/packet/PingPacket.java | 85 + .../packet/PlayerListHeaderFooter.java | 115 + .../protocol/packet/PlayerListItem.java | 473 + .../protocol/packet/PlayerListItemRemove.java | 79 + .../protocol/packet/PlayerListItemUpdate.java | 194 + .../bungee/protocol/packet/PluginMessage.java | 175 + .../md_5/bungee/protocol/packet/Respawn.java | 422 + .../protocol/packet/ScoreboardDisplay.java | 115 + .../protocol/packet/ScoreboardObjective.java | 233 + .../protocol/packet/ScoreboardScore.java | 242 + .../protocol/packet/ScoreboardScoreReset.java | 114 + .../bungee/protocol/packet/ServerData.java | 194 + .../bungee/protocol/packet/ServerLinks.java | 186 + .../protocol/packet/SetCompression.java | 76 + .../bungee/protocol/packet/ShowDialog.java | 117 + .../protocol/packet/ShowDialogDirect.java | 62 + .../protocol/packet/StartConfiguration.java | 52 + .../bungee/protocol/packet/StatusRequest.java | 51 + .../protocol/packet/StatusResponse.java | 86 + .../bungee/protocol/packet/StoreCookie.java | 108 + .../md_5/bungee/protocol/packet/Subtitle.java | 79 + .../bungee/protocol/packet/SystemChat.java | 112 + .../protocol/packet/TabCompleteRequest.java | 181 + .../protocol/packet/TabCompleteResponse.java | 233 + .../net/md_5/bungee/protocol/packet/Team.java | 449 + .../md_5/bungee/protocol/packet/Title.java | 204 + .../bungee/protocol/packet/TitleTimes.java | 100 + .../md_5/bungee/protocol/packet/Transfer.java | 105 + .../packet/UnsignedClientCommand.java | 87 + .../bungee/protocol/packet/ViewDistance.java | 75 + .../net/md_5/bungee/protocol/util/Either.java | 98 + .../md_5/bungee/protocol/util/TagUtil.java | 308 + .../net/md_5/bungee/query/QueryHandler.java | 200 + .../net/md_5/bungee/query/RemoteQuery.java | 35 + .../bungee/scheduler/BungeeScheduler.java | 86 + .../net/md_5/bungee/scheduler/BungeeTask.java | 198 + .../dialog/DialogActionSerializer.java | 58 + .../serializer/dialog/DialogSerializer.java | 117 + .../ShowDialogClickEventSerializer.java | 22 + .../net/md_5/bungee/tab/ServerUnique.java | 113 + .../java/net/md_5/bungee/tab/TabList.java | 93 + .../net/md_5/bungee/util/AddressUtil.java | 23 + .../md_5/bungee/util/AllowedCharacters.java | 37 + .../java/net/md_5/bungee/util/BufUtil.java | 11 + .../util/CaseInsensitiveHashingStrategy.java | 22 + .../md_5/bungee/util/CaseInsensitiveMap.java | 14 + .../md_5/bungee/util/CaseInsensitiveSet.java | 14 + .../bungee/util/ChatComponentTransformer.java | 90 + .../net/md_5/bungee/util/PacketLimiter.java | 44 + .../net/md_5/bungee/util/QuietException.java | 15 + src/main/java/se/llbit/nbt/ByteArrayTag.java | 79 + src/main/java/se/llbit/nbt/ByteTag.java | 69 + src/main/java/se/llbit/nbt/CompoundTag.java | 173 + src/main/java/se/llbit/nbt/DoubleTag.java | 62 + src/main/java/se/llbit/nbt/DumpNBT.java | 61 + src/main/java/se/llbit/nbt/ErrorTag.java | 51 + src/main/java/se/llbit/nbt/FloatTag.java | 61 + src/main/java/se/llbit/nbt/IntArrayTag.java | 87 + src/main/java/se/llbit/nbt/IntTag.java | 73 + src/main/java/se/llbit/nbt/ListTag.java | 174 + src/main/java/se/llbit/nbt/LongArrayTag.java | 87 + src/main/java/se/llbit/nbt/LongTag.java | 69 + src/main/java/se/llbit/nbt/NamedTag.java | 148 + src/main/java/se/llbit/nbt/ShortTag.java | 69 + src/main/java/se/llbit/nbt/SpecificTag.java | 83 + src/main/java/se/llbit/nbt/StringTag.java | 78 + src/main/java/se/llbit/nbt/Tag.java | 223 + src/main/resources/CONTRIBUTING.md | 63 + src/main/resources/INFO_BIN | 4 + src/main/resources/INFO_SRC | 5 + src/main/resources/LICENSE | 29 + src/main/resources/LICENSE.txt | 21 + src/main/resources/Log4j-charsets.properties | 50 + src/main/resources/Log4j-events.dtd | 70 + src/main/resources/Log4j-events.xsd | 81 + src/main/resources/Log4j-levels.xsd | 31 + src/main/resources/META-INF/DEPENDENCIES | 119 + src/main/resources/META-INF/LICENSE | 202 + src/main/resources/META-INF/LICENSE.txt | 202 + src/main/resources/META-INF/MANIFEST.MF | 11 + src/main/resources/META-INF/NOTICE | 8 + src/main/resources/META-INF/NOTICE.txt | 5 + .../META-INF/io.netty.versions.properties | 9 + src/main/resources/META-INF/jline/README.md | 68 + .../resources/META-INF/jline/providers/dumb | 18 + .../resources/META-INF/jline/providers/exec | 18 + .../resources/META-INF/jline/providers/ffm | 18 + .../resources/META-INF/jline/providers/jni | 18 + .../com.google.code.gson/gson/pom.properties | 3 + .../maven/com.google.code.gson/gson/pom.xml | 352 + .../error_prone_annotations/pom.properties | 3 + .../error_prone_annotations/pom.xml | 129 + .../failureaccess/pom.properties | 3 + .../com.google.guava/failureaccess/pom.xml | 155 + .../com.google.guava/guava/pom.properties | 3 + .../maven/com.google.guava/guava/pom.xml | 250 + .../listenablefuture/pom.properties | 4 + .../com.google.guava/listenablefuture/pom.xml | 56 + .../j2objc-annotations/pom.properties | 3 + .../j2objc-annotations/pom.xml | 168 + .../com.maxmind.db/maxmind-db/pom.properties | 5 + .../maven/com.maxmind.db/maxmind-db/pom.xml | 151 + .../commons-codec/pom.properties | 3 + .../maven/commons-codec/commons-codec/pom.xml | 507 + .../waterfall-flamecord/pom.properties | 3 + .../waterfall-flamecord/pom.xml | 55 + .../waterfall-api/pom.properties | 3 + .../waterfall-api/pom.xml | 77 + .../waterfall-bootstrap/pom.properties | 3 + .../waterfall-bootstrap/pom.xml | 95 + .../waterfall-chat/pom.properties | 3 + .../waterfall-chat/pom.xml | 29 + .../waterfall-config/pom.properties | 3 + .../waterfall-config/pom.xml | 37 + .../waterfall-dialog/pom.properties | 3 + .../waterfall-dialog/pom.xml | 36 + .../waterfall-event/pom.properties | 3 + .../waterfall-event/pom.xml | 20 + .../waterfall-log4j/pom.properties | 3 + .../waterfall-log4j/pom.xml | 65 + .../waterfall-maven-resolver/pom.properties | 3 + .../waterfall-maven-resolver/pom.xml | 89 + .../waterfall-module-cmd-alert/pom.properties | 3 + .../waterfall-module-cmd-alert/pom.xml | 20 + .../waterfall-module-cmd-find/pom.properties | 3 + .../waterfall-module-cmd-find/pom.xml | 20 + .../waterfall-module-cmd-list/pom.properties | 3 + .../waterfall-module-cmd-list/pom.xml | 20 + .../waterfall-module-cmd-send/pom.properties | 3 + .../waterfall-module-cmd-send/pom.xml | 20 + .../pom.properties | 3 + .../waterfall-module-cmd-server/pom.xml | 20 + .../pom.properties | 3 + .../waterfall-module-reconnect-yaml/pom.xml | 20 + .../waterfall-native/pom.properties | 3 + .../waterfall-native/pom.xml | 28 + .../waterfall-nbt/pom.properties | 3 + .../waterfall-nbt/pom.xml | 27 + .../waterfall-protocol/pom.properties | 3 + .../waterfall-protocol/pom.xml | 61 + .../waterfall-proxy/pom.properties | 3 + .../waterfall-proxy/pom.xml | 246 + .../waterfall-query/pom.properties | 3 + .../waterfall-query/pom.xml | 34 + .../waterfall-serializer/pom.properties | 3 + .../waterfall-serializer/pom.xml | 41 + .../io.netty/netty-buffer/pom.properties | 3 + .../maven/io.netty/netty-buffer/pom.xml | 167 + .../io.netty/netty-codec-base/pom.properties | 3 + .../maven/io.netty/netty-codec-base/pom.xml | 117 + .../netty-codec-compression/pom.properties | 3 + .../io.netty/netty-codec-compression/pom.xml | 189 + .../io.netty/netty-codec-dns/pom.properties | 3 + .../maven/io.netty/netty-codec-dns/pom.xml | 122 + .../netty-codec-haproxy/pom.properties | 3 + .../io.netty/netty-codec-haproxy/pom.xml | 110 + .../io.netty/netty-codec-http/pom.properties | 3 + .../maven/io.netty/netty-codec-http/pom.xml | 179 + .../netty-codec-marshalling/pom.properties | 3 + .../io.netty/netty-codec-marshalling/pom.xml | 140 + .../netty-codec-protobuf/pom.properties | 3 + .../io.netty/netty-codec-protobuf/pom.xml | 124 + .../maven/io.netty/netty-codec/pom.properties | 4 + .../maven/io.netty/netty-codec/pom.xml | 153 + .../io.netty/netty-common/pom.properties | 3 + .../maven/io.netty/netty-common/pom.xml | 272 + .../io.netty/netty-handler/pom.properties | 3 + .../maven/io.netty/netty-handler/pom.xml | 202 + .../pom.properties | 3 + .../netty-resolver-dns-classes-macos/pom.xml | 88 + .../pom.properties | 3 + .../netty-resolver-dns-native-macos/pom.xml | 520 + .../netty-resolver-dns/pom.properties | 3 + .../maven/io.netty/netty-resolver-dns/pom.xml | 140 + .../io.netty/netty-resolver/pom.properties | 3 + .../maven/io.netty/netty-resolver/pom.xml | 88 + .../pom.properties | 3 + .../netty-transport-classes-epoll/pom.xml | 89 + .../pom.properties | 3 + .../netty-transport-classes-io_uring/pom.xml | 167 + .../pom.properties | 3 + .../netty-transport-native-epoll/pom.xml | 776 + .../pom.properties | 3 + .../netty-transport-native-io_uring/pom.xml | 505 + .../pom.properties | 3 + .../pom.xml | 729 + .../io.netty/netty-transport/pom.properties | 3 + .../maven/io.netty/netty-transport/pom.xml | 112 + .../jopt-simple/pom.properties | 5 + .../net.sf.jopt-simple/jopt-simple/pom.xml | 342 + .../httpclient/pom.properties | 4 + .../httpclient/pom.xml | 207 + .../httpcore/pom.properties | 4 + .../httpcore/pom.xml | 157 + .../log4j-api/pom.properties | 3 + .../log4j-api/pom.xml | 117 + .../log4j-core/pom.properties | 3 + .../log4j-core/pom.xml | 243 + .../log4j-iostreams/pom.properties | 3 + .../log4j-iostreams/pom.xml | 80 + .../log4j-jul/pom.properties | 3 + .../log4j-jul/pom.xml | 176 + .../log4j-slf4j-impl/pom.properties | 3 + .../log4j-slf4j-impl/pom.xml | 154 + .../maven-resolver-api/pom.properties | 3 + .../maven-resolver-api/pom.xml | 66 + .../pom.properties | 3 + .../maven-resolver-connector-basic/pom.xml | 93 + .../maven-resolver-impl/pom.properties | 3 + .../maven-resolver-impl/pom.xml | 127 + .../maven-resolver-named-locks/pom.properties | 3 + .../maven-resolver-named-locks/pom.xml | 79 + .../maven-resolver-spi/pom.properties | 3 + .../maven-resolver-spi/pom.xml | 59 + .../pom.properties | 3 + .../maven-resolver-transport-http/pom.xml | 161 + .../maven-resolver-util/pom.properties | 3 + .../maven-resolver-util/pom.xml | 64 + .../maven-artifact/pom.properties | 3 + .../org.apache.maven/maven-artifact/pom.xml | 72 + .../maven-builder-support/pom.properties | 3 + .../maven-builder-support/pom.xml | 41 + .../maven-model-builder/pom.properties | 3 + .../maven-model-builder/pom.xml | 125 + .../maven-model/pom.properties | 3 + .../org.apache.maven/maven-model/pom.xml | 88 + .../maven-repository-metadata/pom.properties | 3 + .../maven-repository-metadata/pom.xml | 65 + .../maven-resolver-provider/pom.properties | 3 + .../maven-resolver-provider/pom.xml | 144 + .../plexus-interpolation/pom.properties | 3 + .../plexus-interpolation/pom.xml | 145 + .../plexus-utils/pom.properties | 3 + .../org.codehaus.plexus/plexus-utils/pom.xml | 247 + .../org.eclipse.sisu.inject/pom.properties | 3 + .../org.eclipse.sisu.inject/pom.xml | 445 + .../jctools-core-jdk11/pom.properties | 3 + .../org.jctools/jctools-core-jdk11/pom.xml | 333 + .../org.jctools/jctools-core/pom.properties | 3 + .../maven/org.jctools/jctools-core/pom.xml | 343 + .../org.jline/jline-native/pom.properties | 3 + .../maven/org.jline/jline-native/pom.xml | 114 + .../org.jline/jline-reader/pom.properties | 3 + .../maven/org.jline/jline-reader/pom.xml | 42 + .../jline-terminal-ffm/pom.properties | 3 + .../org.jline/jline-terminal-ffm/pom.xml | 79 + .../jline-terminal-jni/pom.properties | 3 + .../org.jline/jline-terminal-jni/pom.xml | 69 + .../org.jline/jline-terminal/pom.properties | 3 + .../maven/org.jline/jline-terminal/pom.xml | 104 + .../org.slf4j/jcl-over-slf4j/pom.properties | 3 + .../maven/org.slf4j/jcl-over-slf4j/pom.xml | 40 + .../maven/org.slf4j/slf4j-api/pom.properties | 3 + .../maven/org.slf4j/slf4j-api/pom.xml | 85 + .../org.slf4j/slf4j-jdk14/pom.properties | 3 + .../maven/org.slf4j/slf4j-jdk14/pom.xml | 35 + .../maven/org.yaml/snakeyaml/pom.properties | 3 + .../META-INF/maven/org.yaml/snakeyaml/pom.xml | 518 + .../netty-buffer/native-image.properties | 15 + .../io.netty/netty-buffer/reflect-config.json | 74 + .../generated/handlers/reflect-config.json | 212 + .../generated/handlers/reflect-config.json | 163 + .../native-image.properties | 15 + .../generated/handlers/reflect-config.json | 58 + .../generated/handlers/reflect-config.json | 16 + .../generated/handlers/reflect-config.json | 478 + .../netty-codec-http/native-image.properties | 16 + .../generated/handlers/reflect-config.json | 30 + .../generated/handlers/reflect-config.json | 44 + .../netty-common/native-image.properties | 22 + .../io.netty/netty-common/reflect-config.json | 73 + .../generated/handlers/reflect-config.json | 395 + .../netty-handler/native-image.properties | 15 + .../netty-handler/reflect-config.json | 28 + .../generated/handlers/reflect-config.json | 37 + .../native-image.properties | 21 + .../jni-config.json | 170 + .../native-image.properties | 15 + .../reflect-config.json | 44 + .../resource-config.json | 13 + .../jni-config.json | 252 + .../native-image.properties | 15 + .../reflect-config.json | 23 + .../resource-config.json | 13 + .../generated/handlers/reflect-config.json | 121 + .../netty-transport/reflect-config.json | 47 + .../6e1db6c8/reflect-config.json | 1 + .../log4j-core/reflect-config.json | 1 + .../log4j-api/resource-config.json | 9 + .../log4j-core/reflect-config.json | 120 + .../log4j-core/resource-config.json | 12 + .../org.jline/jline-native/jni-config.json | 184 + .../jline-native/native-image.properties | 4 + .../jline-native/reflection-config.json | 11 + .../jline-native/resource-config.json | 5 + .../reachability-metadata.json | 107 + .../native-image.properties | 3 + .../jline-terminal-jni/reflection-config.json | 11 + .../jline-terminal-jni/resource-config.json | 6 + .../jline-terminal/native-image.properties | 3 + .../jline-terminal/reflection-config.json | 11 + .../jline-terminal/resource-config.json | 7 + ...ty_resolver_dns_native_macos_x86_64.jnilib | Bin 0 -> 42160 bytes ...ibnetty_transport_native_epoll_aarch_64.so | Bin 0 -> 112856 bytes .../libnetty_transport_native_epoll_x86_64.so | Bin 0 -> 106584 bytes ...ty_transport_native_io_uring42_aarch_64.so | Bin 0 -> 112848 bytes ...etty_transport_native_io_uring42_x86_64.so | Bin 0 -> 113496 bytes .../core/config/plugins/Log4j2Plugins.dat | Bin 0 -> 22161 bytes src/main/resources/META-INF/proguard/base.pro | 33 + .../resources/META-INF/proguard/cache.pro | 12 + .../resources/META-INF/proguard/collect.pro | 32 + .../META-INF/proguard/concurrent.pro | 49 + src/main/resources/META-INF/proguard/gson.pro | 72 + src/main/resources/META-INF/proguard/hash.pro | 12 + .../META-INF/proguard/primitives.pro | 2 + .../META-INF/services/java.sql.Driver | 1 + .../javax.annotation.processing.Processor | 3 + .../org.apache.commons.logging.LogFactory | 5 + ...ogging.log4j.core.util.ContextDataProvider | 2 + ...essage.ThreadDumpMessage$ThreadInfoFactory | 2 + .../org.apache.logging.log4j.spi.Provider | 2 + ...g.apache.logging.log4j.util.PropertySource | 3 + .../org.jline.terminal.spi.TerminalProvider | 25 + ...ockhound.integration.BlockHoundIntegration | 14 + .../META-INF/sisu/javax.inject.Named | 7 + .../META-INF/versions/9/OSGI-INF/MANIFEST.MF | 4 + src/main/resources/README | 42 + .../cj/LocalizedErrorMessages.properties | 1288 ++ .../com/mysql/cj/TlsSettings.properties | 97 + .../cj/configurations/3-0-Compat.properties | 16 + .../cj/configurations/clusterBase.properties | 3 + .../cj/configurations/coldFusion.properties | 16 + .../cj/configurations/fullDebug.properties | 6 + .../maxPerformance-8-0.properties | 38 + .../configurations/maxPerformance.properties | 34 + .../solarisMaxPerformance.properties | 13 + .../mysql/cj/util/TimeZoneMapping.properties | 1881 ++ src/main/resources/damage-types-1.19.4.nbt | Bin 0 -> 973 bytes src/main/resources/damage-types-1.20.nbt | Bin 0 -> 1011 bytes src/main/resources/google/protobuf/any.proto | 162 + src/main/resources/google/protobuf/api.proto | 207 + .../google/protobuf/descriptor.proto | 1417 ++ .../resources/google/protobuf/duration.proto | 115 + .../resources/google/protobuf/empty.proto | 51 + .../google/protobuf/field_mask.proto | 245 + .../google/protobuf/java_features.proto | 130 + .../google/protobuf/source_context.proto | 48 + .../resources/google/protobuf/struct.proto | 95 + .../resources/google/protobuf/timestamp.proto | 144 + src/main/resources/google/protobuf/type.proto | 193 + .../resources/google/protobuf/wrappers.proto | 157 + .../joptsimple/ExceptionMessages.properties | 19 + .../HelpFormatterMessages.properties | 11 + src/main/resources/libdeflate_aarch64.so | Bin 0 -> 67672 bytes src/main/resources/libdeflate_x86_64.so | Bin 0 -> 90128 bytes .../licenses/extreme.indiana.edu.license.TXT | 47 + .../resources/licenses/javolution.license.TXT | 23 + src/main/resources/licenses/thoughtworks.TXT | 37 + src/main/resources/log4j2-bungee.xml | 34 + .../resources/log4j2.component.properties | 2 + src/main/resources/log4j2.xml | 32 + src/main/resources/messages.properties | 45 + .../mojang-translations/en_US.properties | 3453 ++++ .../resources/mojang-translations/en_us.json | 4324 +++++ .../resources/mozilla/public-suffix-list.txt | 14189 ++++++++++++++++ src/main/resources/native-cipher-arm.so | Bin 0 -> 74744 bytes src/main/resources/native-cipher.so | Bin 0 -> 48672 bytes src/main/resources/native-compress-arm.so | Bin 0 -> 141832 bytes src/main/resources/native-compress.so | Bin 0 -> 113288 bytes .../codec/language/bm/ash_approx_any.txt | 155 + .../codec/language/bm/ash_approx_common.txt | 225 + .../codec/language/bm/ash_approx_cyrillic.txt | 18 + .../codec/language/bm/ash_approx_english.txt | 47 + .../codec/language/bm/ash_approx_french.txt | 40 + .../codec/language/bm/ash_approx_german.txt | 72 + .../codec/language/bm/ash_approx_hebrew.txt | 18 + .../language/bm/ash_approx_hungarian.txt | 18 + .../codec/language/bm/ash_approx_polish.txt | 83 + .../codec/language/bm/ash_approx_romanian.txt | 18 + .../codec/language/bm/ash_approx_russian.txt | 47 + .../codec/language/bm/ash_approx_spanish.txt | 18 + .../codec/language/bm/ash_exact_any.txt | 52 + .../language/bm/ash_exact_approx_common.txt | 82 + .../codec/language/bm/ash_exact_common.txt | 33 + .../codec/language/bm/ash_exact_cyrillic.txt | 18 + .../codec/language/bm/ash_exact_english.txt | 18 + .../codec/language/bm/ash_exact_french.txt | 18 + .../codec/language/bm/ash_exact_german.txt | 18 + .../codec/language/bm/ash_exact_hebrew.txt | 18 + .../codec/language/bm/ash_exact_hungarian.txt | 18 + .../codec/language/bm/ash_exact_polish.txt | 23 + .../codec/language/bm/ash_exact_romanian.txt | 18 + .../codec/language/bm/ash_exact_russian.txt | 19 + .../codec/language/bm/ash_exact_spanish.txt | 18 + .../codec/language/bm/ash_hebrew_common.txt | 123 + .../commons/codec/language/bm/ash_lang.txt | 206 + .../codec/language/bm/ash_languages.txt | 28 + .../codec/language/bm/ash_rules_any.txt | 332 + .../codec/language/bm/ash_rules_cyrillic.txt | 100 + .../codec/language/bm/ash_rules_english.txt | 107 + .../codec/language/bm/ash_rules_french.txt | 91 + .../codec/language/bm/ash_rules_german.txt | 128 + .../codec/language/bm/ash_rules_hebrew.txt | 62 + .../codec/language/bm/ash_rules_hungarian.txt | 84 + .../codec/language/bm/ash_rules_polish.txt | 185 + .../codec/language/bm/ash_rules_romanian.txt | 66 + .../codec/language/bm/ash_rules_russian.txt | 164 + .../codec/language/bm/ash_rules_spanish.txt | 77 + .../codec/language/bm/gen_approx_any.txt | 131 + .../codec/language/bm/gen_approx_arabic.txt | 26 + .../codec/language/bm/gen_approx_common.txt | 233 + .../codec/language/bm/gen_approx_cyrillic.txt | 18 + .../codec/language/bm/gen_approx_czech.txt | 18 + .../codec/language/bm/gen_approx_dutch.txt | 18 + .../codec/language/bm/gen_approx_english.txt | 47 + .../codec/language/bm/gen_approx_french.txt | 25 + .../codec/language/bm/gen_approx_german.txt | 73 + .../codec/language/bm/gen_approx_greek.txt | 18 + .../language/bm/gen_approx_greeklatin.txt | 20 + .../codec/language/bm/gen_approx_hebrew.txt | 18 + .../language/bm/gen_approx_hungarian.txt | 18 + .../codec/language/bm/gen_approx_italian.txt | 18 + .../codec/language/bm/gen_approx_polish.txt | 84 + .../language/bm/gen_approx_portuguese.txt | 18 + .../codec/language/bm/gen_approx_romanian.txt | 18 + .../codec/language/bm/gen_approx_russian.txt | 48 + .../codec/language/bm/gen_approx_spanish.txt | 21 + .../codec/language/bm/gen_approx_turkish.txt | 18 + .../codec/language/bm/gen_exact_any.txt | 40 + .../language/bm/gen_exact_approx_common.txt | 79 + .../codec/language/bm/gen_exact_arabic.txt | 18 + .../codec/language/bm/gen_exact_common.txt | 32 + .../codec/language/bm/gen_exact_cyrillic.txt | 18 + .../codec/language/bm/gen_exact_czech.txt | 18 + .../codec/language/bm/gen_exact_dutch.txt | 18 + .../codec/language/bm/gen_exact_english.txt | 18 + .../codec/language/bm/gen_exact_french.txt | 18 + .../codec/language/bm/gen_exact_german.txt | 18 + .../codec/language/bm/gen_exact_greek.txt | 18 + .../language/bm/gen_exact_greeklatin.txt | 18 + .../codec/language/bm/gen_exact_hebrew.txt | 18 + .../codec/language/bm/gen_exact_hungarian.txt | 18 + .../codec/language/bm/gen_exact_italian.txt | 18 + .../codec/language/bm/gen_exact_polish.txt | 23 + .../language/bm/gen_exact_portuguese.txt | 18 + .../codec/language/bm/gen_exact_romanian.txt | 18 + .../codec/language/bm/gen_exact_russian.txt | 19 + .../codec/language/bm/gen_exact_spanish.txt | 19 + .../codec/language/bm/gen_exact_turkish.txt | 18 + .../codec/language/bm/gen_hebrew_common.txt | 113 + .../commons/codec/language/bm/gen_lang.txt | 295 + .../codec/language/bm/gen_languages.txt | 36 + .../codec/language/bm/gen_rules_any.txt | 367 + .../codec/language/bm/gen_rules_arabic.txt | 76 + .../codec/language/bm/gen_rules_cyrillic.txt | 99 + .../codec/language/bm/gen_rules_czech.txt | 67 + .../codec/language/bm/gen_rules_dutch.txt | 78 + .../codec/language/bm/gen_rules_english.txt | 113 + .../codec/language/bm/gen_rules_french.txt | 114 + .../codec/language/bm/gen_rules_german.txt | 129 + .../codec/language/bm/gen_rules_greek.txt | 97 + .../language/bm/gen_rules_greeklatin.txt | 118 + .../codec/language/bm/gen_rules_hebrew.txt | 62 + .../codec/language/bm/gen_rules_hungarian.txt | 83 + .../codec/language/bm/gen_rules_italian.txt | 77 + .../codec/language/bm/gen_rules_polish.txt | 185 + .../language/bm/gen_rules_portuguese.txt | 105 + .../codec/language/bm/gen_rules_romanian.txt | 64 + .../codec/language/bm/gen_rules_russian.txt | 142 + .../codec/language/bm/gen_rules_spanish.txt | 85 + .../codec/language/bm/gen_rules_turkish.txt | 50 + .../apache/commons/codec/language/bm/lang.txt | 16 + .../codec/language/bm/sep_approx_any.txt | 20 + .../codec/language/bm/sep_approx_common.txt | 115 + .../codec/language/bm/sep_approx_french.txt | 18 + .../codec/language/bm/sep_approx_hebrew.txt | 18 + .../codec/language/bm/sep_approx_italian.txt | 18 + .../language/bm/sep_approx_portuguese.txt | 18 + .../codec/language/bm/sep_approx_spanish.txt | 18 + .../codec/language/bm/sep_exact_any.txt | 18 + .../language/bm/sep_exact_approx_common.txt | 79 + .../codec/language/bm/sep_exact_common.txt | 32 + .../codec/language/bm/sep_exact_french.txt | 18 + .../codec/language/bm/sep_exact_hebrew.txt | 18 + .../codec/language/bm/sep_exact_italian.txt | 18 + .../language/bm/sep_exact_portuguese.txt | 18 + .../codec/language/bm/sep_exact_spanish.txt | 18 + .../codec/language/bm/sep_hebrew_common.txt | 86 + .../commons/codec/language/bm/sep_lang.txt | 105 + .../codec/language/bm/sep_languages.txt | 23 + .../codec/language/bm/sep_rules_any.txt | 155 + .../codec/language/bm/sep_rules_french.txt | 91 + .../codec/language/bm/sep_rules_hebrew.txt | 62 + .../codec/language/bm/sep_rules_italian.txt | 76 + .../language/bm/sep_rules_portuguese.txt | 104 + .../codec/language/bm/sep_rules_spanish.txt | 95 + .../apache/commons/codec/language/dmrules.txt | 200 + .../org/apache/http/client/version.properties | 29 + .../org/apache/http/version.properties | 22 + .../org/apache/maven/model/pom-4.0.0.xml | 144 + .../jline/nativ/FreeBSD/x86/libjlinenative.so | Bin 0 -> 8945 bytes .../nativ/FreeBSD/x86_64/libjlinenative.so | Bin 0 -> 11637 bytes .../nativ/Linux-musl/arm64/libjlinenative.so | Bin 0 -> 14088 bytes .../nativ/Linux-musl/x86_64/libjlinenative.so | Bin 0 -> 14024 bytes .../jline/nativ/Linux/arm/libjlinenative.so | Bin 0 -> 21016 bytes .../jline/nativ/Linux/arm64/libjlinenative.so | Bin 0 -> 14248 bytes .../jline/nativ/Linux/armv6/libjlinenative.so | Bin 0 -> 14056 bytes .../jline/nativ/Linux/armv7/libjlinenative.so | Bin 0 -> 13404 bytes .../jline/nativ/Linux/ppc64/libjlinenative.so | Bin 0 -> 72008 bytes .../jline/nativ/Linux/x86/libjlinenative.so | Bin 0 -> 15920 bytes .../nativ/Linux/x86_64/libjlinenative.so | Bin 0 -> 13704 bytes .../nativ/Mac/arm64/libjlinenative.jnilib | Bin 0 -> 69648 bytes .../jline/nativ/Mac/x86/libjlinenative.jnilib | Bin 0 -> 32512 bytes .../nativ/Mac/x86_64/libjlinenative.jnilib | Bin 0 -> 33024 bytes .../jline/nativ/Windows/arm64/jlinenative.dll | Bin 0 -> 80384 bytes .../jline/nativ/Windows/x86/jlinenative.dll | Bin 0 -> 114585 bytes .../nativ/Windows/x86_64/jlinenative.dll | Bin 0 -> 129577 bytes .../org/jline/nativ/jlinenative.properties | 17 + src/main/resources/org/jline/utils/ansi.caps | 23 + .../org/jline/utils/capabilities.txt | 473 + src/main/resources/org/jline/utils/colors.txt | 265 + .../resources/org/jline/utils/dumb-color.caps | 4 + src/main/resources/org/jline/utils/dumb.caps | 5 + .../resources/org/jline/utils/rxvt-basic.caps | 41 + .../jline/utils/rxvt-unicode-256color.caps | 44 + .../org/jline/utils/rxvt-unicode.caps | 44 + src/main/resources/org/jline/utils/rxvt.caps | 43 + .../org/jline/utils/screen-256color.caps | 27 + .../resources/org/jline/utils/screen.caps | 26 + .../org/jline/utils/windows-256color.caps | 27 + .../org/jline/utils/windows-conemu.caps | 30 + .../org/jline/utils/windows-vtp.caps | 33 + .../resources/org/jline/utils/windows.caps | 27 + .../org/jline/utils/xterm-256color.caps | 51 + src/main/resources/org/jline/utils/xterm.caps | 51 + src/main/resources/overview.html | 23 + .../resources/yggdrasil_session_pubkey.der | Bin 0 -> 550 bytes 958 files changed, 112127 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 .idea/encodings.xml create mode 100644 .idea/misc.xml create mode 100644 .run/FlameCord Package.run.xml create mode 100644 README.md create mode 100644 pom.xml create mode 100644 src/main/java/com/arkflame/flamecord/natives/MoreByteBufUtils.java create mode 100644 src/main/java/com/arkflame/flamecord/natives/NativeEnvironmentDetector.java create mode 100644 src/main/java/com/arkflame/flamecord/natives/Natives.java create mode 100644 src/main/java/com/arkflame/flamecord/natives/compress/Compressor.java create mode 100644 src/main/java/com/arkflame/flamecord/natives/compress/CompressorFactory.java create mode 100644 src/main/java/com/arkflame/flamecord/natives/compress/JavaCompressor.java create mode 100644 src/main/java/com/arkflame/flamecord/natives/compress/LibdeflateCompressor.java create mode 100644 src/main/java/com/arkflame/natives/compression/NativeZlibDeflate.java create mode 100644 src/main/java/com/arkflame/natives/compression/NativeZlibInflate.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/FlameCord.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/LimboProtocol.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/LimboThread.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/WrappedArgumentType.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/BlockedPlayersNotifier.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/CheckManager.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/LimboFilter.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/LoggerWrapper.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/PacketsData.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/StatsData.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/AddressData.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/AddressDataManager.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/FirewallAddress.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedCaptcha.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedExpPackets.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedMessage.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedPacket.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedPacketType.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedRegistryData.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedTitle.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/AccountsCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/CountryCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/FastChatCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/LatencyCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/LimboCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/LockdownCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/NicknameCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/PacketsCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/PasswordCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/RatelimitCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/check/ReconnectCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/handlers/LimboHandler.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/handlers/MoveHandler.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/proxy/IPCollection.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyLoadTask.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyRecurringCheck.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/antibot/utils/Whitelist.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/balancer/Balancer.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/captcha/CaptchaGeneration.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/captcha/generator/CaptchaPainter.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/captcha/generator/Rippler.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/captcha/generator/map/CraftMapCanvas.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/captcha/generator/map/MapPalette.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/commands/BungeeIPCommand.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/commands/BungeeKickCommand.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/commands/BungeePluginsCommand.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/commands/FlameCordCommand.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/commands/FlameCordStatsCommand.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/commands/FlameCordWhitelistCommand.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/commands/LobbyCommand.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/configuration/FlameConfig.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/configuration/FlameCordConfiguration.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/configuration/MessagesConfiguration.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/configuration/ModulesConfiguration.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/enums/PacketsCheckResult.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/enums/PacketsViolationReason.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/event/DownstreamHandshakeEvent.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/forge/ModernFMLHandshakeEvent.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeClientHandler.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeServerConnector.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeUpstreamBridge.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/managers/UserWhitelistManager.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/DefaultSpawnPosition.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/EmptyChunkPacket.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/JoinGame.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/MapDataPacket.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/Player.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/PlayerAbilities.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/PlayerPosition.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/PlayerPositionAndLook.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/RegistryData.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/SetExp.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/SetSlot.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/TeleportConfirm.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/packets/TimeUpdate.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/tasks/StatsTask.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/util/FirewallCommandQueue.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/ColorUtil.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/ConcurrentHashSet.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/Dimension.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/IPUtils.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/PacketUtils.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/ProtocolUtil.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/Util.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/IridiumColorAPI.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/GradientPattern.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/Pattern.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/RainbowPattern.java create mode 100644 src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/SolidPattern.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/QueryResult.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/console/ConsoleCommandCompleter.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/console/HexFormattingConverter.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/console/WaterfallConsole.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/event/ConnectionInitEvent.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/event/ProxyDefineCommandsEvent.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/event/ProxyExceptionEvent.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/event/ProxyQueryEvent.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/exception/ProxyCommandException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/exception/ProxyEventException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/exception/ProxyException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/exception/ProxyInternalException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginEnableDisableException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginMessageException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/exception/ProxySchedulerException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/exception/ProxyTabCompleteException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/log4j/Log4JLogHandler.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/log4j/WaterfallLogger.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/utils/FastException.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/utils/Hex.java create mode 100644 src/main/java/io/github/waterfallmc/waterfall/utils/UUIDUtils.java create mode 100644 src/main/java/net/md_5/bungee/Bootstrap.java create mode 100644 src/main/java/net/md_5/bungee/BungeeCord.java create mode 100644 src/main/java/net/md_5/bungee/BungeeCordLauncher.java create mode 100644 src/main/java/net/md_5/bungee/BungeeServerInfo.java create mode 100644 src/main/java/net/md_5/bungee/BungeeTitle.java create mode 100644 src/main/java/net/md_5/bungee/ConnectionThrottle.java create mode 100644 src/main/java/net/md_5/bungee/EncryptionUtil.java create mode 100644 src/main/java/net/md_5/bungee/PlayerInfoSerializer.java create mode 100644 src/main/java/net/md_5/bungee/PlayerSkinConfiguration.java create mode 100644 src/main/java/net/md_5/bungee/ServerConnection.java create mode 100644 src/main/java/net/md_5/bungee/ServerConnector.java create mode 100644 src/main/java/net/md_5/bungee/UserConnection.java create mode 100644 src/main/java/net/md_5/bungee/Util.java create mode 100644 src/main/java/net/md_5/bungee/api/AbstractReconnectHandler.java create mode 100644 src/main/java/net/md_5/bungee/api/Callback.java create mode 100644 src/main/java/net/md_5/bungee/api/ChatColor.java create mode 100644 src/main/java/net/md_5/bungee/api/ChatMessageType.java create mode 100644 src/main/java/net/md_5/bungee/api/CommandSender.java create mode 100644 src/main/java/net/md_5/bungee/api/Favicon.java create mode 100644 src/main/java/net/md_5/bungee/api/ProxyConfig.java create mode 100644 src/main/java/net/md_5/bungee/api/ProxyServer.java create mode 100644 src/main/java/net/md_5/bungee/api/ReconnectHandler.java create mode 100644 src/main/java/net/md_5/bungee/api/ServerConnectRequest.java create mode 100644 src/main/java/net/md_5/bungee/api/ServerLink.java create mode 100644 src/main/java/net/md_5/bungee/api/ServerPing.java create mode 100644 src/main/java/net/md_5/bungee/api/SkinConfiguration.java create mode 100644 src/main/java/net/md_5/bungee/api/Title.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/BaseComponent.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/ClickEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/ClickEventCustom.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/ComponentBuilder.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/ComponentStyle.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/ComponentStyleBuilder.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/HoverEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/ItemTag.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/KeybindComponent.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/Keybinds.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/ObjectComponent.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/ScoreComponent.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/SelectorComponent.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/TextComponent.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/TranslatableComponent.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/TranslationProvider.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/hover/content/Content.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/hover/content/Entity.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/hover/content/EntitySerializer.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/hover/content/Item.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/hover/content/ItemSerializer.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/hover/content/Text.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/hover/content/TextSerializer.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/objects/ChatObject.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/objects/PlayerObject.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/objects/SpriteObject.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/player/Profile.java create mode 100644 src/main/java/net/md_5/bungee/api/chat/player/Property.java create mode 100644 src/main/java/net/md_5/bungee/api/config/ConfigurationAdapter.java create mode 100644 src/main/java/net/md_5/bungee/api/config/ListenerInfo.java create mode 100644 src/main/java/net/md_5/bungee/api/config/ServerInfo.java create mode 100644 src/main/java/net/md_5/bungee/api/connection/ConnectedPlayer.java create mode 100644 src/main/java/net/md_5/bungee/api/connection/Connection.java create mode 100644 src/main/java/net/md_5/bungee/api/connection/PendingConnection.java create mode 100644 src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java create mode 100644 src/main/java/net/md_5/bungee/api/connection/Server.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/ConfirmationDialog.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/Dialog.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/DialogBase.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/DialogListDialog.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/MultiActionDialog.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/NoticeDialog.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/ServerLinksDialog.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/action/Action.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/action/ActionButton.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/action/CustomClickAction.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/action/RunCommandAction.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/action/StaticAction.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/action/package-info.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/body/DialogBody.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/body/PlainMessageBody.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/body/package-info.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/chat/ShowDialogClickEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/chat/package-info.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/input/BooleanInput.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/input/DialogInput.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/input/InputOption.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/input/NumberRangeInput.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/input/SingleOptionInput.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/input/TextInput.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/input/package-info.java create mode 100644 src/main/java/net/md_5/bungee/api/dialog/package-info.java create mode 100644 src/main/java/net/md_5/bungee/api/event/AsyncChatEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/AsyncEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/ChatEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/ClientConnectEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/CustomClickEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/LoginEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/PermissionCheckEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/PlayerConfigurationEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/PlayerDisconnectEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/PlayerHandshakeEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/PluginMessageEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/PostLoginEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/PreLoginEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/ProxyPingEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/ProxyReloadEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/ServerConnectEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/ServerConnectedEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/ServerDisconnectEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/ServerKickEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/ServerSwitchEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/SettingsChangedEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/TabCompleteEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/TabCompleteResponseEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/event/TargetedEvent.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/Cancellable.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/Command.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/Event.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/LibraryLoader.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/Listener.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/Plugin.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/PluginClassloader.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/PluginDescription.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/PluginLogger.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/PluginManager.java create mode 100644 src/main/java/net/md_5/bungee/api/plugin/TabExecutor.java create mode 100644 src/main/java/net/md_5/bungee/api/scheduler/GroupedThreadFactory.java create mode 100644 src/main/java/net/md_5/bungee/api/scheduler/ScheduledTask.java create mode 100644 src/main/java/net/md_5/bungee/api/scheduler/TaskScheduler.java create mode 100644 src/main/java/net/md_5/bungee/api/score/Objective.java create mode 100644 src/main/java/net/md_5/bungee/api/score/Position.java create mode 100644 src/main/java/net/md_5/bungee/api/score/Score.java create mode 100644 src/main/java/net/md_5/bungee/api/score/Scoreboard.java create mode 100644 src/main/java/net/md_5/bungee/api/score/Team.java create mode 100644 src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/ChatVersion.java create mode 100644 src/main/java/net/md_5/bungee/chat/ClickEventSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/ComponentSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/ComponentStyleSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/KeybindComponentSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/ObjectComponentSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/ScoreComponentSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/SelectorComponentSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/TextComponentSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/TranslatableComponentSerializer.java create mode 100644 src/main/java/net/md_5/bungee/chat/TranslationRegistry.java create mode 100644 src/main/java/net/md_5/bungee/chat/VersionedComponentSerializer.java create mode 100644 src/main/java/net/md_5/bungee/command/CommandBungee.java create mode 100644 src/main/java/net/md_5/bungee/command/CommandEnd.java create mode 100644 src/main/java/net/md_5/bungee/command/CommandIP.java create mode 100644 src/main/java/net/md_5/bungee/command/CommandPerms.java create mode 100644 src/main/java/net/md_5/bungee/command/CommandReload.java create mode 100644 src/main/java/net/md_5/bungee/command/ConsoleCommandSender.java create mode 100644 src/main/java/net/md_5/bungee/command/PlayerCommand.java create mode 100644 src/main/java/net/md_5/bungee/compress/CompressFactory.java create mode 100644 src/main/java/net/md_5/bungee/compress/PacketDecompressor.java create mode 100644 src/main/java/net/md_5/bungee/conf/Configuration.java create mode 100644 src/main/java/net/md_5/bungee/conf/YamlConfig.java create mode 100644 src/main/java/net/md_5/bungee/config/Configuration.java create mode 100644 src/main/java/net/md_5/bungee/config/ConfigurationProvider.java create mode 100644 src/main/java/net/md_5/bungee/config/JsonConfiguration.java create mode 100644 src/main/java/net/md_5/bungee/config/YamlConfiguration.java create mode 100644 src/main/java/net/md_5/bungee/connection/CancelSendSignal.java create mode 100644 src/main/java/net/md_5/bungee/connection/DownstreamBridge.java create mode 100644 src/main/java/net/md_5/bungee/connection/InitialHandler.java create mode 100644 src/main/java/net/md_5/bungee/connection/LoginResult.java create mode 100644 src/main/java/net/md_5/bungee/connection/PingHandler.java create mode 100644 src/main/java/net/md_5/bungee/connection/UpstreamBridge.java create mode 100644 src/main/java/net/md_5/bungee/event/EventBus.java create mode 100644 src/main/java/net/md_5/bungee/event/EventExceptionHandler.java create mode 100644 src/main/java/net/md_5/bungee/event/EventHandler.java create mode 100644 src/main/java/net/md_5/bungee/event/EventHandlerMethod.java create mode 100644 src/main/java/net/md_5/bungee/event/EventPriority.java create mode 100644 src/main/java/net/md_5/bungee/forge/ForgeClientHandler.java create mode 100644 src/main/java/net/md_5/bungee/forge/ForgeClientHandshakeState.java create mode 100644 src/main/java/net/md_5/bungee/forge/ForgeConstants.java create mode 100644 src/main/java/net/md_5/bungee/forge/ForgeLogger.java create mode 100644 src/main/java/net/md_5/bungee/forge/ForgeServerHandler.java create mode 100644 src/main/java/net/md_5/bungee/forge/ForgeServerHandshakeState.java create mode 100644 src/main/java/net/md_5/bungee/forge/ForgeUtils.java create mode 100644 src/main/java/net/md_5/bungee/forge/IForgeClientPacketHandler.java create mode 100644 src/main/java/net/md_5/bungee/forge/IForgeServerPacketHandler.java create mode 100644 src/main/java/net/md_5/bungee/http/HttpClient.java create mode 100644 src/main/java/net/md_5/bungee/http/HttpHandler.java create mode 100644 src/main/java/net/md_5/bungee/http/HttpInitializer.java create mode 100644 src/main/java/net/md_5/bungee/jni/NativeCode.java create mode 100644 src/main/java/net/md_5/bungee/jni/NativeCodeException.java create mode 100644 src/main/java/net/md_5/bungee/jni/cipher/BungeeCipher.java create mode 100644 src/main/java/net/md_5/bungee/jni/cipher/JavaCipher.java create mode 100644 src/main/java/net/md_5/bungee/jni/cipher/NativeCipher.java create mode 100644 src/main/java/net/md_5/bungee/jni/cipher/NativeCipherImpl.java create mode 100644 src/main/java/net/md_5/bungee/jni/zlib/BungeeZlib.java create mode 100644 src/main/java/net/md_5/bungee/jni/zlib/JavaZlib.java create mode 100644 src/main/java/net/md_5/bungee/jni/zlib/NativeCompressImpl.java create mode 100644 src/main/java/net/md_5/bungee/jni/zlib/NativeZlib.java create mode 100644 src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java create mode 100644 src/main/java/net/md_5/bungee/module/ModuleManager.java create mode 100644 src/main/java/net/md_5/bungee/module/ModuleSource.java create mode 100644 src/main/java/net/md_5/bungee/module/ModuleSpec.java create mode 100644 src/main/java/net/md_5/bungee/module/ModuleVersion.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/alert/CommandAlert.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/alert/CommandAlertRaw.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/alert/PluginAlert.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/find/CommandFind.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/find/PluginFind.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/list/CommandList.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/list/PluginList.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/send/CommandSend.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/send/PluginSend.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/server/CommandServer.java create mode 100644 src/main/java/net/md_5/bungee/module/cmd/server/PluginServer.java create mode 100644 src/main/java/net/md_5/bungee/module/reconnect/yaml/PluginYaml.java create mode 100644 src/main/java/net/md_5/bungee/module/reconnect/yaml/YamlReconnectHandler.java create mode 100644 src/main/java/net/md_5/bungee/nbt/NamedTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/Tag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/TypedTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/exception/NBTException.java create mode 100644 src/main/java/net/md_5/bungee/nbt/exception/NBTFormatException.java create mode 100644 src/main/java/net/md_5/bungee/nbt/exception/NBTLimitException.java create mode 100644 src/main/java/net/md_5/bungee/nbt/limit/NBTLimiter.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/ByteArrayTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/ByteTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/CompoundTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/DoubleTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/EndTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/FloatTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/IntArrayTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/IntTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/ListTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/LongArrayTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/LongTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/ShortTag.java create mode 100644 src/main/java/net/md_5/bungee/nbt/type/StringTag.java create mode 100644 src/main/java/net/md_5/bungee/netty/ChannelWrapper.java create mode 100644 src/main/java/net/md_5/bungee/netty/HandlerBoss.java create mode 100644 src/main/java/net/md_5/bungee/netty/LengthPrependerAndCompressor.java create mode 100644 src/main/java/net/md_5/bungee/netty/OptimisticExceptionTracker.java create mode 100644 src/main/java/net/md_5/bungee/netty/PacketHandler.java create mode 100644 src/main/java/net/md_5/bungee/netty/PipelineUtils.java create mode 100644 src/main/java/net/md_5/bungee/netty/cipher/CipherDecoder.java create mode 100644 src/main/java/net/md_5/bungee/netty/cipher/CipherEncoder.java create mode 100644 src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java create mode 100644 src/main/java/net/md_5/bungee/protocol/BadPacketException.java create mode 100644 src/main/java/net/md_5/bungee/protocol/ChatSerializer.java create mode 100644 src/main/java/net/md_5/bungee/protocol/DefinedPacket.java create mode 100644 src/main/java/net/md_5/bungee/protocol/FastDecoderException.java create mode 100644 src/main/java/net/md_5/bungee/protocol/KickStringWriter.java create mode 100644 src/main/java/net/md_5/bungee/protocol/LegacyDecoder.java create mode 100644 src/main/java/net/md_5/bungee/protocol/MinecraftDecoder.java create mode 100644 src/main/java/net/md_5/bungee/protocol/MinecraftEncoder.java create mode 100644 src/main/java/net/md_5/bungee/protocol/OverflowPacketException.java create mode 100644 src/main/java/net/md_5/bungee/protocol/PacketWrapper.java create mode 100644 src/main/java/net/md_5/bungee/protocol/Protocol.java create mode 100644 src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java create mode 100644 src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java create mode 100644 src/main/java/net/md_5/bungee/protocol/channel/BungeeChannelInitializer.java create mode 100644 src/main/java/net/md_5/bungee/protocol/channel/ChannelAcceptor.java create mode 100644 src/main/java/net/md_5/bungee/protocol/data/ChatChain.java create mode 100644 src/main/java/net/md_5/bungee/protocol/data/Location.java create mode 100644 src/main/java/net/md_5/bungee/protocol/data/NumberFormat.java create mode 100644 src/main/java/net/md_5/bungee/protocol/data/PlayerPublicKey.java create mode 100644 src/main/java/net/md_5/bungee/protocol/data/Property.java create mode 100644 src/main/java/net/md_5/bungee/protocol/data/SeenMessages.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/BossBar.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/BundleDelimiter.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Chat.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ClearDialog.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ClearTitles.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ClientChat.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ClientChatAcknowledgement.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ClientCommand.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Commands.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/CookieRequest.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/CookieResponse.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/CustomClickAction.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/DisconnectReportDetails.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/EncryptionRequest.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/EncryptionResponse.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/EntityStatus.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/FinishConfiguration.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/GameState.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Handshake.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/KeepAlive.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Kick.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/KnownPacks.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/LegacyHandshake.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/LegacyPing.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Login.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/LoginAcknowledged.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/LoginPayloadRequest.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/LoginPayloadResponse.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/LoginRequest.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/LoginSuccess.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/PingPacket.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/PlayerListHeaderFooter.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/PlayerListItem.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/PlayerListItemRemove.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/PlayerListItemUpdate.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/PluginMessage.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Respawn.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ScoreboardDisplay.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ScoreboardObjective.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ScoreboardScore.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ScoreboardScoreReset.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ServerData.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ServerLinks.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/SetCompression.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ShowDialog.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ShowDialogDirect.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/StartConfiguration.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/StatusRequest.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/StatusResponse.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/StoreCookie.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Subtitle.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/SystemChat.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/TabCompleteRequest.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/TabCompleteResponse.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Team.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Title.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/TitleTimes.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/Transfer.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/UnsignedClientCommand.java create mode 100644 src/main/java/net/md_5/bungee/protocol/packet/ViewDistance.java create mode 100644 src/main/java/net/md_5/bungee/protocol/util/Either.java create mode 100644 src/main/java/net/md_5/bungee/protocol/util/TagUtil.java create mode 100644 src/main/java/net/md_5/bungee/query/QueryHandler.java create mode 100644 src/main/java/net/md_5/bungee/query/RemoteQuery.java create mode 100644 src/main/java/net/md_5/bungee/scheduler/BungeeScheduler.java create mode 100644 src/main/java/net/md_5/bungee/scheduler/BungeeTask.java create mode 100644 src/main/java/net/md_5/bungee/serializer/dialog/DialogActionSerializer.java create mode 100644 src/main/java/net/md_5/bungee/serializer/dialog/DialogSerializer.java create mode 100644 src/main/java/net/md_5/bungee/serializer/dialog/ShowDialogClickEventSerializer.java create mode 100644 src/main/java/net/md_5/bungee/tab/ServerUnique.java create mode 100644 src/main/java/net/md_5/bungee/tab/TabList.java create mode 100644 src/main/java/net/md_5/bungee/util/AddressUtil.java create mode 100644 src/main/java/net/md_5/bungee/util/AllowedCharacters.java create mode 100644 src/main/java/net/md_5/bungee/util/BufUtil.java create mode 100644 src/main/java/net/md_5/bungee/util/CaseInsensitiveHashingStrategy.java create mode 100644 src/main/java/net/md_5/bungee/util/CaseInsensitiveMap.java create mode 100644 src/main/java/net/md_5/bungee/util/CaseInsensitiveSet.java create mode 100644 src/main/java/net/md_5/bungee/util/ChatComponentTransformer.java create mode 100644 src/main/java/net/md_5/bungee/util/PacketLimiter.java create mode 100644 src/main/java/net/md_5/bungee/util/QuietException.java create mode 100644 src/main/java/se/llbit/nbt/ByteArrayTag.java create mode 100644 src/main/java/se/llbit/nbt/ByteTag.java create mode 100644 src/main/java/se/llbit/nbt/CompoundTag.java create mode 100644 src/main/java/se/llbit/nbt/DoubleTag.java create mode 100644 src/main/java/se/llbit/nbt/DumpNBT.java create mode 100644 src/main/java/se/llbit/nbt/ErrorTag.java create mode 100644 src/main/java/se/llbit/nbt/FloatTag.java create mode 100644 src/main/java/se/llbit/nbt/IntArrayTag.java create mode 100644 src/main/java/se/llbit/nbt/IntTag.java create mode 100644 src/main/java/se/llbit/nbt/ListTag.java create mode 100644 src/main/java/se/llbit/nbt/LongArrayTag.java create mode 100644 src/main/java/se/llbit/nbt/LongTag.java create mode 100644 src/main/java/se/llbit/nbt/NamedTag.java create mode 100644 src/main/java/se/llbit/nbt/ShortTag.java create mode 100644 src/main/java/se/llbit/nbt/SpecificTag.java create mode 100644 src/main/java/se/llbit/nbt/StringTag.java create mode 100644 src/main/java/se/llbit/nbt/Tag.java create mode 100644 src/main/resources/CONTRIBUTING.md create mode 100644 src/main/resources/INFO_BIN create mode 100644 src/main/resources/INFO_SRC create mode 100644 src/main/resources/LICENSE create mode 100644 src/main/resources/LICENSE.txt create mode 100644 src/main/resources/Log4j-charsets.properties create mode 100644 src/main/resources/Log4j-events.dtd create mode 100644 src/main/resources/Log4j-events.xsd create mode 100644 src/main/resources/Log4j-levels.xsd create mode 100644 src/main/resources/META-INF/DEPENDENCIES create mode 100644 src/main/resources/META-INF/LICENSE create mode 100644 src/main/resources/META-INF/LICENSE.txt create mode 100644 src/main/resources/META-INF/MANIFEST.MF create mode 100644 src/main/resources/META-INF/NOTICE create mode 100644 src/main/resources/META-INF/NOTICE.txt create mode 100644 src/main/resources/META-INF/io.netty.versions.properties create mode 100644 src/main/resources/META-INF/jline/README.md create mode 100644 src/main/resources/META-INF/jline/providers/dumb create mode 100644 src/main/resources/META-INF/jline/providers/exec create mode 100644 src/main/resources/META-INF/jline/providers/ffm create mode 100644 src/main/resources/META-INF/jline/providers/jni create mode 100644 src/main/resources/META-INF/maven/com.google.code.gson/gson/pom.properties create mode 100644 src/main/resources/META-INF/maven/com.google.code.gson/gson/pom.xml create mode 100644 src/main/resources/META-INF/maven/com.google.errorprone/error_prone_annotations/pom.properties create mode 100644 src/main/resources/META-INF/maven/com.google.errorprone/error_prone_annotations/pom.xml create mode 100644 src/main/resources/META-INF/maven/com.google.guava/failureaccess/pom.properties create mode 100644 src/main/resources/META-INF/maven/com.google.guava/failureaccess/pom.xml create mode 100644 src/main/resources/META-INF/maven/com.google.guava/guava/pom.properties create mode 100644 src/main/resources/META-INF/maven/com.google.guava/guava/pom.xml create mode 100644 src/main/resources/META-INF/maven/com.google.guava/listenablefuture/pom.properties create mode 100644 src/main/resources/META-INF/maven/com.google.guava/listenablefuture/pom.xml create mode 100644 src/main/resources/META-INF/maven/com.google.j2objc/j2objc-annotations/pom.properties create mode 100644 src/main/resources/META-INF/maven/com.google.j2objc/j2objc-annotations/pom.xml create mode 100644 src/main/resources/META-INF/maven/com.maxmind.db/maxmind-db/pom.properties create mode 100644 src/main/resources/META-INF/maven/com.maxmind.db/maxmind-db/pom.xml create mode 100644 src/main/resources/META-INF/maven/commons-codec/commons-codec/pom.properties create mode 100644 src/main/resources/META-INF/maven/commons-codec/commons-codec/pom.xml create mode 100644 src/main/resources/META-INF/maven/dev._2lstudios/waterfall-flamecord/pom.properties create mode 100644 src/main/resources/META-INF/maven/dev._2lstudios/waterfall-flamecord/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-api/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-api/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-bootstrap/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-bootstrap/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-chat/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-chat/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-config/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-config/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-dialog/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-dialog/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-event/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-event/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-log4j/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-log4j/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-maven-resolver/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-maven-resolver/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-alert/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-alert/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-find/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-find/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-list/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-list/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-send/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-send/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-server/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-server/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-reconnect-yaml/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-reconnect-yaml/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-native/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-native/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-nbt/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-nbt/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-protocol/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-protocol/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-proxy/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-proxy/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-query/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-query/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-serializer/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-serializer/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-buffer/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-buffer/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-base/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-base/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-compression/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-compression/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-dns/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-dns/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-haproxy/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-haproxy/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-http/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-http/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-marshalling/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-marshalling/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-protobuf/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec-protobuf/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-codec/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-common/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-common/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-handler/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-handler/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-classes-macos/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-classes-macos/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-native-macos/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-native-macos/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-resolver-dns/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-resolver-dns/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-resolver/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-resolver/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-classes-epoll/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-classes-epoll/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-classes-io_uring/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-classes-io_uring/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-native-epoll/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-native-epoll/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-native-io_uring/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-native-io_uring/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-native-unix-common/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport-native-unix-common/pom.xml create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport/pom.properties create mode 100644 src/main/resources/META-INF/maven/io.netty/netty-transport/pom.xml create mode 100644 src/main/resources/META-INF/maven/net.sf.jopt-simple/jopt-simple/pom.properties create mode 100644 src/main/resources/META-INF/maven/net.sf.jopt-simple/jopt-simple/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.httpcomponents/httpclient/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.httpcomponents/httpclient/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.httpcomponents/httpcore/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.httpcomponents/httpcore/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-api/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-api/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-core/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-core/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-iostreams/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-iostreams/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-jul/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-jul/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-slf4j-impl/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-slf4j-impl/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-api/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-api/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-connector-basic/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-connector-basic/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-impl/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-impl/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-named-locks/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-named-locks/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-spi/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-spi/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-transport-http/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-transport-http/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-util/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-util/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-artifact/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-artifact/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-builder-support/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-builder-support/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-model-builder/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-model-builder/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-model/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-model/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-repository-metadata/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-repository-metadata/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-resolver-provider/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.apache.maven/maven-resolver-provider/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-interpolation/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-interpolation/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-utils/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-utils/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.eclipse.sisu/org.eclipse.sisu.inject/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.eclipse.sisu/org.eclipse.sisu.inject/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.jctools/jctools-core-jdk11/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.jctools/jctools-core-jdk11/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.jctools/jctools-core/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.jctools/jctools-core/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-native/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-native/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-reader/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-reader/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-terminal-ffm/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-terminal-ffm/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-terminal-jni/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-terminal-jni/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-terminal/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.jline/jline-terminal/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.slf4j/jcl-over-slf4j/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.slf4j/jcl-over-slf4j/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.slf4j/slf4j-api/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.slf4j/slf4j-api/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.slf4j/slf4j-jdk14/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.slf4j/slf4j-jdk14/pom.xml create mode 100644 src/main/resources/META-INF/maven/org.yaml/snakeyaml/pom.properties create mode 100644 src/main/resources/META-INF/maven/org.yaml/snakeyaml/pom.xml create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-buffer/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-buffer/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-codec-base/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-codec-compression/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-codec-compression/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-codec-dns/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-codec-haproxy/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-codec-http/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-codec-http/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-codec-marshalling/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-codec-protobuf/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-common/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-common/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-handler/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-handler/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-handler/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-resolver-dns/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-resolver-dns/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/jni-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/resource-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/jni-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/resource-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport/generated/handlers/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/io.netty/netty-transport/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/log4j-generated/6e1db6c8/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/log4j-generated/org.apache.logging.log4j/log4j-core/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-api/resource-config.json create mode 100644 src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-core/reflect-config.json create mode 100644 src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-core/resource-config.json create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-native/jni-config.json create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-native/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-native/reflection-config.json create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-native/resource-config.json create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-terminal-ffm/reachability-metadata.json create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/reflection-config.json create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/resource-config.json create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-terminal/native-image.properties create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-terminal/reflection-config.json create mode 100644 src/main/resources/META-INF/native-image/org.jline/jline-terminal/resource-config.json create mode 100644 src/main/resources/META-INF/native/libnetty_resolver_dns_native_macos_x86_64.jnilib create mode 100644 src/main/resources/META-INF/native/libnetty_transport_native_epoll_aarch_64.so create mode 100644 src/main/resources/META-INF/native/libnetty_transport_native_epoll_x86_64.so create mode 100644 src/main/resources/META-INF/native/libnetty_transport_native_io_uring42_aarch_64.so create mode 100644 src/main/resources/META-INF/native/libnetty_transport_native_io_uring42_x86_64.so create mode 100644 src/main/resources/META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat create mode 100644 src/main/resources/META-INF/proguard/base.pro create mode 100644 src/main/resources/META-INF/proguard/cache.pro create mode 100644 src/main/resources/META-INF/proguard/collect.pro create mode 100644 src/main/resources/META-INF/proguard/concurrent.pro create mode 100644 src/main/resources/META-INF/proguard/gson.pro create mode 100644 src/main/resources/META-INF/proguard/hash.pro create mode 100644 src/main/resources/META-INF/proguard/primitives.pro create mode 100644 src/main/resources/META-INF/services/java.sql.Driver create mode 100644 src/main/resources/META-INF/services/javax.annotation.processing.Processor create mode 100644 src/main/resources/META-INF/services/org.apache.commons.logging.LogFactory create mode 100644 src/main/resources/META-INF/services/org.apache.logging.log4j.core.util.ContextDataProvider create mode 100644 src/main/resources/META-INF/services/org.apache.logging.log4j.message.ThreadDumpMessage$ThreadInfoFactory create mode 100644 src/main/resources/META-INF/services/org.apache.logging.log4j.spi.Provider create mode 100644 src/main/resources/META-INF/services/org.apache.logging.log4j.util.PropertySource create mode 100644 src/main/resources/META-INF/services/org.jline.terminal.spi.TerminalProvider create mode 100644 src/main/resources/META-INF/services/reactor.blockhound.integration.BlockHoundIntegration create mode 100644 src/main/resources/META-INF/sisu/javax.inject.Named create mode 100644 src/main/resources/META-INF/versions/9/OSGI-INF/MANIFEST.MF create mode 100644 src/main/resources/README create mode 100644 src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties create mode 100644 src/main/resources/com/mysql/cj/TlsSettings.properties create mode 100644 src/main/resources/com/mysql/cj/configurations/3-0-Compat.properties create mode 100644 src/main/resources/com/mysql/cj/configurations/clusterBase.properties create mode 100644 src/main/resources/com/mysql/cj/configurations/coldFusion.properties create mode 100644 src/main/resources/com/mysql/cj/configurations/fullDebug.properties create mode 100644 src/main/resources/com/mysql/cj/configurations/maxPerformance-8-0.properties create mode 100644 src/main/resources/com/mysql/cj/configurations/maxPerformance.properties create mode 100644 src/main/resources/com/mysql/cj/configurations/solarisMaxPerformance.properties create mode 100644 src/main/resources/com/mysql/cj/util/TimeZoneMapping.properties create mode 100644 src/main/resources/damage-types-1.19.4.nbt create mode 100644 src/main/resources/damage-types-1.20.nbt create mode 100644 src/main/resources/google/protobuf/any.proto create mode 100644 src/main/resources/google/protobuf/api.proto create mode 100644 src/main/resources/google/protobuf/descriptor.proto create mode 100644 src/main/resources/google/protobuf/duration.proto create mode 100644 src/main/resources/google/protobuf/empty.proto create mode 100644 src/main/resources/google/protobuf/field_mask.proto create mode 100644 src/main/resources/google/protobuf/java_features.proto create mode 100644 src/main/resources/google/protobuf/source_context.proto create mode 100644 src/main/resources/google/protobuf/struct.proto create mode 100644 src/main/resources/google/protobuf/timestamp.proto create mode 100644 src/main/resources/google/protobuf/type.proto create mode 100644 src/main/resources/google/protobuf/wrappers.proto create mode 100644 src/main/resources/joptsimple/ExceptionMessages.properties create mode 100644 src/main/resources/joptsimple/HelpFormatterMessages.properties create mode 100644 src/main/resources/libdeflate_aarch64.so create mode 100644 src/main/resources/libdeflate_x86_64.so create mode 100644 src/main/resources/licenses/extreme.indiana.edu.license.TXT create mode 100644 src/main/resources/licenses/javolution.license.TXT create mode 100644 src/main/resources/licenses/thoughtworks.TXT create mode 100644 src/main/resources/log4j2-bungee.xml create mode 100644 src/main/resources/log4j2.component.properties create mode 100644 src/main/resources/log4j2.xml create mode 100644 src/main/resources/messages.properties create mode 100644 src/main/resources/mojang-translations/en_US.properties create mode 100644 src/main/resources/mojang-translations/en_us.json create mode 100644 src/main/resources/mozilla/public-suffix-list.txt create mode 100644 src/main/resources/native-cipher-arm.so create mode 100644 src/main/resources/native-cipher.so create mode 100644 src/main/resources/native-compress-arm.so create mode 100644 src/main/resources/native-compress.so create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_any.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_cyrillic.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_english.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_french.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_german.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_hebrew.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_hungarian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_polish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_romanian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_russian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_approx_spanish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_any.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_approx_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_cyrillic.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_english.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_french.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_german.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_hebrew.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_hungarian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_polish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_romanian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_russian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_exact_spanish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_hebrew_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_lang.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_languages.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_any.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_cyrillic.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_english.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_french.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_german.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_hebrew.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_hungarian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_polish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_romanian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_russian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/ash_rules_spanish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_any.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_arabic.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_cyrillic.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_czech.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_dutch.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_english.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_french.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_german.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_greek.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_hebrew.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_hungarian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_italian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_polish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_portuguese.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_romanian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_russian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_spanish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_approx_turkish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_any.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_approx_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_arabic.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_cyrillic.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_czech.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_dutch.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_english.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_french.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_german.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_greek.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_greeklatin.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_hebrew.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_hungarian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_italian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_polish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_portuguese.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_romanian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_russian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_spanish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_exact_turkish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_hebrew_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_lang.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_languages.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_any.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_arabic.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_cyrillic.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_czech.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_dutch.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_english.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_french.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_german.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_greek.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_greeklatin.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_hebrew.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_hungarian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_italian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_polish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_portuguese.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_romanian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_russian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_spanish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/gen_rules_turkish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/lang.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_approx_any.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_approx_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_approx_french.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_approx_hebrew.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_approx_italian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_approx_portuguese.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_approx_spanish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_exact_any.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_exact_approx_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_exact_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_exact_french.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_exact_hebrew.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_exact_italian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_exact_portuguese.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_exact_spanish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_hebrew_common.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_lang.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_languages.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_rules_any.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_rules_french.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_rules_hebrew.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_rules_italian.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_rules_portuguese.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/bm/sep_rules_spanish.txt create mode 100644 src/main/resources/org/apache/commons/codec/language/dmrules.txt create mode 100644 src/main/resources/org/apache/http/client/version.properties create mode 100644 src/main/resources/org/apache/http/version.properties create mode 100644 src/main/resources/org/apache/maven/model/pom-4.0.0.xml create mode 100644 src/main/resources/org/jline/nativ/FreeBSD/x86/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/FreeBSD/x86_64/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Linux-musl/arm64/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Linux-musl/x86_64/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Linux/arm/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Linux/arm64/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Linux/armv6/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Linux/armv7/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Linux/ppc64/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Linux/x86/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Linux/x86_64/libjlinenative.so create mode 100644 src/main/resources/org/jline/nativ/Mac/arm64/libjlinenative.jnilib create mode 100644 src/main/resources/org/jline/nativ/Mac/x86/libjlinenative.jnilib create mode 100644 src/main/resources/org/jline/nativ/Mac/x86_64/libjlinenative.jnilib create mode 100644 src/main/resources/org/jline/nativ/Windows/arm64/jlinenative.dll create mode 100644 src/main/resources/org/jline/nativ/Windows/x86/jlinenative.dll create mode 100644 src/main/resources/org/jline/nativ/Windows/x86_64/jlinenative.dll create mode 100644 src/main/resources/org/jline/nativ/jlinenative.properties create mode 100644 src/main/resources/org/jline/utils/ansi.caps create mode 100644 src/main/resources/org/jline/utils/capabilities.txt create mode 100644 src/main/resources/org/jline/utils/colors.txt create mode 100644 src/main/resources/org/jline/utils/dumb-color.caps create mode 100644 src/main/resources/org/jline/utils/dumb.caps create mode 100644 src/main/resources/org/jline/utils/rxvt-basic.caps create mode 100644 src/main/resources/org/jline/utils/rxvt-unicode-256color.caps create mode 100644 src/main/resources/org/jline/utils/rxvt-unicode.caps create mode 100644 src/main/resources/org/jline/utils/rxvt.caps create mode 100644 src/main/resources/org/jline/utils/screen-256color.caps create mode 100644 src/main/resources/org/jline/utils/screen.caps create mode 100644 src/main/resources/org/jline/utils/windows-256color.caps create mode 100644 src/main/resources/org/jline/utils/windows-conemu.caps create mode 100644 src/main/resources/org/jline/utils/windows-vtp.caps create mode 100644 src/main/resources/org/jline/utils/windows.caps create mode 100644 src/main/resources/org/jline/utils/xterm-256color.caps create mode 100644 src/main/resources/org/jline/utils/xterm.caps create mode 100644 src/main/resources/overview.html create mode 100644 src/main/resources/yggdrasil_session_pubkey.der diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2b2b8f6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +* text=auto +src/main/resources/** -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7d75f60 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +/target/ +/analysis/ +/tests/ +/.idea/* +!/.idea/misc.xml +!/.idea/encodings.xml +/.run/* +!/.run/FlameCord Package.run.xml +/*.jar +*.iml +/logs/ +/plugins/ +/modules/ +/whitelist/ +/out/ +/*.yml +/*.log +/.env +/.env.* +/.agents/ +/.codex/ +/.opencode/ +/.serena/ +/AGENTS.md diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..63e9001 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..ce8b7aa --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/.run/FlameCord Package.run.xml b/.run/FlameCord Package.run.xml new file mode 100644 index 0000000..1975143 --- /dev/null +++ b/.run/FlameCord Package.run.xml @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..f407217 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# FlameCord 2.7.1 + +FlameCord 是以 Waterfall/BungeeCord 為基礎的 Minecraft Java 版代理伺服器。玩家先連到代理,再由代理分流至後端伺服器。FlameCord 在這層加入機器人流量過濾、登入檢查與連線管理。本專案從 2.7.1 發行版 JAR 重建 Java 原始碼、執行資源與 Maven 建置。 + +## 原始混淆與重建 + +原始 JAR 的主要套件、類別與方法仍保留可辨識的名稱,例如 `FlameCord`、`CheckManager` 與 `PacketsCheck`。就可辨識的符號而言,名稱混淆程度有限。發布者採用的混淆工具與完整設定無法從現有證據確認。 + +重建時先反編譯 JVM 類別,再用原始位元組碼核對反編譯結果,修正型別與控制流程以恢復可編譯的 Java 原始碼,並用 Maven 還原相依套件及封裝流程。重建結果曾比對類別介面與部分離線行為。實際代理連線與外部服務互動仍待端對端驗證。 + +## 重建的主要功能 + +- **代理與協定**涵蓋連線、登入、後端切換、封包編解碼,以及 Waterfall 的管理指令與外掛模組。 +- **機器人與流量防護**包含連線速率、重新連線、暱稱、帳號、延遲、聊天頻率與封包異常檢查。 +- **登入前驗證**包含 Limbo 暫存連線、驗證碼、白名單與封鎖統計。 +- **來源過濾**支援 IP、代理來源與國家或地區檢查,並可整合 Linux 防火牆。 +- **伺服器營運**支援負載平衡、後端備援、維護模式、自訂伺服器清單訊息與玩家數顯示。 + +## 開發與建置 + +在 IntelliJ IDEA 開啟專案根目錄,或將根目錄的 `pom.xml` 開啟為專案。Maven 匯入會設定原始碼、資源與相依套件。若 IDEA 要求選擇 Project SDK,選用 JDK 21。匯入完成後可執行共用的 **FlameCord Package** 設定,或從終端機以 JDK 21 和 Maven 3.9 以上建置。 + +```sh +mvn clean package +``` + +首次建置需連線至 Maven Central 與 Mojang 的公開 Maven 倉庫。主要程式以 Java 17 為編譯目標,啟動入口以 Java 11 編譯,以便在舊版 Java 上顯示版本提示。封裝結果可直接啟動。 + +```sh +java -jar target/flamecord-2.7.1.jar +``` diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..331e34d --- /dev/null +++ b/pom.xml @@ -0,0 +1,495 @@ + + + 4.0.0 + dev._2lstudios + flamecord + 2.7.1 + FlameCord 2.7.1 + + + 17 + UTF-8 + 4.2.18.Final + 4.4.0 + 2.25.3 + 1.7.36 + 2.13.2 + 4.31.1 + 1.9.27 + META-INF/native/libnetty_* + org/jline/nativ/**/*jlinenative.* + + + + + central + https://repo.maven.apache.org/maven2/ + + false + + + + minecraft-libraries + https://libraries.minecraft.net/ + + false + + + + + + + + io.netty + netty-bom + ${netty.version} + pom + import + + + com.google.protobuf + protobuf-java + ${protobuf.version} + + + + + + + io.netty + netty-codec-haproxy + + + io.netty + netty-codec-http + + + io.netty + netty-codec + + + io.netty + netty-resolver-dns + + + io.netty + netty-handler + + + org.mockito + mockito-core + + + org.reflections + reflections + + + + + io.netty + netty-codec-protobuf + runtime + + + com.google.protobuf.nano + protobuf-javanano + + + org.reflections + reflections + + + + + io.netty + netty-codec-marshalling + runtime + + + org.jboss.marshalling + * + + + org.reflections + reflections + + + + + io.netty + netty-transport-classes-epoll + + + io.netty + netty-transport-classes-io_uring + + + io.netty + netty-resolver-dns-native-macos + osx-x86_64 + runtime + + + io.netty + netty-transport-native-epoll + linux-x86_64 + runtime + + + io.netty + netty-transport-native-epoll + linux-aarch_64 + runtime + + + io.netty + netty-transport-native-io_uring + linux-x86_64 + runtime + + + io.netty + netty-transport-native-io_uring + linux-aarch_64 + runtime + + + com.google.guava + guava + 33.5.0-jre + + + com.google.code.gson + gson + ${gson.version} + + + com.mojang + brigadier + 1.2.9 + + + it.unimi.dsi + fastutil-core + 8.5.19 + + + com.maxmind.db + maxmind-db + 2.0.0 + + + com.mysql + mysql-connector-j + 26.7.0 + runtime + + + org.ow2.asm + asm-commons + 9.10.1 + + + org.yaml + snakeyaml + 2.7 + + + net.sf.jopt-simple + jopt-simple + 5.0.4 + + + net.minecrell + terminalconsoleappender + 1.3.0 + + + org.apache.logging.log4j + log4j-core + + + org.jline + jline-terminal + + + + + org.jline + jline-reader + 3.20.0 + + + org.jline + jline-terminal + ${jline.version} + + + org.jline + jline-terminal-ffm + ${jline.version} + runtime + + + org.jline + jline-terminal-jni + ${jline.version} + runtime + + + org.apache.logging.log4j + log4j-core + ${log4j.version} + + + org.apache.logging.log4j + log4j-iostreams + ${log4j.version} + + + org.apache.logging.log4j + log4j-jul + ${log4j.version} + + + org.apache.logging.log4j + log4j-slf4j-impl + ${log4j.version} + runtime + + + org.slf4j + slf4j-api + ${slf4j.version} + + + org.slf4j + slf4j-jdk14 + ${slf4j.version} + runtime + + + com.lmax + disruptor + 3.4.4 + runtime + + + org.apache.maven + maven-resolver-provider + 3.9.16 + + + org.apache.maven.resolver + maven-resolver-connector-basic + ${maven-resolver.version} + + + org.apache.maven.resolver + maven-resolver-transport-http + ${maven-resolver.version} + + + commons-logging + commons-logging + + + + + commons-codec + commons-codec + 1.21.0 + runtime + + + org.slf4j + jcl-over-slf4j + ${slf4j.version} + runtime + + + javax.inject + javax.inject + 1 + runtime + + + org.projectlombok + lombok + 1.18.24 + provided + + + org.jetbrains + annotations + 24.0.1 + provided + + + + + + + src/main/resources + + ${netty.native.resources} + ${jline.native.resources} + + + + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.1 + + false + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + none + + -Xpkginfo:always + -implicit:none + + + + + default-compile + + + net/md_5/bungee/Bootstrap.java + + + + + compile-bootstrap + compile + + compile + + + 11 + + net/md_5/bungee/Bootstrap.java + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.5.0 + + true + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + false + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.6.1 + + + extract-multi-release-descriptors + prepare-package + + unpack + + + ${project.build.directory}/module-descriptors + + + com.google.code.gson + gson + ${gson.version} + META-INF/versions/9/module-info.class + + + io.netty + netty-codec-haproxy + ${netty.version} + META-INF/versions/11/module-info.class + + + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.6.2 + + + shade-runtime + package + + shade + + + ${project.build.directory}/distribution-runtime.jar + false + + + *:* + + **/*.class + ${netty.native.resources} + ${jline.native.resources} + + + **/module-info.class + + + + org.slf4j:slf4j-jdk14 + + org/slf4j/impl/Static*Binder.class + + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 3.1.0 + + + assemble-distribution + package + + run + + + + + + + + + + + + + + + + + + diff --git a/src/main/java/com/arkflame/flamecord/natives/MoreByteBufUtils.java b/src/main/java/com/arkflame/flamecord/natives/MoreByteBufUtils.java new file mode 100644 index 0000000..bca9aff --- /dev/null +++ b/src/main/java/com/arkflame/flamecord/natives/MoreByteBufUtils.java @@ -0,0 +1,24 @@ +package com.arkflame.flamecord.natives; + +import com.arkflame.flamecord.natives.compress.Compressor; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.ByteBufAllocator; + +public class MoreByteBufUtils { + public static ByteBuf ensureCompatible(ByteBufAllocator alloc, Compressor nativeStuff, ByteBuf buf) { + if (isCompatible(nativeStuff, buf)) { + return buf.retain(); + } else { + ByteBuf newBuf = alloc.directBuffer(buf.readableBytes()); + newBuf.writeBytes(buf); + return newBuf; + } + } + + private static boolean isCompatible(Compressor nativeStuff, ByteBuf buf) { + if (nativeStuff.isNeedDirectBuffer()) { + return buf.hasMemoryAddress(); + } + return true; + } +} diff --git a/src/main/java/com/arkflame/flamecord/natives/NativeEnvironmentDetector.java b/src/main/java/com/arkflame/flamecord/natives/NativeEnvironmentDetector.java new file mode 100644 index 0000000..427f047 --- /dev/null +++ b/src/main/java/com/arkflame/flamecord/natives/NativeEnvironmentDetector.java @@ -0,0 +1,32 @@ +package com.arkflame.flamecord.natives; + +import io.netty.buffer.ByteBuf; +import io.netty.buffer.Unpooled; + +public final class NativeEnvironmentDetector { + private static final boolean IS_AMD64; + private static final boolean IS_AARCH64; + private static final boolean CAN_GET_MEMORYADDRESS; + + public static boolean isLinux_X86_64() { + return CAN_GET_MEMORYADDRESS && System.getProperty("os.name", "").equalsIgnoreCase("Linux") && IS_AMD64; + } + + public static boolean isLinux_AARCH64() { + return CAN_GET_MEMORYADDRESS && System.getProperty("os.name", "").equalsIgnoreCase("Linux") && IS_AARCH64; + } + + static { + ByteBuf test = Unpooled.directBuffer(); + + try { + CAN_GET_MEMORYADDRESS = test.hasMemoryAddress(); + } finally { + test.release(); + } + + String osArch = System.getProperty("os.arch", ""); + IS_AMD64 = osArch.equals("amd64") || osArch.equals("x86_64"); + IS_AARCH64 = osArch.equals("aarch64") || osArch.equals("arm64"); + } +} diff --git a/src/main/java/com/arkflame/flamecord/natives/Natives.java b/src/main/java/com/arkflame/flamecord/natives/Natives.java new file mode 100644 index 0000000..cdb1e00 --- /dev/null +++ b/src/main/java/com/arkflame/flamecord/natives/Natives.java @@ -0,0 +1,118 @@ +package com.arkflame.flamecord.natives; + +import com.arkflame.flamecord.natives.compress.Compressor; +import com.arkflame.flamecord.natives.compress.CompressorFactory; +import com.arkflame.flamecord.natives.compress.JavaCompressor; +import com.arkflame.flamecord.natives.compress.LibdeflateCompressor; +import java.io.IOException; +import java.io.InputStream; +import java.nio.file.CopyOption; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.StandardCopyOption; +import java.util.Arrays; +import java.util.List; + +public class Natives { + private static final CompressorFactory COMPRESSOR_FACTORY = loadAvailableCompressFactory(); + + public static CompressorFactory getCompressorFactory() { + return COMPRESSOR_FACTORY; + } + + public static List getAvailableCompressorFactories() { + return Arrays.asList(new CompressorFactory() { + public String getName() { + return "Libdeflate (linux_x86_64)"; + } + + public boolean isCorrectEnvironment() { + return NativeEnvironmentDetector.isLinux_X86_64(); + } + + public String getNativePath() { + return "/libdeflate_x86_64.so"; + } + + public Compressor create(int level) { + return new LibdeflateCompressor(level); + } + }, new CompressorFactory() { + public String getName() { + return "Libdeflate (linux_aarch64)"; + } + + public boolean isCorrectEnvironment() { + return NativeEnvironmentDetector.isLinux_AARCH64(); + } + + public String getNativePath() { + return "/libdeflate_aarch64.so"; + } + + public Compressor create(int level) { + return new LibdeflateCompressor(level); + } + }, new CompressorFactory() { + public String getName() { + return "Java"; + } + + public boolean isCorrectEnvironment() { + return true; + } + + public String getNativePath() { + return null; + } + + public Compressor create(int level) { + return new JavaCompressor(level); + } + }); + } + + public static CompressorFactory loadAvailableCompressFactory() { + for (CompressorFactory factory : getAvailableCompressorFactories()) { + if (factory.isCorrectEnvironment()) { + String nativePath = factory.getNativePath(); + if (nativePath != null) { + try { + copyAndLoadNative(nativePath); + } catch (Exception ignored) { + continue; + } + } + return factory; + } + } + throw new IllegalStateException("None of the compress factories recognized the environment!"); + } + + private static void copyAndLoadNative(String path) { + try { + InputStream nativeLib = Natives.class.getResourceAsStream(path); + if (nativeLib == null) { + throw new IllegalStateException("Native library " + path + " not found."); + } else { + Path tempFile = Files.createTempFile("native-", path.substring(path.lastIndexOf(46))); + Files.copy(nativeLib, tempFile, new CopyOption[]{StandardCopyOption.REPLACE_EXISTING}); + Runtime.getRuntime().addShutdownHook(new Thread(() -> { + try { + Files.deleteIfExists(tempFile); + } catch (IOException var2) { + } + + })); + + try { + System.load(tempFile.toAbsolutePath().toString()); + } catch (UnsatisfiedLinkError e) { + throw new RuntimeException("Unable to load native " + String.valueOf(tempFile.toAbsolutePath()), e); + } + } + } catch (IOException e) { + throw new RuntimeException("Unable to copy natives", e); + } + } +} diff --git a/src/main/java/com/arkflame/flamecord/natives/compress/Compressor.java b/src/main/java/com/arkflame/flamecord/natives/compress/Compressor.java new file mode 100644 index 0000000..64d0046 --- /dev/null +++ b/src/main/java/com/arkflame/flamecord/natives/compress/Compressor.java @@ -0,0 +1,15 @@ +package com.arkflame.flamecord.natives.compress; + +import io.netty.buffer.ByteBuf; +import java.io.Closeable; +import java.util.zip.DataFormatException; + +public interface Compressor extends Closeable { + int OUTPUT_BUFFER_SIZE = 8192; + + void inflate(ByteBuf var1, ByteBuf var2, int var3) throws DataFormatException; + + void deflate(ByteBuf var1, ByteBuf var2) throws DataFormatException; + + boolean isNeedDirectBuffer(); +} diff --git a/src/main/java/com/arkflame/flamecord/natives/compress/CompressorFactory.java b/src/main/java/com/arkflame/flamecord/natives/compress/CompressorFactory.java new file mode 100644 index 0000000..01d2f02 --- /dev/null +++ b/src/main/java/com/arkflame/flamecord/natives/compress/CompressorFactory.java @@ -0,0 +1,11 @@ +package com.arkflame.flamecord.natives.compress; + +public interface CompressorFactory { + String getName(); + + boolean isCorrectEnvironment(); + + String getNativePath(); + + Compressor create(int var1); +} diff --git a/src/main/java/com/arkflame/flamecord/natives/compress/JavaCompressor.java b/src/main/java/com/arkflame/flamecord/natives/compress/JavaCompressor.java new file mode 100644 index 0000000..7e2a575 --- /dev/null +++ b/src/main/java/com/arkflame/flamecord/natives/compress/JavaCompressor.java @@ -0,0 +1,74 @@ +package com.arkflame.flamecord.natives.compress; + +import com.google.common.base.Preconditions; +import io.netty.buffer.ByteBuf; +import java.util.zip.DataFormatException; +import java.util.zip.Deflater; +import java.util.zip.Inflater; + +public class JavaCompressor implements Compressor { + private final byte[] buffer = new byte[8192]; + private final Deflater deflater; + private final Inflater inflater; + private boolean disposed = false; + + public JavaCompressor(int level) { + this.deflater = new Deflater(level); + this.inflater = new Inflater(); + } + + public void inflate(ByteBuf source, ByteBuf destination, int uncompressedSize) throws DataFormatException { + this.ensureNotDisposed(); + Preconditions.checkArgument(source.nioBufferCount() == 1, "source has multiple backing buffers"); + Preconditions.checkArgument(destination.nioBufferCount() == 1, "destination has multiple backing buffers"); + + try { + byte[] inData = new byte[source.readableBytes()]; + source.readBytes(inData); + this.inflater.setInput(inData); + + while(!this.inflater.finished() && this.inflater.getTotalIn() < inData.length) { + int count = this.inflater.inflate(this.buffer); + destination.writeBytes(this.buffer, 0, count); + } + } finally { + this.inflater.reset(); + } + + } + + public void deflate(ByteBuf source, ByteBuf destination) throws DataFormatException { + this.ensureNotDisposed(); + Preconditions.checkArgument(source.nioBufferCount() == 1, "source has multiple backing buffers"); + Preconditions.checkArgument(destination.nioBufferCount() == 1, "destination has multiple backing buffers"); + + try { + byte[] inData = new byte[source.readableBytes()]; + source.readBytes(inData); + this.deflater.setInput(inData); + this.deflater.finish(); + + while(!this.deflater.finished()) { + int count = this.deflater.deflate(this.buffer); + destination.writeBytes(this.buffer, 0, count); + } + } finally { + this.deflater.reset(); + } + + } + + public void close() { + this.disposed = true; + this.deflater.end(); + this.inflater.end(); + } + + private void ensureNotDisposed() { + Preconditions.checkState(!this.disposed, "Object already disposed"); + } + + public boolean isNeedDirectBuffer() { + return false; + } +} diff --git a/src/main/java/com/arkflame/flamecord/natives/compress/LibdeflateCompressor.java b/src/main/java/com/arkflame/flamecord/natives/compress/LibdeflateCompressor.java new file mode 100644 index 0000000..f77415a --- /dev/null +++ b/src/main/java/com/arkflame/flamecord/natives/compress/LibdeflateCompressor.java @@ -0,0 +1,156 @@ +package com.arkflame.flamecord.natives.compress; + +import com.arkflame.natives.compression.NativeZlibDeflate; +import com.arkflame.natives.compression.NativeZlibInflate; +import com.google.common.base.Preconditions; +import io.netty.buffer.ByteBuf; +import java.util.zip.DataFormatException; + +public class LibdeflateCompressor implements Compressor { + private final long inflateCtx; + private final long deflateCtx; + private boolean disposed = false; + + public LibdeflateCompressor(int level) { + int correctedLevel = level == -1 ? 6 : level; + if (correctedLevel > 12 || correctedLevel < 1) { + throw new IllegalArgumentException("Invalid compression level " + level); + } + this.inflateCtx = NativeZlibInflate.init(); + this.deflateCtx = NativeZlibDeflate.init(correctedLevel); + } + + public void inflate(ByteBuf source, ByteBuf destination, int uncompressedSize) throws DataFormatException { + this.ensureNotDisposed(); + destination.ensureWritable(uncompressedSize); + if (source.hasMemoryAddress() && destination.hasMemoryAddress()) { + long sourceAddress = source.memoryAddress() + (long)source.readerIndex(); + long destinationAddress = destination.memoryAddress() + (long)destination.writerIndex(); + boolean success = NativeZlibInflate.process(this.inflateCtx, sourceAddress, source.readableBytes(), destinationAddress, uncompressedSize); + if (!success) { + throw new DataFormatException("Failed to inflate data"); + } + destination.writerIndex(destination.writerIndex() + uncompressedSize); + source.readerIndex(source.writerIndex()); + return; + } + + byte[] srcArray; + int srcOffset; + int srcLength = source.readableBytes(); + if (source.hasArray()) { + srcArray = source.array(); + srcOffset = source.arrayOffset() + source.readerIndex(); + } else { + srcArray = new byte[srcLength]; + source.readBytes(srcArray); + srcOffset = 0; + } + + byte[] dstArray; + int dstOffset; + if (destination.hasArray()) { + dstArray = destination.array(); + dstOffset = destination.arrayOffset() + destination.writerIndex(); + } else { + dstArray = new byte[uncompressedSize]; + dstOffset = 0; + } + + boolean success = NativeZlibInflate.processHeap(this.inflateCtx, srcArray, srcOffset, srcLength, dstArray, dstOffset, uncompressedSize); + if (!success) { + throw new DataFormatException("Failed to inflate data on heap"); + } + if (destination.hasArray()) { + destination.writerIndex(destination.writerIndex() + uncompressedSize); + } else { + destination.writeBytes(dstArray, 0, uncompressedSize); + } + source.readerIndex(source.writerIndex()); + } + + public void deflate(ByteBuf source, ByteBuf destination) throws DataFormatException { + this.ensureNotDisposed(); + if (source.hasMemoryAddress() && destination.hasMemoryAddress()) { + long sourceAddress = source.memoryAddress() + (long)source.readerIndex(); + int sourceLength = source.readableBytes(); + + while (true) { + long destinationAddress = destination.memoryAddress() + (long)destination.writerIndex(); + int destinationLength = destination.writableBytes(); + int produced = NativeZlibDeflate.process(this.deflateCtx, sourceAddress, sourceLength, destinationAddress, destinationLength); + if (produced > 0) { + destination.writerIndex(destination.writerIndex() + produced); + source.readerIndex(source.writerIndex()); + break; + } + + if (produced == 0) { + destination.ensureWritable(destination.capacity() * 2); + } else { + throw new DataFormatException("libdeflate returned error code " + produced); + } + } + return; + } + + byte[] srcArray; + int srcOffset; + int srcLength = source.readableBytes(); + if (source.hasArray()) { + srcArray = source.array(); + srcOffset = source.arrayOffset() + source.readerIndex(); + } else { + srcArray = new byte[srcLength]; + source.readBytes(srcArray); + srcOffset = 0; + } + + while (true) { + byte[] dstArray; + int dstOffset; + int dstLength = destination.writableBytes(); + if (destination.hasArray()) { + dstArray = destination.array(); + dstOffset = destination.arrayOffset() + destination.writerIndex(); + } else { + dstArray = new byte[dstLength]; + dstOffset = 0; + } + + int produced = NativeZlibDeflate.processHeap(this.deflateCtx, srcArray, srcOffset, srcLength, dstArray, dstOffset, dstLength); + if (produced > 0) { + if (destination.hasArray()) { + destination.writerIndex(destination.writerIndex() + produced); + } else { + destination.writeBytes(dstArray, 0, produced); + } + source.readerIndex(source.writerIndex()); + break; + } + + if (produced == 0) { + destination.ensureWritable(destination.capacity() * 2); + } else { + throw new DataFormatException("libdeflate returned error code " + produced + " on heap"); + } + } + } + + private void ensureNotDisposed() { + Preconditions.checkState(!this.disposed, "Object already disposed"); + } + + public void close() { + if (!this.disposed) { + NativeZlibInflate.free(this.inflateCtx); + NativeZlibDeflate.free(this.deflateCtx); + } + + this.disposed = true; + } + + public boolean isNeedDirectBuffer() { + return false; + } +} diff --git a/src/main/java/com/arkflame/natives/compression/NativeZlibDeflate.java b/src/main/java/com/arkflame/natives/compression/NativeZlibDeflate.java new file mode 100644 index 0000000..f1e0ed9 --- /dev/null +++ b/src/main/java/com/arkflame/natives/compression/NativeZlibDeflate.java @@ -0,0 +1,11 @@ +package com.arkflame.natives.compression; + +public class NativeZlibDeflate { + public static native long init(int var0); + + public static native long free(long var0); + + public static native int process(long var0, long var2, int var4, long var5, int var7); + + public static native int processHeap(long var0, byte[] var2, int var3, int var4, byte[] var5, int var6, int var7); +} diff --git a/src/main/java/com/arkflame/natives/compression/NativeZlibInflate.java b/src/main/java/com/arkflame/natives/compression/NativeZlibInflate.java new file mode 100644 index 0000000..f5f11dc --- /dev/null +++ b/src/main/java/com/arkflame/natives/compression/NativeZlibInflate.java @@ -0,0 +1,13 @@ +package com.arkflame.natives.compression; + +import java.util.zip.DataFormatException; + +public class NativeZlibInflate { + public static native long init(); + + public static native long free(long var0); + + public static native boolean process(long var0, long var2, int var4, long var5, int var7) throws DataFormatException; + + public static native boolean processHeap(long var0, byte[] var2, int var3, int var4, byte[] var5, int var6, int var7) throws DataFormatException; +} diff --git a/src/main/java/dev/_2lstudios/flamecord/FlameCord.java b/src/main/java/dev/_2lstudios/flamecord/FlameCord.java new file mode 100644 index 0000000..f58f231 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/FlameCord.java @@ -0,0 +1,210 @@ +package dev._2lstudios.flamecord; + +import dev._2lstudios.flamecord.antibot.BlockedPlayersNotifier; +import dev._2lstudios.flamecord.antibot.CheckManager; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.StatsData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import dev._2lstudios.flamecord.configuration.MessagesConfiguration; +import dev._2lstudios.flamecord.configuration.ModulesConfiguration; +import dev._2lstudios.flamecord.managers.UserWhitelistManager; +import dev._2lstudios.flamecord.util.FirewallCommandQueue; +import java.io.File; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; +import java.util.logging.Logger; +import lombok.Generated; +import net.md_5.bungee.config.ConfigurationProvider; +import net.md_5.bungee.config.YamlConfiguration; + +public class FlameCord { + private static FlameCord instance; + private FlameCordConfiguration flameCordConfiguration; + private ModulesConfiguration modulesConfiguration; + private MessagesConfiguration messagesConfiguration; + private AddressDataManager addressDataManager; + private CheckManager checkManager; + private StatsData statsData; + private LoggerWrapper loggerWrapper; + private UserWhitelistManager userWhitelistManager; + private BlockedPlayersNotifier blockedPlayersNotifier; + private volatile FirewallCommandQueue firewallCommands; + private volatile Thread firewallTickThread; + private volatile boolean firewallRunning; + private boolean shutdown = false; + + public static void initialize(Logger logger, Collection whitelistedAddresses) { + if (instance == null) { + instance = new FlameCord(); + } + + instance.reload(logger, whitelistedAddresses); + instance.init(); + } + + public void reload(Logger logger, Collection whitelistedAddresses) { + ConfigurationProvider configurationProvider = ConfigurationProvider.getProvider(YamlConfiguration.class); + this.flameCordConfiguration = new FlameCordConfiguration(configurationProvider, whitelistedAddresses); + this.modulesConfiguration = new ModulesConfiguration(configurationProvider); + this.messagesConfiguration = new MessagesConfiguration(logger, configurationProvider); + if (this.checkManager != null) { + this.checkManager.unload(); + } + + this.loggerWrapper = new LoggerWrapper(Logger.getLogger("BungeeCord")); + this.addressDataManager = new AddressDataManager(); + this.checkManager = new CheckManager(this.addressDataManager, this.flameCordConfiguration); + this.statsData = new StatsData(); + this.blockedPlayersNotifier = new BlockedPlayersNotifier(); + this.userWhitelistManager = new UserWhitelistManager(new File("whitelist/"), logger); + } + + public void printReviewBanner(Logger logger, String version) { + try { + if (!this.flameCordConfiguration.isReviewReminderEnabled()) { + return; + } + + logger.info("============================================"); + logger.info(" FlameCord v" + version + " - by ArkFlame Studios"); + logger.info(" Enjoying it? Please leave a review:"); + logger.info(" https://builtbybit.com/resources/flamecord-ultimate-anti-bot-solution.13492/reviews"); + logger.info(" Hide this: review-reminder.enabled: false"); + logger.info("============================================"); + } catch (Throwable var4) { + } + + } + + public void init() { + this.stopFirewall(); + if (!this.flameCordConfiguration.isAntibotFirewallIpset()) { + return; + } + + FirewallCommandQueue queue = new FirewallCommandQueue(this.loggerWrapper.getLogger()); + this.firewallCommands = queue; + queue.start(); + String ttl = Integer.toString(this.flameCordConfiguration.getAntibotFirewallExpire()); + queue.enqueue("ipset", "destroy", "flamecord"); + queue.enqueue("ipset", "create", "flamecord", "hash:ip", "timeout", ttl); + queue.enqueue("ipset", "destroy", "flamecord6"); + queue.enqueue("ipset", "create", "flamecord6", "hash:ip", "family", "inet6", "timeout", ttl); + queue.enqueue("iptables", "-t", "raw", "-I", "PREROUTING", "-m", "set", "--match-set", "flamecord", "src", "-j", "DROP"); + queue.enqueue("ip6tables", "-t", "raw", "-I", "PREROUTING", "-m", "set", "--match-set", "flamecord6", "src", "-j", "DROP"); + this.firewallRunning = true; + Thread tick = new Thread(() -> { + while (this.firewallRunning && !Thread.currentThread().isInterrupted()) { + try { + this.checkManager.getReconnectCheck().tick(); + } catch (Throwable failure) { + this.loggerWrapper.warning("Reconnect check tick failed: " + String.valueOf(failure)); + } + + try { + Thread.sleep(1000L); + } catch (InterruptedException interrupted) { + Thread.currentThread().interrupt(); + } + } + }, "FlameCord-Firewall-Tick"); + tick.setDaemon(true); + this.firewallTickThread = tick; + tick.start(); + } + + private static List> firewallCleanupCommands() { + return Arrays.asList(Arrays.asList("iptables", "-t", "raw", "-D", "PREROUTING", "-m", "set", "--match-set", "flamecord", "src", "-j", "DROP"), Arrays.asList("ip6tables", "-t", "raw", "-D", "PREROUTING", "-m", "set", "--match-set", "flamecord6", "src", "-j", "DROP"), Arrays.asList("ipset", "destroy", "flamecord"), Arrays.asList("ipset", "destroy", "flamecord6")); + } + + private void stopFirewall() { + this.firewallRunning = false; + Thread tick = this.firewallTickThread; + this.firewallTickThread = null; + if (tick != null) { + tick.interrupt(); + + try { + tick.join(2000L); + } catch (InterruptedException var3) { + Thread.currentThread().interrupt(); + } + } + + FirewallCommandQueue queue = this.firewallCommands; + this.firewallCommands = null; + if (queue != null && !queue.shutdown(firewallCleanupCommands())) { + this.loggerWrapper.warning("Firewall cleanup did not finish; rules may remain installed."); + } + + } + + public boolean isShuttingDown() { + return this.shutdown; + } + + public void shutdown() { + this.shutdown = true; + this.stopFirewall(); + } + + public void enqueueLinuxCommand(String... command) { + FirewallCommandQueue queue = this.firewallCommands; + if (queue != null) { + queue.enqueue(command); + } + + } + + @Generated + public static FlameCord getInstance() { + return instance; + } + + @Generated + public FlameCordConfiguration getFlameCordConfiguration() { + return this.flameCordConfiguration; + } + + @Generated + public ModulesConfiguration getModulesConfiguration() { + return this.modulesConfiguration; + } + + @Generated + public MessagesConfiguration getMessagesConfiguration() { + return this.messagesConfiguration; + } + + @Generated + public AddressDataManager getAddressDataManager() { + return this.addressDataManager; + } + + @Generated + public CheckManager getCheckManager() { + return this.checkManager; + } + + @Generated + public StatsData getStatsData() { + return this.statsData; + } + + @Generated + public LoggerWrapper getLoggerWrapper() { + return this.loggerWrapper; + } + + @Generated + public UserWhitelistManager getUserWhitelistManager() { + return this.userWhitelistManager; + } + + @Generated + public BlockedPlayersNotifier getBlockedPlayersNotifier() { + return this.blockedPlayersNotifier; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/LimboProtocol.java b/src/main/java/dev/_2lstudios/flamecord/LimboProtocol.java new file mode 100644 index 0000000..05ddf39 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/LimboProtocol.java @@ -0,0 +1,50 @@ +package dev._2lstudios.flamecord; + +import dev._2lstudios.flamecord.packets.DefaultSpawnPosition; +import dev._2lstudios.flamecord.packets.EmptyChunkPacket; +import dev._2lstudios.flamecord.packets.JoinGame; +import dev._2lstudios.flamecord.packets.Player; +import dev._2lstudios.flamecord.packets.PlayerAbilities; +import dev._2lstudios.flamecord.packets.PlayerPosition; +import dev._2lstudios.flamecord.packets.PlayerPositionAndLook; +import dev._2lstudios.flamecord.packets.RegistryData; +import dev._2lstudios.flamecord.packets.SetExp; +import dev._2lstudios.flamecord.packets.SetSlot; +import dev._2lstudios.flamecord.packets.TeleportConfirm; +import dev._2lstudios.flamecord.packets.TimeUpdate; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.packet.Chat; +import net.md_5.bungee.protocol.packet.ClientChat; +import net.md_5.bungee.protocol.packet.ClientSettings; +import net.md_5.bungee.protocol.packet.KeepAlive; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public class LimboProtocol { + private static Protocol.ProtocolMapping map(int protocol, int id) { + return Protocol.map(protocol, id); + } + + public static void registerConfigurationPackets(Protocol.DirectionData TO_CLIENT) { + TO_CLIENT.registerPacket(RegistryData.class, RegistryData::new, map(764, 5), map(766, 7)); + } + + public static void registerPackets(Protocol.DirectionData TO_CLIENT, Protocol.DirectionData TO_SERVER) { + TO_CLIENT.registerPacket(JoinGame.class, JoinGame::new, map(47, 1), map(107, 35), map(393, 37), map(573, 38), map(735, 37), map(751, 36), map(755, 38), map(759, 35), map(760, 37), map(761, 36), map(762, 40), map(764, 41), map(766, 43), map(768, 44), map(770, 43), map(773, 48)); + TO_CLIENT.registerPacket(TimeUpdate.class, TimeUpdate::new, map(47, 3), map(107, 68), map(335, 70), map(338, 71), map(393, 74), map(477, 78), map(573, 79), map(735, 78), map(755, 88), map(757, 89), map(760, 92), map(761, 90), map(762, 94), map(764, 96), map(765, 98), map(766, 100), map(768, 107), map(770, 106), map(773, 111)); + TO_CLIENT.registerPacket(PlayerPositionAndLook.class, PlayerPositionAndLook::new, map(47, 8), map(107, 46), map(338, 47), map(393, 50), map(477, 53), map(573, 54), map(735, 53), map(751, 52), map(755, 56), map(759, 54), map(760, 57), map(761, 56), map(762, 60), map(764, 62), map(766, 64), map(768, 66), map(770, 65), map(773, 70)); + TO_CLIENT.registerPacket(EmptyChunkPacket.class, EmptyChunkPacket::new, map(47, 33), map(107, 32), map(393, 34), map(477, 33), map(573, 34), map(735, 33), map(751, 32), map(755, 34), map(759, 31), map(760, 33), map(761, 32), map(762, 36), map(764, 37), map(766, 39), map(768, 40), map(770, 39), map(773, 44)); + TO_CLIENT.registerPacket(SetSlot.class, SetSlot::new, map(47, 47), map(107, 22), map(393, 23), map(477, 22), map(573, 23), map(735, 22), map(751, 21), map(755, 22), map(759, 19), map(761, 18), map(762, 20), map(764, 21), map(765, 22), map(766, 24), map(767, 23), map(768, 26), map(770, 25), map(771, 26), map(773, 31)); + TO_CLIENT.registerPacket(PlayerAbilities.class, PlayerAbilities::new, map(47, 57), map(107, 43), map(338, 44), map(393, 46), map(477, 49), map(573, 50), map(735, 49), map(751, 48), map(755, 50), map(759, 47), map(760, 49), map(761, 48), map(762, 52), map(764, 54), map(766, 56), map(768, 58), map(770, 57), map(773, 62)); + TO_CLIENT.registerPacket(SetExp.class, SetExp::new, map(47, 31), map(107, 61), map(335, 63), map(338, 64), map(393, 67), map(477, 71), map(573, 72), map(755, 81), map(760, 84), map(761, 82), map(762, 86), map(764, 88), map(765, 90), map(766, 92), map(768, 97), map(770, 96), map(773, 101)); + TO_CLIENT.registerPacket(DefaultSpawnPosition.class, DefaultSpawnPosition::new, map(47, 5), map(107, 67), map(335, 69), map(338, 70), map(393, 73), map(477, 77), map(573, 78), map(735, 66), map(755, 75), map(759, 74), map(760, 77), map(761, 76), map(762, 80), map(764, 82), map(765, 84), map(766, 86), map(768, 91), map(770, 90), map(773, 95)); + TO_SERVER.registerPacket(ClientSettings.class, ClientSettings::new, map(47, 21), map(107, 4), map(335, 5), map(338, 4), map(477, 5), map(759, 7), map(760, 8), map(761, 7), map(762, 8), map(764, 9), map(766, 10), map(768, 12), map(771, 13)); + TO_SERVER.registerPacket(TeleportConfirm.class, TeleportConfirm::new, map(107, 0)); + TO_SERVER.registerPacket(PlayerPositionAndLook.class, PlayerPositionAndLook::new, map(47, 6), map(107, 13), map(335, 15), map(338, 14), map(393, 17), map(477, 18), map(735, 19), map(755, 18), map(759, 20), map(760, 21), map(761, 20), map(762, 21), map(764, 23), map(765, 24), map(766, 27), map(768, 29), map(771, 30)); + TO_SERVER.registerPacket(PlayerPosition.class, PlayerPosition::new, map(47, 4), map(107, 12), map(335, 14), map(338, 13), map(393, 16), map(477, 17), map(735, 18), map(755, 17), map(759, 19), map(760, 20), map(761, 19), map(762, 20), map(764, 22), map(765, 23), map(766, 26), map(768, 28), map(771, 29)); + TO_SERVER.registerPacket(Player.class, Player::new, map(47, 3), map(107, 15), map(335, 13), map(338, 12), map(393, 15), map(477, 20), map(735, 21), map(755, 20), map(759, 22), map(760, 23), map(761, 22), map(762, 23), map(764, 25), map(765, 26), map(766, 29), map(768, 31), map(771, 32)); + TO_SERVER.registerPacket(KeepAlive.class, KeepAlive::new, map(47, 0), map(107, 11), map(335, 12), map(338, 11), map(393, 14), map(477, 15), map(735, 16), map(755, 15), map(759, 17), map(760, 18), map(761, 17), map(762, 18), map(764, 20), map(765, 21), map(766, 24), map(768, 26), map(771, 27)); + TO_SERVER.registerPacket(Chat.class, Chat::new, map(47, 1), map(107, 2), map(335, 3), map(338, 2), map(477, 3), map(759, -1)); + TO_SERVER.registerPacket(ClientChat.class, ClientChat::new, map(759, 4), map(760, 5), map(766, 6), map(768, 7), map(771, 8)); + TO_SERVER.registerPacket(PluginMessage.class, PluginMessage::new, map(47, 23), map(107, 9), map(335, 10), map(338, 9), map(393, 10), map(477, 11), map(755, 10), map(759, 12), map(760, 13), map(761, 12), map(762, 13), map(764, 15), map(765, 16), map(766, 18), map(768, 20), map(771, 21)); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/LimboThread.java b/src/main/java/dev/_2lstudios/flamecord/LimboThread.java new file mode 100644 index 0000000..17bcb61 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/LimboThread.java @@ -0,0 +1,102 @@ +package dev._2lstudios.flamecord; + +import dev._2lstudios.flamecord.antibot.LimboFilter; +import dev._2lstudios.flamecord.antibot.cached.CachedPacketType; +import dev._2lstudios.flamecord.antibot.handlers.LimboHandler; +import dev._2lstudios.flamecord.utils.PacketUtils; +import java.util.HashSet; +import java.util.Map; +import java.util.Set; +import java.util.logging.Level; +import net.md_5.bungee.BungeeCord; + +public class LimboThread { + private static Thread thread; + private static final Set> TO_REMOVE_SET = new HashSet(); + private static final BungeeCord bungee = BungeeCord.getInstance(); + private static final long SLEEP_TIME = 1000L; + private static final long MESSAGE_INTERVAL = 3000L; + + public static void start() { + thread = new Thread(() -> { + while(sleep(1000L)) { + processConnections(); + } + + }, "LimboHandler thread"); + thread.start(); + } + + public static void stop() { + if (thread != null) { + thread.interrupt(); + } + + } + + private static void processConnections() { + try { + long currTime = System.currentTimeMillis(); + + for(Map.Entry entry : LimboFilter.getConnectedUsersSet().entrySet()) { + LimboHandler limboHandler = (LimboHandler)entry.getValue(); + String userKey = (String)entry.getKey(); + if (limboHandler.isConnected() && !shouldRemoveHandler(limboHandler, currTime)) { + if (!limboHandler.isCheckStarted()) { + return; + } + + sendMessage(currTime, limboHandler); + limboHandler.sendPing(); + } else { + TO_REMOVE_SET.add(entry); + } + } + + } catch (Exception e) { + bungee.getLogger().log(Level.WARNING, "[LimboHandler] Unexpected error. Please report to the developer!", e); + } finally { + cleanUpConnections(); + } + } + + private static void sendMessage(long currTime, LimboHandler limboHandler) { + if (currTime - limboHandler.getLastMessageSent() >= 3000L) { + LimboFilter.CheckState state = limboHandler.getState(); + limboHandler.sendMessage(state != LimboFilter.CheckState.CAPTCHA_ON_POSITION_FAILED && state != LimboFilter.CheckState.ONLY_POSITION ? CachedPacketType.CHECKING_CAPTCHA_MSG : CachedPacketType.CHECKING_MSG); + limboHandler.setLastMessageSent(currTime); + } + + } + + private static boolean shouldRemoveHandler(LimboHandler limboHandler, long currTime) { + LimboFilter.CheckState state = limboHandler.getState(); + if (state != LimboFilter.CheckState.SUCCESSFULLY && state != LimboFilter.CheckState.FAILED) { + if (currTime - limboHandler.getJoinTime() >= (long)(FlameCord.getInstance().getFlameCordConfiguration().getAntibotLimboTimeout() * 1000)) { + limboHandler.failed(PacketUtils.KickType.TIMED_OUT, state == LimboFilter.CheckState.CAPTCHA_ON_POSITION_FAILED ? "Too long fall check" : "Captcha not entered"); + return true; + } else { + return false; + } + } else { + return true; + } + } + + private static void cleanUpConnections() { + if (!TO_REMOVE_SET.isEmpty()) { + TO_REMOVE_SET.forEach((entry) -> LimboFilter.removeConnection((String)entry.getKey(), (LimboHandler)entry.getValue())); + TO_REMOVE_SET.clear(); + } + + } + + private static boolean sleep(long time) { + try { + Thread.sleep(time); + return true; + } catch (InterruptedException var3) { + return false; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/WrappedArgumentType.java b/src/main/java/dev/_2lstudios/flamecord/WrappedArgumentType.java new file mode 100644 index 0000000..2320244 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/WrappedArgumentType.java @@ -0,0 +1,93 @@ +package dev._2lstudios.flamecord; + +import com.mojang.brigadier.StringReader; +import com.mojang.brigadier.arguments.ArgumentType; +import com.mojang.brigadier.exceptions.CommandSyntaxException; +import java.util.Arrays; +import lombok.Generated; + +public class WrappedArgumentType implements ArgumentType { + public final String actualKey; + public final int actualIntKey; + public final byte[] actualPayload; + + public Object parse(StringReader stringReader) throws CommandSyntaxException { + throw new UnsupportedOperationException("Not supported."); + } + + @Generated + public WrappedArgumentType(String actualKey, int actualIntKey, byte[] actualPayload) { + this.actualKey = actualKey; + this.actualIntKey = actualIntKey; + this.actualPayload = actualPayload; + } + + @Generated + public String getActualKey() { + return this.actualKey; + } + + @Generated + public int getActualIntKey() { + return this.actualIntKey; + } + + @Generated + public byte[] getActualPayload() { + return this.actualPayload; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof WrappedArgumentType)) { + return false; + } else { + WrappedArgumentType other = (WrappedArgumentType)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getActualIntKey() != other.getActualIntKey()) { + return false; + } else { + Object this$actualKey = this.getActualKey(); + Object other$actualKey = other.getActualKey(); + if (this$actualKey == null) { + if (other$actualKey != null) { + return false; + } + } else if (!this$actualKey.equals(other$actualKey)) { + return false; + } + + if (!Arrays.equals(this.getActualPayload(), other.getActualPayload())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof WrappedArgumentType; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getActualIntKey(); + Object $actualKey = this.getActualKey(); + result = result * 59 + ($actualKey == null ? 43 : $actualKey.hashCode()); + result = result * 59 + Arrays.hashCode(this.getActualPayload()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getActualKey(); + return "WrappedArgumentType(actualKey=" + var10000 + ", actualIntKey=" + this.getActualIntKey() + ", actualPayload=" + Arrays.toString(this.getActualPayload()) + ")"; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/BlockedPlayersNotifier.java b/src/main/java/dev/_2lstudios/flamecord/antibot/BlockedPlayersNotifier.java new file mode 100644 index 0000000..573d26e --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/BlockedPlayersNotifier.java @@ -0,0 +1,72 @@ +package dev._2lstudios.flamecord.antibot; + +public class BlockedPlayersNotifier { + private long currentWindowSecond; + private int currentCount; + private String firstSubject; + private String readySingleSubject; + private int readyCount; + + public synchronized void recordBlocked(String subject) { + if (subject == null || subject.isEmpty()) { + subject = "unknown"; + } + + long nowSecond = System.currentTimeMillis() / 1000L; + if (nowSecond != this.currentWindowSecond) { + this.flushCurrentWindowIfExpired(nowSecond); + this.currentWindowSecond = nowSecond; + this.currentCount = 0; + this.firstSubject = null; + } + + ++this.currentCount; + if (this.firstSubject == null) { + this.firstSubject = subject; + } + + } + + public synchronized Summary drainReadySummary() { + if (this.readyCount == 0) { + return null; + } else { + Summary summary = new Summary(this.readySingleSubject, this.readyCount); + this.readySingleSubject = null; + this.readyCount = 0; + return summary; + } + } + + private void flushCurrentWindowIfExpired(long nowSecond) { + if (this.currentWindowSecond != nowSecond && this.currentCount > 0) { + this.readySingleSubject = this.firstSubject; + this.readyCount = this.currentCount; + this.currentCount = 0; + this.firstSubject = null; + } + + } + + public static class Summary { + private final String singleSubject; + private final int count; + + public Summary(String singleSubject, int count) { + this.singleSubject = singleSubject; + this.count = count; + } + + public String getSingleSubject() { + return this.singleSubject; + } + + public int getCount() { + return this.count; + } + + public boolean isSingle() { + return this.count == 1; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/CheckManager.java b/src/main/java/dev/_2lstudios/flamecord/antibot/CheckManager.java new file mode 100644 index 0000000..22c62fe --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/CheckManager.java @@ -0,0 +1,116 @@ +package dev._2lstudios.flamecord.antibot; + +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.antibot.check.AccountsCheck; +import dev._2lstudios.flamecord.antibot.check.CountryCheck; +import dev._2lstudios.flamecord.antibot.check.FastChatCheck; +import dev._2lstudios.flamecord.antibot.check.LatencyCheck; +import dev._2lstudios.flamecord.antibot.check.LimboCheck; +import dev._2lstudios.flamecord.antibot.check.LockdownCheck; +import dev._2lstudios.flamecord.antibot.check.NicknameCheck; +import dev._2lstudios.flamecord.antibot.check.PacketsCheck; +import dev._2lstudios.flamecord.antibot.check.PasswordCheck; +import dev._2lstudios.flamecord.antibot.check.RatelimitCheck; +import dev._2lstudios.flamecord.antibot.check.ReconnectCheck; +import dev._2lstudios.flamecord.antibot.proxy.ProxyCheck; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import lombok.Generated; + +public class CheckManager { + private final AccountsCheck accountsCheck; + private final CountryCheck countryCheck; + private final FastChatCheck fastChatCheck; + private final NicknameCheck nicknameCheck; + private final PasswordCheck passwordCheck; + private final RatelimitCheck ratelimitCheck; + private final ReconnectCheck reconnectCheck; + private final PacketsCheck packetsCheck; + private final ProxyCheck proxyCheck; + private final LockdownCheck lockdownCheck; + private final LatencyCheck latencyCheck; + private final LimboCheck limboCheck; + + public CheckManager(AddressDataManager addressDataManager, FlameCordConfiguration config) { + this.accountsCheck = new AccountsCheck(addressDataManager); + this.countryCheck = new CountryCheck(addressDataManager); + this.fastChatCheck = new FastChatCheck(addressDataManager); + this.nicknameCheck = new NicknameCheck(addressDataManager); + this.passwordCheck = new PasswordCheck(addressDataManager); + this.ratelimitCheck = new RatelimitCheck(addressDataManager); + this.reconnectCheck = new ReconnectCheck(addressDataManager); + this.packetsCheck = new PacketsCheck(); + this.proxyCheck = new ProxyCheck(addressDataManager); + this.lockdownCheck = new LockdownCheck(addressDataManager); + this.latencyCheck = new LatencyCheck(addressDataManager); + this.limboCheck = new LimboCheck(addressDataManager); + this.countryCheck.load(); + if (config.isAntibotProxyEnabled()) { + (new Thread(() -> this.proxyCheck.updateProxies())).start(); + } + + } + + public void unload() { + this.countryCheck.unload(); + } + + @Generated + public AccountsCheck getAccountsCheck() { + return this.accountsCheck; + } + + @Generated + public CountryCheck getCountryCheck() { + return this.countryCheck; + } + + @Generated + public FastChatCheck getFastChatCheck() { + return this.fastChatCheck; + } + + @Generated + public NicknameCheck getNicknameCheck() { + return this.nicknameCheck; + } + + @Generated + public PasswordCheck getPasswordCheck() { + return this.passwordCheck; + } + + @Generated + public RatelimitCheck getRatelimitCheck() { + return this.ratelimitCheck; + } + + @Generated + public ReconnectCheck getReconnectCheck() { + return this.reconnectCheck; + } + + @Generated + public PacketsCheck getPacketsCheck() { + return this.packetsCheck; + } + + @Generated + public ProxyCheck getProxyCheck() { + return this.proxyCheck; + } + + @Generated + public LockdownCheck getLockdownCheck() { + return this.lockdownCheck; + } + + @Generated + public LatencyCheck getLatencyCheck() { + return this.latencyCheck; + } + + @Generated + public LimboCheck getLimboCheck() { + return this.limboCheck; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/LimboFilter.java b/src/main/java/dev/_2lstudios/flamecord/antibot/LimboFilter.java new file mode 100644 index 0000000..ee6c3b1 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/LimboFilter.java @@ -0,0 +1,140 @@ +package dev._2lstudios.flamecord.antibot; + +import com.google.common.util.concurrent.ThreadFactoryBuilder; +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.LimboThread; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.cached.CachedCaptcha; +import dev._2lstudios.flamecord.antibot.handlers.LimboHandler; +import dev._2lstudios.flamecord.captcha.CaptchaGeneration; +import dev._2lstudios.flamecord.utils.PacketUtils; +import java.net.SocketAddress; +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import lombok.Generated; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.compress.PacketDecompressor; +import net.md_5.bungee.connection.InitialHandler; +import net.md_5.bungee.netty.HandlerBoss; +import net.md_5.bungee.protocol.Protocol; + +public class LimboFilter { + public static final int MAX_PLUGIN_MESSAGES_BYTES = 160000; + public static int TOTAL_TICKS = 100; + public static long TOTAL_TIME; + private static final Map connectedUsersSet; + private static ExecutorService executor; + + public static void connectToBotFilter(UserConnection userConnection) { + LimboHandler connector = new LimboHandler(userConnection); + if (!addConnection(connector)) { + userConnection.disconnect(BungeeCord.getInstance().getTranslation("already_connected_proxy")); + } else { + PacketDecompressor packetDecompressor = (PacketDecompressor)userConnection.getCh().getHandle().pipeline().get(PacketDecompressor.class); + if (packetDecompressor != null) { + } + + ((HandlerBoss)userConnection.getCh().getHandle().pipeline().get(HandlerBoss.class)).setHandler(connector); + userConnection.getPendingConnection().sendLoginSuccess(userConnection.getSessionId()); + userConnection.getCh().setEncodeProtocol(Protocol.GAME); + userConnection.getCh().setDecodeProtocol(userConnection.getPendingConnection().getVersion() >= 764 ? Protocol.LOGIN : Protocol.BOTFILTER); + if (userConnection.getPendingConnection().getVersion() < 764) { + connector.spawn(); + } + } + + } + + public static boolean isOnChecking(String name) { + return connectedUsersSet.containsKey(name.toLowerCase()); + } + + public static boolean addConnection(LimboHandler limboHandler) { + return connectedUsersSet.putIfAbsent(limboHandler.getName(), limboHandler) == null; + } + + public static void removeConnection(String name, LimboHandler limboHandler) { + name = name == null ? (limboHandler == null ? null : limboHandler.getName()) : name; + if (name != null) { + connectedUsersSet.remove(name); + } else { + throw new RuntimeException("Name and connector is null"); + } + } + + public static void enable() { + PacketUtils.init(); + CheckManager checkManager = FlameCord.getInstance().getCheckManager(); + executor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors() * 2, (new ThreadFactoryBuilder()).setNameFormat("FlameCord-%d").build()); + if (!CachedCaptcha.isGenerated() && FlameCord.getInstance().getFlameCordConfiguration().isAntibotLimboEnabled()) { + executor.execute(() -> CaptchaGeneration.generateImages()); + } + + LimboThread.start(); + } + + public static void disable() { + LimboThread.stop(); + + for(LimboHandler connector : connectedUsersSet.values()) { + if (connector.getUserConnection() != null) { + connector.getUserConnection().disconnect("\u00a7c[FlameCord] \u00a7aFilter reloading"); + } + + connector.setState(LimboFilter.CheckState.FAILED); + } + + connectedUsersSet.clear(); + if (executor != null) { + executor.shutdownNow(); + } + + } + + public static void checkAsyncIfNeeded(InitialHandler handler) { + CheckManager checkManager = FlameCord.getInstance().getCheckManager(); + if (checkManager.getCountryCheck().isEnabled()) { + executor.execute(() -> { + SocketAddress remoteAddress = handler.getCh().getRemoteAddress(); + AddressData addressData = FlameCord.getInstance().getAddressDataManager().getAddressData(remoteAddress); + if (checkManager.getCountryCheck().check(remoteAddress)) { + String subject = handler.getName(); + if (subject == null || subject.isEmpty()) { + subject = remoteAddress.toString(); + } + + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(subject); + handler.disconnect(ProxyServer.getInstance().getTranslation("antibot_country", addressData.getCountry())); + return; + } + handler.getCh().getHandle().eventLoop().execute(() -> handler.delayedHandleOfLoginRequset()); + }); + } else { + handler.delayedHandleOfLoginRequset(); + } + + } + + @Generated + public static Map getConnectedUsersSet() { + return connectedUsersSet; + } + + static { + TOTAL_TIME = (long)(TOTAL_TICKS * 50 - 100); + connectedUsersSet = new ConcurrentHashMap(); + } + + public static enum CheckState { + ONLY_POSITION, + ONLY_CAPTCHA, + CAPTCHA_POSITION, + CAPTCHA_ON_POSITION_FAILED, + SUCCESSFULLY, + FAILED; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/LoggerWrapper.java b/src/main/java/dev/_2lstudios/flamecord/antibot/LoggerWrapper.java new file mode 100644 index 0000000..60abbbd --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/LoggerWrapper.java @@ -0,0 +1,46 @@ +package dev._2lstudios.flamecord.antibot; + +import java.util.logging.Level; +import java.util.logging.Logger; +import net.md_5.bungee.api.ChatColor; + +public class LoggerWrapper { + private Logger logger; + private long lastLog = System.currentTimeMillis(); + private int logCount = 0; + private static final int MAX_LOGS_BEFORE_THROTTLE = 2; + private static final long THROTTLE_PERIOD_MS = 100L; + + public LoggerWrapper(Logger logger) { + this.logger = logger; + } + + public Logger getLogger() { + return this.logger; + } + + public void log(Level level, String msg, Object... params) { + long currentTime = System.currentTimeMillis(); + long timeSinceLastLog = currentTime - this.lastLog; + if (timeSinceLastLog > 100L) { + this.logCount = 0; + } + + if (this.logCount < 2 || timeSinceLastLog > 100L) { + this.lastLog = currentTime; + ++this.logCount; + String var10000 = String.valueOf(ChatColor.GRAY); + msg = var10000 + "[" + String.valueOf(ChatColor.RED) + "FlameCord" + String.valueOf(ChatColor.GRAY) + "] " + String.valueOf(ChatColor.WHITE) + msg; + this.logger.log(level, msg, params); + } + + } + + public void info(String msg) { + this.log(Level.INFO, msg); + } + + public void warning(String msg) { + this.log(Level.WARNING, msg); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/PacketsData.java b/src/main/java/dev/_2lstudios/flamecord/antibot/PacketsData.java new file mode 100644 index 0000000..9a82989 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/PacketsData.java @@ -0,0 +1,92 @@ +package dev._2lstudios.flamecord.antibot; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.enums.PacketsViolationReason; +import java.io.PrintStream; +import java.net.SocketAddress; +import java.util.HashMap; +import java.util.Map; + +public class PacketsData { + private SocketAddress address; + private double packetsVls = (double)0.0F; + private double packetsVlsSize = (double)0.0F; + private double packetsVlsRate = (double)0.0F; + private long lastVlsCalculated = System.currentTimeMillis(); + private Map vlsByPacketId = new HashMap(); + private boolean cancelPrinted = false; + + public PacketsData(SocketAddress address) { + this.address = address; + } + + public double simplify(double number) { + return (double)((int)(number * (double)1000.0F)) / (double)1000.0F; + } + + public void printKick() { + if (FlameCord.getInstance().getFlameCordConfiguration().isAntibotPacketsLog()) { + LoggerWrapper var10000 = FlameCord.getInstance().getLoggerWrapper(); + String var10001 = String.valueOf(this.address); + var10000.info("[" + var10001 + "] was kicked because of too many packets (Total: " + this.simplify(this.packetsVls) + "vls Size: " + this.simplify(this.packetsVlsSize) + "vls Rate: " + this.simplify(this.packetsVlsRate) + "vls)"); + } + + } + + public void printCancel() { + if (FlameCord.getInstance().getFlameCordConfiguration().isAntibotPacketsLog() && !this.cancelPrinted) { + LoggerWrapper var10000 = FlameCord.getInstance().getLoggerWrapper(); + String var10001 = String.valueOf(this.address); + var10000.info("[" + var10001 + "] was cancelled because of too many packets (Total: " + this.simplify(this.packetsVls) + "vls Size: " + this.simplify(this.packetsVlsSize) + "vls Rate: " + this.simplify(this.packetsVlsRate) + "vls)"); + this.cancelPrinted = true; + } + + } + + public void printPackets() { + if (FlameCord.getInstance().getFlameCordConfiguration().isAntibotPacketsDebug() && this.simplify(this.packetsVls) > (double)0.0F) { + LoggerWrapper var10000 = FlameCord.getInstance().getLoggerWrapper(); + String var10001 = String.valueOf(this.address); + var10000.info("[" + var10001 + "] debug is enabled, showing stats (Total: " + this.simplify(this.packetsVls) + "vls Size: " + this.simplify(this.packetsVlsSize) + "vls Rate: " + this.simplify(this.packetsVlsRate) + "vls)"); + + for(Map.Entry entry : this.vlsByPacketId.entrySet()) { + PrintStream var3 = System.out; + var10001 = String.valueOf(entry.getKey()); + var3.print(var10001 + "-" + this.simplify((Double)entry.getValue()) + "vls, "); + } + } + + } + + public double getPacketsVls() { + if (System.currentTimeMillis() - this.lastVlsCalculated >= 1000L) { + this.printPackets(); + this.cancelPrinted = false; + this.packetsVls = (double)0.0F; + this.packetsVlsSize = (double)0.0F; + this.packetsVlsRate = (double)0.0F; + this.vlsByPacketId.clear(); + this.lastVlsCalculated = System.currentTimeMillis(); + } + + return this.packetsVls; + } + + public void addVls(double packetsVls, PacketsViolationReason reason, int packetId) { + this.packetsVls += packetsVls; + this.vlsByPacketId.put(packetId, (Double)this.vlsByPacketId.getOrDefault(packetId, (double)0.0F) + packetsVls); + switch (reason) { + case SIZE -> this.packetsVlsSize += packetsVls; + case RATE -> this.packetsVlsRate += packetsVls; + } + + } + + public double getPacketsVlsSize() { + return this.packetsVlsSize; + } + + public double getPacketsVlsRate() { + return this.packetsVlsRate; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/StatsData.java b/src/main/java/dev/_2lstudios/flamecord/antibot/StatsData.java new file mode 100644 index 0000000..3d99550 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/StatsData.java @@ -0,0 +1,86 @@ +package dev._2lstudios.flamecord.antibot; + +public class StatsData { + private long lastSecond = System.currentTimeMillis(); + private int totalPings = 0; + private int totalConnections = 0; + private int currentPings = 0; + private int currentConnections = 0; + private int lastPings = 0; + private int lastConnections = 0; + private int totalFirewalled = 0; + private int currentFirewalled = 0; + private int lastFirewalled = 0; + + public void resetData() { + long currentTime = System.currentTimeMillis(); + if (currentTime - this.lastSecond > 1000L) { + this.lastSecond = currentTime; + this.lastPings = this.currentPings; + this.lastConnections = this.currentConnections; + this.lastFirewalled = this.currentFirewalled; + this.currentPings = 0; + this.currentConnections = 0; + this.currentFirewalled = 0; + } + + } + + public void addPing() { + this.resetData(); + ++this.currentPings; + ++this.totalPings; + } + + public void addConnection() { + this.resetData(); + ++this.currentConnections; + ++this.totalConnections; + } + + public void addFirewalled() { + this.resetData(); + ++this.currentFirewalled; + ++this.totalFirewalled; + } + + public int getCurrentPings() { + this.resetData(); + return this.currentPings; + } + + public int getCurrentConnections() { + this.resetData(); + return this.currentConnections; + } + + public int getLastPings() { + this.resetData(); + return this.lastPings; + } + + public int getLastConnections() { + this.resetData(); + return this.lastConnections; + } + + public int getTotalPings() { + return this.totalPings; + } + + public int getTotalConnections() { + return this.totalConnections; + } + + public int getTotalFirewalled() { + return this.totalFirewalled; + } + + public int getCurrentFirewalled() { + return this.currentFirewalled; + } + + public int getLastFirewalled() { + return this.lastFirewalled; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/AddressData.java b/src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/AddressData.java new file mode 100644 index 0000000..a8d782e --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/AddressData.java @@ -0,0 +1,210 @@ +package dev._2lstudios.flamecord.antibot.addressdata; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.StatsData; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import dev._2lstudios.flamecord.managers.UserWhitelistManager; +import java.util.Collection; +import java.util.HashSet; +import java.util.logging.Level; + +public class AddressData { + private FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + private StatsData statsData = FlameCord.getInstance().getStatsData(); + private Collection nicknames = null; + private final String hostString; + private String lastNickname = ""; + private String country = null; + private String firewallReason = null; + private long lastPing = 0L; + private long penultimateConnection = 0L; + private long lastConnection = 0L; + private long lastFirewall = 0L; + private int pingsSecond = 0; + private int totalPings = 0; + private int connectionsSecond = 0; + private int totalConnections = 0; + private int latency = -1; + private long firstHandshakeTime = -1L; + + public AddressData(String hostString) { + this.hostString = hostString; + } + + public Collection getNicknames() { + if (this.nicknames == null) { + this.nicknames = new HashSet(); + } + + return this.nicknames; + } + + public String getLastNickname() { + return this.lastNickname; + } + + public void addNickname(String nickname) { + if (this.nicknames == null) { + this.nicknames = new HashSet(); + } + + if (!this.lastNickname.equals(nickname)) { + this.lastNickname = nickname; + this.totalConnections = 1; + } + + this.nicknames.add(nickname); + } + + public void removeNickname(String nickname) { + if (this.nicknames != null) { + this.nicknames.remove(nickname); + } + + } + + public void clearNicknames() { + if (this.nicknames != null) { + this.nicknames.clear(); + } + + } + + public long getPenultimateConnection() { + return this.penultimateConnection; + } + + public long getTimeSincePenultimateConnection() { + return System.currentTimeMillis() - this.penultimateConnection; + } + + public long getLastConnection() { + return this.lastConnection; + } + + public long getTimeSinceLastConnection() { + return System.currentTimeMillis() - this.lastConnection; + } + + private void updatePingsSecond() { + if (System.currentTimeMillis() - this.lastPing >= 1000L) { + this.pingsSecond = 0; + } + + } + + public int getPingsSecond() { + this.updatePingsSecond(); + return this.pingsSecond; + } + + public void addPing() { + this.statsData.addPing(); + this.updatePingsSecond(); + this.lastPing = System.currentTimeMillis(); + ++this.pingsSecond; + ++this.totalPings; + } + + public int getTotalPings() { + return this.totalPings; + } + + private void updateConnectionsSecond() { + if (System.currentTimeMillis() - this.lastConnection >= 1000L) { + this.connectionsSecond = 0; + } + + } + + public int getConnectionsSecond() { + this.updateConnectionsSecond(); + return this.connectionsSecond; + } + + public void addConnection() { + long currentTime = System.currentTimeMillis(); + this.statsData.addConnection(); + this.updateConnectionsSecond(); + this.penultimateConnection = this.lastConnection == 0L ? currentTime : this.lastConnection; + this.lastConnection = currentTime; + ++this.connectionsSecond; + ++this.totalConnections; + } + + public int getTotalConnections() { + return this.totalConnections; + } + + public String getHostString() { + return this.hostString; + } + + public boolean isFirewalled() { + return System.currentTimeMillis() - this.lastFirewall < (long)(this.config.getAntibotFirewallExpire() * 1000); + } + + public void firewall(String reason) { + if (!FlameCord.getInstance().getFlameCordConfiguration().getAntibotFirewallWhitelist().contains(this.hostString) || !this.isWhitelisted()) { + this.lastFirewall = System.currentTimeMillis(); + this.firewallReason = reason; + this.statsData.addFirewalled(); + if (FlameCord.getInstance().getFlameCordConfiguration().isAntibotFirewallLog()) { + FlameCord.getInstance().getLoggerWrapper().log(Level.INFO, "[{0}] was firewalled because of " + reason, this.hostString); + } + + String ip = FirewallAddress.canonical(this.hostString); + if (ip != null) { + FlameCord.getInstance().enqueueLinuxCommand("ipset", "add", FirewallAddress.ipset(ip), ip); + } + } + + } + + public void unfirewall() { + this.lastFirewall = 0L; + this.firewallReason = null; + } + + public String getFirewallReason() { + return this.isFirewalled() ? this.firewallReason : null; + } + + public void setTotalConnections(int totalConnections) { + this.totalConnections = totalConnections; + } + + public String setCountry(String country) { + return this.country = country; + } + + public String getCountry() { + return this.country; + } + + public boolean hasNickname(String nickname) { + return this.nicknames.contains(nickname); + } + + public void startLatency() { + this.firstHandshakeTime = System.currentTimeMillis(); + } + + public void stopLatency() { + if (this.firstHandshakeTime != -1L) { + long currentTime = System.currentTimeMillis(); + this.latency = (int)(currentTime - this.firstHandshakeTime); + this.firstHandshakeTime = -1L; + } + + } + + public int getLatency() { + return this.latency; + } + + public boolean isWhitelisted() { + UserWhitelistManager userWhitelist = FlameCord.getInstance().getUserWhitelistManager(); + return userWhitelist.isWhitelisted(this.hostString) || userWhitelist.isWhitelisted(this.lastNickname); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/AddressDataManager.java b/src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/AddressDataManager.java new file mode 100644 index 0000000..2aaabae --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/AddressDataManager.java @@ -0,0 +1,38 @@ +package dev._2lstudios.flamecord.antibot.addressdata; + +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.util.HashMap; +import java.util.Map; + +public class AddressDataManager { + private Map addressData = new HashMap(); + + public String sanitizeAddress(String text) { + return FirewallAddress.sanitize(text); + } + + public AddressData getAddressData(String addressString) { + addressString = this.sanitizeAddress(addressString); + if (this.addressData.containsKey(addressString)) { + return (AddressData)this.addressData.get(addressString); + } else { + AddressData data = new AddressData(addressString); + this.addressData.put(addressString, data); + return data; + } + } + + public AddressData getAddressData(SocketAddress address) { + if (!(address instanceof InetSocketAddress inetAddress)) { + return this.getAddressData(address.toString()); + } else { + String addressString = inetAddress.isUnresolved() ? inetAddress.getHostString() : inetAddress.getAddress().getHostAddress(); + return this.getAddressData(addressString); + } + } + + public int getAddresCount() { + return this.addressData.size(); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/FirewallAddress.java b/src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/FirewallAddress.java new file mode 100644 index 0000000..c69d886 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/addressdata/FirewallAddress.java @@ -0,0 +1,77 @@ +package dev._2lstudios.flamecord.antibot.addressdata; + +import com.google.common.net.InetAddresses; + +public final class FirewallAddress { + public static final String IPV4_SET = "flamecord"; + public static final String IPV6_SET = "flamecord6"; + + private FirewallAddress() { + } + + public static String canonical(String address) { + if (address == null) { + return null; + } else { + String text = address.trim(); + if (text.startsWith("[") && text.endsWith("]")) { + text = text.substring(1, text.length() - 1); + } + + int scope = text.indexOf(37); + if (scope != -1) { + if (scope == text.length() - 1) { + return null; + } + + text = text.substring(0, scope); + } + + if (!InetAddresses.isInetAddress(text)) { + return null; + } else { + try { + return InetAddresses.toAddrString(InetAddresses.forString(text)); + } catch (IllegalArgumentException var4) { + return null; + } + } + } + } + + public static String ipset(String canonicalAddress) { + if (canonicalAddress == null) { + return null; + } else { + return canonicalAddress.indexOf(58) == -1 ? "flamecord" : "flamecord6"; + } + } + + public static String sanitize(String text) { + if (text == null) { + return null; + } else { + text = text.trim(); + if (text.startsWith("/")) { + text = text.substring(1); + } + + if (text.startsWith("[")) { + int end = text.indexOf(93); + if (end != -1) { + String inner = text.substring(1, end); + String ip = canonical(inner); + return ip != null ? ip : inner; + } + } + + String ip = canonical(text); + if (ip != null) { + return ip; + } else { + int colon = text.indexOf(58); + return colon != -1 && colon == text.lastIndexOf(58) ? text.substring(0, colon) : text; + } + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedCaptcha.java b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedCaptcha.java new file mode 100644 index 0000000..eb339a4 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedCaptcha.java @@ -0,0 +1,151 @@ +package dev._2lstudios.flamecord.antibot.cached; + +import dev._2lstudios.flamecord.packets.MapDataPacket; +import dev._2lstudios.flamecord.utils.PacketUtils; +import io.netty.buffer.ByteBuf; +import io.netty.channel.Channel; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Random; +import java.util.concurrent.atomic.AtomicInteger; +import lombok.Generated; + +public class CachedCaptcha { + private static final Random random = new Random(); + private static final List captchas = new ArrayList(); + private static final AtomicInteger counter = new AtomicInteger(); + public static boolean generated = false; + private static final Map packetIds = new HashMap(); + + public void createCaptchaPacket(MapDataPacket map, String answer) { + Map versionedPackets = new HashMap(); + + for(Map.Entry entry : packetIds.entrySet()) { + int version = (Integer)entry.getKey(); + int packetId = (Integer)entry.getValue(); + versionedPackets.put(version, PacketUtils.createPacket(map, packetId, version)); + } + + captchas.add(new CaptchaHolder(answer, versionedPackets)); + } + + public CaptchaHolder randomCaptcha() { + return captchas.isEmpty() ? null : (CaptchaHolder)captchas.get(random.nextInt(captchas.size())); + } + + public synchronized void releaseAndClear() { + for(CaptchaHolder holder : captchas) { + for(ByteBuf buf : holder.versionedPackets.values()) { + PacketUtils.releaseByteBuf(buf); + } + } + + captchas.clear(); + counter.set(0); + generated = false; + } + + @Generated + public static boolean isGenerated() { + return generated; + } + + @Generated + public static void setGenerated(boolean generated) { + CachedCaptcha.generated = generated; + } + + static { + packetIds.put(47, 52); + packetIds.put(107, 36); + packetIds.put(393, 38); + packetIds.put(477, 38); + packetIds.put(573, 39); + packetIds.put(751, 37); + packetIds.put(755, 39); + packetIds.put(759, 36); + packetIds.put(760, 38); + packetIds.put(761, 37); + packetIds.put(762, 41); + packetIds.put(764, 42); + packetIds.put(766, 44); + packetIds.put(768, 45); + packetIds.put(770, 44); + packetIds.put(771, 45); + packetIds.put(773, 50); + } + + public static class CaptchaHolder { + private final String answer; + private final Map versionedPackets; + + public void write(Channel channel, int version, boolean flush) { + ByteBuf buf = this.findPacket(version); + if (buf != null) { + channel.write(buf.retainedDuplicate(), channel.voidPromise()); + if (flush) { + channel.flush(); + } + + } else { + throw new IllegalArgumentException("Version found but returned null for CachedCaptcha: " + version); + } + } + + private ByteBuf findPacket(int version) { + if (version <= 47) { + return (ByteBuf)this.versionedPackets.get(47); + } else if (version <= 340) { + return (ByteBuf)this.versionedPackets.get(107); + } else if (version <= 404) { + return (ByteBuf)this.versionedPackets.get(393); + } else if (version <= 498) { + return (ByteBuf)this.versionedPackets.get(477); + } else if (version <= 578) { + return (ByteBuf)this.versionedPackets.get(573); + } else if (version <= 754) { + return (ByteBuf)this.versionedPackets.get(751); + } else if (version <= 758) { + return (ByteBuf)this.versionedPackets.get(755); + } else if (version <= 759) { + return (ByteBuf)this.versionedPackets.get(759); + } else if (version <= 760) { + return (ByteBuf)this.versionedPackets.get(760); + } else if (version <= 761) { + return (ByteBuf)this.versionedPackets.get(761); + } else if (version <= 763) { + return (ByteBuf)this.versionedPackets.get(762); + } else if (version <= 765) { + return (ByteBuf)this.versionedPackets.get(764); + } else if (version <= 769) { + return (ByteBuf)this.versionedPackets.get(768); + } else if (version <= 770) { + return (ByteBuf)this.versionedPackets.get(770); + } else if (version <= 772) { + return (ByteBuf)this.versionedPackets.get(771); + } else if (version <= 774) { + return (ByteBuf)this.versionedPackets.get(773); + } else { + throw new IllegalArgumentException("Version not found for CachedCaptcha: " + version); + } + } + + @Generated + public CaptchaHolder(String answer, Map versionedPackets) { + this.answer = answer; + this.versionedPackets = versionedPackets; + } + + @Generated + public String getAnswer() { + return this.answer; + } + + @Generated + public Map getVersionedPackets() { + return this.versionedPackets; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedExpPackets.java b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedExpPackets.java new file mode 100644 index 0000000..86b1e0a --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedExpPackets.java @@ -0,0 +1,53 @@ +package dev._2lstudios.flamecord.antibot.cached; + +import dev._2lstudios.flamecord.antibot.LimboFilter; +import dev._2lstudios.flamecord.packets.SetExp; +import dev._2lstudios.flamecord.utils.PacketUtils; +import io.netty.buffer.ByteBuf; +import net.md_5.bungee.protocol.Protocol; + +public class CachedExpPackets { + private ByteBuf[][] byteBuf; + + public CachedExpPackets() { + this.byteBuf = new ByteBuf[LimboFilter.TOTAL_TICKS][PacketUtils.PROTOCOLS_COUNT]; + this.create(); + } + + private void create() { + int ticks = LimboFilter.TOTAL_TICKS; + int interval = 2; + float expInterval = 1.0F / ((float)ticks / (float)interval); + SetExp setExp = new SetExp(0.0F, 0, 0); + + for(int i = 0; i < ticks; i += interval) { + setExp.setExpBar(setExp.getExpBar() + expInterval); + setExp.setLevel(setExp.getLevel() + 1); + PacketUtils.fillArray(this.byteBuf[i], setExp, Protocol.BOTFILTER); + } + + } + + public ByteBuf get(int tick, int version) { + if (tick >= this.byteBuf.length) { + return null; + } else { + ByteBuf buf = this.byteBuf[tick][PacketUtils.rewriteVersion(version)]; + return buf != null ? buf.retainedDuplicate() : null; + } + } + + public void release() { + for(ByteBuf[] buffers : this.byteBuf) { + if (buffers != null) { + for(ByteBuf buf : buffers) { + if (buf != null) { + PacketUtils.releaseByteBuf(buf); + } + } + } + } + + this.byteBuf = null; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedMessage.java b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedMessage.java new file mode 100644 index 0000000..f0e9f21 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedMessage.java @@ -0,0 +1,49 @@ +package dev._2lstudios.flamecord.antibot.cached; + +import dev._2lstudios.flamecord.utils.PacketUtils; +import io.netty.buffer.ByteBuf; +import io.netty.channel.Channel; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.ChatMessageType; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.chat.ComponentSerializer; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.packet.Chat; +import net.md_5.bungee.protocol.packet.SystemChat; + +public class CachedMessage { + private ByteBuf[] bufs; + + public CachedMessage(String message) { + this.bufs = new ByteBuf[PacketUtils.PROTOCOLS_COUNT]; + if (message != null && !message.isEmpty()) { + PacketUtils.fillArray(this.bufs, createMessagePacket(message, false), 4, 758, Protocol.GAME); + PacketUtils.fillArray(this.bufs, createMessagePacket(message, true), 759, ProtocolConstants.getLastSupportedProtocol(), Protocol.GAME); + } + + } + + private static DefinedPacket createMessagePacket(String message, boolean is119) { + BaseComponent baseComponent = TextComponent.fromLegacy(ChatColor.translateAlternateColorCodes('&', message.replace("%nl%", "\n"))); + message = ComponentSerializer.toString(baseComponent); + return (DefinedPacket)(is119 ? new SystemChat(baseComponent, ChatMessageType.SYSTEM.ordinal()) : new Chat(message, (byte)ChatMessageType.CHAT.ordinal())); + } + + public void write(Channel channel, int version) { + ByteBuf buf = this.bufs[PacketUtils.rewriteVersion(version)]; + if (buf != null) { + channel.write(buf.retainedDuplicate()); + } + + } + + public void release() { + for(ByteBuf buf : this.bufs) { + PacketUtils.releaseByteBuf(buf); + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedPacket.java b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedPacket.java new file mode 100644 index 0000000..1104466 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedPacket.java @@ -0,0 +1,33 @@ +package dev._2lstudios.flamecord.antibot.cached; + +import dev._2lstudios.flamecord.utils.PacketUtils; +import io.netty.buffer.ByteBuf; +import java.util.HashMap; +import java.util.Map; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.Protocol; + +public class CachedPacket { + private final Map bufs = new HashMap(); + + public CachedPacket(DefinedPacket packet, Protocol... protocols) { + if (packet != null) { + PacketUtils.fillPackets(this.bufs, packet, protocols); + } + + } + + public ByteBuf get(int version) { + ByteBuf buf = this.bufs.getOrDefault(version, null); + return buf == null ? null : buf.retainedDuplicate(); + } + + public void release() { + if (this.bufs != null) { + for(ByteBuf buf : this.bufs.values()) { + PacketUtils.releaseByteBuf(buf); + } + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedPacketType.java b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedPacketType.java new file mode 100644 index 0000000..1dafcd8 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedPacketType.java @@ -0,0 +1,26 @@ +package dev._2lstudios.flamecord.antibot.cached; + +public enum CachedPacketType { + LOGIN, + TIME, + PLAYERABILITIES, + PLAYERPOSANDLOOK_CAPTCHA, + SETSLOT_MAP, + SETSLOT_RESET, + KEEPALIVE, + PLAYERPOSANDLOOK, + SETEXP_RESET, + BRAND, + BRAND_MODERN, + DEFAULT_SPAWN_POSITION, + FINISH_CONFIGURATION, + GAME_STATE, + CAPTCHA_FAILED_2_MSG, + CAPTCHA_FAILED_1_MSG, + CHECKING_MSG, + CHECKING_CAPTCHA_MSG, + CHECK_SUS_MSG, + CHECK_IN_PROGRESS_TITLE, + ENTER_CAPTCHA_TITLE, + CHECK_COMPLETED_TYPE; +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedRegistryData.java b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedRegistryData.java new file mode 100644 index 0000000..bfde27d --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedRegistryData.java @@ -0,0 +1,39 @@ +package dev._2lstudios.flamecord.antibot.cached; + +import dev._2lstudios.flamecord.packets.RegistryData; +import dev._2lstudios.flamecord.utils.Dimension; +import dev._2lstudios.flamecord.utils.PacketUtils; +import io.netty.buffer.ByteBuf; +import io.netty.channel.Channel; +import java.util.ArrayList; +import java.util.List; +import net.md_5.bungee.protocol.Protocol; + +public class CachedRegistryData { + private List bufs = new ArrayList(); + + public CachedRegistryData(Dimension dimension, int version) { + this.create(dimension, version); + } + + private void create(Dimension dimension, int version) { + for(RegistryData registryData : RegistryData.transform(dimension, version)) { + this.bufs.add(PacketUtils.createPacket(registryData, Protocol.BOTFILTER_CONFIGURATION, PacketUtils.getPacketId(registryData, version, Protocol.BOTFILTER_CONFIGURATION), version)); + } + + } + + public void write(Channel channel) { + for(ByteBuf buf : this.bufs) { + channel.write(buf.retainedDuplicate(), channel.voidPromise()); + } + + } + + public void release() { + for(ByteBuf buf : this.bufs) { + buf.release(); + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedTitle.java b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedTitle.java new file mode 100644 index 0000000..73bd5b3 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/cached/CachedTitle.java @@ -0,0 +1,111 @@ +package dev._2lstudios.flamecord.antibot.cached; + +import dev._2lstudios.flamecord.utils.PacketUtils; +import io.netty.buffer.ByteBuf; +import io.netty.channel.Channel; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.packet.Subtitle; +import net.md_5.bungee.protocol.packet.Title; +import net.md_5.bungee.protocol.packet.TitleTimes; + +public class CachedTitle { + private ByteBuf[] times; + private ByteBuf[] title; + private ByteBuf[] subtitle; + + public CachedTitle(String raw, int in, int stay, int out) { + if (!raw.isEmpty()) { + String[] titles = raw.split("%nl%"); + String titleText = titles[0]; + String subtitleText = titles.length == 2 ? titles[1] : null; + if (!titleText.isEmpty()) { + this.initializeTitle(titleText); + } + + if (subtitleText != null && !subtitleText.isEmpty()) { + this.initializeSubtitle(subtitleText); + } + + if (this.title != null || this.subtitle != null) { + this.initializeTimes(in, stay, out); + } + } + + } + + private void initializeTitle(String titleText) { + this.title = new ByteBuf[PacketUtils.PROTOCOLS_COUNT]; + Title titlePacket = new Title(); + titlePacket.setAction(Title.Action.TITLE); + titlePacket.setText(TextComponent.fromLegacy(ChatColor.translateAlternateColorCodes('&', titleText))); + PacketUtils.fillArray(this.title, titlePacket, Protocol.GAME); + } + + private void initializeSubtitle(String subtitleText) { + this.subtitle = new ByteBuf[PacketUtils.PROTOCOLS_COUNT]; + Title subTitlePacket = new Title(); + subTitlePacket.setAction(Title.Action.SUBTITLE); + subTitlePacket.setText(TextComponent.fromLegacy(ChatColor.translateAlternateColorCodes('&', subtitleText))); + PacketUtils.fillArray(this.subtitle, subTitlePacket, 4, 754, Protocol.GAME); + Subtitle subtitlePacket = new Subtitle(); + subtitlePacket.setText(subTitlePacket.getText()); + PacketUtils.fillArray(this.subtitle, subtitlePacket, 755, ProtocolConstants.getLastSupportedProtocol(), Protocol.GAME); + } + + private void initializeTimes(int in, int stay, int out) { + this.times = new ByteBuf[PacketUtils.PROTOCOLS_COUNT]; + Title timesPacket = new Title(); + timesPacket.setFadeIn(in); + timesPacket.setStay(stay); + timesPacket.setFadeOut(out); + timesPacket.setAction(Title.Action.TIMES); + PacketUtils.fillArray(this.times, timesPacket, 4, 754, Protocol.GAME); + TitleTimes times1 = new TitleTimes(); + times1.setFadeIn(in); + times1.setStay(stay); + times1.setFadeOut(out); + PacketUtils.fillArray(this.times, times1, 755, ProtocolConstants.getLastSupportedProtocol(), Protocol.GAME); + } + + public void writeTitle(Channel channel, int version) { + version = PacketUtils.rewriteVersion(version); + if (this.title != null) { + channel.write(this.title[version].retainedDuplicate()); + } + + if (this.subtitle != null) { + channel.write(this.subtitle[version].retainedDuplicate()); + } + + if (this.times != null) { + channel.write(this.times[version].retainedDuplicate()); + } + + } + + public void test() { + this.releaseResources(); + } + + public void release() { + this.releaseResources(); + } + + private void releaseResources() { + this.releaseByteBufArray(this.title); + this.releaseByteBufArray(this.subtitle); + this.releaseByteBufArray(this.times); + } + + private void releaseByteBufArray(ByteBuf[] bufferArray) { + if (bufferArray != null) { + for(ByteBuf buf : bufferArray) { + PacketUtils.releaseByteBuf(buf); + } + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/AccountsCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/AccountsCheck.java new file mode 100644 index 0000000..51765d1 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/AccountsCheck.java @@ -0,0 +1,49 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import java.net.SocketAddress; +import java.util.Collection; +import java.util.logging.Level; + +public class AccountsCheck { + private FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + private LoggerWrapper logger = FlameCord.getInstance().getLoggerWrapper(); + private AddressDataManager addressDataManager; + + public AccountsCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + } + + public boolean check(SocketAddress remoteAddress, String nickname) { + if (this.config.getAntibotAccountsWhitelist().contains(nickname)) { + return false; + } else { + if (this.config.isAntibotAccountsEnabled()) { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (addressData.isWhitelisted()) { + return false; + } + + Collection nicknames = addressData.getNicknames(); + if (nicknames.size() > this.config.getAntibotAccountsLimit()) { + nicknames.remove(nickname); + if (this.config.isAntibotAccountsLog()) { + this.logger.log(Level.INFO, "[{0}] has too many accounts", remoteAddress); + } + + if (this.config.isAntibotAccountsFirewall()) { + addressData.firewall("Too many accounts"); + } + + return true; + } + } + + return false; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/CountryCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/CountryCheck.java new file mode 100644 index 0000000..aca304b --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/CountryCheck.java @@ -0,0 +1,179 @@ +package dev._2lstudios.flamecord.antibot.check; + +import com.maxmind.db.CHMCache; +import com.maxmind.db.MaxMindDbConstructor; +import com.maxmind.db.MaxMindDbParameter; +import com.maxmind.db.Reader; +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.net.InetAddress; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.net.URL; +import java.nio.file.CopyOption; +import java.nio.file.Files; +import java.util.Collection; +import java.util.logging.Level; + +public class CountryCheck { + private FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + private LoggerWrapper logger = FlameCord.getInstance().getLoggerWrapper(); + private AddressDataManager addressDataManager; + private Reader maxMindReader; + + public CountryCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + } + + public boolean isEnabled() { + return this.config.isAntibotCountryEnabled(); + } + + public void download(URL url, File file) throws Exception { + InputStream in = url.openStream(); + + try { + Files.copy(in, file.toPath(), new CopyOption[0]); + } catch (Throwable var7) { + if (in != null) { + try { + in.close(); + } catch (Throwable var6) { + var7.addSuppressed(var6); + } + } + + throw var7; + } + + if (in != null) { + in.close(); + } + + } + + public void load() { + if (this.isEnabled()) { + File file = new File("GeoLite2-Country.mmdb"); + + try { + if (!file.exists()) { + System.out.println("Starting download of MaxMindDB (This will take some seconds...)"); + this.download(new URL("https://git.io/GeoLite2-Country.mmdb"), file); + } + + this.maxMindReader = new Reader(file, new CHMCache()); + } catch (Exception var3) { + System.out.println("MaxMindDB was not able to download!"); + } + + } + } + + public void unload() { + try { + if (this.maxMindReader != null) { + this.maxMindReader.close(); + } + } catch (IOException var2) { + } + + } + + private boolean isBlacklisted(FlameCordConfiguration config, String isoCode) { + Collection countryBlacklist = config.getAntibotCountryBlacklist(); + if (countryBlacklist != null && !countryBlacklist.isEmpty()) { + for(String blacklisted : config.getAntibotCountryBlacklist()) { + if (isoCode.contains(blacklisted)) { + return true; + } + } + } + + Collection countryWhitelist = config.getAntibotCountryWhitelist(); + if (countryWhitelist != null && !countryWhitelist.isEmpty()) { + return !countryWhitelist.contains(isoCode); + } else { + return false; + } + } + + public String getIsoCode(InetAddress address) { + try { + LookupResult lookupResult = (LookupResult)this.maxMindReader.get(address, LookupResult.class); + if (lookupResult == null) { + return "LOCAL"; + } else { + Country country = lookupResult.getCountry(); + String isoCode = country.getIsoCode(); + return isoCode; + } + } catch (Exception var5) { + return null; + } + } + + public boolean check(SocketAddress remoteAddress) { + if (this.config.isAntibotCountryEnabled()) { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (addressData.isWhitelisted()) { + return false; + } + + String addressCountry = addressData.getCountry(); + String country; + if (addressCountry != null) { + country = addressCountry; + } else { + country = this.getIsoCode(((InetSocketAddress)remoteAddress).getAddress()); + addressData.setCountry(country); + } + + if (country != null && this.isBlacklisted(this.config, country)) { + if (this.config.isAntibotCountryLog()) { + this.logger.log(Level.INFO, "[{0}] has his country blocked from the server", remoteAddress); + } + + if (this.config.isAntibotCountryFirewall()) { + addressData.firewall("Blacklisted country"); + } + + return true; + } + } + + return false; + } + + public static class LookupResult { + private final Country country; + + @MaxMindDbConstructor + public LookupResult(@MaxMindDbParameter(name = "country") Country country) { + this.country = country; + } + + public Country getCountry() { + return this.country; + } + } + + public static class Country { + private final String isoCode; + + @MaxMindDbConstructor + public Country(@MaxMindDbParameter(name = "iso_code") String isoCode) { + this.isoCode = isoCode; + } + + public String getIsoCode() { + return this.isoCode; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/FastChatCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/FastChatCheck.java new file mode 100644 index 0000000..16d4c19 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/FastChatCheck.java @@ -0,0 +1,85 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import java.net.SocketAddress; +import java.util.HashMap; +import java.util.Map; +import java.util.logging.Level; + +public class FastChatCheck { + private FlameCordConfiguration config; + private LoggerWrapper logger; + private final AddressDataManager addressDataManager; + private final Map chatUsageMap = new HashMap(); + private long lastClearTime = System.currentTimeMillis(); + private long lastLogTime = System.currentTimeMillis(); + + public FastChatCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + this.config = FlameCord.getInstance().getFlameCordConfiguration(); + this.logger = FlameCord.getInstance().getLoggerWrapper(); + } + + public boolean isChattingTooFast(SocketAddress remoteAddress) { + if (!this.config.isAntibotFastChatEnabled()) { + return false; + } else { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (addressData.getTimeSinceLastConnection() <= (long)this.config.getAntibotFastChatTime()) { + if (this.config.isAntibotFastChatLog()) { + this.logger.log(Level.INFO, "[{0}] is chatting too fast", remoteAddress); + } + + if (this.config.isAntibotFastChatFirewall()) { + addressData.firewall("Too fast chatting"); + } + + return true; + } else { + return false; + } + } + } + + public boolean isCommandRepetitive(SocketAddress remoteAddress, String chat, boolean isCommand) { + if (this.config.isAntibotFastChatEnabled() && this.config.isAntibotFastChatRepetitionEnabled()) { + if (isCommand && !chat.contains(" ")) { + return false; + } else if (!isCommand && chat.length() <= this.config.getAntibotFastChatRepetitionLength()) { + return false; + } else { + if (!isCommand && this.config.isAntibotFastChatRepetitionChat() || this.config.getAntibotFastChatRepetitionCommands().contains(chat.split(" ")[0])) { + long currentTime = System.currentTimeMillis(); + if (currentTime - this.lastClearTime > (long)this.config.getAntibotFastChatRepetitionPeriod()) { + this.lastClearTime = currentTime; + this.chatUsageMap.clear(); + } + + int usageCount = (Integer)this.chatUsageMap.getOrDefault(chat, 0) + 1; + this.chatUsageMap.put(chat, usageCount); + if (usageCount > this.config.getAntibotFastChatRepetitionThreshold()) { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (this.config.isAntibotFastChatLog() && currentTime - this.lastLogTime > (long)this.config.getAntibotFastChatLogCooldown()) { + this.logger.log(Level.INFO, "[{0}] is repeating similar chats {1} (x{2})", remoteAddress, chat.split(" ")[0], String.valueOf(usageCount)); + this.lastLogTime = currentTime; + } + + if (this.config.isAntibotFastChatRepetitionFirewall()) { + addressData.firewall("Too fast chatting"); + } + + return true; + } + } + + return false; + } + } else { + return false; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/LatencyCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/LatencyCheck.java new file mode 100644 index 0000000..ed8553a --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/LatencyCheck.java @@ -0,0 +1,44 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import java.net.SocketAddress; +import java.util.logging.Level; + +public class LatencyCheck { + private FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + private LoggerWrapper logger = FlameCord.getInstance().getLoggerWrapper(); + private AddressDataManager addressDataManager; + + public LatencyCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + } + + public boolean check(SocketAddress remoteAddress) { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (addressData.isWhitelisted()) { + return false; + } else { + if (this.config.isAntibotLatencyEnabled()) { + int limit = FlameCord.getInstance().getFlameCordConfiguration().getAntibotLatencyLimit(); + addressData.stopLatency(); + if (addressData.getLatency() > limit) { + if (this.config.isAntibotLatencyLog()) { + this.logger.log(Level.INFO, "[{0}] has a very high latency ({1}ms)", remoteAddress, addressData.getLatency()); + } + + if (this.config.isAntibotLatencyFirewall()) { + addressData.firewall("Too high latency"); + } + + return true; + } + } + + return false; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/LimboCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/LimboCheck.java new file mode 100644 index 0000000..818dba7 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/LimboCheck.java @@ -0,0 +1,77 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.antibot.utils.Whitelist; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import io.netty.channel.Channel; +import io.netty.util.AttributeKey; +import java.net.SocketAddress; + +public class LimboCheck { + private static final String IP_WHITELIST_FILE = "./flamecord/limbo-ips.txt"; + private static final String NAME_WHITELIST_FILE = "./flamecord/limbo-names.txt"; + private static final AttributeKey FLOODGATE_PLAYER_ATTRIBUTE = AttributeKey.valueOf("floodgate-player"); + private FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + private AddressDataManager addressDataManager; + private Whitelist ipWhitelist = new Whitelist("./flamecord/limbo-ips.txt"); + private Whitelist nameWhitelist = new Whitelist("./flamecord/limbo-names.txt"); + private int connections = 0; + private long triggerTime = 0L; + private long lastConnectionPeriodTime = 0L; + + public LimboCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + this.ipWhitelist.load(); + this.nameWhitelist.load(); + } + + public boolean check(SocketAddress remoteAddress, Channel ch, String name) { + if (!this.config.isAntibotLimboEnabled()) { + return false; + } else if (this.config.isAntibotReconnectGeyserBypass() && ch.attr(FLOODGATE_PLAYER_ATTRIBUTE).get() != null) { + return false; + } else { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (addressData.isWhitelisted()) { + return false; + } else if (this.config.isAntibotLimboWhitelist() && this.ipWhitelist.contains(addressData.getHostString()) && this.nameWhitelist.contains(name)) { + return false; + } else { + int trigger = this.config.getAntibotLimboTriggerConnections(); + if (trigger > 0) { + long currentTime = System.currentTimeMillis(); + int period = this.config.getAntibotLimboTriggerPeriod() * 1000; + if (currentTime - this.lastConnectionPeriodTime > (long)period) { + this.lastConnectionPeriodTime = currentTime; + this.connections = 0; + } + + int secondsActive = this.config.getAntibotLimboTriggerSecondsActive() * 1000; + if (currentTime - this.triggerTime > (long)secondsActive) { + if (++this.connections <= trigger) { + return false; + } + + this.triggerTime = currentTime; + } + } + + return true; + } + } + } + + public void addToWhitelist(String name, String ip) { + if (this.config.isAntibotLimboEnabled()) { + this.ipWhitelist.add(ip); + this.nameWhitelist.add(name); + } + } + + public void saveWhitelist() { + this.ipWhitelist.save(); + this.nameWhitelist.save(); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/LockdownCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/LockdownCheck.java new file mode 100644 index 0000000..f55c917 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/LockdownCheck.java @@ -0,0 +1,192 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.antibot.utils.Whitelist; +import java.net.SocketAddress; +import java.util.logging.Level; +import net.md_5.bungee.api.ChatColor; + +public class LockdownCheck { + private static final String IP_WHITELIST_FILE = "./flamecord/lockdown-ips.txt"; + private static final String NAME_WHITELIST_FILE = "./flamecord/lockdown-names.txt"; + private AddressDataManager addressDataManager; + private Whitelist ipWhitelist = new Whitelist("./flamecord/lockdown-ips.txt"); + private Whitelist nameWhitelist = new Whitelist("./flamecord/lockdown-names.txt"); + private int counter = 0; + private boolean isBlocking = false; + private long lastPeriodLimitExceeded = System.currentTimeMillis(); + private long lastPeriod = System.currentTimeMillis(); + + public LockdownCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + FlameCord.getInstance().getLoggerWrapper().info("Loading lockdown whitelist from file."); + this.ipWhitelist.load(); + this.nameWhitelist.load(); + } + + public boolean isEnabled() { + return FlameCord.getInstance().getFlameCordConfiguration().isAntibotLockdownEnabled(); + } + + public boolean isLog() { + return FlameCord.getInstance().getFlameCordConfiguration().isAntibotLockdownLog(); + } + + public int getPeriod() { + return FlameCord.getInstance().getFlameCordConfiguration().getAntibotLockdownPeriod(); + } + + public int getPeriodLimit() { + return FlameCord.getInstance().getFlameCordConfiguration().getAntibotLockdownPeriodLimit(); + } + + public int getDuration() { + return FlameCord.getInstance().getFlameCordConfiguration().getAntibotLockdownDuration(); + } + + public int getCounter() { + return this.counter; + } + + public boolean check(String ip, String nickname) { + if (!this.isEnabled()) { + return false; + } else if (this.isWhitelisted(ip, nickname)) { + return false; + } else { + this.incrementCounter(); + boolean flagged = this.isBlocking(); + if (flagged) { + if (this.isLog()) { + FlameCord.getInstance().getLoggerWrapper().log(Level.INFO, "[{0}, {1}] was blocked because the server is under lockdown.", ip, nickname); + } + } else { + this.ipWhitelist.add(ip); + this.nameWhitelist.add(nickname); + } + + return flagged; + } + } + + public boolean check(SocketAddress address, String nickname) { + if (!this.isEnabled()) { + return false; + } else { + AddressData addressData = this.addressDataManager.getAddressData(address); + if (addressData.isWhitelisted()) { + return false; + } else { + String ip = addressData.getHostString(); + return this.check(ip, nickname); + } + } + } + + public void incrementCounter() { + if (this.isEnabled()) { + this.checkPeriod(); + ++this.counter; + this.checkPeriodLimit(); + } + } + + private boolean hasPeriodPassed() { + return System.currentTimeMillis() - this.lastPeriod > (long)this.getPeriod(); + } + + private void resetCounter() { + this.counter = 0; + this.lastPeriod = System.currentTimeMillis(); + } + + private void checkPeriod() { + if (this.hasPeriodPassed()) { + this.resetCounter(); + } + + } + + private void checkPeriodLimit() { + if (this.isLimitExceeded()) { + this.isBlocking = true; + this.lastPeriodLimitExceeded = System.currentTimeMillis(); + } + + } + + private boolean isLimitExceeded() { + return this.counter >= this.getPeriodLimit(); + } + + private boolean checkBlocking() { + if (System.currentTimeMillis() - this.lastPeriodLimitExceeded < (long)this.getDuration()) { + return true; + } else { + this.isBlocking = false; + return false; + } + } + + private boolean isBlocking() { + return this.isBlocking && this.checkBlocking(); + } + + private boolean isWhitelisted(String ip, String nickname) { + return this.ipWhitelist.contains(ip) && this.nameWhitelist.contains(nickname); + } + + public void clearWhitelist() { + if (this.isEnabled()) { + this.ipWhitelist.clear(); + this.nameWhitelist.clear(); + this.ipWhitelist.save(); + this.nameWhitelist.save(); + } + } + + public void unlock() { + if (this.isEnabled() && this.isBlocking()) { + this.isBlocking = false; + this.lastPeriodLimitExceeded = 0L; + } + } + + public void lock() { + if (this.isEnabled() && !this.isBlocking()) { + this.isBlocking = true; + this.lastPeriodLimitExceeded = System.currentTimeMillis(); + } + } + + public String getTimeAsString() { + if (this.isEnabled() && this.isBlocking()) { + long remainingTime = (long)this.getDuration() - (System.currentTimeMillis() - this.lastPeriodLimitExceeded); + return this.formatDuration(remainingTime); + } else { + return "Inactive"; + } + } + + public String getStatus() { + if (!this.isEnabled()) { + return "Inactive"; + } else { + return this.isBlocking() ? String.valueOf(ChatColor.RED) + "Locked" : String.valueOf(ChatColor.GREEN) + "Unlocked"; + } + } + + private String formatDuration(long duration) { + long seconds = duration / 1000L; + long minutes = seconds / 60L; + long hours = minutes / 60L; + return String.format("%02d:%02d:%02d", hours, minutes % 60L, seconds % 60L); + } + + public void saveWhitelist() { + this.ipWhitelist.save(); + this.nameWhitelist.save(); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/NicknameCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/NicknameCheck.java new file mode 100644 index 0000000..2c5db6f --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/NicknameCheck.java @@ -0,0 +1,55 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import java.net.SocketAddress; +import java.util.logging.Level; + +public class NicknameCheck { + private FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + private LoggerWrapper logger = FlameCord.getInstance().getLoggerWrapper(); + private AddressDataManager addressDataManager; + + public NicknameCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + } + + private boolean isBlacklisted(FlameCordConfiguration config, String nickname) { + String lowerNickname = nickname.toLowerCase(); + + for(String blacklisted : config.getAntibotNicknameBlacklist()) { + if (lowerNickname.contains(blacklisted)) { + return true; + } + } + + return false; + } + + public boolean check(SocketAddress remoteAddress) { + if (this.config.isAntibotNicknameEnabled()) { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (addressData.isWhitelisted()) { + return false; + } + + String nickname = addressData.getLastNickname(); + if (this.isBlacklisted(this.config, nickname)) { + if (this.config.isAntibotNicknameLog()) { + this.logger.log(Level.INFO, "[{0}] has a blacklisted nickname (" + nickname + ")", remoteAddress); + } + + if (this.config.isAntibotNicknameFirewall()) { + addressData.firewall("Blacklisted nickname [" + nickname + "]"); + } + + return true; + } + } + + return false; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/PacketsCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/PacketsCheck.java new file mode 100644 index 0000000..5aa8ee6 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/PacketsCheck.java @@ -0,0 +1,65 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.PacketsData; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import dev._2lstudios.flamecord.enums.PacketsCheckResult; +import dev._2lstudios.flamecord.enums.PacketsViolationReason; +import dev._2lstudios.flamecord.utils.ProtocolUtil; +import io.netty.buffer.ByteBuf; +import java.net.SocketAddress; +import java.util.HashMap; +import java.util.Map; + +public class PacketsCheck { + private Map packetsData = new HashMap(); + private long lastClear = System.currentTimeMillis(); + + public PacketsData getData(SocketAddress address) { + String ip = address.toString(); + long currentTime = System.currentTimeMillis(); + if (currentTime - this.lastClear > 60000L) { + this.lastClear = currentTime; + this.packetsData.clear(); + } + + if (this.packetsData.containsKey(ip)) { + return (PacketsData)this.packetsData.get(ip); + } else { + PacketsData data = new PacketsData(address); + this.packetsData.put(ip, data); + return data; + } + } + + public PacketsCheckResult check(SocketAddress socketAddress, ByteBuf byteBuf) { + FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + if (!config.isAntibotPacketsEnabled()) { + return PacketsCheckResult.NONE; + } else { + PacketsData packetsData = this.getData(socketAddress); + int length = byteBuf.readableBytes(); + int index = byteBuf.readerIndex(); + int packetId = ProtocolUtil.readVarInt(byteBuf); + byteBuf.readerIndex(index); + if (packetId == -1) { + return PacketsCheckResult.CANCEL; + } else if (packetsData == null) { + return PacketsCheckResult.NONE; + } else { + packetsData.addVls((double)length * config.getAntibotPacketsVlsPerByte(), PacketsViolationReason.SIZE, packetId); + packetsData.addVls(config.getAntibotPacketsVlsPerPacket(), PacketsViolationReason.RATE, packetId); + double vls = packetsData.getPacketsVls(); + if (vls >= config.getAntibotPacketsVlsToKick()) { + if (config.isAntibotAccountsFirewall()) { + FlameCord.getInstance().getAddressDataManager().getAddressData(socketAddress).firewall("Too many packets"); + } + + return PacketsCheckResult.KICK; + } else { + return vls >= config.getAntibotPacketsVlsToCancel() ? PacketsCheckResult.CANCEL : PacketsCheckResult.NONE; + } + } + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/PasswordCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/PasswordCheck.java new file mode 100644 index 0000000..3ec6f48 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/PasswordCheck.java @@ -0,0 +1,80 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import java.net.SocketAddress; +import java.util.Collection; +import java.util.HashSet; +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; +import java.util.logging.Level; + +public class PasswordCheck { + private FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + private AddressDataManager addressDataManager; + private LoggerWrapper logger = FlameCord.getInstance().getLoggerWrapper(); + private Map> passwords = new ConcurrentHashMap(); + + public int getPasswordCount(String password) { + return this.passwords.containsKey(password) ? ((Collection)this.passwords.get(password)).size() : 0; + } + + public boolean hasUsedPassword(String password, String nickname) { + return this.passwords.containsKey(password) ? ((Collection)this.passwords.get(password)).contains(nickname) : false; + } + + public void addPassword(String password, String nickname) { + if (this.passwords.containsKey(password)) { + ((Collection)this.passwords.get(password)).add(nickname); + } else { + Collection nicknames = new HashSet(); + nicknames.add(nickname); + this.passwords.put(password, nicknames); + } + + } + + public PasswordCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + } + + public boolean check(SocketAddress remoteAddress, String passwordMessage) { + if (this.config.isAntibotPasswordEnabled()) { + if (!passwordMessage.contains(" ")) { + return false; + } + + for(String cmd : this.config.getAntibotPasswordLoginCommands()) { + if (passwordMessage.startsWith(cmd)) { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (addressData.isWhitelisted()) { + return false; + } + + String nickname = addressData.getLastNickname(); + String password = passwordMessage.split(" ")[1]; + boolean usedPassword = this.hasUsedPassword(nickname, password); + if (!usedPassword && this.getPasswordCount(password) >= this.config.getAntibotPasswordLimit()) { + if (this.config.isAntibotPasswordLog()) { + this.logger.log(Level.INFO, "[{0}] has entered a repeated password", remoteAddress); + } + + if (this.config.isAntibotPasswordFirewall()) { + addressData.firewall("Repeated password"); + } + + return true; + } + + this.addPassword(nickname, password); + return false; + } + } + } + + return false; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/RatelimitCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/RatelimitCheck.java new file mode 100644 index 0000000..3179990 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/RatelimitCheck.java @@ -0,0 +1,54 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import java.net.SocketAddress; +import java.util.logging.Level; + +public class RatelimitCheck { + private FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + private LoggerWrapper logger = FlameCord.getInstance().getLoggerWrapper(); + private AddressDataManager addressDataManager; + + public RatelimitCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + } + + public boolean check(SocketAddress remoteAddress, int protocol) { + if (this.config.isAntibotRatelimitEnabled()) { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (addressData.isWhitelisted()) { + return false; + } + + if (this.config.getAntibotRatelimitWhitelist().contains(addressData.getHostString())) { + return false; + } + + if (addressData.getConnectionsSecond() >= this.config.getAntibotRatelimitConnectionsPerSecond() || addressData.getPingsSecond() >= this.config.getAntibotRatelimitPingsPerSecond()) { + if (this.config.isAntibotRatelimitLog()) { + if (protocol == 1) { + this.logger.log(Level.INFO, "[{0}] is pinging too fast", remoteAddress); + } else { + this.logger.log(Level.INFO, "[{0}] is connecting too fast", remoteAddress); + } + } + + if (this.config.isAntibotRatelimitFirewall()) { + if (protocol == 1) { + addressData.firewall("Too many pings"); + } else { + addressData.firewall("Too many connections"); + } + } + + return true; + } + } + + return false; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/check/ReconnectCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/check/ReconnectCheck.java new file mode 100644 index 0000000..05dad8c --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/check/ReconnectCheck.java @@ -0,0 +1,114 @@ +package dev._2lstudios.flamecord.antibot.check; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.antibot.utils.Whitelist; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import io.netty.channel.Channel; +import io.netty.util.AttributeKey; +import java.net.SocketAddress; +import java.util.logging.Level; + +public class ReconnectCheck { + private static final AttributeKey FLOODGATE_PLAYER_ATTRIBUTE = AttributeKey.valueOf("floodgate-player"); + private static final String IP_WHITELIST_FILE = "./flamecord/reconnect-ips.txt"; + private static final String NAME_WHITELIST_FILE = "./flamecord/reconnect-names.txt"; + private FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + private LoggerWrapper logger = FlameCord.getInstance().getLoggerWrapper(); + private AddressDataManager addressDataManager; + private int currentConnections = 0; + private int periodRemainingSeconds = 0; + private Whitelist ipWhitelist = new Whitelist("./flamecord/reconnect-ips.txt"); + private Whitelist nameWhitelist = new Whitelist("./flamecord/reconnect-names.txt"); + + public ReconnectCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + this.logger.info("Loading whitelisted items from file."); + this.ipWhitelist.save(); + this.nameWhitelist.save(); + } + + public void tick() { + this.currentConnections = 0; + --this.periodRemainingSeconds; + } + + public boolean check(SocketAddress remoteAddress, Channel ch, String name) { + if (!this.config.isAntibotReconnectEnabled()) { + return false; + } else if (this.config.isAntibotReconnectGeyserBypass() && ch.attr(FLOODGATE_PLAYER_ATTRIBUTE).get() != null) { + return false; + } else { + int lastRemainingSeconds = this.periodRemainingSeconds; + ++this.currentConnections; + if (this.currentConnections >= this.config.getAntibotReconnectConnectionsTrigger()) { + this.periodRemainingSeconds = this.config.getAntibotReconnectSecondsActive(); + } + + if (lastRemainingSeconds <= 0) { + return false; + } else { + AddressData addressData = this.addressDataManager.getAddressData(remoteAddress); + if (addressData.isWhitelisted()) { + return false; + } else if (this.config.isAntibotReconnectWhitelist() && this.ipWhitelist.contains(addressData.getHostString()) && this.nameWhitelist.contains(name)) { + return false; + } else { + long lastConnection = addressData.getTimeSincePenultimateConnection(); + boolean tooSlow = lastConnection > (long)this.config.getAntibotReconnectMaxTime(); + boolean tooFast = lastConnection < (long)this.config.getAntibotReconnectMinTime(); + if (!tooSlow && !tooFast) { + int remainingReconnect = this.config.getAntibotReconnectAttempts() - addressData.getTotalConnections(); + int remainingPing = this.config.getAntibotReconnectPings() - addressData.getTotalPings(); + if (remainingReconnect <= 0 && remainingPing <= 0) { + if (this.config.isAntibotReconnectWhitelist()) { + this.ipWhitelist.add(addressData.getHostString()); + this.nameWhitelist.add(name); + } + + return false; + } else { + if (this.config.isAntibotReconnectLog()) { + String msg = "[{0}] has to"; + if (remainingReconnect > 0) { + msg = msg + " reconnect " + remainingReconnect + " times"; + } + + if (remainingPing > 0) { + msg = msg + " ping " + remainingPing + " times"; + } + + this.logger.log(Level.INFO, msg, remoteAddress); + } + + return true; + } + } else { + if (this.config.isAntibotReconnectLog()) { + String msg = "[{0}] has to reconnect again"; + if (tooSlow) { + msg = msg + " (Too slow)"; + } + + if (tooFast) { + msg = msg + " (Too fast)"; + } + + this.logger.log(Level.INFO, msg, remoteAddress); + } + + addressData.setTotalConnections(0); + return true; + } + } + } + } + } + + public void saveWhitelist() { + this.ipWhitelist.save(); + this.nameWhitelist.save(); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/handlers/LimboHandler.java b/src/main/java/dev/_2lstudios/flamecord/antibot/handlers/LimboHandler.java new file mode 100644 index 0000000..2117c8e --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/handlers/LimboHandler.java @@ -0,0 +1,427 @@ +package dev._2lstudios.flamecord.antibot.handlers; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LimboFilter; +import dev._2lstudios.flamecord.antibot.cached.CachedCaptcha; +import dev._2lstudios.flamecord.antibot.cached.CachedMessage; +import dev._2lstudios.flamecord.antibot.cached.CachedPacketType; +import dev._2lstudios.flamecord.antibot.cached.CachedTitle; +import dev._2lstudios.flamecord.utils.IPUtils; +import dev._2lstudios.flamecord.utils.PacketUtils; +import dev._2lstudios.flamecord.utils.Util; +import io.netty.buffer.ByteBuf; +import io.netty.channel.Channel; +import lombok.Generated; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.compress.PacketDecompressor; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.packet.Chat; +import net.md_5.bungee.protocol.packet.ClientChat; +import net.md_5.bungee.protocol.packet.ClientSettings; +import net.md_5.bungee.protocol.packet.FinishConfiguration; +import net.md_5.bungee.protocol.packet.KeepAlive; +import net.md_5.bungee.protocol.packet.LoginAcknowledged; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.protocol.packet.SetCompression; + +public class LimboHandler extends MoveHandler { + private static final double MAX_MOVEMENT_DIFFERENCE = 0.1; + private final String name; + private final String ip; + private final int version; + private UserConnection userConnection; + private LimboFilter.CheckState state; + private Channel channel; + private ChannelWrapper ch; + private String captchaAnswer; + private int aticks; + private int sentPings; + private int attemps; + private long joinTime; + private long lastSend; + private long totalping; + private boolean markDisconnected; + private int pluginMessagesBytes; + private boolean checkStarted; + private boolean repeat; + private long lastMessageSent; + + public LimboHandler(UserConnection userConnection) { + super(userConnection); + this.state = LimboFilter.CheckState.CAPTCHA_POSITION; + this.aticks = 0; + this.sentPings = 0; + this.attemps = 3; + this.joinTime = System.currentTimeMillis(); + this.lastSend = 0L; + this.totalping = 9999L; + this.markDisconnected = false; + this.pluginMessagesBytes = 0; + this.repeat = true; + this.lastMessageSent = 0L; + this.name = userConnection.getName(); + this.channel = userConnection.getCh().getHandle(); + this.ch = userConnection.getCh(); + this.userConnection = userConnection; + this.version = userConnection.getPendingConnection().getVersion(); + this.userConnection.setClientEntityId(PacketUtils.CLIENTID); + this.userConnection.setDimension(0); + this.ip = IPUtils.getAddress(this.userConnection).getHostAddress(); + } + + public void spawn() { + this.checkStarted = true; + if (this.state == LimboFilter.CheckState.CAPTCHA_ON_POSITION_FAILED) { + PacketUtils.spawnPlayer(this.channel, this.userConnection.getPendingConnection().getVersion(), false, false); + ((CachedTitle)PacketUtils.titles.get(CachedPacketType.CHECK_IN_PROGRESS_TITLE)).writeTitle(this.channel, this.version); + } else { + PacketUtils.spawnPlayer(this.channel, this.userConnection.getPendingConnection().getVersion(), this.state == LimboFilter.CheckState.ONLY_CAPTCHA, true); + this.sendCaptcha(); + ((CachedTitle)PacketUtils.titles.get(CachedPacketType.ENTER_CAPTCHA_TITLE)).writeTitle(this.channel, this.version); + } + + this.sendPing(); + if (FlameCord.getInstance().getFlameCordConfiguration().isAntibotLimboLog()) { + FlameCord.getInstance().getLoggerWrapper().info("Player (" + this.name + "|" + this.ip + ") connected to limbo"); + } + + } + + public void exception(Throwable t) throws Exception { + this.markDisconnected = true; + if (this.state == LimboFilter.CheckState.FAILED) { + if (this.channel != null) { + this.channel.close(); + } + } else { + this.userConnection.disconnect(Util.exception(t)); + } + + this.disconnected(); + } + + public void handle(PacketWrapper packet) throws Exception { + if (packet.packet == null && packet.buf.readableBytes() > 2048) { + this.failed(PacketUtils.KickType.BIG_PACKET, "Sent packet larger than 2048 bytes (" + packet.buf.readableBytes() + ")"); + } + + } + + public void disconnected(ChannelWrapper channel) throws Exception { + switch (this.state) { + case ONLY_CAPTCHA: + case ONLY_POSITION: + case CAPTCHA_POSITION: + if (FlameCord.getInstance().getFlameCordConfiguration().isAntibotLimboLog()) { + FlameCord.getInstance().getLoggerWrapper().info("Player (" + this.name + "|" + this.ip + ") left the limbo"); + } + default: + LimboFilter.removeConnection((String)null, this); + this.disconnected(); + } + } + + public void handlerChanged() { + this.disconnected(); + } + + private void disconnected() { + this.channel = null; + this.userConnection = null; + } + + public void completeCheck() { + if (System.currentTimeMillis() - this.joinTime < LimboFilter.TOTAL_TIME && this.state != LimboFilter.CheckState.ONLY_CAPTCHA) { + if (this.state == LimboFilter.CheckState.CAPTCHA_POSITION && this.aticks < LimboFilter.TOTAL_TICKS) { + this.channel.writeAndFlush(PacketUtils.getCachedPacket(CachedPacketType.SETSLOT_RESET).get(this.version), this.channel.voidPromise()); + this.state = LimboFilter.CheckState.ONLY_POSITION; + } else if (this.state == LimboFilter.CheckState.CAPTCHA_ON_POSITION_FAILED) { + this.changeStateToCaptcha(); + } else { + this.failed(PacketUtils.KickType.FAILED_FALLING, "Too fast check passed"); + } + + } else { + if (this.lastSend == 0L) { + int var10000 = this.sentPings; + } else { + int var3 = this.sentPings - 1; + } + + this.state = LimboFilter.CheckState.SUCCESSFULLY; + ((CachedTitle)PacketUtils.titles.get(CachedPacketType.CHECK_COMPLETED_TYPE)).writeTitle(this.channel, this.version); + this.channel.flush(); + LimboFilter.removeConnection((String)null, this); + this.sendMessage(CachedPacketType.CHECK_SUS_MSG); + PacketDecompressor packetDecompressor = (PacketDecompressor)this.channel.pipeline().get(PacketDecompressor.class); + if (packetDecompressor != null) { + } + + this.userConnection.setNeedLogin(false); + this.userConnection.getPendingConnection().finishLoginWithLoginEvent(true); + this.markDisconnected = true; + FlameCord.getInstance().getCheckManager().getLimboCheck().addToWhitelist(this.name, this.ip); + FlameCord.getInstance().getLoggerWrapper().info("Player (" + this.name + "|" + this.ip + ") passed limbo check"); + } + } + + public void onMove() { + if (this.lastY != (double)-1.0F && this.state != LimboFilter.CheckState.FAILED && this.state != LimboFilter.CheckState.SUCCESSFULLY && !this.onGround) { + if (this.state == LimboFilter.CheckState.ONLY_CAPTCHA) { + if (this.lastY != this.y && this.waitingTeleportId == -1) { + this.resetPosition(true); + } + + } else { + double diff = formatDouble(this.lastY - this.y); + if (diff == (double)0.0F && this.y != (double)120.0F && !this.repeat) { + this.repeat = true; + } else { + this.repeat = false; + if (Math.abs(diff - getSpeed(this.ticks)) > 0.1) { + if (this.state == LimboFilter.CheckState.CAPTCHA_ON_POSITION_FAILED) { + this.changeStateToCaptcha(); + } else { + this.failed(PacketUtils.KickType.FAILED_FALLING, "Failed position check"); + } + + } else if (this.y <= (double)60.0F && this.state == LimboFilter.CheckState.CAPTCHA_POSITION && this.waitingTeleportId == -1) { + this.resetPosition(false); + } else if (this.aticks >= LimboFilter.TOTAL_TICKS && this.state != LimboFilter.CheckState.CAPTCHA_POSITION) { + this.completeCheck(); + } else { + if (this.state == LimboFilter.CheckState.CAPTCHA_POSITION || this.state == LimboFilter.CheckState.CAPTCHA_ON_POSITION_FAILED || this.state == LimboFilter.CheckState.ONLY_POSITION) { + ByteBuf expBuf = PacketUtils.expPackets.get(this.aticks, this.version); + if (expBuf != null) { + this.channel.writeAndFlush(expBuf, this.channel.voidPromise()); + } + } + + ++this.ticks; + ++this.aticks; + } + } + } + } + } + + private void resetPosition(boolean disableFall) { + if (disableFall) { + this.channel.write(PacketUtils.getCachedPacket(CachedPacketType.PLAYERABILITIES).get(this.version), this.channel.voidPromise()); + } + + this.waitingTeleportId = 9876; + this.channel.writeAndFlush(PacketUtils.getCachedPacket(CachedPacketType.PLAYERPOSANDLOOK_CAPTCHA).get(this.version), this.channel.voidPromise()); + } + + public void handle(Chat chat) throws Exception { + this.handleChat(chat.getMessage()); + } + + public void handle(LoginAcknowledged loginAcknowledged) throws Exception { + this.userConnection.getCh().setDecodeProtocol(Protocol.CONFIGURATION); + PacketUtils.configure(this.channel, this.version); + } + + public void handle(FinishConfiguration finishConfiguration) throws Exception { + this.userConnection.getCh().setDecodeProtocol(Protocol.BOTFILTER); + this.spawn(); + } + + public void handle(ClientChat chat) throws Exception { + this.handleChat(chat.getMessage()); + } + + private void handleChat(String message) { + if (this.state != LimboFilter.CheckState.CAPTCHA_ON_POSITION_FAILED) { + if (message.length() > 256) { + this.failed(PacketUtils.KickType.FAILED_CAPTCHA, "Too long message"); + return; + } + + if (message.replace("/", "").equals(this.captchaAnswer)) { + this.setState(LimboFilter.CheckState.ONLY_POSITION); + } else if (--this.attemps != 0) { + this.sendMessage(this.attemps == 2 ? CachedPacketType.CAPTCHA_FAILED_2_MSG : CachedPacketType.CAPTCHA_FAILED_1_MSG); + this.sendCaptcha(); + } else { + this.failed(PacketUtils.KickType.FAILED_CAPTCHA, "Failed captcha check"); + } + } + + } + + public void handle(ClientSettings settings) throws Exception { + this.userConnection.setSettings(settings); + } + + public void handle(KeepAlive keepAlive) throws Exception { + if (keepAlive.getRandomId() == (long)PacketUtils.KEEPALIVE_ID) { + if (this.lastSend == 0L) { + this.failed(PacketUtils.KickType.PING, "Tried send fake ping"); + return; + } + + long ping = System.currentTimeMillis() - this.lastSend; + this.totalping = this.totalping == 9999L ? ping : this.totalping + ping; + this.lastSend = 0L; + } + + } + + public void handle(PluginMessage pluginMessage) throws Exception { + this.pluginMessagesBytes += pluginMessage.getTag().length() * 4; + this.pluginMessagesBytes += pluginMessage.getData().length; + if (this.pluginMessagesBytes > 160000) { + this.failed(PacketUtils.KickType.BIG_PACKET, "Bad PluginMessage's"); + } else { + this.userConnection.getPendingConnection().relayMessage0(pluginMessage); + } + } + + public void handle(SetCompression setCompression) throws Exception { + this.ch.setCompressionThreshold(setCompression.getThreshold()); + } + + public void sendPing() { + if (this.lastSend == 0L && this.state != LimboFilter.CheckState.FAILED && this.state != LimboFilter.CheckState.SUCCESSFULLY) { + this.lastSend = System.currentTimeMillis(); + ++this.sentPings; + this.channel.writeAndFlush(PacketUtils.getCachedPacket(CachedPacketType.KEEPALIVE).get(this.version)); + } + + } + + private void sendCaptcha() { + CachedCaptcha.CaptchaHolder captchaHolder = PacketUtils.captchas.randomCaptcha(); + if (captchaHolder != null) { + this.captchaAnswer = captchaHolder.getAnswer(); + this.channel.write(PacketUtils.getCachedPacket(CachedPacketType.SETSLOT_MAP).get(this.version), this.channel.voidPromise()); + captchaHolder.write(this.channel, this.version, true); + } + } + + private void changeStateToCaptcha() { + this.state = LimboFilter.CheckState.ONLY_CAPTCHA; + this.joinTime = System.currentTimeMillis() + 3500L; + this.channel.write(PacketUtils.getCachedPacket(CachedPacketType.SETEXP_RESET).get(this.version), this.channel.voidPromise()); + ((CachedTitle)PacketUtils.titles.get(CachedPacketType.ENTER_CAPTCHA_TITLE)).writeTitle(this.channel, this.version); + this.resetPosition(true); + this.sendCaptcha(); + } + + public String getName() { + return this.name.toLowerCase(); + } + + public boolean isConnected() { + return this.userConnection != null && this.channel != null && !this.markDisconnected && this.userConnection.isConnected(); + } + + public void failed(PacketUtils.KickType type, String kickMessage) { + this.state = LimboFilter.CheckState.FAILED; + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(this.name != null ? this.name : this.ip); + PacketUtils.kickPlayer(type, Protocol.GAME, this.userConnection.getCh(), this.version); + this.markDisconnected = true; + if (FlameCord.getInstance().getFlameCordConfiguration().isAntibotLimboLog()) { + FlameCord.getInstance().getLoggerWrapper().info("Player (" + this.name + "|" + this.ip + ") check failed: " + kickMessage); + } + + } + + public void sendMessage(CachedPacketType type) { + ((CachedMessage)PacketUtils.messages.get(type)).write(this.getChannel(), this.getVersion()); + this.getChannel().flush(); + } + + public String toString() { + return "[" + this.name + "|" + this.ip + "] <-> Limbo"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LimboHandler)) { + return false; + } else { + LimboHandler other = (LimboHandler)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LimboHandler; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + return result; + } + + @Generated + public int getVersion() { + return this.version; + } + + @Generated + public UserConnection getUserConnection() { + return this.userConnection; + } + + @Generated + public LimboFilter.CheckState getState() { + return this.state; + } + + @Generated + public void setState(LimboFilter.CheckState state) { + this.state = state; + } + + @Generated + public Channel getChannel() { + return this.channel; + } + + @Generated + public long getJoinTime() { + return this.joinTime; + } + + @Generated + public boolean isCheckStarted() { + return this.checkStarted; + } + + @Generated + public long getLastMessageSent() { + return this.lastMessageSent; + } + + @Generated + public void setLastMessageSent(long lastMessageSent) { + this.lastMessageSent = lastMessageSent; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/handlers/MoveHandler.java b/src/main/java/dev/_2lstudios/flamecord/antibot/handlers/MoveHandler.java new file mode 100644 index 0000000..fce3347 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/handlers/MoveHandler.java @@ -0,0 +1,113 @@ +package dev._2lstudios.flamecord.antibot.handlers; + +import dev._2lstudios.flamecord.packets.Player; +import dev._2lstudios.flamecord.packets.PlayerPosition; +import dev._2lstudios.flamecord.packets.PlayerPositionAndLook; +import dev._2lstudios.flamecord.packets.TeleportConfirm; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.netty.PacketHandler; + +public class MoveHandler extends PacketHandler { + private static final int DEFAULT_TELEPORT_ID = 9876; + private static final double INVALID_Y_POSITION = (double)-1.0F; + public static final int TELEPORT_TRIGGER_Y = 120; + private static final double TELEPORT_TRIGGER_XZ = (double)7.0F; + public double x = (double)0.0F; + public double y = (double)0.0F; + public double z = (double)0.0F; + public boolean onGround = false; + public int teleportId = -1; + public int waitingTeleportId = 9876; + public double lastY = (double)0.0F; + public int ticks = 0; + private final UserConnection userConnection; + + public MoveHandler(UserConnection userConnection) { + this.userConnection = userConnection; + } + + public void handle(Player player) throws Exception { + this.onGround = player.isOnGround(); + } + + public void handle(PlayerPosition pos) throws Exception { + this.x = pos.getX(); + this.lastY = this.y; + this.y = pos.getY(); + this.z = pos.getZ(); + this.onGround = pos.isOnGround(); + this.onMove(); + } + + public void handle(PlayerPositionAndLook posRot) throws Exception { + if (this.isTeleportTriggered(posRot)) { + this.resetTeleportData(); + } + + if (this.updatePosition(posRot)) { + this.onMove(); + } + + } + + public void handle(TeleportConfirm confirm) throws Exception { + if (confirm.getTeleportId() == this.waitingTeleportId) { + this.resetTeleportData(); + } + + } + + private boolean updatePosition(PlayerPositionAndLook posRot) { + boolean changed = false; + if (this.x != posRot.getX()) { + this.x = posRot.getX(); + changed = true; + } + + if (this.lastY != this.y || this.y != posRot.getY()) { + this.lastY = this.y; + this.y = posRot.getY(); + changed = true; + } + + if (this.z != posRot.getZ()) { + this.z = posRot.getZ(); + changed = true; + } + + if (this.onGround != posRot.isOnGround()) { + this.onGround = posRot.isOnGround(); + changed = true; + } + + return changed; + } + + private boolean isTeleportTriggered(PlayerPositionAndLook posRot) { + return this.userConnection.getPendingConnection().getVersion() <= 47 && posRot.getX() == (double)7.0F && posRot.getY() == (double)120.0F && posRot.getZ() == (double)7.0F && this.waitingTeleportId == 9876; + } + + public void resetTeleportData() { + this.ticks = 0; + this.y = (double)-1.0F; + this.lastY = (double)-1.0F; + this.waitingTeleportId = -1; + } + + public void onMove() { + } + + public static double getSpeed(int ticks) { + double powResult = Math.pow(0.98, (double)ticks) - (double)1.0F; + double speed = -(powResult * 3.92); + return formatDouble(speed); + } + + public static double formatDouble(double value) { + return Math.floor(value * (double)100.0F) / (double)100.0F; + } + + public String toString() { + return "MoveHandler{x=" + this.x + ", y=" + this.y + ", z=" + this.z + ", onGround=" + this.onGround + ", teleportId=" + this.teleportId + ", waitingTeleportId=" + this.waitingTeleportId + ", lastY=" + this.lastY + ", ticks=" + this.ticks + "}"; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/IPCollection.java b/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/IPCollection.java new file mode 100644 index 0000000..dff8942 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/IPCollection.java @@ -0,0 +1,66 @@ +package dev._2lstudios.flamecord.antibot.proxy; + +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; + +public class IPCollection { + private final Map children = new ConcurrentHashMap(); + private boolean isEndOfIP = false; + private int ipCount = 0; + + public void add(String ip) { + String[] octets = ip.split("\\."); + if (this.addRecursive(octets, 0)) { + ++this.ipCount; + } + + } + + private boolean addRecursive(String[] octets, int index) { + if (index >= octets.length) { + if (!this.isEndOfIP) { + this.isEndOfIP = true; + return true; + } else { + return false; + } + } else { + String octet = octets[index]; + IPCollection child = (IPCollection)this.children.computeIfAbsent(octet, (k) -> new IPCollection()); + return child.addRecursive(octets, index + 1); + } + } + + public boolean contains(String ip) { + String[] octets = ip.split("\\."); + return this.containsRecursive(octets, 0); + } + + private boolean containsRecursive(String[] octets, int index) { + if (index >= octets.length) { + return this.isEndOfIP; + } else { + IPCollection child = (IPCollection)this.children.get(octets[index]); + return child == null ? false : child.containsRecursive(octets, index + 1); + } + } + + public void addSubnet(String baseIp, int subnetMask) { + String[] octets = baseIp.split("\\."); + this.addSubnetRecursive(octets, subnetMask, 0); + } + + private void addSubnetRecursive(String[] octets, int subnetMask, int index) { + if (subnetMask > 0 && index < octets.length) { + String octet = octets[index]; + IPCollection child = (IPCollection)this.children.computeIfAbsent(octet, (k) -> new IPCollection()); + child.addSubnetRecursive(octets, subnetMask - 8, index + 1); + } else { + this.isEndOfIP = true; + } + } + + public int size() { + return this.ipCount; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyCheck.java new file mode 100644 index 0000000..091314f --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyCheck.java @@ -0,0 +1,93 @@ +package dev._2lstudios.flamecord.antibot.proxy; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.antibot.addressdata.AddressDataManager; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import java.net.SocketAddress; +import java.util.Collection; +import java.util.HashSet; +import java.util.List; +import java.util.logging.Level; + +public class ProxyCheck { + private FlameCordConfiguration config; + private LoggerWrapper logger; + private AddressDataManager addressDataManager; + private IPCollection ipCollection = new IPCollection(); + + public ProxyCheck(AddressDataManager addressDataManager) { + this.addressDataManager = addressDataManager; + this.config = FlameCord.getInstance().getFlameCordConfiguration(); + this.logger = FlameCord.getInstance().getLoggerWrapper(); + } + + public void updateProxies() { + List lists = this.config.getAntibotProxyLists(); + if (!lists.isEmpty()) { + Collection proxyLoadTasks = new HashSet(); + FlameCord.getInstance().getLoggerWrapper().info("Updating proxy database from " + lists.size() + " websites... (It can take a while!)"); + + for(String website : lists) { + ProxyLoadTask loadingTask = new ProxyLoadTask(this, website); + proxyLoadTasks.add(loadingTask); + loadingTask.start(proxyLoadTasks); + } + + ProxyRecurringCheck.start(proxyLoadTasks, this.ipCollection); + } + } + + public boolean check(String ip) { + return this.ipCollection.contains(ip); + } + + public boolean check(SocketAddress address) { + if (!this.config.isAntibotProxyEnabled()) { + return false; + } else { + AddressData addressData = this.addressDataManager.getAddressData(address); + if (addressData.isWhitelisted()) { + return false; + } else { + String ip = addressData.getHostString(); + Collection whitelist = this.config.getAntibotProxyWhitelist(); + if (whitelist.contains(ip)) { + return false; + } else if (this.check(ip)) { + if (this.config.isAntibotProxyLog()) { + this.logger.log(Level.INFO, "[{0}] was blocked for using a VPN/Proxy service", address); + } + + if (this.config.isAntibotProxyFirewall()) { + addressData.firewall("Using VPN/Proxy services"); + } + + return true; + } else { + return false; + } + } + } + } + + public void addProxy(String address) { + if (address.contains("/")) { + String[] parts = address.split("/"); + String baseIp = parts[0]; + int subnetMask = 32; + if (parts.length > 1) { + try { + subnetMask = Integer.parseInt(parts[1]); + } catch (NumberFormatException var6) { + } + } + + this.ipCollection.addSubnet(baseIp, subnetMask); + } else { + this.ipCollection.add(address.split(":")[0]); + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyLoadTask.java b/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyLoadTask.java new file mode 100644 index 0000000..5e837d9 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyLoadTask.java @@ -0,0 +1,68 @@ +package dev._2lstudios.flamecord.antibot.proxy; + +import dev._2lstudios.flamecord.FlameCord; +import java.io.BufferedReader; +import java.io.InputStreamReader; +import java.net.HttpURLConnection; +import java.net.URL; +import java.util.Collection; +import java.util.logging.Level; + +public class ProxyLoadTask { + private ProxyCheck proxyCheck; + private String website; + private long finishTime = 0L; + private boolean finished = false; + + public ProxyLoadTask(ProxyCheck proxyCheck, String website) { + this.proxyCheck = proxyCheck; + this.website = website; + } + + public void finish() { + this.finishTime = System.currentTimeMillis(); + this.finished = true; + } + + public boolean finished() { + return this.finished; + } + + public void start(Collection proxyLoadTasks) { + (new Thread() { + public void run() { + try { + URL url = new URL(ProxyLoadTask.this.website); + HttpURLConnection con = (HttpURLConnection)url.openConnection(); + con.setConnectTimeout(5000); + con.setReadTimeout(5000); + con.setRequestMethod("GET"); + int responseCode = con.getResponseCode(); + if (responseCode == 200) { + BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())); + + String inputLine; + while((inputLine = in.readLine()) != null) { + if (!inputLine.startsWith("#")) { + ProxyLoadTask.this.proxyCheck.addProxy(inputLine); + } + } + + in.close(); + } else { + FlameCord.getInstance().getLoggerWrapper().log(Level.INFO, "Failed to load proxies from " + ProxyLoadTask.this.website); + } + } catch (Exception ex) { + FlameCord.getInstance().getLoggerWrapper().log(Level.INFO, "Error while loading proxies from " + ProxyLoadTask.this.website); + ex.printStackTrace(); + } + + ProxyLoadTask.this.finish(); + } + }).start(); + } + + public long getFinishTime() { + return this.finishTime; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyRecurringCheck.java b/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyRecurringCheck.java new file mode 100644 index 0000000..587168f --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/proxy/ProxyRecurringCheck.java @@ -0,0 +1,50 @@ +package dev._2lstudios.flamecord.antibot.proxy; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LoggerWrapper; +import java.util.Collection; + +public class ProxyRecurringCheck { + public static void start(final Collection proxyLoadTasks, final IPCollection proxies) { + final long startTime = System.currentTimeMillis(); + (new Thread() { + public void run() { + int taskCount = proxyLoadTasks.size(); + int finishedCount = 0; + + for(ProxyLoadTask loadingTask : proxyLoadTasks) { + if (loadingTask.finished()) { + ++finishedCount; + } + } + + if (finishedCount < taskCount) { + String finishedPercentage = String.format("%.2f", (double)finishedCount / (double)taskCount * (double)100.0F); + FlameCord.getInstance().getLoggerWrapper().info("Loading proxies (" + finishedPercentage + "%)"); + + try { + Thread.sleep(2000L); + } catch (InterruptedException var9) { + } + + this.run(); + } else { + long finishTime = 0L; + + for(ProxyLoadTask loadingTask : proxyLoadTasks) { + long loadingFinishTime = loadingTask.getFinishTime(); + if (loadingFinishTime > finishTime) { + finishTime = loadingFinishTime; + } + } + + String timeTook = String.format("%.2f", (double)(finishTime - startTime) / (double)1000.0F); + LoggerWrapper var10000 = FlameCord.getInstance().getLoggerWrapper(); + int var10001 = proxies.size(); + var10000.info("Loaded a total of " + var10001 + " proxies to the database (" + timeTook + "s)!"); + } + + } + }).start(); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/antibot/utils/Whitelist.java b/src/main/java/dev/_2lstudios/flamecord/antibot/utils/Whitelist.java new file mode 100644 index 0000000..3e0db9a --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/antibot/utils/Whitelist.java @@ -0,0 +1,102 @@ +package dev._2lstudios.flamecord.antibot.utils; + +import dev._2lstudios.flamecord.FlameCord; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.PrintWriter; +import java.util.HashSet; +import java.util.Set; + +public class Whitelist { + private String fileName; + private Set loadedEntries = new HashSet(); + private Set newEntries = new HashSet(); + + public Whitelist(String fileName) { + this.fileName = fileName; + } + + public void add(String entry) { + if (entry != null) { + if (!this.loadedEntries.contains(entry)) { + this.newEntries.add(entry); + this.loadedEntries.add(entry); + } + + } + } + + public void load() { + try { + BufferedReader reader = new BufferedReader(new FileReader(this.fileName)); + + String line; + try { + while((line = reader.readLine()) != null) { + this.loadedEntries.add(line); + } + } catch (Throwable var5) { + try { + reader.close(); + } catch (Throwable var4) { + var5.addSuppressed(var4); + } + + throw var5; + } + + reader.close(); + } catch (FileNotFoundException var6) { + } catch (Exception var7) { + FlameCord.getInstance().getLoggerWrapper().info("Error while loading whitelisted items from file."); + } + + } + + public void save() { + File file = new File(this.fileName); + if (!file.exists()) { + File parentDir = file.getParentFile(); + if (parentDir != null && !parentDir.exists()) { + parentDir.mkdirs(); + } + } + + try { + PrintWriter writer = new PrintWriter(new FileWriter(this.fileName, true)); + + try { + for(String item : this.newEntries) { + writer.println(item); + } + + this.newEntries.clear(); + } catch (Throwable var6) { + try { + writer.close(); + } catch (Throwable var5) { + var6.addSuppressed(var5); + } + + throw var6; + } + + writer.close(); + } catch (Exception var7) { + FlameCord.getInstance().getLoggerWrapper().info("Error while saving whitelisted items to file."); + } + + } + + public void clear() { + this.loadedEntries.clear(); + this.newEntries.clear(); + } + + public boolean contains(String entry) { + return this.loadedEntries.contains(entry); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/balancer/Balancer.java b/src/main/java/dev/_2lstudios/flamecord/balancer/Balancer.java new file mode 100644 index 0000000..9ab628a --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/balancer/Balancer.java @@ -0,0 +1,54 @@ +package dev._2lstudios.flamecord.balancer; + +import dev._2lstudios.flamecord.FlameCord; +import net.md_5.bungee.ServerConnection; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.config.ServerInfo; + +public class Balancer { + public static ServerInfo getBestServer() { + ServerInfo serverWithLeastPlayers = null; + int minPlayerCount = Integer.MAX_VALUE; + + for(String serverName : FlameCord.getInstance().getFlameCordConfiguration().getBalancerServers()) { + ServerInfo serverInfo = ProxyServer.getInstance().getServerInfo(serverName); + if (serverInfo != null) { + int playerCount = serverInfo.getPlayers().size(); + if (playerCount < minPlayerCount) { + minPlayerCount = playerCount; + serverWithLeastPlayers = serverInfo; + } + } + } + + return serverWithLeastPlayers; + } + + public static boolean isEnabled() { + return FlameCord.getInstance().getFlameCordConfiguration().isBalancerEnabled(); + } + + public static boolean isOnJoin() { + return FlameCord.getInstance().getFlameCordConfiguration().isBalancerOnJoin(); + } + + public static boolean isServer(ServerConnection server) { + return server == null ? false : isServer((ServerInfo)server.getInfo()); + } + + public static boolean isServer(ServerInfo server) { + return server == null ? false : FlameCord.getInstance().getFlameCordConfiguration().getBalancerServers().contains(server.getName()); + } + + public static boolean isFallback() { + return FlameCord.getInstance().getFlameCordConfiguration().isBalancerFallback(); + } + + public static boolean isUseLobbyCommand() { + return FlameCord.getInstance().getFlameCordConfiguration().isBalancerLobbyCommand(); + } + + public static boolean isServerCommandBlacklisted(ServerInfo server) { + return server == null ? true : FlameCord.getInstance().getFlameCordConfiguration().getBalancerCommandBlacklist().contains(server.getName()); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/captcha/CaptchaGeneration.java b/src/main/java/dev/_2lstudios/flamecord/captcha/CaptchaGeneration.java new file mode 100644 index 0000000..9742efd --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/captcha/CaptchaGeneration.java @@ -0,0 +1,170 @@ +package dev._2lstudios.flamecord.captcha; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.cached.CachedCaptcha; +import dev._2lstudios.flamecord.captcha.generator.CaptchaPainter; +import dev._2lstudios.flamecord.captcha.generator.map.CraftMapCanvas; +import dev._2lstudios.flamecord.captcha.generator.map.MapPalette; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import dev._2lstudios.flamecord.packets.MapDataPacket; +import dev._2lstudios.flamecord.utils.PacketUtils; +import java.awt.Color; +import java.awt.Font; +import java.awt.Graphics2D; +import java.awt.image.BufferedImage; +import java.util.List; +import java.util.Random; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; +import lombok.Generated; + +public final class CaptchaGeneration { + private static final Random rnd = new Random(); + + private static Font resolveFont(String familyName) { + int style = 0; + if (familyName.equalsIgnoreCase("MONOSPACED")) { + style = 1; + } + + try { + Font font = new Font(familyName, style, 12); + return font; + } catch (Exception var3) { + return new Font("SansSerif", style, 12); + } + } + + private static Font pickRandomFont(FlameCordConfiguration config) { + List families = config.getAntibotLimboCaptchaFonts(); + String family = (String)families.get(rnd.nextInt(families.size())); + Font font = resolveFont(family); + int minSize = Math.max(10, config.getAntibotLimboCaptchaFontSizeMin()); + int maxSize = Math.max(minSize, config.getAntibotLimboCaptchaFontSizeMax()); + int size = minSize + rnd.nextInt(Math.max(1, maxSize - minSize + 1)); + return font.deriveFont((float)size); + } + + public static void generateImages() { + ExecutorService executor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors()); + CaptchaPainter painter = new CaptchaPainter(); + FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + int numCaptchas = config.getAntibotLimboCaptchaCount(); + MapPalette.prepareColors(); + Color bgColor = parseColor(config.getAntibotLimboCaptchaBackground()); + painter.setBackground(bgColor); + + for(int i = 0; i < numCaptchas; ++i) { + executor.execute(() -> { + String answer = randomAnswer(config); + Font font = pickRandomFont(config); + Color fgColor = randomForeground(config); + BufferedImage image = painter.draw(font, fgColor, answer); + drawRandomLines(image, config); + CraftMapCanvas map = new CraftMapCanvas(); + map.drawImage(0, 0, image); + MapDataPacket packet = new MapDataPacket(0, (byte)0, map.getMapData()); + PacketUtils.captchas.createCaptchaPacket(packet, answer); + }); + } + + monitorAndShutdownExecutor(executor, numCaptchas); + } + + private static Color parseColor(String name) { + try { + return (Color)Color.class.getField(name.toUpperCase()).get((Object)null); + } catch (Exception var2) { + return Color.WHITE; + } + } + + private static void monitorAndShutdownExecutor(ExecutorService executor, int numCaptchas) { + ScheduledExecutorService monitor = Executors.newSingleThreadScheduledExecutor(); + ThreadPoolExecutor threadPool = (ThreadPoolExecutor)executor; + long startTime = System.currentTimeMillis(); + monitor.scheduleAtFixedRate(() -> { + int remaining = numCaptchas - threadPool.getQueue().size() - threadPool.getActiveCount(); + FlameCord.getInstance().getLoggerWrapper().info("Generating captcha [" + remaining + "/" + numCaptchas + "]"); + if (threadPool.getActiveCount() == 0 && threadPool.getQueue().isEmpty()) { + monitor.shutdown(); + CachedCaptcha.setGenerated(true); + executor.shutdown(); + FlameCord.getInstance().getLoggerWrapper().info("Captcha generated in " + (System.currentTimeMillis() - startTime) + " ms"); + } + + }, 0L, 1L, TimeUnit.SECONDS); + } + + private static void drawRandomLines(BufferedImage image, FlameCordConfiguration config) { + Graphics2D g2d = (Graphics2D)image.getGraphics(); + int count = Math.max(0, config.getAntibotLimboCaptchaLineCount()); + + for(int i = 0; i < count; ++i) { + if (config.isAntibotLimboCaptchaLineRandomColor()) { + g2d.setColor(randomLineColor()); + } else { + g2d.setColor(randomForeground(config)); + } + + int x1 = rnd.nextInt(image.getWidth()); + int y1 = rnd.nextInt(image.getHeight()); + int x2 = rnd.nextInt(image.getWidth()); + int y2 = rnd.nextInt(image.getHeight()); + g2d.drawLine(x1, y1, x2, y2); + } + + g2d.dispose(); + } + + private static Color randomLineColor() { + return new Color(rnd.nextInt(256), rnd.nextInt(256), rnd.nextInt(256)); + } + + private static Color randomForeground(FlameCordConfiguration config) { + int min = config.getAntibotLimboCaptchaForegroundMin(); + int max = config.getAntibotLimboCaptchaForegroundMax(); + if (min < 0) { + min = 0; + } + + if (max > 255) { + max = 255; + } + + if (max < min) { + max = min; + } + + int range = max - min + 1; + int threshold = 220; + int attempts = 0; + + Color color; + do { + color = new Color(min + rnd.nextInt(range), min + rnd.nextInt(range), min + rnd.nextInt(range)); + ++attempts; + } while(isNearWhite(color, threshold) && attempts < 20); + + return color; + } + + private static boolean isNearWhite(Color color, int threshold) { + return color.getRed() > threshold && color.getGreen() > threshold && color.getBlue() > threshold; + } + + private static String randomAnswer(FlameCordConfiguration config) { + int minLen = Math.max(1, config.getAntibotLimboCaptchaLengthMin()); + int maxLen = Math.max(minLen, config.getAntibotLimboCaptchaLengthMax()); + int length = minLen + rnd.nextInt(Math.max(1, maxLen - minLen + 1)); + return Integer.toString((int)Math.pow((double)10.0F, (double)(length - 1)) + rnd.nextInt((int)Math.pow((double)10.0F, (double)length) - (int)Math.pow((double)10.0F, (double)(length - 1)))); + } + + @Generated + private CaptchaGeneration() { + throw new UnsupportedOperationException("This is a utility class and cannot be instantiated"); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/captcha/generator/CaptchaPainter.java b/src/main/java/dev/_2lstudios/flamecord/captcha/generator/CaptchaPainter.java new file mode 100644 index 0000000..739b56c --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/captcha/generator/CaptchaPainter.java @@ -0,0 +1,162 @@ +package dev._2lstudios.flamecord.captcha.generator; + +import java.awt.Color; +import java.awt.Font; +import java.awt.Graphics; +import java.awt.Graphics2D; +import java.awt.Rectangle; +import java.awt.RenderingHints; +import java.awt.font.FontRenderContext; +import java.awt.font.GlyphVector; +import java.awt.geom.AffineTransform; +import java.awt.geom.Point2D; +import java.awt.geom.Rectangle2D; +import java.awt.image.BufferedImage; +import java.awt.image.ConvolveOp; +import java.awt.image.Kernel; +import java.util.Random; + +public class CaptchaPainter { + private final int width = 128; + private final int height = 128; + private Color background; + private final Random rnd; + + public CaptchaPainter() { + this.background = Color.WHITE; + this.rnd = new Random(); + } + + public void setBackground(Color background) { + if (background != null) { + this.background = background; + } + + } + + public BufferedImage draw(Font font, Color fGround, String text) { + if (font == null) { + throw new IllegalArgumentException("Font can not be null."); + } else if (fGround == null) { + throw new IllegalArgumentException("Foreground color can not be null."); + } else if (text != null && text.length() >= 1) { + BufferedImage img = this.createImage(); + Graphics g = img.getGraphics(); + + try { + Graphics2D g2 = this.configureGraphics(g, font, fGround); + this.draw(g2, text); + } finally { + g.dispose(); + } + + img = this.postProcess(img); + return img; + } else { + throw new IllegalArgumentException("No text given."); + } + } + + protected BufferedImage createImage() { + return new BufferedImage(128, 128, 5); + } + + protected Graphics2D configureGraphics(Graphics g, Font font, Color fGround) { + if (!(g instanceof Graphics2D g2)) { + throw new IllegalStateException("Graphics (" + String.valueOf(g) + ") that is not an instance of Graphics2D."); + } else { + this.configureGraphicsQuality(g2); + g2.setColor(fGround); + g2.setBackground(this.background); + g2.setFont(font); + g2.clearRect(0, 0, 128, 128); + return g2; + } + } + + protected void configureGraphicsQuality(Graphics2D g2) { + g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON); + g2.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON); + g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); + g2.setRenderingHint(RenderingHints.KEY_COLOR_RENDERING, RenderingHints.VALUE_COLOR_RENDER_QUALITY); + g2.setRenderingHint(RenderingHints.KEY_DITHERING, RenderingHints.VALUE_DITHER_ENABLE); + g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC); + g2.setRenderingHint(RenderingHints.KEY_ALPHA_INTERPOLATION, RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY); + g2.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); + } + + protected void draw(Graphics2D g, String text) { + GlyphVector vector = g.getFont().createGlyphVector(g.getFontRenderContext(), text); + this.transform(g, text, vector); + Rectangle bounds = vector.getPixelBounds((FontRenderContext)null, 0.0F, 128.0F); + float bw = (float)bounds.getWidth(); + float bh = (float)bounds.getHeight(); + boolean outlineEnabled = true; + float wr = 128.0F / bw * (this.rnd.nextFloat() / 20.0F + 0.89F) * 1.0F; + float hr = 128.0F / bh * (this.rnd.nextFloat() / 20.0F + 0.68F) * 1.0F; + g.translate((double)((128.0F - bw * wr) / 2.0F), (double)((128.0F - bh * hr) / 2.0F)); + g.scale((double)wr, (double)hr); + float bx = (float)bounds.getX(); + float by = (float)bounds.getY(); + g.draw(vector.getOutline(Math.signum(this.rnd.nextFloat() - 0.5F) * 1.0F * 128.0F / 200.0F - bx, Math.signum(this.rnd.nextFloat() - 0.5F) * 1.0F * 128.0F / 70.0F + 128.0F - by)); + g.drawGlyphVector(vector, -bx, 128.0F - by); + } + + protected void transform(Graphics2D g, String text, GlyphVector v) { + int glyphNum = v.getNumGlyphs(); + Point2D prePos = null; + Rectangle2D preBounds = null; + double rotateCur = (this.rnd.nextDouble() - (double)0.5F) * Math.PI / (double)8.0F; + double rotateStep = Math.signum(rotateCur) * (this.rnd.nextDouble() * (double)3.0F * Math.PI / (double)8.0F / (double)glyphNum); + boolean rotateEnabled = true; + + for(int fi = 0; fi < glyphNum; ++fi) { + AffineTransform tr = AffineTransform.getRotateInstance(rotateCur); + if (this.rnd.nextDouble() < (double)0.25F) { + rotateStep *= (double)-1.0F; + } + + rotateCur += rotateStep; + v.setGlyphTransform(fi, tr); + Point2D pos = v.getGlyphPosition(fi); + Rectangle2D bounds = v.getGlyphVisualBounds(fi).getBounds2D(); + Point2D newPos; + if (prePos == null) { + newPos = new Point2D.Double(pos.getX() - bounds.getX(), pos.getY()); + } else { + newPos = new Point2D.Double(preBounds.getMaxX() + pos.getX() - bounds.getX() - Math.min(preBounds.getWidth(), bounds.getWidth()) * (this.rnd.nextDouble() / (double)20.0F + 0.27), pos.getY()); + } + + v.setGlyphPosition(fi, newPos); + prePos = newPos; + preBounds = v.getGlyphVisualBounds(fi).getBounds2D(); + } + + } + + protected BufferedImage postProcess(BufferedImage img) { + Rippler.AxisConfig vertical = new Rippler.AxisConfig(this.rnd.nextDouble() * (double)2.0F * Math.PI, ((double)1.0F + this.rnd.nextDouble() * (double)2.0F) * Math.PI, (double)img.getHeight() / (double)10.0F); + Rippler.AxisConfig horizontal = new Rippler.AxisConfig(this.rnd.nextDouble() * (double)2.0F * Math.PI, ((double)2.0F + this.rnd.nextDouble() * (double)2.0F) * Math.PI, (double)img.getWidth() / (double)100.0F); + Rippler op = new Rippler(vertical, horizontal); + img = op.filter(img, this.createImage()); + float[] blurArray = new float[9]; + this.fillBlurArray(blurArray); + ConvolveOp blur = new ConvolveOp(new Kernel(3, 3, blurArray), 1, (RenderingHints)null); + img = blur.filter(img, this.createImage()); + return img; + } + + protected void fillBlurArray(float[] array) { + float sum = 0.0F; + + for(int fi = 0; fi < array.length; ++fi) { + array[fi] = this.rnd.nextFloat(); + sum += array[fi]; + } + + for(int fi = 0; fi < array.length; ++fi) { + array[fi] /= sum; + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/captcha/generator/Rippler.java b/src/main/java/dev/_2lstudios/flamecord/captcha/generator/Rippler.java new file mode 100644 index 0000000..be2c9ae --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/captcha/generator/Rippler.java @@ -0,0 +1,82 @@ +package dev._2lstudios.flamecord.captcha.generator; + +import java.awt.image.BufferedImage; + +public class Rippler { + private final AxisConfig vertical; + private final AxisConfig horizontal; + + public Rippler(AxisConfig vertical, AxisConfig horizontal) { + this.vertical = vertical; + this.horizontal = horizontal; + } + + public BufferedImage filter(BufferedImage src, BufferedImage dest) { + int width = src.getWidth(); + int height = src.getHeight(); + int[] verticalDelta = this.calcDeltaArray(this.vertical, width); + int[] horizontalDelta = this.calcDeltaArray(this.horizontal, height); + + for(int x = 0; x < width; ++x) { + for(int y = 0; y < height; ++y) { + int ny = (y + verticalDelta[x] + height) % height; + int nx = (x + horizontalDelta[ny] + width) % width; + dest.setRGB(nx, ny, src.getRGB(x, y)); + } + } + + return dest; + } + + protected int[] calcDeltaArray(AxisConfig axisConfig, int num) { + int[] delta = new int[num]; + double start = axisConfig.getStart(); + double period = axisConfig.getLength() / (double)num; + double amplitude = axisConfig.getAmplitude(); + + for(int fi = 0; fi < num; ++fi) { + delta[fi] = (int)Math.round(amplitude * Math.sin(start + (double)fi * period)); + } + + return delta; + } + + public AxisConfig getVertical() { + return this.vertical; + } + + public AxisConfig getHorizontal() { + return this.horizontal; + } + + public static class AxisConfig { + private final double start; + private final double length; + private final double amplitude; + + public AxisConfig(double start, double length, double amplitude) { + this.start = this.normalize(start, 2); + this.length = this.normalize(length, 4); + this.amplitude = amplitude; + } + + protected double normalize(double a, int multi) { + double piMulti = (double)multi * Math.PI; + a = Math.abs(a); + double d = Math.floor(a / piMulti); + return a - d * piMulti; + } + + public double getStart() { + return this.start; + } + + public double getLength() { + return this.length; + } + + public double getAmplitude() { + return this.amplitude; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/captcha/generator/map/CraftMapCanvas.java b/src/main/java/dev/_2lstudios/flamecord/captcha/generator/map/CraftMapCanvas.java new file mode 100644 index 0000000..a6d9d38 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/captcha/generator/map/CraftMapCanvas.java @@ -0,0 +1,40 @@ +package dev._2lstudios.flamecord.captcha.generator.map; + +import dev._2lstudios.flamecord.packets.MapDataPacket; +import java.awt.image.BufferedImage; +import java.awt.image.ImageObserver; +import java.util.Arrays; + +public class CraftMapCanvas { + private static final ThreadLocal mcPixelsBuffer = ThreadLocal.withInitial(() -> new byte[16384]); + private final byte[] buffer; + + public CraftMapCanvas() { + this.buffer = (byte[])mcPixelsBuffer.get(); + Arrays.fill(this.buffer, (byte)-1); + } + + public void setPixel(int x, int y, byte color) { + if (x >= 0 && y >= 0 && x < 128 && y < 128 && this.buffer[y * 128 + x] != color) { + this.buffer[y * 128 + x] = color; + } + + } + + public void drawImage(int x, int y, BufferedImage image) { + int[] bytes = MapPalette.imageToBytes(image); + int width = image.getWidth((ImageObserver)null); + int height = image.getHeight((ImageObserver)null); + + for(int x2 = 0; x2 < width; ++x2) { + for(int y2 = 0; y2 < height; ++y2) { + this.setPixel(x + x2, y + y2, (byte)bytes[y2 * width + x2]); + } + } + + } + + public MapDataPacket.MapData getMapData() { + return new MapDataPacket.MapData(128, 128, 0, 0, this.buffer); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/captcha/generator/map/MapPalette.java b/src/main/java/dev/_2lstudios/flamecord/captcha/generator/map/MapPalette.java new file mode 100644 index 0000000..9116a33 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/captcha/generator/map/MapPalette.java @@ -0,0 +1,75 @@ +package dev._2lstudios.flamecord.captcha.generator.map; + +import java.awt.Color; +import java.awt.image.BufferedImage; +import java.util.HashMap; +import java.util.Map; + +public final class MapPalette { + private static final ThreadLocal rgbBuffer = ThreadLocal.withInitial(() -> new int[16384]); + public static final Color[] colors = new Color[]{c(0, 0, 0), c(0, 0, 0), c(0, 0, 0), c(0, 0, 0), c(89, 125, 39), c(109, 153, 48), c(127, 178, 56), c(67, 94, 29), c(174, 164, 115), c(213, 201, 140), c(247, 233, 163), c(130, 123, 86), c(140, 140, 140), c(171, 171, 171), c(199, 199, 199), c(105, 105, 105), c(180, 0, 0), c(220, 0, 0), c(255, 0, 0), c(135, 0, 0), c(112, 112, 180), c(138, 138, 220), c(160, 160, 255), c(84, 84, 135), c(117, 117, 117), c(144, 144, 144), c(167, 167, 167), c(88, 88, 88), c(0, 87, 0), c(0, 106, 0), c(0, 124, 0), c(0, 65, 0), c(180, 180, 180), c(220, 220, 220), c(255, 255, 255), c(135, 135, 135), c(115, 118, 129), c(141, 144, 158), c(164, 168, 184), c(86, 88, 97), c(106, 76, 54), c(130, 94, 66), c(151, 109, 77), c(79, 57, 40), c(79, 79, 79), c(96, 96, 96), c(112, 112, 112), c(59, 59, 59), c(45, 45, 180), c(55, 55, 220), c(64, 64, 255), c(33, 33, 135), c(100, 84, 50), c(123, 102, 62), c(143, 119, 72), c(75, 63, 38), c(180, 177, 172), c(220, 217, 211), c(255, 252, 245), c(135, 133, 129), c(152, 89, 36), c(186, 109, 44), c(216, 127, 51), c(114, 67, 27), c(125, 53, 152), c(153, 65, 186), c(178, 76, 216), c(94, 40, 114), c(72, 108, 152), c(88, 132, 186), c(102, 153, 216), c(54, 81, 114), c(161, 161, 36), c(197, 197, 44), c(229, 229, 51), c(121, 121, 27), c(89, 144, 17), c(109, 176, 21), c(127, 204, 25), c(67, 108, 13), c(170, 89, 116), c(208, 109, 142), c(242, 127, 165), c(128, 67, 87), c(53, 53, 53), c(65, 65, 65), c(76, 76, 76), c(40, 40, 40), c(108, 108, 108), c(132, 132, 132), c(153, 153, 153), c(81, 81, 81), c(53, 89, 108), c(65, 109, 132), c(76, 127, 153), c(40, 67, 81), c(89, 44, 125), c(109, 54, 153), c(127, 63, 178), c(67, 33, 94), c(36, 53, 125), c(44, 65, 153), c(51, 76, 178), c(27, 40, 94), c(72, 53, 36), c(88, 65, 44), c(102, 76, 51), c(54, 40, 27), c(72, 89, 36), c(88, 109, 44), c(102, 127, 51), c(54, 67, 27), c(108, 36, 36), c(132, 44, 44), c(153, 51, 51), c(81, 27, 27), c(17, 17, 17), c(21, 21, 21), c(25, 25, 25), c(13, 13, 13), c(176, 168, 54), c(215, 205, 66), c(250, 238, 77), c(132, 126, 40), c(64, 154, 150), c(79, 188, 183), c(92, 219, 213), c(48, 115, 112), c(52, 90, 180), c(63, 110, 220), c(74, 128, 255), c(39, 67, 135), c(0, 153, 40), c(0, 187, 50), c(0, 217, 58), c(0, 114, 30), c(91, 60, 34), c(111, 74, 42), c(129, 86, 49), c(68, 45, 25), c(79, 1, 0), c(96, 1, 0), c(112, 2, 0), c(59, 1, 0)}; + private static final Map colorToIndexMap = new HashMap(); + + public static void prepareColors() { + for(int i = 4; i < colors.length; ++i) { + Color color = colors[i]; + byte index = (byte)(i < 128 ? i : -129 + (i - 127)); + colorToIndexMap.put(color.getRGB(), index); + } + + } + + private static Color c(int r, int g, int b) { + return new Color(r, g, b); + } + + private static double getDistance(Color c1, Color c2) { + double rmean = (double)(c1.getRed() + c2.getRed()) / (double)2.0F; + double r = (double)(c1.getRed() - c2.getRed()); + double g = (double)(c1.getGreen() - c2.getGreen()); + int b = c1.getBlue() - c2.getBlue(); + double weightR = (double)2.0F + rmean / (double)256.0F; + double weightG = (double)4.0F; + double weightB = (double)2.0F + ((double)255.0F - rmean) / (double)256.0F; + return weightR * r * r + weightG * g * g + weightB * (double)b * (double)b; + } + + /** @deprecated */ + @Deprecated + public static int[] imageToBytes(BufferedImage image) { + int[] result = (int[])rgbBuffer.get(); + image.getRGB(0, 0, image.getWidth(), image.getHeight(), result, 0, image.getWidth()); + + for(int i = 0; i < result.length; ++i) { + result[i] = tryFastMatchColor(result[i]); + } + + return result; + } + + public static byte tryFastMatchColor(int rgb) { + Byte color = (Byte)colorToIndexMap.get(rgb); + return color != null ? color : matchColor(new Color(rgb, true)); + } + + /** @deprecated */ + @Deprecated + public static byte matchColor(Color color) { + if (color.getAlpha() < 128) { + return 0; + } else { + int index = 0; + double best = (double)-1.0F; + + for(int i = 4; i < colors.length; ++i) { + double distance = getDistance(color, colors[i]); + if (distance < best || best == (double)-1.0F) { + best = distance; + index = i; + } + } + + return (byte)(index < 128 ? index : -129 + (index - 127)); + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/commands/BungeeIPCommand.java b/src/main/java/dev/_2lstudios/flamecord/commands/BungeeIPCommand.java new file mode 100644 index 0000000..b1a33d5 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/commands/BungeeIPCommand.java @@ -0,0 +1,36 @@ +package dev._2lstudios.flamecord.commands; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.configuration.MessagesConfiguration; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Command; + +public class BungeeIPCommand extends Command { + public BungeeIPCommand() { + super("bip"); + } + + public void execute(CommandSender sender, String[] args) { + FlameCord flameCord = FlameCord.getInstance(); + MessagesConfiguration messagesConfiguration = flameCord.getMessagesConfiguration(); + if (sender.hasPermission("flamecord.bip")) { + if (args.length > 0) { + ProxiedPlayer player = BungeeCord.getInstance().getPlayer(args[0]); + if (player != null) { + String message = messagesConfiguration.getTranslation("flamecord_bip", player.getDisplayName(), player.getUniqueId(), player.getSocketAddress(), player.getPing(), player.getLocale(), player.getViewDistance(), player.getServer().getInfo().getName()); + sender.sendMessage(TextComponent.fromLegacyText(message)); + } else { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_bip_offline"))); + } + } else { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_bip_usage"))); + } + } else { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_bip_nopermission"))); + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/commands/BungeeKickCommand.java b/src/main/java/dev/_2lstudios/flamecord/commands/BungeeKickCommand.java new file mode 100644 index 0000000..3302ae7 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/commands/BungeeKickCommand.java @@ -0,0 +1,46 @@ +package dev._2lstudios.flamecord.commands; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.configuration.MessagesConfiguration; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Command; + +public class BungeeKickCommand extends Command { + public BungeeKickCommand() { + super("bkick"); + } + + public void execute(CommandSender sender, String[] args) { + FlameCord flameCord = FlameCord.getInstance(); + MessagesConfiguration messagesConfiguration = flameCord.getMessagesConfiguration(); + if (!sender.hasPermission("flamecord.bkick")) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_bkick_nopermission"))); + } else if (args.length <= 0) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_bkick_usage"))); + } else { + String name = args[0]; + ProxiedPlayer player = ProxyServer.getInstance().getPlayer(name); + if (player != null && player.isConnected()) { + String reason = null; + if (args.length > 1) { + StringBuilder result = new StringBuilder(); + + for(int i = 1; i < args.length; ++i) { + result.append(args[i]).append(" "); + } + + reason = result.toString().trim(); + } + + player.disconnect(reason == null ? ChatColor.translateAlternateColorCodes('&', FlameCord.getInstance().getMessagesConfiguration().getTranslation("flamecord_bkick_default")) : String.valueOf(ChatColor.RED) + ChatColor.translateAlternateColorCodes('&', reason)); + sender.sendMessage(ChatColor.translateAlternateColorCodes('&', FlameCord.getInstance().getMessagesConfiguration().getTranslation("flamecord_bkick", name))); + } else { + sender.sendMessage(ChatColor.translateAlternateColorCodes('&', FlameCord.getInstance().getMessagesConfiguration().getTranslation("flamecord_bkick_notfound"))); + } + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/commands/BungeePluginsCommand.java b/src/main/java/dev/_2lstudios/flamecord/commands/BungeePluginsCommand.java new file mode 100644 index 0000000..558611f --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/commands/BungeePluginsCommand.java @@ -0,0 +1,41 @@ +package dev._2lstudios.flamecord.commands; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.configuration.MessagesConfiguration; +import java.util.Collection; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.plugin.Command; +import net.md_5.bungee.api.plugin.Plugin; + +public class BungeePluginsCommand extends Command { + public BungeePluginsCommand() { + super("bplugins"); + } + + public void execute(CommandSender sender, String[] args) { + FlameCord flameCord = FlameCord.getInstance(); + MessagesConfiguration messagesConfiguration = flameCord.getMessagesConfiguration(); + if (sender.hasPermission("flamecord.bplugins")) { + Collection plugins = BungeeCord.getInstance().getPluginManager().getPlugins(); + int amount = plugins.size(); + String header = FlameCord.getInstance().getMessagesConfiguration().getTranslation("flamecord_bplugins_header", amount); + String separator = FlameCord.getInstance().getMessagesConfiguration().getTranslation("flamecord_bplugins_separator"); + StringBuilder stringBuilder = new StringBuilder(header); + boolean first = true; + + for(Plugin plugin : plugins) { + stringBuilder.append((first ? "" : separator) + plugin.getDescription().getName()); + if (first) { + first = false; + } + } + + sender.sendMessage(TextComponent.fromLegacyText(stringBuilder.toString())); + } else { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_bplugins_nopermission"))); + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/commands/FlameCordCommand.java b/src/main/java/dev/_2lstudios/flamecord/commands/FlameCordCommand.java new file mode 100644 index 0000000..c457480 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/commands/FlameCordCommand.java @@ -0,0 +1,198 @@ +package dev._2lstudios.flamecord.commands; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.check.LockdownCheck; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import dev._2lstudios.flamecord.configuration.MessagesConfiguration; +import java.util.Collection; +import java.util.HashSet; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.plugin.Command; + +public class FlameCordCommand extends Command { + private final BungeeCord bungeeCord; + private FlameCordStatsCommand flameCordStatsCommand = new FlameCordStatsCommand(); + private FlameCordWhitelistCommand flameCordWhitelistCommand = new FlameCordWhitelistCommand(); + + public FlameCordCommand(BungeeCord bungeeCord) { + super("flamecord"); + this.bungeeCord = bungeeCord; + } + + public FlameCordStatsCommand getStatsCommand() { + return this.flameCordStatsCommand; + } + + public void execute(CommandSender sender, String[] args) { + FlameCord flameCord = FlameCord.getInstance(); + MessagesConfiguration messagesConfiguration = flameCord.getMessagesConfiguration(); + if (args.length > 0) { + switch (args[0].toLowerCase()) { + case "whitelist": + if (!sender.hasPermission("flamecord.whitelist")) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_nopermission"))); + return; + } + + this.flameCordWhitelistCommand.execute(sender, args); + break; + case "reload": + if (!sender.hasPermission("flamecord.reload")) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_nopermission"))); + return; + } + + Collection whitelistedAddresses = new HashSet(); + + for(ServerInfo serverInfo : this.bungeeCord.getServers().values()) { + whitelistedAddresses.add(serverInfo.getSocketAddress().toString()); + } + + FlameCord.initialize(this.bungeeCord.getLogger(), whitelistedAddresses); + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_reload"))); + break; + case "stats": + if (!sender.hasPermission("flamecord.stats")) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_nopermission"))); + return; + } + + this.flameCordStatsCommand.execute(sender); + break; + case "firewall": + if (!sender.hasPermission("flamecord.firewall")) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_nopermission"))); + return; + } + + if (args.length > 2) { + String ip = args[2]; + switch (args[1]) { + case "add": + FlameCord.getInstance().getAddressDataManager().getAddressData(ip).firewall("Blacklisted by command"); + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_firewall_add", ip))); + return; + case "remove": + FlameCord.getInstance().getAddressDataManager().getAddressData(ip).unfirewall(); + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_firewall_remove", ip))); + return; + default: + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_firewall_help"))); + } + } else { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_firewall_help"))); + } + break; + case "accounts": + if (!sender.hasPermission("flamecord.accounts")) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_nopermission"))); + return; + } + + if (args.length <= 1) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_accounts_help"))); + return; + } + + String subCommand = args[1]; + switch (subCommand) { + case "add": + case "remove": + if (args.length <= 3) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_accounts_help"))); + return; + } + + String ip = args[2]; + String name = args[3]; + if (subCommand.equals("add")) { + FlameCord.getInstance().getAddressDataManager().getAddressData(ip).addNickname(name); + } else { + FlameCord.getInstance().getAddressDataManager().getAddressData(ip).removeNickname(name); + } + + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_accounts_" + subCommand, name, ip))); + return; + case "clear": + if (args.length <= 2) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_accounts_help"))); + return; + } + + String clearIp = args[2]; + FlameCord.getInstance().getAddressDataManager().getAddressData(clearIp).clearNicknames(); + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_accounts_clear", clearIp))); + return; + default: + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_accounts_help"))); + return; + } + case "lockdown": + if (!sender.hasPermission("flamecord.lockdown")) { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_nopermission"))); + return; + } + + if (args.length > 1) { + switch (args[1]) { + case "start": + FlameCord.getInstance().getCheckManager().getLockdownCheck().lock(); + sender.sendMessage(TextComponent.fromLegacyText(String.valueOf(ChatColor.GREEN) + "Lockdown started!")); + return; + case "stop": + FlameCord.getInstance().getCheckManager().getLockdownCheck().unlock(); + sender.sendMessage(TextComponent.fromLegacyText(String.valueOf(ChatColor.RED) + "Lockdown stopped!")); + return; + case "clear": + FlameCord.getInstance().getCheckManager().getLockdownCheck().clearWhitelist(); + sender.sendMessage(TextComponent.fromLegacyText(String.valueOf(ChatColor.YELLOW) + "Whitelist cleared!")); + return; + default: + String var10001 = String.valueOf(ChatColor.GOLD); + sender.sendMessage(TextComponent.fromLegacyText(var10001 + "Remaining time: " + FlameCord.getInstance().getCheckManager().getLockdownCheck().getTimeAsString())); + } + } else { + FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + LockdownCheck lockdownCheck = FlameCord.getInstance().getCheckManager().getLockdownCheck(); + if (config.isAntibotLockdownEnabled()) { + String var23 = String.valueOf(ChatColor.GOLD); + sender.sendMessage(TextComponent.fromLegacyText(var23 + "Remaining time: " + String.valueOf(ChatColor.YELLOW) + lockdownCheck.getTimeAsString())); + } + + String var24 = String.valueOf(ChatColor.GOLD); + sender.sendMessage(TextComponent.fromLegacyText(var24 + "Lockdown Enabled: " + String.valueOf(config.isAntibotLockdownEnabled() ? ChatColor.GREEN : ChatColor.RED) + config.isAntibotLockdownEnabled())); + if (config.isAntibotLockdownEnabled()) { + var24 = String.valueOf(ChatColor.GOLD); + sender.sendMessage(TextComponent.fromLegacyText(var24 + "Lockdown Log: " + String.valueOf(config.isAntibotLockdownLog() ? ChatColor.GREEN : ChatColor.RED) + config.isAntibotLockdownLog())); + var24 = String.valueOf(ChatColor.GOLD); + sender.sendMessage(TextComponent.fromLegacyText(var24 + "Lockdown Period: " + String.valueOf(ChatColor.AQUA) + config.getAntibotLockdownPeriod())); + var24 = String.valueOf(ChatColor.GOLD); + sender.sendMessage(TextComponent.fromLegacyText(var24 + "Lockdown Period Limit: " + String.valueOf(ChatColor.AQUA) + config.getAntibotLockdownPeriodLimit())); + var24 = String.valueOf(ChatColor.GOLD); + sender.sendMessage(TextComponent.fromLegacyText(var24 + "Lockdown Duration: " + String.valueOf(ChatColor.AQUA) + config.getAntibotLockdownDuration())); + var24 = String.valueOf(ChatColor.GOLD); + sender.sendMessage(TextComponent.fromLegacyText(var24 + "Count in Current Period: " + String.valueOf(ChatColor.YELLOW) + lockdownCheck.getCounter())); + } + + sender.sendMessage(TextComponent.fromLegacyText(String.valueOf(ChatColor.GOLD) + "Available subcommands:")); + var24 = String.valueOf(ChatColor.YELLOW); + sender.sendMessage(TextComponent.fromLegacyText(var24 + "/flamecord lockdown start - " + String.valueOf(ChatColor.GREEN) + "Start lockdown")); + var24 = String.valueOf(ChatColor.YELLOW); + sender.sendMessage(TextComponent.fromLegacyText(var24 + "/flamecord lockdown stop - " + String.valueOf(ChatColor.RED) + "Stop lockdown")); + var24 = String.valueOf(ChatColor.YELLOW); + sender.sendMessage(TextComponent.fromLegacyText(var24 + "/flamecord lockdown clear - " + String.valueOf(ChatColor.AQUA) + "Clear whitelist")); + } + break; + default: + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_help", BungeeCord.getInstance().getVersion()))); + } + } else { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("flamecord_help", BungeeCord.getInstance().getVersion()))); + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/commands/FlameCordStatsCommand.java b/src/main/java/dev/_2lstudios/flamecord/commands/FlameCordStatsCommand.java new file mode 100644 index 0000000..159d0ff --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/commands/FlameCordStatsCommand.java @@ -0,0 +1,51 @@ +package dev._2lstudios.flamecord.commands; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.StatsData; +import dev._2lstudios.flamecord.configuration.MessagesConfiguration; +import java.util.Collection; +import java.util.HashSet; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.connection.ProxiedPlayer; + +public class FlameCordStatsCommand { + private Collection showStats = new HashSet(); + + public boolean isShowStats(ProxiedPlayer proxiedPlayer) { + return this.showStats.contains(proxiedPlayer); + } + + public void hideStats(ProxiedPlayer proxiedPlayer) { + this.showStats.remove(proxiedPlayer); + } + + public void showStats(ProxiedPlayer proxiedPlayer) { + this.showStats.add(proxiedPlayer); + } + + public Collection getShowStats() { + return this.showStats; + } + + public void execute(CommandSender sender) { + MessagesConfiguration messagesConfiguration = FlameCord.getInstance().getMessagesConfiguration(); + StatsData statsData = FlameCord.getInstance().getStatsData(); + int totalPings = statsData.getTotalPings(); + int totalConnections = statsData.getTotalConnections(); + int firewalled = statsData.getTotalFirewalled(); + int lastPings = statsData.getLastPings(); + int lastConnections = statsData.getLastConnections(); + int lastFirewalled = statsData.getLastFirewalled(); + if (sender instanceof ProxiedPlayer proxiedPlayer) { + if (this.isShowStats(proxiedPlayer)) { + this.hideStats(proxiedPlayer); + } else { + this.showStats(proxiedPlayer); + } + } else { + sender.sendMessage(TextComponent.fromLegacyText(messagesConfiguration.getTranslation("antibot_stats", totalPings, totalConnections, lastPings, lastConnections, firewalled, lastFirewalled))); + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/commands/FlameCordWhitelistCommand.java b/src/main/java/dev/_2lstudios/flamecord/commands/FlameCordWhitelistCommand.java new file mode 100644 index 0000000..c66f87a --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/commands/FlameCordWhitelistCommand.java @@ -0,0 +1,42 @@ +package dev._2lstudios.flamecord.commands; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.configuration.MessagesConfiguration; +import java.util.regex.Pattern; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.chat.TextComponent; + +public class FlameCordWhitelistCommand { + private final Pattern IP_PATTERN = Pattern.compile("^([0-9]{1,3}\\.){3}[0-9]{1,3}$"); + private final Pattern NAME_PATTERN = Pattern.compile("^[a-zA-Z0-9_]{3,16}$"); + + public void execute(CommandSender sender, String[] args) { + FlameCord flameCord = FlameCord.getInstance(); + MessagesConfiguration messages = flameCord.getMessagesConfiguration(); + if (args.length < 3) { + sender.sendMessage(TextComponent.fromLegacyText(String.valueOf(ChatColor.RED) + "Usage: /flamecord whitelist ")); + } else { + String action = args[1].toLowerCase(); + String target = args[2]; + boolean isIP = this.IP_PATTERN.matcher(target).matches(); + boolean isName = this.NAME_PATTERN.matcher(target).matches(); + if (!isIP && !isName) { + sender.sendMessage(TextComponent.fromLegacyText(String.valueOf(ChatColor.RED) + "Invalid format! Use a valid IP address or Minecraft nickname.")); + } else { + if (action.equals("add")) { + flameCord.getUserWhitelistManager().add(target); + String var10001 = String.valueOf(ChatColor.GREEN); + sender.sendMessage(TextComponent.fromLegacyText(var10001 + "Successfully added " + String.valueOf(ChatColor.WHITE) + target + String.valueOf(ChatColor.GREEN) + " to the persistent user whitelist.")); + } else if (action.equals("remove")) { + flameCord.getUserWhitelistManager().remove(target); + String var9 = String.valueOf(ChatColor.YELLOW); + sender.sendMessage(TextComponent.fromLegacyText(var9 + "Successfully removed " + String.valueOf(ChatColor.WHITE) + target + String.valueOf(ChatColor.YELLOW) + " from the persistent user whitelist.")); + } else { + sender.sendMessage(TextComponent.fromLegacyText(String.valueOf(ChatColor.RED) + "Usage: /flamecord whitelist ")); + } + + } + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/commands/LobbyCommand.java b/src/main/java/dev/_2lstudios/flamecord/commands/LobbyCommand.java new file mode 100644 index 0000000..dcd9b70 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/commands/LobbyCommand.java @@ -0,0 +1,52 @@ +package dev._2lstudios.flamecord.commands; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.balancer.Balancer; +import dev._2lstudios.flamecord.configuration.MessagesConfiguration; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Command; + +public class LobbyCommand extends Command { + public LobbyCommand() { + super("lobby", (String)null, "hub"); + } + + public void execute(CommandSender sender, String[] args) { + FlameCord flameCord = FlameCord.getInstance(); + MessagesConfiguration messagesConfiguration = flameCord.getMessagesConfiguration(); + if (!(sender instanceof ProxiedPlayer)) { + sender.sendMessage((BaseComponent)(new TextComponent(messagesConfiguration.getTranslation("flamecord_lobby_not_from_console")))); + } else if (!Balancer.isUseLobbyCommand()) { + sender.sendMessage((BaseComponent)(new TextComponent(messagesConfiguration.getTranslation("flamecord_lobby_command_disabled")))); + } else if (!Balancer.isEnabled()) { + sender.sendMessage((BaseComponent)(new TextComponent(messagesConfiguration.getTranslation("flamecord_lobby_balancer_disabled")))); + } else if (!Balancer.isFallback()) { + sender.sendMessage((BaseComponent)(new TextComponent(messagesConfiguration.getTranslation("flamecord_lobby_no_fallback_configured")))); + } else { + ProxiedPlayer player = (ProxiedPlayer)sender; + ServerInfo server = player.getServer().getInfo(); + if (Balancer.isServer(server)) { + sender.sendMessage((BaseComponent)(new TextComponent(messagesConfiguration.getTranslation("flamecord_lobby_already_connected")))); + } else if (Balancer.isServerCommandBlacklisted(server)) { + sender.sendMessage((BaseComponent)(new TextComponent(messagesConfiguration.getTranslation("flamecord_lobby_command_blacklisted")))); + } else { + ServerInfo bestServer = Balancer.getBestServer(); + if (bestServer == null) { + sender.sendMessage((BaseComponent)(new TextComponent(messagesConfiguration.getTranslation("flamecord_lobby_no_servers_available")))); + } else { + try { + player.connect(bestServer); + player.sendMessage(new TextComponent(messagesConfiguration.getTranslation("flamecord_lobby_connecting"))); + } catch (Exception var9) { + player.sendMessage(new TextComponent(messagesConfiguration.getTranslation("flamecord_lobby_connection_failed"))); + } + + } + } + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/configuration/FlameConfig.java b/src/main/java/dev/_2lstudios/flamecord/configuration/FlameConfig.java new file mode 100644 index 0000000..7a7cb50 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/configuration/FlameConfig.java @@ -0,0 +1,78 @@ +package dev._2lstudios.flamecord.configuration; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashSet; +import java.util.List; +import net.md_5.bungee.config.Configuration; +import net.md_5.bungee.config.ConfigurationProvider; +import net.md_5.bungee.config.YamlConfiguration; + +public class FlameConfig { + Configuration load(File file) { + ConfigurationProvider configurationProvider = ConfigurationProvider.getProvider(YamlConfiguration.class); + if (file.exists() && file.isFile()) { + try { + return configurationProvider.load(file); + } catch (IOException var4) { + } + } + + return new Configuration(); + } + + void save(Configuration config, File file) { + ConfigurationProvider configurationProvider = ConfigurationProvider.getProvider(YamlConfiguration.class); + + try { + configurationProvider.save(config, file); + } catch (IOException var5) { + } + + } + + double setIfUnexistant(String arg1, double arg2, Configuration configuration) { + return (Double)this.setIfUnexistant(arg1, (Object)arg2, configuration); + } + + int setIfUnexistant(String arg1, int arg2, Configuration configuration) { + return (Integer)this.setIfUnexistant(arg1, (Object)arg2, configuration); + } + + String setIfUnexistant(String arg1, String arg2, Configuration configuration) { + return (String)this.setIfUnexistant(arg1, (Object)arg2, configuration); + } + + boolean setIfUnexistant(String arg1, boolean arg2, Configuration configuration) { + return (Boolean)this.setIfUnexistant(arg1, (Object)arg2, configuration); + } + + Object setIfUnexistant(String arg1, Object arg2, Configuration configuration) { + if (!configuration.contains(arg1)) { + configuration.set(arg1, arg2); + return arg2; + } else { + return configuration.get(arg1); + } + } + + Collection setIfUnexistant(String arg1, Collection arg2, Configuration configuration) { + if (!configuration.contains(arg1)) { + configuration.set(arg1, new ArrayList(arg2)); + return arg2; + } else { + return new HashSet(configuration.getStringList(arg1)); + } + } + + List setIfUnexistant(String arg1, List arg2, Configuration configuration) { + if (!configuration.contains(arg1)) { + configuration.set(arg1, new ArrayList(arg2)); + return arg2; + } else { + return configuration.getStringList(arg1); + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/configuration/FlameCordConfiguration.java b/src/main/java/dev/_2lstudios/flamecord/configuration/FlameCordConfiguration.java new file mode 100644 index 0000000..37681e6 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/configuration/FlameCordConfiguration.java @@ -0,0 +1,1054 @@ +package dev._2lstudios.flamecord.configuration; + +import dev._2lstudios.flamecord.utils.ColorUtil; +import java.io.File; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Random; +import lombok.Generated; +import net.md_5.bungee.config.Configuration; +import net.md_5.bungee.config.ConfigurationProvider; + +public class FlameCordConfiguration extends FlameConfig { + private boolean reviewReminderEnabled = true; + private boolean allowInvalidNames = false; + private boolean largePayloads = false; + private boolean optimisticExceptionsEnabled = true; + private int optimisticExceptionsDefaultThreshold = 1; + private int optimisticExceptionsDefaultPeriod = 60000; + private int optimisticExceptionsClientChatAcknowledgementThreshold = 1; + private int optimisticExceptionsClientChatAcknowledgementPeriod = 1000; + private boolean balancerEnabled = false; + private boolean balancerOnJoin = true; + private boolean balancerFallback = true; + private boolean balancerLobbyCommand = true; + private List balancerCommandBlacklist = Arrays.asList("auth"); + private List balancerServers = Arrays.asList("lobby"); + private boolean antibotAccountsEnabled = true; + private boolean antibotAccountsFirewall = true; + private int antibotAccountsLimit = 3; + private boolean antibotAccountsLog = true; + private Collection antibotAccountsWhitelist = Arrays.asList("Nickname"); + private boolean antibotLatencyEnabled = true; + private boolean antibotLatencyFirewall = true; + private int antibotLatencyLimit = 900; + private boolean antibotLatencyLog = true; + private boolean antibotCountryEnabled = true; + private boolean antibotCountryFirewall = true; + private Collection antibotCountryBlacklist = Arrays.asList("CN", "HK", "RU", "IN", "TH", "ID", "DZ", "VN", "IR", "PK"); + private Collection antibotCountryWhitelist = new ArrayList(); + private Collection antibotFirewalledExceptions = Arrays.asList("BadPacketException", "QuietException", "IllegalStateConfig", "FastException"); + private boolean antibotCountryLog = true; + private boolean antibotFastChatEnabled = true; + private boolean antibotFastChatFirewall = true; + private int antibotFastChatTime = 1000; + private boolean antibotFastChatLog = true; + private int antibotFastChatLogCooldown = 1000; + private boolean isAntibotFastChatRepetitionEnabled = true; + private boolean isAntibotFastChatRepetitionChat = true; + private boolean isAntibotFastChatRepetitionFirewall = false; + private boolean isAntibotFastChatRepetitionKick = false; + private int antibotFastChatRepetitionThreshold = 2; + private int antibotFastChatRepetitionLength = 16; + private int antibotFastChatRepetitionPeriod = 5000; + private List antibotFastChatRepetitionCommands = Arrays.asList("/r", "/reg", "/register"); + private boolean antibotFirewallEnabled = true; + private int antibotFirewallExpire = 60; + private int compressionLevel = 6; + private boolean antibotFirewallLog = true; + private boolean antibotFirewallIpset = true; + private Collection antibotFirewallWhitelist = Arrays.asList("127.0.0.1"); + private boolean antibotNicknameEnabled = true; + private boolean antibotNicknameFirewall = true; + private Collection antibotNicknameBlacklist = Arrays.asList("mcstorm", "mcdown", "mcbot", "theresa_bot", "dropbot", "kingbot"); + private boolean antibotNicknameLog = true; + private boolean antibotPasswordEnabled = true; + private boolean antibotPasswordFirewall = true; + private int antibotPasswordLimit = 3; + private boolean antibotPasswordLog = true; + private Collection antibotPasswordLoginCommands = Arrays.asList("/login ", "/l ", "/register ", "/reg "); + private boolean antibotRatelimitEnabled = true; + private boolean antibotRatelimitFirewall = true; + private int antibotRatelimitConnectionsPerSecond = 3; + private int antibotRatelimitPingsPerSecond = 8; + private boolean antibotRatelimitLog = true; + private Collection antibotRatelimitWhitelist = Arrays.asList("127.0.0.1"); + private boolean antibotReconnectEnabled = true; + private int antibotReconnectAttempts = 2; + private int antibotReconnectPings = 0; + private int antibotReconnectMaxTime = 15000; + private int antibotReconnectMinTime = 1000; + private boolean antibotReconnectLog = true; + private int antibotReconnectConnectionsTrigger = 1; + private int antibotReconnectSecondsActive = 5; + private boolean antibotReconnectGeyserBypass = true; + private boolean antibotReconnectWhitelist = true; + private boolean antibotPacketsEnabled = true; + private boolean antibotPacketsFirewall = true; + private boolean antibotPacketsLog = true; + private boolean antibotPacketsDebug = false; + private double antibotPacketsVlsPerByte = 0.0017; + private double antibotPacketsVlsPerPacket = 0.01; + private double antibotPacketsVlsToKick = (double)100.0F; + private double antibotPacketsVlsToCancel = (double)25.0F; + private boolean antibotProxyEnabled = true; + private boolean antibotProxyLog = true; + private boolean antibotProxyFirewall = true; + private boolean antibotProxyOnlineCheck = false; + private String antibotProxyEmail = "flamecord@gmail.com"; + private Collection antibotProxyWhitelist = Arrays.asList("127.0.0.1"); + private List antibotProxyLists = Arrays.asList("https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/http.txt", "https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list-raw.txt", "https://raw.githubusercontent.com/scriptzteam/ProtonVPN-VPN-IPs/main/exit_ips.txt", "https://raw.githubusercontent.com/mmpx12/proxy-list/master/ips-list.txt", "https://check.torproject.org/torbulkexitlist?ip=1.1.1.1", "https://cinsscore.com/list/ci-badguys.txt", "https://lists.blocklist.de/lists/all.txt", "https://blocklist.greensnow.co/greensnow.txt", "https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_7d.ipset", "https://raw.githubusercontent.com/jetkai/proxy-list/main/online-proxies/txt/proxies.txt", "https://raw.githubusercontent.com/monosans/proxy-list/main/proxies/socks4.txt", "https://raw.githubusercontent.com/X4BNet/lists_vpn/refs/heads/main/output/vpn/ipv4.txt", "https://raw.githubusercontent.com/X4BNet/lists_vpn/refs/heads/main/output/datacenter/ipv4.txt", "https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/http.txt", "https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/socks4.txt", "https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/socks5.txt", "https://raw.githubusercontent.com/ShiftyTR/Proxy-List/master/proxy.txt", "https://raw.githubusercontent.com/dpangestuw/Free-Proxy/main/allive.txt", "https://raw.githubusercontent.com/dpangestuw/Free-Proxy/main/http_proxies.txt", "https://raw.githubusercontent.com/dpangestuw/Free-Proxy/main/socks4_proxies.txt", "https://raw.githubusercontent.com/dpangestuw/Free-Proxy/main/socks5_proxies.txt", "https://raw.githubusercontent.com/officialputuid/KangProxy/main/http/http.txt", "https://raw.githubusercontent.com/officialputuid/KangProxy/main/https/https.txt", "https://raw.githubusercontent.com/officialputuid/KangProxy/main/socks4/socks4.txt", "https://raw.githubusercontent.com/officialputuid/KangProxy/main/socks5/socks5.txt", "https://vakhov.github.io/fresh-proxy-list/http.txt", "https://vakhov.github.io/fresh-proxy-list/https.txt", "https://vakhov.github.io/fresh-proxy-list/socks4.txt", "https://vakhov.github.io/fresh-proxy-list/socks5.txt", "https://raw.githubusercontent.com/monosans/proxy-list/main/proxies.json", "https://raw.githubusercontent.com/Coocoobau/vpn-ip-lists/main/nordvpn-ips.txt", "https://raw.githubusercontent.com/Coocoobau/vpn-ip-lists/main/protonvpn-ips.txt", "https://raw.githubusercontent.com/Coocoobau/vpn-ip-lists/main/windscribevpn-ips.txt", "https://raw.githubusercontent.com/scriptzteam/ProtonVPN-VPN-IPs/main/entry_ips.txt", "http://az0-vpnip-public.oooninja.com/ip.txt", "https://www.dan.me.uk/tornodes", "https://raw.githubusercontent.com/avastel/proxy-bot-ips-lists/main/avastel-proxy-bot-ips-1day.txt", "https://raw.githubusercontent.com/avastel/proxy-bot-ips-lists/main/avastel-proxy-bot-ips-blocklist-5days.txt", "https://raw.githubusercontent.com/avastel/proxy-bot-ips-lists/main/avastel-proxy-bot-ips-blocklist-8days.txt"); + private boolean antibotLockdownEnabled = true; + private boolean antibotLockdownLog = true; + private int antibotLockdownPeriodLimit = 4; + private int antibotLockdownPeriod = 5000; + private int antibotLockdownDuration = 5000; + private boolean antibotLimboEnabled = true; + private boolean antibotLimboLog = true; + private boolean antibotLimboWhitelist = true; + private int antibotLimboTriggerConnections = 2; + private int antibotLimboTriggerPeriod = 5; + private int antibotLimboTriggerSecondsActive = 5; + private int antibotLimboDimension = 0; + private int antibotLimboCaptchaCount = 100; + private int antibotLimboTimeout = 30; + private List antibotLimboCaptchaFonts = Arrays.asList("SANS_SERIF", "SERIF", "MONOSPACED"); + private int antibotLimboCaptchaFontSizeMin = 45; + private int antibotLimboCaptchaFontSizeMax = 55; + private int antibotLimboCaptchaLengthMin = 4; + private int antibotLimboCaptchaLengthMax = 6; + private String antibotLimboCaptchaBackground = "WHITE"; + private int antibotLimboCaptchaForegroundMin = 50; + private int antibotLimboCaptchaForegroundMax = 205; + private boolean antibotLimboCaptchaLineRandomColor = true; + private int antibotLimboCaptchaLineCount = 5; + private boolean antibotBlockedActionbarEnabled = false; + private boolean chainedProxySupportEnabled = false; + private boolean chainedDownstreamProxySupportEnabled = false; + private int tcpFastOpen = 3; + private boolean motdEnabled = false; + private boolean motdServerPlaceholders = false; + private List motds = Collections.singletonList("&eDefault &cFlameCord&e server &7(%onlineplayers%/%maxplayers%)\n&eEdit on &cflamecord.yml&7 (IridiumColorAPI HEX)"); + private List hexMotds; + private boolean sampleEnabled = false; + private List samples = Collections.singletonList("&eDefault &cFlameCord&e server &7(%onlineplayers%/%maxplayers%)\n&eEdit on &cflamecord.yml&7 (IridiumColorAPI HEX)"); + private List hexSamples; + private boolean protocolEnabled = false; + private String protocolName = "&c&lMaintenance"; + private boolean protocolAlwaysShow = false; + private boolean maxPlayersEnabled = false; + private int maxPlayersAmount = 1000; + private boolean maxPlayersOneMore = false; + private boolean fakePlayersEnabled = false; + private int fakePlayersAmount = 3; + private String fakePlayersMode = "DIVISION"; + private boolean loggerInitialhandler = false; + private boolean loggerExceptions = false; + private boolean loggerDump = false; + private boolean loggerHaProxy = false; + private boolean loggerDetailedConnection = true; + private boolean maintenanceEnabled = false; + private String maintenanceProtocol = "&c&lMaintenance"; + private String maintenanceMotd = "&c&lMaintenance\n&cCome back later!"; + private List maintenanceSample = Arrays.asList("&c&lMaintenance", "&cCome back later!"); + private String maintenanceKick = "&c&lMaintenance\n\n&cCome back later!"; + private List maintenanceWhitelist = Arrays.asList(""); + + public void loadAntibot(Configuration config, Collection whitelistedAddresses) { + this.antibotBlockedActionbarEnabled = this.setIfUnexistant("antibot.notifications.blocked-actionbar.enabled", this.antibotBlockedActionbarEnabled, config); + this.antibotLatencyEnabled = this.setIfUnexistant("antibot.latency.enabled", this.antibotLatencyEnabled, config); + this.antibotLatencyFirewall = this.setIfUnexistant("antibot.latency.firewall", this.antibotLatencyFirewall, config); + this.antibotLatencyLimit = this.setIfUnexistant("antibot.latency.limit", this.antibotLatencyLimit, config); + this.antibotLatencyLog = this.setIfUnexistant("antibot.latency.log", this.antibotLatencyLog, config); + this.antibotAccountsEnabled = this.setIfUnexistant("antibot.accounts.enabled", this.antibotAccountsEnabled, config); + this.antibotAccountsFirewall = this.setIfUnexistant("antibot.accounts.firewall", this.antibotAccountsFirewall, config); + this.antibotAccountsLimit = this.setIfUnexistant("antibot.accounts.limit", this.antibotAccountsLimit, config); + this.antibotAccountsLog = this.setIfUnexistant("antibot.accounts.log", this.antibotAccountsLog, config); + this.antibotAccountsWhitelist = this.setIfUnexistant("antibot.accounts.whitelist", this.antibotAccountsWhitelist, config); + this.antibotCountryEnabled = this.setIfUnexistant("antibot.country.enabled", this.antibotCountryEnabled, config); + this.antibotCountryFirewall = this.setIfUnexistant("antibot.country.firewall", this.antibotCountryFirewall, config); + this.antibotCountryBlacklist = this.setIfUnexistant("antibot.country.blacklist", this.antibotCountryBlacklist, config); + this.antibotCountryWhitelist = this.setIfUnexistant("antibot.country.whitelist", this.antibotCountryWhitelist, config); + this.antibotCountryLog = this.setIfUnexistant("antibot.country.log", this.antibotCountryLog, config); + this.antibotFastChatEnabled = this.setIfUnexistant("antibot.fastchat.enabled", this.antibotFastChatEnabled, config); + this.antibotFastChatFirewall = this.setIfUnexistant("antibot.fastchat.firewall", this.antibotFastChatFirewall, config); + this.antibotFastChatTime = this.setIfUnexistant("antibot.fastchat.time", this.antibotFastChatTime, config); + this.antibotFastChatLog = this.setIfUnexistant("antibot.fastchat.log", this.antibotFastChatLog, config); + this.antibotFastChatLogCooldown = this.setIfUnexistant("antibot.fastchat.log_cooldown", this.antibotFastChatLogCooldown, config); + this.isAntibotFastChatRepetitionEnabled = this.setIfUnexistant("antibot.fastchat.repetition.enabled", this.isAntibotFastChatRepetitionEnabled, config); + this.isAntibotFastChatRepetitionChat = this.setIfUnexistant("antibot.fastchat.repetition.chat", this.isAntibotFastChatRepetitionChat, config); + this.antibotFastChatRepetitionThreshold = this.setIfUnexistant("antibot.fastchat.repetition.threshold", this.antibotFastChatRepetitionThreshold, config); + this.antibotFastChatRepetitionLength = this.setIfUnexistant("antibot.fastchat.repetition.length", this.antibotFastChatRepetitionLength, config); + this.antibotFastChatRepetitionPeriod = this.setIfUnexistant("antibot.fastchat.repetition.period", this.antibotFastChatRepetitionPeriod, config); + this.antibotFastChatRepetitionCommands = this.setIfUnexistant("antibot.fastchat.repetition.commands", this.antibotFastChatRepetitionCommands, config); + this.isAntibotFastChatRepetitionFirewall = this.setIfUnexistant("antibot.fastchat.repetition.firewall", this.isAntibotFastChatRepetitionFirewall, config); + this.isAntibotFastChatRepetitionKick = this.setIfUnexistant("antibot.fastchat.repetition.kick", this.isAntibotFastChatRepetitionKick, config); + this.antibotFirewallEnabled = this.setIfUnexistant("antibot.firewall.enabled", this.antibotFirewallEnabled, config); + this.antibotFirewalledExceptions = this.setIfUnexistant("antibot.firewall.exceptions", this.antibotFirewalledExceptions, config); + this.antibotFirewallExpire = this.setIfUnexistant("antibot.firewall.time", this.antibotFirewallExpire, config); + this.antibotFirewallLog = this.setIfUnexistant("antibot.firewall.log", this.antibotFirewallLog, config); + this.antibotFirewallWhitelist = new HashSet(this.setIfUnexistant("antibot.firewall.whitelist", this.antibotFirewallWhitelist, config)); + this.antibotFirewallIpset = this.setIfUnexistant("antibot.firewall.ipset", this.antibotFirewallIpset, config); + this.antibotFirewallWhitelist.addAll(whitelistedAddresses); + this.antibotNicknameEnabled = this.setIfUnexistant("antibot.nickname.enabled", this.antibotNicknameEnabled, config); + this.antibotNicknameFirewall = this.setIfUnexistant("antibot.nickname.firewall", this.antibotNicknameFirewall, config); + this.antibotNicknameBlacklist = this.setIfUnexistant("antibot.nickname.blacklist", this.antibotNicknameBlacklist, config); + this.antibotNicknameLog = this.setIfUnexistant("antibot.nickname.log", this.antibotNicknameLog, config); + this.antibotPasswordEnabled = this.setIfUnexistant("antibot.password.enabled", this.antibotPasswordEnabled, config); + this.antibotPasswordFirewall = this.setIfUnexistant("antibot.password.firewall", this.antibotPasswordFirewall, config); + this.antibotPasswordLimit = this.setIfUnexistant("antibot.password.limit", this.antibotPasswordLimit, config); + this.antibotPasswordLoginCommands = this.setIfUnexistant("antibot.password.login-commands", this.antibotPasswordLoginCommands, config); + this.antibotPasswordLog = this.setIfUnexistant("antibot.password.log", this.antibotPasswordLog, config); + this.antibotRatelimitEnabled = this.setIfUnexistant("antibot.ratelimit.enabled", this.antibotRatelimitEnabled, config); + this.antibotRatelimitFirewall = this.setIfUnexistant("antibot.ratelimit.firewall", this.antibotRatelimitFirewall, config); + this.antibotRatelimitConnectionsPerSecond = this.setIfUnexistant("antibot.ratelimit.connections-per-second", this.antibotRatelimitConnectionsPerSecond, config); + this.antibotRatelimitPingsPerSecond = this.setIfUnexistant("antibot.ratelimit.pings-per-second", this.antibotRatelimitPingsPerSecond, config); + this.antibotRatelimitLog = this.setIfUnexistant("antibot.ratelimit.log", this.antibotRatelimitLog, config); + this.antibotRatelimitWhitelist = new HashSet(this.setIfUnexistant("antibot.ratelimit.whitelist", this.antibotRatelimitWhitelist, config)); + this.antibotReconnectEnabled = this.setIfUnexistant("antibot.reconnect.enabled", this.antibotReconnectEnabled, config); + this.antibotReconnectAttempts = this.setIfUnexistant("antibot.reconnect.attempts", this.antibotReconnectAttempts, config); + this.antibotReconnectPings = this.setIfUnexistant("antibot.reconnect.ping-attempts", this.antibotReconnectPings, config); + this.antibotReconnectMaxTime = this.setIfUnexistant("antibot.reconnect.max-time", this.antibotReconnectMaxTime, config); + this.antibotReconnectMinTime = this.setIfUnexistant("antibot.reconnect.min-time", this.antibotReconnectMinTime, config); + this.antibotReconnectLog = this.setIfUnexistant("antibot.reconnect.log", this.antibotReconnectLog, config); + this.antibotReconnectConnectionsTrigger = this.setIfUnexistant("antibot.reconnect.connections-trigger", this.antibotReconnectConnectionsTrigger, config); + this.antibotReconnectSecondsActive = this.setIfUnexistant("antibot.reconnect.seconds-active", this.antibotReconnectSecondsActive, config); + this.antibotReconnectGeyserBypass = this.setIfUnexistant("antibot.reconnect.geyser-bypass", this.antibotReconnectGeyserBypass, config); + this.antibotReconnectWhitelist = this.setIfUnexistant("antibot.reconnect.whitelist", this.antibotReconnectWhitelist, config); + this.antibotPacketsEnabled = this.setIfUnexistant("antibot.packets.enabled", this.antibotPacketsEnabled, config); + this.antibotPacketsFirewall = this.setIfUnexistant("antibot.packets.firewall", this.antibotPacketsFirewall, config); + this.antibotPacketsLog = this.setIfUnexistant("antibot.packets.log", this.antibotPacketsLog, config); + this.antibotPacketsDebug = this.setIfUnexistant("antibot.packets.debug", this.antibotPacketsDebug, config); + this.antibotPacketsVlsPerByte = this.setIfUnexistant("antibot.packets.vls-per-byte", this.antibotPacketsVlsPerByte, config); + this.antibotPacketsVlsPerPacket = this.setIfUnexistant("antibot.packets.vls-per-packet", this.antibotPacketsVlsPerPacket, config); + this.antibotPacketsVlsToKick = this.setIfUnexistant("antibot.packets.vls-to-kick", this.antibotPacketsVlsToKick, config); + this.antibotPacketsVlsToCancel = this.setIfUnexistant("antibot.packets.vls-to-cancel", this.antibotPacketsVlsToCancel, config); + this.antibotProxyEnabled = this.setIfUnexistant("antibot.proxy.enabled", this.antibotProxyEnabled, config); + this.antibotProxyLog = this.setIfUnexistant("antibot.proxy.log", this.antibotProxyLog, config); + this.antibotProxyFirewall = this.setIfUnexistant("antibot.proxy.firewall", this.antibotProxyFirewall, config); + this.antibotProxyOnlineCheck = this.setIfUnexistant("antibot.proxy.online-check", this.antibotProxyOnlineCheck, config); + this.antibotProxyEmail = this.setIfUnexistant("antibot.proxy.email", this.antibotProxyEmail, config); + this.antibotProxyWhitelist = this.setIfUnexistant("antibot.proxy.whitelist", this.antibotProxyWhitelist, config); + this.antibotProxyLists = this.setIfUnexistant("antibot.proxy.lists", this.antibotProxyLists, config); + this.antibotLockdownEnabled = this.setIfUnexistant("antibot.lockdown.enabled", this.antibotLockdownEnabled, config); + this.antibotLockdownLog = this.setIfUnexistant("antibot.lockdown.log", this.antibotLockdownLog, config); + this.antibotLockdownDuration = this.setIfUnexistant("antibot.lockdown.duration", this.antibotLockdownDuration, config); + this.antibotLockdownPeriod = this.setIfUnexistant("antibot.lockdown.period", this.antibotLockdownPeriod, config); + this.antibotLockdownPeriodLimit = this.setIfUnexistant("antibot.lockdown.period-limit", this.antibotLockdownPeriodLimit, config); + this.antibotLimboEnabled = this.setIfUnexistant("antibot.limbo.enabled", this.antibotLimboEnabled, config); + this.antibotLimboLog = this.setIfUnexistant("antibot.limbo.log", this.antibotLimboLog, config); + this.antibotLimboWhitelist = this.setIfUnexistant("antibot.limbo.whitelist", this.antibotLimboWhitelist, config); + this.antibotLimboTriggerConnections = this.setIfUnexistant("antibot.limbo.trigger.connections", this.antibotLimboTriggerConnections, config); + this.antibotLimboTriggerPeriod = this.setIfUnexistant("antibot.limbo.trigger.period", this.antibotLimboTriggerPeriod, config); + this.antibotLimboTriggerSecondsActive = this.setIfUnexistant("antibot.limbo.trigger.seconds-active", this.antibotLimboTriggerSecondsActive, config); + this.antibotLimboDimension = this.setIfUnexistant("antibot.limbo.dimension", this.antibotLimboDimension, config); + this.antibotLimboCaptchaCount = this.setIfUnexistant("antibot.limbo.captcha-count", this.antibotLimboCaptchaCount, config); + this.antibotLimboTimeout = this.setIfUnexistant("antibot.limbo.timeout", this.antibotLimboTimeout, config); + this.antibotLimboCaptchaFonts = this.setIfUnexistant("antibot.limbo.captcha.fonts", this.antibotLimboCaptchaFonts, config); + this.antibotLimboCaptchaFontSizeMin = this.setIfUnexistant("antibot.limbo.captcha.font-size-min", this.antibotLimboCaptchaFontSizeMin, config); + this.antibotLimboCaptchaFontSizeMax = this.setIfUnexistant("antibot.limbo.captcha.font-size-max", this.antibotLimboCaptchaFontSizeMax, config); + this.antibotLimboCaptchaLengthMin = this.setIfUnexistant("antibot.limbo.captcha.length-min", this.antibotLimboCaptchaLengthMin, config); + this.antibotLimboCaptchaLengthMax = this.setIfUnexistant("antibot.limbo.captcha.length-max", this.antibotLimboCaptchaLengthMax, config); + this.antibotLimboCaptchaBackground = this.setIfUnexistant("antibot.limbo.captcha.background", this.antibotLimboCaptchaBackground, config); + this.antibotLimboCaptchaForegroundMin = this.setIfUnexistant("antibot.limbo.captcha.foreground-min", this.antibotLimboCaptchaForegroundMin, config); + this.antibotLimboCaptchaForegroundMax = this.setIfUnexistant("antibot.limbo.captcha.foreground-max", this.antibotLimboCaptchaForegroundMax, config); + this.antibotLimboCaptchaLineRandomColor = this.setIfUnexistant("antibot.limbo.captcha.line-random-color", this.antibotLimboCaptchaLineRandomColor, config); + this.antibotLimboCaptchaLineCount = this.setIfUnexistant("antibot.limbo.captcha.line-count", this.antibotLimboCaptchaLineCount, config); + this.balancerEnabled = this.setIfUnexistant("balancer.enabled", this.balancerEnabled, config); + this.balancerOnJoin = this.setIfUnexistant("balancer.on-join", this.balancerOnJoin, config); + this.balancerFallback = this.setIfUnexistant("balancer.fallback", this.balancerFallback, config); + this.balancerLobbyCommand = this.setIfUnexistant("balancer.lobby-command", this.balancerLobbyCommand, config); + this.balancerCommandBlacklist = this.setIfUnexistant("balancer.command-blacklist", this.balancerCommandBlacklist, config); + this.balancerServers = this.setIfUnexistant("balancer.servers", this.balancerServers, config); + this.chainedProxySupportEnabled = this.setIfUnexistant("chained-proxy-support", this.chainedProxySupportEnabled, config); + this.chainedDownstreamProxySupportEnabled = this.setIfUnexistant("chained-proxy.support-downstream", this.chainedDownstreamProxySupportEnabled, config); + } + + public String getMOTD(int maxPlayers, int onlinePlayers, int protocol) { + String motd; + if (protocol >= 735) { + motd = (String)this.hexMotds.get((new Random()).nextInt(this.hexMotds.size())); + } else { + motd = (String)this.motds.get((new Random()).nextInt(this.motds.size())); + } + + motd = motd.replace("%maxplayers%", String.valueOf(maxPlayers)).replace("%onlineplayers%", String.valueOf(onlinePlayers)); + return motd; + } + + public String[] getSample(int maxPlayers, int onlinePlayers, int protocol) { + String sample; + if (protocol >= 735) { + sample = (String)this.hexSamples.get((new Random()).nextInt(this.hexSamples.size())); + } else { + sample = (String)this.samples.get((new Random()).nextInt(this.samples.size())); + } + + sample = sample.replace("%maxplayers%", String.valueOf(maxPlayers)).replace("%onlineplayers%", String.valueOf(onlinePlayers)); + return sample.split("\n"); + } + + public String getProtocolName(int maxPlayers, int onlinePlayers) { + return this.protocolName.replace("%maxplayers%", String.valueOf(maxPlayers)).replace("%onlineplayers%", String.valueOf(onlinePlayers)); + } + + public int getFakePlayersAmount(int players) { + switch (this.fakePlayersMode) { + case "STATIC" -> { + return this.fakePlayersAmount; + } + case "RANDOM" -> { + return (int)(Math.floor(Math.random() * (double)this.fakePlayersAmount) + (double)1.0F); + } + case "DIVISION" -> { + return players / this.fakePlayersAmount; + } + default -> { + return 0; + } + } + } + + public FlameCordConfiguration(ConfigurationProvider configurationProvider, Collection whitelistedAddresses) { + File configurationFile = new File("./flamecord.yml"); + Configuration configuration = this.load(configurationFile); + this.reviewReminderEnabled = this.setIfUnexistant("review-reminder.enabled", this.reviewReminderEnabled, configuration); + this.loggerInitialhandler = this.setIfUnexistant("logger.initialhandler", this.loggerInitialhandler, configuration); + this.loggerExceptions = this.setIfUnexistant("logger.exceptions", this.loggerExceptions, configuration); + this.loggerDump = this.setIfUnexistant("logger.dump", this.loggerDump, configuration); + this.loggerHaProxy = this.setIfUnexistant("logger.haproxy", this.loggerHaProxy, configuration); + this.loggerDetailedConnection = this.setIfUnexistant("logger.detailed-connect-errors", this.loggerDetailedConnection, configuration); + this.motdEnabled = this.setIfUnexistant("custom-motd.motd.enabled", this.motdEnabled, configuration); + this.motdServerPlaceholders = this.setIfUnexistant("custom-motd.motd.server-placeholders", this.motdServerPlaceholders, configuration); + this.hexMotds = ColorUtil.hexColor((List)(new ArrayList(this.setIfUnexistant("custom-motd.motd.motds", this.motds, configuration))), 735); + this.motds = ColorUtil.hexColor((List)(new ArrayList(this.setIfUnexistant("custom-motd.motd.motds", this.motds, configuration))), 734); + this.sampleEnabled = this.setIfUnexistant("custom-motd.sample.enabled", this.sampleEnabled, configuration); + this.hexSamples = ColorUtil.hexColor((List)(new ArrayList(this.setIfUnexistant("custom-motd.sample.samples", this.samples, configuration))), 735); + this.samples = ColorUtil.hexColor((List)(new ArrayList(this.setIfUnexistant("custom-motd.sample.samples", this.samples, configuration))), 734); + this.protocolEnabled = this.setIfUnexistant("custom-motd.protocol.enabled", this.protocolEnabled, configuration); + this.protocolName = ColorUtil.hexColor(this.setIfUnexistant("custom-motd.protocol.name", this.protocolName, configuration), 735); + this.protocolAlwaysShow = this.setIfUnexistant("custom-motd.protocol.always-show", this.protocolAlwaysShow, configuration); + this.maxPlayersEnabled = this.setIfUnexistant("custom-motd.maxplayers.enabled", this.maxPlayersEnabled, configuration); + this.maxPlayersAmount = this.setIfUnexistant("custom-motd.maxplayers.amount", this.maxPlayersAmount, configuration); + this.maxPlayersOneMore = this.setIfUnexistant("custom-motd.maxplayers.justonemore", this.maxPlayersOneMore, configuration); + this.fakePlayersEnabled = this.setIfUnexistant("custom-motd.fakeplayers.enabled", this.fakePlayersEnabled, configuration); + this.fakePlayersAmount = this.setIfUnexistant("custom-motd.fakeplayers.amount", this.fakePlayersAmount, configuration); + this.fakePlayersMode = this.setIfUnexistant("custom-motd.fakeplayers.mode", this.fakePlayersMode, configuration); + this.tcpFastOpen = this.setIfUnexistant("tcp-fast-open", this.tcpFastOpen, configuration); + this.loadAntibot(configuration, whitelistedAddresses); + this.allowInvalidNames = this.setIfUnexistant("allow-invalid-names", this.allowInvalidNames, configuration); + this.balancerEnabled = this.setIfUnexistant("balancer.enabled", this.balancerEnabled, configuration); + this.balancerOnJoin = this.setIfUnexistant("balancer.on-join", this.balancerOnJoin, configuration); + this.balancerFallback = this.setIfUnexistant("balancer.fallback", this.balancerFallback, configuration); + this.balancerLobbyCommand = this.setIfUnexistant("balancer.lobby-command", this.balancerLobbyCommand, configuration); + this.balancerCommandBlacklist = this.setIfUnexistant("balancer.command-blacklist", this.balancerCommandBlacklist, configuration); + this.balancerServers = this.setIfUnexistant("balancer.servers", this.balancerServers, configuration); + this.largePayloads = this.setIfUnexistant("large-payloads", this.largePayloads, configuration); + this.optimisticExceptionsEnabled = this.setIfUnexistant("optimistic-exceptions.enabled", this.optimisticExceptionsEnabled, configuration); + this.optimisticExceptionsDefaultThreshold = this.setIfUnexistant("optimistic-exceptions.default.threshold", this.optimisticExceptionsDefaultThreshold, configuration); + this.optimisticExceptionsDefaultPeriod = this.setIfUnexistant("optimistic-exceptions.default.period", this.optimisticExceptionsDefaultPeriod, configuration); + this.optimisticExceptionsClientChatAcknowledgementThreshold = this.setIfUnexistant("optimistic-exceptions.client-chat-acknowledgement.threshold", this.optimisticExceptionsClientChatAcknowledgementThreshold, configuration); + this.optimisticExceptionsClientChatAcknowledgementPeriod = this.setIfUnexistant("optimistic-exceptions.client-chat-acknowledgement.period", this.optimisticExceptionsClientChatAcknowledgementPeriod, configuration); + this.maintenanceEnabled = this.setIfUnexistant("maintenance.enabled", this.maintenanceEnabled, configuration); + this.maintenanceProtocol = ColorUtil.hexColor(this.setIfUnexistant("maintenance.protocol", this.maintenanceProtocol, configuration), 735); + this.maintenanceMotd = ColorUtil.hexColor(this.setIfUnexistant("maintenance.motd", this.maintenanceMotd, configuration), 735); + this.maintenanceSample = ColorUtil.hexColor((List)this.setIfUnexistant("maintenance.sample", this.maintenanceSample, configuration), 735); + this.maintenanceKick = ColorUtil.hexColor(this.setIfUnexistant("maintenance.kick", this.maintenanceKick, configuration), 735); + this.maintenanceWhitelist = this.setIfUnexistant("maintenance.whitelist", this.maintenanceWhitelist, configuration); + this.save(configuration, configurationFile); + } + + @Generated + public boolean isReviewReminderEnabled() { + return this.reviewReminderEnabled; + } + + @Generated + public boolean isAllowInvalidNames() { + return this.allowInvalidNames; + } + + @Generated + public boolean isLargePayloads() { + return this.largePayloads; + } + + @Generated + public boolean isOptimisticExceptionsEnabled() { + return this.optimisticExceptionsEnabled; + } + + @Generated + public int getOptimisticExceptionsDefaultThreshold() { + return this.optimisticExceptionsDefaultThreshold; + } + + @Generated + public int getOptimisticExceptionsDefaultPeriod() { + return this.optimisticExceptionsDefaultPeriod; + } + + @Generated + public int getOptimisticExceptionsClientChatAcknowledgementThreshold() { + return this.optimisticExceptionsClientChatAcknowledgementThreshold; + } + + @Generated + public int getOptimisticExceptionsClientChatAcknowledgementPeriod() { + return this.optimisticExceptionsClientChatAcknowledgementPeriod; + } + + @Generated + public boolean isBalancerEnabled() { + return this.balancerEnabled; + } + + @Generated + public boolean isBalancerOnJoin() { + return this.balancerOnJoin; + } + + @Generated + public boolean isBalancerFallback() { + return this.balancerFallback; + } + + @Generated + public boolean isBalancerLobbyCommand() { + return this.balancerLobbyCommand; + } + + @Generated + public List getBalancerCommandBlacklist() { + return this.balancerCommandBlacklist; + } + + @Generated + public List getBalancerServers() { + return this.balancerServers; + } + + @Generated + public boolean isAntibotAccountsEnabled() { + return this.antibotAccountsEnabled; + } + + @Generated + public boolean isAntibotAccountsFirewall() { + return this.antibotAccountsFirewall; + } + + @Generated + public int getAntibotAccountsLimit() { + return this.antibotAccountsLimit; + } + + @Generated + public boolean isAntibotAccountsLog() { + return this.antibotAccountsLog; + } + + @Generated + public Collection getAntibotAccountsWhitelist() { + return this.antibotAccountsWhitelist; + } + + @Generated + public boolean isAntibotLatencyEnabled() { + return this.antibotLatencyEnabled; + } + + @Generated + public boolean isAntibotLatencyFirewall() { + return this.antibotLatencyFirewall; + } + + @Generated + public int getAntibotLatencyLimit() { + return this.antibotLatencyLimit; + } + + @Generated + public boolean isAntibotLatencyLog() { + return this.antibotLatencyLog; + } + + @Generated + public boolean isAntibotCountryEnabled() { + return this.antibotCountryEnabled; + } + + @Generated + public boolean isAntibotCountryFirewall() { + return this.antibotCountryFirewall; + } + + @Generated + public Collection getAntibotCountryBlacklist() { + return this.antibotCountryBlacklist; + } + + @Generated + public Collection getAntibotCountryWhitelist() { + return this.antibotCountryWhitelist; + } + + @Generated + public Collection getAntibotFirewalledExceptions() { + return this.antibotFirewalledExceptions; + } + + @Generated + public boolean isAntibotCountryLog() { + return this.antibotCountryLog; + } + + @Generated + public boolean isAntibotFastChatEnabled() { + return this.antibotFastChatEnabled; + } + + @Generated + public boolean isAntibotFastChatFirewall() { + return this.antibotFastChatFirewall; + } + + @Generated + public int getAntibotFastChatTime() { + return this.antibotFastChatTime; + } + + @Generated + public boolean isAntibotFastChatLog() { + return this.antibotFastChatLog; + } + + @Generated + public int getAntibotFastChatLogCooldown() { + return this.antibotFastChatLogCooldown; + } + + @Generated + public boolean isAntibotFastChatRepetitionEnabled() { + return this.isAntibotFastChatRepetitionEnabled; + } + + @Generated + public boolean isAntibotFastChatRepetitionChat() { + return this.isAntibotFastChatRepetitionChat; + } + + @Generated + public boolean isAntibotFastChatRepetitionFirewall() { + return this.isAntibotFastChatRepetitionFirewall; + } + + @Generated + public boolean isAntibotFastChatRepetitionKick() { + return this.isAntibotFastChatRepetitionKick; + } + + @Generated + public int getAntibotFastChatRepetitionThreshold() { + return this.antibotFastChatRepetitionThreshold; + } + + @Generated + public int getAntibotFastChatRepetitionLength() { + return this.antibotFastChatRepetitionLength; + } + + @Generated + public int getAntibotFastChatRepetitionPeriod() { + return this.antibotFastChatRepetitionPeriod; + } + + @Generated + public List getAntibotFastChatRepetitionCommands() { + return this.antibotFastChatRepetitionCommands; + } + + @Generated + public boolean isAntibotFirewallEnabled() { + return this.antibotFirewallEnabled; + } + + @Generated + public int getAntibotFirewallExpire() { + return this.antibotFirewallExpire; + } + + @Generated + public int getCompressionLevel() { + return this.compressionLevel; + } + + @Generated + public boolean isAntibotFirewallLog() { + return this.antibotFirewallLog; + } + + @Generated + public boolean isAntibotFirewallIpset() { + return this.antibotFirewallIpset; + } + + @Generated + public Collection getAntibotFirewallWhitelist() { + return this.antibotFirewallWhitelist; + } + + @Generated + public boolean isAntibotNicknameEnabled() { + return this.antibotNicknameEnabled; + } + + @Generated + public boolean isAntibotNicknameFirewall() { + return this.antibotNicknameFirewall; + } + + @Generated + public Collection getAntibotNicknameBlacklist() { + return this.antibotNicknameBlacklist; + } + + @Generated + public boolean isAntibotNicknameLog() { + return this.antibotNicknameLog; + } + + @Generated + public boolean isAntibotPasswordEnabled() { + return this.antibotPasswordEnabled; + } + + @Generated + public boolean isAntibotPasswordFirewall() { + return this.antibotPasswordFirewall; + } + + @Generated + public int getAntibotPasswordLimit() { + return this.antibotPasswordLimit; + } + + @Generated + public boolean isAntibotPasswordLog() { + return this.antibotPasswordLog; + } + + @Generated + public Collection getAntibotPasswordLoginCommands() { + return this.antibotPasswordLoginCommands; + } + + @Generated + public boolean isAntibotRatelimitEnabled() { + return this.antibotRatelimitEnabled; + } + + @Generated + public boolean isAntibotRatelimitFirewall() { + return this.antibotRatelimitFirewall; + } + + @Generated + public int getAntibotRatelimitConnectionsPerSecond() { + return this.antibotRatelimitConnectionsPerSecond; + } + + @Generated + public int getAntibotRatelimitPingsPerSecond() { + return this.antibotRatelimitPingsPerSecond; + } + + @Generated + public boolean isAntibotRatelimitLog() { + return this.antibotRatelimitLog; + } + + @Generated + public Collection getAntibotRatelimitWhitelist() { + return this.antibotRatelimitWhitelist; + } + + @Generated + public boolean isAntibotReconnectEnabled() { + return this.antibotReconnectEnabled; + } + + @Generated + public int getAntibotReconnectAttempts() { + return this.antibotReconnectAttempts; + } + + @Generated + public int getAntibotReconnectPings() { + return this.antibotReconnectPings; + } + + @Generated + public int getAntibotReconnectMaxTime() { + return this.antibotReconnectMaxTime; + } + + @Generated + public int getAntibotReconnectMinTime() { + return this.antibotReconnectMinTime; + } + + @Generated + public boolean isAntibotReconnectLog() { + return this.antibotReconnectLog; + } + + @Generated + public int getAntibotReconnectConnectionsTrigger() { + return this.antibotReconnectConnectionsTrigger; + } + + @Generated + public int getAntibotReconnectSecondsActive() { + return this.antibotReconnectSecondsActive; + } + + @Generated + public boolean isAntibotReconnectGeyserBypass() { + return this.antibotReconnectGeyserBypass; + } + + @Generated + public boolean isAntibotReconnectWhitelist() { + return this.antibotReconnectWhitelist; + } + + @Generated + public boolean isAntibotPacketsEnabled() { + return this.antibotPacketsEnabled; + } + + @Generated + public boolean isAntibotPacketsFirewall() { + return this.antibotPacketsFirewall; + } + + @Generated + public boolean isAntibotPacketsLog() { + return this.antibotPacketsLog; + } + + @Generated + public boolean isAntibotPacketsDebug() { + return this.antibotPacketsDebug; + } + + @Generated + public double getAntibotPacketsVlsPerByte() { + return this.antibotPacketsVlsPerByte; + } + + @Generated + public double getAntibotPacketsVlsPerPacket() { + return this.antibotPacketsVlsPerPacket; + } + + @Generated + public double getAntibotPacketsVlsToKick() { + return this.antibotPacketsVlsToKick; + } + + @Generated + public double getAntibotPacketsVlsToCancel() { + return this.antibotPacketsVlsToCancel; + } + + @Generated + public boolean isAntibotProxyEnabled() { + return this.antibotProxyEnabled; + } + + @Generated + public boolean isAntibotProxyLog() { + return this.antibotProxyLog; + } + + @Generated + public boolean isAntibotProxyFirewall() { + return this.antibotProxyFirewall; + } + + @Generated + public boolean isAntibotProxyOnlineCheck() { + return this.antibotProxyOnlineCheck; + } + + @Generated + public String getAntibotProxyEmail() { + return this.antibotProxyEmail; + } + + @Generated + public Collection getAntibotProxyWhitelist() { + return this.antibotProxyWhitelist; + } + + @Generated + public List getAntibotProxyLists() { + return this.antibotProxyLists; + } + + @Generated + public boolean isAntibotLockdownEnabled() { + return this.antibotLockdownEnabled; + } + + @Generated + public boolean isAntibotLockdownLog() { + return this.antibotLockdownLog; + } + + @Generated + public int getAntibotLockdownPeriodLimit() { + return this.antibotLockdownPeriodLimit; + } + + @Generated + public int getAntibotLockdownPeriod() { + return this.antibotLockdownPeriod; + } + + @Generated + public int getAntibotLockdownDuration() { + return this.antibotLockdownDuration; + } + + @Generated + public boolean isAntibotLimboEnabled() { + return this.antibotLimboEnabled; + } + + @Generated + public boolean isAntibotLimboLog() { + return this.antibotLimboLog; + } + + @Generated + public boolean isAntibotLimboWhitelist() { + return this.antibotLimboWhitelist; + } + + @Generated + public int getAntibotLimboTriggerConnections() { + return this.antibotLimboTriggerConnections; + } + + @Generated + public int getAntibotLimboTriggerPeriod() { + return this.antibotLimboTriggerPeriod; + } + + @Generated + public int getAntibotLimboTriggerSecondsActive() { + return this.antibotLimboTriggerSecondsActive; + } + + @Generated + public int getAntibotLimboDimension() { + return this.antibotLimboDimension; + } + + @Generated + public int getAntibotLimboCaptchaCount() { + return this.antibotLimboCaptchaCount; + } + + @Generated + public int getAntibotLimboTimeout() { + return this.antibotLimboTimeout; + } + + @Generated + public List getAntibotLimboCaptchaFonts() { + return this.antibotLimboCaptchaFonts; + } + + @Generated + public int getAntibotLimboCaptchaFontSizeMin() { + return this.antibotLimboCaptchaFontSizeMin; + } + + @Generated + public int getAntibotLimboCaptchaFontSizeMax() { + return this.antibotLimboCaptchaFontSizeMax; + } + + @Generated + public int getAntibotLimboCaptchaLengthMin() { + return this.antibotLimboCaptchaLengthMin; + } + + @Generated + public int getAntibotLimboCaptchaLengthMax() { + return this.antibotLimboCaptchaLengthMax; + } + + @Generated + public String getAntibotLimboCaptchaBackground() { + return this.antibotLimboCaptchaBackground; + } + + @Generated + public int getAntibotLimboCaptchaForegroundMin() { + return this.antibotLimboCaptchaForegroundMin; + } + + @Generated + public int getAntibotLimboCaptchaForegroundMax() { + return this.antibotLimboCaptchaForegroundMax; + } + + @Generated + public boolean isAntibotLimboCaptchaLineRandomColor() { + return this.antibotLimboCaptchaLineRandomColor; + } + + @Generated + public int getAntibotLimboCaptchaLineCount() { + return this.antibotLimboCaptchaLineCount; + } + + @Generated + public boolean isAntibotBlockedActionbarEnabled() { + return this.antibotBlockedActionbarEnabled; + } + + @Generated + public boolean isChainedProxySupportEnabled() { + return this.chainedProxySupportEnabled; + } + + @Generated + public boolean isChainedDownstreamProxySupportEnabled() { + return this.chainedDownstreamProxySupportEnabled; + } + + @Generated + public int getTcpFastOpen() { + return this.tcpFastOpen; + } + + @Generated + public boolean isMotdEnabled() { + return this.motdEnabled; + } + + @Generated + public boolean isMotdServerPlaceholders() { + return this.motdServerPlaceholders; + } + + @Generated + public boolean isSampleEnabled() { + return this.sampleEnabled; + } + + @Generated + public boolean isProtocolEnabled() { + return this.protocolEnabled; + } + + @Generated + public String getProtocolName() { + return this.protocolName; + } + + @Generated + public boolean isProtocolAlwaysShow() { + return this.protocolAlwaysShow; + } + + @Generated + public boolean isMaxPlayersEnabled() { + return this.maxPlayersEnabled; + } + + @Generated + public int getMaxPlayersAmount() { + return this.maxPlayersAmount; + } + + @Generated + public boolean isMaxPlayersOneMore() { + return this.maxPlayersOneMore; + } + + @Generated + public boolean isFakePlayersEnabled() { + return this.fakePlayersEnabled; + } + + @Generated + public int getFakePlayersAmount() { + return this.fakePlayersAmount; + } + + @Generated + public boolean isLoggerInitialhandler() { + return this.loggerInitialhandler; + } + + @Generated + public boolean isLoggerExceptions() { + return this.loggerExceptions; + } + + @Generated + public boolean isLoggerDump() { + return this.loggerDump; + } + + @Generated + public boolean isLoggerHaProxy() { + return this.loggerHaProxy; + } + + @Generated + public boolean isLoggerDetailedConnection() { + return this.loggerDetailedConnection; + } + + @Generated + public boolean isMaintenanceEnabled() { + return this.maintenanceEnabled; + } + + @Generated + public String getMaintenanceProtocol() { + return this.maintenanceProtocol; + } + + @Generated + public String getMaintenanceMotd() { + return this.maintenanceMotd; + } + + @Generated + public List getMaintenanceSample() { + return this.maintenanceSample; + } + + @Generated + public String getMaintenanceKick() { + return this.maintenanceKick; + } + + @Generated + public List getMaintenanceWhitelist() { + return this.maintenanceWhitelist; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/configuration/MessagesConfiguration.java b/src/main/java/dev/_2lstudios/flamecord/configuration/MessagesConfiguration.java new file mode 100644 index 0000000..8ea8a78 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/configuration/MessagesConfiguration.java @@ -0,0 +1,142 @@ +package dev._2lstudios.flamecord.configuration; + +import java.io.File; +import java.text.MessageFormat; +import java.util.HashMap; +import java.util.Map; +import java.util.logging.Logger; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.config.Configuration; +import net.md_5.bungee.config.ConfigurationProvider; + +public class MessagesConfiguration extends FlameConfig { + private final Logger logger; + private final Map messages = new HashMap(); + + public MessagesConfiguration(Logger logger, ConfigurationProvider configurationProvider) { + this.logger = logger; + File configurationFile = new File("./messages.yml"); + Configuration configuration = this.load(configurationFile); + this.setIfUnexistant("flamecord_reload", "&aAll files had been successfully reloaded!", configuration); + this.setIfUnexistant("flamecord_help", "&8&m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n&c&lFLAMECORD {0} COMMANDS\n&8&m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n&7 /flamecord help: &fShows this message\n&7 /flamecord reload: &fReloads FlameCord files\n&7 /flamecord firewall : &fFirewall certain IPs\n&7 /flamecord accounts [name]: &fManage player accounts\n&7 /flamecord lockdown: &fCheck lockdown status\n&7 /bplugins: &fShow the plugin list\n&7 /bip : &fShow the IP and info of a player\n&7 /bkick : &fKick a player from the proxy\n&8&m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n&8 \u00bb &b&nhttps://flamecord.com", configuration); + this.setIfUnexistant("flamecord_nopermission", "&cYou don't have permission to do this!", configuration); + this.setIfUnexistant("alert", "&8[&4Alert&8]&r ", configuration); + this.setIfUnexistant("already_connected", "&cYou are already connected to this server!", configuration); + this.setIfUnexistant("already_connected_proxy", "&cYou are already connected to this proxy!", configuration); + this.setIfUnexistant("already_connecting", "&cAlready connecting to this server!", configuration); + this.setIfUnexistant("command_list", "&a[{0}] &e({1}): &r{2}", configuration); + this.setIfUnexistant("connect_kick", "&cKicked whilst connecting to {0}: {1}", configuration); + this.setIfUnexistant("current_server", "&6You are currently connected to {0}.", configuration); + this.setIfUnexistant("fallback_kick", "&cCould not connect to a default or fallback server, please try again later: {0}", configuration); + this.setIfUnexistant("fallback_lobby", "&cCould not connect to target server, you have been moved to a fallback server.", configuration); + this.setIfUnexistant("lost_connection", "[Proxy] Lost connection to server.", configuration); + this.setIfUnexistant("mojang_fail", "Error occurred while contacting login servers, are they down?", configuration); + this.setIfUnexistant("no_permission", "&cYou do not have permission to execute this command!", configuration); + this.setIfUnexistant("no_server", "&cThe specified server does not exist.", configuration); + this.setIfUnexistant("no_server_permission", "&cYou don't have permission to access this server.", configuration); + this.setIfUnexistant("outdated_client", "Outdated client! Please use {0}", configuration); + this.setIfUnexistant("outdated_server", "Outdated server! I'm still on {0}", configuration); + this.setIfUnexistant("proxy_full", "Server is full!", configuration); + this.setIfUnexistant("restart", "[Proxy] Proxy restarting.", configuration); + this.setIfUnexistant("server_list", "&6You may connect to the following servers at this time: ", configuration); + this.setIfUnexistant("server_went_down", "&cThe server you were previously on went down, you have been connected to a fallback server", configuration); + this.setIfUnexistant("total_players", "Total players online: {0}", configuration); + this.setIfUnexistant("name_invalid", "Username contains invalid characters.", configuration); + this.setIfUnexistant("ping_cannot_connect", "&c[Bungee] Can't connect to server.", configuration); + this.setIfUnexistant("offline_mode_player", "Not authenticated with Minecraft.net", configuration); + this.setIfUnexistant("secure_profile_required", "A secure profile is required to join this server.", configuration); + this.setIfUnexistant("secure_profile_expired", "Secure profile expired.", configuration); + this.setIfUnexistant("secure_profile_invalid", "Secure profile invalid.", configuration); + this.setIfUnexistant("message_needed", "&cYou must supply a message.", configuration); + this.setIfUnexistant("error_occurred_player", "&cAn error occurred while parsing your message. (Hover for details)", configuration); + this.setIfUnexistant("error_occurred_console", "&cAn error occurred while parsing your message: {0}", configuration); + this.setIfUnexistant("server_command_hover_players", "{0} players", configuration); + this.setIfUnexistant("click_to_connect", "Click to connect to the server", configuration); + this.setIfUnexistant("username_needed", "&cPlease follow this command by a user name.", configuration); + this.setIfUnexistant("user_not_online", "&cThat user is not online.", configuration); + this.setIfUnexistant("user_online_at", "&a{0} &ris online at {1}", configuration); + this.setIfUnexistant("send_cmd_usage", "&cNot enough arguments, usage: /send ", configuration); + this.setIfUnexistant("player_only", "&cOnly in game players can use this command", configuration); + this.setIfUnexistant("you_got_summoned", "&6Summoned to {0} by {1}", configuration); + this.setIfUnexistant("command_perms_groups", "&6You have the following groups: {0}", configuration); + this.setIfUnexistant("command_perms_permission", "&9- {0}", configuration); + this.setIfUnexistant("command_ip", "&9IP of {0} is {1}", configuration); + this.setIfUnexistant("illegal_chat_characters", "&cIllegal characters in chat ({0})", configuration); + this.setIfUnexistant("antibot_latency", "&c&lFlameCord\n\n&c\u00a1Your ping is too high! ({0}ms)\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_accounts", "&c&lFlameCord\n\n&c\u00a1You have too many accounts! ({0})\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_fastchat", "&c&lFlameCord\n\n&c\u00a1You are chatting too fast!\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_fastchat_cancel", "&c\u00a1You are repeating chats too fast! Please &lSTOP!!!&r", configuration); + this.setIfUnexistant("antibot_firewall", "&c&lFlameCord\n\n&c\u00a1You are blacklisted from this server!\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_nickname", "&c&lFlameCord\n\n&c\u00a1Your nickname was detected as bot! ({0})\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_password", "&c&lFlameCord\n\n&c\u00a1Use another password! ({0})\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_ratelimit", "&c&lFlameCord\n\n&c\u00a1You are connecting too fast! ({0})\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_reconnect_reconnect", "&cReconnect &b{0}&c more times", configuration); + this.setIfUnexistant("antibot_reconnect_ping", "&cRefresh server list &b{0}&c more times", configuration); + this.setIfUnexistant("antibot_reconnect_message", "&c&lFlameCord\n\n{0}\n{1}\n\n&c(Do it slowly)\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_country", "&c&lFlameCord\n\n&c\u00a1Your country {0} is blacklisted!\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_proxy", "&c&lFlameCord\n\n&c\u00a1You are using a Proxy/VPN!\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_lockdown", "&c&lFlameCord\n\n&cServer locked. \u00a1Wait a minute to join!\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_stats", "&c&lFlameCord Antibot Stats\n &7\u25a0 Total Pings: &a{0}\n &7\u25a0 Total Connections: &b{1}\n\n &7\u25a0 Current Pings: &a{2}/s\n &7\u25a0 Current Connections: &b{3}/s\n\n &7\u25a0 Total Firewalled: &b{4}\n &7\u25a0 Current Firewalled: &b{5}/s", configuration); + this.setIfUnexistant("antibot_stats_actionbar", "&ePings: &f{0}/s &7- &eConnections: &f{1}/s&7 - &eFirewalled:&f {2}", configuration); + this.setIfUnexistant("antibot_limbo_check_in_progress", "&eChecking...", configuration); + this.setIfUnexistant("antibot_limbo_check_completed", "&aPassed!", configuration); + this.setIfUnexistant("antibot_limbo_enter_captcha", "&cNeed Captcha", configuration); + this.setIfUnexistant("antibot_limbo_wrong_captcha", "&cWrong captcha", configuration); + this.setIfUnexistant("antibot_limbo_wait_verification", "&eVerification in progress...", configuration); + this.setIfUnexistant("antibot_limbo_enter_number", "&cPlease write the captcha number", configuration); + this.setIfUnexistant("antibot_limbo_verification_passed", "&aVerified!", configuration); + this.setIfUnexistant("antibot_limbo_kick", "&c&lFlameCord\n\n&c\u00a1You failed the limbo check!\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_limbo_high_latency", "&c&lFlameCord\n\n&c\u00a1You failed the limbo check! (Latency)\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_limbo_too_big_packet", "&c&lFlameCord\n\n&c\u00a1You failed the limbo check! (Big Packet)\n\n&cError? Contact us on discord.gg/gF36AT3", configuration); + this.setIfUnexistant("antibot_limbo_requires_ping", "&eRefresh the server list", configuration); + this.setIfUnexistant("antibot_limbo_too_many_checks", "&cToo many checks. Wait 1 minute.", configuration); + this.setIfUnexistant("antibot_notify_blocked_single", "&e[FlameCord] &cBlocked: &f{0}", configuration); + this.setIfUnexistant("antibot_notify_blocked_multiple", "&e[FlameCord] &cBlocked: &f{0} players", configuration); + this.setIfUnexistant("flamecord_firewall_help", "&c/flamecord firewall ", configuration); + this.setIfUnexistant("flamecord_firewall_add", "&cThe ip {0} was added to the firewall!", configuration); + this.setIfUnexistant("flamecord_firewall_remove", "&cThe ip {0} was removed from the firewall!", configuration); + this.setIfUnexistant("flamecord_accounts_help", "&9Usage: /accounts &e ", configuration); + this.setIfUnexistant("flamecord_accounts_add", "&aNickname &e{0} &ahas been added to the account with IP &e{1}.", configuration); + this.setIfUnexistant("flamecord_accounts_remove", "&aNickname &e{0} &ahas been removed from the account with IP &e{1}.", configuration); + this.setIfUnexistant("flamecord_accounts_clear", "&aAll nicknames have been cleared from the account with IP &e{0}.", configuration); + this.setIfUnexistant("flamecord_bplugins_nopermission", "&cYou don't have permission to do this!", configuration); + this.setIfUnexistant("flamecord_bplugins_separator", ", ", configuration); + this.setIfUnexistant("flamecord_bplugins_header", "&aPlugins ({0}): ", configuration); + this.setIfUnexistant("flamecord_bip_nopermission", "&cYou don't have permission to do this!", configuration); + this.setIfUnexistant("flamecord_bip_offline", "&cThe player is not online!", configuration); + this.setIfUnexistant("flamecord_bip_usage", "&c/bip ", configuration); + this.setIfUnexistant("flamecord_bip", "&aInformation about {0}&a:\n&aUUID: &b{1}\n&aIP: &b{2}\n&aPing: &b{3}ms\n&aLocale: &b{4}\n&aView Distance: &b{5}\n&aCurrent Server: &b{6}", configuration); + this.setIfUnexistant("flamecord_bkick_nopermission", "&cYou don't have permission to use this command!", configuration); + this.setIfUnexistant("flamecord_bkick_default", "&cYou have been kicked from the server.", configuration); + this.setIfUnexistant("flamecord_bkick_notfound", "&cPlayer not found or is not currently connected.", configuration); + this.setIfUnexistant("flamecord_bkick_usage", "&cUsage: /bkick [reason]", configuration); + this.setIfUnexistant("flamecord_bkick", "&c{0} has been kicked from the server.", configuration); + this.setIfUnexistant("command_list_format", "&aServers:&r", configuration); + this.setIfUnexistant("flamecord_lobby_not_from_console", "&cThis command cannot be used from the console.", configuration); + this.setIfUnexistant("flamecord_lobby_command_disabled", "&cThe lobby command is disabled.", configuration); + this.setIfUnexistant("flamecord_lobby_balancer_disabled", "&cBalancer is currently disabled.", configuration); + this.setIfUnexistant("flamecord_lobby_no_fallback_configured", "&cThere is no fallback server configured.", configuration); + this.setIfUnexistant("flamecord_lobby_already_connected", "&eYou are already connected to the fallback server.", configuration); + this.setIfUnexistant("flamecord_lobby_command_blacklisted", "&cYou cannot use the lobby command from this server.", configuration); + this.setIfUnexistant("flamecord_lobby_no_servers_available", "&cNo available servers to connect to.", configuration); + this.setIfUnexistant("flamecord_lobby_connecting", "&aConnecting you to the best available lobby...", configuration); + this.setIfUnexistant("flamecord_lobby_connection_failed", "&cFailed to connect to the server. Please try again later.", configuration); + + for(String key : configuration.getKeys()) { + Object value = configuration.get(key); + if (value instanceof String) { + this.messages.put(key, ChatColor.translateAlternateColorCodes('&', (String)value)); + } + } + + this.save(configuration, configurationFile); + } + + public String getTranslation(String name, Object... args) { + if (!this.messages.containsKey(name)) { + this.logger.warning("[FlameCord] Tried to get translation '" + name + "' from messages.yml file but wasn't found. Please try resetting this file or report to a developer."); + } + + return MessageFormat.format((String)this.messages.getOrDefault(name, ""), args); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/configuration/ModulesConfiguration.java b/src/main/java/dev/_2lstudios/flamecord/configuration/ModulesConfiguration.java new file mode 100644 index 0000000..ac2db8e --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/configuration/ModulesConfiguration.java @@ -0,0 +1,32 @@ +package dev._2lstudios.flamecord.configuration; + +import java.io.File; +import net.md_5.bungee.config.Configuration; +import net.md_5.bungee.config.ConfigurationProvider; + +public class ModulesConfiguration extends FlameConfig { + public boolean reconnectEnabled = false; + public boolean alertEnabled = true; + public boolean findEnabled = true; + public boolean ipEnabled = true; + public boolean listEnabled = true; + public boolean permsEnabled = true; + public boolean reloadEnabled = true; + public boolean sendEnabled = true; + public boolean serverEnabled = true; + + public ModulesConfiguration(ConfigurationProvider configurationProvider) { + File configurationFile = new File("./modules.yml"); + Configuration configuration = this.load(configurationFile); + this.alertEnabled = this.setIfUnexistant("alert.enabled", this.alertEnabled, configuration); + this.findEnabled = this.setIfUnexistant("find.enabled", this.findEnabled, configuration); + this.ipEnabled = this.setIfUnexistant("ip.enabled", this.ipEnabled, configuration); + this.listEnabled = this.setIfUnexistant("list.enabled", this.listEnabled, configuration); + this.permsEnabled = this.setIfUnexistant("perms.enabled", this.permsEnabled, configuration); + this.reloadEnabled = this.setIfUnexistant("reload.enabled", this.reloadEnabled, configuration); + this.sendEnabled = this.setIfUnexistant("send.enabled", this.sendEnabled, configuration); + this.serverEnabled = this.setIfUnexistant("server.enabled", this.serverEnabled, configuration); + this.reconnectEnabled = this.setIfUnexistant("reconnect.enabled", this.reconnectEnabled, configuration); + this.save(configuration, configurationFile); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/enums/PacketsCheckResult.java b/src/main/java/dev/_2lstudios/flamecord/enums/PacketsCheckResult.java new file mode 100644 index 0000000..8d3a8fb --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/enums/PacketsCheckResult.java @@ -0,0 +1,7 @@ +package dev._2lstudios.flamecord.enums; + +public enum PacketsCheckResult { + KICK, + CANCEL, + NONE; +} diff --git a/src/main/java/dev/_2lstudios/flamecord/enums/PacketsViolationReason.java b/src/main/java/dev/_2lstudios/flamecord/enums/PacketsViolationReason.java new file mode 100644 index 0000000..8f8dfa1 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/enums/PacketsViolationReason.java @@ -0,0 +1,6 @@ +package dev._2lstudios.flamecord.enums; + +public enum PacketsViolationReason { + SIZE, + RATE; +} diff --git a/src/main/java/dev/_2lstudios/flamecord/event/DownstreamHandshakeEvent.java b/src/main/java/dev/_2lstudios/flamecord/event/DownstreamHandshakeEvent.java new file mode 100644 index 0000000..5bc5248 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/event/DownstreamHandshakeEvent.java @@ -0,0 +1,145 @@ +package dev._2lstudios.flamecord.event; + +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.event.AsyncEvent; +import net.md_5.bungee.protocol.packet.Handshake; + +public class DownstreamHandshakeEvent extends AsyncEvent { + private Handshake originalHandshake; + private Handshake modifiedHandshake; + private ProxiedPlayer player; + private ServerInfo server; + + public DownstreamHandshakeEvent(ProxiedPlayer player, Handshake originalHandshake, Handshake modifiedHandshake, ServerInfo server, Callback done) { + super(done); + this.player = player; + this.originalHandshake = originalHandshake; + this.modifiedHandshake = modifiedHandshake; + this.server = server; + } + + @Generated + public Handshake getOriginalHandshake() { + return this.originalHandshake; + } + + @Generated + public Handshake getModifiedHandshake() { + return this.modifiedHandshake; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public ServerInfo getServer() { + return this.server; + } + + @Generated + public void setOriginalHandshake(Handshake originalHandshake) { + this.originalHandshake = originalHandshake; + } + + @Generated + public void setModifiedHandshake(Handshake modifiedHandshake) { + this.modifiedHandshake = modifiedHandshake; + } + + @Generated + public void setPlayer(ProxiedPlayer player) { + this.player = player; + } + + @Generated + public void setServer(ServerInfo server) { + this.server = server; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getOriginalHandshake()); + return "DownstreamHandshakeEvent(originalHandshake=" + var10000 + ", modifiedHandshake=" + String.valueOf(this.getModifiedHandshake()) + ", player=" + String.valueOf(this.getPlayer()) + ", server=" + String.valueOf(this.getServer()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DownstreamHandshakeEvent)) { + return false; + } else { + DownstreamHandshakeEvent other = (DownstreamHandshakeEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$originalHandshake = this.getOriginalHandshake(); + Object other$originalHandshake = other.getOriginalHandshake(); + if (this$originalHandshake == null) { + if (other$originalHandshake != null) { + return false; + } + } else if (!this$originalHandshake.equals(other$originalHandshake)) { + return false; + } + + Object this$modifiedHandshake = this.getModifiedHandshake(); + Object other$modifiedHandshake = other.getModifiedHandshake(); + if (this$modifiedHandshake == null) { + if (other$modifiedHandshake != null) { + return false; + } + } else if (!this$modifiedHandshake.equals(other$modifiedHandshake)) { + return false; + } + + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + Object this$server = this.getServer(); + Object other$server = other.getServer(); + if (this$server == null) { + if (other$server != null) { + return false; + } + } else if (!this$server.equals(other$server)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof DownstreamHandshakeEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $originalHandshake = this.getOriginalHandshake(); + result = result * 59 + ($originalHandshake == null ? 43 : $originalHandshake.hashCode()); + Object $modifiedHandshake = this.getModifiedHandshake(); + result = result * 59 + ($modifiedHandshake == null ? 43 : $modifiedHandshake.hashCode()); + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + Object $server = this.getServer(); + result = result * 59 + ($server == null ? 43 : $server.hashCode()); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/forge/ModernFMLHandshakeEvent.java b/src/main/java/dev/_2lstudios/flamecord/forge/ModernFMLHandshakeEvent.java new file mode 100644 index 0000000..7e83176 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/forge/ModernFMLHandshakeEvent.java @@ -0,0 +1,71 @@ +package dev._2lstudios.flamecord.forge; + +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Cancellable; +import net.md_5.bungee.api.plugin.Event; +import net.md_5.bungee.protocol.packet.LoginPayloadRequest; +import net.md_5.bungee.protocol.packet.LoginPayloadResponse; + +public abstract class ModernFMLHandshakeEvent extends Event implements Cancellable { + private final ProxiedPlayer player; + private final ServerInfo serverInfo; + private boolean cancelled = false; + + protected ModernFMLHandshakeEvent(ProxiedPlayer player, ServerInfo serverInfo) { + this.player = player; + this.serverInfo = serverInfo; + } + + public boolean isCancelled() { + return this.cancelled; + } + + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + public ProxiedPlayer getPlayer() { + return this.player; + } + + public ServerInfo getTarget() { + return this.serverInfo; + } + + public static class Request extends ModernFMLHandshakeEvent { + private final LoginPayloadRequest request; + private LoginPayloadResponse response; + + public Request(ProxiedPlayer player, ServerInfo serverInfo, LoginPayloadRequest request) { + super(player, serverInfo); + this.request = request; + } + + public LoginPayloadRequest getRequest() { + return this.request; + } + + public void setReply(LoginPayloadResponse response) { + this.setCancelled(true); + this.response = response; + } + + public LoginPayloadResponse getResponse() { + return this.response; + } + } + + public static class Response extends ModernFMLHandshakeEvent { + private final LoginPayloadResponse response; + + public Response(ProxiedPlayer player, ServerInfo serverInfo, LoginPayloadResponse response) { + super(player, serverInfo); + this.response = response; + } + + public LoginPayloadResponse getResponse() { + return this.response; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeClientHandler.java b/src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeClientHandler.java new file mode 100644 index 0000000..da95715 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeClientHandler.java @@ -0,0 +1,17 @@ +package dev._2lstudios.flamecord.forge; + +import lombok.NonNull; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.forge.ForgeClientHandler; + +public class ModernForgeClientHandler extends ForgeClientHandler { + public ModernForgeClientHandler(@NonNull UserConnection con) { + super(con); + if (con == null) { + throw new NullPointerException("con is marked non-null but is null"); + } + } + + public void resetHandshake() { + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeServerConnector.java b/src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeServerConnector.java new file mode 100644 index 0000000..88ff9a7 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeServerConnector.java @@ -0,0 +1,147 @@ +package dev._2lstudios.flamecord.forge; + +import com.google.common.base.Preconditions; +import java.util.Queue; +import java.util.concurrent.ConcurrentLinkedQueue; +import lombok.Generated; +import net.md_5.bungee.BungeeServerInfo; +import net.md_5.bungee.ServerConnector; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.connection.UpstreamBridge; +import net.md_5.bungee.forge.ForgeConstants; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.netty.HandlerBoss; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.packet.EncryptionResponse; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.protocol.packet.Login; +import net.md_5.bungee.protocol.packet.LoginPayloadRequest; +import net.md_5.bungee.protocol.packet.LoginSuccess; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.protocol.packet.SetCompression; + +public class ModernForgeServerConnector extends ServerConnector { + private final Queue pendingHandshakes = new ConcurrentLinkedQueue(); + private volatile State thisState; + + public ModernForgeServerConnector(ProxyServer bungee, UserConnection user, BungeeServerInfo target) { + super(bungee, user, target); + this.thisState = ModernForgeServerConnector.State.PLAIN; + } + + public boolean shouldHandle(PacketWrapper packet) throws Exception { + boolean var10000; + label41: { + if (this.user.isConnected()) { + if (this.thisState != ModernForgeServerConnector.State.PLAIN) { + if (packet.packet instanceof LoginPayloadRequest || packet.packet instanceof SetCompression || packet.packet instanceof LoginSuccess || packet.packet instanceof EncryptionResponse || packet.packet instanceof PluginMessage || packet.packet instanceof Kick) { + break label41; + } + } else if (super.shouldHandle(packet)) { + break label41; + } + } + + var10000 = false; + return var10000; + } + + var10000 = true; + return var10000; + } + + public void connected(ChannelWrapper channel) throws Exception { + super.connected(channel); + } + + public void handle(LoginSuccess loginSuccess) throws Exception { + Preconditions.checkState(this.thisState != ModernForgeServerConnector.State.PENDING, "Not expecting PENDING"); + if (this.thisState == ModernForgeServerConnector.State.ACK) { + this.user.unsafe().sendPacket(loginSuccess); + this.user.getCh().setProtocol(Protocol.GAME); + this.user.getCh().endHandshake(); + ((HandlerBoss)this.user.getCh().getHandle().pipeline().get(HandlerBoss.class)).setHandler(new UpstreamBridge(this.bungee, this.user)); + this.thisState = ModernForgeServerConnector.State.PLAIN; + } + + super.handle(loginSuccess); + } + + public void handle(Login login) throws Exception { + super.handle(login); + } + + public void handle(LoginPayloadRequest request) { + switch (this.thisState.ordinal()) { + case 0: + this.user.setForgeServerHandler(this.getHandshakeHandler()); + this.user.getCh().getHandle().flush(); + this.user.getCh().write((Object)ForgeConstants.MODERN_FML_RESET); + this.user.getCh().setProtocol(Protocol.LOGIN); + this.user.getCh().beginHandshake(); + ((HandlerBoss)this.user.getCh().getHandle().pipeline().get(HandlerBoss.class)).setHandler(new ModernForgeUpstreamBridge(this.bungee, this.user, this)); + if (this.user.getServer() != null) { + this.user.getServer().setObsolete(true); + this.user.getServer().disconnect("Quiting"); + } + + this.thisState = ModernForgeServerConnector.State.PENDING; + case 1: + this.pendingHandshakes.add(request); + break; + case 2: + this.writePacket(request); + } + + } + + public void onResetAck() { + Preconditions.checkState(this.thisState == ModernForgeServerConnector.State.PENDING, "Not expecting PENDING"); + + while(!this.pendingHandshakes.isEmpty()) { + this.writePacket((LoginPayloadRequest)this.pendingHandshakes.poll()); + } + + this.thisState = ModernForgeServerConnector.State.ACK; + } + + private void writePacket(LoginPayloadRequest packet) { + ModernFMLHandshakeEvent.Request event = new ModernFMLHandshakeEvent.Request(this.user, this.target, packet); + if (event.callEvent()) { + this.user.unsafe().sendPacket(packet); + } else if (event.getResponse() != null) { + this.user.getForgeServerHandler().getCh().write((Object)event.getResponse()); + } + + } + + public ChannelWrapper getChannel() { + return this.ch; + } + + public String toString() { + if (this.thisState != ModernForgeServerConnector.State.PLAIN) { + String var10000 = this.user.getName(); + return "[" + var10000 + "|" + String.valueOf(this.user.getAddress()) + "] <-> Modern FML " + String.valueOf(this.thisState) + " [" + this.target.getName() + "]"; + } else { + return super.toString(); + } + } + + public BungeeServerInfo getTarget() { + return this.target; + } + + @Generated + public State getThisState() { + return this.thisState; + } + + static enum State { + PLAIN, + PENDING, + ACK; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeUpstreamBridge.java b/src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeUpstreamBridge.java new file mode 100644 index 0000000..2e37b8a --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/forge/ModernForgeUpstreamBridge.java @@ -0,0 +1,77 @@ +package dev._2lstudios.flamecord.forge; + +import io.netty.handler.timeout.ReadTimeoutException; +import java.nio.charset.StandardCharsets; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.event.PlayerDisconnectEvent; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.netty.PacketHandler; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.packet.LoginPayloadResponse; + +public class ModernForgeUpstreamBridge extends PacketHandler { + private final ProxyServer bungee; + private final UserConnection con; + private final ModernForgeServerConnector server; + private static final byte[] RESET_ACK; + + public boolean shouldHandle(PacketWrapper packet) throws Exception { + return packet.packet instanceof LoginPayloadResponse; + } + + public void handle(LoginPayloadResponse response) throws Exception { + if (isAckPacket(response)) { + this.server.onResetAck(); + } else if ((new ModernFMLHandshakeEvent.Response(this.con, this.server.getTarget(), response)).callEvent()) { + this.con.getForgeServerHandler().getCh().write((Object)response); + } + + } + + public void exception(Throwable t) throws Exception { + if (this.server.getThisState() == ModernForgeServerConnector.State.PENDING) { + this.con.getCh().setProtocol(Protocol.GAME); + } + + if (t instanceof ReadTimeoutException) { + this.con.disconnect("You need to install lightfall client mod to join this server!"); + } else { + this.con.disconnect(Util.exception(t)); + } + + } + + public void disconnected(ChannelWrapper channel) throws Exception { + PlayerDisconnectEvent event = new PlayerDisconnectEvent(this.con); + this.bungee.getPluginManager().callEvent(event); + this.con.getTabListHandler().onDisconnect(); + this.server.getChannel().close(); + BungeeCord.getInstance().removeConnection(this.con); + } + + public String toString() { + String var10000 = String.valueOf(this.con.getAddress()); + return "[" + var10000 + "|" + this.con.getName() + "] -> HS Upstream"; + } + + private static boolean isAckPacket(LoginPayloadResponse response) { + return Arrays.equals(response.getData(), RESET_ACK); + } + + @Generated + public ModernForgeUpstreamBridge(ProxyServer bungee, UserConnection con, ModernForgeServerConnector server) { + this.bungee = bungee; + this.con = con; + this.server = server; + } + + static { + RESET_ACK = "lightfall:ack".getBytes(StandardCharsets.UTF_8); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/managers/UserWhitelistManager.java b/src/main/java/dev/_2lstudios/flamecord/managers/UserWhitelistManager.java new file mode 100644 index 0000000..57d93cb --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/managers/UserWhitelistManager.java @@ -0,0 +1,73 @@ +package dev._2lstudios.flamecord.managers; + +import java.io.File; +import java.io.IOException; +import java.util.HashSet; +import java.util.Set; +import java.util.logging.Logger; + +public class UserWhitelistManager { + private final Set whitelisted = new HashSet(); + private final File folder; + private final Logger logger; + + public UserWhitelistManager(File dataFolder, Logger logger) { + this.folder = new File(dataFolder, "whitelists"); + this.logger = logger; + if (!this.folder.exists()) { + this.folder.mkdirs(); + } + + this.load(); + } + + public void load() { + this.whitelisted.clear(); + File[] files = this.folder.listFiles(); + if (files != null) { + for(File file : files) { + if (file.isFile() && file.getName().endsWith(".yml")) { + String entry = file.getName().substring(0, file.getName().length() - 4); + this.whitelisted.add(entry.toLowerCase()); + } + } + } + + this.logger.info("[FlameCord] Loaded " + this.whitelisted.size() + " entries into User Whitelist."); + } + + public void add(String target) { + String entry = target.toLowerCase(); + if (this.whitelisted.add(entry)) { + File file = new File(this.folder, entry + ".yml"); + + try { + if (!file.exists()) { + file.createNewFile(); + } + } catch (IOException var5) { + this.logger.warning("[FlameCord] Could not create whitelist file for: " + entry); + } + } + + } + + public void remove(String target) { + String entry = target.toLowerCase(); + if (this.whitelisted.remove(entry)) { + File file = new File(this.folder, entry + ".yml"); + if (file.exists()) { + file.delete(); + } + } + + } + + public boolean isWhitelisted(String target) { + if (target == null) { + return false; + } else { + return target.isEmpty() ? false : this.whitelisted.contains(target.toLowerCase()); + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/DefaultSpawnPosition.java b/src/main/java/dev/_2lstudios/flamecord/packets/DefaultSpawnPosition.java new file mode 100644 index 0000000..7d27cb0 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/DefaultSpawnPosition.java @@ -0,0 +1,129 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class DefaultSpawnPosition extends DefinedPacket { + private int posX; + private int posY; + private int posZ; + private float angle; + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + long location; + if (protocolVersion < 477) { + location = ((long)this.posX & 67108863L) << 38 | ((long)this.posY & 4095L) << 26 | (long)this.posZ & 67108863L; + } else { + location = ((long)this.posX & 67108863L) << 38 | ((long)this.posZ & 67108863L) << 12 | (long)this.posY & 4095L; + } + + buf.writeLong(location); + if (protocolVersion >= 755) { + buf.writeFloat(this.angle); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + throw new UnsupportedOperationException(); + } + + @Generated + public DefaultSpawnPosition(int posX, int posY, int posZ, float angle) { + this.posX = posX; + this.posY = posY; + this.posZ = posZ; + this.angle = angle; + } + + @Generated + public DefaultSpawnPosition() { + } + + @Generated + public int getPosX() { + return this.posX; + } + + @Generated + public int getPosY() { + return this.posY; + } + + @Generated + public int getPosZ() { + return this.posZ; + } + + @Generated + public float getAngle() { + return this.angle; + } + + @Generated + public void setPosX(int posX) { + this.posX = posX; + } + + @Generated + public void setPosY(int posY) { + this.posY = posY; + } + + @Generated + public void setPosZ(int posZ) { + this.posZ = posZ; + } + + @Generated + public void setAngle(float angle) { + this.angle = angle; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DefaultSpawnPosition)) { + return false; + } else { + DefaultSpawnPosition other = (DefaultSpawnPosition)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getPosX() != other.getPosX()) { + return false; + } else if (this.getPosY() != other.getPosY()) { + return false; + } else if (this.getPosZ() != other.getPosZ()) { + return false; + } else { + return Float.compare(this.getAngle(), other.getAngle()) == 0; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof DefaultSpawnPosition; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getPosX(); + result = result * 59 + this.getPosY(); + result = result * 59 + this.getPosZ(); + result = result * 59 + Float.floatToIntBits(this.getAngle()); + return result; + } + + @Generated + public String toString() { + int var10000 = this.getPosX(); + return "DefaultSpawnPosition(posX=" + var10000 + ", posY=" + this.getPosY() + ", posZ=" + this.getPosZ() + ", angle=" + this.getAngle() + ")"; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/EmptyChunkPacket.java b/src/main/java/dev/_2lstudios/flamecord/packets/EmptyChunkPacket.java new file mode 100644 index 0000000..05acf54 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/EmptyChunkPacket.java @@ -0,0 +1,176 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import java.util.BitSet; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import se.llbit.nbt.CompoundTag; +import se.llbit.nbt.LongArrayTag; +import se.llbit.nbt.NamedTag; +import se.llbit.nbt.Tag; + +public class EmptyChunkPacket extends DefinedPacket { + int x; + int z; + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int version) { + buf.writeInt(this.x); + buf.writeInt(this.z); + if (version < 755) { + buf.writeBoolean(true); + } + + if (version >= 735 && version < 751) { + buf.writeBoolean(true); + } + + if (version < 755) { + if (version == 47) { + buf.writeShort(1); + } else { + writeVarInt(0, buf); + } + } else if (version < 757) { + BitSet bitSet = new BitSet(); + + for(int i = 0; i < 16; ++i) { + bitSet.set(i, false); + } + + long[] mask = bitSet.toLongArray(); + DefinedPacket.writeVarInt(mask.length, buf); + + for(long l : mask) { + buf.writeLong(l); + } + } + + if (version >= 477) { + this.write1_14Heightmaps(buf, version); + if (version >= 573 && version < 757) { + if (version >= 751) { + writeVarInt(1024, buf); + + for(int i = 0; i < 1024; ++i) { + writeVarInt(1, buf); + } + } else { + for(int i = 0; i < 1024; ++i) { + buf.writeInt(0); + } + } + } + } + + if (version < 393) { + writeArray(new byte[256], buf); + } else if (version < 573) { + writeArray(new byte[1024], buf); + } else if (version < 757) { + writeVarInt(0, buf); + } else { + byte[] sectionData = new byte[]{0, 0, 0, 0, 0, 0, 1, 0}; + writeVarInt(sectionData.length * 16, buf); + + for(int i = 0; i < 16; ++i) { + buf.writeBytes(sectionData); + } + } + + if (version >= 110) { + DefinedPacket.writeVarInt(0, buf); + } + + if (version >= 757) { + byte[] lightData = new byte[]{1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, -1, -1, 0, 0}; + buf.ensureWritable(lightData.length); + if (version >= 763) { + buf.writeBytes(lightData, 1, lightData.length - 1); + } else { + buf.writeBytes(lightData); + } + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + } + + private void write1_14Heightmaps(ByteBuf buf, int version) { + long[] longArrayTag = new long[version < 757 ? 36 : 37]; + CompoundTag compoundTag = new CompoundTag(); + compoundTag.add("MOTION_BLOCKING", new LongArrayTag(longArrayTag)); + Tag write = (Tag)(version >= 764 ? compoundTag : new NamedTag("", compoundTag)); + writeTag(write, buf, version); + } + + @Generated + public int getX() { + return this.x; + } + + @Generated + public int getZ() { + return this.z; + } + + @Generated + public void setX(int x) { + this.x = x; + } + + @Generated + public void setZ(int z) { + this.z = z; + } + + @Generated + public String toString() { + int var10000 = this.getX(); + return "EmptyChunkPacket(x=" + var10000 + ", z=" + this.getZ() + ")"; + } + + @Generated + public EmptyChunkPacket() { + } + + @Generated + public EmptyChunkPacket(int x, int z) { + this.x = x; + this.z = z; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof EmptyChunkPacket)) { + return false; + } else { + EmptyChunkPacket other = (EmptyChunkPacket)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getX() != other.getX()) { + return false; + } else { + return this.getZ() == other.getZ(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof EmptyChunkPacket; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getX(); + result = result * 59 + this.getZ(); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/JoinGame.java b/src/main/java/dev/_2lstudios/flamecord/packets/JoinGame.java new file mode 100644 index 0000000..d19da6d --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/JoinGame.java @@ -0,0 +1,486 @@ +package dev._2lstudios.flamecord.packets; + +import dev._2lstudios.flamecord.utils.Dimension; +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class JoinGame extends DefinedPacket { + private final int entityId; + private boolean hardcore; + private short gameMode; + private short previousGameMode; + private Set worldNames; + private String worldName; + private int dimensionId; + private long seed; + private short difficulty; + private short maxPlayers; + private String levelType; + private int viewDistance; + private boolean reducedDebugInfo; + private boolean normalRespawn; + private boolean debug; + private boolean flat; + private Dimension dimension; + + public JoinGame() { + this(0, Dimension.OVERWORLD); + } + + public JoinGame(int entityId, Dimension dimension) { + this.hardcore = false; + this.gameMode = 0; + this.previousGameMode = 0; + this.worldNames = new HashSet(Arrays.asList("minecraft:overworld")); + this.worldName = "minecraft:overworld"; + this.dimensionId = 0; + this.seed = 1L; + this.difficulty = 0; + this.maxPlayers = 1; + this.levelType = "flat"; + this.viewDistance = 0; + this.reducedDebugInfo = false; + this.normalRespawn = true; + this.debug = false; + this.flat = true; + this.entityId = entityId; + this.dimensionId = dimension.getDimensionId(); + this.worldName = dimension.getKey(); + this.worldNames = new HashSet(Arrays.asList(dimension.getKey())); + this.dimension = dimension; + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + throw new UnsupportedOperationException(); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + buf.writeInt(this.entityId); + if (protocolVersion >= 751) { + buf.writeBoolean(this.hardcore); + } + + if (protocolVersion < 764) { + buf.writeByte(this.gameMode); + } + + if (protocolVersion >= 735) { + if (protocolVersion < 764) { + buf.writeByte(this.previousGameMode); + } + + writeVarInt(this.worldNames.size(), buf); + + for(String world : this.worldNames) { + writeString(world, buf); + } + + if (protocolVersion < 764) { + writeTag(this.dimension.getFullCodec(protocolVersion), buf, protocolVersion); + } + } + + if (protocolVersion >= 735) { + if (protocolVersion >= 751 && protocolVersion < 759) { + writeTag(this.dimension.getAttributes(protocolVersion), buf, protocolVersion); + } else if (protocolVersion < 764) { + writeString(this.worldName, buf); + } + + if (protocolVersion < 764) { + writeString(this.worldName, buf); + } + } else if (protocolVersion > 107) { + buf.writeInt(this.dimensionId); + } else { + buf.writeByte(this.dimensionId); + } + + if (protocolVersion >= 573 && protocolVersion < 764) { + buf.writeLong(this.seed); + } + + if (protocolVersion < 477) { + buf.writeByte(this.difficulty); + } + + if (protocolVersion >= 751) { + writeVarInt(this.maxPlayers, buf); + } else { + buf.writeByte(this.maxPlayers); + } + + if (protocolVersion < 735) { + writeString(this.levelType, buf); + } + + if (protocolVersion >= 477) { + writeVarInt(this.viewDistance, buf); + } + + if (protocolVersion >= 757) { + writeVarInt(this.viewDistance, buf); + } + + if (protocolVersion >= 29) { + buf.writeBoolean(this.reducedDebugInfo); + } + + if (protocolVersion >= 573) { + buf.writeBoolean(this.normalRespawn); + } + + if (protocolVersion >= 764) { + buf.writeBoolean(true); + if (protocolVersion >= 766) { + writeVarInt(0, buf); + } else { + writeString(this.worldName, buf); + } + + writeString(this.worldName, buf); + buf.writeLong(this.seed); + buf.writeByte(this.gameMode); + buf.writeByte(this.previousGameMode); + } + + if (protocolVersion >= 735) { + buf.writeBoolean(this.debug); + buf.writeBoolean(this.flat); + } + + if (protocolVersion >= 759) { + buf.writeBoolean(false); + } + + if (protocolVersion >= 763) { + writeVarInt(0, buf); + } + + if (protocolVersion >= 768) { + writeVarInt(60, buf); + } + + if (protocolVersion >= 766) { + buf.writeBoolean(false); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + throw new UnsupportedOperationException(); + } + + @Generated + public int getEntityId() { + return this.entityId; + } + + @Generated + public boolean isHardcore() { + return this.hardcore; + } + + @Generated + public short getGameMode() { + return this.gameMode; + } + + @Generated + public short getPreviousGameMode() { + return this.previousGameMode; + } + + @Generated + public Set getWorldNames() { + return this.worldNames; + } + + @Generated + public String getWorldName() { + return this.worldName; + } + + @Generated + public int getDimensionId() { + return this.dimensionId; + } + + @Generated + public long getSeed() { + return this.seed; + } + + @Generated + public short getDifficulty() { + return this.difficulty; + } + + @Generated + public short getMaxPlayers() { + return this.maxPlayers; + } + + @Generated + public String getLevelType() { + return this.levelType; + } + + @Generated + public int getViewDistance() { + return this.viewDistance; + } + + @Generated + public boolean isReducedDebugInfo() { + return this.reducedDebugInfo; + } + + @Generated + public boolean isNormalRespawn() { + return this.normalRespawn; + } + + @Generated + public boolean isDebug() { + return this.debug; + } + + @Generated + public boolean isFlat() { + return this.flat; + } + + @Generated + public Dimension getDimension() { + return this.dimension; + } + + @Generated + public void setHardcore(boolean hardcore) { + this.hardcore = hardcore; + } + + @Generated + public void setGameMode(short gameMode) { + this.gameMode = gameMode; + } + + @Generated + public void setPreviousGameMode(short previousGameMode) { + this.previousGameMode = previousGameMode; + } + + @Generated + public void setWorldNames(Set worldNames) { + this.worldNames = worldNames; + } + + @Generated + public void setWorldName(String worldName) { + this.worldName = worldName; + } + + @Generated + public void setDimensionId(int dimensionId) { + this.dimensionId = dimensionId; + } + + @Generated + public void setSeed(long seed) { + this.seed = seed; + } + + @Generated + public void setDifficulty(short difficulty) { + this.difficulty = difficulty; + } + + @Generated + public void setMaxPlayers(short maxPlayers) { + this.maxPlayers = maxPlayers; + } + + @Generated + public void setLevelType(String levelType) { + this.levelType = levelType; + } + + @Generated + public void setViewDistance(int viewDistance) { + this.viewDistance = viewDistance; + } + + @Generated + public void setReducedDebugInfo(boolean reducedDebugInfo) { + this.reducedDebugInfo = reducedDebugInfo; + } + + @Generated + public void setNormalRespawn(boolean normalRespawn) { + this.normalRespawn = normalRespawn; + } + + @Generated + public void setDebug(boolean debug) { + this.debug = debug; + } + + @Generated + public void setFlat(boolean flat) { + this.flat = flat; + } + + @Generated + public void setDimension(Dimension dimension) { + this.dimension = dimension; + } + + @Generated + public String toString() { + int var10000 = this.getEntityId(); + return "JoinGame(entityId=" + var10000 + ", hardcore=" + this.isHardcore() + ", gameMode=" + this.getGameMode() + ", previousGameMode=" + this.getPreviousGameMode() + ", worldNames=" + String.valueOf(this.getWorldNames()) + ", worldName=" + this.getWorldName() + ", dimensionId=" + this.getDimensionId() + ", seed=" + this.getSeed() + ", difficulty=" + this.getDifficulty() + ", maxPlayers=" + this.getMaxPlayers() + ", levelType=" + this.getLevelType() + ", viewDistance=" + this.getViewDistance() + ", reducedDebugInfo=" + this.isReducedDebugInfo() + ", normalRespawn=" + this.isNormalRespawn() + ", debug=" + this.isDebug() + ", flat=" + this.isFlat() + ", dimension=" + String.valueOf(this.getDimension()) + ")"; + } + + @Generated + public JoinGame(int entityId) { + this.hardcore = false; + this.gameMode = 0; + this.previousGameMode = 0; + this.worldNames = new HashSet(Arrays.asList("minecraft:overworld")); + this.worldName = "minecraft:overworld"; + this.dimensionId = 0; + this.seed = 1L; + this.difficulty = 0; + this.maxPlayers = 1; + this.levelType = "flat"; + this.viewDistance = 0; + this.reducedDebugInfo = false; + this.normalRespawn = true; + this.debug = false; + this.flat = true; + this.entityId = entityId; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof JoinGame)) { + return false; + } else { + JoinGame other = (JoinGame)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getEntityId() != other.getEntityId()) { + return false; + } else if (this.isHardcore() != other.isHardcore()) { + return false; + } else if (this.getGameMode() != other.getGameMode()) { + return false; + } else if (this.getPreviousGameMode() != other.getPreviousGameMode()) { + return false; + } else if (this.getDimensionId() != other.getDimensionId()) { + return false; + } else if (this.getSeed() != other.getSeed()) { + return false; + } else if (this.getDifficulty() != other.getDifficulty()) { + return false; + } else if (this.getMaxPlayers() != other.getMaxPlayers()) { + return false; + } else if (this.getViewDistance() != other.getViewDistance()) { + return false; + } else if (this.isReducedDebugInfo() != other.isReducedDebugInfo()) { + return false; + } else if (this.isNormalRespawn() != other.isNormalRespawn()) { + return false; + } else if (this.isDebug() != other.isDebug()) { + return false; + } else if (this.isFlat() != other.isFlat()) { + return false; + } else { + Object this$worldNames = this.getWorldNames(); + Object other$worldNames = other.getWorldNames(); + if (this$worldNames == null) { + if (other$worldNames != null) { + return false; + } + } else if (!this$worldNames.equals(other$worldNames)) { + return false; + } + + Object this$worldName = this.getWorldName(); + Object other$worldName = other.getWorldName(); + if (this$worldName == null) { + if (other$worldName != null) { + return false; + } + } else if (!this$worldName.equals(other$worldName)) { + return false; + } + + Object this$levelType = this.getLevelType(); + Object other$levelType = other.getLevelType(); + if (this$levelType == null) { + if (other$levelType != null) { + return false; + } + } else if (!this$levelType.equals(other$levelType)) { + return false; + } + + Object this$dimension = this.getDimension(); + Object other$dimension = other.getDimension(); + if (this$dimension == null) { + if (other$dimension != null) { + return false; + } + } else if (!this$dimension.equals(other$dimension)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof JoinGame; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getEntityId(); + result = result * 59 + (this.isHardcore() ? 79 : 97); + result = result * 59 + this.getGameMode(); + result = result * 59 + this.getPreviousGameMode(); + result = result * 59 + this.getDimensionId(); + long $seed = this.getSeed(); + result = result * 59 + (int)($seed >>> 32 ^ $seed); + result = result * 59 + this.getDifficulty(); + result = result * 59 + this.getMaxPlayers(); + result = result * 59 + this.getViewDistance(); + result = result * 59 + (this.isReducedDebugInfo() ? 79 : 97); + result = result * 59 + (this.isNormalRespawn() ? 79 : 97); + result = result * 59 + (this.isDebug() ? 79 : 97); + result = result * 59 + (this.isFlat() ? 79 : 97); + Object $worldNames = this.getWorldNames(); + result = result * 59 + ($worldNames == null ? 43 : $worldNames.hashCode()); + Object $worldName = this.getWorldName(); + result = result * 59 + ($worldName == null ? 43 : $worldName.hashCode()); + Object $levelType = this.getLevelType(); + result = result * 59 + ($levelType == null ? 43 : $levelType.hashCode()); + Object $dimension = this.getDimension(); + result = result * 59 + ($dimension == null ? 43 : $dimension.hashCode()); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/MapDataPacket.java b/src/main/java/dev/_2lstudios/flamecord/packets/MapDataPacket.java new file mode 100644 index 0000000..3ca1db5 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/MapDataPacket.java @@ -0,0 +1,176 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class MapDataPacket extends DefinedPacket { + private int mapId; + private byte scale; + private MapData data; + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeVarInt(this.mapId, buf); + buf.writeByte(this.scale); + if (protocolVersion >= 107 && protocolVersion < 755) { + buf.writeBoolean(false); + } + + if (protocolVersion >= 477) { + buf.writeBoolean(false); + } + + if (protocolVersion >= 755) { + buf.writeBoolean(false); + } else { + writeVarInt(0, buf); + } + + buf.writeByte(this.data.getColumns()); + buf.writeByte(this.data.getRows()); + buf.writeByte(this.data.getX()); + buf.writeByte(this.data.getY()); + buf.ensureWritable(3 + this.data.getData().length); + writeArray(this.data.getData(), buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + } + + @Generated + public int getMapId() { + return this.mapId; + } + + @Generated + public byte getScale() { + return this.scale; + } + + @Generated + public MapData getData() { + return this.data; + } + + @Generated + public void setMapId(int mapId) { + this.mapId = mapId; + } + + @Generated + public void setScale(byte scale) { + this.scale = scale; + } + + @Generated + public void setData(MapData data) { + this.data = data; + } + + @Generated + public String toString() { + int var10000 = this.getMapId(); + return "MapDataPacket(mapId=" + var10000 + ", scale=" + this.getScale() + ", data=" + String.valueOf(this.getData()) + ")"; + } + + @Generated + public MapDataPacket() { + } + + @Generated + public MapDataPacket(int mapId, byte scale, MapData data) { + this.mapId = mapId; + this.scale = scale; + this.data = data; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof MapDataPacket)) { + return false; + } else { + MapDataPacket other = (MapDataPacket)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getMapId() != other.getMapId()) { + return false; + } else if (this.getScale() != other.getScale()) { + return false; + } else { + Object this$data = this.getData(); + Object other$data = other.getData(); + if (this$data == null) { + if (other$data != null) { + return false; + } + } else if (!this$data.equals(other$data)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof MapDataPacket; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getMapId(); + result = result * 59 + this.getScale(); + Object $data = this.getData(); + result = result * 59 + ($data == null ? 43 : $data.hashCode()); + return result; + } + + public static class MapData { + private int columns; + private int rows; + private int x; + private int y; + private byte[] data; + + @Generated + public MapData(int columns, int rows, int x, int y, byte[] data) { + this.columns = columns; + this.rows = rows; + this.x = x; + this.y = y; + this.data = data; + } + + @Generated + public int getColumns() { + return this.columns; + } + + @Generated + public int getRows() { + return this.rows; + } + + @Generated + public int getX() { + return this.x; + } + + @Generated + public int getY() { + return this.y; + } + + @Generated + public byte[] getData() { + return this.data; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/Player.java b/src/main/java/dev/_2lstudios/flamecord/packets/Player.java new file mode 100644 index 0000000..68fb8ef --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/Player.java @@ -0,0 +1,78 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class Player extends DefinedPacket { + private boolean onGround; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion < 768) { + this.onGround = buf.readBoolean(); + } else { + short flags = buf.readUnsignedByte(); + this.onGround = (flags & 1) != 0; + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public boolean isOnGround() { + return this.onGround; + } + + @Generated + public void setOnGround(boolean onGround) { + this.onGround = onGround; + } + + @Generated + public String toString() { + return "Player(onGround=" + this.isOnGround() + ")"; + } + + @Generated + public Player() { + } + + @Generated + public Player(boolean onGround) { + this.onGround = onGround; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Player)) { + return false; + } else { + Player other = (Player)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.isOnGround() == other.isOnGround(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Player; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isOnGround() ? 79 : 97); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/PlayerAbilities.java b/src/main/java/dev/_2lstudios/flamecord/packets/PlayerAbilities.java new file mode 100644 index 0000000..b9daca0 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/PlayerAbilities.java @@ -0,0 +1,105 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class PlayerAbilities extends DefinedPacket { + byte flags; + float speed; + float field; + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + buf.writeByte(this.flags); + buf.writeFloat(this.speed); + buf.writeFloat(this.field); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Generated + public byte getFlags() { + return this.flags; + } + + @Generated + public float getSpeed() { + return this.speed; + } + + @Generated + public float getField() { + return this.field; + } + + @Generated + public void setFlags(byte flags) { + this.flags = flags; + } + + @Generated + public void setSpeed(float speed) { + this.speed = speed; + } + + @Generated + public void setField(float field) { + this.field = field; + } + + @Generated + public String toString() { + byte var10000 = this.getFlags(); + return "PlayerAbilities(flags=" + var10000 + ", speed=" + this.getSpeed() + ", field=" + this.getField() + ")"; + } + + @Generated + public PlayerAbilities() { + } + + @Generated + public PlayerAbilities(byte flags, float speed, float field) { + this.flags = flags; + this.speed = speed; + this.field = field; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerAbilities)) { + return false; + } else { + PlayerAbilities other = (PlayerAbilities)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getFlags() != other.getFlags()) { + return false; + } else if (Float.compare(this.getSpeed(), other.getSpeed()) != 0) { + return false; + } else { + return Float.compare(this.getField(), other.getField()) == 0; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerAbilities; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getFlags(); + result = result * 59 + Float.floatToIntBits(this.getSpeed()); + result = result * 59 + Float.floatToIntBits(this.getField()); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/PlayerPosition.java b/src/main/java/dev/_2lstudios/flamecord/packets/PlayerPosition.java new file mode 100644 index 0000000..e3bebac --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/PlayerPosition.java @@ -0,0 +1,130 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class PlayerPosition extends DefinedPacket { + private double x; + private double y; + private double z; + private boolean onGround; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.x = buf.readDouble(); + this.y = buf.readDouble(); + this.z = buf.readDouble(); + if (protocolVersion < 768) { + this.onGround = buf.readBoolean(); + } else { + short flags = buf.readUnsignedByte(); + this.onGround = (flags & 1) != 0; + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public double getX() { + return this.x; + } + + @Generated + public double getY() { + return this.y; + } + + @Generated + public double getZ() { + return this.z; + } + + @Generated + public boolean isOnGround() { + return this.onGround; + } + + @Generated + public void setX(double x) { + this.x = x; + } + + @Generated + public void setY(double y) { + this.y = y; + } + + @Generated + public void setZ(double z) { + this.z = z; + } + + @Generated + public void setOnGround(boolean onGround) { + this.onGround = onGround; + } + + @Generated + public String toString() { + double var10000 = this.getX(); + return "PlayerPosition(x=" + var10000 + ", y=" + this.getY() + ", z=" + this.getZ() + ", onGround=" + this.isOnGround() + ")"; + } + + @Generated + public PlayerPosition() { + } + + @Generated + public PlayerPosition(double x, double y, double z, boolean onGround) { + this.x = x; + this.y = y; + this.z = z; + this.onGround = onGround; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerPosition)) { + return false; + } else { + PlayerPosition other = (PlayerPosition)o; + if (!other.canEqual(this)) { + return false; + } else if (Double.compare(this.getX(), other.getX()) != 0) { + return false; + } else if (Double.compare(this.getY(), other.getY()) != 0) { + return false; + } else if (Double.compare(this.getZ(), other.getZ()) != 0) { + return false; + } else { + return this.isOnGround() == other.isOnGround(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerPosition; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $x = Double.doubleToLongBits(this.getX()); + result = result * 59 + (int)($x >>> 32 ^ $x); + long $y = Double.doubleToLongBits(this.getY()); + result = result * 59 + (int)($y >>> 32 ^ $y); + long $z = Double.doubleToLongBits(this.getZ()); + result = result * 59 + (int)($z >>> 32 ^ $z); + result = result * 59 + (this.isOnGround() ? 79 : 97); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/PlayerPositionAndLook.java b/src/main/java/dev/_2lstudios/flamecord/packets/PlayerPositionAndLook.java new file mode 100644 index 0000000..f15a5bd --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/PlayerPositionAndLook.java @@ -0,0 +1,201 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class PlayerPositionAndLook extends DefinedPacket { + private double x; + private double y; + private double z; + private float yaw; + private float pitch; + private int teleportId; + private boolean onGround; + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 768) { + DefinedPacket.writeVarInt(this.teleportId, buf); + buf.writeDouble(this.x); + buf.writeDouble(this.y); + buf.writeDouble(this.z); + buf.writeDouble((double)0.0F); + buf.writeDouble((double)0.0F); + buf.writeDouble((double)0.0F); + buf.writeFloat(this.yaw); + buf.writeFloat(this.pitch); + buf.writeInt(0); + } else { + buf.writeDouble(this.x); + buf.writeDouble(this.y); + buf.writeDouble(this.z); + buf.writeFloat(this.yaw); + buf.writeFloat(this.pitch); + buf.writeByte(0); + if (protocolVersion >= 107) { + writeVarInt(this.teleportId, buf); + } + + if (protocolVersion >= 755 && protocolVersion <= 761) { + buf.writeBoolean(true); + } + } + + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.x = buf.readDouble(); + this.y = buf.readDouble(); + this.z = buf.readDouble(); + this.yaw = buf.readFloat(); + this.pitch = buf.readFloat(); + if (protocolVersion < 768) { + this.onGround = buf.readBoolean(); + } else { + short flags = buf.readUnsignedByte(); + this.onGround = (flags & 1) != 0; + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public double getX() { + return this.x; + } + + @Generated + public double getY() { + return this.y; + } + + @Generated + public double getZ() { + return this.z; + } + + @Generated + public float getYaw() { + return this.yaw; + } + + @Generated + public float getPitch() { + return this.pitch; + } + + @Generated + public int getTeleportId() { + return this.teleportId; + } + + @Generated + public boolean isOnGround() { + return this.onGround; + } + + @Generated + public void setX(double x) { + this.x = x; + } + + @Generated + public void setY(double y) { + this.y = y; + } + + @Generated + public void setZ(double z) { + this.z = z; + } + + @Generated + public void setYaw(float yaw) { + this.yaw = yaw; + } + + @Generated + public void setPitch(float pitch) { + this.pitch = pitch; + } + + @Generated + public void setTeleportId(int teleportId) { + this.teleportId = teleportId; + } + + @Generated + public void setOnGround(boolean onGround) { + this.onGround = onGround; + } + + @Generated + public String toString() { + double var10000 = this.getX(); + return "PlayerPositionAndLook(x=" + var10000 + ", y=" + this.getY() + ", z=" + this.getZ() + ", yaw=" + this.getYaw() + ", pitch=" + this.getPitch() + ", teleportId=" + this.getTeleportId() + ", onGround=" + this.isOnGround() + ")"; + } + + @Generated + public PlayerPositionAndLook() { + } + + @Generated + public PlayerPositionAndLook(double x, double y, double z, float yaw, float pitch, int teleportId, boolean onGround) { + this.x = x; + this.y = y; + this.z = z; + this.yaw = yaw; + this.pitch = pitch; + this.teleportId = teleportId; + this.onGround = onGround; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerPositionAndLook)) { + return false; + } else { + PlayerPositionAndLook other = (PlayerPositionAndLook)o; + if (!other.canEqual(this)) { + return false; + } else if (Double.compare(this.getX(), other.getX()) != 0) { + return false; + } else if (Double.compare(this.getY(), other.getY()) != 0) { + return false; + } else if (Double.compare(this.getZ(), other.getZ()) != 0) { + return false; + } else if (Float.compare(this.getYaw(), other.getYaw()) != 0) { + return false; + } else { + return Float.compare(this.getPitch(), other.getPitch()) == 0; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerPositionAndLook; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $x = Double.doubleToLongBits(this.getX()); + result = result * 59 + (int)($x >>> 32 ^ $x); + long $y = Double.doubleToLongBits(this.getY()); + result = result * 59 + (int)($y >>> 32 ^ $y); + long $z = Double.doubleToLongBits(this.getZ()); + result = result * 59 + (int)($z >>> 32 ^ $z); + result = result * 59 + Float.floatToIntBits(this.getYaw()); + result = result * 59 + Float.floatToIntBits(this.getPitch()); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/RegistryData.java b/src/main/java/dev/_2lstudios/flamecord/packets/RegistryData.java new file mode 100644 index 0000000..9ad445f --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/RegistryData.java @@ -0,0 +1,199 @@ +package dev._2lstudios.flamecord.packets; + +import dev._2lstudios.flamecord.utils.Dimension; +import io.netty.buffer.ByteBuf; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import se.llbit.nbt.CompoundTag; +import se.llbit.nbt.ListTag; +import se.llbit.nbt.NamedTag; +import se.llbit.nbt.Tag; + +public class RegistryData extends DefinedPacket { + private Tag codec; + private String name; + private List entries; + + public RegistryData(Tag codec) { + this.codec = codec; + } + + public RegistryData(String name, List entries) { + this.name = name; + this.entries = entries; + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion < 766) { + writeTag(this.codec, buf, protocolVersion); + } else { + writeString(this.name, buf); + writeVarInt(this.entries.size(), buf); + + for(Entry entry : this.entries) { + writeString(entry.id, buf); + if (entry.tag != null) { + buf.writeBoolean(true); + writeTag(entry.tag, buf, protocolVersion); + } else { + buf.writeBoolean(false); + } + } + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + } + + public static List transform(Dimension dimension, int protocolVersion) { + CompoundTag codec = (CompoundTag)dimension.getFullCodec(protocolVersion); + if (protocolVersion <= 765) { + return Collections.singletonList(new RegistryData(codec)); + } else { + List result = new ArrayList(); + + for(NamedTag tag : codec) { + String type = tag.getTag().get("type").stringValue(); + ListTag values = tag.getTag().get("value").asList(); + List entries = new ArrayList(values.size()); + + for(Tag value : values) { + Tag element = value.get("element"); + entries.add(new Entry(value.get("name").stringValue(), element.isError() ? null : element)); + } + + result.add(new RegistryData(type, entries)); + } + + return result; + } + } + + @Generated + public Tag getCodec() { + return this.codec; + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public List getEntries() { + return this.entries; + } + + @Generated + public void setCodec(Tag codec) { + this.codec = codec; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setEntries(List entries) { + this.entries = entries; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getCodec()); + return "RegistryData(codec=" + var10000 + ", name=" + this.getName() + ", entries=" + String.valueOf(this.getEntries()) + ")"; + } + + @Generated + public RegistryData() { + } + + @Generated + public RegistryData(Tag codec, String name, List entries) { + this.codec = codec; + this.name = name; + this.entries = entries; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof RegistryData)) { + return false; + } else { + RegistryData other = (RegistryData)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$codec = this.getCodec(); + Object other$codec = other.getCodec(); + if (this$codec == null) { + if (other$codec != null) { + return false; + } + } else if (!this$codec.equals(other$codec)) { + return false; + } + + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$entries = this.getEntries(); + Object other$entries = other.getEntries(); + if (this$entries == null) { + if (other$entries != null) { + return false; + } + } else if (!this$entries.equals(other$entries)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof RegistryData; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $codec = this.getCodec(); + result = result * 59 + ($codec == null ? 43 : $codec.hashCode()); + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $entries = this.getEntries(); + result = result * 59 + ($entries == null ? 43 : $entries.hashCode()); + return result; + } + + public static class Entry { + private String id; + private Tag tag; + + @Generated + public Entry(String id, Tag tag) { + this.id = id; + this.tag = tag; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/SetExp.java b/src/main/java/dev/_2lstudios/flamecord/packets/SetExp.java new file mode 100644 index 0000000..f93820f --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/SetExp.java @@ -0,0 +1,104 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class SetExp extends DefinedPacket { + float expBar; + int level; + int totalExp; + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + buf.writeFloat(this.expBar); + DefinedPacket.writeVarInt(this.level, buf); + DefinedPacket.writeVarInt(this.totalExp, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + } + + @Generated + public float getExpBar() { + return this.expBar; + } + + @Generated + public int getLevel() { + return this.level; + } + + @Generated + public int getTotalExp() { + return this.totalExp; + } + + @Generated + public void setExpBar(float expBar) { + this.expBar = expBar; + } + + @Generated + public void setLevel(int level) { + this.level = level; + } + + @Generated + public void setTotalExp(int totalExp) { + this.totalExp = totalExp; + } + + @Generated + public String toString() { + float var10000 = this.getExpBar(); + return "SetExp(expBar=" + var10000 + ", level=" + this.getLevel() + ", totalExp=" + this.getTotalExp() + ")"; + } + + @Generated + public SetExp() { + } + + @Generated + public SetExp(float expBar, int level, int totalExp) { + this.expBar = expBar; + this.level = level; + this.totalExp = totalExp; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SetExp)) { + return false; + } else { + SetExp other = (SetExp)o; + if (!other.canEqual(this)) { + return false; + } else if (Float.compare(this.getExpBar(), other.getExpBar()) != 0) { + return false; + } else if (this.getLevel() != other.getLevel()) { + return false; + } else { + return this.getTotalExp() == other.getTotalExp(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof SetExp; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + Float.floatToIntBits(this.getExpBar()); + result = result * 59 + this.getLevel(); + result = result * 59 + this.getTotalExp(); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/SetSlot.java b/src/main/java/dev/_2lstudios/flamecord/packets/SetSlot.java new file mode 100644 index 0000000..0ab2036 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/SetSlot.java @@ -0,0 +1,269 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import se.llbit.nbt.CompoundTag; +import se.llbit.nbt.IntTag; +import se.llbit.nbt.NamedTag; +import se.llbit.nbt.Tag; + +public class SetSlot extends DefinedPacket { + private int windowId; + private int slot; + private int item; + private int count; + private int data; + + public void write18(ByteBuf buf, ProtocolConstants.Direction direction, int version) { + buf.writeByte(this.windowId); + buf.writeShort(this.slot); + boolean isMap = this.item == 358; + int id = isMap ? this.getCaptchaId(version) : this.item; + boolean present = id > 0; + if (version >= 404) { + buf.writeBoolean(present); + } + + if (!present && version < 404) { + buf.writeShort(-1); + } + + if (present) { + if (version < 404) { + buf.writeShort(id); + buf.writeByte(this.count); + buf.writeShort(this.data); + buf.writeByte(0); + } else { + DefinedPacket.writeVarInt(id, buf); + buf.writeByte(this.count); + buf.writeShort(this.data); + buf.writeByte(0); + } + } + + } + + public void write117(ByteBuf buf, ProtocolConstants.Direction direction, int version) { + if (version >= 768) { + DefinedPacket.writeVarInt(this.windowId, buf); + } else { + buf.writeByte(this.windowId); + } + + if (version >= 756) { + DefinedPacket.writeVarInt(0, buf); + } + + buf.writeShort(this.slot); + boolean isMap = this.item == 358; + int id = isMap ? this.getCaptchaId(version) : this.item; + boolean present = id > 0; + if (version >= 404) { + if (version < 766) { + buf.writeBoolean(present); + } + + if (!present && version >= 766) { + writeVarInt(0, buf); + return; + } + } + + if (!present && version < 404) { + buf.writeShort(-1); + } + + if (present) { + if (version < 404) { + buf.writeShort(id); + } else if (version >= 766) { + DefinedPacket.writeVarInt(this.count, buf); + DefinedPacket.writeVarInt(id, buf); + } else { + DefinedPacket.writeVarInt(id, buf); + buf.writeByte(this.count); + } + + if (version < 393) { + buf.writeShort(this.data); + } + + if (version < 755) { + buf.writeByte(0); + } else if (version < 766) { + CompoundTag nbt = new CompoundTag(); + nbt.add("map", new IntTag(0)); + Tag write = (Tag)(version >= 764 ? nbt : new NamedTag("", nbt)); + DefinedPacket.writeTag(write, buf, version); + } else if (isMap) { + DefinedPacket.writeVarInt(1, buf); + DefinedPacket.writeVarInt(0, buf); + if (version < 768) { + DefinedPacket.writeVarInt(26, buf); + } else { + DefinedPacket.writeVarInt(36, buf); + } + + DefinedPacket.writeVarInt(0, buf); + } else { + DefinedPacket.writeVarInt(0, buf); + DefinedPacket.writeVarInt(0, buf); + } + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int version) { + if (version >= 393) { + this.write117(buf, direction, version); + } else { + this.write18(buf, direction, version); + } + + } + + private int getCaptchaId(int version) { + if (version <= 340) { + return 358; + } else if (version == 393) { + return 608; + } else if (version <= 404) { + return 613; + } else if (version <= 578) { + return 671; + } else if (version <= 754) { + return 733; + } else if (version <= 758) { + return 847; + } else if (version <= 760) { + return 886; + } else if (version <= 761) { + return 914; + } else if (version <= 762) { + return 937; + } else if (version <= 764) { + return 941; + } else if (version <= 765) { + return 979; + } else { + return version <= 768 ? 982 : 1031; + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + } + + @Generated + public int getWindowId() { + return this.windowId; + } + + @Generated + public int getSlot() { + return this.slot; + } + + @Generated + public int getItem() { + return this.item; + } + + @Generated + public int getCount() { + return this.count; + } + + @Generated + public int getData() { + return this.data; + } + + @Generated + public void setWindowId(int windowId) { + this.windowId = windowId; + } + + @Generated + public void setSlot(int slot) { + this.slot = slot; + } + + @Generated + public void setItem(int item) { + this.item = item; + } + + @Generated + public void setCount(int count) { + this.count = count; + } + + @Generated + public void setData(int data) { + this.data = data; + } + + @Generated + public String toString() { + int var10000 = this.getWindowId(); + return "SetSlot(windowId=" + var10000 + ", slot=" + this.getSlot() + ", item=" + this.getItem() + ", count=" + this.getCount() + ", data=" + this.getData() + ")"; + } + + @Generated + public SetSlot() { + } + + @Generated + public SetSlot(int windowId, int slot, int item, int count, int data) { + this.windowId = windowId; + this.slot = slot; + this.item = item; + this.count = count; + this.data = data; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SetSlot)) { + return false; + } else { + SetSlot other = (SetSlot)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getWindowId() != other.getWindowId()) { + return false; + } else if (this.getSlot() != other.getSlot()) { + return false; + } else if (this.getItem() != other.getItem()) { + return false; + } else if (this.getCount() != other.getCount()) { + return false; + } else { + return this.getData() == other.getData(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof SetSlot; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getWindowId(); + result = result * 59 + this.getSlot(); + result = result * 59 + this.getItem(); + result = result * 59 + this.getCount(); + result = result * 59 + this.getData(); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/TeleportConfirm.java b/src/main/java/dev/_2lstudios/flamecord/packets/TeleportConfirm.java new file mode 100644 index 0000000..6727487 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/TeleportConfirm.java @@ -0,0 +1,72 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class TeleportConfirm extends DefinedPacket { + int teleportId; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.teleportId = DefinedPacket.readVarInt(buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getTeleportId() { + return this.teleportId; + } + + @Generated + public void setTeleportId(int teleportId) { + this.teleportId = teleportId; + } + + @Generated + public String toString() { + return "TeleportConfirm(teleportId=" + this.getTeleportId() + ")"; + } + + @Generated + public TeleportConfirm() { + } + + @Generated + public TeleportConfirm(int teleportId) { + this.teleportId = teleportId; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TeleportConfirm)) { + return false; + } else { + TeleportConfirm other = (TeleportConfirm)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getTeleportId() == other.getTeleportId(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TeleportConfirm; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getTeleportId(); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/packets/TimeUpdate.java b/src/main/java/dev/_2lstudios/flamecord/packets/TimeUpdate.java new file mode 100644 index 0000000..88c2928 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/packets/TimeUpdate.java @@ -0,0 +1,94 @@ +package dev._2lstudios.flamecord.packets; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class TimeUpdate extends DefinedPacket { + long age; + long time; + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + buf.writeLong(this.age); + buf.writeLong(this.time); + if (protocolVersion >= 768) { + buf.writeBoolean(false); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + } + + @Generated + public long getAge() { + return this.age; + } + + @Generated + public long getTime() { + return this.time; + } + + @Generated + public void setAge(long age) { + this.age = age; + } + + @Generated + public void setTime(long time) { + this.time = time; + } + + @Generated + public String toString() { + long var10000 = this.getAge(); + return "TimeUpdate(age=" + var10000 + ", time=" + this.getTime() + ")"; + } + + @Generated + public TimeUpdate() { + } + + @Generated + public TimeUpdate(long age, long time) { + this.age = age; + this.time = time; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TimeUpdate)) { + return false; + } else { + TimeUpdate other = (TimeUpdate)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getAge() != other.getAge()) { + return false; + } else { + return this.getTime() == other.getTime(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TimeUpdate; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $age = this.getAge(); + result = result * 59 + (int)($age >>> 32 ^ $age); + long $time = this.getTime(); + result = result * 59 + (int)($time >>> 32 ^ $time); + return result; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/tasks/StatsTask.java b/src/main/java/dev/_2lstudios/flamecord/tasks/StatsTask.java new file mode 100644 index 0000000..1d6bcae --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/tasks/StatsTask.java @@ -0,0 +1,73 @@ +package dev._2lstudios.flamecord.tasks; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.BlockedPlayersNotifier; +import dev._2lstudios.flamecord.antibot.StatsData; +import dev._2lstudios.flamecord.commands.FlameCordStatsCommand; +import dev._2lstudios.flamecord.configuration.MessagesConfiguration; +import java.util.Collection; +import java.util.HashSet; +import net.md_5.bungee.api.ChatMessageType; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.connection.ProxiedPlayer; + +public class StatsTask implements Runnable { + private FlameCordStatsCommand flameCordStatsCommand; + private StatsData statsData; + private MessagesConfiguration messagesConfiguration; + + public StatsTask(FlameCordStatsCommand flameCordStatsCommand, StatsData statsData, MessagesConfiguration messagesConfiguration) { + this.flameCordStatsCommand = flameCordStatsCommand; + this.statsData = statsData; + this.messagesConfiguration = messagesConfiguration; + } + + public void run() { + while(!Thread.interrupted()) { + BlockedPlayersNotifier.Summary summary = FlameCord.getInstance().getBlockedPlayersNotifier().drainReadySummary(); + boolean blockedActionbarEnabled = FlameCord.getInstance().getFlameCordConfiguration().isAntibotBlockedActionbarEnabled(); + Collection notifyPlayers = new HashSet(); + if (blockedActionbarEnabled) { + for(ProxiedPlayer player : ProxyServer.getInstance().getPlayers()) { + if (player.hasPermission("flamecord.notify")) { + notifyPlayers.add(player); + } + } + } + + if (blockedActionbarEnabled && summary != null && !notifyPlayers.isEmpty()) { + String message; + if (summary.isSingle()) { + message = this.messagesConfiguration.getTranslation("antibot_notify_blocked_single", summary.getSingleSubject()); + } else { + message = this.messagesConfiguration.getTranslation("antibot_notify_blocked_multiple", summary.getCount()); + } + + BaseComponent[] actionMessage = TextComponent.fromLegacyText(message); + + for(ProxiedPlayer player : notifyPlayers) { + player.sendMessage(ChatMessageType.ACTION_BAR, actionMessage); + } + } else { + for(ProxiedPlayer proxiedPlayer : this.flameCordStatsCommand.getShowStats()) { + if (!notifyPlayers.contains(proxiedPlayer)) { + int currentPings = this.statsData.getCurrentPings(); + int currentConnections = this.statsData.getCurrentConnections(); + int totalFirewalled = this.statsData.getTotalFirewalled(); + BaseComponent[] actionMessage = TextComponent.fromLegacyText(this.messagesConfiguration.getTranslation("antibot_stats_actionbar", currentPings, currentConnections, totalFirewalled)); + proxiedPlayer.sendMessage(ChatMessageType.ACTION_BAR, actionMessage); + } + } + } + + try { + Thread.sleep(200L); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/util/FirewallCommandQueue.java b/src/main/java/dev/_2lstudios/flamecord/util/FirewallCommandQueue.java new file mode 100644 index 0000000..e0694e4 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/util/FirewallCommandQueue.java @@ -0,0 +1,210 @@ +package dev._2lstudios.flamecord.util; + +import java.io.IOException; +import java.lang.ProcessBuilder.Redirect; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.concurrent.BlockingQueue; +import java.util.concurrent.LinkedBlockingQueue; +import java.util.concurrent.TimeUnit; +import java.util.logging.Logger; + +public final class FirewallCommandQueue { + private static final int CLEANUP_COMMAND_COUNT = 4; + private static final long DEFAULT_COMMAND_TIMEOUT_MS = 30000L; + private final Logger logger; + private final Runner runner; + private final long commandTimeoutMs; + private final BlockingQueue> queue; + private final Object lifecycle; + private volatile Thread worker; + private boolean shutdown; + private boolean inFlight; + private boolean loggedEnabled; + + private static Runner processRunner(long timeoutMs) { + return (command) -> { + Process process = (new ProcessBuilder(command)).redirectOutput(Redirect.DISCARD).redirectError(Redirect.DISCARD).start(); + + try { + if (!process.waitFor(timeoutMs, TimeUnit.MILLISECONDS)) { + process.destroyForcibly(); + throw new IOException("Command timed out: " + (String)command.get(0)); + } + + if (process.exitValue() != 0) { + String var10002 = (String)command.get(0); + throw new IOException("Command failed: " + var10002 + " (exit " + process.exitValue() + ")"); + } + } catch (InterruptedException e) { + process.destroyForcibly(); + Thread.currentThread().interrupt(); + throw new IOException("Command interrupted: " + (String)command.get(0), e); + } finally { + process.destroy(); + } + + }; + } + + public FirewallCommandQueue(Logger logger) { + this(logger, processRunner(30000L), 256, 30000L); + } + + FirewallCommandQueue(Logger logger, Runner runner, int capacity, long commandTimeoutMs) { + this.lifecycle = new Object(); + this.logger = logger; + this.runner = runner; + this.commandTimeoutMs = commandTimeoutMs; + this.queue = new LinkedBlockingQueue(Math.max(capacity, 4)); + } + + public void start() { + synchronized (this.lifecycle) { + if (this.worker != null || this.shutdown) { + return; + } + Thread thread = new Thread(this::work, "FlameCord-Firewall-Commands"); + thread.setDaemon(true); + this.worker = thread; + thread.start(); + } + } + + public boolean enqueue(String... command) { + return this.enqueue(Arrays.asList(command)); + } + + public boolean enqueue(List command) { + List copy = Collections.unmodifiableList(new ArrayList(command)); + synchronized(this.lifecycle) { + if (!this.shutdown && this.queue.offer(copy)) { + return true; + } else { + if (!this.shutdown) { + this.logger.warning("Firewall command queue is full; dropping command."); + } + + return false; + } + } + } + + public boolean shutdown(List> cleanup) { + boolean startDrain = false; + boolean dropped = false; + Thread thread; + synchronized(this.lifecycle) { + if (!this.shutdown) { + this.shutdown = true; + this.queue.clear(); + + for(List command : cleanup) { + List copy = Collections.unmodifiableList(new ArrayList(command)); + if (!this.queue.offer(copy)) { + this.logger.severe("Firewall cleanup command dropped: " + (String)command.get(0)); + dropped = true; + } + } + } + + thread = this.worker; + if (thread == null && !this.queue.isEmpty()) { + Thread drain = new Thread(this::work, "FlameCord-Firewall-Cleanup"); + drain.setDaemon(true); + this.worker = drain; + thread = drain; + startDrain = true; + } + } + + if (startDrain) { + thread.start(); + } + + boolean drained = !dropped; + if (thread != null) { + long budgetMs = Math.max(1000L, (long)cleanup.size() * (this.commandTimeoutMs + 250L) + 500L); + + try { + thread.join(budgetMs); + } catch (InterruptedException var10) { + Thread.currentThread().interrupt(); + drained = false; + } + + if (thread.isAlive()) { + this.logger.severe("Firewall command worker did not finish within " + budgetMs + " ms; cleanup may be incomplete."); + drained = false; + } + } + + return drained; + } + + boolean awaitDrained(long timeoutMs) { + long deadline = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeoutMs); + + while(System.nanoTime() < deadline) { + synchronized(this.lifecycle) { + if (this.queue.isEmpty() && !this.inFlight) { + return true; + } + } + + try { + Thread.sleep(1L); + } catch (InterruptedException var7) { + Thread.currentThread().interrupt(); + return false; + } + } + + return false; + } + + private void work() { + while(true) { + List command; + synchronized(this.lifecycle) { + if (this.shutdown && this.queue.isEmpty() && !this.inFlight) { + return; + } + + command = (List)this.queue.poll(); + if (command != null) { + this.inFlight = true; + } + } + + if (command == null) { + try { + Thread.sleep(1L); + } catch (InterruptedException var17) { + Thread.currentThread().interrupt(); + return; + } + } else { + try { + this.runner.run(command); + if (!this.loggedEnabled) { + this.loggedEnabled = true; + this.logger.info("IPSet command execution is enabled."); + } + } catch (Exception e) { + this.logger.warning("IPSet command failed: " + e.getMessage()); + } finally { + synchronized(this.lifecycle) { + this.inFlight = false; + } + } + } + } + } + + public interface Runner { + void run(List var1) throws Exception; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/ColorUtil.java b/src/main/java/dev/_2lstudios/flamecord/utils/ColorUtil.java new file mode 100644 index 0000000..41d7f57 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/ColorUtil.java @@ -0,0 +1,42 @@ +package dev._2lstudios.flamecord.utils; + +import dev._2lstudios.flamecord.utils.iridiumcolorapi.IridiumColorAPI; +import java.util.List; +import net.md_5.bungee.api.ChatColor; + +public class ColorUtil { + public static String color(String text) { + return ChatColor.translateAlternateColorCodes('&', text); + } + + public static List color(List texts) { + for(int i = 0; i < texts.size(); ++i) { + texts.set(i, color((String)texts.get(i))); + } + + return texts; + } + + public static String hex(String text, int protocol) { + return text == null ? text : IridiumColorAPI.process(text, protocol); + } + + public static String hexColor(String text, int protocol) { + if (text != null) { + text = color(text); + if (text != null) { + text = hex(text, protocol); + } + } + + return text; + } + + public static List hexColor(List texts, int protocol) { + for(int i = 0; i < texts.size(); ++i) { + texts.set(i, hexColor((String)texts.get(i), protocol)); + } + + return texts; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/ConcurrentHashSet.java b/src/main/java/dev/_2lstudios/flamecord/utils/ConcurrentHashSet.java new file mode 100644 index 0000000..1815ab6 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/ConcurrentHashSet.java @@ -0,0 +1,28 @@ +package dev._2lstudios.flamecord.utils; + +import java.util.Iterator; +import java.util.concurrent.ConcurrentHashMap; + +public class ConcurrentHashSet implements Iterable { + private final ConcurrentHashMap map = new ConcurrentHashMap(); + + public boolean add(E element) { + return this.map.putIfAbsent(element, Boolean.TRUE) == null; + } + + public boolean contains(E element) { + return this.map.containsKey(element); + } + + public boolean remove(E element) { + return this.map.remove(element) != null; + } + + public int size() { + return this.map.size(); + } + + public Iterator iterator() { + return this.map.keySet().iterator(); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/Dimension.java b/src/main/java/dev/_2lstudios/flamecord/utils/Dimension.java new file mode 100644 index 0000000..befd794 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/Dimension.java @@ -0,0 +1,580 @@ +package dev._2lstudios.flamecord.utils; + +import java.io.BufferedInputStream; +import java.io.DataInputStream; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.zip.GZIPInputStream; +import lombok.Generated; +import se.llbit.nbt.ByteTag; +import se.llbit.nbt.CompoundTag; +import se.llbit.nbt.DoubleTag; +import se.llbit.nbt.FloatTag; +import se.llbit.nbt.IntTag; +import se.llbit.nbt.ListTag; +import se.llbit.nbt.LongTag; +import se.llbit.nbt.NamedTag; +import se.llbit.nbt.SpecificTag; +import se.llbit.nbt.StringTag; +import se.llbit.nbt.Tag; + +public class Dimension { + static CompoundTag damageType; + static CompoundTag damageType1_20; + static CompoundTag damageType1_21; + static CompoundTag damageType1_21_2; + public static Dimension OVERWORLD; + public static Dimension THE_NETHER; + public static Dimension THE_END; + private final String key; + private final int dimensionId; + private final int id; + private final boolean piglinSafe; + private final boolean natural; + private final float ambientLight; + private final String infiniburn; + private final boolean respawnAnchorWorks; + private final boolean hasSkylight; + private final boolean bedWorks; + private final String effects; + private final boolean hasRaids; + private final int monster_spawn_light_level; + private final int monster_spawn_block_light_limit; + private final int logicalHeight; + private final float coordinateScale; + private final boolean ultrawarm; + private final boolean hasCeiling; + private final int minY; + private final int height; + private final List biomes; + + private static void appendElementsDamageType(CompoundTag compoundTag, int version) { + ListTag list = compoundTag.get("value").asList(); + CompoundTag campfire = new CompoundTag(); + campfire.add("name", new StringTag("minecraft:campfire")); + campfire.add("id", new IntTag(44)); + CompoundTag campfireData = new CompoundTag(); + campfireData.add("scaling", new StringTag("when_caused_by_living_non_player")); + campfireData.add("message_id", new StringTag("inFire")); + campfireData.add("exhaustion", new FloatTag(0.1F)); + campfire.add("element", campfireData); + list.add(campfire); + if (version >= 768) { + CompoundTag enderpearl = new CompoundTag(); + enderpearl.add("name", new StringTag("minecraft:ender_pearl")); + enderpearl.add("id", new IntTag(45)); + CompoundTag maceSmash = new CompoundTag(); + maceSmash.add("name", new StringTag("minecraft:mace_smash")); + maceSmash.add("id", new IntTag(46)); + CompoundTag enderpearlData = new CompoundTag(); + enderpearlData.add("scaling", new StringTag("when_caused_by_living_non_player")); + enderpearlData.add("message_id", new StringTag("fall")); + enderpearlData.add("exhaustion", new FloatTag(0.0F)); + CompoundTag maceSmashData = new CompoundTag(); + maceSmashData.add("scaling", new StringTag("when_caused_by_living_non_player")); + maceSmashData.add("message_id", new StringTag("mace_smash")); + maceSmashData.add("exhaustion", new FloatTag(0.1F)); + enderpearl.add("element", enderpearlData); + maceSmash.add("element", maceSmashData); + list.add(enderpearl); + list.add(maceSmash); + } + + } + + public Tag getFullCodec(int protocolVersion) { + try { + CompoundTag attributes = this.encodeAttributes(protocolVersion); + if (protocolVersion <= 736) { + CompoundTag dimensions = new CompoundTag(); + dimensions.add("dimension", new ListTag(10, Collections.singletonList(attributes))); + return new NamedTag("", dimensions); + } else { + CompoundTag dimensionData = new CompoundTag(); + dimensionData.add("name", new StringTag(this.key)); + dimensionData.add("id", new IntTag(this.id)); + dimensionData.add("element", attributes); + CompoundTag dimensions = new CompoundTag(); + dimensions.add("type", new StringTag("minecraft:dimension_type")); + dimensions.add("value", new ListTag(10, Collections.singletonList(dimensionData))); + CompoundTag root = new CompoundTag(); + root.add("minecraft:dimension_type", dimensions); + root.add("minecraft:worldgen/biome", this.createBiomeRegistry()); + if (protocolVersion >= 762) { + CompoundTag damage = protocolVersion >= 763 ? damageType1_20 : damageType; + if (protocolVersion == 767) { + damage = damageType1_21; + } + + if (protocolVersion >= 768) { + damage = damageType1_21_2; + } + + root.add("minecraft:damage_type", damage); + } + + if (protocolVersion >= 759) { + root.add("minecraft:chat_type", this.createChatRegistry(protocolVersion)); + } + + if (protocolVersion >= 767) { + root.add("minecraft:painting_variant", this.createPaintingVariant(protocolVersion)); + root.add("minecraft:wolf_variant", this.createWoldVariant(protocolVersion)); + } + + return (Tag)(protocolVersion >= 764 ? root : new NamedTag("", root)); + } + } catch (Throwable $ex) { + throw $ex; + } + } + + public Tag getAttributes(int protocolVersion) { + return new NamedTag("", this.encodeAttributes(protocolVersion)); + } + + private CompoundTag encodeAttributes(int protocolVersion) { + Map attributes = new HashMap(); + attributes.put("name", new StringTag(this.key)); + attributes.put("natural", new ByteTag(this.natural ? 1 : 0)); + attributes.put("has_skylight", new ByteTag(this.hasSkylight ? 1 : 0)); + attributes.put("has_ceiling", new ByteTag(this.hasCeiling ? 1 : 0)); + attributes.put("fixed_time", new LongTag(10000L)); + attributes.put("shrunk", new ByteTag(0)); + attributes.put("ambient_light", new FloatTag(this.ambientLight)); + attributes.put("ultrawarm", new ByteTag(this.ultrawarm ? 1 : 0)); + attributes.put("has_raids", new ByteTag(this.hasRaids ? 1 : 0)); + attributes.put("respawn_anchor_works", new ByteTag(this.respawnAnchorWorks ? 1 : 0)); + attributes.put("bed_works", new ByteTag(this.bedWorks ? 1 : 0)); + attributes.put("piglin_safe", new ByteTag(this.piglinSafe ? 1 : 0)); + attributes.put("infiniburn", new StringTag(this.infiniburn)); + attributes.put("logical_height", new ByteTag(this.logicalHeight)); + if (protocolVersion >= 751) { + attributes.remove("name"); + attributes.remove("fixed_time"); + attributes.remove("shrunk"); + attributes.put("effects", new StringTag(this.effects)); + attributes.put("coordinate_scale", new FloatTag(this.coordinateScale)); + } + + attributes.put("height", new IntTag(this.height)); + attributes.put("min_y", new IntTag(this.minY)); + if (protocolVersion >= 758) { + attributes.put("infiniburn", new StringTag("#" + this.infiniburn)); + } + + if (protocolVersion >= 759) { + attributes.put("monster_spawn_light_level", new IntTag(this.monster_spawn_light_level)); + attributes.put("monster_spawn_block_light_limit", new IntTag(this.monster_spawn_block_light_limit)); + } + + CompoundTag tag = new CompoundTag(); + + for(Map.Entry entry : attributes.entrySet()) { + tag.add((String)entry.getKey(), (SpecificTag)entry.getValue()); + } + + return tag; + } + + private CompoundTag createBiomeRegistry() { + CompoundTag root = new CompoundTag(); + root.add("type", new StringTag("minecraft:worldgen/biome")); + List biomes = new ArrayList(); + + for(Biome biome : this.biomes) { + biomes.add(this.encodeBiome(biome)); + } + + root.add("value", new ListTag(10, biomes)); + return root; + } + + private CompoundTag createChatRegistry(int version) { + CompoundTag root = new CompoundTag(); + root.add("type", new StringTag("minecraft:chat_type")); + CompoundTag systemChat = new CompoundTag(); + systemChat.add("name", new StringTag("minecraft:system")); + systemChat.add("id", new IntTag(1)); + CompoundTag element = new CompoundTag(); + CompoundTag chat = new CompoundTag(); + if (version >= 760) { + chat.add("style", new CompoundTag()); + chat.add("translation_key", new StringTag("chat.type.system")); + chat.add("parameters", new ListTag(8, Arrays.asList(new StringTag("sender"), new StringTag("content")))); + } + + element.add("chat", chat); + CompoundTag narration = new CompoundTag(); + if (version >= 760) { + narration.add("style", new CompoundTag()); + narration.add("translation_key", new StringTag("chat.type.system.narrate")); + narration.add("parameters", new ListTag(8, Arrays.asList(new StringTag("sender"), new StringTag("content")))); + } else { + narration.add("priority", new StringTag("system")); + } + + element.add("narration", narration); + systemChat.add("element", element); + root.add("value", new ListTag(10, Arrays.asList(systemChat))); + return root; + } + + private CompoundTag createPaintingVariant(int version) { + CompoundTag root = new CompoundTag(); + root.add("type", new StringTag("minecraft:painting_variant")); + CompoundTag alban = new CompoundTag(); + alban.add("name", new StringTag("minecraft:alban")); + alban.add("id", new IntTag(0)); + CompoundTag paintingVariant = new CompoundTag(); + paintingVariant.add("width", new IntTag(1)); + paintingVariant.add("height", new IntTag(1)); + paintingVariant.add("asset_id", new StringTag("minecraft:alban")); + alban.add("element", paintingVariant); + root.add("value", new ListTag(10, Arrays.asList(alban))); + return root; + } + + private CompoundTag createWoldVariant(int version) { + CompoundTag root = new CompoundTag(); + root.add("type", new StringTag("minecraft:wolf_variant")); + CompoundTag ashen = new CompoundTag(); + ashen.add("name", new StringTag("minecraft:ashen")); + ashen.add("id", new IntTag(0)); + CompoundTag ashenProperties = new CompoundTag(); + ashenProperties.add("wild_texture", new StringTag("minecraft:entity/wolf/wolf_ashen")); + ashenProperties.add("tame_texture", new StringTag("minecraft:entity/wolf/wolf_ashen_tame")); + ashenProperties.add("angry_texture", new StringTag("minecraft:entity/wolf/wolf_ashen_angry")); + ashenProperties.add("biomes", new ListTag(8, Arrays.asList(new StringTag("minecraft:plains")))); + ashen.add("element", ashenProperties); + root.add("value", new ListTag(10, Arrays.asList(ashen))); + return root; + } + + private CompoundTag encodeBiome(Biome biome) { + CompoundTag biomeTag = new CompoundTag(); + biomeTag.add("name", new StringTag(biome.getName())); + biomeTag.add("id", new IntTag(biome.getId())); + CompoundTag element = new CompoundTag(); + element.add("precipitation", new StringTag(biome.getPrecipitation())); + element.add("has_precipitation", new ByteTag(biome.getPrecipitation().equals("none") ? 0 : 1)); + element.add("depth", new FloatTag(biome.getDepth())); + element.add("temperature", new FloatTag(biome.getTemperature())); + element.add("scale", new FloatTag(biome.getScale())); + element.add("downfall", new FloatTag(biome.getDownfall())); + element.add("category", new StringTag(biome.getCategory())); + CompoundTag effects = new CompoundTag(); + effects.add("sky_color", new IntTag(biome.getSky_color())); + effects.add("water_fog_color", new IntTag(biome.getWater_color())); + effects.add("fog_color", new IntTag(biome.getFog_color())); + effects.add("water_color", new IntTag(biome.getWater_color())); + if (biome.getGrass_color_modiefer() != null) { + effects.add("grass_color_modifier", new StringTag(biome.getGrass_color_modiefer())); + } + + if (biome.getFoliage_color() != Integer.MIN_VALUE) { + effects.add("foliage_color", new IntTag(biome.getFoliage_color())); + } + + CompoundTag moodSound = new CompoundTag(); + moodSound.add("tick_delay", new IntTag(biome.getTick_delay())); + moodSound.add("offset", new DoubleTag(biome.getOffset())); + moodSound.add("block_search_extent", new IntTag(biome.getBlock_search_extent())); + moodSound.add("sound", new StringTag(biome.getSound())); + effects.add("mood_sound", moodSound); + element.add("effects", effects); + biomeTag.add("element", element); + return biomeTag; + } + + @Generated + public Dimension(String key, int dimensionId, int id, boolean piglinSafe, boolean natural, float ambientLight, String infiniburn, boolean respawnAnchorWorks, boolean hasSkylight, boolean bedWorks, String effects, boolean hasRaids, int monster_spawn_light_level, int monster_spawn_block_light_limit, int logicalHeight, float coordinateScale, boolean ultrawarm, boolean hasCeiling, int minY, int height, List biomes) { + this.key = key; + this.dimensionId = dimensionId; + this.id = id; + this.piglinSafe = piglinSafe; + this.natural = natural; + this.ambientLight = ambientLight; + this.infiniburn = infiniburn; + this.respawnAnchorWorks = respawnAnchorWorks; + this.hasSkylight = hasSkylight; + this.bedWorks = bedWorks; + this.effects = effects; + this.hasRaids = hasRaids; + this.monster_spawn_light_level = monster_spawn_light_level; + this.monster_spawn_block_light_limit = monster_spawn_block_light_limit; + this.logicalHeight = logicalHeight; + this.coordinateScale = coordinateScale; + this.ultrawarm = ultrawarm; + this.hasCeiling = hasCeiling; + this.minY = minY; + this.height = height; + this.biomes = biomes; + } + + @Generated + public String getKey() { + return this.key; + } + + @Generated + public int getDimensionId() { + return this.dimensionId; + } + + @Generated + public int getId() { + return this.id; + } + + @Generated + public boolean isPiglinSafe() { + return this.piglinSafe; + } + + @Generated + public boolean isNatural() { + return this.natural; + } + + @Generated + public float getAmbientLight() { + return this.ambientLight; + } + + @Generated + public String getInfiniburn() { + return this.infiniburn; + } + + @Generated + public boolean isRespawnAnchorWorks() { + return this.respawnAnchorWorks; + } + + @Generated + public boolean isHasSkylight() { + return this.hasSkylight; + } + + @Generated + public boolean isBedWorks() { + return this.bedWorks; + } + + @Generated + public String getEffects() { + return this.effects; + } + + @Generated + public boolean isHasRaids() { + return this.hasRaids; + } + + @Generated + public int getMonster_spawn_light_level() { + return this.monster_spawn_light_level; + } + + @Generated + public int getMonster_spawn_block_light_limit() { + return this.monster_spawn_block_light_limit; + } + + @Generated + public int getLogicalHeight() { + return this.logicalHeight; + } + + @Generated + public float getCoordinateScale() { + return this.coordinateScale; + } + + @Generated + public boolean isUltrawarm() { + return this.ultrawarm; + } + + @Generated + public boolean isHasCeiling() { + return this.hasCeiling; + } + + @Generated + public int getMinY() { + return this.minY; + } + + @Generated + public int getHeight() { + return this.height; + } + + @Generated + public List getBiomes() { + return this.biomes; + } + + static { + try { + damageType = (CompoundTag)CompoundTag.read(new DataInputStream(new BufferedInputStream(new GZIPInputStream(Dimension.class.getResourceAsStream("/damage-types-1.19.4.nbt"))))).get(""); + damageType1_20 = (CompoundTag)CompoundTag.read(new DataInputStream(new BufferedInputStream(new GZIPInputStream(Dimension.class.getResourceAsStream("/damage-types-1.20.nbt"))))).get(""); + damageType1_21 = (CompoundTag)CompoundTag.read(new DataInputStream(new BufferedInputStream(new GZIPInputStream(Dimension.class.getResourceAsStream("/damage-types-1.20.nbt"))))).get(""); + damageType1_21_2 = (CompoundTag)CompoundTag.read(new DataInputStream(new BufferedInputStream(new GZIPInputStream(Dimension.class.getResourceAsStream("/damage-types-1.20.nbt"))))).get(""); + appendElementsDamageType(damageType1_21, 767); + appendElementsDamageType(damageType1_21_2, 768); + } catch (IOException e) { + throw new RuntimeException(e); + } + + OVERWORLD = new Dimension("minecraft:overworld", 0, 0, false, true, 0.0F, "minecraft:infiniburn_overworld", false, true, true, "minecraft:overworld", true, 0, 0, 256, 1.0F, false, false, 0, 256, Arrays.asList(Dimension.Biome.PLAINS, Dimension.Biome.SWAMP, Dimension.Biome.SWAMP_HILLS)); + THE_NETHER = new Dimension("minecraft:the_nether", -1, 1, false, true, 0.0F, "minecraft:infiniburn_nether", false, true, true, "minecraft:the_nether", true, 0, 0, 256, 1.0F, false, false, 0, 256, Arrays.asList(Dimension.Biome.NETHER_WASTES)); + THE_END = new Dimension("minecraft:the_end", 1, 2, false, true, 0.0F, "minecraft:infiniburn_end", false, true, true, "minecraft:the_end", true, 0, 0, 256, 1.0F, false, false, 0, 256, Arrays.asList(Dimension.Biome.THE_END)); + } + + public static enum Biome { + PLAINS("minecraft:plains", 0, "rain", 0.125F, 0.8F, 0.05F, 0.4F, "plains", 7907327, 329011, 12638463, 4159204, 6000, (double)2.0F, 8, "minecraft:ambient.cave", (String)null, Integer.MIN_VALUE), + SWAMP("minecraft:swamp", 1, "rain", -0.2F, 0.8F, 0.1F, 0.9F, "swamp", 7907327, 2302743, 12638463, 6388580, 6000, (double)2.0F, 8, "minecraft:ambient.cave", "swamp", 6975545), + SWAMP_HILLS("minecraft:swamp_hills", 2, "rain", -0.1F, 0.8F, 0.3F, 0.9F, "swamp", 7907327, 2302743, 12638463, 6388580, 6000, (double)2.0F, 8, "minecraft:ambient.cave", "swamp", 6975545), + NETHER_WASTES("minecraft:nether_wastes", 3, "none", 0.1F, 2.0F, 0.2F, 0.0F, "nether", 7254527, 329011, 3344392, 4159204, 6000, (double)2.0F, 8, "minecraft:ambient.cave", "swamp", 6975545), + THE_END("minecraft:the_end", 4, "none", 0.1F, 0.5F, 0.2F, 0.5F, "the_end", 7907327, 10518688, 12638463, 4159204, 6000, (double)2.0F, 8, "minecraft:ambient.cave", "swamp", 6975545); + + private final String name; + private final int id; + private final String precipitation; + private final float depth; + private final float temperature; + private final float scale; + private final float downfall; + private final String category; + private final int sky_color; + private final int water_fog_color; + private final int fog_color; + private final int water_color; + private final int tick_delay; + private final double offset; + private final int block_search_extent; + private final String sound; + private final String grass_color_modiefer; + private final int foliage_color; + + @Generated + private Biome(final String name, final int id, final String precipitation, final float depth, final float temperature, final float scale, final float downfall, final String category, final int sky_color, final int water_fog_color, final int fog_color, final int water_color, final int tick_delay, final double offset, final int block_search_extent, final String sound, final String grass_color_modiefer, final int foliage_color) { + this.name = name; + this.id = id; + this.precipitation = precipitation; + this.depth = depth; + this.temperature = temperature; + this.scale = scale; + this.downfall = downfall; + this.category = category; + this.sky_color = sky_color; + this.water_fog_color = water_fog_color; + this.fog_color = fog_color; + this.water_color = water_color; + this.tick_delay = tick_delay; + this.offset = offset; + this.block_search_extent = block_search_extent; + this.sound = sound; + this.grass_color_modiefer = grass_color_modiefer; + this.foliage_color = foliage_color; + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public int getId() { + return this.id; + } + + @Generated + public String getPrecipitation() { + return this.precipitation; + } + + @Generated + public float getDepth() { + return this.depth; + } + + @Generated + public float getTemperature() { + return this.temperature; + } + + @Generated + public float getScale() { + return this.scale; + } + + @Generated + public float getDownfall() { + return this.downfall; + } + + @Generated + public String getCategory() { + return this.category; + } + + @Generated + public int getSky_color() { + return this.sky_color; + } + + @Generated + public int getWater_fog_color() { + return this.water_fog_color; + } + + @Generated + public int getFog_color() { + return this.fog_color; + } + + @Generated + public int getWater_color() { + return this.water_color; + } + + @Generated + public int getTick_delay() { + return this.tick_delay; + } + + @Generated + public double getOffset() { + return this.offset; + } + + @Generated + public int getBlock_search_extent() { + return this.block_search_extent; + } + + @Generated + public String getSound() { + return this.sound; + } + + @Generated + public String getGrass_color_modiefer() { + return this.grass_color_modiefer; + } + + @Generated + public int getFoliage_color() { + return this.foliage_color; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/IPUtils.java b/src/main/java/dev/_2lstudios/flamecord/utils/IPUtils.java new file mode 100644 index 0000000..6a4cb10 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/IPUtils.java @@ -0,0 +1,28 @@ +package dev._2lstudios.flamecord.utils; + +import java.net.InetAddress; +import java.net.InetSocketAddress; +import java.net.UnknownHostException; +import java.util.logging.Level; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.netty.ChannelWrapper; + +public class IPUtils { + public static InetAddress getAddress(UserConnection userCon) { + return userCon.getAddress().getAddress(); + } + + public static InetAddress getAddress(ChannelWrapper wrapper) { + return ((InetSocketAddress)wrapper.getRemoteAddress()).getAddress(); + } + + public static InetAddress getAddress(String ip) { + try { + return InetAddress.getByName(ip); + } catch (UnknownHostException ex) { + BungeeCord.getInstance().getLogger().log(Level.WARNING, "[FlameCord] Could not get InetAddress for " + ip, ex); + return null; + } + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/PacketUtils.java b/src/main/java/dev/_2lstudios/flamecord/utils/PacketUtils.java new file mode 100644 index 0000000..9dd2d07 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/PacketUtils.java @@ -0,0 +1,362 @@ +package dev._2lstudios.flamecord.utils; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.cached.CachedCaptcha; +import dev._2lstudios.flamecord.antibot.cached.CachedExpPackets; +import dev._2lstudios.flamecord.antibot.cached.CachedMessage; +import dev._2lstudios.flamecord.antibot.cached.CachedPacket; +import dev._2lstudios.flamecord.antibot.cached.CachedPacketType; +import dev._2lstudios.flamecord.antibot.cached.CachedRegistryData; +import dev._2lstudios.flamecord.antibot.cached.CachedTitle; +import dev._2lstudios.flamecord.packets.DefaultSpawnPosition; +import dev._2lstudios.flamecord.packets.EmptyChunkPacket; +import dev._2lstudios.flamecord.packets.JoinGame; +import dev._2lstudios.flamecord.packets.PlayerAbilities; +import dev._2lstudios.flamecord.packets.PlayerPositionAndLook; +import dev._2lstudios.flamecord.packets.SetExp; +import dev._2lstudios.flamecord.packets.SetSlot; +import dev._2lstudios.flamecord.packets.TimeUpdate; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.ByteBufAllocator; +import io.netty.channel.Channel; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.EnumMap; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Random; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.packet.FinishConfiguration; +import net.md_5.bungee.protocol.packet.GameState; +import net.md_5.bungee.protocol.packet.KeepAlive; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public class PacketUtils { + public static final CachedCaptcha captchas = new CachedCaptcha(); + public static final List chunksPackets = new ArrayList(); + private static final Map kickMessagesGame = new HashMap(3); + private static final Map kickMessagesLogin = new HashMap(4); + private static final Map configurationRegistry = new HashMap(); + public static int PROTOCOLS_COUNT; + public static int CLIENTID; + public static int KEEPALIVE_ID; + public static CachedExpPackets expPackets; + private static final Map cachedPackets; + public static final Map titles; + public static final Map messages; + private static int[] VERSION_REWRITE; + + public static ByteBuf createPacket(DefinedPacket packet, Protocol protocol, int id, int protocolVersion) { + ByteBuf tempBuffer = ByteBufAllocator.DEFAULT.buffer(); + DefinedPacket.writeVarInt(id, tempBuffer); + if (protocol == null) { + packet.write(tempBuffer, ProtocolConstants.Direction.TO_CLIENT, protocolVersion); + } else { + packet.write(tempBuffer, protocol, ProtocolConstants.Direction.TO_CLIENT, protocolVersion); + } + + byte[] bytes = new byte[tempBuffer.readableBytes()]; + tempBuffer.readBytes(bytes); + tempBuffer.release(); + return ByteBufAllocator.DEFAULT.buffer().writeBytes(bytes); + } + + public static ByteBuf createPacket(DefinedPacket packet, int id, int protocolVersion) { + return createPacket(packet, (Protocol)null, id, protocolVersion); + } + + public static void release() { + if (expPackets != null) { + expPackets.release(); + } + + for(CachedPacket packet : cachedPackets.values()) { + if (packet != null) { + packet.release(); + } + } + + for(CachedTitle title : titles.values()) { + if (title != null) { + title.release(); + } + } + + for(CachedPacket packet : kickMessagesGame.values()) { + packet.release(); + } + + for(CachedMessage message : messages.values()) { + if (message != null) { + message.release(); + } + } + + for(CachedRegistryData packets : configurationRegistry.values()) { + packets.release(); + } + + captchas.releaseAndClear(); + } + + public static void init() { + Arrays.fill(VERSION_REWRITE, -1); + + for (int i = 0; i < ProtocolConstants.SUPPORTED_VERSION_IDS.size(); i++) { + int version = ProtocolConstants.SUPPORTED_VERSION_IDS.get(i); + VERSION_REWRITE[version] = i; + } + + release(); + kickMessagesGame.clear(); + expPackets = new CachedExpPackets(); + titles.put(CachedPacketType.CHECK_IN_PROGRESS_TITLE, new CachedTitle(ProxyServer.getInstance().getTranslation("antibot_limbo_check_in_progress"), 5, 90, 15)); + titles.put(CachedPacketType.ENTER_CAPTCHA_TITLE, new CachedTitle(ProxyServer.getInstance().getTranslation("antibot_limbo_enter_captcha"), 5, 35, 10)); + titles.put(CachedPacketType.CHECK_COMPLETED_TYPE, new CachedTitle(ProxyServer.getInstance().getTranslation("antibot_limbo_check_completed"), 5, 20, 10)); + int dimensionType = FlameCord.getInstance().getFlameCordConfiguration().getAntibotLimboDimension(); + Dimension dimension = dimensionType == 2 ? Dimension.THE_END : (dimensionType == 1 ? Dimension.THE_NETHER : Dimension.OVERWORLD); + EnumMap packets = new EnumMap(CachedPacketType.class); + packets.put(CachedPacketType.LOGIN, new JoinGame(CLIENTID, dimension)); + packets.put(CachedPacketType.TIME, new TimeUpdate(1L, 23700L)); + packets.put(CachedPacketType.PLAYERABILITIES, new PlayerAbilities((byte)6, 0.0F, 0.0F)); + packets.put(CachedPacketType.PLAYERPOSANDLOOK_CAPTCHA, new PlayerPositionAndLook((double)7.0F, (double)120.0F, (double)7.0F, 90.0F, 38.0F, 9876, false)); + packets.put(CachedPacketType.SETSLOT_MAP, new SetSlot(0, 36, 358, 1, 0)); + packets.put(CachedPacketType.SETSLOT_RESET, new SetSlot(0, 36, -1, 0, 0)); + packets.put(CachedPacketType.KEEPALIVE, new KeepAlive((long)KEEPALIVE_ID)); + packets.put(CachedPacketType.PLAYERPOSANDLOOK, new PlayerPositionAndLook((double)7.0F, (double)120.0F, (double)7.0F, 90.0F, 10.0F, 9876, false)); + packets.put(CachedPacketType.SETEXP_RESET, new SetExp(0.0F, 0, 0)); + packets.put(CachedPacketType.BRAND, createBrand(false)); + packets.put(CachedPacketType.BRAND_MODERN, createBrand(true)); + packets.put(CachedPacketType.DEFAULT_SPAWN_POSITION, new DefaultSpawnPosition(7, 120, 7, 123.0F)); + packets.put(CachedPacketType.FINISH_CONFIGURATION, new FinishConfiguration()); + packets.put(CachedPacketType.GAME_STATE, new GameState((short)13, 0.0F)); + + for(Map.Entry entry : packets.entrySet()) { + cachedPackets.put((CachedPacketType)entry.getKey(), new CachedPacket((DefinedPacket)entry.getValue(), new Protocol[]{Protocol.BOTFILTER, Protocol.BOTFILTER_CONFIGURATION, Protocol.GAME, Protocol.CONFIGURATION})); + } + + for(int version : Arrays.asList(764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774)) { + configurationRegistry.put(version, new CachedRegistryData(dimension, version)); + } + + if (chunksPackets.isEmpty()) { + for(int x = -1; x <= 1; ++x) { + for(int z = -1; z <= 1; ++z) { + chunksPackets.add(new CachedPacket(new EmptyChunkPacket(x, z), new Protocol[]{Protocol.BOTFILTER})); + } + } + } + + messages.put(CachedPacketType.CAPTCHA_FAILED_2_MSG, new CachedMessage(ProxyServer.getInstance().getTranslation("antibot_limbo_wrong_captcha"))); + messages.put(CachedPacketType.CAPTCHA_FAILED_1_MSG, new CachedMessage(ProxyServer.getInstance().getTranslation("antibot_limbo_wrong_captcha"))); + messages.put(CachedPacketType.CHECKING_MSG, new CachedMessage(ProxyServer.getInstance().getTranslation("antibot_limbo_wait_verification"))); + messages.put(CachedPacketType.CHECKING_CAPTCHA_MSG, new CachedMessage(ProxyServer.getInstance().getTranslation("antibot_limbo_enter_number"))); + messages.put(CachedPacketType.CHECK_SUS_MSG, new CachedMessage(ProxyServer.getInstance().getTranslation("antibot_limbo_verification_passed"))); + Protocol kickGame = Protocol.GAME; + Protocol kickLogin = Protocol.LOGIN; + CachedPacket failedMessage = new CachedPacket(createKickPacket(ProxyServer.getInstance().getTranslation("antibot_limbo_kick")), new Protocol[]{kickGame}); + kickMessagesGame.put(PacketUtils.KickType.PING, new CachedPacket(createKickPacket(ProxyServer.getInstance().getTranslation("antibot_limbo_high_latency")), new Protocol[]{kickGame})); + kickMessagesGame.put(PacketUtils.KickType.FAILED_CAPTCHA, failedMessage); + kickMessagesGame.put(PacketUtils.KickType.FAILED_FALLING, failedMessage); + kickMessagesGame.put(PacketUtils.KickType.TIMED_OUT, failedMessage); + kickMessagesGame.put(PacketUtils.KickType.BIG_PACKET, new CachedPacket(createKickPacket(ProxyServer.getInstance().getTranslation("antibot_limbo_too_big_packet")), new Protocol[]{kickGame})); + kickMessagesLogin.put(PacketUtils.KickType.PING, new CachedPacket(createKickPacket(String.join("", ProxyServer.getInstance().getTranslation("antibot_limbo_requires_ping"))), new Protocol[]{kickLogin})); + kickMessagesLogin.put(PacketUtils.KickType.MANYCHECKS, new CachedPacket(createKickPacket(ProxyServer.getInstance().getTranslation("antibot_limbo_too_many_checks")), new Protocol[]{kickLogin})); + } + + private static DefinedPacket createKickPacket(String message) { + return new Kick(TextComponent.fromLegacy(message)); + } + + private static PluginMessage createBrand(boolean modern) { + String var10000 = ProxyServer.getInstance().getName(); + String text = var10000 + " (" + ProxyServer.getInstance().getVersion() + ")"; + String channel = modern ? "minecraft:brand" : "MC|Brand"; + ByteBuf brand = ByteBufAllocator.DEFAULT.heapBuffer(); + DefinedPacket.writeString(text, brand); + PluginMessage packet = new PluginMessage(channel, DefinedPacket.toArray(brand), false); + brand.release(); + return packet; + } + + public static int getPacketId(DefinedPacket packet, int version, Protocol protocol) { + try { + return protocol.TO_CLIENT.getId(packet.getClass(), version); + } catch (Exception var4) { + System.out.println("No ID found for packet " + String.valueOf(packet.getClass()) + " for version " + version + " protocol " + String.valueOf(protocol)); + return -1; + } + } + + public static Protocol findProtocolContainsPacket(DefinedPacket packet, int version, Protocol... protocols) { + for(Protocol protocol : protocols) { + try { + protocol.TO_CLIENT.getId(packet.getClass(), version); + return protocol; + } catch (Exception var8) { + } + } + + return null; + } + + public static void releaseByteBuf(ByteBuf buf) { + if (buf != null && buf.refCnt() != 0) { + while(buf.refCnt() != 0) { + buf.release(); + } + } + + } + + public static void fillPackets(Map bufs, DefinedPacket packet, Protocol... protocols) { + if (packet != null) { + for(int version : ProtocolConstants.SUPPORTED_VERSION_IDS) { + Protocol protocol = findProtocolContainsPacket(packet, version, protocols); + if (protocol != null) { + int id = getPacketId(packet, version, protocol); + if (id != -1) { + if (bufs.containsKey(version)) { + System.out.println("===> Duplicated Packet Detected <==="); + System.out.println("Packet Class: " + packet.getClass().getName()); + System.out.println("Protocol Version: " + version); + System.out.println("Packet ID: " + id); + System.out.println("Protocol: " + protocol.getClass().getName()); + } else { + bufs.put(version, createPacket(packet, protocol, id, version)); + } + } + } + } + + } + } + + public static void fillArray(ByteBuf[] buffer, DefinedPacket packet, Protocol... protocols) { + fillArray(buffer, packet, 0, Integer.MAX_VALUE, protocols); + } + + public static void fillArray(ByteBuf[] buffer, DefinedPacket packet, int from, int to, Protocol... protocols) { + if (packet != null) { + int oldPacketId = -1; + ByteBuf oldBuf = null; + + for(int version : ProtocolConstants.SUPPORTED_VERSION_IDS) { + if (version >= from && version <= to) { + int versionRewrited = rewriteVersion(version); + Protocol protocol = findProtocolContainsPacket(packet, version, protocols); + if (protocol != null) { + int newPacketId = getPacketId(packet, version, protocol); + if (newPacketId != -1) { + if (newPacketId != oldPacketId) { + oldPacketId = newPacketId; + oldBuf = createPacket(packet, protocol, newPacketId, version); + buffer[versionRewrited] = oldBuf; + } else { + ByteBuf newBuf = createPacket(packet, protocol, oldPacketId, version); + if (newBuf.equals(oldBuf)) { + buffer[versionRewrited] = oldBuf; + newBuf.release(); + } else { + oldBuf = newBuf; + buffer[versionRewrited] = newBuf; + } + } + } + } + } + } + + } + } + + public static int rewriteVersion(int version) { + int rewritten = VERSION_REWRITE[version]; + if (rewritten == -1) { + throw new IllegalArgumentException("Version is not supported"); + } else { + return rewritten; + } + } + + public static void configure(Channel channel, int version) { + if (version >= 764) { + if (!configurationRegistry.containsKey(version)) { + throw new IllegalArgumentException("Version " + version + " is not supported"); + } + + ((CachedRegistryData)configurationRegistry.get(version)).write(channel); + channel.write(getCachedPacket(CachedPacketType.FINISH_CONFIGURATION).get(version), channel.voidPromise()); + } + + channel.flush(); + } + + public static void spawnPlayer(Channel channel, int version, boolean disableFall, boolean captcha) { + channel.write(getCachedPacket(CachedPacketType.LOGIN).get(version), channel.voidPromise()); + channel.write(getCachedPacket(version >= 393 ? CachedPacketType.BRAND_MODERN : CachedPacketType.BRAND).get(version), channel.voidPromise()); + if (version >= 765) { + channel.write(getCachedPacket(CachedPacketType.GAME_STATE).get(version), channel.voidPromise()); + } + + for(CachedPacket cachedPacket : chunksPackets) { + channel.write(cachedPacket.get(version), channel.voidPromise()); + } + + if (disableFall) { + channel.write(getCachedPacket(CachedPacketType.PLAYERABILITIES).get(version), channel.voidPromise()); + } + + channel.write(getCachedPacket(CachedPacketType.DEFAULT_SPAWN_POSITION).get(version), channel.voidPromise()); + if (captcha) { + channel.write(getCachedPacket(CachedPacketType.PLAYERPOSANDLOOK_CAPTCHA).get(version), channel.voidPromise()); + } else { + channel.write(getCachedPacket(CachedPacketType.PLAYERPOSANDLOOK).get(version), channel.voidPromise()); + } + + channel.write(getCachedPacket(CachedPacketType.TIME).get(version), channel.voidPromise()); + channel.flush(); + } + + public static void kickPlayer(KickType kick, Protocol protocol, ChannelWrapper wrapper, int version) { + if (wrapper.getHandle().isActive() && !wrapper.isClosed() && !wrapper.isClosing()) { + if (protocol == Protocol.GAME) { + wrapper.close(((CachedPacket)kickMessagesGame.get(kick)).get(version)); + } else { + wrapper.close(((CachedPacket)kickMessagesLogin.get(kick)).get(version)); + } + + } + } + + public static CachedPacket getCachedPacket(CachedPacketType type) { + return (CachedPacket)cachedPackets.get(type); + } + + static { + PROTOCOLS_COUNT = ProtocolConstants.SUPPORTED_VERSION_IDS.size(); + CLIENTID = (new Random()).nextInt(2147483547) + 50; + KEEPALIVE_ID = 9876; + cachedPackets = new EnumMap(CachedPacketType.class); + titles = new EnumMap(CachedPacketType.class); + messages = new EnumMap(CachedPacketType.class); + VERSION_REWRITE = new int[1024]; + } + + public static enum KickType { + MANYCHECKS, + FAILED_CAPTCHA, + FAILED_FALLING, + TIMED_OUT, + LEAVED, + BIG_PACKET, + PING; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/ProtocolUtil.java b/src/main/java/dev/_2lstudios/flamecord/utils/ProtocolUtil.java new file mode 100644 index 0000000..9900c37 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/ProtocolUtil.java @@ -0,0 +1,28 @@ +package dev._2lstudios.flamecord.utils; + +import io.netty.buffer.ByteBuf; + +public class ProtocolUtil { + private static int SEGMENT_BITS = 127; + private static int CONTINUE_BIT = 128; + + public static int readVarInt(ByteBuf byteBuf) { + int value = 0; + int position = 0; + + while(byteBuf.isReadable()) { + byte currentByte = byteBuf.readByte(); + value |= (currentByte & SEGMENT_BITS) << position; + if ((currentByte & CONTINUE_BIT) == 0) { + break; + } + + position += 7; + if (position >= 32) { + return -1; + } + } + + return value; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/Util.java b/src/main/java/dev/_2lstudios/flamecord/utils/Util.java new file mode 100644 index 0000000..57d51ad --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/Util.java @@ -0,0 +1,75 @@ +package dev._2lstudios.flamecord.utils; + +import com.google.common.base.Joiner; +import com.google.common.primitives.UnsignedLongs; +import io.netty.channel.unix.DomainSocketAddress; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.net.URI; +import java.net.URISyntaxException; +import java.util.Locale; +import java.util.UUID; + +public class Util { + public static final int DEFAULT_PORT = 25565; + + public static SocketAddress getAddr(String hostline) { + URI uri = null; + + try { + uri = new URI(hostline); + } catch (URISyntaxException var4) { + } + + if (uri != null && "unix".equals(uri.getScheme())) { + return new DomainSocketAddress(uri.getPath()); + } else { + if (uri == null || uri.getHost() == null) { + try { + uri = new URI("tcp://" + hostline); + } catch (URISyntaxException ex) { + throw new IllegalArgumentException("Bad hostline: " + hostline, ex); + } + } + + if (uri.getHost() == null) { + throw new IllegalArgumentException("Invalid host/address: " + hostline); + } else { + return new InetSocketAddress(uri.getHost(), uri.getPort() == -1 ? 25565 : uri.getPort()); + } + } + } + + public static String hex(int i) { + return String.format("0x%02X", i); + } + + public static String unicode(char c) { + String var10000 = String.format("%04x", c); + return "\\u" + var10000.toUpperCase(Locale.ROOT); + } + + public static String exception(Throwable t) { + return exception(t, true); + } + + public static String exception(Throwable t, boolean includeLineNumbers) { + StackTraceElement[] trace = t.getStackTrace(); + String var10000 = t.getClass().getSimpleName(); + return var10000 + " : " + t.getMessage() + (includeLineNumbers && trace.length > 0 ? " @ " + t.getStackTrace()[0].getClassName() + ":" + t.getStackTrace()[0].getLineNumber() : ""); + } + + public static String csv(Iterable objects) { + return format(objects, ", "); + } + + /** @deprecated */ + @Deprecated + public static String format(Iterable objects, String separators) { + return Joiner.on(separators).join(objects); + } + + public static UUID getUUID(String uuid) { + return new UUID(UnsignedLongs.parseUnsignedLong(uuid.substring(0, 16), 16), UnsignedLongs.parseUnsignedLong(uuid.substring(16), 16)); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/IridiumColorAPI.java b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/IridiumColorAPI.java new file mode 100644 index 0000000..0412693 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/IridiumColorAPI.java @@ -0,0 +1,165 @@ +package dev._2lstudios.flamecord.utils.iridiumcolorapi; + +import com.google.common.collect.ImmutableMap; +import dev._2lstudios.flamecord.utils.iridiumcolorapi.patterns.GradientPattern; +import dev._2lstudios.flamecord.utils.iridiumcolorapi.patterns.Pattern; +import dev._2lstudios.flamecord.utils.iridiumcolorapi.patterns.RainbowPattern; +import dev._2lstudios.flamecord.utils.iridiumcolorapi.patterns.SolidPattern; +import java.awt.Color; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import net.md_5.bungee.api.ChatColor; + +public class IridiumColorAPI { + private static final List SPECIAL_COLORS = Arrays.asList("&l", "&n", "&o", "&k", "&m", "\u00a7l", "\u00a7n", "\u00a7o", "\u00a7k", "\u00a7m"); + private static final Map COLORS = ImmutableMap.builder() + .put(new Color(0), ChatColor.getByChar('0')) + .put(new Color(170), ChatColor.getByChar('1')) + .put(new Color(43520), ChatColor.getByChar('2')) + .put(new Color(43690), ChatColor.getByChar('3')) + .put(new Color(11141120), ChatColor.getByChar('4')) + .put(new Color(11141290), ChatColor.getByChar('5')) + .put(new Color(16755200), ChatColor.getByChar('6')) + .put(new Color(11184810), ChatColor.getByChar('7')) + .put(new Color(5592405), ChatColor.getByChar('8')) + .put(new Color(5592575), ChatColor.getByChar('9')) + .put(new Color(5635925), ChatColor.getByChar('a')) + .put(new Color(5636095), ChatColor.getByChar('b')) + .put(new Color(16733525), ChatColor.getByChar('c')) + .put(new Color(16733695), ChatColor.getByChar('d')) + .put(new Color(16777045), ChatColor.getByChar('e')) + .put(new Color(16777215), ChatColor.getByChar('f')) + .build(); + private static final List PATTERNS = Arrays.asList(new GradientPattern(), new SolidPattern(), new RainbowPattern()); + + private static final boolean SUPPORTS_RGB(int protocol) { + return protocol >= 735; + } + + public static String process(String string, int protocol) { + for(Pattern pattern : PATTERNS) { + string = pattern.process(string, protocol); + } + + string = ChatColor.translateAlternateColorCodes('&', string); + return string; + } + + public static List process(Collection strings, int protocol) { + return (List)strings.stream().map((s) -> process(s, protocol)).collect(Collectors.toList()); + } + + public static String color(String string, Color color, int protocol) { + String var10000 = String.valueOf(SUPPORTS_RGB(protocol) ? ChatColor.of(color) : getClosestColor(color)); + return var10000 + string; + } + + public static String color(String string, Color start, Color end, int protocol) { + ChatColor[] colors = createGradient(start, end, withoutSpecialChar(string).length(), protocol); + return apply(string, colors); + } + + public static String rainbow(String string, float saturation, int protocol) { + ChatColor[] colors = createRainbow(withoutSpecialChar(string).length(), saturation, protocol); + return apply(string, colors); + } + + public static ChatColor getColor(String string, int protocol) { + return SUPPORTS_RGB(protocol) ? ChatColor.of(new Color(Integer.parseInt(string, 16))) : getClosestColor(new Color(Integer.parseInt(string, 16))); + } + + public static String stripColorFormatting(String string) { + return string.replaceAll("<#[0-9A-F]{6}>|[&\u00a7][a-f0-9lnokm]|<[/]?[A-Z]{5,8}(:[0-9A-F]{6})?[0-9]*>", ""); + } + + private static String apply(String source, ChatColor[] colors) { + StringBuilder specialColors = new StringBuilder(); + StringBuilder stringBuilder = new StringBuilder(); + String[] characters = source.split(""); + int outIndex = 0; + + for(int i = 0; i < characters.length; ++i) { + if (!characters[i].equals("&") && !characters[i].equals("\u00a7")) { + stringBuilder.append(colors[outIndex++]).append(specialColors).append(characters[i]); + } else if (i + 1 < characters.length) { + if (characters[i + 1].equals("r")) { + specialColors.setLength(0); + } else { + specialColors.append(characters[i]); + specialColors.append(characters[i + 1]); + } + + ++i; + } else { + stringBuilder.append(colors[outIndex++]).append(specialColors).append(characters[i]); + } + } + + return stringBuilder.toString(); + } + + private static String withoutSpecialChar(String source) { + String workingString = source; + + for(String color : SPECIAL_COLORS) { + if (workingString.contains(color)) { + workingString = workingString.replace(color, ""); + } + } + + return workingString; + } + + private static ChatColor[] createRainbow(int step, float saturation, int protocol) { + ChatColor[] colors = new ChatColor[step]; + double colorStep = (double)1.0F / (double)step; + + for(int i = 0; i < step; ++i) { + Color color = Color.getHSBColor((float)(colorStep * (double)i), saturation, saturation); + if (SUPPORTS_RGB(protocol)) { + colors[i] = ChatColor.of(color); + } else { + colors[i] = getClosestColor(color); + } + } + + return colors; + } + + private static ChatColor[] createGradient(Color start, Color end, int step, int protocol) { + ChatColor[] colors = new ChatColor[step]; + int stepR = Math.abs(start.getRed() - end.getRed()) / (step - 1); + int stepG = Math.abs(start.getGreen() - end.getGreen()) / (step - 1); + int stepB = Math.abs(start.getBlue() - end.getBlue()) / (step - 1); + int[] direction = new int[]{start.getRed() < end.getRed() ? 1 : -1, start.getGreen() < end.getGreen() ? 1 : -1, start.getBlue() < end.getBlue() ? 1 : -1}; + + for(int i = 0; i < step; ++i) { + Color color = new Color(start.getRed() + stepR * i * direction[0], start.getGreen() + stepG * i * direction[1], start.getBlue() + stepB * i * direction[2]); + if (SUPPORTS_RGB(protocol)) { + colors[i] = ChatColor.of(color); + } else { + colors[i] = getClosestColor(color); + } + } + + return colors; + } + + private static ChatColor getClosestColor(Color color) { + Color nearestColor = null; + double nearestDistance = (double)Integer.MAX_VALUE; + + for(Color constantColor : COLORS.keySet()) { + double distance = Math.pow((double)(color.getRed() - constantColor.getRed()), (double)2.0F) + Math.pow((double)(color.getGreen() - constantColor.getGreen()), (double)2.0F) + Math.pow((double)(color.getBlue() - constantColor.getBlue()), (double)2.0F); + if (nearestDistance > distance) { + nearestColor = constantColor; + nearestDistance = distance; + } + } + + return (ChatColor)COLORS.get(nearestColor); + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/GradientPattern.java b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/GradientPattern.java new file mode 100644 index 0000000..a5623d2 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/GradientPattern.java @@ -0,0 +1,22 @@ +package dev._2lstudios.flamecord.utils.iridiumcolorapi.patterns; + +import dev._2lstudios.flamecord.utils.iridiumcolorapi.IridiumColorAPI; +import java.awt.Color; +import java.util.regex.Matcher; + +public class GradientPattern implements Pattern { + java.util.regex.Pattern pattern = java.util.regex.Pattern.compile("(.*?)"); + + public String process(String string, int protocol) { + String start; + String end; + String content; + for(Matcher matcher = this.pattern.matcher(string); matcher.find(); string = string.replace(matcher.group(), IridiumColorAPI.color(content, new Color(Integer.parseInt(start, 16)), new Color(Integer.parseInt(end, 16)), protocol))) { + start = matcher.group(1); + end = matcher.group(3); + content = matcher.group(2); + } + + return string; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/Pattern.java b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/Pattern.java new file mode 100644 index 0000000..b45aba1 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/Pattern.java @@ -0,0 +1,5 @@ +package dev._2lstudios.flamecord.utils.iridiumcolorapi.patterns; + +public interface Pattern { + String process(String var1, int var2); +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/RainbowPattern.java b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/RainbowPattern.java new file mode 100644 index 0000000..e765665 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/RainbowPattern.java @@ -0,0 +1,19 @@ +package dev._2lstudios.flamecord.utils.iridiumcolorapi.patterns; + +import dev._2lstudios.flamecord.utils.iridiumcolorapi.IridiumColorAPI; +import java.util.regex.Matcher; + +public class RainbowPattern implements Pattern { + java.util.regex.Pattern pattern = java.util.regex.Pattern.compile("(.*?)"); + + public String process(String string, int protocol) { + String saturation; + String content; + for(Matcher matcher = this.pattern.matcher(string); matcher.find(); string = string.replace(matcher.group(), IridiumColorAPI.rainbow(content, Float.parseFloat(saturation), protocol))) { + saturation = matcher.group(1); + content = matcher.group(2); + } + + return string; + } +} diff --git a/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/SolidPattern.java b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/SolidPattern.java new file mode 100644 index 0000000..4121045 --- /dev/null +++ b/src/main/java/dev/_2lstudios/flamecord/utils/iridiumcolorapi/patterns/SolidPattern.java @@ -0,0 +1,25 @@ +package dev._2lstudios.flamecord.utils.iridiumcolorapi.patterns; + +import dev._2lstudios.flamecord.utils.iridiumcolorapi.IridiumColorAPI; +import java.util.regex.Matcher; +import net.md_5.bungee.api.ChatColor; + +public class SolidPattern implements Pattern { + java.util.regex.Pattern pattern = java.util.regex.Pattern.compile("|#\\{([0-9A-Fa-f]{6})}"); + + public String process(String string, int protocol) { + String var10001; + ChatColor var10002; + for(Matcher matcher = this.pattern.matcher(string); matcher.find(); string = string.replace(var10001, "" + String.valueOf(var10002))) { + String color = matcher.group(1); + if (color == null) { + color = matcher.group(2); + } + + var10001 = matcher.group(); + var10002 = IridiumColorAPI.getColor(color, protocol); + } + + return string; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/QueryResult.java b/src/main/java/io/github/waterfallmc/waterfall/QueryResult.java new file mode 100644 index 0000000..46ca91d --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/QueryResult.java @@ -0,0 +1,294 @@ +package io.github.waterfallmc.waterfall; + +import java.util.List; +import lombok.Generated; +import lombok.NonNull; + +public class QueryResult { + private @NonNull String motd; + private @NonNull String gameType; + private @NonNull String worldName; + private int onlinePlayers; + private int maxPlayers; + private int port; + private @NonNull String address; + private @NonNull String gameId; + private final @NonNull List players; + private @NonNull String version; + + @Generated + public @NonNull String getMotd() { + return this.motd; + } + + @Generated + public @NonNull String getGameType() { + return this.gameType; + } + + @Generated + public @NonNull String getWorldName() { + return this.worldName; + } + + @Generated + public int getOnlinePlayers() { + return this.onlinePlayers; + } + + @Generated + public int getMaxPlayers() { + return this.maxPlayers; + } + + @Generated + public int getPort() { + return this.port; + } + + @Generated + public @NonNull String getAddress() { + return this.address; + } + + @Generated + public @NonNull String getGameId() { + return this.gameId; + } + + @Generated + public @NonNull List getPlayers() { + return this.players; + } + + @Generated + public @NonNull String getVersion() { + return this.version; + } + + @Generated + public void setMotd(@NonNull String motd) { + if (motd == null) { + throw new NullPointerException("motd is marked non-null but is null"); + } else { + this.motd = motd; + } + } + + @Generated + public void setGameType(@NonNull String gameType) { + if (gameType == null) { + throw new NullPointerException("gameType is marked non-null but is null"); + } else { + this.gameType = gameType; + } + } + + @Generated + public void setWorldName(@NonNull String worldName) { + if (worldName == null) { + throw new NullPointerException("worldName is marked non-null but is null"); + } else { + this.worldName = worldName; + } + } + + @Generated + public void setOnlinePlayers(int onlinePlayers) { + this.onlinePlayers = onlinePlayers; + } + + @Generated + public void setMaxPlayers(int maxPlayers) { + this.maxPlayers = maxPlayers; + } + + @Generated + public void setPort(int port) { + this.port = port; + } + + @Generated + public void setAddress(@NonNull String address) { + if (address == null) { + throw new NullPointerException("address is marked non-null but is null"); + } else { + this.address = address; + } + } + + @Generated + public void setGameId(@NonNull String gameId) { + if (gameId == null) { + throw new NullPointerException("gameId is marked non-null but is null"); + } else { + this.gameId = gameId; + } + } + + @Generated + public void setVersion(@NonNull String version) { + if (version == null) { + throw new NullPointerException("version is marked non-null but is null"); + } else { + this.version = version; + } + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof QueryResult)) { + return false; + } else { + QueryResult other = (QueryResult)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getOnlinePlayers() != other.getOnlinePlayers()) { + return false; + } else if (this.getMaxPlayers() != other.getMaxPlayers()) { + return false; + } else if (this.getPort() != other.getPort()) { + return false; + } else { + Object this$motd = this.getMotd(); + Object other$motd = other.getMotd(); + if (this$motd == null) { + if (other$motd != null) { + return false; + } + } else if (!this$motd.equals(other$motd)) { + return false; + } + + Object this$gameType = this.getGameType(); + Object other$gameType = other.getGameType(); + if (this$gameType == null) { + if (other$gameType != null) { + return false; + } + } else if (!this$gameType.equals(other$gameType)) { + return false; + } + + Object this$worldName = this.getWorldName(); + Object other$worldName = other.getWorldName(); + if (this$worldName == null) { + if (other$worldName != null) { + return false; + } + } else if (!this$worldName.equals(other$worldName)) { + return false; + } + + Object this$address = this.getAddress(); + Object other$address = other.getAddress(); + if (this$address == null) { + if (other$address != null) { + return false; + } + } else if (!this$address.equals(other$address)) { + return false; + } + + Object this$gameId = this.getGameId(); + Object other$gameId = other.getGameId(); + if (this$gameId == null) { + if (other$gameId != null) { + return false; + } + } else if (!this$gameId.equals(other$gameId)) { + return false; + } + + Object this$players = this.getPlayers(); + Object other$players = other.getPlayers(); + if (this$players == null) { + if (other$players != null) { + return false; + } + } else if (!this$players.equals(other$players)) { + return false; + } + + Object this$version = this.getVersion(); + Object other$version = other.getVersion(); + if (this$version == null) { + if (other$version != null) { + return false; + } + } else if (!this$version.equals(other$version)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof QueryResult; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getOnlinePlayers(); + result = result * 59 + this.getMaxPlayers(); + result = result * 59 + this.getPort(); + Object $motd = this.getMotd(); + result = result * 59 + ($motd == null ? 43 : $motd.hashCode()); + Object $gameType = this.getGameType(); + result = result * 59 + ($gameType == null ? 43 : $gameType.hashCode()); + Object $worldName = this.getWorldName(); + result = result * 59 + ($worldName == null ? 43 : $worldName.hashCode()); + Object $address = this.getAddress(); + result = result * 59 + ($address == null ? 43 : $address.hashCode()); + Object $gameId = this.getGameId(); + result = result * 59 + ($gameId == null ? 43 : $gameId.hashCode()); + Object $players = this.getPlayers(); + result = result * 59 + ($players == null ? 43 : $players.hashCode()); + Object $version = this.getVersion(); + result = result * 59 + ($version == null ? 43 : $version.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getMotd(); + return "QueryResult(motd=" + var10000 + ", gameType=" + this.getGameType() + ", worldName=" + this.getWorldName() + ", onlinePlayers=" + this.getOnlinePlayers() + ", maxPlayers=" + this.getMaxPlayers() + ", port=" + this.getPort() + ", address=" + this.getAddress() + ", gameId=" + this.getGameId() + ", players=" + String.valueOf(this.getPlayers()) + ", version=" + this.getVersion() + ")"; + } + + @Generated + public QueryResult(@NonNull String motd, @NonNull String gameType, @NonNull String worldName, int onlinePlayers, int maxPlayers, int port, @NonNull String address, @NonNull String gameId, @NonNull List players, @NonNull String version) { + if (motd == null) { + throw new NullPointerException("motd is marked non-null but is null"); + } else if (gameType == null) { + throw new NullPointerException("gameType is marked non-null but is null"); + } else if (worldName == null) { + throw new NullPointerException("worldName is marked non-null but is null"); + } else if (address == null) { + throw new NullPointerException("address is marked non-null but is null"); + } else if (gameId == null) { + throw new NullPointerException("gameId is marked non-null but is null"); + } else if (players == null) { + throw new NullPointerException("players is marked non-null but is null"); + } else if (version == null) { + throw new NullPointerException("version is marked non-null but is null"); + } else { + this.motd = motd; + this.gameType = gameType; + this.worldName = worldName; + this.onlinePlayers = onlinePlayers; + this.maxPlayers = maxPlayers; + this.port = port; + this.address = address; + this.gameId = gameId; + this.players = players; + this.version = version; + } + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java b/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java new file mode 100644 index 0000000..9b0d959 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/conf/WaterfallConfiguration.java @@ -0,0 +1,63 @@ +package io.github.waterfallmc.waterfall.conf; + +import java.io.File; +import net.md_5.bungee.conf.Configuration; +import net.md_5.bungee.conf.YamlConfig; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class WaterfallConfiguration extends Configuration { + private boolean logInitialHandlerConnections = true; + private String gameVersion; + private boolean useNettyDnsResolver = true; + private int tabThrottle = 1000; + private boolean disableModernTabLimiter = true; + private boolean disableTabListRewrite = true; + private int pluginChannelLimit = 128; + private int pluginChannelNameLimit = 128; + + public void load() { + super.load(); + YamlConfig config = new YamlConfig(new File("waterfall.yml")); + config.load(false); + this.logInitialHandlerConnections = config.getBoolean("log_initial_handler_connections", this.logInitialHandlerConnections); + this.gameVersion = config.getString("game_version", "").isEmpty() ? (String)ProtocolConstants.SUPPORTED_VERSIONS.get(0) + "-" + (String)ProtocolConstants.SUPPORTED_VERSIONS.get(ProtocolConstants.SUPPORTED_VERSIONS.size() - 1) : config.getString("game_version", ""); + this.useNettyDnsResolver = config.getBoolean("use_netty_dns_resolver", this.useNettyDnsResolver); + this.tabThrottle = config.getInt("throttling.tab_complete", this.tabThrottle); + this.disableModernTabLimiter = config.getBoolean("disable_modern_tab_limiter", this.disableModernTabLimiter); + this.disableTabListRewrite = config.getBoolean("disable_tab_list_rewrite", this.disableTabListRewrite); + this.pluginChannelLimit = config.getInt("registered_plugin_channels_limit", this.pluginChannelLimit); + this.pluginChannelNameLimit = config.getInt("plugin_channel_name_limit", this.pluginChannelNameLimit); + } + + public boolean isLogInitialHandlerConnections() { + return this.logInitialHandlerConnections; + } + + public String getGameVersion() { + return this.gameVersion; + } + + public boolean isUseNettyDnsResolver() { + return this.useNettyDnsResolver; + } + + public int getTabThrottle() { + return this.tabThrottle; + } + + public boolean isDisableModernTabLimiter() { + return this.disableModernTabLimiter; + } + + public boolean isDisableTabListRewrite() { + return this.disableTabListRewrite; + } + + public int getPluginChannelLimit() { + return this.pluginChannelLimit; + } + + public int getPluginChannelNameLimit() { + return this.pluginChannelNameLimit; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/console/ConsoleCommandCompleter.java b/src/main/java/io/github/waterfallmc/waterfall/console/ConsoleCommandCompleter.java new file mode 100644 index 0000000..b6ccdc5 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/console/ConsoleCommandCompleter.java @@ -0,0 +1,26 @@ +package io.github.waterfallmc.waterfall.console; + +import java.util.List; +import net.md_5.bungee.api.ProxyServer; +import org.jline.reader.Candidate; +import org.jline.reader.Completer; +import org.jline.reader.LineReader; +import org.jline.reader.ParsedLine; + +final class ConsoleCommandCompleter implements Completer { + private final ProxyServer proxy; + + ConsoleCommandCompleter(ProxyServer proxy) { + this.proxy = proxy; + } + + public void complete(LineReader reader, ParsedLine line, List candidates) { + List suggestions = this.proxy.getPluginManager().tabCompleteCommand(this.proxy.getConsole(), line.line()); + if (!suggestions.isEmpty()) { + for(String suggestion : suggestions) { + candidates.add(new Candidate(suggestion)); + } + + } + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/console/HexFormattingConverter.java b/src/main/java/io/github/waterfallmc/waterfall/console/HexFormattingConverter.java new file mode 100644 index 0000000..eb89809 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/console/HexFormattingConverter.java @@ -0,0 +1,134 @@ +package io.github.waterfallmc.waterfall.console; + +import java.util.List; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import net.minecrell.terminalconsole.TerminalConsoleAppender; +import org.apache.logging.log4j.core.LogEvent; +import org.apache.logging.log4j.core.config.Configuration; +import org.apache.logging.log4j.core.config.plugins.Plugin; +import org.apache.logging.log4j.core.layout.PatternLayout; +import org.apache.logging.log4j.core.pattern.ConverterKeys; +import org.apache.logging.log4j.core.pattern.LogEventPatternConverter; +import org.apache.logging.log4j.core.pattern.PatternFormatter; +import org.apache.logging.log4j.core.pattern.PatternParser; +import org.apache.logging.log4j.util.PerformanceSensitive; +import org.apache.logging.log4j.util.PropertiesUtil; + +@Plugin( + name = "paperMinecraftFormatting", + category = "Converter" +) +@ConverterKeys({"paperMinecraftFormatting"}) +@PerformanceSensitive({"allocation"}) +public final class HexFormattingConverter extends LogEventPatternConverter { + private static final boolean KEEP_FORMATTING = PropertiesUtil.getProperties().getBooleanProperty("terminal.keepMinecraftFormatting"); + private static final String ANSI_RESET = "\u001b[m"; + private static final char COLOR_CHAR = '\u00a7'; + private static final String LOOKUP = "0123456789abcdefklmnor"; + private static final String RGB_ANSI = "\u001b[38;2;%d;%d;%dm"; + private static final Pattern NAMED_PATTERN = Pattern.compile("\u00a7[0-9a-fk-orA-FK-OR]"); + private static final Pattern RGB_PATTERN = Pattern.compile("\u00a7x(\u00a7[0-9a-fA-F]){6}"); + private static final String[] ansiCodes = new String[]{"\u001b[0;30m", "\u001b[0;34m", "\u001b[0;32m", "\u001b[0;36m", "\u001b[0;31m", "\u001b[0;35m", "\u001b[0;33m", "\u001b[0;37m", "\u001b[0;30;1m", "\u001b[0;34;1m", "\u001b[0;32;1m", "\u001b[0;36;1m", "\u001b[0;31;1m", "\u001b[0;35;1m", "\u001b[0;33;1m", "\u001b[0;37;1m", "\u001b[5m", "\u001b[21m", "\u001b[9m", "\u001b[4m", "\u001b[3m", "\u001b[m"}; + private final boolean ansi; + private final List formatters; + + protected HexFormattingConverter(List formatters, boolean strip) { + super("paperMinecraftFormatting", (String)null); + this.formatters = formatters; + this.ansi = !strip; + } + + public void format(LogEvent event, StringBuilder toAppendTo) { + int start = toAppendTo.length(); + int i = 0; + + for(int size = this.formatters.size(); i < size; ++i) { + ((PatternFormatter)this.formatters.get(i)).format(event, toAppendTo); + } + + if (!KEEP_FORMATTING && toAppendTo.length() != start) { + boolean useAnsi = this.ansi && TerminalConsoleAppender.isAnsiSupported(); + String content = useAnsi ? convertRGBColors(toAppendTo.substring(start)) : stripRGBColors(toAppendTo.substring(start)); + format(content, toAppendTo, start, useAnsi); + } + } + + private static String convertRGBColors(String input) { + Matcher matcher = RGB_PATTERN.matcher(input); + StringBuffer buffer = new StringBuffer(); + + while(matcher.find()) { + String s = matcher.group().replace(String.valueOf('\u00a7'), "").replace('x', '#'); + int hex = Integer.decode(s); + int red = hex >> 16 & 255; + int green = hex >> 8 & 255; + int blue = hex & 255; + String replacement = String.format("\u001b[38;2;%d;%d;%dm", red, green, blue); + matcher.appendReplacement(buffer, replacement); + } + + matcher.appendTail(buffer); + return buffer.toString(); + } + + private static String stripRGBColors(String input) { + Matcher matcher = RGB_PATTERN.matcher(input); + StringBuffer buffer = new StringBuffer(); + + while(matcher.find()) { + matcher.appendReplacement(buffer, ""); + } + + matcher.appendTail(buffer); + return buffer.toString(); + } + + static void format(String content, StringBuilder result, int start, boolean ansi) { + int next = content.indexOf(167); + int last = content.length() - 1; + if (next != -1 && next != last) { + Matcher matcher = NAMED_PATTERN.matcher(content); + StringBuffer buffer = new StringBuffer(); + + while(matcher.find()) { + int format = "0123456789abcdefklmnor".indexOf(Character.toLowerCase(matcher.group().charAt(1))); + if (format != -1) { + matcher.appendReplacement(buffer, ansi ? ansiCodes[format] : ""); + } + } + + matcher.appendTail(buffer); + result.setLength(start); + result.append(buffer.toString()); + if (ansi) { + result.append("\u001b[m"); + } + + } else { + result.setLength(start); + result.append(content); + if (ansi) { + result.append("\u001b[m"); + } + + } + } + + public static HexFormattingConverter newInstance(Configuration config, String[] options) { + if (options.length >= 1 && options.length <= 2) { + if (options[0] == null) { + LOGGER.error("No pattern supplied on paperMinecraftFormatting"); + return null; + } else { + PatternParser parser = PatternLayout.createPatternParser(config); + List formatters = parser.parse(options[0]); + boolean strip = options.length > 1 && "strip".equals(options[1]); + return new HexFormattingConverter(formatters, strip); + } + } else { + LOGGER.error("Incorrect number of options on paperMinecraftFormatting. Expected at least 1, max 2 received " + options.length); + return null; + } + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/console/WaterfallConsole.java b/src/main/java/io/github/waterfallmc/waterfall/console/WaterfallConsole.java new file mode 100644 index 0000000..7993373 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/console/WaterfallConsole.java @@ -0,0 +1,32 @@ +package io.github.waterfallmc.waterfall.console; + +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.ComponentBuilder; +import net.minecrell.terminalconsole.SimpleTerminalConsole; +import org.jline.reader.LineReader; +import org.jline.reader.LineReaderBuilder; + +public final class WaterfallConsole extends SimpleTerminalConsole { + protected LineReader buildReader(LineReaderBuilder builder) { + ProxyServer proxy = ProxyServer.getInstance(); + return super.buildReader(builder.appName(proxy.getName()).completer(new ConsoleCommandCompleter(proxy))); + } + + protected boolean isRunning() { + return BungeeCord.getInstance().isRunning; + } + + protected void runCommand(String command) { + ProxyServer proxy = ProxyServer.getInstance(); + if (!proxy.getPluginManager().dispatchCommand(proxy.getConsole(), command)) { + proxy.getConsole().sendMessage((new ComponentBuilder("Command not found")).color(ChatColor.RED).create()); + } + + } + + protected void shutdown() { + ProxyServer.getInstance().stop(); + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/event/ConnectionInitEvent.java b/src/main/java/io/github/waterfallmc/waterfall/event/ConnectionInitEvent.java new file mode 100644 index 0000000..e95dc71 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/event/ConnectionInitEvent.java @@ -0,0 +1,45 @@ +package io.github.waterfallmc.waterfall.event; + +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.event.AsyncEvent; +import net.md_5.bungee.api.plugin.Cancellable; + +public class ConnectionInitEvent extends AsyncEvent implements Cancellable { + private final SocketAddress remoteAddress; + private final ListenerInfo listener; + private boolean isCancelled = false; + + public ConnectionInitEvent(SocketAddress remoteAddress, ListenerInfo listener, Callback done) { + super(done); + this.remoteAddress = remoteAddress; + this.listener = listener; + } + + public boolean isCancelled() { + return this.isCancelled; + } + + public void setCancelled(boolean cancel) { + this.isCancelled = cancel; + } + + /** @deprecated */ + @Deprecated + public InetSocketAddress getRemoteAddress() { + return (InetSocketAddress)this.remoteAddress; + } + + public SocketAddress getRemoteSocketAddress() { + return this.remoteAddress; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getRemoteAddress()); + return "ConnectionInitEvent(remoteAddress=" + var10000 + ", listener=" + String.valueOf(this.listener) + ", isCancelled=" + this.isCancelled() + ")"; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/event/ProxyDefineCommandsEvent.java b/src/main/java/io/github/waterfallmc/waterfall/event/ProxyDefineCommandsEvent.java new file mode 100644 index 0000000..fbdaee7 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/event/ProxyDefineCommandsEvent.java @@ -0,0 +1,69 @@ +package io.github.waterfallmc.waterfall.event; + +import java.util.Map; +import lombok.Generated; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.event.TargetedEvent; +import net.md_5.bungee.api.plugin.Command; + +public class ProxyDefineCommandsEvent extends TargetedEvent { + private final Map commands; + + public ProxyDefineCommandsEvent(Connection sender, Connection receiver, Map commands) { + super(sender, receiver); + this.commands = commands; + } + + @Generated + public Map getCommands() { + return this.commands; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "ProxyDefineCommandsEvent(super=" + var10000 + ", commands=" + String.valueOf(this.getCommands()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ProxyDefineCommandsEvent)) { + return false; + } else { + ProxyDefineCommandsEvent other = (ProxyDefineCommandsEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$commands = this.getCommands(); + Object other$commands = other.getCommands(); + if (this$commands == null) { + if (other$commands != null) { + return false; + } + } else if (!this$commands.equals(other$commands)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ProxyDefineCommandsEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $commands = this.getCommands(); + result = result * 59 + ($commands == null ? 43 : $commands.hashCode()); + return result; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/event/ProxyExceptionEvent.java b/src/main/java/io/github/waterfallmc/waterfall/event/ProxyExceptionEvent.java new file mode 100644 index 0000000..f5a119b --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/event/ProxyExceptionEvent.java @@ -0,0 +1,17 @@ +package io.github.waterfallmc.waterfall.event; + +import com.google.common.base.Preconditions; +import io.github.waterfallmc.waterfall.exception.ProxyException; +import net.md_5.bungee.api.plugin.Event; + +public class ProxyExceptionEvent extends Event { + private ProxyException exception; + + public ProxyExceptionEvent(ProxyException exception) { + this.exception = (ProxyException)Preconditions.checkNotNull(exception, "exception"); + } + + public ProxyException getException() { + return this.exception; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/event/ProxyQueryEvent.java b/src/main/java/io/github/waterfallmc/waterfall/event/ProxyQueryEvent.java new file mode 100644 index 0000000..aba50d6 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/event/ProxyQueryEvent.java @@ -0,0 +1,101 @@ +package io.github.waterfallmc.waterfall.event; + +import io.github.waterfallmc.waterfall.QueryResult; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.plugin.Event; + +public class ProxyQueryEvent extends Event { + private final @NonNull ListenerInfo listener; + private @NonNull QueryResult result; + + @Generated + public ProxyQueryEvent(@NonNull ListenerInfo listener, @NonNull QueryResult result) { + if (listener == null) { + throw new NullPointerException("listener is marked non-null but is null"); + } else if (result == null) { + throw new NullPointerException("result is marked non-null but is null"); + } else { + this.listener = listener; + this.result = result; + } + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ProxyQueryEvent)) { + return false; + } else { + ProxyQueryEvent other = (ProxyQueryEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$listener = this.getListener(); + Object other$listener = other.getListener(); + if (this$listener == null) { + if (other$listener != null) { + return false; + } + } else if (!this$listener.equals(other$listener)) { + return false; + } + + Object this$result = this.getResult(); + Object other$result = other.getResult(); + if (this$result == null) { + if (other$result != null) { + return false; + } + } else if (!this$result.equals(other$result)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ProxyQueryEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $listener = this.getListener(); + result = result * 59 + ($listener == null ? 43 : $listener.hashCode()); + Object $result = this.getResult(); + result = result * 59 + ($result == null ? 43 : $result.hashCode()); + return result; + } + + @Generated + public @NonNull ListenerInfo getListener() { + return this.listener; + } + + @Generated + public @NonNull QueryResult getResult() { + return this.result; + } + + @Generated + public void setResult(@NonNull QueryResult result) { + if (result == null) { + throw new NullPointerException("result is marked non-null but is null"); + } else { + this.result = result; + } + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getListener()); + return "ProxyQueryEvent(listener=" + var10000 + ", result=" + String.valueOf(this.getResult()) + ")"; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyCommandException.java b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyCommandException.java new file mode 100644 index 0000000..424cde0 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyCommandException.java @@ -0,0 +1,44 @@ +package io.github.waterfallmc.waterfall.exception; + +import com.google.common.base.Preconditions; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.plugin.Command; + +public class ProxyCommandException extends ProxyException { + private final Command command; + private final CommandSender commandSender; + private final String[] arguments; + + public ProxyCommandException(String message, Throwable cause, Command command, CommandSender commandSender, String[] arguments) { + super(message, cause); + this.commandSender = (CommandSender)Preconditions.checkNotNull(commandSender, "commandSender"); + this.arguments = (String[])Preconditions.checkNotNull(arguments, "arguments"); + this.command = (Command)Preconditions.checkNotNull(command, "command"); + } + + public ProxyCommandException(Throwable cause, Command command, CommandSender commandSender, String[] arguments) { + super(cause); + this.commandSender = (CommandSender)Preconditions.checkNotNull(commandSender, "commandSender"); + this.arguments = (String[])Preconditions.checkNotNull(arguments, "arguments"); + this.command = (Command)Preconditions.checkNotNull(command, "command"); + } + + protected ProxyCommandException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Command command, CommandSender commandSender, String[] arguments) { + super(message, cause, enableSuppression, writableStackTrace); + this.commandSender = (CommandSender)Preconditions.checkNotNull(commandSender, "commandSender"); + this.arguments = (String[])Preconditions.checkNotNull(arguments, "arguments"); + this.command = (Command)Preconditions.checkNotNull(command, "command"); + } + + public Command getCommand() { + return this.command; + } + + public CommandSender getCommandSender() { + return this.commandSender; + } + + public String[] getArguments() { + return this.arguments; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyEventException.java b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyEventException.java new file mode 100644 index 0000000..7dc0ac4 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyEventException.java @@ -0,0 +1,36 @@ +package io.github.waterfallmc.waterfall.exception; + +import com.google.common.base.Preconditions; +import net.md_5.bungee.api.plugin.Event; +import net.md_5.bungee.api.plugin.Listener; + +public class ProxyEventException extends ProxyException { + private final Listener listener; + private final Event event; + + public ProxyEventException(String message, Throwable cause, Listener listener, Event event) { + super(message, cause); + this.listener = (Listener)Preconditions.checkNotNull(listener, "listener"); + this.event = (Event)Preconditions.checkNotNull(event, "event"); + } + + public ProxyEventException(Throwable cause, Listener listener, Event event) { + super(cause); + this.listener = (Listener)Preconditions.checkNotNull(listener, "listener"); + this.event = (Event)Preconditions.checkNotNull(event, "event"); + } + + protected ProxyEventException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Listener listener, Event event) { + super(message, cause, enableSuppression, writableStackTrace); + this.listener = (Listener)Preconditions.checkNotNull(listener, "listener"); + this.event = (Event)Preconditions.checkNotNull(event, "event"); + } + + public Listener getListener() { + return this.listener; + } + + public Event getEvent() { + return this.event; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyException.java b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyException.java new file mode 100644 index 0000000..72065e7 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyException.java @@ -0,0 +1,19 @@ +package io.github.waterfallmc.waterfall.exception; + +public class ProxyException extends Exception { + public ProxyException(String message) { + super(message); + } + + public ProxyException(String message, Throwable cause) { + super(message, cause); + } + + public ProxyException(Throwable cause) { + super(cause); + } + + protected ProxyException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { + super(message, cause, enableSuppression, writableStackTrace); + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyInternalException.java b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyInternalException.java new file mode 100644 index 0000000..9e34eee --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyInternalException.java @@ -0,0 +1,31 @@ +package io.github.waterfallmc.waterfall.exception; + +import io.github.waterfallmc.waterfall.event.ProxyExceptionEvent; +import net.md_5.bungee.api.ProxyServer; + +public class ProxyInternalException extends ProxyException { + public ProxyInternalException(String message) { + super(message); + } + + public ProxyInternalException(String message, Throwable cause) { + super(message, cause); + } + + public ProxyInternalException(Throwable cause) { + super(cause); + } + + protected ProxyInternalException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { + super(message, cause, enableSuppression, writableStackTrace); + } + + public static void reportInternalException(Throwable cause) { + try { + ProxyServer.getInstance().getPluginManager().callEvent(new ProxyExceptionEvent(new ProxyInternalException(cause))); + } catch (Throwable t) { + t.printStackTrace(); + } + + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginEnableDisableException.java b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginEnableDisableException.java new file mode 100644 index 0000000..d925c0d --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginEnableDisableException.java @@ -0,0 +1,17 @@ +package io.github.waterfallmc.waterfall.exception; + +import net.md_5.bungee.api.plugin.Plugin; + +public class ProxyPluginEnableDisableException extends ProxyPluginException { + public ProxyPluginEnableDisableException(String message, Throwable cause, Plugin responsiblePlugin) { + super(message, cause, responsiblePlugin); + } + + public ProxyPluginEnableDisableException(Throwable cause, Plugin responsiblePlugin) { + super(cause, responsiblePlugin); + } + + protected ProxyPluginEnableDisableException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin) { + super(message, cause, enableSuppression, writableStackTrace, responsiblePlugin); + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginException.java b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginException.java new file mode 100644 index 0000000..15cc5b7 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginException.java @@ -0,0 +1,27 @@ +package io.github.waterfallmc.waterfall.exception; + +import com.google.common.base.Preconditions; +import net.md_5.bungee.api.plugin.Plugin; + +public class ProxyPluginException extends ProxyException { + private final Plugin responsiblePlugin; + + public ProxyPluginException(String message, Throwable cause, Plugin responsiblePlugin) { + super(message, cause); + this.responsiblePlugin = (Plugin)Preconditions.checkNotNull(responsiblePlugin, "responsiblePlugin"); + } + + public ProxyPluginException(Throwable cause, Plugin responsiblePlugin) { + super(cause); + this.responsiblePlugin = (Plugin)Preconditions.checkNotNull(responsiblePlugin, "responsiblePlugin"); + } + + protected ProxyPluginException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin) { + super(message, cause, enableSuppression, writableStackTrace); + this.responsiblePlugin = (Plugin)Preconditions.checkNotNull(responsiblePlugin, "responsiblePlugin"); + } + + public Plugin getResponsiblePlugin() { + return this.responsiblePlugin; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginMessageException.java b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginMessageException.java new file mode 100644 index 0000000..1cf99bd --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyPluginMessageException.java @@ -0,0 +1,44 @@ +package io.github.waterfallmc.waterfall.exception; + +import com.google.common.base.Preconditions; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Plugin; + +public class ProxyPluginMessageException extends ProxyPluginException { + private final ProxiedPlayer player; + private final String channel; + private final byte[] data; + + public ProxyPluginMessageException(String message, Throwable cause, Plugin responsiblePlugin, ProxiedPlayer player, String channel, byte[] data) { + super(message, cause, responsiblePlugin); + this.player = (ProxiedPlayer)Preconditions.checkNotNull(player, "player"); + this.channel = (String)Preconditions.checkNotNull(channel, "channel"); + this.data = (byte[])Preconditions.checkNotNull(data, "data"); + } + + public ProxyPluginMessageException(Throwable cause, Plugin responsiblePlugin, ProxiedPlayer player, String channel, byte[] data) { + super(cause, responsiblePlugin); + this.player = (ProxiedPlayer)Preconditions.checkNotNull(player, "player"); + this.channel = (String)Preconditions.checkNotNull(channel, "channel"); + this.data = (byte[])Preconditions.checkNotNull(data, "data"); + } + + protected ProxyPluginMessageException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, ProxiedPlayer player, String channel, byte[] data) { + super(message, cause, enableSuppression, writableStackTrace, responsiblePlugin); + this.player = (ProxiedPlayer)Preconditions.checkNotNull(player, "player"); + this.channel = (String)Preconditions.checkNotNull(channel, "channel"); + this.data = (byte[])Preconditions.checkNotNull(data, "data"); + } + + public String getChannel() { + return this.channel; + } + + public byte[] getData() { + return this.data; + } + + public ProxiedPlayer getPlayer() { + return this.player; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/exception/ProxySchedulerException.java b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxySchedulerException.java new file mode 100644 index 0000000..3f3beae --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxySchedulerException.java @@ -0,0 +1,27 @@ +package io.github.waterfallmc.waterfall.exception; + +import com.google.common.base.Preconditions; +import net.md_5.bungee.api.scheduler.ScheduledTask; + +public class ProxySchedulerException extends ProxyPluginException { + private final ScheduledTask task; + + public ProxySchedulerException(String message, Throwable cause, ScheduledTask task) { + super(message, cause, task.getOwner()); + this.task = (ScheduledTask)Preconditions.checkNotNull(task, "task"); + } + + public ProxySchedulerException(Throwable cause, ScheduledTask task) { + super(cause, task.getOwner()); + this.task = (ScheduledTask)Preconditions.checkNotNull(task, "task"); + } + + protected ProxySchedulerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, ScheduledTask task) { + super(message, cause, enableSuppression, writableStackTrace, task.getOwner()); + this.task = (ScheduledTask)Preconditions.checkNotNull(task, "task"); + } + + public ScheduledTask getTask() { + return this.task; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyTabCompleteException.java b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyTabCompleteException.java new file mode 100644 index 0000000..d52a1f9 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/exception/ProxyTabCompleteException.java @@ -0,0 +1,18 @@ +package io.github.waterfallmc.waterfall.exception; + +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.plugin.Command; + +public class ProxyTabCompleteException extends ProxyCommandException { + public ProxyTabCompleteException(String message, Throwable cause, Command command, CommandSender commandSender, String[] arguments) { + super(message, cause, command, commandSender, arguments); + } + + public ProxyTabCompleteException(Throwable cause, Command command, CommandSender commandSender, String[] arguments) { + super(cause, command, commandSender, arguments); + } + + protected ProxyTabCompleteException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Command command, CommandSender commandSender, String[] arguments) { + super(message, cause, enableSuppression, writableStackTrace, command, commandSender, arguments); + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/log4j/Log4JLogHandler.java b/src/main/java/io/github/waterfallmc/waterfall/log4j/Log4JLogHandler.java new file mode 100644 index 0000000..dba68d7 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/log4j/Log4JLogHandler.java @@ -0,0 +1,44 @@ +package io.github.waterfallmc.waterfall.log4j; + +import com.google.common.base.Strings; +import java.util.Map; +import java.util.MissingResourceException; +import java.util.concurrent.ConcurrentHashMap; +import java.util.logging.Handler; +import java.util.logging.LogRecord; +import org.apache.logging.log4j.Level; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import org.apache.logging.log4j.jul.LevelTranslator; +import org.apache.logging.log4j.message.MessageFormatMessage; + +class Log4JLogHandler extends Handler { + private final Map cache = new ConcurrentHashMap(); + + public void publish(LogRecord record) { + if (this.isLoggable(record)) { + Logger logger = (Logger)this.cache.computeIfAbsent(Strings.nullToEmpty(record.getLoggerName()), LogManager::getLogger); + String message = record.getMessage(); + if (record.getResourceBundle() != null) { + try { + message = record.getResourceBundle().getString(message); + } catch (MissingResourceException var5) { + } + } + + Level level = LevelTranslator.toLevel(record.getLevel()); + if (record.getParameters() != null && record.getParameters().length > 0) { + logger.log(level, new MessageFormatMessage(message, record.getParameters()), record.getThrown()); + } else { + logger.log(level, message, record.getThrown()); + } + + } + } + + public void flush() { + } + + public void close() { + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/log4j/WaterfallLogger.java b/src/main/java/io/github/waterfallmc/waterfall/log4j/WaterfallLogger.java new file mode 100644 index 0000000..6e3aba7 --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/log4j/WaterfallLogger.java @@ -0,0 +1,28 @@ +package io.github.waterfallmc.waterfall.log4j; + +import java.util.logging.Handler; +import java.util.logging.Logger; +import org.apache.logging.log4j.Level; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.io.IoBuilder; + +public final class WaterfallLogger { + private WaterfallLogger() { + } + + public static Logger create() { + org.apache.logging.log4j.Logger redirect = LogManager.getRootLogger(); + System.setOut(IoBuilder.forLogger(redirect).setLevel(Level.INFO).buildPrintStream()); + System.setErr(IoBuilder.forLogger(redirect).setLevel(Level.ERROR).buildPrintStream()); + Logger root = Logger.getLogger(""); + root.setUseParentHandlers(false); + + for(Handler handler : root.getHandlers()) { + root.removeHandler(handler); + } + + root.setLevel(java.util.logging.Level.ALL); + root.addHandler(new Log4JLogHandler()); + return Logger.getLogger("BungeeCord"); + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/utils/FastException.java b/src/main/java/io/github/waterfallmc/waterfall/utils/FastException.java new file mode 100644 index 0000000..fc5067c --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/utils/FastException.java @@ -0,0 +1,15 @@ +package io.github.waterfallmc.waterfall.utils; + +public class FastException extends RuntimeException { + public FastException(String message) { + super(message); + } + + public synchronized Throwable initCause(Throwable cause) { + return this; + } + + public synchronized Throwable fillInStackTrace() { + return this; + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/utils/Hex.java b/src/main/java/io/github/waterfallmc/waterfall/utils/Hex.java new file mode 100644 index 0000000..28975de --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/utils/Hex.java @@ -0,0 +1,121 @@ +package io.github.waterfallmc.waterfall.utils; + +import java.util.Arrays; +import java.util.Objects; + +public class Hex { + private static final char[] ENCODE_TABLE = new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; + private static final byte[] DECODE_TABLE = new byte[128]; + + public static byte[] decode(CharSequence chars) { + byte[] bytes = new byte[chars.length() >> 1]; + decode((CharSequence)chars, 0, bytes, 0, bytes.length); + return bytes; + } + + public static void decode(final char[] chars, final int charOffset, byte[] dest, int offset, int length) { + decode(new CharSequence() { + public int length() { + return chars.length; + } + + public char charAt(int index) { + return chars[index]; + } + + public CharSequence subSequence(int start, int end) { + return this.toString().substring(start, end); + } + + public String toString() { + return new String(chars, charOffset, chars.length); + } + }); + } + + public static void decode(CharSequence chars, int charOffset, byte[] dest, int offset, int length) { + Objects.requireNonNull(chars, "Null chars"); + Objects.requireNonNull(dest, "Null destination"); + int numChars = chars.length(); + if ((numChars & 1) != 0) { + throw new IllegalArgumentException("Odd number of characters: " + numChars); + } else if (length < numChars - charOffset >> 1) { + throw new IllegalArgumentException("Too many bytes to fill with " + numChars + " characters: " + length); + } else if (offset >= 0 && charOffset >= 0 && length >= 0 && length * 2 <= numChars - charOffset && length <= dest.length - offset) { + int i = 0; + + for(int charIndex = charOffset; i < length; ++i) { + char first = chars.charAt(charIndex++); + char second = chars.charAt(charIndex++); + dest[i + offset] = (byte)(toDigit(first) << 4 | toDigit(second)); + } + + } else { + throw new IndexOutOfBoundsException(); + } + } + + public static String encodeString(byte[] bytes) { + return new String(encode(bytes)); + } + + public static char[] encode(byte[] bytes) { + char[] chars = new char[bytes.length << 1]; + encode(chars, 0, bytes, 0, bytes.length); + return chars; + } + + public static void encode(char[] chars, int charOffset, byte[] source, int offset, int length) { + Objects.requireNonNull(chars, "Null chars"); + Objects.requireNonNull(source, "Null bytes"); + if (offset >= 0 && charOffset >= 0 && length >= 0 && length * 2 <= chars.length - charOffset && length <= source.length - offset) { + if (length != 0) { + int i = 0; + + for(int charIndex = charOffset; i < length; ++i) { + byte b = source[i + offset]; + chars[charIndex++] = fromDigit((byte)(b >> 4 & 15)); + chars[charIndex++] = fromDigit((byte)(b & 15)); + } + + } + } else { + throw new IndexOutOfBoundsException(); + } + } + + public static byte toDigit(char c) { + byte value; + if (c < DECODE_TABLE.length) { + value = DECODE_TABLE[c]; + } else { + value = -1; + } + + if (value < 0) { + throw new IllegalArgumentException("Invalid character " + c); + } else { + return value; + } + } + + private static char fromDigit(byte b) { + assert (b & 15) == b : "Out of range " + b; + + return ENCODE_TABLE[b]; + } + + static { + Arrays.fill(DECODE_TABLE, (byte)-1); + + for(int value = 0; value < ENCODE_TABLE.length; ++value) { + char c = ENCODE_TABLE[value]; + DECODE_TABLE[c] = (byte)value; + char upper; + if ((upper = Character.toUpperCase(c)) != c) { + DECODE_TABLE[upper] = (byte)value; + } + } + + } +} diff --git a/src/main/java/io/github/waterfallmc/waterfall/utils/UUIDUtils.java b/src/main/java/io/github/waterfallmc/waterfall/utils/UUIDUtils.java new file mode 100644 index 0000000..6c6dd6e --- /dev/null +++ b/src/main/java/io/github/waterfallmc/waterfall/utils/UUIDUtils.java @@ -0,0 +1,82 @@ +package io.github.waterfallmc.waterfall.utils; + +import com.google.common.base.Preconditions; +import com.google.common.primitives.Longs; +import java.util.UUID; + +public class UUIDUtils { + private UUIDUtils() { + } + + public static String undash(String id) { + return (new StringBuilder(32)).append(id, 0, 8).append(id, 9, 13).append(id, 14, 18).append(id, 19, 23).append(id, 24, 36).toString(); + } + + public static String toMojangString(UUID id) { + Preconditions.checkNotNull(id, "Null id"); + return Hex.encodeString(toBytes(id)); + } + + public static UUID fromString(String s) { + Preconditions.checkNotNull(s, "Null string"); + if (s.length() == 36) { + s = undash(s); + } else if (s.length() != 32) { + throw new IllegalArgumentException("Invalid UUID: " + s); + } + + return fromMojangString0(s); + } + + public static UUID fromMojangString(String s) { + Preconditions.checkNotNull(s, "Null string"); + if (s.length() != 32) { + throw new IllegalArgumentException("UUID not in mojang format: " + s); + } else { + return fromMojangString0(s); + } + } + + private static UUID fromMojangString0(String s) { + assert s != null : "Null string"; + + assert s.length() == 32 : "invalid length: " + s; + + try { + return fromBytes(Hex.decode(s)); + } catch (IllegalArgumentException var2) { + throw new IllegalArgumentException("Invalid UUID: " + s); + } + } + + public static byte[] toBytes(UUID id) { + Preconditions.checkNotNull(id, "Null id"); + byte[] result = new byte[16]; + long lsb = id.getLeastSignificantBits(); + + for(int i = 15; i >= 8; --i) { + result[i] = (byte)((int)(lsb & 255L)); + lsb >>= 8; + } + + long msb = id.getMostSignificantBits(); + + for(int i = 7; i >= 0; --i) { + result[i] = (byte)((int)(msb & 255L)); + msb >>= 8; + } + + return result; + } + + public static UUID fromBytes(byte[] bytes) { + Preconditions.checkNotNull(bytes, "Null bytes"); + if (bytes.length != 16) { + throw new IllegalArgumentException("Invalid length: " + bytes.length); + } else { + long msb = Longs.fromBytes(bytes[0], bytes[1], bytes[2], bytes[3], bytes[4], bytes[5], bytes[6], bytes[7]); + long lsb = Longs.fromBytes(bytes[8], bytes[9], bytes[10], bytes[11], bytes[12], bytes[13], bytes[14], bytes[15]); + return new UUID(msb, lsb); + } + } +} diff --git a/src/main/java/net/md_5/bungee/Bootstrap.java b/src/main/java/net/md_5/bungee/Bootstrap.java new file mode 100644 index 0000000..3e81a8b --- /dev/null +++ b/src/main/java/net/md_5/bungee/Bootstrap.java @@ -0,0 +1,12 @@ +package net.md_5.bungee; + +public class Bootstrap { + public static void main(String[] args) throws Exception { + if ((double)Float.parseFloat(System.getProperty("java.class.version")) < (double)61.0F) { + System.err.println("*** ERROR *** FlameCord requires Java 17 or above to function! Please download and install it!"); + System.out.println("You can check your Java version with the command: java -version"); + } else { + BungeeCordLauncher.main(args); + } + } +} diff --git a/src/main/java/net/md_5/bungee/BungeeCord.java b/src/main/java/net/md_5/bungee/BungeeCord.java new file mode 100644 index 0000000..bdb259e --- /dev/null +++ b/src/main/java/net/md_5/bungee/BungeeCord.java @@ -0,0 +1,778 @@ +package net.md_5.bungee; + +import com.arkflame.flamecord.natives.Natives; +import com.google.common.base.Preconditions; +import com.google.common.base.Predicate; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; +import com.google.common.collect.Sets; +import com.google.common.util.concurrent.ThreadFactoryBuilder; +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.LimboFilter; +import dev._2lstudios.flamecord.balancer.Balancer; +import dev._2lstudios.flamecord.commands.BungeeIPCommand; +import dev._2lstudios.flamecord.commands.BungeeKickCommand; +import dev._2lstudios.flamecord.commands.BungeePluginsCommand; +import dev._2lstudios.flamecord.commands.FlameCordCommand; +import dev._2lstudios.flamecord.commands.LobbyCommand; +import dev._2lstudios.flamecord.configuration.ModulesConfiguration; +import dev._2lstudios.flamecord.tasks.StatsTask; +import io.github.waterfallmc.waterfall.conf.WaterfallConfiguration; +import io.github.waterfallmc.waterfall.event.ProxyExceptionEvent; +import io.github.waterfallmc.waterfall.exception.ProxyPluginEnableDisableException; +import io.github.waterfallmc.waterfall.log4j.WaterfallLogger; +import io.netty.bootstrap.ServerBootstrap; +import io.netty.channel.Channel; +import io.netty.channel.ChannelException; +import io.netty.channel.ChannelFuture; +import io.netty.channel.ChannelFutureListener; +import io.netty.channel.ChannelOption; +import io.netty.channel.EventLoopGroup; +import io.netty.util.ResourceLeakDetector; +import java.io.File; +import java.io.FileReader; +import java.io.IOException; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.nio.charset.StandardCharsets; +import java.text.Format; +import java.text.MessageFormat; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Locale; +import java.util.Map; +import java.util.MissingResourceException; +import java.util.PropertyResourceBundle; +import java.util.ResourceBundle; +import java.util.Timer; +import java.util.TimerTask; +import java.util.UUID; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.locks.ReadWriteLock; +import java.util.concurrent.locks.ReentrantLock; +import java.util.concurrent.locks.ReentrantReadWriteLock; +import java.util.logging.Handler; +import java.util.logging.Level; +import java.util.logging.Logger; +import lombok.Generated; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.Favicon; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.ReconnectHandler; +import net.md_5.bungee.api.ServerPing; +import net.md_5.bungee.api.Title; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.chat.TranslatableComponent; +import net.md_5.bungee.api.config.ConfigurationAdapter; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Plugin; +import net.md_5.bungee.api.plugin.PluginManager; +import net.md_5.bungee.chat.ChatVersion; +import net.md_5.bungee.chat.ComponentSerializer; +import net.md_5.bungee.chat.TextComponentSerializer; +import net.md_5.bungee.chat.TranslatableComponentSerializer; +import net.md_5.bungee.chat.VersionedComponentSerializer; +import net.md_5.bungee.command.CommandBungee; +import net.md_5.bungee.command.CommandEnd; +import net.md_5.bungee.command.CommandIP; +import net.md_5.bungee.command.CommandPerms; +import net.md_5.bungee.command.CommandReload; +import net.md_5.bungee.command.ConsoleCommandSender; +import net.md_5.bungee.conf.Configuration; +import net.md_5.bungee.conf.YamlConfig; +import net.md_5.bungee.module.ModuleManager; +import net.md_5.bungee.module.cmd.alert.CommandAlert; +import net.md_5.bungee.module.cmd.alert.CommandAlertRaw; +import net.md_5.bungee.module.cmd.find.CommandFind; +import net.md_5.bungee.module.cmd.list.CommandList; +import net.md_5.bungee.module.cmd.send.CommandSend; +import net.md_5.bungee.module.cmd.server.CommandServer; +import net.md_5.bungee.module.reconnect.yaml.YamlReconnectHandler; +import net.md_5.bungee.netty.PipelineUtils; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.channel.BungeeChannelInitializer; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.query.RemoteQuery; +import net.md_5.bungee.scheduler.BungeeScheduler; +import net.md_5.bungee.util.CaseInsensitiveMap; +import org.apache.logging.log4j.LogManager; + +public class BungeeCord extends ProxyServer { + public volatile boolean isRunning; + public final Configuration config = new WaterfallConfiguration(); + private Map messageFormats; + public EventLoopGroup bossEventLoopGroup; + public EventLoopGroup workerEventLoopGroup; + public EventLoopGroup queryEventLoopGroup; + private final Timer saveThread = new Timer("Reconnect Saver"); + private final Collection listeners = new HashSet(); + private final Map connections = new CaseInsensitiveMap(); + private final Map connectionsByOfflineUUID = new HashMap(); + private final Map connectionsByUUID = new HashMap(); + private final ReadWriteLock connectionLock = new ReentrantReadWriteLock(); + private final ReentrantLock shutdownLock = new ReentrantLock(); + public final PluginManager pluginManager; + private ReconnectHandler reconnectHandler; + private ConfigurationAdapter configurationAdapter = new YamlConfig(); + private final Collection pluginChannels = new HashSet(); + private final File pluginsFolder = new File("plugins"); + private final BungeeScheduler scheduler = new BungeeScheduler(); + private final Logger logger; + public final Gson gsonLegacy; + private ConnectionThrottle connectionThrottle; + private final ModuleManager moduleManager; + private final ProxyServer.Unsafe unsafe; + + public static BungeeCord getInstance() { + return (BungeeCord)ProxyServer.getInstance(); + } + + public BungeeCord() throws IOException { + this.gsonLegacy = (new GsonBuilder()).registerTypeAdapter(BaseComponent.class, new ComponentSerializer()).registerTypeAdapter(TextComponent.class, new TextComponentSerializer(VersionedComponentSerializer.forVersion(ChatVersion.V1_16))).registerTypeAdapter(TranslatableComponent.class, new TranslatableComponentSerializer(VersionedComponentSerializer.forVersion(ChatVersion.V1_16))).registerTypeAdapter(ServerPing.PlayerInfo.class, new PlayerInfoSerializer(4)).registerTypeAdapter(Favicon.class, Favicon.getFaviconTypeAdapter()).create(); + this.moduleManager = new ModuleManager(); + this.registerChannel("BungeeCord"); + this.unsafe = new ProxyServer.Unsafe() { + private BungeeChannelInitializer frontendChannelInitializer; + private BungeeChannelInitializer backendChannelInitializer; + private BungeeChannelInitializer serverInfoChannelInitializer; + + @Generated + public BungeeChannelInitializer getFrontendChannelInitializer() { + return this.frontendChannelInitializer; + } + + @Generated + public void setFrontendChannelInitializer(BungeeChannelInitializer frontendChannelInitializer) { + this.frontendChannelInitializer = frontendChannelInitializer; + } + + @Generated + public BungeeChannelInitializer getBackendChannelInitializer() { + return this.backendChannelInitializer; + } + + @Generated + public void setBackendChannelInitializer(BungeeChannelInitializer backendChannelInitializer) { + this.backendChannelInitializer = backendChannelInitializer; + } + + @Generated + public BungeeChannelInitializer getServerInfoChannelInitializer() { + return this.serverInfoChannelInitializer; + } + + @Generated + public void setServerInfoChannelInitializer(BungeeChannelInitializer serverInfoChannelInitializer) { + this.serverInfoChannelInitializer = serverInfoChannelInitializer; + } + }; + Preconditions.checkState((new File(".")).getAbsolutePath().indexOf(33) == -1, "Cannot use FlameCord in directory with ! in path."); + this.reloadMessages(); + System.setProperty("library.jansi.version", "BungeeCord"); + this.logger = WaterfallLogger.create(); + this.pluginManager = new PluginManager(this); + this.logger.log(Level.INFO, "FlameCord is using " + Natives.getCompressorFactory().getName() + " compression"); + } + + public void start() throws Exception { + System.setProperty("io.netty.selectorAutoRebuildThreshold", "0"); + if (System.getProperty("io.netty.leakDetectionLevel") == null && System.getProperty("io.netty.leakDetection.level") == null) { + ResourceLeakDetector.setLevel(io.netty.util.ResourceLeakDetector.Level.DISABLED); + } + + if (System.getProperty("io.netty.allocator.type") == null) { + System.setProperty("io.netty.allocator.type", "pooled"); + } + + this.bossEventLoopGroup = PipelineUtils.newEventLoopGroup(0, (new ThreadFactoryBuilder()).setNameFormat("Netty Boss IO Thread #%1$d").build()); + this.workerEventLoopGroup = PipelineUtils.newEventLoopGroup(0, (new ThreadFactoryBuilder()).setNameFormat("Netty Worker IO Thread #%1$d").build()); + this.queryEventLoopGroup = PipelineUtils.newEventLoopGroup(1, (new ThreadFactoryBuilder()).setNameFormat("Query Netty IO Thread #%1$d").build()); + this.pluginsFolder.mkdir(); + this.pluginManager.detectPlugins(this.pluginsFolder); + this.pluginManager.loadPlugins(); + this.config.load(); + Collection whitelistedAddresses = new HashSet(); + + for(ServerInfo serverInfo : this.getServers().values()) { + whitelistedAddresses.add(serverInfo.getSocketAddress().toString()); + } + + FlameCord.initialize(this.logger, whitelistedAddresses); + LimboFilter.enable(); + if (this.config.isForgeSupport()) { + this.registerChannel("FML"); + this.registerChannel("FML|HS"); + this.registerChannel("FORGE"); + } + + this.isRunning = true; + this.loadModules(); + this.pluginManager.enablePlugins(); + if (this.config.getThrottle() > 0) { + this.connectionThrottle = new ConnectionThrottle(this.config.getThrottle(), this.config.getThrottleLimit()); + } + + this.startListeners(); + this.saveThread.scheduleAtFixedRate(new TimerTask() { + public void run() { + if (BungeeCord.this.getReconnectHandler() != null) { + BungeeCord.this.getReconnectHandler().save(); + } + + } + }, 0L, TimeUnit.MINUTES.toMillis(5L)); + Runtime.getRuntime().addShutdownHook(new Thread() { + public void run() { + BungeeCord.this.independentThreadStop(BungeeCord.this.getTranslation("restart"), false); + } + }); + FlameCord.getInstance().printReviewBanner(this.logger, this.getVersion()); + } + + public void startListeners() { + for(final ListenerInfo info : this.config.getListeners()) { + if (info.isProxyProtocol()) { + this.getLogger().log(Level.WARNING, "Using PROXY protocol for listener {0}, please ensure this listener is adequately firewalled.", info.getSocketAddress()); + if (this.connectionThrottle != null) { + this.connectionThrottle = null; + this.getLogger().log(Level.WARNING, "Since PROXY protocol is in use, internal connection throttle has been disabled."); + } + } + + ChannelFutureListener listener = new ChannelFutureListener() { + public void operationComplete(ChannelFuture future) throws Exception { + if (future.isSuccess()) { + BungeeCord.this.listeners.add(future.channel()); + BungeeCord.this.getLogger().log(Level.INFO, "Listening on {0}", info.getSocketAddress()); + } else { + BungeeCord.this.getLogger().log(Level.WARNING, "Could not bind to host " + String.valueOf(info.getSocketAddress()), future.cause()); + } + + } + }; + ServerBootstrap serverBootstrap = new ServerBootstrap(); + if (!PipelineUtils.isIpv6(info.getSocketAddress())) { + try { + serverBootstrap.childOption(ChannelOption.IP_TOS, 24); + } catch (ChannelException var6) { + } + } + + serverBootstrap.childOption(ChannelOption.TCP_NODELAY, true); + ((ServerBootstrap)((ServerBootstrap)((ServerBootstrap)serverBootstrap.channelFactory(PipelineUtils.getServerChannelFactory(info.getSocketAddress()))).option(ChannelOption.SO_REUSEADDR, true)).childAttr(PipelineUtils.LISTENER, info).childHandler(this.unsafe().getFrontendChannelInitializer().getChannelInitializer()).group(this.bossEventLoopGroup, this.workerEventLoopGroup).localAddress(info.getSocketAddress())).bind().addListener(listener); + if (info.isQueryEnabled()) { + Preconditions.checkArgument(info.getSocketAddress() instanceof InetSocketAddress, "Can only create query listener on UDP address"); + ChannelFutureListener bindListener = new ChannelFutureListener() { + public void operationComplete(ChannelFuture future) throws Exception { + if (future.isSuccess()) { + BungeeCord.this.listeners.add(future.channel()); + BungeeCord.this.getLogger().log(Level.INFO, "Started query on {0}", future.channel().localAddress()); + } else { + BungeeCord.this.getLogger().log(Level.WARNING, "Could not bind to host " + String.valueOf(info.getSocketAddress()), future.cause()); + } + + } + }; + (new RemoteQuery(this, info)).start(PipelineUtils.getDatagramChannelFactory(info.getSocketAddress()), new InetSocketAddress(info.getHost().getAddress(), info.getQueryPort()), this.queryEventLoopGroup, bindListener); + } + } + + } + + public void stopListeners() { + for(Channel listener : this.listeners) { + this.getLogger().log(Level.INFO, "Closing listener {0}", listener); + + try { + listener.close().syncUninterruptibly(); + } catch (ChannelException var4) { + this.getLogger().severe("Could not close listen thread"); + } + } + + this.listeners.clear(); + } + + public void stop() { + this.stop(this.getTranslation("restart")); + } + + public void stop(final String reason) { + (new Thread("Shutdown Thread") { + public void run() { + BungeeCord.this.independentThreadStop(reason, true); + } + }).start(); + } + + private void independentThreadStop(String reason, boolean callSystemExit) { + this.shutdownLock.lock(); + if (!this.isRunning) { + this.shutdownLock.unlock(); + } else { + this.isRunning = false; + this.stopListeners(); + this.getLogger().info("Closing pending connections"); + this.connectionLock.readLock().lock(); + + try { + this.getLogger().log(Level.INFO, "Disconnecting {0} connections", this.connections.size()); + + for(UserConnection user : this.connections.values()) { + user.disconnect(reason); + } + } finally { + this.connectionLock.readLock().unlock(); + } + + try { + Thread.sleep(500L); + } catch (InterruptedException var13) { + } + + if (this.reconnectHandler != null) { + this.getLogger().info("Saving reconnect locations"); + this.reconnectHandler.save(); + this.reconnectHandler.close(); + } + + this.saveThread.cancel(); + this.getLogger().info("Disabling plugins"); + + for(Plugin plugin : Lists.reverse(new ArrayList<>(this.pluginManager.getPlugins()))) { + try { + plugin.onDisable(); + + for(Handler handler : plugin.getLogger().getHandlers()) { + handler.close(); + } + } catch (Throwable t) { + String msg = "Exception disabling plugin " + plugin.getDescription().getName(); + this.getLogger().log(Level.SEVERE, msg, t); + this.pluginManager.callEvent(new ProxyExceptionEvent(new ProxyPluginEnableDisableException(msg, t, plugin))); + } + + this.getScheduler().cancel(plugin); + plugin.getExecutorService().shutdownNow(); + } + + this.getLogger().info("Closing IO threads"); + this.bossEventLoopGroup.shutdownGracefully(); + this.workerEventLoopGroup.shutdownGracefully(); + this.queryEventLoopGroup.shutdownGracefully(); + + while(true) { + try { + this.bossEventLoopGroup.awaitTermination(Long.MAX_VALUE, TimeUnit.NANOSECONDS); + this.workerEventLoopGroup.awaitTermination(Long.MAX_VALUE, TimeUnit.NANOSECONDS); + this.queryEventLoopGroup.awaitTermination(Long.MAX_VALUE, TimeUnit.NANOSECONDS); + break; + } catch (InterruptedException var14) { + } + } + + FlameCord.getInstance().getLoggerWrapper().info("Shutting down FlameCord linux command thread"); + FlameCord.getInstance().shutdown(); + FlameCord.getInstance().getLoggerWrapper().info("Saving Lockdown whitelisted items to file."); + FlameCord.getInstance().getCheckManager().getLockdownCheck().saveWhitelist(); + FlameCord.getInstance().getLoggerWrapper().info("Saving Reconnect whitelisted items to file."); + FlameCord.getInstance().getCheckManager().getReconnectCheck().saveWhitelist(); + FlameCord.getInstance().getLoggerWrapper().info("Saving Limbo whitelisted items to file."); + FlameCord.getInstance().getCheckManager().getLimboCheck().saveWhitelist(); + this.getLogger().info("Thank you and goodbye"); + LogManager.shutdown(); + this.shutdownLock.unlock(); + if (callSystemExit) { + System.exit(0); + } + + } + } + + public void broadcast(DefinedPacket packet) { + this.connectionLock.readLock().lock(); + + try { + for(UserConnection con : this.connections.values()) { + con.unsafe().sendPacket(packet); + } + } finally { + this.connectionLock.readLock().unlock(); + } + + } + + public String getName() { + return "FlameCord"; + } + + public String getVersion() { + return "2.7.1"; + } + + public final void reloadMessages() { + Map cachedFormats = new HashMap(); + File file = new File("messages.properties"); + if (file.isFile()) { + try { + FileReader rd = new FileReader(file); + + try { + this.cacheResourceBundle(cachedFormats, new PropertyResourceBundle(rd)); + } catch (Throwable var8) { + try { + rd.close(); + } catch (Throwable var7) { + var8.addSuppressed(var7); + } + + throw var8; + } + + rd.close(); + } catch (IOException ex) { + this.getLogger().log(Level.SEVERE, "Could not load custom messages.properties", ex); + } + } + + ResourceBundle baseBundle; + try { + baseBundle = ResourceBundle.getBundle("messages"); + } catch (MissingResourceException var6) { + baseBundle = ResourceBundle.getBundle("messages", Locale.ENGLISH); + } + + this.cacheResourceBundle(cachedFormats, baseBundle); + this.messageFormats = Collections.unmodifiableMap(cachedFormats); + } + + private void cacheResourceBundle(Map map, ResourceBundle resourceBundle) { + Enumeration keys = resourceBundle.getKeys(); + + while(keys.hasMoreElements()) { + map.computeIfAbsent((String)keys.nextElement(), (key) -> new MessageFormat(resourceBundle.getString(key))); + } + + } + + public String getTranslation(String name, Object... args) { + return FlameCord.getInstance().getMessagesConfiguration().getTranslation(name, args); + } + + public Collection getPlayers() { + this.connectionLock.readLock().lock(); + + Collection var1; + try { + var1 = Collections.unmodifiableCollection(new HashSet(this.connections.values())); + } finally { + this.connectionLock.readLock().unlock(); + } + + return var1; + } + + public int getOnlineCount() { + return this.connections.size(); + } + + public ProxiedPlayer getPlayer(String name) { + this.connectionLock.readLock().lock(); + + ProxiedPlayer var2; + try { + var2 = (ProxiedPlayer)this.connections.get(name); + } finally { + this.connectionLock.readLock().unlock(); + } + + return var2; + } + + public UserConnection getPlayerByOfflineUUID(UUID uuid) { + if (uuid.version() != 3) { + return null; + } else { + this.connectionLock.readLock().lock(); + + UserConnection var2; + try { + var2 = (UserConnection)this.connectionsByOfflineUUID.get(uuid); + } finally { + this.connectionLock.readLock().unlock(); + } + + return var2; + } + } + + public ProxiedPlayer getPlayer(UUID uuid) { + this.connectionLock.readLock().lock(); + + ProxiedPlayer var2; + try { + var2 = (ProxiedPlayer)this.connectionsByUUID.get(uuid); + } finally { + this.connectionLock.readLock().unlock(); + } + + return var2; + } + + public Map getServers() { + return this.config.getServers(); + } + + public Map getServersCopy() { + return this.config.getServersCopy(); + } + + public ServerInfo getServerInfo(String name) { + return this.config.getServerInfo(name); + } + + public void registerChannel(String channel) { + synchronized(this.pluginChannels) { + this.pluginChannels.add(channel); + } + } + + public void unregisterChannel(String channel) { + synchronized(this.pluginChannels) { + this.pluginChannels.remove(channel); + } + } + + public Collection getChannels() { + synchronized(this.pluginChannels) { + return Collections.unmodifiableCollection(this.pluginChannels); + } + } + + public PluginMessage registerChannels(int protocolVersion) { + return protocolVersion >= 393 ? new PluginMessage("minecraft:register", String.join("\u0000", Iterables.transform(this.pluginChannels, PluginMessage.MODERNISE)).getBytes(StandardCharsets.UTF_8), false) : new PluginMessage("REGISTER", String.join("\u0000", this.pluginChannels).getBytes(StandardCharsets.UTF_8), false); + } + + public int getProtocolVersion() { + return (Integer)ProtocolConstants.SUPPORTED_VERSION_IDS.get(ProtocolConstants.SUPPORTED_VERSION_IDS.size() - 1); + } + + public String getGameVersion() { + return this.getConfig().getGameVersion(); + } + + public ServerInfo constructServerInfo(String name, InetSocketAddress address, String motd, boolean restricted) { + return this.constructServerInfo(name, (SocketAddress)address, motd, restricted); + } + + public ServerInfo constructServerInfo(String name, SocketAddress address, String motd, boolean restricted) { + return new BungeeServerInfo(name, address, motd, restricted); + } + + public CommandSender getConsole() { + return ConsoleCommandSender.getInstance(); + } + + public void broadcast(String message) { + this.broadcast(TextComponent.fromLegacy(message)); + } + + public void broadcast(BaseComponent... message) { + this.getConsole().sendMessage(message); + + for(ProxiedPlayer player : this.getPlayers()) { + player.sendMessage(message); + } + + } + + public void broadcast(BaseComponent message) { + this.getConsole().sendMessage(message); + + for(ProxiedPlayer player : this.getPlayers()) { + player.sendMessage(message); + } + + } + + public boolean addConnection(UserConnection con) { + UUID offlineId = con.getPendingConnection().getOfflineId(); + if (offlineId != null && offlineId.version() != 3) { + throw new IllegalArgumentException("Offline UUID must be a name-based UUID"); + } else { + this.connectionLock.writeLock().lock(); + + boolean var3; + try { + if (!this.connections.containsKey(con.getName()) && !this.connectionsByUUID.containsKey(con.getUniqueId()) && !this.connectionsByOfflineUUID.containsKey(offlineId)) { + this.connections.put(con.getName(), con); + this.connectionsByUUID.put(con.getUniqueId(), con); + this.connectionsByOfflineUUID.put(offlineId, con); + return true; + } + + var3 = false; + } finally { + this.connectionLock.writeLock().unlock(); + } + + return var3; + } + } + + public void removeConnection(UserConnection con) { + this.connectionLock.writeLock().lock(); + + try { + if (this.connections.get(con.getName()) == con) { + this.connections.remove(con.getName()); + this.connectionsByUUID.remove(con.getUniqueId()); + this.connectionsByOfflineUUID.remove(con.getPendingConnection().getOfflineId()); + con.getScoreboard().clear(); + } + } finally { + this.connectionLock.writeLock().unlock(); + } + + } + + public Collection getDisabledCommands() { + return this.config.getDisabledCommands(); + } + + public Collection matchPlayer(final String partialName) { + Preconditions.checkNotNull(partialName, "partialName"); + ProxiedPlayer exactMatch = this.getPlayer(partialName); + return (Collection)(exactMatch != null ? Collections.singleton(exactMatch) : Sets.newHashSet(Iterables.filter(this.getPlayers(), new Predicate() { + public boolean apply(ProxiedPlayer input) { + return input == null ? false : input.getName().toLowerCase(Locale.ROOT).startsWith(partialName.toLowerCase(Locale.ROOT)); + } + }))); + } + + public Title createTitle() { + return new BungeeTitle(); + } + + public ProxyServer.Unsafe unsafe() { + return this.unsafe; + } + + public void loadModules() { + ModulesConfiguration modulesConfiguration = FlameCord.getInstance().getModulesConfiguration(); + this.pluginManager.registerCommand((Plugin)null, new CommandEnd()); + this.pluginManager.registerCommand((Plugin)null, new CommandBungee()); + if (modulesConfiguration.reloadEnabled) { + this.pluginManager.registerCommand((Plugin)null, new CommandReload()); + } + + if (modulesConfiguration.ipEnabled) { + this.pluginManager.registerCommand((Plugin)null, new CommandIP()); + } + + if (modulesConfiguration.permsEnabled) { + this.pluginManager.registerCommand((Plugin)null, new CommandPerms()); + } + + if (modulesConfiguration.alertEnabled) { + this.pluginManager.registerCommand((Plugin)null, new CommandAlert()); + this.pluginManager.registerCommand((Plugin)null, new CommandAlertRaw()); + } + + if (modulesConfiguration.findEnabled) { + this.pluginManager.registerCommand((Plugin)null, new CommandFind()); + } + + if (modulesConfiguration.listEnabled) { + this.pluginManager.registerCommand((Plugin)null, new CommandList()); + } + + if (modulesConfiguration.sendEnabled) { + this.pluginManager.registerCommand((Plugin)null, new CommandSend()); + } + + if (modulesConfiguration.serverEnabled) { + this.pluginManager.registerCommand((Plugin)null, new CommandServer()); + } + + if (modulesConfiguration.reconnectEnabled) { + for(ListenerInfo info : this.getConfig().getListeners()) { + if (!info.isForceDefault() && this.getReconnectHandler() == null) { + this.setReconnectHandler(new YamlReconnectHandler()); + break; + } + } + } + + FlameCordCommand flameCordCommand = new FlameCordCommand(this); + this.pluginManager.registerCommand((Plugin)null, flameCordCommand); + this.pluginManager.registerCommand((Plugin)null, new BungeePluginsCommand()); + this.pluginManager.registerCommand((Plugin)null, new BungeeIPCommand()); + this.pluginManager.registerCommand((Plugin)null, new BungeeKickCommand()); + if (Balancer.isEnabled() && Balancer.isUseLobbyCommand()) { + this.pluginManager.registerCommand((Plugin)null, new LobbyCommand()); + } + + (new Thread(new StatsTask(flameCordCommand.getStatsCommand(), FlameCord.getInstance().getStatsData(), FlameCord.getInstance().getMessagesConfiguration()))).start(); + } + + @Generated + public Configuration getConfig() { + return this.config; + } + + @Generated + public PluginManager getPluginManager() { + return this.pluginManager; + } + + @Generated + public ReconnectHandler getReconnectHandler() { + return this.reconnectHandler; + } + + @Generated + public void setReconnectHandler(ReconnectHandler reconnectHandler) { + this.reconnectHandler = reconnectHandler; + } + + @Generated + public ConfigurationAdapter getConfigurationAdapter() { + return this.configurationAdapter; + } + + @Generated + public void setConfigurationAdapter(ConfigurationAdapter configurationAdapter) { + this.configurationAdapter = configurationAdapter; + } + + @Generated + public File getPluginsFolder() { + return this.pluginsFolder; + } + + @Generated + public BungeeScheduler getScheduler() { + return this.scheduler; + } + + @Generated + public Logger getLogger() { + return this.logger; + } + + @Generated + public ConnectionThrottle getConnectionThrottle() { + return this.connectionThrottle; + } +} diff --git a/src/main/java/net/md_5/bungee/BungeeCordLauncher.java b/src/main/java/net/md_5/bungee/BungeeCordLauncher.java new file mode 100644 index 0000000..23cf4f2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/BungeeCordLauncher.java @@ -0,0 +1,45 @@ +package net.md_5.bungee; + +import io.github.waterfallmc.waterfall.console.WaterfallConsole; +import java.security.Security; +import java.util.Arrays; +import java.util.logging.Logger; +import joptsimple.OptionParser; +import joptsimple.OptionSet; +import net.md_5.bungee.api.ProxyServer; + +public class BungeeCordLauncher { + public static void main(String[] args) throws Exception { + Security.setProperty("networkaddress.cache.ttl", "30"); + Security.setProperty("networkaddress.cache.negative.ttl", "10"); + if (System.getProperty("jdk.util.jar.enableMultiRelease") == null) { + System.setProperty("jdk.util.jar.enableMultiRelease", "force"); + } + + OptionParser parser = new OptionParser(); + parser.allowsUnrecognizedOptions(); + parser.acceptsAll(Arrays.asList("help"), "Show the help"); + parser.acceptsAll(Arrays.asList("v", "version"), "Print version and exit"); + parser.acceptsAll(Arrays.asList("noconsole"), "Disable console input"); + OptionSet options = parser.parse(args); + if (options.has("help")) { + parser.printHelpOn(System.out); + } else if (options.has("version")) { + System.out.println(BungeeCord.class.getPackage().getImplementationVersion()); + } else { + BungeeCord bungee = new BungeeCord(); + ProxyServer.setInstance(bungee); + bungee.getLogger().info("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501"); + Logger var10000 = bungee.getLogger(); + String var10001 = bungee.getName(); + var10000.info(" " + var10001 + " version " + bungee.getVersion()); + bungee.getLogger().info(" Website: https://flamecord.com"); + bungee.getLogger().info("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501"); + bungee.start(); + if (!options.has("noconsole")) { + (new WaterfallConsole()).start(); + } + + } + } +} diff --git a/src/main/java/net/md_5/bungee/BungeeServerInfo.java b/src/main/java/net/md_5/bungee/BungeeServerInfo.java new file mode 100644 index 0000000..0f22617 --- /dev/null +++ b/src/main/java/net/md_5/bungee/BungeeServerInfo.java @@ -0,0 +1,179 @@ +package net.md_5.bungee; + +import com.google.common.base.Preconditions; +import io.netty.channel.ChannelFuture; +import io.netty.channel.ChannelFutureListener; +import io.netty.channel.ChannelOption; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.HashSet; +import java.util.LinkedList; +import java.util.Objects; +import java.util.Queue; +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.ServerPing; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.connection.Server; +import net.md_5.bungee.connection.PingHandler; +import net.md_5.bungee.netty.HandlerBoss; +import net.md_5.bungee.netty.PipelineUtils; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public class BungeeServerInfo implements ServerInfo { + private final String name; + private final SocketAddress socketAddress; + private final Collection players = new ArrayList(); + private final String motd; + private final boolean restricted; + private final Queue packetQueue = new LinkedList(); + private long lastPing; + private ServerPing cachedPing; + + public void addPlayer(ProxiedPlayer player) { + synchronized(this.players) { + this.players.add(player); + } + } + + public void removePlayer(ProxiedPlayer player) { + synchronized(this.players) { + this.players.remove(player); + } + } + + public Collection getPlayers() { + synchronized(this.players) { + return Collections.unmodifiableCollection(new HashSet(this.players)); + } + } + + public String getPermission() { + return "bungeecord.server." + this.name; + } + + public boolean canAccess(CommandSender player) { + Preconditions.checkNotNull(player, "player"); + return !this.restricted || player.hasPermission(this.getPermission()); + } + + public boolean equals(Object obj) { + return obj instanceof ServerInfo && Objects.equals(this.getAddress(), ((ServerInfo)obj).getAddress()); + } + + public int hashCode() { + return this.socketAddress.hashCode(); + } + + public void sendData(String channel, byte[] data) { + this.sendData(channel, data, true); + } + + public boolean sendData(String channel, byte[] data, boolean queue) { + Preconditions.checkNotNull(channel, "channel"); + Preconditions.checkNotNull(data, "data"); + Server server; + synchronized(this.players) { + server = this.players.isEmpty() ? null : ((ProxiedPlayer)this.players.iterator().next()).getServer(); + } + + if (server != null) { + server.sendData(channel, data); + return true; + } else { + if (queue) { + synchronized(this.packetQueue) { + this.packetQueue.add(new PluginMessage(channel, data, false)); + } + } + + return false; + } + } + + public void cachePing(ServerPing serverPing) { + if (ProxyServer.getInstance().getConfig().getRemotePingCache() > 0) { + this.cachedPing = serverPing; + this.lastPing = System.currentTimeMillis(); + } + + } + + public InetSocketAddress getAddress() { + return (InetSocketAddress)this.socketAddress; + } + + public void ping(Callback callback) { + this.ping(callback, ProxyServer.getInstance().getProtocolVersion()); + } + + public void ping(final Callback callback, final int protocolVersion) { + Preconditions.checkNotNull(callback, "callback"); + int pingCache = ProxyServer.getInstance().getConfig().getRemotePingCache(); + if (pingCache > 0 && this.cachedPing != null && System.currentTimeMillis() - this.lastPing > (long)pingCache) { + this.cachedPing = null; + } + + if (this.cachedPing != null) { + callback.done(this.cachedPing, (Throwable)null); + } else { + ChannelFutureListener listener = new ChannelFutureListener() { + public void operationComplete(ChannelFuture future) throws Exception { + if (future.isSuccess()) { + ((HandlerBoss)future.channel().pipeline().get(HandlerBoss.class)).setHandler(new PingHandler(BungeeServerInfo.this, callback, protocolVersion)); + } else { + callback.done(null, future.cause()); + } + + } + }; + ((io.netty.bootstrap.Bootstrap)((io.netty.bootstrap.Bootstrap)((io.netty.bootstrap.Bootstrap)((io.netty.bootstrap.Bootstrap)(new io.netty.bootstrap.Bootstrap()).channelFactory(PipelineUtils.getChannelFactory(this.socketAddress))).group(BungeeCord.getInstance().workerEventLoopGroup)).handler(ProxyServer.getInstance().unsafe().getServerInfoChannelInitializer().getChannelInitializer())).option(ChannelOption.CONNECT_TIMEOUT_MILLIS, BungeeCord.getInstance().getConfig().getRemotePingTimeout())).remoteAddress(this.socketAddress).connect().addListener(listener); + } + } + + @Generated + public BungeeServerInfo(String name, SocketAddress socketAddress, String motd, boolean restricted) { + this.name = name; + this.socketAddress = socketAddress; + this.motd = motd; + this.restricted = restricted; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "BungeeServerInfo(name=" + var10000 + ", socketAddress=" + String.valueOf(this.getSocketAddress()) + ", restricted=" + this.isRestricted() + ")"; + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public SocketAddress getSocketAddress() { + return this.socketAddress; + } + + @Generated + public String getMotd() { + return this.motd; + } + + @Generated + public boolean isRestricted() { + return this.restricted; + } + + @Generated + public Queue getPacketQueue() { + return this.packetQueue; + } +} diff --git a/src/main/java/net/md_5/bungee/BungeeTitle.java b/src/main/java/net/md_5/bungee/BungeeTitle.java new file mode 100644 index 0000000..86da50b --- /dev/null +++ b/src/main/java/net/md_5/bungee/BungeeTitle.java @@ -0,0 +1,212 @@ +package net.md_5.bungee; + +import lombok.Generated; +import net.md_5.bungee.api.Title; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.packet.ClearTitles; +import net.md_5.bungee.protocol.packet.Subtitle; +import net.md_5.bungee.protocol.packet.TitleTimes; + +public class BungeeTitle implements Title { + private TitlePacketHolder title; + private TitlePacketHolder subtitle; + private TitlePacketHolder times; + private TitlePacketHolder clear; + private TitlePacketHolder reset; + + private static TitlePacketHolder createAnimationPacket() { + TitlePacketHolder title = new TitlePacketHolder(new net.md_5.bungee.protocol.packet.Title(net.md_5.bungee.protocol.packet.Title.Action.TIMES), new TitleTimes()); + title.oldPacket.setFadeIn(20); + title.oldPacket.setStay(60); + title.oldPacket.setFadeOut(20); + ((TitleTimes)title.newPacket).setFadeIn(20); + ((TitleTimes)title.newPacket).setStay(60); + ((TitleTimes)title.newPacket).setFadeOut(20); + return title; + } + + public Title title(BaseComponent text) { + if (this.title == null) { + net.md_5.bungee.protocol.packet.Title packet = new net.md_5.bungee.protocol.packet.Title(net.md_5.bungee.protocol.packet.Title.Action.TITLE); + this.title = new TitlePacketHolder(packet, packet); + } + + this.title.oldPacket.setText(text); + return this; + } + + public Title title(BaseComponent... text) { + return this.title(TextComponent.fromArray(text)); + } + + public Title subTitle(BaseComponent text) { + if (this.subtitle == null) { + this.subtitle = new TitlePacketHolder(new net.md_5.bungee.protocol.packet.Title(net.md_5.bungee.protocol.packet.Title.Action.SUBTITLE), new Subtitle()); + } + + this.subtitle.oldPacket.setText(text); + ((Subtitle)this.subtitle.newPacket).setText(text); + return this; + } + + public Title subTitle(BaseComponent... text) { + return this.subTitle(TextComponent.fromArray(text)); + } + + public Title fadeIn(int ticks) { + if (this.times == null) { + this.times = createAnimationPacket(); + } + + this.times.oldPacket.setFadeIn(ticks); + ((TitleTimes)this.times.newPacket).setFadeIn(ticks); + return this; + } + + public Title stay(int ticks) { + if (this.times == null) { + this.times = createAnimationPacket(); + } + + this.times.oldPacket.setStay(ticks); + ((TitleTimes)this.times.newPacket).setStay(ticks); + return this; + } + + public Title fadeOut(int ticks) { + if (this.times == null) { + this.times = createAnimationPacket(); + } + + this.times.oldPacket.setFadeOut(ticks); + ((TitleTimes)this.times.newPacket).setFadeOut(ticks); + return this; + } + + public Title clear() { + if (this.clear == null) { + this.clear = new TitlePacketHolder(new net.md_5.bungee.protocol.packet.Title(net.md_5.bungee.protocol.packet.Title.Action.CLEAR), new ClearTitles()); + } + + this.title = null; + return this; + } + + public Title reset() { + if (this.reset == null) { + this.reset = new TitlePacketHolder(new net.md_5.bungee.protocol.packet.Title(net.md_5.bungee.protocol.packet.Title.Action.RESET), new ClearTitles(true)); + } + + this.title = null; + this.subtitle = null; + this.times = null; + return this; + } + + private static void sendPacket(ProxiedPlayer player, TitlePacketHolder packet) { + if (packet != null) { + if (player.getPendingConnection().getVersion() >= 755) { + player.unsafe().sendPacketQueued(packet.newPacket); + } else { + player.unsafe().sendPacket(packet.oldPacket); + } + } + + } + + public Title send(ProxiedPlayer player) { + if (ProtocolConstants.isBeforeOrEq(player.getPendingConnection().getVersion(), 5)) { + return this; + } else { + sendPacket(player, this.clear); + sendPacket(player, this.reset); + sendPacket(player, this.times); + sendPacket(player, this.subtitle); + sendPacket(player, this.title); + return this; + } + } + + private static class TitlePacketHolder { + private final net.md_5.bungee.protocol.packet.Title oldPacket; + private final T newPacket; + + @Generated + public TitlePacketHolder(net.md_5.bungee.protocol.packet.Title oldPacket, T newPacket) { + this.oldPacket = oldPacket; + this.newPacket = newPacket; + } + + @Generated + public net.md_5.bungee.protocol.packet.Title getOldPacket() { + return this.oldPacket; + } + + @Generated + public T getNewPacket() { + return this.newPacket; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TitlePacketHolder)) { + return false; + } else { + TitlePacketHolder other = (TitlePacketHolder)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$oldPacket = this.getOldPacket(); + Object other$oldPacket = other.getOldPacket(); + if (this$oldPacket == null) { + if (other$oldPacket != null) { + return false; + } + } else if (!this$oldPacket.equals(other$oldPacket)) { + return false; + } + + Object this$newPacket = this.getNewPacket(); + Object other$newPacket = other.getNewPacket(); + if (this$newPacket == null) { + if (other$newPacket != null) { + return false; + } + } else if (!this$newPacket.equals(other$newPacket)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TitlePacketHolder; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $oldPacket = this.getOldPacket(); + result = result * 59 + ($oldPacket == null ? 43 : $oldPacket.hashCode()); + Object $newPacket = this.getNewPacket(); + result = result * 59 + ($newPacket == null ? 43 : $newPacket.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getOldPacket()); + return "BungeeTitle.TitlePacketHolder(oldPacket=" + var10000 + ", newPacket=" + String.valueOf(this.getNewPacket()) + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/ConnectionThrottle.java b/src/main/java/net/md_5/bungee/ConnectionThrottle.java new file mode 100644 index 0000000..44d3fbd --- /dev/null +++ b/src/main/java/net/md_5/bungee/ConnectionThrottle.java @@ -0,0 +1,52 @@ +package net.md_5.bungee; + +import com.google.common.annotations.VisibleForTesting; +import com.google.common.base.Ticker; +import com.google.common.cache.CacheBuilder; +import com.google.common.cache.CacheLoader; +import com.google.common.cache.LoadingCache; +import java.net.InetAddress; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; + +public class ConnectionThrottle { + private final LoadingCache throttle; + private final int throttleLimit; + + public ConnectionThrottle(int throttleTime, int throttleLimit) { + this(Ticker.systemTicker(), throttleTime, throttleLimit); + } + + @VisibleForTesting + ConnectionThrottle(Ticker ticker, int throttleTime, int throttleLimit) { + this.throttle = CacheBuilder.newBuilder().ticker(ticker).concurrencyLevel(Runtime.getRuntime().availableProcessors()).initialCapacity(100).expireAfterWrite((long)throttleTime, TimeUnit.MILLISECONDS).build(new CacheLoader() { + public AtomicInteger load(InetAddress key) throws Exception { + return new AtomicInteger(); + } + }); + this.throttleLimit = throttleLimit; + } + + public void unthrottle(SocketAddress socketAddress) { + if (socketAddress instanceof InetSocketAddress) { + InetAddress address = ((InetSocketAddress)socketAddress).getAddress(); + AtomicInteger throttleCount = (AtomicInteger)this.throttle.getIfPresent(address); + if (throttleCount != null) { + throttleCount.decrementAndGet(); + } + + } + } + + public boolean throttle(SocketAddress socketAddress) { + if (!(socketAddress instanceof InetSocketAddress)) { + return false; + } else { + InetAddress address = ((InetSocketAddress)socketAddress).getAddress(); + int throttleCount = ((AtomicInteger)this.throttle.getUnchecked(address)).incrementAndGet(); + return throttleCount > this.throttleLimit; + } + } +} diff --git a/src/main/java/net/md_5/bungee/EncryptionUtil.java b/src/main/java/net/md_5/bungee/EncryptionUtil.java new file mode 100644 index 0000000..a343a47 --- /dev/null +++ b/src/main/java/net/md_5/bungee/EncryptionUtil.java @@ -0,0 +1,125 @@ +package net.md_5.bungee; + +import com.google.common.io.ByteStreams; +import com.google.common.primitives.Longs; +import java.io.IOException; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; +import java.nio.charset.StandardCharsets; +import java.security.GeneralSecurityException; +import java.security.Key; +import java.security.KeyFactory; +import java.security.KeyPair; +import java.security.KeyPairGenerator; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.security.PublicKey; +import java.security.Signature; +import java.security.spec.InvalidKeySpecException; +import java.security.spec.X509EncodedKeySpec; +import java.util.Base64; +import java.util.Random; +import java.util.UUID; +import javax.crypto.Cipher; +import javax.crypto.SecretKey; +import javax.crypto.spec.SecretKeySpec; +import net.md_5.bungee.jni.NativeCode; +import net.md_5.bungee.jni.cipher.BungeeCipher; +import net.md_5.bungee.jni.cipher.JavaCipher; +import net.md_5.bungee.jni.cipher.NativeCipher; +import net.md_5.bungee.protocol.data.PlayerPublicKey; +import net.md_5.bungee.protocol.packet.EncryptionRequest; +import net.md_5.bungee.protocol.packet.EncryptionResponse; + +public class EncryptionUtil { + private static final Random random = new Random(); + private static final Base64.Encoder MIME_ENCODER; + public static final KeyPair keys; + public static final NativeCode nativeFactory; + private static final PublicKey MOJANG_KEY; + + public static EncryptionRequest encryptRequest() { + String hash = Long.toString(random.nextLong(), 16); + byte[] pubKey = keys.getPublic().getEncoded(); + byte[] verify = new byte[4]; + random.nextBytes(verify); + return new EncryptionRequest(hash, pubKey, verify, true); + } + + public static boolean check(PlayerPublicKey publicKey, UUID uuid) throws GeneralSecurityException { + Signature signature = Signature.getInstance("SHA1withRSA"); + signature.initVerify(MOJANG_KEY); + byte[] check; + if (uuid != null) { + byte[] encoded = getPubkey(publicKey.getKey()).getEncoded(); + check = new byte[24 + encoded.length]; + ByteBuffer.wrap(check).order(ByteOrder.BIG_ENDIAN).putLong(uuid.getMostSignificantBits()).putLong(uuid.getLeastSignificantBits()).putLong(publicKey.getExpiry()).put(encoded); + } else { + long var10000 = publicKey.getExpiry(); + check = (var10000 + "-----BEGIN RSA PUBLIC KEY-----\n" + MIME_ENCODER.encodeToString(getPubkey(publicKey.getKey()).getEncoded()) + "\n-----END RSA PUBLIC KEY-----\n").getBytes(StandardCharsets.US_ASCII); + } + + signature.update(check); + return signature.verify(publicKey.getSignature()); + } + + public static boolean check(PlayerPublicKey publicKey, EncryptionResponse resp, EncryptionRequest request) throws GeneralSecurityException { + if (publicKey != null) { + Signature signature = Signature.getInstance("SHA256withRSA"); + signature.initVerify(getPubkey(publicKey.getKey())); + signature.update(request.getVerifyToken()); + signature.update(Longs.toByteArray(resp.getEncryptionData().getSalt())); + return signature.verify(resp.getEncryptionData().getSignature()); + } else { + Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding"); + cipher.init(2, keys.getPrivate()); + byte[] decrypted = cipher.doFinal(resp.getVerifyToken()); + return MessageDigest.isEqual(request.getVerifyToken(), decrypted); + } + } + + public static SecretKey getSecret(EncryptionResponse resp, EncryptionRequest request) throws GeneralSecurityException { + Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding"); + cipher.init(2, keys.getPrivate()); + return new SecretKeySpec(cipher.doFinal(resp.getSharedSecret()), "AES"); + } + + public static BungeeCipher getCipher(boolean forEncryption, SecretKey shared) throws GeneralSecurityException { + BungeeCipher cipher = nativeFactory.newInstance(); + cipher.init(forEncryption, shared); + return cipher; + } + + public static PublicKey getPubkey(EncryptionRequest request) throws GeneralSecurityException { + return getPubkey(request.getPublicKey()); + } + + private static PublicKey getPubkey(byte[] b) throws GeneralSecurityException { + return KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(b)); + } + + public static byte[] encrypt(Key key, byte[] b) throws GeneralSecurityException { + Cipher hasher = Cipher.getInstance("RSA/ECB/PKCS1Padding"); + hasher.init(1, key); + return hasher.doFinal(b); + } + + static { + MIME_ENCODER = Base64.getMimeEncoder(76, "\n".getBytes(StandardCharsets.UTF_8)); + nativeFactory = new NativeCode("native-cipher", JavaCipher::new, NativeCipher::new, false, false); + + try { + KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA"); + generator.initialize(1024); + keys = generator.generateKeyPair(); + } catch (NoSuchAlgorithmException ex) { + throw new ExceptionInInitializerError(ex); + } + + try { + MOJANG_KEY = KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(ByteStreams.toByteArray(EncryptionUtil.class.getResourceAsStream("/yggdrasil_session_pubkey.der")))); + } catch (NoSuchAlgorithmException | InvalidKeySpecException | IOException ex) { + throw new ExceptionInInitializerError(ex); + } + } +} diff --git a/src/main/java/net/md_5/bungee/PlayerInfoSerializer.java b/src/main/java/net/md_5/bungee/PlayerInfoSerializer.java new file mode 100644 index 0000000..55c809a --- /dev/null +++ b/src/main/java/net/md_5/bungee/PlayerInfoSerializer.java @@ -0,0 +1,50 @@ +package net.md_5.bungee; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import java.util.UUID; +import net.md_5.bungee.api.ServerPing; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class PlayerInfoSerializer implements JsonSerializer, JsonDeserializer { + private final int protocol; + + public PlayerInfoSerializer() { + this.protocol = 5; + } + + public PlayerInfoSerializer(int protocol) { + this.protocol = protocol; + } + + public ServerPing.PlayerInfo deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + JsonObject js = json.getAsJsonObject(); + ServerPing.PlayerInfo info = new ServerPing.PlayerInfo(js.get("name").getAsString(), (UUID)null); + String id = js.get("id").getAsString(); + if (!ProtocolConstants.isBeforeOrEq(this.protocol, 4) && id.contains("-")) { + info.setUniqueId(UUID.fromString(id)); + } else { + info.setId(id); + } + + return info; + } + + public JsonElement serialize(ServerPing.PlayerInfo src, Type typeOfSrc, JsonSerializationContext context) { + JsonObject out = new JsonObject(); + out.addProperty("name", src.getName()); + if (ProtocolConstants.isBeforeOrEq(this.protocol, 4)) { + out.addProperty("id", src.getId()); + } else { + out.addProperty("id", src.getUniqueId().toString()); + } + + return out; + } +} diff --git a/src/main/java/net/md_5/bungee/PlayerSkinConfiguration.java b/src/main/java/net/md_5/bungee/PlayerSkinConfiguration.java new file mode 100644 index 0000000..c469432 --- /dev/null +++ b/src/main/java/net/md_5/bungee/PlayerSkinConfiguration.java @@ -0,0 +1,42 @@ +package net.md_5.bungee; + +import lombok.Generated; +import net.md_5.bungee.api.SkinConfiguration; + +public class PlayerSkinConfiguration implements SkinConfiguration { + static final SkinConfiguration SKIN_SHOW_ALL = new PlayerSkinConfiguration((byte)127); + private final byte bitmask; + + public boolean hasCape() { + return (this.bitmask >> 0 & 1) == 1; + } + + public boolean hasJacket() { + return (this.bitmask >> 1 & 1) == 1; + } + + public boolean hasLeftSleeve() { + return (this.bitmask >> 2 & 1) == 1; + } + + public boolean hasRightSleeve() { + return (this.bitmask >> 3 & 1) == 1; + } + + public boolean hasLeftPants() { + return (this.bitmask >> 4 & 1) == 1; + } + + public boolean hasRightPants() { + return (this.bitmask >> 5 & 1) == 1; + } + + public boolean hasHat() { + return (this.bitmask >> 6 & 1) == 1; + } + + @Generated + public PlayerSkinConfiguration(byte bitmask) { + this.bitmask = bitmask; + } +} diff --git a/src/main/java/net/md_5/bungee/ServerConnection.java b/src/main/java/net/md_5/bungee/ServerConnection.java new file mode 100644 index 0000000..dc46b9f --- /dev/null +++ b/src/main/java/net/md_5/bungee/ServerConnection.java @@ -0,0 +1,209 @@ +package net.md_5.bungee; + +import com.google.common.base.Preconditions; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.util.ArrayDeque; +import java.util.Objects; +import java.util.Queue; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.connection.Server; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public class ServerConnection implements Server { + private final ChannelWrapper ch; + private final BungeeServerInfo info; + private boolean isObsolete; + private final boolean forgeServer = false; + private final Queue keepAlives = new ArrayDeque(); + private final Queue packetQueue = new ArrayDeque(); + private boolean firstLogin; + private final Connection.Unsafe unsafe = new Connection.Unsafe() { + public void sendPacket(DefinedPacket packet) { + ServerConnection.this.ch.write((Object)packet); + } + + public void sendPacketQueued(DefinedPacket packet) { + if (ServerConnection.this.ch.getEncodeVersion() >= 764) { + ServerConnection.this.sendPacketQueued(packet); + } else { + this.sendPacket(packet); + } + + } + }; + + public void sendPacketQueued(DefinedPacket packet) { + this.ch.scheduleIfNecessary(() -> { + if (!this.ch.isClosed()) { + Protocol encodeProtocol = this.ch.getEncodeProtocol(); + if (!encodeProtocol.TO_SERVER.hasPacket(packet.getClass(), this.ch.getEncodeVersion())) { + Preconditions.checkState(this.packetQueue.size() <= 4096, "too many queued packets"); + this.packetQueue.add(packet); + } else { + this.unsafe().sendPacket(packet); + } + + } + }); + } + + public void sendQueuedPackets() { + this.ch.scheduleIfNecessary(() -> { + if (!this.ch.isClosed()) { + DefinedPacket packet; + while((packet = (DefinedPacket)this.packetQueue.poll()) != null) { + this.unsafe().sendPacket(packet); + } + + } + }); + } + + public void sendData(String channel, byte[] data) { + this.sendPacketQueued(new PluginMessage(channel, data, false)); + } + + public void disconnect(String reason) { + this.disconnect(); + } + + public void disconnect(BaseComponent... reason) { + Preconditions.checkArgument(reason.length == 0, "Server cannot have disconnect reason"); + this.isObsolete = true; + this.ch.close(); + } + + public void disconnect(BaseComponent reason) { + this.disconnect(); + } + + public InetSocketAddress getAddress() { + return (InetSocketAddress)this.getSocketAddress(); + } + + public SocketAddress getSocketAddress() { + return this.getInfo().getAddress(); + } + + public boolean isConnected() { + return !this.ch.isClosed(); + } + + public Connection.Unsafe unsafe() { + return this.unsafe; + } + + @Generated + public ServerConnection(ChannelWrapper ch, BungeeServerInfo info) { + this.ch = ch; + this.info = info; + } + + @Generated + public ChannelWrapper getCh() { + return this.ch; + } + + @Generated + public BungeeServerInfo getInfo() { + return this.info; + } + + @Generated + public boolean isObsolete() { + return this.isObsolete; + } + + @Generated + public void setObsolete(boolean isObsolete) { + this.isObsolete = isObsolete; + } + + @Generated + public boolean isForgeServer() { + Objects.requireNonNull(this); + return false; + } + + @Generated + public Queue getKeepAlives() { + return this.keepAlives; + } + + @Generated + public boolean isFirstLogin() { + return this.firstLogin; + } + + @Generated + public void setFirstLogin(boolean firstLogin) { + this.firstLogin = firstLogin; + } + + public static class KeepAliveData { + private final long id; + private final long time; + + @Generated + public KeepAliveData(long id, long time) { + this.id = id; + this.time = time; + } + + @Generated + public long getId() { + return this.id; + } + + @Generated + public long getTime() { + return this.time; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof KeepAliveData)) { + return false; + } else { + KeepAliveData other = (KeepAliveData)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getId() != other.getId()) { + return false; + } else { + return this.getTime() == other.getTime(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof KeepAliveData; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $id = this.getId(); + result = result * 59 + (int)($id >>> 32 ^ $id); + long $time = this.getTime(); + result = result * 59 + (int)($time >>> 32 ^ $time); + return result; + } + + @Generated + public String toString() { + long var10000 = this.getId(); + return "ServerConnection.KeepAliveData(id=" + var10000 + ", time=" + this.getTime() + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/ServerConnector.java b/src/main/java/net/md_5/bungee/ServerConnector.java new file mode 100644 index 0000000..e18c641 --- /dev/null +++ b/src/main/java/net/md_5/bungee/ServerConnector.java @@ -0,0 +1,429 @@ +package net.md_5.bungee; + +import com.google.common.base.Joiner; +import com.google.common.base.Preconditions; +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.balancer.Balancer; +import dev._2lstudios.flamecord.event.DownstreamHandshakeEvent; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.ByteBufAllocator; +import java.net.InetSocketAddress; +import java.nio.charset.StandardCharsets; +import java.util.Arrays; +import java.util.Iterator; +import java.util.Locale; +import java.util.Queue; +import java.util.Set; +import java.util.UUID; +import java.util.logging.Level; +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.event.ServerConnectEvent; +import net.md_5.bungee.api.event.ServerConnectedEvent; +import net.md_5.bungee.api.event.ServerKickEvent; +import net.md_5.bungee.api.event.ServerSwitchEvent; +import net.md_5.bungee.api.score.Scoreboard; +import net.md_5.bungee.connection.CancelSendSignal; +import net.md_5.bungee.connection.DownstreamBridge; +import net.md_5.bungee.connection.LoginResult; +import net.md_5.bungee.forge.ForgeServerHandler; +import net.md_5.bungee.forge.ForgeUtils; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.netty.HandlerBoss; +import net.md_5.bungee.netty.PacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.MinecraftDecoder; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.PlayerPublicKey; +import net.md_5.bungee.protocol.data.Property; +import net.md_5.bungee.protocol.packet.BossBar; +import net.md_5.bungee.protocol.packet.BundleDelimiter; +import net.md_5.bungee.protocol.packet.CookieRequest; +import net.md_5.bungee.protocol.packet.CookieResponse; +import net.md_5.bungee.protocol.packet.EncryptionRequest; +import net.md_5.bungee.protocol.packet.EntityStatus; +import net.md_5.bungee.protocol.packet.GameState; +import net.md_5.bungee.protocol.packet.Handshake; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.protocol.packet.Login; +import net.md_5.bungee.protocol.packet.LoginPayloadRequest; +import net.md_5.bungee.protocol.packet.LoginPayloadResponse; +import net.md_5.bungee.protocol.packet.LoginRequest; +import net.md_5.bungee.protocol.packet.LoginSuccess; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.protocol.packet.Respawn; +import net.md_5.bungee.protocol.packet.SetCompression; +import net.md_5.bungee.protocol.packet.StartConfiguration; +import net.md_5.bungee.protocol.packet.ViewDistance; +import net.md_5.bungee.util.AddressUtil; +import net.md_5.bungee.util.BufUtil; +import net.md_5.bungee.util.QuietException; + +public class ServerConnector extends PacketHandler { + protected final ProxyServer bungee; + protected ChannelWrapper ch; + protected final UserConnection user; + protected final BungeeServerInfo target; + private State thisState; + private ForgeServerHandler handshakeHandler; + private boolean obsolete; + + public void exception(Throwable t) throws Exception { + if (!this.obsolete) { + String var10000 = String.valueOf(ChatColor.RED); + String message = var10000 + "Exception Connecting: " + Util.exception(t); + if (this.user.getServer() == null) { + this.user.disconnect(message); + } else { + this.user.sendMessage(message); + } + + } + } + + public void connected(final ChannelWrapper channel) throws Exception { + channel.setVersion(this.user.getPendingConnection().getVersion()); + this.ch = channel; + this.handshakeHandler = new ForgeServerHandler(this.user, this.ch, this.target); + Handshake originalHandshake = this.user.getPendingConnection().getHandshake(); + Handshake copiedHandshake = new Handshake(originalHandshake.getProtocolVersion(), originalHandshake.getHost(), originalHandshake.getPort(), 2); + if (BungeeCord.getInstance().config.isIpForward() && this.user.getSocketAddress() instanceof InetSocketAddress) { + String var10000 = copiedHandshake.getHost(); + String newHost = var10000 + "\u0000" + AddressUtil.sanitizeAddress(this.user.getAddress()) + "\u0000" + this.user.getUUID(); + LoginResult profile = this.user.getPendingConnection().getLoginProfile(); + Property[] properties = new Property[0]; + if (profile != null && profile.getProperties() != null && profile.getProperties().length > 0) { + properties = profile.getProperties(); + } + + if (this.user.getForgeClientHandler().isFmlTokenInHandshake()) { + Property[] newp = (Property[])Arrays.copyOf(properties, properties.length + 2); + newp[newp.length - 2] = new Property("forgeClient", "true", (String)null); + newp[newp.length - 1] = new Property("extraData", this.user.getExtraDataInHandshake().replaceAll("\u0000", "\u0001"), ""); + properties = newp; + } + + if (properties.length > 0) { + newHost = newHost + "\u0000" + LoginResult.GSON.toJson(properties); + } + + copiedHandshake.setHost(newHost); + } else if (!this.user.getExtraDataInHandshake().isEmpty()) { + String var10001 = copiedHandshake.getHost(); + copiedHandshake.setHost(var10001 + this.user.getExtraDataInHandshake()); + } + + Callback callback = new Callback() { + public void done(DownstreamHandshakeEvent result, Throwable error) { + if (!channel.isClosing()) { + channel.write((Object)result.getModifiedHandshake()); + channel.setProtocol(Protocol.LOGIN); + channel.write((Object)(new LoginRequest(ServerConnector.this.user.getName(), (PlayerPublicKey)null, ServerConnector.this.user.getRewriteId()))); + } + } + }; + this.bungee.getPluginManager().callEvent(new DownstreamHandshakeEvent(this.user, originalHandshake, copiedHandshake, this.target, callback)); + } + + public void disconnected(ChannelWrapper channel) throws Exception { + this.user.getPendingConnects().remove(this.target); + } + + public void handle(PacketWrapper packet) throws Exception { + if (packet.packet == null) { + throw new QuietException("Unexpected packet received during server login process!\n" + BufUtil.dump(packet.buf, 16)); + } + } + + public void handle(LoginSuccess loginSuccess) throws Exception { + Preconditions.checkState(this.thisState == ServerConnector.State.LOGIN_SUCCESS, "Not expecting LOGIN_SUCCESS"); + if (this.user.getPendingConnection().getVersion() >= 764) { + ServerConnection server = new ServerConnection(this.ch, this.target); + this.cutThrough(server); + } else { + this.ch.setProtocol(Protocol.GAME); + this.thisState = ServerConnector.State.LOGIN; + } + + if (this.user.getServer() != null && this.user.getForgeClientHandler().isHandshakeComplete() && this.user.getServer().isForgeServer()) { + this.user.getForgeClientHandler().resetHandshake(); + } + + throw CancelSendSignal.INSTANCE; + } + + public void handle(SetCompression setCompression) throws Exception { + this.ch.setCompressionThreshold(setCompression.getThreshold()); + } + + public void handle(CookieRequest cookieRequest) throws Exception { + this.user.retrieveCookie(cookieRequest.getCookie()).thenAccept((cookie) -> this.ch.write((Object)(new CookieResponse(cookieRequest.getCookie(), cookie)))); + } + + public void handle(Login login) throws Exception { + Preconditions.checkState(this.thisState == ServerConnector.State.LOGIN, "Not expecting LOGIN"); + ServerConnection server = new ServerConnection(this.ch, this.target); + handleLogin(this.bungee, this.ch, this.user, this.target, this.handshakeHandler, server, login); + this.cutThrough(server); + } + + public static void handleLogin(ProxyServer bungee, ChannelWrapper ch, UserConnection user, BungeeServerInfo target, ForgeServerHandler handshakeHandler, ServerConnection server, Login login) throws Exception { + ServerConnectedEvent event = new ServerConnectedEvent(user, server); + if (server.isForgeServer() && user.isForgeUser()) { + ((MinecraftDecoder)server.getCh().getHandle().pipeline().get("packet-decoder")).setSupportsForge(true); + ((MinecraftDecoder)user.getCh().getHandle().pipeline().get("packet-decoder")).setSupportsForge(true); + } + + bungee.getPluginManager().callEvent(event); + if (user.getPendingConnection().getVersion() < 764) { + ch.write((Object)BungeeCord.getInstance().registerChannels(user.getPendingConnection().getVersion())); + PluginMessage brandMessage = user.getPendingConnection().getBrandMessage(); + if (brandMessage != null) { + ch.write((Object)brandMessage); + } + + if (user.getSettings() != null) { + ch.write((Object)user.getSettings()); + } + } + + Queue packetQueue = target.getPacketQueue(); + synchronized(packetQueue) { + while(!packetQueue.isEmpty()) { + ch.write(packetQueue.poll()); + } + } + + Set registeredChannels = user.getPendingConnection().getRegisteredChannels(); + if (!registeredChannels.isEmpty()) { + ch.write((Object)(new PluginMessage(user.getPendingConnection().getVersion() >= 393 ? "minecraft:register" : "REGISTER", Joiner.on("\u0000").join(registeredChannels).getBytes(StandardCharsets.UTF_8), false))); + } + + if (user.getForgeClientHandler().getClientModList() == null && !user.getForgeClientHandler().isHandshakeComplete()) { + user.getForgeClientHandler().setHandshakeComplete(); + } + + if (user.getServer() != null && user.getPendingConnection().getVersion() < 764 && !FlameCord.getInstance().getFlameCordConfiguration().isChainedDownstreamProxySupportEnabled()) { + user.getServer().setObsolete(true); + } + + if (!user.isNeedLogin() && user.getPendingConnection().getVersion() < 735) { + if (user.getServer() != null && !FlameCord.getInstance().getFlameCordConfiguration().isChainedDownstreamProxySupportEnabled()) { + user.getServer().setObsolete(true); + } + + user.getTabListHandler().onServerChange(); + Scoreboard serverScoreboard = user.getServerSentScoreboard(); + serverScoreboard.clear(); + + for(UUID bossbar : user.getSentBossBars()) { + user.unsafe().sendPacket(new BossBar(bossbar, 1)); + } + + user.getSentBossBars().clear(); + user.unsafe().sendPacket(new EntityStatus(user.getClientEntityId(), (byte)(login.isReducedDebugInfo() ? 22 : 23))); + if (user.getPendingConnection().getVersion() >= 573) { + user.unsafe().sendPacket(new GameState((short)11, login.isNormalRespawn() ? 0.0F : 1.0F)); + } + + user.setDimensionChange(true); + user.setServerEntityId(login.getEntityId()); + user.setClientEntityId(login.getEntityId()); + if (login.getDimension() != user.getDimension()) { + user.unsafe().sendPacket(new Respawn((Integer)user.getDimension() >= 0 ? -1 : 0, login.getWorldName(), login.getSeed(), login.getDifficulty(), login.getGameMode(), login.getPreviousGameMode(), login.getLevelType(), login.isDebug(), login.isFlat(), (byte)0, login.getDeathLocation(), login.getPortalCooldown(), login.getSeaLevel())); + } + + Login modLogin = new Login(login.getEntityId(), login.isHardcore(), login.getGameMode(), login.getPreviousGameMode(), login.getWorldNames(), login.getDimensions(), login.getDimension(), login.getWorldName(), login.getSeed(), login.getDifficulty(), (byte)user.getPendingConnection().getListener().getTabListSize(), login.getLevelType(), login.getViewDistance(), login.getSimulationDistance(), login.isReducedDebugInfo(), login.isNormalRespawn(), login.isLimitedCrafting(), login.isDebug(), login.isFlat(), login.getDeathLocation(), login.getPortalCooldown(), login.getSeaLevel(), user.getPendingConnection().isOnlineMode(), login.isSecureProfile()); + user.unsafe().sendPacket(modLogin); + if (login.getDimension() == user.getDimension()) { + user.unsafe().sendPacket(new Respawn((Integer)login.getDimension() >= 0 ? -1 : 0, login.getWorldName(), login.getSeed(), login.getDifficulty(), login.getGameMode(), login.getPreviousGameMode(), login.getLevelType(), login.isDebug(), login.isFlat(), (byte)0, login.getDeathLocation(), login.getPortalCooldown(), login.getSeaLevel())); + } + + user.unsafe().sendPacket(new Respawn(login.getDimension(), login.getWorldName(), login.getSeed(), login.getDifficulty(), login.getGameMode(), login.getPreviousGameMode(), login.getLevelType(), login.isDebug(), login.isFlat(), (byte)0, login.getDeathLocation(), login.getPortalCooldown(), login.getSeaLevel())); + if (user.getPendingConnection().getVersion() >= 477) { + user.unsafe().sendPacket(new ViewDistance(login.getViewDistance())); + } + + user.setDimension(login.getDimension()); + } else { + user.setClientEntityId(login.getEntityId()); + user.setServerEntityId(login.getEntityId()); + Login modLogin = new Login(login.getEntityId(), login.isHardcore(), login.getGameMode(), login.getPreviousGameMode(), login.getWorldNames(), login.getDimensions(), login.getDimension(), login.getWorldName(), login.getSeed(), login.getDifficulty(), (byte)user.getPendingConnection().getListener().getTabListSize(), login.getLevelType(), login.getViewDistance(), login.getSimulationDistance(), login.isReducedDebugInfo(), login.isNormalRespawn(), login.isLimitedCrafting(), login.isDebug(), login.isFlat(), login.getDeathLocation(), login.getPortalCooldown(), login.getSeaLevel(), user.getPendingConnection().isOnlineMode(), login.isSecureProfile()); + user.unsafe().sendPacket(modLogin); + if (user.getDimension() != null) { + user.getTabListHandler().onServerChange(); + user.getServerSentScoreboard().clear(); + + for(UUID bossbar : user.getSentBossBars()) { + user.unsafe().sendPacket(new BossBar(bossbar, 1)); + } + + user.getSentBossBars().clear(); + user.unsafe().sendPacket(new Respawn(login.getDimension(), login.getWorldName(), login.getSeed(), login.getDifficulty(), login.getGameMode(), login.getPreviousGameMode(), login.getLevelType(), login.isDebug(), login.isFlat(), (byte)0, login.getDeathLocation(), login.getPortalCooldown(), login.getSeaLevel())); + } else { + user.unsafe().sendPacket(BungeeCord.getInstance().registerChannels(user.getPendingConnection().getVersion())); + if (ProtocolConstants.isBeforeOrEq(user.getPendingConnection().getVersion(), 5)) { + String var21 = bungee.getName(); + String brandString = var21 + " (" + bungee.getVersion() + ")"; + user.unsafe().sendPacket(new PluginMessage("MC|Brand", brandString.getBytes(StandardCharsets.UTF_8), handshakeHandler.isServerForge())); + } else { + ByteBuf brand = ByteBufAllocator.DEFAULT.heapBuffer(); + String var10000 = bungee.getName(); + DefinedPacket.writeString(var10000 + " (" + bungee.getVersion() + ")", brand); + user.unsafe().sendPacket(new PluginMessage(user.getPendingConnection().getVersion() >= 393 ? "minecraft:brand" : "MC|Brand", DefinedPacket.toArray(brand), handshakeHandler != null && handshakeHandler.isServerForge())); + brand.release(); + } + } + + user.setNeedLogin(false); + user.setDimension(login.getDimension()); + } + + } + + private void cutThrough(ServerConnection server) { + if (!this.user.isActive()) { + server.disconnect("Quitting"); + this.bungee.getLogger().log(Level.WARNING, "[{0}] No client connected for pending server!", this.user); + } else { + if (this.user.getPendingConnection().getVersion() >= 764) { + if (this.user.getServer() == null && this.user.isNeedLogin()) { + this.user.getPendingConnection().sendLoginSuccess(this.user.getSessionId()); + this.user.getCh().setEncodeProtocol(Protocol.CONFIGURATION); + } else if (this.user.getCh().getEncodeProtocol() != Protocol.CONFIGURATION) { + if (this.user.isBundling()) { + this.user.toggleBundling(); + this.user.unsafe().sendPacket(new BundleDelimiter()); + } + + this.user.unsafe().sendPacket(new StartConfiguration()); + } + } + + if (this.user.getServer() != null) { + this.user.getServer().disconnect("Quitting"); + } + + this.target.addPlayer(this.user); + this.user.getPendingConnects().remove(this.target); + this.user.setServerJoinQueue((Queue)null); + this.user.setDimensionChange(false); + ServerInfo from = this.user.getServer() == null ? null : this.user.getServer().getInfo(); + this.user.setServer(server); + ((HandlerBoss)this.ch.getHandle().pipeline().get(HandlerBoss.class)).setHandler(new DownstreamBridge(this.bungee, this.user, server)); + this.bungee.getPluginManager().callEvent(new ServerSwitchEvent(this.user, from)); + this.thisState = ServerConnector.State.FINISHED; + throw CancelSendSignal.INSTANCE; + } + } + + public void handle(EncryptionRequest encryptionRequest) throws Exception { + throw new QuietException("Server is online mode!"); + } + + public void handle(Kick kick) throws Exception { + ServerInfo def = this.user.updateAndGetNextServer(this.target); + ServerKickEvent event = new ServerKickEvent(this.user, this.target, new BaseComponent[]{kick.getMessage()}, def, ServerKickEvent.State.CONNECTING, ServerKickEvent.Cause.SERVER); + if (event.getKickReason().toLowerCase(Locale.ROOT).contains("outdated") && def != null) { + event.setCancelled(true); + } + + if (Balancer.isEnabled() && Balancer.isFallback() && !Balancer.isServer(this.user.getServer()) && this.user.getServer() != null && !Balancer.isServerCommandBlacklisted(this.user.getServer().getInfo())) { + event.setCancelled(true); + event.setCancelServer(Balancer.getBestServer()); + } + + this.bungee.getPluginManager().callEvent(event); + if (event.isCancelled() && event.getCancelServer() != null) { + this.obsolete = true; + this.user.connect(event.getCancelServer(), ServerConnectEvent.Reason.KICK_REDIRECT); + throw CancelSendSignal.INSTANCE; + } else { + String message = this.bungee.getTranslation("connect_kick", this.target.getName(), event.getKickReason()); + if (this.user.isDimensionChange()) { + this.user.disconnect(message); + } else { + this.user.sendMessage(message); + } + + throw CancelSendSignal.INSTANCE; + } + } + + public void handle(PluginMessage pluginMessage) throws Exception { + if (BungeeCord.getInstance().config.isForgeSupport()) { + if (pluginMessage.getTag().equals("REGISTER")) { + Set channels = ForgeUtils.readRegisteredChannels(pluginMessage); + boolean isForgeServer = false; + Iterator var4 = channels.iterator(); + + while(true) { + if (var4.hasNext()) { + String channel = (String)var4.next(); + if (!channel.equals("FML|HS")) { + continue; + } + + if (this.user.getServer() != null && this.user.getForgeClientHandler().isHandshakeComplete()) { + this.user.getForgeClientHandler().resetHandshake(); + } + + isForgeServer = true; + } + + if (isForgeServer && !this.handshakeHandler.isServerForge()) { + this.handshakeHandler.setServerAsForgeServer(); + this.user.setForgeServerHandler(this.handshakeHandler); + } + break; + } + } + + if (pluginMessage.getTag().equals("FML|HS") || pluginMessage.getTag().equals("FORGE")) { + this.handshakeHandler.handle(pluginMessage); + if (this.user.getForgeClientHandler().checkUserOutdated()) { + this.ch.close(); + this.user.getPendingConnects().remove(this.target); + } + + throw CancelSendSignal.INSTANCE; + } + } + + this.user.unsafe().sendPacket(pluginMessage); + } + + public void handle(LoginPayloadRequest loginPayloadRequest) { + this.ch.write((Object)(new LoginPayloadResponse(loginPayloadRequest.getId(), (byte[])null))); + } + + public String toString() { + String var10000 = this.user.getName(); + return "[" + var10000 + "|" + String.valueOf(this.user.getAddress()) + "] <-> ServerConnector [" + this.target.getName() + "]"; + } + + @Generated + public ServerConnector(ProxyServer bungee, UserConnection user, BungeeServerInfo target) { + this.thisState = ServerConnector.State.LOGIN_SUCCESS; + this.bungee = bungee; + this.user = user; + this.target = target; + } + + @Generated + public ForgeServerHandler getHandshakeHandler() { + return this.handshakeHandler; + } + + private static enum State { + LOGIN_SUCCESS, + LOGIN, + FINISHED; + } +} diff --git a/src/main/java/net/md_5/bungee/UserConnection.java b/src/main/java/net/md_5/bungee/UserConnection.java new file mode 100644 index 0000000..1011d2b --- /dev/null +++ b/src/main/java/net/md_5/bungee/UserConnection.java @@ -0,0 +1,932 @@ +package net.md_5.bungee; + +import com.google.common.base.Preconditions; +import com.google.common.collect.HashMultimap; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.Multimap; +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.forge.ModernForgeClientHandler; +import dev._2lstudios.flamecord.forge.ModernForgeServerConnector; +import io.netty.channel.ChannelFuture; +import io.netty.channel.ChannelFutureListener; +import io.netty.channel.ChannelOption; +import io.netty.util.internal.PlatformDependent; +import java.net.InetAddress; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.util.ArrayDeque; +import java.util.Collection; +import java.util.Collections; +import java.util.HashSet; +import java.util.LinkedList; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.Objects; +import java.util.Queue; +import java.util.UUID; +import java.util.concurrent.CompletableFuture; +import java.util.logging.Level; +import java.util.logging.Logger; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.ChatMessageType; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.ServerConnectRequest; +import net.md_5.bungee.api.ServerLink; +import net.md_5.bungee.api.SkinConfiguration; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.dialog.Dialog; +import net.md_5.bungee.api.event.PermissionCheckEvent; +import net.md_5.bungee.api.event.ServerConnectEvent; +import net.md_5.bungee.api.score.Scoreboard; +import net.md_5.bungee.chat.VersionedComponentSerializer; +import net.md_5.bungee.connection.InitialHandler; +import net.md_5.bungee.forge.ForgeClientHandler; +import net.md_5.bungee.forge.ForgeConstants; +import net.md_5.bungee.forge.ForgeServerHandler; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.netty.HandlerBoss; +import net.md_5.bungee.netty.PipelineUtils; +import net.md_5.bungee.protocol.ChatSerializer; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.MinecraftEncoder; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.packet.Chat; +import net.md_5.bungee.protocol.packet.ClearDialog; +import net.md_5.bungee.protocol.packet.ClientSettings; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.protocol.packet.PlayerListHeaderFooter; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.protocol.packet.ServerLinks; +import net.md_5.bungee.protocol.packet.SetCompression; +import net.md_5.bungee.protocol.packet.ShowDialog; +import net.md_5.bungee.protocol.packet.ShowDialogDirect; +import net.md_5.bungee.protocol.packet.StoreCookie; +import net.md_5.bungee.protocol.packet.SystemChat; +import net.md_5.bungee.protocol.packet.Title; +import net.md_5.bungee.protocol.packet.Transfer; +import net.md_5.bungee.protocol.util.Either; +import net.md_5.bungee.tab.ServerUnique; +import net.md_5.bungee.tab.TabList; +import net.md_5.bungee.util.CaseInsensitiveSet; +import net.md_5.bungee.util.ChatComponentTransformer; +import net.md_5.bungee.util.QuietException; + +public final class UserConnection implements ProxiedPlayer { + private final @NonNull ProxyServer bungee; + private final @NonNull ChannelWrapper ch; + private final @NonNull String name; + private final InitialHandler pendingConnection; + private ServerConnection server; + private Object dimension; + private boolean dimensionChange = true; + private final Collection pendingConnects = new HashSet(); + private int ping = 100; + private ServerInfo reconnectServer; + private TabList tabListHandler; + private int gamemode; + private int compressionThreshold = -1; + private Queue serverJoinQueue; + private boolean bundling; + private final Collection groups = new CaseInsensitiveSet(); + private final Collection permissions = new CaseInsensitiveSet(); + private final UUID sessionId = UUID.randomUUID(); + private int clientEntityId; + private int serverEntityId; + private ClientSettings settings; + private final Scoreboard serverSentScoreboard = new Scoreboard(); + private final Collection sentBossBars = new HashSet(); + private final Multimap potions = HashMultimap.create(); + private String lastCommandTabbed; + private String displayName; + private VersionedComponentSerializer chatSerializer; + private Locale locale; + private ForgeClientHandler forgeClientHandler; + private ForgeServerHandler forgeServerHandler; + private final Queue packetQueue = new ArrayDeque(); + private final Connection.Unsafe unsafe = new Connection.Unsafe() { + public void sendPacket(DefinedPacket packet) { + UserConnection.this.ch.write((Object)packet); + } + + public void sendPacketQueued(DefinedPacket packet) { + if (UserConnection.this.pendingConnection.getVersion() >= 764) { + UserConnection.this.sendPacketQueued(packet); + } else { + this.sendPacket(packet); + } + + } + }; + private boolean needLogin = true; + private boolean modernForge = false; + + public void toggleBundling() { + this.bundling = !this.bundling; + } + + public boolean init() { + this.chatSerializer = ChatSerializer.forVersion(this.getPendingConnection().getVersion()); + this.displayName = this.name; + this.tabListHandler = new ServerUnique(this); + Collection g = this.bungee.getConfigurationAdapter().getGroups(this.name); + g.addAll(this.bungee.getConfigurationAdapter().getGroups(this.getUniqueId().toString())); + + for(String s : g) { + this.addGroups(s); + } + + if (ForgeConstants.FORGE_1_20_4_TOKEN.matcher(this.getPendingConnection().getExtraDataInHandshake()).find()) { + this.forgeClientHandler = new ModernForgeClientHandler(this); + this.forgeClientHandler.setFmlTokenInHandshake(true); + } else if (!this.getPendingConnection().getExtraDataInHandshake().contains("\u0000FML2\u0000") && !this.getPendingConnection().getExtraDataInHandshake().contains("\u0000FML3\u0000")) { + this.forgeClientHandler = new ForgeClientHandler(this); + if (this.getPendingConnection().getExtraDataInHandshake().contains("\u0000FML\u0000")) { + this.forgeClientHandler.setFmlTokenInHandshake(true); + } + } else { + this.forgeClientHandler = new ModernForgeClientHandler(this); + this.forgeClientHandler.setFmlTokenInHandshake(true); + this.modernForge = true; + } + + return BungeeCord.getInstance().addConnection(this); + } + + public void sendPacket(PacketWrapper packet) { + this.ch.write(packet); + } + + public void sendPacketQueued(DefinedPacket packet) { + this.ch.scheduleIfNecessary(() -> { + if (!this.ch.isClosed()) { + Protocol encodeProtocol = this.ch.getEncodeProtocol(); + if (!encodeProtocol.TO_CLIENT.hasPacket(packet.getClass(), this.getPendingConnection().getVersion())) { + Preconditions.checkState(this.packetQueue.size() <= 4096, "too many queued packets"); + this.packetQueue.add(packet); + } else { + this.unsafe().sendPacket(packet); + } + + } + }); + } + + public void sendQueuedPackets() { + this.ch.scheduleIfNecessary(() -> { + if (!this.ch.isClosed()) { + DefinedPacket packet; + while((packet = (DefinedPacket)this.packetQueue.poll()) != null) { + this.unsafe().sendPacket(packet); + } + + } + }); + } + + /** @deprecated */ + @Deprecated + public boolean isActive() { + return !this.ch.isClosed(); + } + + public void setDisplayName(String name) { + Preconditions.checkNotNull(name, "displayName"); + this.displayName = name; + } + + public void connect(ServerInfo target) { + this.connect(target, (Callback)null, ServerConnectEvent.Reason.PLUGIN); + } + + public void connect(ServerInfo target, ServerConnectEvent.Reason reason) { + this.connect(target, (Callback)null, false, reason); + } + + public void connect(ServerInfo target, Callback callback) { + this.connect(target, callback, false, ServerConnectEvent.Reason.PLUGIN); + } + + public void connect(ServerInfo target, Callback callback, ServerConnectEvent.Reason reason) { + this.connect(target, callback, false, reason); + } + + /** @deprecated */ + @Deprecated + public void connectNow(ServerInfo target) { + this.connectNow(target, ServerConnectEvent.Reason.UNKNOWN); + } + + public void connectNow(ServerInfo target, ServerConnectEvent.Reason reason) { + this.dimensionChange = true; + this.connect(target, reason); + } + + public ServerInfo updateAndGetNextServer(ServerInfo currentTarget) { + if (this.serverJoinQueue == null) { + this.serverJoinQueue = new LinkedList(this.getPendingConnection().getListener().getServerPriority()); + } + + ServerInfo next = null; + + while(!this.serverJoinQueue.isEmpty()) { + ServerInfo candidate = ProxyServer.getInstance().getServerInfo((String)this.serverJoinQueue.remove()); + if (!Objects.equals(currentTarget, candidate)) { + next = candidate; + break; + } + } + + return next; + } + + public void connect(ServerInfo info, Callback callback, boolean retry) { + this.connect(info, callback, retry, ServerConnectEvent.Reason.PLUGIN); + } + + public void connect(ServerInfo info, Callback callback, boolean retry, ServerConnectEvent.Reason reason) { + this.connect(info, callback, retry, reason, this.bungee.getConfig().getServerConnectTimeout()); + } + + public void connect(ServerInfo info, Callback callback, boolean retry, int timeout) { + this.connect(info, callback, retry, ServerConnectEvent.Reason.PLUGIN, timeout); + } + + public void connect(ServerInfo info, Callback callback, boolean retry, ServerConnectEvent.Reason reason, int timeout) { + this.connect(info, callback, retry, reason, timeout, true); + } + + public void connect(ServerInfo info, final Callback callback, boolean retry, ServerConnectEvent.Reason reason, int timeout, boolean sendFeedback) { + Preconditions.checkNotNull(info, "info"); + if (this.isActive()) { + ServerConnectRequest.Builder builder = ServerConnectRequest.builder().retry(retry).reason(reason).target(info).sendFeedback(sendFeedback); + builder.connectTimeout(timeout); + if (callback != null) { + builder.callback(new Callback() { + public void done(ServerConnectRequest.Result result, Throwable error) { + callback.done(result == ServerConnectRequest.Result.SUCCESS ? Boolean.TRUE : Boolean.FALSE, error); + } + }); + } + + this.connect(builder.build()); + } + } + + public void connect(ServerConnectRequest request) { + Preconditions.checkNotNull(request, "request"); + this.ch.scheduleIfNecessary(() -> this.connect0(request)); + } + + private void connect0(final ServerConnectRequest request) { + final Callback callback = request.getCallback(); + ServerConnectEvent event = new ServerConnectEvent(this, request.getTarget(), request.getReason(), request); + if (((ServerConnectEvent)this.bungee.getPluginManager().callEvent(event)).isCancelled()) { + if (callback != null) { + callback.done(ServerConnectRequest.Result.EVENT_CANCEL, (Throwable)null); + } + + if (this.getServer() == null && !this.ch.isClosing()) { + throw new QuietException("A plugin cancelled ServerConnectEvent with no server or disconnect."); + } + } else { + final BungeeServerInfo target = (BungeeServerInfo)event.getTarget(); + if (this.getServer() != null && Objects.equals(this.getServer().getInfo(), target)) { + if (callback != null) { + callback.done(ServerConnectRequest.Result.ALREADY_CONNECTED, (Throwable)null); + } + + if (request.isSendFeedback()) { + this.sendMessage(this.bungee.getTranslation("already_connected")); + } + + } else if (this.pendingConnects.contains(target)) { + if (callback != null) { + callback.done(ServerConnectRequest.Result.ALREADY_CONNECTING, (Throwable)null); + } + + if (request.isSendFeedback()) { + this.sendMessage(this.bungee.getTranslation("already_connecting")); + } + + } else { + this.pendingConnects.add(target); + ChannelFutureListener listener = new ChannelFutureListener() { + public void operationComplete(ChannelFuture future) throws Exception { + if (callback != null) { + callback.done(future.isSuccess() ? ServerConnectRequest.Result.SUCCESS : ServerConnectRequest.Result.FAIL, future.cause()); + } + + if (!future.isSuccess()) { + future.channel().close(); + UserConnection.this.pendingConnects.remove(target); + InetSocketAddress targetAddress = target.getAddress(); + InetAddress targetInetAddress = targetAddress.getAddress(); + String var10000 = targetAddress.getHostName(); + InetSocketAddress updated = (InetSocketAddress)Util.getAddr(var10000 + ":" + targetAddress.getPort()); + InetAddress updatedAddress = updated.getAddress(); + if (updatedAddress != null && targetInetAddress != null && !updatedAddress.getHostAddress().equals(targetInetAddress.getHostAddress())) { + ServerInfo updatedInfo = ProxyServer.getInstance().constructServerInfo(target.getName(), updated, target.getMotd(), target.isRestricted()); + ProxyServer.getInstance().getConfig().addServer(updatedInfo); + UserConnection.this.connect(updatedInfo, (Callback)null, false, ServerConnectEvent.Reason.UNKNOWN); + } else { + Logger var8 = UserConnection.this.bungee.getLogger(); + Level var10001 = Level.WARNING; + String var10002 = UserConnection.this.getName() != null ? UserConnection.this.getName() : "unknown"; + var8.log(var10001, "[FlameCord] Backend connection failed for player: " + var10002); + UserConnection.this.bungee.getLogger().log(Level.WARNING, "[FlameCord] Target server: " + target.getName()); + var8 = UserConnection.this.bungee.getLogger(); + var10001 = Level.WARNING; + var10002 = targetAddress.getHostString(); + var8.log(var10001, "[FlameCord] Configured address: " + var10002 + ":" + targetAddress.getPort()); + var8 = UserConnection.this.bungee.getLogger(); + var10001 = Level.WARNING; + var10002 = updated.getHostString(); + var8.log(var10001, "[FlameCord] Re-resolved address: " + var10002 + ":" + updated.getPort()); + var8 = UserConnection.this.bungee.getLogger(); + var10001 = Level.WARNING; + var10002 = future.cause().getClass().getName(); + var8.log(var10001, "[FlameCord] Exception: " + var10002 + " - " + (future.cause().getMessage() != null ? future.cause().getMessage() : "no message")); + UserConnection.this.bungee.getLogger().log(Level.WARNING, "[FlameCord] Operator guidance: Verify the backend server is online and reachable. If the target should be healthy, review ViaVersion or other protocol/manipulating plugins that may intercept the connection."); + ServerInfo def = UserConnection.this.updateAndGetNextServer(target); + if (!request.isRetry() || def == null || UserConnection.this.getServer() != null && def == UserConnection.this.getServer().getInfo()) { + if (!UserConnection.this.dimensionChange && !UserConnection.this.isDuringModernHandshake()) { + UserConnection.this.sendMessage(UserConnection.this.bungee.getTranslation("fallback_kick", future.cause().getClass().getName())); + } else { + UserConnection.this.disconnect(UserConnection.this.bungee.getTranslation("fallback_kick", future.cause().getClass().getName())); + } + } else { + UserConnection.this.sendMessage(UserConnection.this.bungee.getTranslation("fallback_lobby")); + UserConnection.this.connect(def, (Callback)null, true, ServerConnectEvent.Reason.LOBBY_FALLBACK); + } + } + } else if (UserConnection.this.isModernForge()) { + ((HandlerBoss)future.channel().pipeline().get(HandlerBoss.class)).setHandler(new ModernForgeServerConnector(UserConnection.this.bungee, UserConnection.this, target)); + } else { + ((HandlerBoss)future.channel().pipeline().get(HandlerBoss.class)).setHandler(new ServerConnector(UserConnection.this.bungee, UserConnection.this, target)); + } + + } + }; + io.netty.bootstrap.Bootstrap b = ((io.netty.bootstrap.Bootstrap)((io.netty.bootstrap.Bootstrap)((io.netty.bootstrap.Bootstrap)((io.netty.bootstrap.Bootstrap)(new io.netty.bootstrap.Bootstrap()).channelFactory(PipelineUtils.getChannelFactory(target.getAddress()))).group(this.ch.getHandle().eventLoop())).handler(this.bungee.unsafe().getBackendChannelInitializer().getChannelInitializer())).option(ChannelOption.CONNECT_TIMEOUT_MILLIS, request.getConnectTimeout())).remoteAddress(target.getAddress()); + ListenerInfo listenerInfo = this.getPendingConnection().getListener(); + if (listenerInfo.isSetLocalAddress() && !PlatformDependent.isWindows() && listenerInfo.getSocketAddress() instanceof InetSocketAddress) { + b.localAddress(listenerInfo.getHost().getHostString(), 0); + } + + b.connect().addListener(listener); + } + } + } + + private String connectionFailMessage(Throwable cause) { + if (FlameCord.getInstance().getFlameCordConfiguration().isLoggerDetailedConnection()) { + Logger var10000 = this.bungee.getLogger(); + String var10002 = this.name; + var10000.log(Level.WARNING, "Error occurred processing connection for " + var10002 + " " + Util.exception(cause, false)); + return this.groups.contains("admin") ? cause.getMessage() : cause.getClass().getName(); + } else { + return cause.getClass().getName(); + } + } + + public void disconnect(String reason) { + this.disconnect(TextComponent.fromLegacy(reason)); + } + + public void disconnect(BaseComponent... reason) { + this.disconnect(TextComponent.fromArray(reason)); + } + + public void disconnect(BaseComponent reason) { + this.disconnect0(reason); + } + + public void disconnect0(BaseComponent reason) { + if (!this.ch.isClosing()) { + this.bungee.getLogger().log(Level.INFO, "[{0}] disconnected with: {1}", new Object[]{this.getName(), BaseComponent.toLegacyText(reason)}); + this.ch.close(new Kick(reason)); + if (this.server != null) { + this.server.disconnect("Quitting"); + } + } + + } + + public void chat(String message) { + Preconditions.checkState(this.server != null, "Not connected to server"); + if (this.getPendingConnection().getVersion() >= 759) { + throw new UnsupportedOperationException("Cannot spoof chat on this client version!"); + } else { + this.server.getCh().write((Object)(new Chat(message))); + } + } + + public void sendMessage(String message) { + if (message != null && !message.equals("")) { + this.sendMessage(TextComponent.fromLegacy(message)); + } + + } + + public void sendMessages(String... messages) { + for(String message : messages) { + this.sendMessage(message); + } + + } + + public void sendMessage(BaseComponent... message) { + this.sendMessage(ChatMessageType.SYSTEM, message); + } + + public void sendMessage(BaseComponent message) { + this.sendMessage(ChatMessageType.SYSTEM, message); + } + + public void sendMessage(ChatMessageType position, BaseComponent... message) { + this.sendMessage(position, (UUID)null, TextComponent.fromArray(message)); + } + + public void sendMessage(ChatMessageType position, BaseComponent message) { + this.sendMessage(position, (UUID)null, message); + } + + public void sendMessage(UUID sender, BaseComponent... message) { + this.sendMessage(ChatMessageType.CHAT, sender, TextComponent.fromArray(message)); + } + + public void sendMessage(UUID sender, BaseComponent message) { + this.sendMessage(ChatMessageType.CHAT, sender, message); + } + + private void sendMessage(ChatMessageType position, UUID sender, BaseComponent message) { + BaseComponent var5 = ChatComponentTransformer.getInstance().transform(this, true, message); + if (position == ChatMessageType.ACTION_BAR && this.getPendingConnection().getVersion() < 755 && this.getPendingConnection().getVersion() >= 47) { + if (this.getPendingConnection().getVersion() > 210) { + Title title = new Title(); + title.setAction(Title.Action.ACTIONBAR); + title.setText((BaseComponent)var5); + this.sendPacketQueued(title); + return; + } + + var5 = new TextComponent(BaseComponent.toLegacyText((BaseComponent)var5)); + } + + if (this.getPendingConnection().getVersion() >= 759) { + if (position == ChatMessageType.CHAT) { + position = ChatMessageType.SYSTEM; + } + + this.sendPacketQueued(new SystemChat((BaseComponent)var5, position.ordinal())); + } else { + this.sendPacketQueued(new Chat(this.chatSerializer.toString((BaseComponent)var5), (byte)position.ordinal(), sender)); + } + + } + + public void sendData(String channel, byte[] data) { + this.sendPacketQueued(new PluginMessage(channel, data, this.forgeClientHandler.isForgeUser())); + } + + public InetSocketAddress getAddress() { + return (InetSocketAddress)this.getSocketAddress(); + } + + public SocketAddress getSocketAddress() { + return this.ch.getRemoteAddress(); + } + + public Collection getGroups() { + return Collections.unmodifiableCollection(this.groups); + } + + public void addGroups(String... groups) { + for(String group : groups) { + this.groups.add(group); + + for(String permission : this.bungee.getConfigurationAdapter().getPermissions(group)) { + this.setPermission(permission, true); + } + } + + } + + public void removeGroups(String... groups) { + for(String group : groups) { + this.groups.remove(group); + + for(String permission : this.bungee.getConfigurationAdapter().getPermissions(group)) { + this.setPermission(permission, false); + } + } + + } + + public boolean hasPermission(String permission) { + return ((PermissionCheckEvent)this.bungee.getPluginManager().callEvent(new PermissionCheckEvent(this, permission, this.permissions.contains(permission)))).hasPermission(); + } + + public void setPermission(String permission, boolean value) { + if (value) { + this.permissions.add(permission); + } else { + this.permissions.remove(permission); + } + + } + + public Collection getPermissions() { + return Collections.unmodifiableCollection(this.permissions); + } + + public String toString() { + return this.name; + } + + public Connection.Unsafe unsafe() { + return this.unsafe; + } + + public String getUUID() { + return this.getPendingConnection().getUUID(); + } + + public UUID getUniqueId() { + return this.getPendingConnection().getUniqueId(); + } + + public UUID getRewriteId() { + return this.getPendingConnection().getRewriteId(); + } + + public void setSettings(ClientSettings settings) { + this.settings = settings; + this.locale = null; + } + + public Locale getLocale() { + return this.locale == null && this.settings != null ? (this.locale = Locale.forLanguageTag(this.settings.getLocale().replace('_', '-'))) : this.locale; + } + + public byte getViewDistance() { + return this.settings != null ? this.settings.getViewDistance() : 10; + } + + public ProxiedPlayer.ChatMode getChatMode() { + if (this.settings == null) { + return ProxiedPlayer.ChatMode.SHOWN; + } else { + switch (this.settings.getChatFlags()) { + case 0: + default: + return ProxiedPlayer.ChatMode.SHOWN; + case 1: + return ProxiedPlayer.ChatMode.COMMANDS_ONLY; + case 2: + return ProxiedPlayer.ChatMode.HIDDEN; + } + } + } + + public boolean hasChatColors() { + return this.settings == null || this.settings.isChatColours(); + } + + public SkinConfiguration getSkinParts() { + return (SkinConfiguration)(this.settings != null ? new PlayerSkinConfiguration(this.settings.getSkinParts()) : PlayerSkinConfiguration.SKIN_SHOW_ALL); + } + + public ProxiedPlayer.MainHand getMainHand() { + return this.settings != null && this.settings.getMainHand() != 1 ? ProxiedPlayer.MainHand.LEFT : ProxiedPlayer.MainHand.RIGHT; + } + + public boolean isForgeUser() { + return this.forgeClientHandler.isForgeUser(); + } + + public Map getModList() { + return this.forgeClientHandler.getClientModList() == null ? ImmutableMap.of() : ImmutableMap.copyOf(this.forgeClientHandler.getClientModList()); + } + + public void setTabHeader(BaseComponent header, BaseComponent footer) { + if (!ProtocolConstants.isBeforeOrEq(this.pendingConnection.getVersion(), 5)) { + header = ChatComponentTransformer.getInstance().transform(this, true, header); + footer = ChatComponentTransformer.getInstance().transform(this, true, footer); + this.sendPacketQueued(new PlayerListHeaderFooter(header, footer)); + } + } + + public void setTabHeader(BaseComponent[] header, BaseComponent[] footer) { + this.setTabHeader(TextComponent.fromArray(header), TextComponent.fromArray(footer)); + } + + public void resetTabHeader() { + this.setTabHeader((BaseComponent)((BaseComponent)null), (BaseComponent)null); + } + + public void sendTitle(net.md_5.bungee.api.Title title) { + title.send(this); + } + + public String getExtraDataInHandshake() { + return this.getPendingConnection().getExtraDataInHandshake(); + } + + public String getClientBrand() { + return this.getPendingConnection().getClientBrand(); + } + + public void setCompressionThreshold(int compressionThreshold) { + if (!ProtocolConstants.isBeforeOrEq(this.pendingConnection.getVersion(), 5)) { + if (!this.ch.isClosing() && this.compressionThreshold == -1 && compressionThreshold >= 0) { + this.compressionThreshold = compressionThreshold; + this.unsafe.sendPacket(new SetCompression(compressionThreshold)); + this.ch.setCompressionThreshold(compressionThreshold); + } + + } + } + + public boolean isConnected() { + return !this.ch.isClosed(); + } + + public Scoreboard getScoreboard() { + return this.serverSentScoreboard; + } + + public CompletableFuture retrieveCookie(String cookie) { + return this.pendingConnection.retrieveCookie(cookie); + } + + public void storeCookie(String cookie, byte[] data) { + Preconditions.checkState(this.getPendingConnection().getVersion() >= 766, "Cookies are only supported in 1.20.5 and above"); + this.unsafe().sendPacket(new StoreCookie(cookie, data)); + } + + public void transfer(String host, int port) { + Preconditions.checkState(this.getPendingConnection().getVersion() >= 766, "Transfers are only supported in 1.20.5 and above"); + this.unsafe().sendPacket(new Transfer(host, port)); + } + + public void clearDialog() { + Preconditions.checkState(this.getPendingConnection().getVersion() >= 771, "Dialogs are only supported in 1.21.6 and above"); + this.unsafe().sendPacket(new ClearDialog()); + } + + public void showDialog(Dialog dialog) { + Preconditions.checkState(this.getPendingConnection().getVersion() >= 771, "Dialogs are only supported in 1.21.6 and above"); + if (this.ch.getEncodeProtocol() == Protocol.CONFIGURATION) { + this.unsafe.sendPacket(new ShowDialogDirect(dialog)); + } else { + this.unsafe.sendPacket(new ShowDialog(Either.right(dialog))); + } + } + + public void sendServerLinks(List serverLinks) { + Preconditions.checkState(this.getPendingConnection().getVersion() >= 767, "Server links are only supported in 1.21 and above"); + ServerLinks.Link[] links = (ServerLinks.Link[])serverLinks.stream().map((link) -> new ServerLinks.Link(link.getType() != null ? Either.left(link.getType().ordinal()) : Either.right(link.getLabel()), link.getUrl())).toArray((x$0) -> new ServerLinks.Link[x$0]); + this.unsafe.sendPacket(new ServerLinks(links)); + } + + public boolean isDuringModernHandshake() { + return this.modernForge && ((MinecraftEncoder)this.getCh().getHandle().pipeline().get(MinecraftEncoder.class)).getProtocol() == Protocol.LOGIN; + } + + @Generated + public UserConnection(@NonNull ProxyServer bungee, @NonNull ChannelWrapper ch, @NonNull String name, InitialHandler pendingConnection) { + if (bungee == null) { + throw new NullPointerException("bungee is marked non-null but is null"); + } else if (ch == null) { + throw new NullPointerException("ch is marked non-null but is null"); + } else if (name == null) { + throw new NullPointerException("name is marked non-null but is null"); + } else { + this.bungee = bungee; + this.ch = ch; + this.name = name; + this.pendingConnection = pendingConnection; + } + } + + @Generated + public @NonNull ChannelWrapper getCh() { + return this.ch; + } + + @Generated + public @NonNull String getName() { + return this.name; + } + + @Generated + public InitialHandler getPendingConnection() { + return this.pendingConnection; + } + + @Generated + public ServerConnection getServer() { + return this.server; + } + + @Generated + public void setServer(ServerConnection server) { + this.server = server; + } + + @Generated + public Object getDimension() { + return this.dimension; + } + + @Generated + public void setDimension(Object dimension) { + this.dimension = dimension; + } + + @Generated + public boolean isDimensionChange() { + return this.dimensionChange; + } + + @Generated + public void setDimensionChange(boolean dimensionChange) { + this.dimensionChange = dimensionChange; + } + + @Generated + public Collection getPendingConnects() { + return this.pendingConnects; + } + + @Generated + public int getPing() { + return this.ping; + } + + @Generated + public void setPing(int ping) { + this.ping = ping; + } + + @Generated + public ServerInfo getReconnectServer() { + return this.reconnectServer; + } + + @Generated + public void setReconnectServer(ServerInfo reconnectServer) { + this.reconnectServer = reconnectServer; + } + + @Generated + public TabList getTabListHandler() { + return this.tabListHandler; + } + + @Generated + public int getGamemode() { + return this.gamemode; + } + + @Generated + public void setGamemode(int gamemode) { + this.gamemode = gamemode; + } + + @Generated + public int getCompressionThreshold() { + return this.compressionThreshold; + } + + @Generated + public void setServerJoinQueue(Queue serverJoinQueue) { + this.serverJoinQueue = serverJoinQueue; + } + + @Generated + public boolean isBundling() { + return this.bundling; + } + + @Generated + public void setBundling(boolean bundling) { + this.bundling = bundling; + } + + @Generated + public UUID getSessionId() { + return this.sessionId; + } + + @Generated + public int getClientEntityId() { + return this.clientEntityId; + } + + @Generated + public void setClientEntityId(int clientEntityId) { + this.clientEntityId = clientEntityId; + } + + @Generated + public int getServerEntityId() { + return this.serverEntityId; + } + + @Generated + public void setServerEntityId(int serverEntityId) { + this.serverEntityId = serverEntityId; + } + + @Generated + public ClientSettings getSettings() { + return this.settings; + } + + @Generated + public Scoreboard getServerSentScoreboard() { + return this.serverSentScoreboard; + } + + @Generated + public Collection getSentBossBars() { + return this.sentBossBars; + } + + @Generated + public Multimap getPotions() { + return this.potions; + } + + @Generated + public String getLastCommandTabbed() { + return this.lastCommandTabbed; + } + + @Generated + public void setLastCommandTabbed(String lastCommandTabbed) { + this.lastCommandTabbed = lastCommandTabbed; + } + + @Generated + public String getDisplayName() { + return this.displayName; + } + + @Generated + public VersionedComponentSerializer getChatSerializer() { + return this.chatSerializer; + } + + @Generated + public ForgeClientHandler getForgeClientHandler() { + return this.forgeClientHandler; + } + + @Generated + public void setForgeClientHandler(ForgeClientHandler forgeClientHandler) { + this.forgeClientHandler = forgeClientHandler; + } + + @Generated + public ForgeServerHandler getForgeServerHandler() { + return this.forgeServerHandler; + } + + @Generated + public void setForgeServerHandler(ForgeServerHandler forgeServerHandler) { + this.forgeServerHandler = forgeServerHandler; + } + + @Generated + public boolean isNeedLogin() { + return this.needLogin; + } + + @Generated + public void setNeedLogin(boolean needLogin) { + this.needLogin = needLogin; + } + + @Generated + public boolean isModernForge() { + return this.modernForge; + } + + @Generated + public void setModernForge(boolean modernForge) { + this.modernForge = modernForge; + } +} diff --git a/src/main/java/net/md_5/bungee/Util.java b/src/main/java/net/md_5/bungee/Util.java new file mode 100644 index 0000000..e380324 --- /dev/null +++ b/src/main/java/net/md_5/bungee/Util.java @@ -0,0 +1,85 @@ +package net.md_5.bungee; + +import com.google.common.base.Joiner; +import com.google.common.net.InetAddresses; +import com.google.common.primitives.Ints; +import com.google.common.primitives.UnsignedLongs; +import io.github.waterfallmc.waterfall.utils.Hex; +import io.netty.channel.unix.DomainSocketAddress; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.net.URI; +import java.net.URISyntaxException; +import java.util.Locale; +import java.util.UUID; + +public class Util { + public static final int DEFAULT_PORT = 25565; + + public static SocketAddress getAddr(String hostline) { + URI uri = null; + + try { + uri = new URI(hostline); + } catch (URISyntaxException var4) { + } + + if (uri != null && "unix".equals(uri.getScheme())) { + return new DomainSocketAddress(uri.getPath()); + } else { + if (uri == null || uri.getHost() == null) { + try { + uri = new URI("tcp://" + normalizeHostline(hostline)); + } catch (URISyntaxException ex) { + throw new IllegalArgumentException("Bad hostline: " + hostline, ex); + } + } + + if (uri.getHost() == null) { + throw new IllegalArgumentException("Invalid host/address: " + hostline); + } else { + return new InetSocketAddress(uri.getHost(), uri.getPort() == -1 ? 25565 : uri.getPort()); + } + } + } + + private static String normalizeHostline(String hostline) { + if (!hostline.startsWith("[") && !hostline.startsWith("unix:") && hostline.indexOf(58) != -1) { + return InetAddresses.isInetAddress(hostline) ? "[" + hostline + "]" : hostline; + } else { + return hostline; + } + } + + public static String hex(int i) { + return Hex.encodeString(Ints.toByteArray(i)); + } + + public static String unicode(char c) { + return "\\u" + String.format("%04x", (int)c).toUpperCase(Locale.ROOT); + } + + public static String exception(Throwable t) { + return exception(t, true); + } + + public static String exception(Throwable t, boolean includeLineNumbers) { + StackTraceElement[] trace = t.getStackTrace(); + String var10000 = t.getClass().getSimpleName(); + return var10000 + " : " + t.getMessage() + (includeLineNumbers && trace.length > 0 ? " @ " + t.getStackTrace()[0].getClassName() + ":" + t.getStackTrace()[0].getLineNumber() : ""); + } + + public static String csv(Iterable objects) { + return format(objects, ", "); + } + + /** @deprecated */ + @Deprecated + public static String format(Iterable objects, String separators) { + return Joiner.on(separators).join(objects); + } + + public static UUID getUUID(String uuid) { + return new UUID(UnsignedLongs.parseUnsignedLong(uuid.substring(0, 16), 16), UnsignedLongs.parseUnsignedLong(uuid.substring(16), 16)); + } +} diff --git a/src/main/java/net/md_5/bungee/api/AbstractReconnectHandler.java b/src/main/java/net/md_5/bungee/api/AbstractReconnectHandler.java new file mode 100644 index 0000000..aad3f19 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/AbstractReconnectHandler.java @@ -0,0 +1,33 @@ +package net.md_5.bungee.api; + +import com.google.common.base.Preconditions; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.PendingConnection; +import net.md_5.bungee.api.connection.ProxiedPlayer; + +public abstract class AbstractReconnectHandler implements ReconnectHandler { + public ServerInfo getServer(ProxiedPlayer player) { + ServerInfo server = getForcedHost(player.getPendingConnection()); + if (server == null) { + server = this.getStoredServer(player); + if (server == null) { + server = ProxyServer.getInstance().getServerInfo(player.getPendingConnection().getListener().getDefaultServer()); + } + + Preconditions.checkState(server != null, "Default server not defined"); + } + + return server; + } + + public static ServerInfo getForcedHost(PendingConnection con) { + String forced = con.getVirtualHost() == null ? null : (String)con.getListener().getForcedHosts().get(con.getVirtualHost().getHostString()); + if (forced == null && con.getListener().isForceDefault()) { + forced = con.getListener().getDefaultServer(); + } + + return forced == null ? null : ProxyServer.getInstance().getServerInfo(forced); + } + + protected abstract ServerInfo getStoredServer(ProxiedPlayer var1); +} diff --git a/src/main/java/net/md_5/bungee/api/Callback.java b/src/main/java/net/md_5/bungee/api/Callback.java new file mode 100644 index 0000000..e09c284 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/Callback.java @@ -0,0 +1,5 @@ +package net.md_5.bungee.api; + +public interface Callback { + void done(V var1, Throwable var2); +} diff --git a/src/main/java/net/md_5/bungee/api/ChatColor.java b/src/main/java/net/md_5/bungee/api/ChatColor.java new file mode 100644 index 0000000..4d69db8 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/ChatColor.java @@ -0,0 +1,179 @@ +package net.md_5.bungee.api; + +import com.google.common.base.Preconditions; +import java.awt.Color; +import java.util.HashMap; +import java.util.Locale; +import java.util.Map; +import java.util.Objects; +import java.util.regex.Pattern; +import lombok.Generated; + +public final class ChatColor { + public static final char COLOR_CHAR = '\u00a7'; + public static final String ALL_CODES = "0123456789AaBbCcDdEeFfKkLlMmNnOoRrXx"; + public static final Pattern STRIP_COLOR_PATTERN = Pattern.compile("(?i)" + String.valueOf('\u00a7') + "[0-9A-FK-ORX]"); + private static final Map BY_CHAR = new HashMap(); + private static final Map BY_NAME = new HashMap(); + public static final ChatColor BLACK = new ChatColor('0', "black", new Color(0)); + public static final ChatColor DARK_BLUE = new ChatColor('1', "dark_blue", new Color(170)); + public static final ChatColor DARK_GREEN = new ChatColor('2', "dark_green", new Color(43520)); + public static final ChatColor DARK_AQUA = new ChatColor('3', "dark_aqua", new Color(43690)); + public static final ChatColor DARK_RED = new ChatColor('4', "dark_red", new Color(11141120)); + public static final ChatColor DARK_PURPLE = new ChatColor('5', "dark_purple", new Color(11141290)); + public static final ChatColor GOLD = new ChatColor('6', "gold", new Color(16755200)); + public static final ChatColor GRAY = new ChatColor('7', "gray", new Color(11184810)); + public static final ChatColor DARK_GRAY = new ChatColor('8', "dark_gray", new Color(5592405)); + public static final ChatColor BLUE = new ChatColor('9', "blue", new Color(5592575)); + public static final ChatColor GREEN = new ChatColor('a', "green", new Color(5635925)); + public static final ChatColor AQUA = new ChatColor('b', "aqua", new Color(5636095)); + public static final ChatColor RED = new ChatColor('c', "red", new Color(16733525)); + public static final ChatColor LIGHT_PURPLE = new ChatColor('d', "light_purple", new Color(16733695)); + public static final ChatColor YELLOW = new ChatColor('e', "yellow", new Color(16777045)); + public static final ChatColor WHITE = new ChatColor('f', "white", new Color(16777215)); + public static final ChatColor MAGIC = new ChatColor('k', "obfuscated"); + public static final ChatColor BOLD = new ChatColor('l', "bold"); + public static final ChatColor STRIKETHROUGH = new ChatColor('m', "strikethrough"); + public static final ChatColor UNDERLINE = new ChatColor('n', "underline"); + public static final ChatColor ITALIC = new ChatColor('o', "italic"); + public static final ChatColor RESET = new ChatColor('r', "reset"); + private static int count = 0; + private final String toString; + private final String name; + private final int ordinal; + private final Color color; + + private ChatColor(char code, String name) { + this(code, name, (Color)null); + } + + private ChatColor(char code, String name, Color color) { + this.name = name; + this.toString = new String(new char[]{'\u00a7', code}); + this.ordinal = count++; + this.color = color; + BY_CHAR.put(code, this); + BY_NAME.put(name.toUpperCase(Locale.ROOT), this); + } + + private ChatColor(String name, String toString, int rgb) { + this.name = name; + this.toString = toString; + this.ordinal = -1; + this.color = new Color(rgb); + } + + public int hashCode() { + int hash = 7; + hash = 53 * hash + Objects.hashCode(this.toString); + return hash; + } + + public boolean equals(Object obj) { + if (this == obj) { + return true; + } else if (obj != null && this.getClass() == obj.getClass()) { + ChatColor other = (ChatColor)obj; + return Objects.equals(this.toString, other.toString); + } else { + return false; + } + } + + public String toString() { + return this.toString; + } + + public static String stripColor(String input) { + return input == null ? null : STRIP_COLOR_PATTERN.matcher(input).replaceAll(""); + } + + public static String translateAlternateColorCodes(char altColorChar, String textToTranslate) { + char[] b = textToTranslate.toCharArray(); + + for(int i = 0; i < b.length - 1; ++i) { + if (b[i] == altColorChar && "0123456789AaBbCcDdEeFfKkLlMmNnOoRrXx".indexOf(b[i + 1]) > -1) { + b[i] = 167; + b[i + 1] = Character.toLowerCase(b[i + 1]); + } + } + + return new String(b); + } + + public static ChatColor getByChar(char code) { + return (ChatColor)BY_CHAR.get(code); + } + + public static ChatColor of(Color color) { + String var10000 = String.format("%08x", color.getRGB()); + return of("#" + var10000.substring(2)); + } + + public static ChatColor of(String string) { + Preconditions.checkArgument(string != null, "string cannot be null"); + if (string.length() == 7 && string.charAt(0) == '#') { + int rgb; + try { + rgb = Integer.parseInt(string.substring(1), 16); + } catch (NumberFormatException var7) { + throw new IllegalArgumentException("Illegal hex string " + string); + } + + StringBuilder magic = new StringBuilder("\u00a7x"); + + for(char c : string.substring(1).toCharArray()) { + magic.append('\u00a7').append(c); + } + + return new ChatColor(string, magic.toString(), rgb); + } else { + ChatColor defined = (ChatColor)BY_NAME.get(string.toUpperCase(Locale.ROOT)); + if (defined != null) { + return defined; + } else { + throw new IllegalArgumentException("Could not parse ChatColor " + string); + } + } + } + + /** @deprecated */ + @Deprecated + public static ChatColor valueOf(String name) { + Preconditions.checkNotNull(name, "Name is null"); + ChatColor defined = (ChatColor)BY_NAME.get(name); + boolean var10000 = defined != null; + String var10001 = ChatColor.class.getName(); + Preconditions.checkArgument(var10000, "No enum constant " + var10001 + "." + name); + return defined; + } + + /** @deprecated */ + @Deprecated + public static ChatColor[] values() { + return (ChatColor[])BY_CHAR.values().toArray(new ChatColor[0]); + } + + /** @deprecated */ + @Deprecated + public String name() { + return this.getName().toUpperCase(Locale.ROOT); + } + + /** @deprecated */ + @Deprecated + public int ordinal() { + Preconditions.checkArgument(this.ordinal >= 0, "Cannot get ordinal of hex color"); + return this.ordinal; + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public Color getColor() { + return this.color; + } +} diff --git a/src/main/java/net/md_5/bungee/api/ChatMessageType.java b/src/main/java/net/md_5/bungee/api/ChatMessageType.java new file mode 100644 index 0000000..2b64514 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/ChatMessageType.java @@ -0,0 +1,7 @@ +package net.md_5.bungee.api; + +public enum ChatMessageType { + CHAT, + SYSTEM, + ACTION_BAR; +} diff --git a/src/main/java/net/md_5/bungee/api/CommandSender.java b/src/main/java/net/md_5/bungee/api/CommandSender.java new file mode 100644 index 0000000..c1095ea --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/CommandSender.java @@ -0,0 +1,32 @@ +package net.md_5.bungee.api; + +import java.util.Collection; +import net.md_5.bungee.api.chat.BaseComponent; + +public interface CommandSender { + String getName(); + + /** @deprecated */ + @Deprecated + void sendMessage(String var1); + + /** @deprecated */ + @Deprecated + void sendMessages(String... var1); + + void sendMessage(BaseComponent... var1); + + void sendMessage(BaseComponent var1); + + Collection getGroups(); + + void addGroups(String... var1); + + void removeGroups(String... var1); + + boolean hasPermission(String var1); + + void setPermission(String var1, boolean var2); + + Collection getPermissions(); +} diff --git a/src/main/java/net/md_5/bungee/api/Favicon.java b/src/main/java/net/md_5/bungee/api/Favicon.java new file mode 100644 index 0000000..7dd3b04 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/Favicon.java @@ -0,0 +1,86 @@ +package net.md_5.bungee.api; + +import com.google.common.base.Preconditions; +import com.google.common.io.BaseEncoding; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonToken; +import com.google.gson.stream.JsonWriter; +import java.awt.image.BufferedImage; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import javax.imageio.ImageIO; +import lombok.Generated; +import lombok.NonNull; + +public class Favicon { + private static final TypeAdapter FAVICON_TYPE_ADAPTER = new TypeAdapter() { + public void write(JsonWriter out, Favicon value) throws IOException { + if (value == null) { + out.nullValue(); + } else { + out.value(value.getEncoded()); + } + + } + + public Favicon read(JsonReader in) throws IOException { + JsonToken peek = in.peek(); + if (peek == JsonToken.NULL) { + in.nextNull(); + return null; + } else { + String enc = in.nextString(); + return enc == null ? null : Favicon.create(enc); + } + } + }; + private final @NonNull String encoded; + + public static TypeAdapter getFaviconTypeAdapter() { + return FAVICON_TYPE_ADAPTER; + } + + public static Favicon create(BufferedImage image) { + Preconditions.checkArgument(image != null, "image is null"); + if (image.getWidth() == 64 && image.getHeight() == 64) { + byte[] imageBytes; + try { + ByteArrayOutputStream stream = new ByteArrayOutputStream(); + ImageIO.write(image, "PNG", stream); + imageBytes = stream.toByteArray(); + } catch (IOException e) { + throw new AssertionError(e); + } + + String encoded = "data:image/png;base64," + BaseEncoding.base64().encode(imageBytes); + if (encoded.length() > 32767) { + throw new IllegalArgumentException("Favicon file too large for server to process"); + } else { + return new Favicon(encoded); + } + } else { + throw new IllegalArgumentException("Server icon must be exactly 64x64 pixels"); + } + } + + /** @deprecated */ + @Deprecated + public static Favicon create(String encodedString) { + return new Favicon(encodedString); + } + + @Generated + private Favicon(@NonNull String encoded) { + if (encoded == null) { + throw new NullPointerException("encoded is marked non-null but is null"); + } else { + this.encoded = encoded; + } + } + + @Generated + public @NonNull String getEncoded() { + return this.encoded; + } +} diff --git a/src/main/java/net/md_5/bungee/api/ProxyConfig.java b/src/main/java/net/md_5/bungee/api/ProxyConfig.java new file mode 100644 index 0000000..f4d3fd5 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/ProxyConfig.java @@ -0,0 +1,82 @@ +package net.md_5.bungee.api; + +import java.util.Collection; +import java.util.Map; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.config.ServerInfo; + +/** @deprecated */ +@Deprecated +public interface ProxyConfig { + void updateServerIPs(); + + int getTimeout(); + + String getUuid(); + + Collection getListeners(); + + /** @deprecated */ + @Deprecated + Map getServers(); + + Map getServersCopy(); + + ServerInfo getServerInfo(String var1); + + ServerInfo addServer(ServerInfo var1); + + boolean addServers(Collection var1); + + ServerInfo removeServerNamed(String var1); + + ServerInfo removeServer(ServerInfo var1); + + boolean removeServersNamed(Collection var1); + + boolean removeServers(Collection var1); + + boolean isOnlineMode(); + + boolean isLogCommands(); + + int getRemotePingCache(); + + int getPlayerLimit(); + + Collection getDisabledCommands(); + + int getServerConnectTimeout(); + + int getRemotePingTimeout(); + + /** @deprecated */ + @Deprecated + int getThrottle(); + + /** @deprecated */ + @Deprecated + boolean isIpForward(); + + /** @deprecated */ + @Deprecated + String getFavicon(); + + Favicon getFaviconObject(); + + boolean isLogInitialHandlerConnections(); + + String getGameVersion(); + + boolean isUseNettyDnsResolver(); + + int getTabThrottle(); + + boolean isDisableModernTabLimiter(); + + boolean isDisableTabListRewrite(); + + int getPluginChannelLimit(); + + int getPluginChannelNameLimit(); +} diff --git a/src/main/java/net/md_5/bungee/api/ProxyServer.java b/src/main/java/net/md_5/bungee/api/ProxyServer.java new file mode 100644 index 0000000..cee71c3 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/ProxyServer.java @@ -0,0 +1,127 @@ +package net.md_5.bungee.api; + +import com.google.common.base.Preconditions; +import java.io.File; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.util.Collection; +import java.util.Map; +import java.util.UUID; +import java.util.logging.Logger; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.config.ConfigurationAdapter; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.PluginManager; +import net.md_5.bungee.api.scheduler.TaskScheduler; +import net.md_5.bungee.protocol.channel.BungeeChannelInitializer; + +public abstract class ProxyServer { + private static ProxyServer instance; + + public static void setInstance(ProxyServer instance) { + Preconditions.checkNotNull(instance, "instance"); + Preconditions.checkArgument(ProxyServer.instance == null, "Instance already set"); + ProxyServer.instance = instance; + } + + public abstract String getName(); + + public abstract String getVersion(); + + public abstract String getTranslation(String var1, Object... var2); + + public abstract Logger getLogger(); + + public abstract Collection getPlayers(); + + public abstract ProxiedPlayer getPlayer(String var1); + + public abstract ProxiedPlayer getPlayer(UUID var1); + + /** @deprecated */ + @Deprecated + public abstract Map getServers(); + + public abstract Map getServersCopy(); + + public abstract ServerInfo getServerInfo(String var1); + + public abstract PluginManager getPluginManager(); + + public abstract ConfigurationAdapter getConfigurationAdapter(); + + public abstract void setConfigurationAdapter(ConfigurationAdapter var1); + + public abstract ReconnectHandler getReconnectHandler(); + + public abstract void setReconnectHandler(ReconnectHandler var1); + + public abstract void stop(); + + public abstract void stop(String var1); + + public abstract void registerChannel(String var1); + + public abstract void unregisterChannel(String var1); + + public abstract Collection getChannels(); + + /** @deprecated */ + @Deprecated + public abstract String getGameVersion(); + + /** @deprecated */ + @Deprecated + public abstract int getProtocolVersion(); + + public abstract ServerInfo constructServerInfo(String var1, InetSocketAddress var2, String var3, boolean var4); + + public abstract ServerInfo constructServerInfo(String var1, SocketAddress var2, String var3, boolean var4); + + public abstract CommandSender getConsole(); + + public abstract File getPluginsFolder(); + + public abstract TaskScheduler getScheduler(); + + public abstract int getOnlineCount(); + + /** @deprecated */ + @Deprecated + public abstract void broadcast(String var1); + + public abstract void broadcast(BaseComponent... var1); + + public abstract void broadcast(BaseComponent var1); + + public abstract Collection getDisabledCommands(); + + public abstract ProxyConfig getConfig(); + + public abstract Collection matchPlayer(String var1); + + public abstract Title createTitle(); + + public abstract Unsafe unsafe(); + + @Generated + public static ProxyServer getInstance() { + return instance; + } + + public interface Unsafe { + BungeeChannelInitializer getFrontendChannelInitializer(); + + void setFrontendChannelInitializer(BungeeChannelInitializer var1); + + BungeeChannelInitializer getBackendChannelInitializer(); + + void setBackendChannelInitializer(BungeeChannelInitializer var1); + + BungeeChannelInitializer getServerInfoChannelInitializer(); + + void setServerInfoChannelInitializer(BungeeChannelInitializer var1); + } +} diff --git a/src/main/java/net/md_5/bungee/api/ReconnectHandler.java b/src/main/java/net/md_5/bungee/api/ReconnectHandler.java new file mode 100644 index 0000000..0f8de1d --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/ReconnectHandler.java @@ -0,0 +1,14 @@ +package net.md_5.bungee.api; + +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; + +public interface ReconnectHandler { + ServerInfo getServer(ProxiedPlayer var1); + + void setServer(ProxiedPlayer var1); + + void save(); + + void close(); +} diff --git a/src/main/java/net/md_5/bungee/api/ServerConnectRequest.java b/src/main/java/net/md_5/bungee/api/ServerConnectRequest.java new file mode 100644 index 0000000..689d308 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/ServerConnectRequest.java @@ -0,0 +1,163 @@ +package net.md_5.bungee.api; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.event.ServerConnectEvent; + +public class ServerConnectRequest { + private final @NonNull ServerInfo target; + private final ServerConnectEvent.@NonNull Reason reason; + private final Callback callback; + private int connectTimeout; + private boolean retry; + private boolean sendFeedback; + + @Generated + ServerConnectRequest(@NonNull ServerInfo target, ServerConnectEvent.@NonNull Reason reason, Callback callback, int connectTimeout, boolean retry, boolean sendFeedback) { + if (target == null) { + throw new NullPointerException("target is marked non-null but is null"); + } else if (reason == null) { + throw new NullPointerException("reason is marked non-null but is null"); + } else { + this.target = target; + this.reason = reason; + this.callback = callback; + this.connectTimeout = connectTimeout; + this.retry = retry; + this.sendFeedback = sendFeedback; + } + } + + @Generated + public static Builder builder() { + return new Builder(); + } + + @Generated + public @NonNull ServerInfo getTarget() { + return this.target; + } + + @Generated + public ServerConnectEvent.@NonNull Reason getReason() { + return this.reason; + } + + @Generated + public Callback getCallback() { + return this.callback; + } + + @Generated + public int getConnectTimeout() { + return this.connectTimeout; + } + + @Generated + public boolean isRetry() { + return this.retry; + } + + @Generated + public boolean isSendFeedback() { + return this.sendFeedback; + } + + @Generated + public void setConnectTimeout(int connectTimeout) { + this.connectTimeout = connectTimeout; + } + + @Generated + public void setRetry(boolean retry) { + this.retry = retry; + } + + @Generated + public void setSendFeedback(boolean sendFeedback) { + this.sendFeedback = sendFeedback; + } + + public static enum Result { + EVENT_CANCEL, + ALREADY_CONNECTED, + ALREADY_CONNECTING, + SUCCESS, + FAIL; + } + + public static class Builder { + @Generated + private ServerInfo target; + @Generated + private ServerConnectEvent.Reason reason; + @Generated + private Callback callback; + @Generated + private boolean retry; + @Generated + private boolean sendFeedback; + private int connectTimeout = ProxyServer.getInstance().getConfig().getServerConnectTimeout(); + private boolean isSendFeedback = true; + + @Generated + Builder() { + } + + @Generated + public Builder target(@NonNull ServerInfo target) { + if (target == null) { + throw new NullPointerException("target is marked non-null but is null"); + } else { + this.target = target; + return this; + } + } + + @Generated + public Builder reason(ServerConnectEvent.@NonNull Reason reason) { + if (reason == null) { + throw new NullPointerException("reason is marked non-null but is null"); + } else { + this.reason = reason; + return this; + } + } + + @Generated + public Builder callback(Callback callback) { + this.callback = callback; + return this; + } + + @Generated + public Builder connectTimeout(int connectTimeout) { + this.connectTimeout = connectTimeout; + return this; + } + + @Generated + public Builder retry(boolean retry) { + this.retry = retry; + return this; + } + + @Generated + public Builder sendFeedback(boolean sendFeedback) { + this.sendFeedback = sendFeedback; + return this; + } + + @Generated + public ServerConnectRequest build() { + return new ServerConnectRequest(this.target, this.reason, this.callback, this.connectTimeout, this.retry, this.sendFeedback); + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.target); + return "ServerConnectRequest.Builder(target=" + var10000 + ", reason=" + String.valueOf(this.reason) + ", callback=" + String.valueOf(this.callback) + ", connectTimeout=" + this.connectTimeout + ", retry=" + this.retry + ", sendFeedback=" + this.sendFeedback + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/ServerLink.java b/src/main/java/net/md_5/bungee/api/ServerLink.java new file mode 100644 index 0000000..be6c43a --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/ServerLink.java @@ -0,0 +1,135 @@ +package net.md_5.bungee.api; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; + +public final class ServerLink { + private final LinkType type; + private final BaseComponent label; + private final @NonNull String url; + + public ServerLink(@NonNull LinkType type, @NonNull String url) { + if (type == null) { + throw new NullPointerException("type is marked non-null but is null"); + } else if (url == null) { + throw new NullPointerException("url is marked non-null but is null"); + } else { + this.type = type; + this.label = null; + this.url = url; + } + } + + public ServerLink(@NonNull BaseComponent label, @NonNull String url) { + if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else if (url == null) { + throw new NullPointerException("url is marked non-null but is null"); + } else { + this.type = null; + this.label = label; + this.url = url; + } + } + + @Generated + public LinkType getType() { + return this.type; + } + + @Generated + public BaseComponent getLabel() { + return this.label; + } + + @Generated + public @NonNull String getUrl() { + return this.url; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerLink)) { + return false; + } else { + ServerLink other = (ServerLink)o; + Object this$type = this.getType(); + Object other$type = other.getType(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + Object this$label = this.getLabel(); + Object other$label = other.getLabel(); + if (this$label == null) { + if (other$label != null) { + return false; + } + } else if (!this$label.equals(other$label)) { + return false; + } + + Object this$url = this.getUrl(); + Object other$url = other.getUrl(); + if (this$url == null) { + if (other$url != null) { + return false; + } + } else if (!this$url.equals(other$url)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $type = this.getType(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + Object $label = this.getLabel(); + result = result * 59 + ($label == null ? 43 : $label.hashCode()); + Object $url = this.getUrl(); + result = result * 59 + ($url == null ? 43 : $url.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getType()); + return "ServerLink(type=" + var10000 + ", label=" + String.valueOf(this.getLabel()) + ", url=" + this.getUrl() + ")"; + } + + @Generated + private ServerLink(LinkType type, BaseComponent label, @NonNull String url) { + if (url == null) { + throw new NullPointerException("url is marked non-null but is null"); + } else { + this.type = type; + this.label = label; + this.url = url; + } + } + + public static enum LinkType { + REPORT_BUG, + COMMUNITY_GUIDELINES, + SUPPORT, + STATUS, + FEEDBACK, + COMMUNITY, + WEBSITE, + FORUMS, + NEWS, + ANNOUNCEMENTS; + } +} diff --git a/src/main/java/net/md_5/bungee/api/ServerPing.java b/src/main/java/net/md_5/bungee/api/ServerPing.java new file mode 100644 index 0000000..404f267 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/ServerPing.java @@ -0,0 +1,669 @@ +package net.md_5.bungee.api; + +import com.google.gson.JsonObject; +import io.github.waterfallmc.waterfall.utils.UUIDUtils; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import lombok.Generated; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; + +public class ServerPing { + private Protocol version; + private Players players; + private BaseComponent description; + private Favicon favicon; + private final ModInfo modinfo; + private final JsonObject forgeData; + + /** @deprecated */ + @Deprecated + public ServerPing(Protocol version, Players players, String description, String favicon) { + this(version, players, TextComponent.fromLegacy(description), favicon == null ? null : Favicon.create(favicon)); + } + + /** @deprecated */ + @Deprecated + public ServerPing(Protocol version, Players players, String description, Favicon favicon) { + this(version, players, TextComponent.fromLegacy(description), favicon); + } + + /** @deprecated */ + @Deprecated + public String getFavicon() { + return this.getFaviconObject() == null ? null : this.getFaviconObject().getEncoded(); + } + + public Favicon getFaviconObject() { + return this.favicon; + } + + /** @deprecated */ + @Deprecated + public void setFavicon(String favicon) { + this.setFavicon(favicon == null ? null : Favicon.create(favicon)); + } + + public void setFavicon(Favicon favicon) { + this.favicon = favicon; + } + + /** @deprecated */ + @Deprecated + public void setDescription(String description) { + this.description = TextComponent.fromLegacy(description); + } + + /** @deprecated */ + @Deprecated + public String getDescription() { + return BaseComponent.toLegacyText(this.description); + } + + public void setDescriptionComponent(BaseComponent description) { + this.description = description; + } + + public BaseComponent getDescriptionComponent() { + return this.description; + } + + @Generated + public Protocol getVersion() { + return this.version; + } + + @Generated + public Players getPlayers() { + return this.players; + } + + @Generated + public ModInfo getModinfo() { + return this.modinfo; + } + + @Generated + public JsonObject getForgeData() { + return this.forgeData; + } + + @Generated + public void setVersion(Protocol version) { + this.version = version; + } + + @Generated + public void setPlayers(Players players) { + this.players = players; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerPing)) { + return false; + } else { + ServerPing other = (ServerPing)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$version = this.getVersion(); + Object other$version = other.getVersion(); + if (this$version == null) { + if (other$version != null) { + return false; + } + } else if (!this$version.equals(other$version)) { + return false; + } + + Object this$players = this.getPlayers(); + Object other$players = other.getPlayers(); + if (this$players == null) { + if (other$players != null) { + return false; + } + } else if (!this$players.equals(other$players)) { + return false; + } + + Object this$description = this.getDescription(); + Object other$description = other.getDescription(); + if (this$description == null) { + if (other$description != null) { + return false; + } + } else if (!this$description.equals(other$description)) { + return false; + } + + Object this$favicon = this.getFavicon(); + Object other$favicon = other.getFavicon(); + if (this$favicon == null) { + if (other$favicon != null) { + return false; + } + } else if (!this$favicon.equals(other$favicon)) { + return false; + } + + Object this$modinfo = this.getModinfo(); + Object other$modinfo = other.getModinfo(); + if (this$modinfo == null) { + if (other$modinfo != null) { + return false; + } + } else if (!this$modinfo.equals(other$modinfo)) { + return false; + } + + Object this$forgeData = this.getForgeData(); + Object other$forgeData = other.getForgeData(); + if (this$forgeData == null) { + if (other$forgeData != null) { + return false; + } + } else if (!this$forgeData.equals(other$forgeData)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ServerPing; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $version = this.getVersion(); + result = result * 59 + ($version == null ? 43 : $version.hashCode()); + Object $players = this.getPlayers(); + result = result * 59 + ($players == null ? 43 : $players.hashCode()); + Object $description = this.getDescription(); + result = result * 59 + ($description == null ? 43 : $description.hashCode()); + Object $favicon = this.getFavicon(); + result = result * 59 + ($favicon == null ? 43 : $favicon.hashCode()); + Object $modinfo = this.getModinfo(); + result = result * 59 + ($modinfo == null ? 43 : $modinfo.hashCode()); + Object $forgeData = this.getForgeData(); + result = result * 59 + ($forgeData == null ? 43 : $forgeData.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getVersion()); + return "ServerPing(version=" + var10000 + ", players=" + String.valueOf(this.getPlayers()) + ", description=" + this.getDescription() + ", modinfo=" + String.valueOf(this.getModinfo()) + ", forgeData=" + String.valueOf(this.getForgeData()) + ")"; + } + + @Generated + public ServerPing() { + this.modinfo = new ModInfo(); + this.forgeData = null; + } + + @Generated + public ServerPing(Protocol version, Players players, BaseComponent description, Favicon favicon) { + this.modinfo = new ModInfo(); + this.forgeData = null; + this.version = version; + this.players = players; + this.description = description; + this.favicon = favicon; + } + + public static class Protocol { + private String name; + private int protocol; + + @Generated + public String getName() { + return this.name; + } + + @Generated + public int getProtocol() { + return this.protocol; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setProtocol(int protocol) { + this.protocol = protocol; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Protocol)) { + return false; + } else { + Protocol other = (Protocol)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getProtocol() != other.getProtocol()) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Protocol; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getProtocol(); + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "ServerPing.Protocol(name=" + var10000 + ", protocol=" + this.getProtocol() + ")"; + } + + @Generated + public Protocol(String name, int protocol) { + this.name = name; + this.protocol = protocol; + } + } + + public static class Players { + private int max; + private int online; + private PlayerInfo[] sample; + + @Generated + public int getMax() { + return this.max; + } + + @Generated + public int getOnline() { + return this.online; + } + + @Generated + public PlayerInfo[] getSample() { + return this.sample; + } + + @Generated + public void setMax(int max) { + this.max = max; + } + + @Generated + public void setOnline(int online) { + this.online = online; + } + + @Generated + public void setSample(PlayerInfo[] sample) { + this.sample = sample; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Players)) { + return false; + } else { + Players other = (Players)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getMax() != other.getMax()) { + return false; + } else if (this.getOnline() != other.getOnline()) { + return false; + } else { + return Arrays.deepEquals(this.getSample(), other.getSample()); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Players; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getMax(); + result = result * 59 + this.getOnline(); + result = result * 59 + Arrays.deepHashCode(this.getSample()); + return result; + } + + @Generated + public String toString() { + int var10000 = this.getMax(); + return "ServerPing.Players(max=" + var10000 + ", online=" + this.getOnline() + ", sample=" + Arrays.deepToString(this.getSample()) + ")"; + } + + @Generated + public Players(int max, int online, PlayerInfo[] sample) { + this.max = max; + this.online = online; + this.sample = sample; + } + } + + public static class PlayerInfo { + private String name; + private UUID uniqueId; + private static final UUID md5UUID = Util.getUUID("af74a02d19cb445bb07f6866a861f783"); + + public PlayerInfo(String name, String id) { + this.setName(name); + this.setId(id); + } + + public void setId(String id) { + try { + this.uniqueId = Util.getUUID(id); + } catch (Exception var3) { + this.uniqueId = md5UUID; + } + + } + + public String getId() { + return UUIDUtils.undash(this.uniqueId.toString()); + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public UUID getUniqueId() { + return this.uniqueId; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setUniqueId(UUID uniqueId) { + this.uniqueId = uniqueId; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerInfo)) { + return false; + } else { + PlayerInfo other = (PlayerInfo)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$uniqueId = this.getUniqueId(); + Object other$uniqueId = other.getUniqueId(); + if (this$uniqueId == null) { + if (other$uniqueId != null) { + return false; + } + } else if (!this$uniqueId.equals(other$uniqueId)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerInfo; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $uniqueId = this.getUniqueId(); + result = result * 59 + ($uniqueId == null ? 43 : $uniqueId.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "ServerPing.PlayerInfo(name=" + var10000 + ", uniqueId=" + String.valueOf(this.getUniqueId()) + ")"; + } + + @Generated + public PlayerInfo(String name, UUID uniqueId) { + this.name = name; + this.uniqueId = uniqueId; + } + } + + public static class ModInfo { + private String type = "FML"; + private List modList = new ArrayList(); + + @Generated + public String getType() { + return this.type; + } + + @Generated + public List getModList() { + return this.modList; + } + + @Generated + public void setType(String type) { + this.type = type; + } + + @Generated + public void setModList(List modList) { + this.modList = modList; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ModInfo)) { + return false; + } else { + ModInfo other = (ModInfo)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$type = this.getType(); + Object other$type = other.getType(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + Object this$modList = this.getModList(); + Object other$modList = other.getModList(); + if (this$modList == null) { + if (other$modList != null) { + return false; + } + } else if (!this$modList.equals(other$modList)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ModInfo; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $type = this.getType(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + Object $modList = this.getModList(); + result = result * 59 + ($modList == null ? 43 : $modList.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getType(); + return "ServerPing.ModInfo(type=" + var10000 + ", modList=" + String.valueOf(this.getModList()) + ")"; + } + } + + public static class ModItem { + private String modid; + private String version; + + @Generated + public String getModid() { + return this.modid; + } + + @Generated + public String getVersion() { + return this.version; + } + + @Generated + public void setModid(String modid) { + this.modid = modid; + } + + @Generated + public void setVersion(String version) { + this.version = version; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ModItem)) { + return false; + } else { + ModItem other = (ModItem)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$modid = this.getModid(); + Object other$modid = other.getModid(); + if (this$modid == null) { + if (other$modid != null) { + return false; + } + } else if (!this$modid.equals(other$modid)) { + return false; + } + + Object this$version = this.getVersion(); + Object other$version = other.getVersion(); + if (this$version == null) { + if (other$version != null) { + return false; + } + } else if (!this$version.equals(other$version)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ModItem; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $modid = this.getModid(); + result = result * 59 + ($modid == null ? 43 : $modid.hashCode()); + Object $version = this.getVersion(); + result = result * 59 + ($version == null ? 43 : $version.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getModid(); + return "ServerPing.ModItem(modid=" + var10000 + ", version=" + this.getVersion() + ")"; + } + + @Generated + public ModItem(String modid, String version) { + this.modid = modid; + this.version = version; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/SkinConfiguration.java b/src/main/java/net/md_5/bungee/api/SkinConfiguration.java new file mode 100644 index 0000000..be8f3b2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/SkinConfiguration.java @@ -0,0 +1,17 @@ +package net.md_5.bungee.api; + +public interface SkinConfiguration { + boolean hasCape(); + + boolean hasJacket(); + + boolean hasLeftSleeve(); + + boolean hasRightSleeve(); + + boolean hasLeftPants(); + + boolean hasRightPants(); + + boolean hasHat(); +} diff --git a/src/main/java/net/md_5/bungee/api/Title.java b/src/main/java/net/md_5/bungee/api/Title.java new file mode 100644 index 0000000..be772cb --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/Title.java @@ -0,0 +1,26 @@ +package net.md_5.bungee.api; + +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.connection.ProxiedPlayer; + +public interface Title { + Title title(BaseComponent var1); + + Title title(BaseComponent... var1); + + Title subTitle(BaseComponent var1); + + Title subTitle(BaseComponent... var1); + + Title fadeIn(int var1); + + Title stay(int var1); + + Title fadeOut(int var1); + + Title clear(); + + Title reset(); + + Title send(ProxiedPlayer var1); +} diff --git a/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java b/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java new file mode 100644 index 0000000..5fd6cad --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java @@ -0,0 +1,621 @@ +package net.md_5.bungee.api.chat; + +import java.awt.Color; +import java.util.ArrayList; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.api.ChatColor; + +public abstract class BaseComponent { + BaseComponent parent; + private ComponentStyle style = new ComponentStyle(); + private String insertion; + private List extra; + private ClickEvent clickEvent; + private HoverEvent hoverEvent; + private transient boolean reset; + + /** @deprecated */ + @Deprecated + public BaseComponent() { + } + + BaseComponent(BaseComponent old) { + this.copyFormatting(old, ComponentBuilder.FormatRetention.ALL, true); + if (old.getExtra() != null) { + for(BaseComponent extra : old.getExtra()) { + this.addExtra(extra.duplicate()); + } + } + + } + + public void copyFormatting(BaseComponent component) { + this.copyFormatting(component, ComponentBuilder.FormatRetention.ALL, true); + } + + public void copyFormatting(BaseComponent component, boolean replace) { + this.copyFormatting(component, ComponentBuilder.FormatRetention.ALL, replace); + } + + public void copyFormatting(BaseComponent component, ComponentBuilder.FormatRetention retention, boolean replace) { + if (retention == ComponentBuilder.FormatRetention.EVENTS || retention == ComponentBuilder.FormatRetention.ALL) { + if (replace || this.clickEvent == null) { + this.setClickEvent(component.getClickEvent()); + } + + if (replace || this.hoverEvent == null) { + this.setHoverEvent(component.getHoverEvent()); + } + } + + if (retention == ComponentBuilder.FormatRetention.FORMATTING || retention == ComponentBuilder.FormatRetention.ALL) { + if (replace || !this.style.hasColor()) { + this.setColor(component.getColorRaw()); + } + + if (replace || !this.style.hasShadowColor()) { + this.setShadowColor(component.getShadowColorRaw()); + } + + if (replace || !this.style.hasFont()) { + this.setFont(component.getFontRaw()); + } + + if (replace || this.style.isBoldRaw() == null) { + this.setBold(component.isBoldRaw()); + } + + if (replace || this.style.isItalicRaw() == null) { + this.setItalic(component.isItalicRaw()); + } + + if (replace || this.style.isUnderlinedRaw() == null) { + this.setUnderlined(component.isUnderlinedRaw()); + } + + if (replace || this.style.isStrikethroughRaw() == null) { + this.setStrikethrough(component.isStrikethroughRaw()); + } + + if (replace || this.style.isObfuscatedRaw() == null) { + this.setObfuscated(component.isObfuscatedRaw()); + } + + if (replace || this.insertion == null) { + this.setInsertion(component.getInsertion()); + } + } + + } + + public void retain(ComponentBuilder.FormatRetention retention) { + if (retention == ComponentBuilder.FormatRetention.FORMATTING || retention == ComponentBuilder.FormatRetention.NONE) { + this.setClickEvent((ClickEvent)null); + this.setHoverEvent((HoverEvent)null); + } + + if (retention == ComponentBuilder.FormatRetention.EVENTS || retention == ComponentBuilder.FormatRetention.NONE) { + this.setColor((ChatColor)null); + this.setShadowColor((Color)null); + this.setBold((Boolean)null); + this.setItalic((Boolean)null); + this.setUnderlined((Boolean)null); + this.setStrikethrough((Boolean)null); + this.setObfuscated((Boolean)null); + this.setInsertion((String)null); + } + + } + + public abstract BaseComponent duplicate(); + + /** @deprecated */ + @Deprecated + public BaseComponent duplicateWithoutFormatting() { + BaseComponent component = this.duplicate(); + component.retain(ComponentBuilder.FormatRetention.NONE); + return component; + } + + public static String toLegacyText(BaseComponent... components) { + StringBuilder builder = new StringBuilder(); + + for(BaseComponent msg : components) { + builder.append(msg.toLegacyText()); + } + + return builder.toString(); + } + + public static String toPlainText(BaseComponent... components) { + StringBuilder builder = new StringBuilder(); + + for(BaseComponent msg : components) { + builder.append(msg.toPlainText()); + } + + return builder.toString(); + } + + public void setStyle(ComponentStyle style) { + this.style = style != null ? style.clone() : new ComponentStyle(); + } + + public void setColor(ChatColor color) { + this.style.setColor(color); + } + + public ChatColor getColor() { + if (!this.style.hasColor()) { + return this.parent == null ? ChatColor.WHITE : this.parent.getColor(); + } else { + return this.style.getColor(); + } + } + + public ChatColor getColorRaw() { + return this.style.getColor(); + } + + public void setShadowColor(Color color) { + this.style.setShadowColor(color); + } + + public Color getShadowColor() { + if (!this.style.hasShadowColor()) { + return this.parent == null ? null : this.parent.getShadowColor(); + } else { + return this.style.getShadowColor(); + } + } + + public Color getShadowColorRaw() { + return this.style.getShadowColor(); + } + + public void setFont(String font) { + this.style.setFont(font); + } + + public String getFont() { + if (!this.style.hasFont()) { + return this.parent == null ? null : this.parent.getFont(); + } else { + return this.style.getFont(); + } + } + + public String getFontRaw() { + return this.style.getFont(); + } + + public void setBold(Boolean bold) { + this.style.setBold(bold); + } + + public boolean isBold() { + if (this.style.isBoldRaw() != null) { + return this.style.isBold(); + } else { + return this.parent != null && this.parent.isBold(); + } + } + + public Boolean isBoldRaw() { + return this.style.isBoldRaw(); + } + + public void setItalic(Boolean italic) { + this.style.setItalic(italic); + } + + public boolean isItalic() { + if (this.style.isItalicRaw() != null) { + return this.style.isItalic(); + } else { + return this.parent != null && this.parent.isItalic(); + } + } + + public Boolean isItalicRaw() { + return this.style.isItalicRaw(); + } + + public void setUnderlined(Boolean underlined) { + this.style.setUnderlined(underlined); + } + + public boolean isUnderlined() { + if (this.style.isUnderlinedRaw() != null) { + return this.style.isUnderlined(); + } else { + return this.parent != null && this.parent.isUnderlined(); + } + } + + public Boolean isUnderlinedRaw() { + return this.style.isUnderlinedRaw(); + } + + public void setStrikethrough(Boolean strikethrough) { + this.style.setStrikethrough(strikethrough); + } + + public boolean isStrikethrough() { + if (this.style.isStrikethroughRaw() != null) { + return this.style.isStrikethrough(); + } else { + return this.parent != null && this.parent.isStrikethrough(); + } + } + + public Boolean isStrikethroughRaw() { + return this.style.isStrikethroughRaw(); + } + + public void setObfuscated(Boolean obfuscated) { + this.style.setObfuscated(obfuscated); + } + + public boolean isObfuscated() { + if (this.style.isObfuscatedRaw() != null) { + return this.style.isObfuscated(); + } else { + return this.parent != null && this.parent.isObfuscated(); + } + } + + public Boolean isObfuscatedRaw() { + return this.style.isObfuscatedRaw(); + } + + public void applyStyle(ComponentStyle style) { + if (style.hasColor()) { + this.setColor(style.getColor()); + } + + if (style.hasShadowColor()) { + this.setShadowColor(style.getShadowColor()); + } + + if (style.hasFont()) { + this.setFont(style.getFont()); + } + + if (style.isBoldRaw() != null) { + this.setBold(style.isBoldRaw()); + } + + if (style.isItalicRaw() != null) { + this.setItalic(style.isItalicRaw()); + } + + if (style.isUnderlinedRaw() != null) { + this.setUnderlined(style.isUnderlinedRaw()); + } + + if (style.isStrikethroughRaw() != null) { + this.setStrikethrough(style.isStrikethroughRaw()); + } + + if (style.isObfuscatedRaw() != null) { + this.setObfuscated(style.isObfuscatedRaw()); + } + + } + + public void setExtra(List components) { + for(BaseComponent component : components) { + component.parent = this; + } + + this.extra = components; + } + + public void addExtra(String text) { + this.addExtra((BaseComponent)(new TextComponent(text))); + } + + public void addExtra(BaseComponent component) { + if (this.extra == null) { + this.extra = new ArrayList(); + } + + component.parent = this; + this.extra.add(component); + } + + public boolean hasStyle() { + return !this.style.isEmpty(); + } + + public boolean hasFormatting() { + return this.hasStyle() || this.insertion != null || this.hoverEvent != null || this.clickEvent != null; + } + + public String toPlainText() { + StringBuilder builder = new StringBuilder(); + this.toPlainText((StringVisitor)(new LimitedStringVisitor(builder, 32767))); + return builder.toString(); + } + + void toPlainText(StringVisitor builder) { + if (this.extra != null) { + for(BaseComponent e : this.extra) { + e.toPlainText(builder); + } + } + + } + + public String toLegacyText() { + StringBuilder builder = new StringBuilder(); + this.toLegacyText((StringVisitor)(new LimitedStringVisitor(builder, 32767))); + return builder.toString(); + } + + void toLegacyText(StringVisitor builder) { + if (this.extra != null) { + for(BaseComponent e : this.extra) { + e.toLegacyText(builder); + } + } + + } + + void addFormat(StringVisitor builder) { + builder.append((Object)this.getColor()); + if (this.isBold()) { + builder.append((Object)ChatColor.BOLD); + } + + if (this.isItalic()) { + builder.append((Object)ChatColor.ITALIC); + } + + if (this.isUnderlined()) { + builder.append((Object)ChatColor.UNDERLINE); + } + + if (this.isStrikethrough()) { + builder.append((Object)ChatColor.STRIKETHROUGH); + } + + if (this.isObfuscated()) { + builder.append((Object)ChatColor.MAGIC); + } + + } + + @Generated + public void setInsertion(String insertion) { + this.insertion = insertion; + } + + @Generated + public void setClickEvent(ClickEvent clickEvent) { + this.clickEvent = clickEvent; + } + + @Generated + public void setHoverEvent(HoverEvent hoverEvent) { + this.hoverEvent = hoverEvent; + } + + @Generated + public void setReset(boolean reset) { + this.reset = reset; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getStyle()); + return "BaseComponent(style=" + var10000 + ", insertion=" + this.getInsertion() + ", extra=" + String.valueOf(this.getExtra()) + ", clickEvent=" + String.valueOf(this.getClickEvent()) + ", hoverEvent=" + String.valueOf(this.getHoverEvent()) + ", reset=" + this.isReset() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof BaseComponent)) { + return false; + } else { + BaseComponent other = (BaseComponent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$style = this.getStyle(); + Object other$style = other.getStyle(); + if (this$style == null) { + if (other$style != null) { + return false; + } + } else if (!this$style.equals(other$style)) { + return false; + } + + Object this$insertion = this.getInsertion(); + Object other$insertion = other.getInsertion(); + if (this$insertion == null) { + if (other$insertion != null) { + return false; + } + } else if (!this$insertion.equals(other$insertion)) { + return false; + } + + Object this$extra = this.getExtra(); + Object other$extra = other.getExtra(); + if (this$extra == null) { + if (other$extra != null) { + return false; + } + } else if (!this$extra.equals(other$extra)) { + return false; + } + + Object this$clickEvent = this.getClickEvent(); + Object other$clickEvent = other.getClickEvent(); + if (this$clickEvent == null) { + if (other$clickEvent != null) { + return false; + } + } else if (!this$clickEvent.equals(other$clickEvent)) { + return false; + } + + Object this$hoverEvent = this.getHoverEvent(); + Object other$hoverEvent = other.getHoverEvent(); + if (this$hoverEvent == null) { + if (other$hoverEvent != null) { + return false; + } + } else if (!this$hoverEvent.equals(other$hoverEvent)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof BaseComponent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $style = this.getStyle(); + result = result * 59 + ($style == null ? 43 : $style.hashCode()); + Object $insertion = this.getInsertion(); + result = result * 59 + ($insertion == null ? 43 : $insertion.hashCode()); + Object $extra = this.getExtra(); + result = result * 59 + ($extra == null ? 43 : $extra.hashCode()); + Object $clickEvent = this.getClickEvent(); + result = result * 59 + ($clickEvent == null ? 43 : $clickEvent.hashCode()); + Object $hoverEvent = this.getHoverEvent(); + result = result * 59 + ($hoverEvent == null ? 43 : $hoverEvent.hashCode()); + return result; + } + + @Generated + public ComponentStyle getStyle() { + return this.style; + } + + @Generated + public String getInsertion() { + return this.insertion; + } + + @Generated + public List getExtra() { + return this.extra; + } + + @Generated + public ClickEvent getClickEvent() { + return this.clickEvent; + } + + @Generated + public HoverEvent getHoverEvent() { + return this.hoverEvent; + } + + @Generated + public boolean isReset() { + return this.reset; + } + + @FunctionalInterface + protected interface StringVisitor { + void append(String var1); + + default void append(Object obj) { + this.append(String.valueOf(obj)); + } + } + + protected static class LimitedStringVisitor implements StringVisitor { + private final StringBuilder builder; + private final int maxLength; + + public void append(String s) { + if (this.builder.length() >= this.maxLength) { + throw new IllegalArgumentException("String exceeded maximum length " + this.maxLength); + } else { + this.builder.append(s); + } + } + + @Generated + public LimitedStringVisitor(StringBuilder builder, int maxLength) { + this.builder = builder; + this.maxLength = maxLength; + } + + @Generated + public StringBuilder getBuilder() { + return this.builder; + } + + @Generated + public int getMaxLength() { + return this.maxLength; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LimitedStringVisitor)) { + return false; + } else { + LimitedStringVisitor other = (LimitedStringVisitor)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getMaxLength() != other.getMaxLength()) { + return false; + } else { + Object this$builder = this.getBuilder(); + Object other$builder = other.getBuilder(); + if (this$builder == null) { + if (other$builder != null) { + return false; + } + } else if (!this$builder.equals(other$builder)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LimitedStringVisitor; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getMaxLength(); + Object $builder = this.getBuilder(); + result = result * 59 + ($builder == null ? 43 : $builder.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getBuilder()); + return "BaseComponent.LimitedStringVisitor(builder=" + var10000 + ", maxLength=" + this.getMaxLength() + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/ClickEvent.java b/src/main/java/net/md_5/bungee/api/chat/ClickEvent.java new file mode 100644 index 0000000..00118f6 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/ClickEvent.java @@ -0,0 +1,95 @@ +package net.md_5.bungee.api.chat; + +import lombok.Generated; +import org.jetbrains.annotations.ApiStatus.NonExtendable; + +@NonExtendable +public class ClickEvent { + private final Action action; + private final String value; + + @Generated + public Action getAction() { + return this.action; + } + + @Generated + public String getValue() { + return this.value; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getAction()); + return "ClickEvent(action=" + var10000 + ", value=" + this.getValue() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClickEvent)) { + return false; + } else { + ClickEvent other = (ClickEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$action = this.getAction(); + Object other$action = other.getAction(); + if (this$action == null) { + if (other$action != null) { + return false; + } + } else if (!this$action.equals(other$action)) { + return false; + } + + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClickEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $action = this.getAction(); + result = result * 59 + ($action == null ? 43 : $action.hashCode()); + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + return result; + } + + @Generated + public ClickEvent(Action action, String value) { + this.action = action; + this.value = value; + } + + public static enum Action { + OPEN_URL, + OPEN_FILE, + RUN_COMMAND, + SUGGEST_COMMAND, + CHANGE_PAGE, + SHOW_DIALOG, + COPY_TO_CLIPBOARD, + CUSTOM; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/ClickEventCustom.java b/src/main/java/net/md_5/bungee/api/chat/ClickEventCustom.java new file mode 100644 index 0000000..d458ee3 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/ClickEventCustom.java @@ -0,0 +1,65 @@ +package net.md_5.bungee.api.chat; + +import lombok.Generated; + +public class ClickEventCustom extends ClickEvent { + private final String payload; + + public ClickEventCustom(String id, String payload) { + super(ClickEvent.Action.CUSTOM, id); + this.payload = payload; + } + + @Generated + public String getPayload() { + return this.payload; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "ClickEventCustom(super=" + var10000 + ", payload=" + this.getPayload() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClickEventCustom)) { + return false; + } else { + ClickEventCustom other = (ClickEventCustom)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$payload = this.getPayload(); + Object other$payload = other.getPayload(); + if (this$payload == null) { + if (other$payload != null) { + return false; + } + } else if (!this$payload.equals(other$payload)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClickEventCustom; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $payload = this.getPayload(); + result = result * 59 + ($payload == null ? 43 : $payload.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/ComponentBuilder.java b/src/main/java/net/md_5/bungee/api/chat/ComponentBuilder.java new file mode 100644 index 0000000..7499043 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/ComponentBuilder.java @@ -0,0 +1,259 @@ +package net.md_5.bungee.api.chat; + +import com.google.common.base.Preconditions; +import java.awt.Color; +import java.util.ArrayList; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.api.ChatColor; + +public final class ComponentBuilder { + private int cursor; + private final List parts; + private BaseComponent dummy; + + private ComponentBuilder(BaseComponent[] parts) { + this.cursor = -1; + this.parts = new ArrayList(); + + for(BaseComponent baseComponent : parts) { + this.parts.add(baseComponent.duplicate()); + } + + this.resetCursor(); + } + + public ComponentBuilder(ComponentBuilder original) { + this((BaseComponent[])original.parts.toArray(new BaseComponent[0])); + } + + public ComponentBuilder(String text) { + this((BaseComponent)(new TextComponent(text))); + } + + public ComponentBuilder(BaseComponent component) { + this(new BaseComponent[]{component}); + } + + private BaseComponent getDummy() { + if (this.dummy == null) { + this.dummy = new BaseComponent() { + public BaseComponent duplicate() { + return this; + } + }; + } + + return this.dummy; + } + + public ComponentBuilder resetCursor() { + this.cursor = this.parts.size() - 1; + return this; + } + + public ComponentBuilder setCursor(int pos) throws IndexOutOfBoundsException { + if (this.cursor == pos || pos >= 0 && pos < this.parts.size()) { + this.cursor = pos; + return this; + } else { + int var10002 = this.parts.size(); + throw new IndexOutOfBoundsException("Cursor out of bounds (expected between 0 + " + (var10002 - 1) + ")"); + } + } + + public ComponentBuilder append(BaseComponent component) { + return this.append(component, ComponentBuilder.FormatRetention.ALL); + } + + public ComponentBuilder append(BaseComponent component, FormatRetention retention) { + BaseComponent previous = this.parts.isEmpty() ? null : (BaseComponent)this.parts.get(this.parts.size() - 1); + if (previous == null) { + previous = this.dummy; + this.dummy = null; + } + + if (previous != null && !component.isReset()) { + component.copyFormatting(previous, retention, false); + } + + this.parts.add(component); + this.resetCursor(); + return this; + } + + public ComponentBuilder append(BaseComponent[] components) { + return this.append(components, ComponentBuilder.FormatRetention.ALL); + } + + public ComponentBuilder append(BaseComponent[] components, FormatRetention retention) { + Preconditions.checkArgument(components.length != 0, "No components to append"); + + for(BaseComponent component : components) { + this.append(component, retention); + } + + return this; + } + + public ComponentBuilder append(TranslationProvider translatable) { + return this.append(translatable, ComponentBuilder.FormatRetention.ALL); + } + + public ComponentBuilder append(TranslationProvider translatable, FormatRetention retention) { + return this.append((BaseComponent)translatable.asTranslatableComponent(), retention); + } + + public ComponentBuilder append(String text) { + return this.append(text, ComponentBuilder.FormatRetention.ALL); + } + + public ComponentBuilder appendLegacy(String text) { + return this.append(TextComponent.fromLegacyText(text)); + } + + public ComponentBuilder append(String text, FormatRetention retention) { + return this.append((BaseComponent)(new TextComponent(text)), retention); + } + + public ComponentBuilder append(Joiner joiner) { + return joiner.join(this, ComponentBuilder.FormatRetention.ALL); + } + + public ComponentBuilder append(Joiner joiner, FormatRetention retention) { + return joiner.join(this, retention); + } + + public void removeComponent(int pos) throws IndexOutOfBoundsException { + if (this.parts.remove(pos) != null) { + this.resetCursor(); + } + + } + + public BaseComponent getComponent(int pos) throws IndexOutOfBoundsException { + return (BaseComponent)this.parts.get(pos); + } + + public BaseComponent getCurrentComponent() { + return this.cursor == -1 ? this.getDummy() : (BaseComponent)this.parts.get(this.cursor); + } + + public ComponentBuilder color(ChatColor color) { + this.getCurrentComponent().setColor(color); + return this; + } + + public ComponentBuilder shadowColor(Color color) { + this.getCurrentComponent().setShadowColor(color); + return this; + } + + public ComponentBuilder font(String font) { + this.getCurrentComponent().setFont(font); + return this; + } + + public ComponentBuilder bold(boolean bold) { + this.getCurrentComponent().setBold(bold); + return this; + } + + public ComponentBuilder italic(boolean italic) { + this.getCurrentComponent().setItalic(italic); + return this; + } + + public ComponentBuilder underlined(boolean underlined) { + this.getCurrentComponent().setUnderlined(underlined); + return this; + } + + public ComponentBuilder strikethrough(boolean strikethrough) { + this.getCurrentComponent().setStrikethrough(strikethrough); + return this; + } + + public ComponentBuilder obfuscated(boolean obfuscated) { + this.getCurrentComponent().setObfuscated(obfuscated); + return this; + } + + public ComponentBuilder style(ComponentStyle style) { + this.getCurrentComponent().applyStyle(style); + return this; + } + + public ComponentBuilder insertion(String insertion) { + this.getCurrentComponent().setInsertion(insertion); + return this; + } + + public ComponentBuilder event(ClickEvent clickEvent) { + this.getCurrentComponent().setClickEvent(clickEvent); + return this; + } + + public ComponentBuilder event(HoverEvent hoverEvent) { + this.getCurrentComponent().setHoverEvent(hoverEvent); + return this; + } + + public ComponentBuilder reset() { + return this.retain(ComponentBuilder.FormatRetention.NONE); + } + + public ComponentBuilder retain(FormatRetention retention) { + this.getCurrentComponent().retain(retention); + return this; + } + + public BaseComponent build() { + TextComponent base = new TextComponent(); + if (!this.parts.isEmpty()) { + List cloned = new ArrayList(this.parts); + cloned.replaceAll(BaseComponent::duplicate); + base.setExtra(cloned); + } + + return base; + } + + public BaseComponent[] create() { + BaseComponent[] cloned = new BaseComponent[this.parts.size()]; + int i = 0; + + for(BaseComponent part : this.parts) { + cloned[i++] = part.duplicate(); + } + + return cloned; + } + + @Generated + public ComponentBuilder() { + this.cursor = -1; + this.parts = new ArrayList(); + } + + @Generated + public int getCursor() { + return this.cursor; + } + + @Generated + public List getParts() { + return this.parts; + } + + public static enum FormatRetention { + NONE, + FORMATTING, + EVENTS, + ALL; + } + + public interface Joiner { + ComponentBuilder join(ComponentBuilder var1, FormatRetention var2); + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/ComponentStyle.java b/src/main/java/net/md_5/bungee/api/chat/ComponentStyle.java new file mode 100644 index 0000000..a7bb289 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/ComponentStyle.java @@ -0,0 +1,267 @@ +package net.md_5.bungee.api.chat; + +import java.awt.Color; +import lombok.Generated; +import net.md_5.bungee.api.ChatColor; + +public final class ComponentStyle implements Cloneable { + private ChatColor color; + private Color shadowColor; + private String font; + private Boolean bold; + private Boolean italic; + private Boolean underlined; + private Boolean strikethrough; + private Boolean obfuscated; + + public ChatColor getColor() { + return this.color; + } + + public boolean hasColor() { + return this.color != null; + } + + public Color getShadowColor() { + return this.shadowColor; + } + + public boolean hasShadowColor() { + return this.shadowColor != null; + } + + public String getFont() { + return this.font; + } + + public boolean hasFont() { + return this.font != null; + } + + public boolean isBold() { + return this.bold != null && this.bold; + } + + public Boolean isBoldRaw() { + return this.bold; + } + + public boolean isItalic() { + return this.italic != null && this.italic; + } + + public Boolean isItalicRaw() { + return this.italic; + } + + public boolean isUnderlined() { + return this.underlined != null && this.underlined; + } + + public Boolean isUnderlinedRaw() { + return this.underlined; + } + + public boolean isStrikethrough() { + return this.strikethrough != null && this.strikethrough; + } + + public Boolean isStrikethroughRaw() { + return this.strikethrough; + } + + public boolean isObfuscated() { + return this.obfuscated != null && this.obfuscated; + } + + public Boolean isObfuscatedRaw() { + return this.obfuscated; + } + + public boolean isEmpty() { + return this.color == null && this.shadowColor == null && this.font == null && this.bold == null && this.italic == null && this.underlined == null && this.strikethrough == null && this.obfuscated == null; + } + + public ComponentStyle clone() { + return new ComponentStyle(this.color, this.shadowColor, this.font, this.bold, this.italic, this.underlined, this.strikethrough, this.obfuscated); + } + + public static ComponentStyleBuilder builder() { + return new ComponentStyleBuilder(); + } + + public static ComponentStyleBuilder builder(ComponentStyle other) { + return (new ComponentStyleBuilder()).color(other.color).shadowColor(other.shadowColor).font(other.font).bold(other.bold).italic(other.italic).underlined(other.underlined).strikethrough(other.strikethrough).obfuscated(other.obfuscated); + } + + @Generated + public void setColor(ChatColor color) { + this.color = color; + } + + @Generated + public void setShadowColor(Color shadowColor) { + this.shadowColor = shadowColor; + } + + @Generated + public void setFont(String font) { + this.font = font; + } + + @Generated + public void setBold(Boolean bold) { + this.bold = bold; + } + + @Generated + public void setItalic(Boolean italic) { + this.italic = italic; + } + + @Generated + public void setUnderlined(Boolean underlined) { + this.underlined = underlined; + } + + @Generated + public void setStrikethrough(Boolean strikethrough) { + this.strikethrough = strikethrough; + } + + @Generated + public void setObfuscated(Boolean obfuscated) { + this.obfuscated = obfuscated; + } + + @Generated + public ComponentStyle(ChatColor color, Color shadowColor, String font, Boolean bold, Boolean italic, Boolean underlined, Boolean strikethrough, Boolean obfuscated) { + this.color = color; + this.shadowColor = shadowColor; + this.font = font; + this.bold = bold; + this.italic = italic; + this.underlined = underlined; + this.strikethrough = strikethrough; + this.obfuscated = obfuscated; + } + + @Generated + public ComponentStyle() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ComponentStyle)) { + return false; + } else { + ComponentStyle other = (ComponentStyle)o; + Object this$bold = this.bold; + Object other$bold = other.bold; + if (this$bold == null) { + if (other$bold != null) { + return false; + } + } else if (!this$bold.equals(other$bold)) { + return false; + } + + Object this$italic = this.italic; + Object other$italic = other.italic; + if (this$italic == null) { + if (other$italic != null) { + return false; + } + } else if (!this$italic.equals(other$italic)) { + return false; + } + + Object this$underlined = this.underlined; + Object other$underlined = other.underlined; + if (this$underlined == null) { + if (other$underlined != null) { + return false; + } + } else if (!this$underlined.equals(other$underlined)) { + return false; + } + + Object this$strikethrough = this.strikethrough; + Object other$strikethrough = other.strikethrough; + if (this$strikethrough == null) { + if (other$strikethrough != null) { + return false; + } + } else if (!this$strikethrough.equals(other$strikethrough)) { + return false; + } + + Object this$obfuscated = this.obfuscated; + Object other$obfuscated = other.obfuscated; + if (this$obfuscated == null) { + if (other$obfuscated != null) { + return false; + } + } else if (!this$obfuscated.equals(other$obfuscated)) { + return false; + } + + Object this$color = this.getColor(); + Object other$color = other.getColor(); + if (this$color == null) { + if (other$color != null) { + return false; + } + } else if (!this$color.equals(other$color)) { + return false; + } + + Object this$shadowColor = this.getShadowColor(); + Object other$shadowColor = other.getShadowColor(); + if (this$shadowColor == null) { + if (other$shadowColor != null) { + return false; + } + } else if (!this$shadowColor.equals(other$shadowColor)) { + return false; + } + + Object this$font = this.getFont(); + Object other$font = other.getFont(); + if (this$font == null) { + if (other$font != null) { + return false; + } + } else if (!this$font.equals(other$font)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $bold = this.bold; + result = result * 59 + ($bold == null ? 43 : $bold.hashCode()); + Object $italic = this.italic; + result = result * 59 + ($italic == null ? 43 : $italic.hashCode()); + Object $underlined = this.underlined; + result = result * 59 + ($underlined == null ? 43 : $underlined.hashCode()); + Object $strikethrough = this.strikethrough; + result = result * 59 + ($strikethrough == null ? 43 : $strikethrough.hashCode()); + Object $obfuscated = this.obfuscated; + result = result * 59 + ($obfuscated == null ? 43 : $obfuscated.hashCode()); + Object $color = this.getColor(); + result = result * 59 + ($color == null ? 43 : $color.hashCode()); + Object $shadowColor = this.getShadowColor(); + result = result * 59 + ($shadowColor == null ? 43 : $shadowColor.hashCode()); + Object $font = this.getFont(); + result = result * 59 + ($font == null ? 43 : $font.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/ComponentStyleBuilder.java b/src/main/java/net/md_5/bungee/api/chat/ComponentStyleBuilder.java new file mode 100644 index 0000000..474e6ec --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/ComponentStyleBuilder.java @@ -0,0 +1,59 @@ +package net.md_5.bungee.api.chat; + +import java.awt.Color; +import net.md_5.bungee.api.ChatColor; + +public final class ComponentStyleBuilder { + private ChatColor color; + private Color shadowColor; + private String font; + private Boolean bold; + private Boolean italic; + private Boolean underlined; + private Boolean strikethrough; + private Boolean obfuscated; + + public ComponentStyleBuilder color(ChatColor color) { + this.color = color; + return this; + } + + public ComponentStyleBuilder shadowColor(Color shadowColor) { + this.shadowColor = shadowColor; + return this; + } + + public ComponentStyleBuilder font(String font) { + this.font = font; + return this; + } + + public ComponentStyleBuilder bold(Boolean bold) { + this.bold = bold; + return this; + } + + public ComponentStyleBuilder italic(Boolean italic) { + this.italic = italic; + return this; + } + + public ComponentStyleBuilder underlined(Boolean underlined) { + this.underlined = underlined; + return this; + } + + public ComponentStyleBuilder strikethrough(Boolean strikethrough) { + this.strikethrough = strikethrough; + return this; + } + + public ComponentStyleBuilder obfuscated(Boolean obfuscated) { + this.obfuscated = obfuscated; + return this; + } + + public ComponentStyle build() { + return new ComponentStyle(this.color, this.shadowColor, this.font, this.bold, this.italic, this.underlined, this.strikethrough, this.obfuscated); + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/HoverEvent.java b/src/main/java/net/md_5/bungee/api/chat/HoverEvent.java new file mode 100644 index 0000000..00ff424 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/HoverEvent.java @@ -0,0 +1,149 @@ +package net.md_5.bungee.api.chat; + +import com.google.common.base.Preconditions; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.api.chat.hover.content.Content; +import net.md_5.bungee.api.chat.hover.content.Entity; +import net.md_5.bungee.api.chat.hover.content.Item; +import net.md_5.bungee.api.chat.hover.content.Text; +import org.jetbrains.annotations.ApiStatus.Internal; + +public final class HoverEvent { + private final Action action; + private final List contents; + @Internal + private boolean legacy = false; + + public HoverEvent(Action action, Content... contents) { + Preconditions.checkArgument(contents.length != 0, "Must contain at least one content"); + this.action = action; + this.contents = new ArrayList(); + + for(Content it : contents) { + this.addContent(it); + } + + } + + /** @deprecated */ + @Deprecated + public HoverEvent(Action action, BaseComponent[] value) { + this.action = action; + this.contents = new ArrayList(Collections.singletonList(new Text(value))); + this.legacy = true; + } + + public void addContent(Content content) throws UnsupportedOperationException { + Preconditions.checkArgument(!this.legacy || this.contents.size() == 0, "Legacy HoverEvent may not have more than one content"); + content.assertAction(this.action); + this.contents.add(content); + } + + public static Class getClass(Action action, boolean array) { + Preconditions.checkArgument(action != null, "action"); + switch (action.ordinal()) { + case 0 -> { + return array ? Text[].class : Text.class; + } + case 1 -> { + return array ? Item[].class : Item.class; + } + case 2 -> { + return array ? Entity[].class : Entity.class; + } + default -> throw new UnsupportedOperationException("Action '" + action.name() + " not supported"); + } + } + + @Generated + public Action getAction() { + return this.action; + } + + @Generated + public List getContents() { + return this.contents; + } + + @Generated + public boolean isLegacy() { + return this.legacy; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getAction()); + return "HoverEvent(action=" + var10000 + ", contents=" + String.valueOf(this.getContents()) + ", legacy=" + this.isLegacy() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof HoverEvent)) { + return false; + } else { + HoverEvent other = (HoverEvent)o; + if (this.isLegacy() != other.isLegacy()) { + return false; + } else { + Object this$action = this.getAction(); + Object other$action = other.getAction(); + if (this$action == null) { + if (other$action != null) { + return false; + } + } else if (!this$action.equals(other$action)) { + return false; + } + + Object this$contents = this.getContents(); + Object other$contents = other.getContents(); + if (this$contents == null) { + if (other$contents != null) { + return false; + } + } else if (!this$contents.equals(other$contents)) { + return false; + } + + return true; + } + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isLegacy() ? 79 : 97); + Object $action = this.getAction(); + result = result * 59 + ($action == null ? 43 : $action.hashCode()); + Object $contents = this.getContents(); + result = result * 59 + ($contents == null ? 43 : $contents.hashCode()); + return result; + } + + @Generated + public HoverEvent(Action action, List contents) { + this.action = action; + this.contents = contents; + } + + @Generated + public void setLegacy(boolean legacy) { + this.legacy = legacy; + } + + public static enum Action { + SHOW_TEXT, + SHOW_ITEM, + SHOW_ENTITY, + /** @deprecated */ + @Deprecated + SHOW_ACHIEVEMENT; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/ItemTag.java b/src/main/java/net/md_5/bungee/api/chat/ItemTag.java new file mode 100644 index 0000000..1a8054f --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/ItemTag.java @@ -0,0 +1,104 @@ +package net.md_5.bungee.api.chat; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import lombok.Generated; + +public final class ItemTag { + private final String nbt; + + private ItemTag(String nbt) { + this.nbt = nbt; + } + + public static ItemTag ofNbt(String nbt) { + return new ItemTag(nbt); + } + + @Generated + private static Builder builder() { + return new Builder(); + } + + @Generated + public String toString() { + return "ItemTag(nbt=" + this.getNbt() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ItemTag)) { + return false; + } else { + ItemTag other = (ItemTag)o; + Object this$nbt = this.getNbt(); + Object other$nbt = other.getNbt(); + if (this$nbt == null) { + if (other$nbt != null) { + return false; + } + } else if (!this$nbt.equals(other$nbt)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $nbt = this.getNbt(); + result = result * 59 + ($nbt == null ? 43 : $nbt.hashCode()); + return result; + } + + @Generated + public String getNbt() { + return this.nbt; + } + + @Generated + private static class Builder { + @Generated + private String nbt; + + @Generated + Builder() { + } + + @Generated + private Builder nbt(String nbt) { + this.nbt = nbt; + return this; + } + + @Generated + private ItemTag build() { + return new ItemTag(this.nbt); + } + + @Generated + public String toString() { + return "ItemTag.Builder(nbt=" + this.nbt + ")"; + } + } + + public static class Serializer implements JsonSerializer, JsonDeserializer { + public ItemTag deserialize(JsonElement element, Type type, JsonDeserializationContext context) throws JsonParseException { + return ItemTag.ofNbt(element.getAsJsonPrimitive().getAsString()); + } + + public JsonElement serialize(ItemTag itemTag, Type type, JsonSerializationContext context) { + return context.serialize(itemTag.getNbt()); + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/KeybindComponent.java b/src/main/java/net/md_5/bungee/api/chat/KeybindComponent.java new file mode 100644 index 0000000..d80288e --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/KeybindComponent.java @@ -0,0 +1,92 @@ +package net.md_5.bungee.api.chat; + +import lombok.Generated; + +public final class KeybindComponent extends BaseComponent { + private String keybind; + + public KeybindComponent(KeybindComponent original) { + super(original); + this.setKeybind(original.getKeybind()); + } + + public KeybindComponent(String keybind) { + this.setKeybind(keybind); + } + + public KeybindComponent duplicate() { + return new KeybindComponent(this); + } + + protected void toPlainText(BaseComponent.StringVisitor builder) { + builder.append(this.getKeybind()); + super.toPlainText(builder); + } + + protected void toLegacyText(BaseComponent.StringVisitor builder) { + this.addFormat(builder); + builder.append(this.getKeybind()); + super.toLegacyText(builder); + } + + @Generated + public String getKeybind() { + return this.keybind; + } + + @Generated + public void setKeybind(String keybind) { + this.keybind = keybind; + } + + @Generated + public String toString() { + return "KeybindComponent(keybind=" + this.getKeybind() + ")"; + } + + @Generated + public KeybindComponent() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof KeybindComponent)) { + return false; + } else { + KeybindComponent other = (KeybindComponent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$keybind = this.getKeybind(); + Object other$keybind = other.getKeybind(); + if (this$keybind == null) { + if (other$keybind != null) { + return false; + } + } else if (!this$keybind.equals(other$keybind)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof KeybindComponent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $keybind = this.getKeybind(); + result = result * 59 + ($keybind == null ? 43 : $keybind.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/Keybinds.java b/src/main/java/net/md_5/bungee/api/chat/Keybinds.java new file mode 100644 index 0000000..03017f9 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/Keybinds.java @@ -0,0 +1,38 @@ +package net.md_5.bungee.api.chat; + +public interface Keybinds { + String JUMP = "key.jump"; + String SNEAK = "key.sneak"; + String SPRINT = "key.sprint"; + String LEFT = "key.left"; + String RIGHT = "key.right"; + String BACK = "key.back"; + String FORWARD = "key.forward"; + String ATTACK = "key.attack"; + String PICK_ITEM = "key.pickItem"; + String USE = "key.use"; + String DROP = "key.drop"; + String HOTBAR_1 = "key.hotbar.1"; + String HOTBAR_2 = "key.hotbar.2"; + String HOTBAR_3 = "key.hotbar.3"; + String HOTBAR_4 = "key.hotbar.4"; + String HOTBAR_5 = "key.hotbar.5"; + String HOTBAR_6 = "key.hotbar.6"; + String HOTBAR_7 = "key.hotbar.7"; + String HOTBAR_8 = "key.hotbar.8"; + String HOTBAR_9 = "key.hotbar.9"; + String INVENTORY = "key.inventory"; + String SWAP_HANDS = "key.swapHands"; + String LOAD_TOOLBAR_ACTIVATOR = "key.loadToolbarActivator"; + String SAVE_TOOLBAR_ACTIVATOR = "key.saveToolbarActivator"; + String PLAYERLIST = "key.playerlist"; + String CHAT = "key.chat"; + String COMMAND = "key.command"; + String SOCIAL_INTERACTIONS = "key.socialInteractions"; + String ADVANCEMENTS = "key.advancements"; + String SPECTATOR_OUTLINES = "key.spectatorOutlines"; + String SCREENSHOT = "key.screenshot"; + String SMOOTH_CAMERA = "key.smoothCamera"; + String FULLSCREEN = "key.fullscreen"; + String TOGGLE_PERSPECTIVE = "key.togglePerspective"; +} diff --git a/src/main/java/net/md_5/bungee/api/chat/ObjectComponent.java b/src/main/java/net/md_5/bungee/api/chat/ObjectComponent.java new file mode 100644 index 0000000..19cf967 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/ObjectComponent.java @@ -0,0 +1,92 @@ +package net.md_5.bungee.api.chat; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.objects.ChatObject; + +public final class ObjectComponent extends BaseComponent { + private ChatObject object; + + public ObjectComponent(@NonNull ChatObject object) { + if (object == null) { + throw new NullPointerException("object is marked non-null but is null"); + } else { + this.object = object; + } + } + + public ObjectComponent(ObjectComponent original) { + super(original); + this.setObject(original.object); + } + + public ObjectComponent duplicate() { + return new ObjectComponent(this); + } + + protected void toPlainText(BaseComponent.StringVisitor builder) { + super.toPlainText(builder); + } + + protected void toLegacyText(BaseComponent.StringVisitor builder) { + this.addFormat(builder); + super.toLegacyText(builder); + } + + @Generated + public ChatObject getObject() { + return this.object; + } + + @Generated + public void setObject(ChatObject object) { + this.object = object; + } + + @Generated + public String toString() { + return "ObjectComponent(object=" + String.valueOf(this.getObject()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ObjectComponent)) { + return false; + } else { + ObjectComponent other = (ObjectComponent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$object = this.getObject(); + Object other$object = other.getObject(); + if (this$object == null) { + if (other$object != null) { + return false; + } + } else if (!this$object.equals(other$object)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ObjectComponent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $object = this.getObject(); + result = result * 59 + ($object == null ? 43 : $object.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/ScoreComponent.java b/src/main/java/net/md_5/bungee/api/chat/ScoreComponent.java new file mode 100644 index 0000000..374de67 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/ScoreComponent.java @@ -0,0 +1,145 @@ +package net.md_5.bungee.api.chat; + +import lombok.Generated; + +public final class ScoreComponent extends BaseComponent { + private String name; + private String objective; + private String value = ""; + + public ScoreComponent(String name, String objective) { + this.setName(name); + this.setObjective(objective); + } + + public ScoreComponent(ScoreComponent original) { + super(original); + this.setName(original.getName()); + this.setObjective(original.getObjective()); + this.setValue(original.getValue()); + } + + public ScoreComponent duplicate() { + return new ScoreComponent(this); + } + + protected void toPlainText(BaseComponent.StringVisitor builder) { + builder.append(this.value); + super.toPlainText(builder); + } + + protected void toLegacyText(BaseComponent.StringVisitor builder) { + this.addFormat(builder); + builder.append(this.value); + super.toLegacyText(builder); + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public String getObjective() { + return this.objective; + } + + @Generated + public String getValue() { + return this.value; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setObjective(String objective) { + this.objective = objective; + } + + @Generated + public void setValue(String value) { + this.value = value; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "ScoreComponent(name=" + var10000 + ", objective=" + this.getObjective() + ", value=" + this.getValue() + ")"; + } + + @Generated + public ScoreComponent(String name, String objective, String value) { + this.name = name; + this.objective = objective; + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ScoreComponent)) { + return false; + } else { + ScoreComponent other = (ScoreComponent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$objective = this.getObjective(); + Object other$objective = other.getObjective(); + if (this$objective == null) { + if (other$objective != null) { + return false; + } + } else if (!this$objective.equals(other$objective)) { + return false; + } + + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ScoreComponent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $objective = this.getObjective(); + result = result * 59 + ($objective == null ? 43 : $objective.hashCode()); + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/SelectorComponent.java b/src/main/java/net/md_5/bungee/api/chat/SelectorComponent.java new file mode 100644 index 0000000..860edd1 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/SelectorComponent.java @@ -0,0 +1,119 @@ +package net.md_5.bungee.api.chat; + +import lombok.Generated; + +public final class SelectorComponent extends BaseComponent { + private String selector; + private BaseComponent separator; + + public SelectorComponent(SelectorComponent original) { + super(original); + this.setSelector(original.getSelector()); + this.setSeparator(original.getSeparator()); + } + + public SelectorComponent(String selector) { + this.setSelector(selector); + } + + public SelectorComponent duplicate() { + return new SelectorComponent(this); + } + + protected void toPlainText(BaseComponent.StringVisitor builder) { + builder.append(this.selector); + super.toPlainText(builder); + } + + protected void toLegacyText(BaseComponent.StringVisitor builder) { + this.addFormat(builder); + builder.append(this.selector); + super.toLegacyText(builder); + } + + @Generated + public String getSelector() { + return this.selector; + } + + @Generated + public BaseComponent getSeparator() { + return this.separator; + } + + @Generated + public void setSelector(String selector) { + this.selector = selector; + } + + @Generated + public void setSeparator(BaseComponent separator) { + this.separator = separator; + } + + @Generated + public String toString() { + String var10000 = this.getSelector(); + return "SelectorComponent(selector=" + var10000 + ", separator=" + String.valueOf(this.getSeparator()) + ")"; + } + + @Generated + public SelectorComponent(String selector, BaseComponent separator) { + this.selector = selector; + this.separator = separator; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SelectorComponent)) { + return false; + } else { + SelectorComponent other = (SelectorComponent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$selector = this.getSelector(); + Object other$selector = other.getSelector(); + if (this$selector == null) { + if (other$selector != null) { + return false; + } + } else if (!this$selector.equals(other$selector)) { + return false; + } + + Object this$separator = this.getSeparator(); + Object other$separator = other.getSeparator(); + if (this$separator == null) { + if (other$separator != null) { + return false; + } + } else if (!this$separator.equals(other$separator)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof SelectorComponent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $selector = this.getSelector(); + result = result * 59 + ($selector == null ? 43 : $selector.hashCode()); + Object $separator = this.getSeparator(); + result = result * 59 + ($separator == null ? 43 : $separator.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/TextComponent.java b/src/main/java/net/md_5/bungee/api/chat/TextComponent.java new file mode 100644 index 0000000..59f55ca --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/TextComponent.java @@ -0,0 +1,336 @@ +package net.md_5.bungee.api.chat; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Objects; +import java.util.function.Consumer; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import lombok.Generated; +import net.md_5.bungee.api.ChatColor; + +public final class TextComponent extends BaseComponent { + private static final Pattern url = Pattern.compile("^(?:(https?)://)?([-\\w_\\.]{2,}\\.[a-z]{2,4})(/\\S*)?$"); + private String text; + + public static BaseComponent fromLegacy(String message) { + return fromLegacy(message, ChatColor.WHITE); + } + + public static BaseComponent fromLegacy(String message, ChatColor defaultColor) { + ComponentBuilder componentBuilder = new ComponentBuilder(); + Objects.requireNonNull(componentBuilder); + populateComponentStructure(message, defaultColor, componentBuilder::append); + return componentBuilder.build(); + } + + /** @deprecated */ + @Deprecated + public static BaseComponent[] fromLegacyText(String message) { + return fromLegacyText(message, ChatColor.WHITE); + } + + /** @deprecated */ + @Deprecated + public static BaseComponent[] fromLegacyText(String message, ChatColor defaultColor) { + ArrayList components = new ArrayList(); + Objects.requireNonNull(components); + populateComponentStructure(message, defaultColor, components::add); + return (BaseComponent[])components.toArray(new BaseComponent[0]); + } + + private static void populateComponentStructure(String message, ChatColor defaultColor, Consumer appender) { + StringBuilder builder = new StringBuilder(); + TextComponent component = new TextComponent(); + Matcher matcher = url.matcher(message); + + for(int i = 0; i < message.length(); ++i) { + char c = message.charAt(i); + if (c == 167) { + ++i; + if (i >= message.length()) { + break; + } + + c = message.charAt(i); + if (c >= 'A' && c <= 'Z') { + c = (char)(c + 32); + } + + ChatColor format; + if (c == 'x' && i + 12 < message.length()) { + StringBuilder hex = new StringBuilder("#"); + + for(int j = 0; j < 6; ++j) { + hex.append(message.charAt(i + 2 + j * 2)); + } + + try { + format = ChatColor.of(hex.toString()); + } catch (IllegalArgumentException var11) { + format = null; + } + + i += 12; + } else { + format = ChatColor.getByChar(c); + } + + if (format != null) { + if (builder.length() > 0) { + TextComponent old = component; + component = new TextComponent(component); + old.setText(builder.toString()); + builder = new StringBuilder(); + appender.accept(old); + } + + if (format == ChatColor.BOLD) { + component.setBold(true); + } else if (format == ChatColor.ITALIC) { + component.setItalic(true); + } else if (format == ChatColor.UNDERLINE) { + component.setUnderlined(true); + } else if (format == ChatColor.STRIKETHROUGH) { + component.setStrikethrough(true); + } else if (format == ChatColor.MAGIC) { + component.setObfuscated(true); + } else { + if (format == ChatColor.RESET) { + format = defaultColor; + } + + component = new TextComponent(); + component.setColor(format); + component.setReset(true); + } + } + } else { + int pos = indexOfSpecial(message, i); + if (pos == -1) { + pos = message.length(); + } + + if (matcher.region(i, pos).find()) { + if (builder.length() > 0) { + TextComponent old = component; + component = new TextComponent(component); + old.setText(builder.toString()); + builder = new StringBuilder(); + appender.accept(old); + } + + TextComponent var12 = new TextComponent(component); + String urlString = message.substring(i, pos); + var12.setText(urlString); + var12.setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, urlString.startsWith("http") ? urlString : "http://" + urlString)); + appender.accept(var12); + i += pos - i - 1; + component = component; + } else { + builder.append(c); + } + } + } + + component.setText(builder.toString()); + appender.accept(component); + } + + private static int indexOfSpecial(String message, int pos) { + for(int i = pos; i < message.length(); ++i) { + char c = message.charAt(i); + if (c == ' ' || Character.isISOControl(c)) { + return i; + } + } + + return -1; + } + + public static BaseComponent fromArray(BaseComponent... components) { + if (components == null) { + return null; + } else { + return (BaseComponent)(components.length == 1 ? components[0] : new TextComponent(components)); + } + } + + public static BaseComponent[] fromLegacyTextFast(String message) { + return fromLegacyTextFast(message, ChatColor.WHITE); + } + + public static BaseComponent[] fromLegacyTextFast(String message, ChatColor defaultColor) { + ArrayList components = new ArrayList(); + StringBuilder builder = new StringBuilder(); + TextComponent component = new TextComponent(); + + for(int i = 0; i < message.length(); ++i) { + char c = message.charAt(i); + if (c == 167) { + ++i; + if (i >= message.length()) { + break; + } + + c = message.charAt(i); + if (c >= 'A' && c <= 'Z') { + c = (char)(c + 32); + } + + ChatColor format; + if (c == 'x' && i + 12 < message.length()) { + StringBuilder hex = new StringBuilder("#"); + + for(int j = 0; j < 6; ++j) { + hex.append(message.charAt(i + 2 + j * 2)); + } + + try { + format = ChatColor.of(hex.toString()); + } catch (IllegalArgumentException var10) { + format = null; + } + + i += 12; + } else { + format = ChatColor.getByChar(c); + } + + if (format != null) { + if (builder.length() > 0) { + TextComponent old = component; + component = new TextComponent(component); + old.setText(builder.toString()); + builder = new StringBuilder(); + components.add(old); + } + + if (format == ChatColor.BOLD) { + component.setBold(true); + } else if (format == ChatColor.ITALIC) { + component.setItalic(true); + } else if (format == ChatColor.UNDERLINE) { + component.setUnderlined(true); + } else if (format == ChatColor.STRIKETHROUGH) { + component.setStrikethrough(true); + } else if (format == ChatColor.MAGIC) { + component.setObfuscated(true); + } else { + if (format == ChatColor.RESET) { + format = defaultColor; + } + + component = new TextComponent(); + component.setColor(format); + component.setReset(true); + } + } + } else { + int pos = message.indexOf(32, i); + if (pos == -1) { + pos = message.length(); + } + + builder.append(c); + } + } + + component.setText(builder.toString()); + components.add(component); + return (BaseComponent[])components.toArray(new BaseComponent[0]); + } + + public TextComponent() { + this.text = ""; + } + + public TextComponent(TextComponent textComponent) { + super(textComponent); + this.setText(textComponent.getText()); + } + + public TextComponent(BaseComponent... extras) { + this(); + if (extras.length != 0) { + this.setExtra(new ArrayList(Arrays.asList(extras))); + } + } + + public TextComponent duplicate() { + return new TextComponent(this); + } + + protected void toPlainText(BaseComponent.StringVisitor builder) { + builder.append(this.text); + super.toPlainText(builder); + } + + protected void toLegacyText(BaseComponent.StringVisitor builder) { + this.addFormat(builder); + builder.append(this.text); + super.toLegacyText(builder); + } + + public String toString() { + String var10000 = this.text; + return "TextComponent{text=" + var10000 + ", " + super.toString() + "}"; + } + + @Generated + public String getText() { + return this.text; + } + + @Generated + public void setText(String text) { + this.text = text; + } + + @Generated + public TextComponent(String text) { + this.text = text; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TextComponent)) { + return false; + } else { + TextComponent other = (TextComponent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$text = this.getText(); + Object other$text = other.getText(); + if (this$text == null) { + if (other$text != null) { + return false; + } + } else if (!this$text.equals(other$text)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TextComponent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $text = this.getText(); + result = result * 59 + ($text == null ? 43 : $text.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/TranslatableComponent.java b/src/main/java/net/md_5/bungee/api/chat/TranslatableComponent.java new file mode 100644 index 0000000..03474eb --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/TranslatableComponent.java @@ -0,0 +1,241 @@ +package net.md_5.bungee.api.chat; + +import java.util.ArrayList; +import java.util.List; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import lombok.Generated; +import net.md_5.bungee.chat.TranslationRegistry; + +public final class TranslatableComponent extends BaseComponent { + private static final Pattern FORMAT = Pattern.compile("%(?:(\\d+)\\$)?([A-Za-z%]|$)"); + private String translate; + private List with; + private String fallback; + + public TranslatableComponent(TranslatableComponent original) { + super(original); + this.setTranslate(original.getTranslate()); + this.setFallback(original.getFallback()); + if (original.getWith() != null) { + List temp = new ArrayList(); + + for(BaseComponent baseComponent : original.getWith()) { + temp.add(baseComponent.duplicate()); + } + + this.setWith(temp); + } + + } + + public TranslatableComponent(String translate, Object... with) { + this.setTranslate(translate); + if (with != null && with.length != 0) { + List temp = new ArrayList(); + + for(Object w : with) { + if (w instanceof BaseComponent) { + temp.add((BaseComponent)w); + } else { + temp.add(new TextComponent(String.valueOf(w))); + } + } + + this.setWith(temp); + } + + } + + public TranslatableComponent(TranslationProvider translatable, Object... with) { + this(translatable.getTranslationKey(), with); + } + + public TranslatableComponent duplicate() { + return new TranslatableComponent(this); + } + + public void setWith(List components) { + for(BaseComponent component : components) { + component.parent = this; + } + + this.with = components; + } + + public void addWith(String text) { + this.addWith((BaseComponent)(new TextComponent(text))); + } + + public void addWith(BaseComponent component) { + if (this.with == null) { + this.with = new ArrayList(); + } + + component.parent = this; + this.with.add(component); + } + + protected void toPlainText(BaseComponent.StringVisitor builder) { + this.convert(builder, false); + super.toPlainText(builder); + } + + protected void toLegacyText(BaseComponent.StringVisitor builder) { + this.convert(builder, true); + super.toLegacyText(builder); + } + + private void convert(BaseComponent.StringVisitor builder, boolean applyFormat) { + String trans = TranslationRegistry.INSTANCE.translate(this.translate); + if (trans.equals(this.translate) && this.fallback != null) { + trans = this.fallback; + } + + Matcher matcher = FORMAT.matcher(trans); + int position = 0; + int i = 0; + + while(matcher.find(position)) { + int pos = matcher.start(); + if (pos != position) { + if (applyFormat) { + this.addFormat(builder); + } + + builder.append(trans.substring(position, pos)); + } + + position = matcher.end(); + String formatCode = matcher.group(2); + switch (formatCode.charAt(0)) { + case '%': + if (applyFormat) { + this.addFormat(builder); + } + + builder.append((Object)'%'); + break; + case 'd': + case 's': + String withIndex = matcher.group(1); + BaseComponent withComponent = (BaseComponent)this.with.get(withIndex != null ? Integer.parseInt(withIndex) - 1 : i++); + if (applyFormat) { + withComponent.toLegacyText(builder); + } else { + withComponent.toPlainText(builder); + } + } + } + + if (trans.length() != position) { + if (applyFormat) { + this.addFormat(builder); + } + + builder.append(trans.substring(position, trans.length())); + } + + } + + @Generated + public String getTranslate() { + return this.translate; + } + + @Generated + public List getWith() { + return this.with; + } + + @Generated + public String getFallback() { + return this.fallback; + } + + @Generated + public void setTranslate(String translate) { + this.translate = translate; + } + + @Generated + public void setFallback(String fallback) { + this.fallback = fallback; + } + + @Generated + public String toString() { + String var10000 = this.getTranslate(); + return "TranslatableComponent(translate=" + var10000 + ", with=" + String.valueOf(this.getWith()) + ", fallback=" + this.getFallback() + ")"; + } + + @Generated + public TranslatableComponent() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TranslatableComponent)) { + return false; + } else { + TranslatableComponent other = (TranslatableComponent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$translate = this.getTranslate(); + Object other$translate = other.getTranslate(); + if (this$translate == null) { + if (other$translate != null) { + return false; + } + } else if (!this$translate.equals(other$translate)) { + return false; + } + + Object this$with = this.getWith(); + Object other$with = other.getWith(); + if (this$with == null) { + if (other$with != null) { + return false; + } + } else if (!this$with.equals(other$with)) { + return false; + } + + Object this$fallback = this.getFallback(); + Object other$fallback = other.getFallback(); + if (this$fallback == null) { + if (other$fallback != null) { + return false; + } + } else if (!this$fallback.equals(other$fallback)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TranslatableComponent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $translate = this.getTranslate(); + result = result * 59 + ($translate == null ? 43 : $translate.hashCode()); + Object $with = this.getWith(); + result = result * 59 + ($with == null ? 43 : $with.hashCode()); + Object $fallback = this.getFallback(); + result = result * 59 + ($fallback == null ? 43 : $fallback.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/TranslationProvider.java b/src/main/java/net/md_5/bungee/api/chat/TranslationProvider.java new file mode 100644 index 0000000..cefba9a --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/TranslationProvider.java @@ -0,0 +1,13 @@ +package net.md_5.bungee.api.chat; + +public interface TranslationProvider { + String getTranslationKey(); + + default TranslatableComponent asTranslatableComponent() { + return this.asTranslatableComponent((Object[])null); + } + + default TranslatableComponent asTranslatableComponent(Object... with) { + return new TranslatableComponent(this, with); + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/hover/content/Content.java b/src/main/java/net/md_5/bungee/api/chat/hover/content/Content.java new file mode 100644 index 0000000..9587b25 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/hover/content/Content.java @@ -0,0 +1,43 @@ +package net.md_5.bungee.api.chat.hover.content; + +import lombok.Generated; +import net.md_5.bungee.api.chat.HoverEvent; + +public abstract class Content { + public abstract HoverEvent.Action requiredAction(); + + public void assertAction(HoverEvent.Action input) throws UnsupportedOperationException { + if (input != this.requiredAction()) { + String var10002 = String.valueOf(input); + throw new UnsupportedOperationException("Action " + var10002 + " not compatible! Expected " + String.valueOf(this.requiredAction())); + } + } + + @Generated + public String toString() { + return "Content()"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Content)) { + return false; + } else { + Content other = (Content)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Content; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/hover/content/Entity.java b/src/main/java/net/md_5/bungee/api/chat/hover/content/Entity.java new file mode 100644 index 0000000..486aabf --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/hover/content/Entity.java @@ -0,0 +1,133 @@ +package net.md_5.bungee.api.chat.hover.content; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.HoverEvent; + +public class Entity extends Content { + private String type; + private @NonNull String id; + private BaseComponent name; + + public HoverEvent.Action requiredAction() { + return HoverEvent.Action.SHOW_ENTITY; + } + + @Generated + public String getType() { + return this.type; + } + + @Generated + public @NonNull String getId() { + return this.id; + } + + @Generated + public BaseComponent getName() { + return this.name; + } + + @Generated + public void setType(String type) { + this.type = type; + } + + @Generated + public void setId(@NonNull String id) { + if (id == null) { + throw new NullPointerException("id is marked non-null but is null"); + } else { + this.id = id; + } + } + + @Generated + public void setName(BaseComponent name) { + this.name = name; + } + + @Generated + public Entity(String type, @NonNull String id, BaseComponent name) { + if (id == null) { + throw new NullPointerException("id is marked non-null but is null"); + } else { + this.type = type; + this.id = id; + this.name = name; + } + } + + @Generated + public String toString() { + String var10000 = this.getType(); + return "Entity(type=" + var10000 + ", id=" + this.getId() + ", name=" + String.valueOf(this.getName()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Entity)) { + return false; + } else { + Entity other = (Entity)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$type = this.getType(); + Object other$type = other.getType(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + Object this$id = this.getId(); + Object other$id = other.getId(); + if (this$id == null) { + if (other$id != null) { + return false; + } + } else if (!this$id.equals(other$id)) { + return false; + } + + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Entity; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $type = this.getType(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + Object $id = this.getId(); + result = result * 59 + ($id == null ? 43 : $id.hashCode()); + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/hover/content/EntitySerializer.java b/src/main/java/net/md_5/bungee/api/chat/hover/content/EntitySerializer.java new file mode 100644 index 0000000..bcdfc08 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/hover/content/EntitySerializer.java @@ -0,0 +1,60 @@ +package net.md_5.bungee.api.chat.hover.content; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import java.util.UUID; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.chat.BaseComponentSerializer; +import net.md_5.bungee.chat.VersionedComponentSerializer; + +public class EntitySerializer extends BaseComponentSerializer implements JsonSerializer, JsonDeserializer { + public EntitySerializer(VersionedComponentSerializer serializer) { + super(serializer); + } + + public Entity deserialize(JsonElement element, Type type, JsonDeserializationContext context) throws JsonParseException { + JsonObject value = element.getAsJsonObject(); + boolean newEntity = value.has("uuid"); + JsonElement uuid = value.get(newEntity ? "uuid" : "id"); + String idString; + if (uuid.isJsonArray()) { + idString = parseUUID((int[])context.deserialize(uuid, int[].class)).toString(); + } else { + idString = uuid.getAsString(); + } + + return new Entity(value.has(newEntity ? "id" : "type") ? value.get(newEntity ? "id" : "type").getAsString() : null, idString, value.has("name") ? (BaseComponent)context.deserialize(value.get("name"), BaseComponent.class) : null); + } + + public JsonElement serialize(Entity content, Type type, JsonSerializationContext context) { + JsonObject object = new JsonObject(); + switch (this.serializer.getVersion()) { + case V1_21_5: + object.addProperty("id", content.getType() != null ? content.getType() : "minecraft:pig"); + object.addProperty("uuid", content.getId()); + break; + case V1_16: + object.addProperty("type", content.getType() != null ? content.getType() : "minecraft:pig"); + object.addProperty("id", content.getId()); + break; + default: + throw new IllegalArgumentException("Unknown version " + String.valueOf(this.serializer.getVersion())); + } + + if (content.getName() != null) { + object.add("name", context.serialize(content.getName())); + } + + return object; + } + + private static UUID parseUUID(int[] array) { + return new UUID((long)array[0] << 32 | (long)array[1] & 4294967295L, (long)array[2] << 32 | (long)array[3] & 4294967295L); + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/hover/content/Item.java b/src/main/java/net/md_5/bungee/api/chat/hover/content/Item.java new file mode 100644 index 0000000..23f19fb --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/hover/content/Item.java @@ -0,0 +1,113 @@ +package net.md_5.bungee.api.chat.hover.content; + +import lombok.Generated; +import net.md_5.bungee.api.chat.HoverEvent; +import net.md_5.bungee.api.chat.ItemTag; + +public class Item extends Content { + private String id; + private int count = -1; + private ItemTag tag; + + public HoverEvent.Action requiredAction() { + return HoverEvent.Action.SHOW_ITEM; + } + + @Generated + public String getId() { + return this.id; + } + + @Generated + public int getCount() { + return this.count; + } + + @Generated + public ItemTag getTag() { + return this.tag; + } + + @Generated + public void setId(String id) { + this.id = id; + } + + @Generated + public void setCount(int count) { + this.count = count; + } + + @Generated + public void setTag(ItemTag tag) { + this.tag = tag; + } + + @Generated + public Item(String id, int count, ItemTag tag) { + this.id = id; + this.count = count; + this.tag = tag; + } + + @Generated + public String toString() { + String var10000 = this.getId(); + return "Item(id=" + var10000 + ", count=" + this.getCount() + ", tag=" + String.valueOf(this.getTag()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Item)) { + return false; + } else { + Item other = (Item)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getCount() != other.getCount()) { + return false; + } else { + Object this$id = this.getId(); + Object other$id = other.getId(); + if (this$id == null) { + if (other$id != null) { + return false; + } + } else if (!this$id.equals(other$id)) { + return false; + } + + Object this$tag = this.getTag(); + Object other$tag = other.getTag(); + if (this$tag == null) { + if (other$tag != null) { + return false; + } + } else if (!this$tag.equals(other$tag)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Item; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getCount(); + Object $id = this.getId(); + result = result * 59 + ($id == null ? 43 : $id.hashCode()); + Object $tag = this.getTag(); + result = result * 59 + ($tag == null ? 43 : $tag.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/hover/content/ItemSerializer.java b/src/main/java/net/md_5/bungee/api/chat/hover/content/ItemSerializer.java new file mode 100644 index 0000000..ddcc4be --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/hover/content/ItemSerializer.java @@ -0,0 +1,53 @@ +package net.md_5.bungee.api.chat.hover.content; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonPrimitive; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import net.md_5.bungee.api.chat.ItemTag; + +public class ItemSerializer implements JsonSerializer, JsonDeserializer { + public Item deserialize(JsonElement element, Type type, JsonDeserializationContext context) throws JsonParseException { + JsonObject value = element.getAsJsonObject(); + int count = -1; + if (value.has("Count")) { + JsonPrimitive countObj = value.get("Count").getAsJsonPrimitive(); + if (countObj.isNumber()) { + count = countObj.getAsInt(); + } else if (countObj.isString()) { + String cString = countObj.getAsString(); + char last = cString.charAt(cString.length() - 1); + if (last == 'b' || last == 's' || last == 'l' || last == 'f' || last == 'd') { + cString = cString.substring(0, cString.length() - 1); + } + + try { + count = Integer.parseInt(cString); + } catch (NumberFormatException ex) { + throw new JsonParseException("Could not parse count: " + String.valueOf(ex)); + } + } + } + + return new Item(value.has("id") ? value.get("id").getAsString() : null, count, value.has("tag") ? (ItemTag)context.deserialize(value.get("tag"), ItemTag.class) : null); + } + + public JsonElement serialize(Item content, Type type, JsonSerializationContext context) { + JsonObject object = new JsonObject(); + object.addProperty("id", content.getId() == null ? "minecraft:air" : content.getId()); + if (content.getCount() != -1) { + object.addProperty("Count", content.getCount()); + } + + if (content.getTag() != null) { + object.add("tag", context.serialize(content.getTag())); + } + + return object; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/hover/content/Text.java b/src/main/java/net/md_5/bungee/api/chat/hover/content/Text.java new file mode 100644 index 0000000..66b736b --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/hover/content/Text.java @@ -0,0 +1,48 @@ +package net.md_5.bungee.api.chat.hover.content; + +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.HoverEvent; + +public class Text extends Content { + private final Object value; + + public Text(BaseComponent[] value) { + this.value = value; + } + + public Text(BaseComponent value) { + this(new BaseComponent[]{value}); + } + + public Text(String value) { + this.value = value; + } + + public HoverEvent.Action requiredAction() { + return HoverEvent.Action.SHOW_TEXT; + } + + public boolean equals(Object o) { + if (!(this.value instanceof BaseComponent[])) { + return this.value.equals(o); + } else { + return o instanceof Text && ((Text)o).value instanceof BaseComponent[] && Arrays.equals((BaseComponent[])this.value, (BaseComponent[])((Text)o).value); + } + } + + public int hashCode() { + return this.value instanceof BaseComponent[] ? Arrays.hashCode((BaseComponent[])this.value) : this.value.hashCode(); + } + + @Generated + public Object getValue() { + return this.value; + } + + @Generated + public String toString() { + return "Text(value=" + String.valueOf(this.getValue()) + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/hover/content/TextSerializer.java b/src/main/java/net/md_5/bungee/api/chat/hover/content/TextSerializer.java new file mode 100644 index 0000000..0603ff6 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/hover/content/TextSerializer.java @@ -0,0 +1,24 @@ +package net.md_5.bungee.api.chat.hover.content; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import net.md_5.bungee.api.chat.BaseComponent; + +public class TextSerializer implements JsonSerializer, JsonDeserializer { + public Text deserialize(JsonElement element, Type type, JsonDeserializationContext context) throws JsonParseException { + if (element.isJsonArray()) { + return new Text((BaseComponent[])context.deserialize(element, BaseComponent[].class)); + } else { + return element.isJsonPrimitive() ? new Text(element.getAsJsonPrimitive().getAsString()) : new Text(new BaseComponent[]{(BaseComponent)context.deserialize(element, BaseComponent.class)}); + } + } + + public JsonElement serialize(Text content, Type type, JsonSerializationContext context) { + return context.serialize(content.getValue()); + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/objects/ChatObject.java b/src/main/java/net/md_5/bungee/api/chat/objects/ChatObject.java new file mode 100644 index 0000000..153bcd6 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/objects/ChatObject.java @@ -0,0 +1,4 @@ +package net.md_5.bungee.api.chat.objects; + +public interface ChatObject { +} diff --git a/src/main/java/net/md_5/bungee/api/chat/objects/PlayerObject.java b/src/main/java/net/md_5/bungee/api/chat/objects/PlayerObject.java new file mode 100644 index 0000000..2f2fedf --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/objects/PlayerObject.java @@ -0,0 +1,119 @@ +package net.md_5.bungee.api.chat.objects; + +import java.util.UUID; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.player.Profile; +import net.md_5.bungee.api.chat.player.Property; + +public final class PlayerObject implements ChatObject { + private @NonNull Profile profile; + private Boolean hat; + + public PlayerObject(@NonNull String name) { + if (name == null) { + throw new NullPointerException("name is marked non-null but is null"); + } else { + this.profile = new Profile(name); + } + } + + public PlayerObject(@NonNull UUID uuid) { + if (uuid == null) { + throw new NullPointerException("uuid is marked non-null but is null"); + } else { + this.profile = new Profile(uuid); + } + } + + public PlayerObject(@NonNull Property[] properties) { + if (properties == null) { + throw new NullPointerException("properties is marked non-null but is null"); + } else { + this.profile = new Profile(properties); + } + } + + @Generated + public @NonNull Profile getProfile() { + return this.profile; + } + + @Generated + public Boolean getHat() { + return this.hat; + } + + @Generated + public void setProfile(@NonNull Profile profile) { + if (profile == null) { + throw new NullPointerException("profile is marked non-null but is null"); + } else { + this.profile = profile; + } + } + + @Generated + public void setHat(Boolean hat) { + this.hat = hat; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerObject)) { + return false; + } else { + PlayerObject other = (PlayerObject)o; + Object this$hat = this.getHat(); + Object other$hat = other.getHat(); + if (this$hat == null) { + if (other$hat != null) { + return false; + } + } else if (!this$hat.equals(other$hat)) { + return false; + } + + Object this$profile = this.getProfile(); + Object other$profile = other.getProfile(); + if (this$profile == null) { + if (other$profile != null) { + return false; + } + } else if (!this$profile.equals(other$profile)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $hat = this.getHat(); + result = result * 59 + ($hat == null ? 43 : $hat.hashCode()); + Object $profile = this.getProfile(); + result = result * 59 + ($profile == null ? 43 : $profile.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getProfile()); + return "PlayerObject(profile=" + var10000 + ", hat=" + this.getHat() + ")"; + } + + @Generated + public PlayerObject(@NonNull Profile profile, Boolean hat) { + if (profile == null) { + throw new NullPointerException("profile is marked non-null but is null"); + } else { + this.profile = profile; + this.hat = hat; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/objects/SpriteObject.java b/src/main/java/net/md_5/bungee/api/chat/objects/SpriteObject.java new file mode 100644 index 0000000..fdb51a3 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/objects/SpriteObject.java @@ -0,0 +1,92 @@ +package net.md_5.bungee.api.chat.objects; + +import lombok.Generated; +import lombok.NonNull; + +public final class SpriteObject implements ChatObject { + private String atlas; + private @NonNull String sprite; + + @Generated + public String getAtlas() { + return this.atlas; + } + + @Generated + public @NonNull String getSprite() { + return this.sprite; + } + + @Generated + public void setAtlas(String atlas) { + this.atlas = atlas; + } + + @Generated + public void setSprite(@NonNull String sprite) { + if (sprite == null) { + throw new NullPointerException("sprite is marked non-null but is null"); + } else { + this.sprite = sprite; + } + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SpriteObject)) { + return false; + } else { + SpriteObject other = (SpriteObject)o; + Object this$atlas = this.getAtlas(); + Object other$atlas = other.getAtlas(); + if (this$atlas == null) { + if (other$atlas != null) { + return false; + } + } else if (!this$atlas.equals(other$atlas)) { + return false; + } + + Object this$sprite = this.getSprite(); + Object other$sprite = other.getSprite(); + if (this$sprite == null) { + if (other$sprite != null) { + return false; + } + } else if (!this$sprite.equals(other$sprite)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $atlas = this.getAtlas(); + result = result * 59 + ($atlas == null ? 43 : $atlas.hashCode()); + Object $sprite = this.getSprite(); + result = result * 59 + ($sprite == null ? 43 : $sprite.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getAtlas(); + return "SpriteObject(atlas=" + var10000 + ", sprite=" + this.getSprite() + ")"; + } + + @Generated + public SpriteObject(String atlas, @NonNull String sprite) { + if (sprite == null) { + throw new NullPointerException("sprite is marked non-null but is null"); + } else { + this.atlas = atlas; + this.sprite = sprite; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/player/Profile.java b/src/main/java/net/md_5/bungee/api/chat/player/Profile.java new file mode 100644 index 0000000..6490dcd --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/player/Profile.java @@ -0,0 +1,133 @@ +package net.md_5.bungee.api.chat.player; + +import java.util.Arrays; +import java.util.UUID; +import lombok.Generated; +import lombok.NonNull; + +public class Profile { + private String name; + private UUID uuid; + private Property[] properties; + + public Profile(@NonNull String name) { + this(name, (UUID)null, (Property[])null); + if (name == null) { + throw new NullPointerException("name is marked non-null but is null"); + } + } + + public Profile(@NonNull UUID uuid) { + this((String)null, uuid, (Property[])null); + if (uuid == null) { + throw new NullPointerException("uuid is marked non-null but is null"); + } + } + + public Profile(@NonNull Property[] properties) { + this((String)null, (UUID)null, properties); + if (properties == null) { + throw new NullPointerException("properties is marked non-null but is null"); + } + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public UUID getUuid() { + return this.uuid; + } + + @Generated + public Property[] getProperties() { + return this.properties; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + @Generated + public void setProperties(Property[] properties) { + this.properties = properties; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Profile)) { + return false; + } else { + Profile other = (Profile)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$uuid = this.getUuid(); + Object other$uuid = other.getUuid(); + if (this$uuid == null) { + if (other$uuid != null) { + return false; + } + } else if (!this$uuid.equals(other$uuid)) { + return false; + } + + if (!Arrays.deepEquals(this.getProperties(), other.getProperties())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Profile; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $uuid = this.getUuid(); + result = result * 59 + ($uuid == null ? 43 : $uuid.hashCode()); + result = result * 59 + Arrays.deepHashCode(this.getProperties()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "Profile(name=" + var10000 + ", uuid=" + String.valueOf(this.getUuid()) + ", properties=" + Arrays.deepToString(this.getProperties()) + ")"; + } + + @Generated + public Profile(String name, UUID uuid, Property[] properties) { + this.name = name; + this.uuid = uuid; + this.properties = properties; + } +} diff --git a/src/main/java/net/md_5/bungee/api/chat/player/Property.java b/src/main/java/net/md_5/bungee/api/chat/player/Property.java new file mode 100644 index 0000000..cc90f5c --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/chat/player/Property.java @@ -0,0 +1,140 @@ +package net.md_5.bungee.api.chat.player; + +import lombok.Generated; +import lombok.NonNull; + +public class Property { + private @NonNull String name; + private @NonNull String value; + private String signature; + + public Property(@NonNull String name, @NonNull String value) { + this(name, value, (String)null); + if (name == null) { + throw new NullPointerException("name is marked non-null but is null"); + } else if (value == null) { + throw new NullPointerException("value is marked non-null but is null"); + } + } + + @Generated + public @NonNull String getName() { + return this.name; + } + + @Generated + public @NonNull String getValue() { + return this.value; + } + + @Generated + public String getSignature() { + return this.signature; + } + + @Generated + public void setName(@NonNull String name) { + if (name == null) { + throw new NullPointerException("name is marked non-null but is null"); + } else { + this.name = name; + } + } + + @Generated + public void setValue(@NonNull String value) { + if (value == null) { + throw new NullPointerException("value is marked non-null but is null"); + } else { + this.value = value; + } + } + + @Generated + public void setSignature(String signature) { + this.signature = signature; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Property)) { + return false; + } else { + Property other = (Property)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + Object this$signature = this.getSignature(); + Object other$signature = other.getSignature(); + if (this$signature == null) { + if (other$signature != null) { + return false; + } + } else if (!this$signature.equals(other$signature)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Property; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + Object $signature = this.getSignature(); + result = result * 59 + ($signature == null ? 43 : $signature.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "Property(name=" + var10000 + ", value=" + this.getValue() + ", signature=" + this.getSignature() + ")"; + } + + @Generated + public Property(@NonNull String name, @NonNull String value, String signature) { + if (name == null) { + throw new NullPointerException("name is marked non-null but is null"); + } else if (value == null) { + throw new NullPointerException("value is marked non-null but is null"); + } else { + this.name = name; + this.value = value; + this.signature = signature; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/config/ConfigurationAdapter.java b/src/main/java/net/md_5/bungee/api/config/ConfigurationAdapter.java new file mode 100644 index 0000000..eb86fc6 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/config/ConfigurationAdapter.java @@ -0,0 +1,24 @@ +package net.md_5.bungee.api.config; + +import java.util.Collection; +import java.util.Map; + +public interface ConfigurationAdapter { + void load(); + + int getInt(String var1, int var2); + + String getString(String var1, String var2); + + boolean getBoolean(String var1, boolean var2); + + Collection getList(String var1, Collection var2); + + Map getServers(); + + Collection getListeners(); + + Collection getGroups(String var1); + + Collection getPermissions(String var1); +} diff --git a/src/main/java/net/md_5/bungee/api/config/ListenerInfo.java b/src/main/java/net/md_5/bungee/api/config/ListenerInfo.java new file mode 100644 index 0000000..999a148 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/config/ListenerInfo.java @@ -0,0 +1,247 @@ +package net.md_5.bungee.api.config; + +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.util.List; +import java.util.Map; +import lombok.Generated; + +public class ListenerInfo { + private final SocketAddress socketAddress; + private final String motd; + private final int maxPlayers; + private final int tabListSize; + private final List serverPriority; + private final boolean forceDefault; + private final Map forcedHosts; + private final String tabListType; + private final boolean setLocalAddress; + private final boolean pingPassthrough; + private final int queryPort; + private final boolean queryEnabled; + private final boolean proxyProtocol; + + /** @deprecated */ + @Deprecated + public ListenerInfo(InetSocketAddress host, String motd, int maxPlayers, int tabListSize, List serverPriority, boolean forceDefault, Map forcedHosts, String tabListType, boolean setLocalAddress, boolean pingPassthrough, int queryPort, boolean queryEnabled) { + this(host, motd, maxPlayers, tabListSize, serverPriority, forceDefault, forcedHosts, tabListType, setLocalAddress, pingPassthrough, queryPort, queryEnabled, false); + } + + /** @deprecated */ + @Deprecated + public String getDefaultServer() { + return (String)this.serverPriority.get(0); + } + + /** @deprecated */ + @Deprecated + public String getFallbackServer() { + return this.serverPriority.size() > 1 ? (String)this.serverPriority.get(1) : this.getDefaultServer(); + } + + /** @deprecated */ + @Deprecated + public InetSocketAddress getHost() { + return (InetSocketAddress)this.socketAddress; + } + + @Generated + public SocketAddress getSocketAddress() { + return this.socketAddress; + } + + @Generated + public String getMotd() { + return this.motd; + } + + @Generated + public int getMaxPlayers() { + return this.maxPlayers; + } + + @Generated + public int getTabListSize() { + return this.tabListSize; + } + + @Generated + public List getServerPriority() { + return this.serverPriority; + } + + @Generated + public boolean isForceDefault() { + return this.forceDefault; + } + + @Generated + public Map getForcedHosts() { + return this.forcedHosts; + } + + @Generated + public String getTabListType() { + return this.tabListType; + } + + @Generated + public boolean isSetLocalAddress() { + return this.setLocalAddress; + } + + @Generated + public boolean isPingPassthrough() { + return this.pingPassthrough; + } + + @Generated + public int getQueryPort() { + return this.queryPort; + } + + @Generated + public boolean isQueryEnabled() { + return this.queryEnabled; + } + + @Generated + public boolean isProxyProtocol() { + return this.proxyProtocol; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ListenerInfo)) { + return false; + } else { + ListenerInfo other = (ListenerInfo)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getMaxPlayers() != other.getMaxPlayers()) { + return false; + } else if (this.getTabListSize() != other.getTabListSize()) { + return false; + } else if (this.isForceDefault() != other.isForceDefault()) { + return false; + } else if (this.isSetLocalAddress() != other.isSetLocalAddress()) { + return false; + } else if (this.isPingPassthrough() != other.isPingPassthrough()) { + return false; + } else if (this.getQueryPort() != other.getQueryPort()) { + return false; + } else if (this.isQueryEnabled() != other.isQueryEnabled()) { + return false; + } else if (this.isProxyProtocol() != other.isProxyProtocol()) { + return false; + } else { + Object this$socketAddress = this.getSocketAddress(); + Object other$socketAddress = other.getSocketAddress(); + if (this$socketAddress == null) { + if (other$socketAddress != null) { + return false; + } + } else if (!this$socketAddress.equals(other$socketAddress)) { + return false; + } + + Object this$motd = this.getMotd(); + Object other$motd = other.getMotd(); + if (this$motd == null) { + if (other$motd != null) { + return false; + } + } else if (!this$motd.equals(other$motd)) { + return false; + } + + Object this$serverPriority = this.getServerPriority(); + Object other$serverPriority = other.getServerPriority(); + if (this$serverPriority == null) { + if (other$serverPriority != null) { + return false; + } + } else if (!this$serverPriority.equals(other$serverPriority)) { + return false; + } + + Object this$forcedHosts = this.getForcedHosts(); + Object other$forcedHosts = other.getForcedHosts(); + if (this$forcedHosts == null) { + if (other$forcedHosts != null) { + return false; + } + } else if (!this$forcedHosts.equals(other$forcedHosts)) { + return false; + } + + Object this$tabListType = this.getTabListType(); + Object other$tabListType = other.getTabListType(); + if (this$tabListType == null) { + if (other$tabListType != null) { + return false; + } + } else if (!this$tabListType.equals(other$tabListType)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ListenerInfo; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getMaxPlayers(); + result = result * 59 + this.getTabListSize(); + result = result * 59 + (this.isForceDefault() ? 79 : 97); + result = result * 59 + (this.isSetLocalAddress() ? 79 : 97); + result = result * 59 + (this.isPingPassthrough() ? 79 : 97); + result = result * 59 + this.getQueryPort(); + result = result * 59 + (this.isQueryEnabled() ? 79 : 97); + result = result * 59 + (this.isProxyProtocol() ? 79 : 97); + Object $socketAddress = this.getSocketAddress(); + result = result * 59 + ($socketAddress == null ? 43 : $socketAddress.hashCode()); + Object $motd = this.getMotd(); + result = result * 59 + ($motd == null ? 43 : $motd.hashCode()); + Object $serverPriority = this.getServerPriority(); + result = result * 59 + ($serverPriority == null ? 43 : $serverPriority.hashCode()); + Object $forcedHosts = this.getForcedHosts(); + result = result * 59 + ($forcedHosts == null ? 43 : $forcedHosts.hashCode()); + Object $tabListType = this.getTabListType(); + result = result * 59 + ($tabListType == null ? 43 : $tabListType.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getSocketAddress()); + return "ListenerInfo(socketAddress=" + var10000 + ", motd=" + this.getMotd() + ", maxPlayers=" + this.getMaxPlayers() + ", tabListSize=" + this.getTabListSize() + ", serverPriority=" + String.valueOf(this.getServerPriority()) + ", forceDefault=" + this.isForceDefault() + ", forcedHosts=" + String.valueOf(this.getForcedHosts()) + ", tabListType=" + this.getTabListType() + ", setLocalAddress=" + this.isSetLocalAddress() + ", pingPassthrough=" + this.isPingPassthrough() + ", queryPort=" + this.getQueryPort() + ", queryEnabled=" + this.isQueryEnabled() + ", proxyProtocol=" + this.isProxyProtocol() + ")"; + } + + @Generated + public ListenerInfo(SocketAddress socketAddress, String motd, int maxPlayers, int tabListSize, List serverPriority, boolean forceDefault, Map forcedHosts, String tabListType, boolean setLocalAddress, boolean pingPassthrough, int queryPort, boolean queryEnabled, boolean proxyProtocol) { + this.socketAddress = socketAddress; + this.motd = motd; + this.maxPlayers = maxPlayers; + this.tabListSize = tabListSize; + this.serverPriority = serverPriority; + this.forceDefault = forceDefault; + this.forcedHosts = forcedHosts; + this.tabListType = tabListType; + this.setLocalAddress = setLocalAddress; + this.pingPassthrough = pingPassthrough; + this.queryPort = queryPort; + this.queryEnabled = queryEnabled; + this.proxyProtocol = proxyProtocol; + } +} diff --git a/src/main/java/net/md_5/bungee/api/config/ServerInfo.java b/src/main/java/net/md_5/bungee/api/config/ServerInfo.java new file mode 100644 index 0000000..6049f0e --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/config/ServerInfo.java @@ -0,0 +1,35 @@ +package net.md_5.bungee.api.config; + +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.util.Collection; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ServerPing; +import net.md_5.bungee.api.connection.ProxiedPlayer; + +public interface ServerInfo { + String getName(); + + /** @deprecated */ + @Deprecated + InetSocketAddress getAddress(); + + SocketAddress getSocketAddress(); + + Collection getPlayers(); + + String getMotd(); + + boolean isRestricted(); + + String getPermission(); + + boolean canAccess(CommandSender var1); + + void sendData(String var1, byte[] var2); + + boolean sendData(String var1, byte[] var2, boolean var3); + + void ping(Callback var1); +} diff --git a/src/main/java/net/md_5/bungee/api/connection/ConnectedPlayer.java b/src/main/java/net/md_5/bungee/api/connection/ConnectedPlayer.java new file mode 100644 index 0000000..bfc71be --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/connection/ConnectedPlayer.java @@ -0,0 +1,4 @@ +package net.md_5.bungee.api.connection; + +public interface ConnectedPlayer extends ProxiedPlayer { +} diff --git a/src/main/java/net/md_5/bungee/api/connection/Connection.java b/src/main/java/net/md_5/bungee/api/connection/Connection.java new file mode 100644 index 0000000..cf33e4d --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/connection/Connection.java @@ -0,0 +1,32 @@ +package net.md_5.bungee.api.connection; + +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.DefinedPacket; + +public interface Connection { + /** @deprecated */ + @Deprecated + InetSocketAddress getAddress(); + + SocketAddress getSocketAddress(); + + /** @deprecated */ + @Deprecated + void disconnect(String var1); + + void disconnect(BaseComponent... var1); + + void disconnect(BaseComponent var1); + + boolean isConnected(); + + Unsafe unsafe(); + + public interface Unsafe { + void sendPacket(DefinedPacket var1); + + void sendPacketQueued(DefinedPacket var1); + } +} diff --git a/src/main/java/net/md_5/bungee/api/connection/PendingConnection.java b/src/main/java/net/md_5/bungee/api/connection/PendingConnection.java new file mode 100644 index 0000000..e767027 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/connection/PendingConnection.java @@ -0,0 +1,36 @@ +package net.md_5.bungee.api.connection; + +import java.net.InetSocketAddress; +import java.util.UUID; +import java.util.concurrent.CompletableFuture; +import net.md_5.bungee.api.config.ListenerInfo; + +public interface PendingConnection extends Connection { + String getName(); + + int getVersion(); + + InetSocketAddress getVirtualHost(); + + ListenerInfo getListener(); + + /** @deprecated */ + @Deprecated + String getUUID(); + + UUID getUniqueId(); + + void setUniqueId(UUID var1); + + boolean isOnlineMode(); + + void setOnlineMode(boolean var1); + + boolean isLegacy(); + + boolean isTransferred(); + + CompletableFuture retrieveCookie(String var1); + + CompletableFuture sendData(String var1, byte[] var2); +} diff --git a/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java b/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java new file mode 100644 index 0000000..5db113c --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java @@ -0,0 +1,128 @@ +package net.md_5.bungee.api.connection; + +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.UUID; +import java.util.concurrent.CompletableFuture; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.ChatMessageType; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ServerConnectRequest; +import net.md_5.bungee.api.ServerLink; +import net.md_5.bungee.api.SkinConfiguration; +import net.md_5.bungee.api.Title; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.dialog.Dialog; +import net.md_5.bungee.api.event.ServerConnectEvent; +import net.md_5.bungee.api.score.Scoreboard; +import org.jetbrains.annotations.ApiStatus.Experimental; + +public interface ProxiedPlayer extends Connection, CommandSender { + String getDisplayName(); + + void setDisplayName(String var1); + + void sendMessage(ChatMessageType var1, BaseComponent... var2); + + void sendMessage(ChatMessageType var1, BaseComponent var2); + + void sendMessage(UUID var1, BaseComponent... var2); + + void sendMessage(UUID var1, BaseComponent var2); + + void connect(ServerInfo var1); + + void connect(ServerInfo var1, ServerConnectEvent.Reason var2); + + void connect(ServerInfo var1, Callback var2); + + void connect(ServerInfo var1, Callback var2, boolean var3); + + void connect(ServerInfo var1, Callback var2, boolean var3, int var4); + + void connect(ServerInfo var1, Callback var2, ServerConnectEvent.Reason var3); + + void connect(ServerInfo var1, Callback var2, boolean var3, ServerConnectEvent.Reason var4, int var5); + + void connect(ServerConnectRequest var1); + + Server getServer(); + + int getPing(); + + void sendData(String var1, byte[] var2); + + PendingConnection getPendingConnection(); + + void chat(String var1); + + ServerInfo getReconnectServer(); + + void setReconnectServer(ServerInfo var1); + + /** @deprecated */ + @Deprecated + String getUUID(); + + UUID getUniqueId(); + + Locale getLocale(); + + byte getViewDistance(); + + ChatMode getChatMode(); + + boolean hasChatColors(); + + SkinConfiguration getSkinParts(); + + MainHand getMainHand(); + + void setTabHeader(BaseComponent var1, BaseComponent var2); + + void setTabHeader(BaseComponent[] var1, BaseComponent[] var2); + + void resetTabHeader(); + + void sendTitle(Title var1); + + boolean isForgeUser(); + + Map getModList(); + + /** @deprecated */ + @Deprecated + Scoreboard getScoreboard(); + + @Experimental + CompletableFuture retrieveCookie(String var1); + + @Experimental + void storeCookie(String var1, byte[] var2); + + @Experimental + void transfer(String var1, int var2); + + String getClientBrand(); + + @Experimental + void clearDialog(); + + @Experimental + void showDialog(Dialog var1); + + void sendServerLinks(List var1); + + public static enum ChatMode { + SHOWN, + COMMANDS_ONLY, + HIDDEN; + } + + public static enum MainHand { + LEFT, + RIGHT; + } +} diff --git a/src/main/java/net/md_5/bungee/api/connection/Server.java b/src/main/java/net/md_5/bungee/api/connection/Server.java new file mode 100644 index 0000000..61b81c7 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/connection/Server.java @@ -0,0 +1,9 @@ +package net.md_5.bungee.api.connection; + +import net.md_5.bungee.api.config.ServerInfo; + +public interface Server extends Connection { + ServerInfo getInfo(); + + void sendData(String var1, byte[] var2); +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/ConfirmationDialog.java b/src/main/java/net/md_5/bungee/api/dialog/ConfirmationDialog.java new file mode 100644 index 0000000..b553d8c --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/ConfirmationDialog.java @@ -0,0 +1,126 @@ +package net.md_5.bungee.api.dialog; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.dialog.action.ActionButton; + +public final class ConfirmationDialog implements Dialog { + private @NonNull DialogBase base; + private ActionButton yes; + private ActionButton no; + + public ConfirmationDialog(@NonNull DialogBase base) { + this(base, (ActionButton)null, (ActionButton)null); + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } + } + + @Generated + public @NonNull DialogBase getBase() { + return this.base; + } + + @Generated + public ActionButton yes() { + return this.yes; + } + + @Generated + public ActionButton no() { + return this.no; + } + + @Generated + public void setBase(@NonNull DialogBase base) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else { + this.base = base; + } + } + + @Generated + public ConfirmationDialog yes(ActionButton yes) { + this.yes = yes; + return this; + } + + @Generated + public ConfirmationDialog no(ActionButton no) { + this.no = no; + return this; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getBase()); + return "ConfirmationDialog(base=" + var10000 + ", yes=" + String.valueOf(this.yes()) + ", no=" + String.valueOf(this.no()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ConfirmationDialog)) { + return false; + } else { + ConfirmationDialog other = (ConfirmationDialog)o; + Object this$base = this.getBase(); + Object other$base = other.getBase(); + if (this$base == null) { + if (other$base != null) { + return false; + } + } else if (!this$base.equals(other$base)) { + return false; + } + + Object this$yes = this.yes(); + Object other$yes = other.yes(); + if (this$yes == null) { + if (other$yes != null) { + return false; + } + } else if (!this$yes.equals(other$yes)) { + return false; + } + + Object this$no = this.no(); + Object other$no = other.no(); + if (this$no == null) { + if (other$no != null) { + return false; + } + } else if (!this$no.equals(other$no)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $base = this.getBase(); + result = result * 59 + ($base == null ? 43 : $base.hashCode()); + Object $yes = this.yes(); + result = result * 59 + ($yes == null ? 43 : $yes.hashCode()); + Object $no = this.no(); + result = result * 59 + ($no == null ? 43 : $no.hashCode()); + return result; + } + + @Generated + public ConfirmationDialog(@NonNull DialogBase base, ActionButton yes, ActionButton no) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else { + this.base = base; + this.yes = yes; + this.no = no; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/Dialog.java b/src/main/java/net/md_5/bungee/api/dialog/Dialog.java new file mode 100644 index 0000000..ac33425 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/Dialog.java @@ -0,0 +1,10 @@ +package net.md_5.bungee.api.dialog; + +import org.jetbrains.annotations.ApiStatus.Internal; + +public interface Dialog { + DialogBase getBase(); + + @Internal + void setBase(DialogBase var1); +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/DialogBase.java b/src/main/java/net/md_5/bungee/api/dialog/DialogBase.java new file mode 100644 index 0000000..076ca5a --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/DialogBase.java @@ -0,0 +1,243 @@ +package net.md_5.bungee.api.dialog; + +import com.google.gson.annotations.SerializedName; +import java.util.List; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.dialog.body.DialogBody; +import net.md_5.bungee.api.dialog.input.DialogInput; + +public final class DialogBase { + private @NonNull BaseComponent title; + @SerializedName("external_title") + private BaseComponent externalTitle; + private List inputs; + private List body; + @SerializedName("can_close_with_escape") + private Boolean canCloseWithEscape; + private Boolean pause; + @SerializedName("after_action") + private AfterAction afterAction; + + public DialogBase(@NonNull BaseComponent title) { + this(title, (BaseComponent)null, (List)null, (List)null, (Boolean)null, (Boolean)null, (AfterAction)null); + if (title == null) { + throw new NullPointerException("title is marked non-null but is null"); + } + } + + @Generated + public @NonNull BaseComponent title() { + return this.title; + } + + @Generated + public BaseComponent externalTitle() { + return this.externalTitle; + } + + @Generated + public List inputs() { + return this.inputs; + } + + @Generated + public List body() { + return this.body; + } + + @Generated + public Boolean canCloseWithEscape() { + return this.canCloseWithEscape; + } + + @Generated + public Boolean pause() { + return this.pause; + } + + @Generated + public AfterAction afterAction() { + return this.afterAction; + } + + @Generated + public DialogBase title(@NonNull BaseComponent title) { + if (title == null) { + throw new NullPointerException("title is marked non-null but is null"); + } else { + this.title = title; + return this; + } + } + + @Generated + public DialogBase externalTitle(BaseComponent externalTitle) { + this.externalTitle = externalTitle; + return this; + } + + @Generated + public DialogBase inputs(List inputs) { + this.inputs = inputs; + return this; + } + + @Generated + public DialogBase body(List body) { + this.body = body; + return this; + } + + @Generated + public DialogBase canCloseWithEscape(Boolean canCloseWithEscape) { + this.canCloseWithEscape = canCloseWithEscape; + return this; + } + + @Generated + public DialogBase pause(Boolean pause) { + this.pause = pause; + return this; + } + + @Generated + public DialogBase afterAction(AfterAction afterAction) { + this.afterAction = afterAction; + return this; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DialogBase)) { + return false; + } else { + DialogBase other = (DialogBase)o; + Object this$canCloseWithEscape = this.canCloseWithEscape(); + Object other$canCloseWithEscape = other.canCloseWithEscape(); + if (this$canCloseWithEscape == null) { + if (other$canCloseWithEscape != null) { + return false; + } + } else if (!this$canCloseWithEscape.equals(other$canCloseWithEscape)) { + return false; + } + + Object this$pause = this.pause(); + Object other$pause = other.pause(); + if (this$pause == null) { + if (other$pause != null) { + return false; + } + } else if (!this$pause.equals(other$pause)) { + return false; + } + + Object this$title = this.title(); + Object other$title = other.title(); + if (this$title == null) { + if (other$title != null) { + return false; + } + } else if (!this$title.equals(other$title)) { + return false; + } + + Object this$externalTitle = this.externalTitle(); + Object other$externalTitle = other.externalTitle(); + if (this$externalTitle == null) { + if (other$externalTitle != null) { + return false; + } + } else if (!this$externalTitle.equals(other$externalTitle)) { + return false; + } + + Object this$inputs = this.inputs(); + Object other$inputs = other.inputs(); + if (this$inputs == null) { + if (other$inputs != null) { + return false; + } + } else if (!this$inputs.equals(other$inputs)) { + return false; + } + + Object this$body = this.body(); + Object other$body = other.body(); + if (this$body == null) { + if (other$body != null) { + return false; + } + } else if (!this$body.equals(other$body)) { + return false; + } + + Object this$afterAction = this.afterAction(); + Object other$afterAction = other.afterAction(); + if (this$afterAction == null) { + if (other$afterAction != null) { + return false; + } + } else if (!this$afterAction.equals(other$afterAction)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $canCloseWithEscape = this.canCloseWithEscape(); + result = result * 59 + ($canCloseWithEscape == null ? 43 : $canCloseWithEscape.hashCode()); + Object $pause = this.pause(); + result = result * 59 + ($pause == null ? 43 : $pause.hashCode()); + Object $title = this.title(); + result = result * 59 + ($title == null ? 43 : $title.hashCode()); + Object $externalTitle = this.externalTitle(); + result = result * 59 + ($externalTitle == null ? 43 : $externalTitle.hashCode()); + Object $inputs = this.inputs(); + result = result * 59 + ($inputs == null ? 43 : $inputs.hashCode()); + Object $body = this.body(); + result = result * 59 + ($body == null ? 43 : $body.hashCode()); + Object $afterAction = this.afterAction(); + result = result * 59 + ($afterAction == null ? 43 : $afterAction.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.title()); + return "DialogBase(title=" + var10000 + ", externalTitle=" + String.valueOf(this.externalTitle()) + ", inputs=" + String.valueOf(this.inputs()) + ", body=" + String.valueOf(this.body()) + ", canCloseWithEscape=" + this.canCloseWithEscape() + ", pause=" + this.pause() + ", afterAction=" + String.valueOf(this.afterAction()) + ")"; + } + + @Generated + public DialogBase(@NonNull BaseComponent title, BaseComponent externalTitle, List inputs, List body, Boolean canCloseWithEscape, Boolean pause, AfterAction afterAction) { + if (title == null) { + throw new NullPointerException("title is marked non-null but is null"); + } else { + this.title = title; + this.externalTitle = externalTitle; + this.inputs = inputs; + this.body = body; + this.canCloseWithEscape = canCloseWithEscape; + this.pause = pause; + this.afterAction = afterAction; + } + } + + public static enum AfterAction { + @SerializedName("close") + CLOSE, + @SerializedName("none") + NONE, + @SerializedName("wait_for_response") + WAIT_FOR_RESPONSE; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/DialogListDialog.java b/src/main/java/net/md_5/bungee/api/dialog/DialogListDialog.java new file mode 100644 index 0000000..8e7afb7 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/DialogListDialog.java @@ -0,0 +1,181 @@ +package net.md_5.bungee.api.dialog; + +import com.google.common.base.Preconditions; +import com.google.gson.annotations.SerializedName; +import java.util.Arrays; +import java.util.List; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.dialog.action.ActionButton; + +public final class DialogListDialog implements Dialog { + private @NonNull DialogBase base; + private List dialogs; + @SerializedName("exit_action") + private ActionButton exitAction; + private Integer columns; + @SerializedName("button_width") + private Integer buttonWidth; + + public DialogListDialog(@NonNull DialogBase base, Dialog... dialogs) { + this(base, Arrays.asList(dialogs), (ActionButton)null, (Integer)null, (Integer)null); + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } + } + + public DialogListDialog(@NonNull DialogBase base, List dialogs, ActionButton exitAction, Integer columns, Integer buttonWidth) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else { + this.base = base; + this.dialogs = dialogs; + this.exitAction = exitAction; + this.columns(columns); + this.buttonWidth(buttonWidth); + } + } + + public DialogListDialog columns(Integer columns) { + Preconditions.checkArgument(columns == null || columns > 0, "At least one column is required"); + this.columns = columns; + return this; + } + + public DialogListDialog buttonWidth(Integer buttonWidth) { + Preconditions.checkArgument(buttonWidth == null || buttonWidth >= 1 && buttonWidth <= 1024, "buttonWidth must be between 1 and 1024"); + this.buttonWidth = buttonWidth; + return this; + } + + @Generated + public @NonNull DialogBase getBase() { + return this.base; + } + + @Generated + public List dialogs() { + return this.dialogs; + } + + @Generated + public ActionButton exitAction() { + return this.exitAction; + } + + @Generated + public Integer columns() { + return this.columns; + } + + @Generated + public Integer buttonWidth() { + return this.buttonWidth; + } + + @Generated + public void setBase(@NonNull DialogBase base) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else { + this.base = base; + } + } + + @Generated + public DialogListDialog dialogs(List dialogs) { + this.dialogs = dialogs; + return this; + } + + @Generated + public DialogListDialog exitAction(ActionButton exitAction) { + this.exitAction = exitAction; + return this; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getBase()); + return "DialogListDialog(base=" + var10000 + ", dialogs=" + String.valueOf(this.dialogs()) + ", exitAction=" + String.valueOf(this.exitAction()) + ", columns=" + this.columns() + ", buttonWidth=" + this.buttonWidth() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DialogListDialog)) { + return false; + } else { + DialogListDialog other = (DialogListDialog)o; + Object this$columns = this.columns(); + Object other$columns = other.columns(); + if (this$columns == null) { + if (other$columns != null) { + return false; + } + } else if (!this$columns.equals(other$columns)) { + return false; + } + + Object this$buttonWidth = this.buttonWidth(); + Object other$buttonWidth = other.buttonWidth(); + if (this$buttonWidth == null) { + if (other$buttonWidth != null) { + return false; + } + } else if (!this$buttonWidth.equals(other$buttonWidth)) { + return false; + } + + Object this$base = this.getBase(); + Object other$base = other.getBase(); + if (this$base == null) { + if (other$base != null) { + return false; + } + } else if (!this$base.equals(other$base)) { + return false; + } + + Object this$dialogs = this.dialogs(); + Object other$dialogs = other.dialogs(); + if (this$dialogs == null) { + if (other$dialogs != null) { + return false; + } + } else if (!this$dialogs.equals(other$dialogs)) { + return false; + } + + Object this$exitAction = this.exitAction(); + Object other$exitAction = other.exitAction(); + if (this$exitAction == null) { + if (other$exitAction != null) { + return false; + } + } else if (!this$exitAction.equals(other$exitAction)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $columns = this.columns(); + result = result * 59 + ($columns == null ? 43 : $columns.hashCode()); + Object $buttonWidth = this.buttonWidth(); + result = result * 59 + ($buttonWidth == null ? 43 : $buttonWidth.hashCode()); + Object $base = this.getBase(); + result = result * 59 + ($base == null ? 43 : $base.hashCode()); + Object $dialogs = this.dialogs(); + result = result * 59 + ($dialogs == null ? 43 : $dialogs.hashCode()); + Object $exitAction = this.exitAction(); + result = result * 59 + ($exitAction == null ? 43 : $exitAction.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/MultiActionDialog.java b/src/main/java/net/md_5/bungee/api/dialog/MultiActionDialog.java new file mode 100644 index 0000000..f031071 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/MultiActionDialog.java @@ -0,0 +1,164 @@ +package net.md_5.bungee.api.dialog; + +import com.google.common.base.Preconditions; +import com.google.gson.annotations.SerializedName; +import java.util.Arrays; +import java.util.List; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.dialog.action.ActionButton; + +public final class MultiActionDialog implements Dialog { + private @NonNull DialogBase base; + private @NonNull List actions; + private Integer columns; + @SerializedName("exit_action") + private ActionButton exitAction; + + public MultiActionDialog(@NonNull DialogBase base, ActionButton... actions) { + this(base, Arrays.asList(actions), (Integer)null, (ActionButton)null); + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else if (actions == null) { + throw new NullPointerException("actions is marked non-null but is null"); + } + } + + public MultiActionDialog(@NonNull DialogBase base, @NonNull List actions, Integer columns, ActionButton exitAction) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else if (actions == null) { + throw new NullPointerException("actions is marked non-null but is null"); + } else { + Preconditions.checkArgument(!actions.isEmpty(), "At least one action must be provided"); + this.base = base; + this.actions = actions; + this.columns(columns); + this.exitAction = exitAction; + } + } + + public MultiActionDialog columns(Integer columns) { + Preconditions.checkArgument(columns == null || columns > 0, "At least one column is required"); + this.columns = columns; + return this; + } + + @Generated + public @NonNull DialogBase getBase() { + return this.base; + } + + @Generated + public @NonNull List actions() { + return this.actions; + } + + @Generated + public Integer columns() { + return this.columns; + } + + @Generated + public ActionButton exitAction() { + return this.exitAction; + } + + @Generated + public void setBase(@NonNull DialogBase base) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else { + this.base = base; + } + } + + @Generated + public MultiActionDialog actions(@NonNull List actions) { + if (actions == null) { + throw new NullPointerException("actions is marked non-null but is null"); + } else { + this.actions = actions; + return this; + } + } + + @Generated + public MultiActionDialog exitAction(ActionButton exitAction) { + this.exitAction = exitAction; + return this; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getBase()); + return "MultiActionDialog(base=" + var10000 + ", actions=" + String.valueOf(this.actions()) + ", columns=" + this.columns() + ", exitAction=" + String.valueOf(this.exitAction()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof MultiActionDialog)) { + return false; + } else { + MultiActionDialog other = (MultiActionDialog)o; + Object this$columns = this.columns(); + Object other$columns = other.columns(); + if (this$columns == null) { + if (other$columns != null) { + return false; + } + } else if (!this$columns.equals(other$columns)) { + return false; + } + + Object this$base = this.getBase(); + Object other$base = other.getBase(); + if (this$base == null) { + if (other$base != null) { + return false; + } + } else if (!this$base.equals(other$base)) { + return false; + } + + Object this$actions = this.actions(); + Object other$actions = other.actions(); + if (this$actions == null) { + if (other$actions != null) { + return false; + } + } else if (!this$actions.equals(other$actions)) { + return false; + } + + Object this$exitAction = this.exitAction(); + Object other$exitAction = other.exitAction(); + if (this$exitAction == null) { + if (other$exitAction != null) { + return false; + } + } else if (!this$exitAction.equals(other$exitAction)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $columns = this.columns(); + result = result * 59 + ($columns == null ? 43 : $columns.hashCode()); + Object $base = this.getBase(); + result = result * 59 + ($base == null ? 43 : $base.hashCode()); + Object $actions = this.actions(); + result = result * 59 + ($actions == null ? 43 : $actions.hashCode()); + Object $exitAction = this.exitAction(); + result = result * 59 + ($exitAction == null ? 43 : $exitAction.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/NoticeDialog.java b/src/main/java/net/md_5/bungee/api/dialog/NoticeDialog.java new file mode 100644 index 0000000..8be6869 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/NoticeDialog.java @@ -0,0 +1,98 @@ +package net.md_5.bungee.api.dialog; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.dialog.action.ActionButton; + +public final class NoticeDialog implements Dialog { + private @NonNull DialogBase base; + private ActionButton action; + + public NoticeDialog(DialogBase base) { + this(base, (ActionButton)null); + } + + @Generated + public @NonNull DialogBase getBase() { + return this.base; + } + + @Generated + public ActionButton action() { + return this.action; + } + + @Generated + public void setBase(@NonNull DialogBase base) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else { + this.base = base; + } + } + + @Generated + public NoticeDialog action(ActionButton action) { + this.action = action; + return this; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getBase()); + return "NoticeDialog(base=" + var10000 + ", action=" + String.valueOf(this.action()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof NoticeDialog)) { + return false; + } else { + NoticeDialog other = (NoticeDialog)o; + Object this$base = this.getBase(); + Object other$base = other.getBase(); + if (this$base == null) { + if (other$base != null) { + return false; + } + } else if (!this$base.equals(other$base)) { + return false; + } + + Object this$action = this.action(); + Object other$action = other.action(); + if (this$action == null) { + if (other$action != null) { + return false; + } + } else if (!this$action.equals(other$action)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $base = this.getBase(); + result = result * 59 + ($base == null ? 43 : $base.hashCode()); + Object $action = this.action(); + result = result * 59 + ($action == null ? 43 : $action.hashCode()); + return result; + } + + @Generated + public NoticeDialog(@NonNull DialogBase base, ActionButton action) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else { + this.base = base; + this.action = action; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/ServerLinksDialog.java b/src/main/java/net/md_5/bungee/api/dialog/ServerLinksDialog.java new file mode 100644 index 0000000..f0f1807 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/ServerLinksDialog.java @@ -0,0 +1,179 @@ +package net.md_5.bungee.api.dialog; + +import com.google.common.base.Preconditions; +import com.google.gson.annotations.SerializedName; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.dialog.action.ActionButton; + +public final class ServerLinksDialog implements Dialog { + private @NonNull DialogBase base; + @SerializedName("action") + private ActionButton action; + @SerializedName("exit_action") + private ActionButton exitAction; + private Integer columns; + @SerializedName("button_width") + private Integer buttonWidth; + + public ServerLinksDialog(@NonNull DialogBase base) { + this(base, (ActionButton)null, (Integer)null, (Integer)null); + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } + } + + public ServerLinksDialog(@NonNull DialogBase base, ActionButton action, Integer columns, Integer buttonWidth) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else { + this.base = base; + this.action = action; + this.columns(columns); + this.buttonWidth(buttonWidth); + } + } + + public ServerLinksDialog columns(Integer columns) { + Preconditions.checkArgument(columns == null || columns > 0, "At least one column is required"); + this.columns = columns; + return this; + } + + public ServerLinksDialog buttonWidth(Integer buttonWidth) { + Preconditions.checkArgument(buttonWidth == null || buttonWidth >= 1 && buttonWidth <= 1024, "buttonWidth must be between 1 and 1024"); + this.buttonWidth = buttonWidth; + return this; + } + + @Generated + public @NonNull DialogBase getBase() { + return this.base; + } + + @Generated + public ActionButton action() { + return this.action; + } + + @Generated + public ActionButton exitAction() { + return this.exitAction; + } + + @Generated + public Integer columns() { + return this.columns; + } + + @Generated + public Integer buttonWidth() { + return this.buttonWidth; + } + + @Generated + public void setBase(@NonNull DialogBase base) { + if (base == null) { + throw new NullPointerException("base is marked non-null but is null"); + } else { + this.base = base; + } + } + + @Generated + public ServerLinksDialog action(ActionButton action) { + this.action = action; + return this; + } + + @Generated + public ServerLinksDialog exitAction(ActionButton exitAction) { + this.exitAction = exitAction; + return this; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getBase()); + return "ServerLinksDialog(base=" + var10000 + ", action=" + String.valueOf(this.action()) + ", exitAction=" + String.valueOf(this.exitAction()) + ", columns=" + this.columns() + ", buttonWidth=" + this.buttonWidth() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerLinksDialog)) { + return false; + } else { + ServerLinksDialog other = (ServerLinksDialog)o; + Object this$columns = this.columns(); + Object other$columns = other.columns(); + if (this$columns == null) { + if (other$columns != null) { + return false; + } + } else if (!this$columns.equals(other$columns)) { + return false; + } + + Object this$buttonWidth = this.buttonWidth(); + Object other$buttonWidth = other.buttonWidth(); + if (this$buttonWidth == null) { + if (other$buttonWidth != null) { + return false; + } + } else if (!this$buttonWidth.equals(other$buttonWidth)) { + return false; + } + + Object this$base = this.getBase(); + Object other$base = other.getBase(); + if (this$base == null) { + if (other$base != null) { + return false; + } + } else if (!this$base.equals(other$base)) { + return false; + } + + Object this$action = this.action(); + Object other$action = other.action(); + if (this$action == null) { + if (other$action != null) { + return false; + } + } else if (!this$action.equals(other$action)) { + return false; + } + + Object this$exitAction = this.exitAction(); + Object other$exitAction = other.exitAction(); + if (this$exitAction == null) { + if (other$exitAction != null) { + return false; + } + } else if (!this$exitAction.equals(other$exitAction)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $columns = this.columns(); + result = result * 59 + ($columns == null ? 43 : $columns.hashCode()); + Object $buttonWidth = this.buttonWidth(); + result = result * 59 + ($buttonWidth == null ? 43 : $buttonWidth.hashCode()); + Object $base = this.getBase(); + result = result * 59 + ($base == null ? 43 : $base.hashCode()); + Object $action = this.action(); + result = result * 59 + ($action == null ? 43 : $action.hashCode()); + Object $exitAction = this.exitAction(); + result = result * 59 + ($exitAction == null ? 43 : $exitAction.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/action/Action.java b/src/main/java/net/md_5/bungee/api/dialog/action/Action.java new file mode 100644 index 0000000..cc0dfb8 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/action/Action.java @@ -0,0 +1,4 @@ +package net.md_5.bungee.api.dialog.action; + +public interface Action { +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/action/ActionButton.java b/src/main/java/net/md_5/bungee/api/dialog/action/ActionButton.java new file mode 100644 index 0000000..8839539 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/action/ActionButton.java @@ -0,0 +1,174 @@ +package net.md_5.bungee.api.dialog.action; + +import com.google.common.base.Preconditions; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; + +public class ActionButton { + private @NonNull BaseComponent label; + private BaseComponent tooltip; + private Integer width; + private @NonNull Action action; + + public ActionButton(@NonNull BaseComponent label, BaseComponent tooltip, Integer width, @NonNull Action action) { + if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else if (action == null) { + throw new NullPointerException("action is marked non-null but is null"); + } else { + this.label = label; + this.tooltip = tooltip; + this.setWidth(width); + this.action = action; + } + } + + public ActionButton(@NonNull BaseComponent label, @NonNull Action action) { + this(label, (BaseComponent)null, (Integer)null, action); + if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else if (action == null) { + throw new NullPointerException("action is marked non-null but is null"); + } + } + + public void setWidth(Integer width) { + Preconditions.checkArgument(width == null || width >= 1 && width <= 1024, "width must be between 1 and 1024"); + this.width = width; + } + + @Generated + public @NonNull BaseComponent label() { + return this.label; + } + + @Generated + public BaseComponent tooltip() { + return this.tooltip; + } + + @Generated + public Integer width() { + return this.width; + } + + @Generated + public @NonNull Action action() { + return this.action; + } + + @Generated + public ActionButton label(@NonNull BaseComponent label) { + if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else { + this.label = label; + return this; + } + } + + @Generated + public ActionButton tooltip(BaseComponent tooltip) { + this.tooltip = tooltip; + return this; + } + + @Generated + public ActionButton width(Integer width) { + this.width = width; + return this; + } + + @Generated + public ActionButton action(@NonNull Action action) { + if (action == null) { + throw new NullPointerException("action is marked non-null but is null"); + } else { + this.action = action; + return this; + } + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ActionButton)) { + return false; + } else { + ActionButton other = (ActionButton)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$width = this.width(); + Object other$width = other.width(); + if (this$width == null) { + if (other$width != null) { + return false; + } + } else if (!this$width.equals(other$width)) { + return false; + } + + Object this$label = this.label(); + Object other$label = other.label(); + if (this$label == null) { + if (other$label != null) { + return false; + } + } else if (!this$label.equals(other$label)) { + return false; + } + + Object this$tooltip = this.tooltip(); + Object other$tooltip = other.tooltip(); + if (this$tooltip == null) { + if (other$tooltip != null) { + return false; + } + } else if (!this$tooltip.equals(other$tooltip)) { + return false; + } + + Object this$action = this.action(); + Object other$action = other.action(); + if (this$action == null) { + if (other$action != null) { + return false; + } + } else if (!this$action.equals(other$action)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ActionButton; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $width = this.width(); + result = result * 59 + ($width == null ? 43 : $width.hashCode()); + Object $label = this.label(); + result = result * 59 + ($label == null ? 43 : $label.hashCode()); + Object $tooltip = this.tooltip(); + result = result * 59 + ($tooltip == null ? 43 : $tooltip.hashCode()); + Object $action = this.action(); + result = result * 59 + ($action == null ? 43 : $action.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.label()); + return "ActionButton(label=" + var10000 + ", tooltip=" + String.valueOf(this.tooltip()) + ", width=" + this.width() + ", action=" + String.valueOf(this.action()) + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/action/CustomClickAction.java b/src/main/java/net/md_5/bungee/api/dialog/action/CustomClickAction.java new file mode 100644 index 0000000..cdd7f92 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/action/CustomClickAction.java @@ -0,0 +1,103 @@ +package net.md_5.bungee.api.dialog.action; + +import com.google.gson.JsonElement; +import lombok.Generated; +import lombok.NonNull; + +public class CustomClickAction implements Action { + private @NonNull String id; + private JsonElement additions; + + @Generated + public CustomClickAction(@NonNull String id) { + if (id == null) { + throw new NullPointerException("id is marked non-null but is null"); + } else { + this.id = id; + } + } + + @Generated + public @NonNull String id() { + return this.id; + } + + @Generated + public JsonElement additions() { + return this.additions; + } + + @Generated + public CustomClickAction id(@NonNull String id) { + if (id == null) { + throw new NullPointerException("id is marked non-null but is null"); + } else { + this.id = id; + return this; + } + } + + @Generated + public CustomClickAction additions(JsonElement additions) { + this.additions = additions; + return this; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof CustomClickAction)) { + return false; + } else { + CustomClickAction other = (CustomClickAction)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$id = this.id(); + Object other$id = other.id(); + if (this$id == null) { + if (other$id != null) { + return false; + } + } else if (!this$id.equals(other$id)) { + return false; + } + + Object this$additions = this.additions(); + Object other$additions = other.additions(); + if (this$additions == null) { + if (other$additions != null) { + return false; + } + } else if (!this$additions.equals(other$additions)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof CustomClickAction; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $id = this.id(); + result = result * 59 + ($id == null ? 43 : $id.hashCode()); + Object $additions = this.additions(); + result = result * 59 + ($additions == null ? 43 : $additions.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "CustomClickAction(super=" + var10000 + ", id=" + this.id() + ", additions=" + String.valueOf(this.additions()) + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/action/RunCommandAction.java b/src/main/java/net/md_5/bungee/api/dialog/action/RunCommandAction.java new file mode 100644 index 0000000..7d3784a --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/action/RunCommandAction.java @@ -0,0 +1,78 @@ +package net.md_5.bungee.api.dialog.action; + +import lombok.Generated; +import lombok.NonNull; + +public class RunCommandAction implements Action { + private @NonNull String template; + + @Generated + public RunCommandAction(@NonNull String template) { + if (template == null) { + throw new NullPointerException("template is marked non-null but is null"); + } else { + this.template = template; + } + } + + @Generated + public @NonNull String template() { + return this.template; + } + + @Generated + public RunCommandAction template(@NonNull String template) { + if (template == null) { + throw new NullPointerException("template is marked non-null but is null"); + } else { + this.template = template; + return this; + } + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof RunCommandAction)) { + return false; + } else { + RunCommandAction other = (RunCommandAction)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$template = this.template(); + Object other$template = other.template(); + if (this$template == null) { + if (other$template != null) { + return false; + } + } else if (!this$template.equals(other$template)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof RunCommandAction; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $template = this.template(); + result = result * 59 + ($template == null ? 43 : $template.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "RunCommandAction(super=" + var10000 + ", template=" + this.template() + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/action/StaticAction.java b/src/main/java/net/md_5/bungee/api/dialog/action/StaticAction.java new file mode 100644 index 0000000..b99ff19 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/action/StaticAction.java @@ -0,0 +1,79 @@ +package net.md_5.bungee.api.dialog.action; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.ClickEvent; + +public class StaticAction implements Action { + private @NonNull ClickEvent clickEvent; + + @Generated + public StaticAction(@NonNull ClickEvent clickEvent) { + if (clickEvent == null) { + throw new NullPointerException("clickEvent is marked non-null but is null"); + } else { + this.clickEvent = clickEvent; + } + } + + @Generated + public @NonNull ClickEvent clickEvent() { + return this.clickEvent; + } + + @Generated + public StaticAction clickEvent(@NonNull ClickEvent clickEvent) { + if (clickEvent == null) { + throw new NullPointerException("clickEvent is marked non-null but is null"); + } else { + this.clickEvent = clickEvent; + return this; + } + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof StaticAction)) { + return false; + } else { + StaticAction other = (StaticAction)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$clickEvent = this.clickEvent(); + Object other$clickEvent = other.clickEvent(); + if (this$clickEvent == null) { + if (other$clickEvent != null) { + return false; + } + } else if (!this$clickEvent.equals(other$clickEvent)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof StaticAction; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $clickEvent = this.clickEvent(); + result = result * 59 + ($clickEvent == null ? 43 : $clickEvent.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "StaticAction(super=" + var10000 + ", clickEvent=" + String.valueOf(this.clickEvent()) + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/action/package-info.java b/src/main/java/net/md_5/bungee/api/dialog/action/package-info.java new file mode 100644 index 0000000..a0e2e56 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/action/package-info.java @@ -0,0 +1,2 @@ +package net.md_5.bungee.api.dialog.action; + diff --git a/src/main/java/net/md_5/bungee/api/dialog/body/DialogBody.java b/src/main/java/net/md_5/bungee/api/dialog/body/DialogBody.java new file mode 100644 index 0000000..6060a75 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/body/DialogBody.java @@ -0,0 +1,69 @@ +package net.md_5.bungee.api.dialog.body; + +import lombok.Generated; +import lombok.NonNull; +import org.jetbrains.annotations.ApiStatus.Internal; + +public abstract class DialogBody { + @Internal + private final @NonNull String type; + + @Generated + public DialogBody(@NonNull String type) { + if (type == null) { + throw new NullPointerException("type is marked non-null but is null"); + } else { + this.type = type; + } + } + + @Generated + public @NonNull String getType() { + return this.type; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DialogBody)) { + return false; + } else { + DialogBody other = (DialogBody)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$type = this.getType(); + Object other$type = other.getType(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof DialogBody; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $type = this.getType(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + return result; + } + + @Generated + public String toString() { + return "DialogBody(type=" + this.getType() + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/body/PlainMessageBody.java b/src/main/java/net/md_5/bungee/api/dialog/body/PlainMessageBody.java new file mode 100644 index 0000000..56b5b74 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/body/PlainMessageBody.java @@ -0,0 +1,113 @@ +package net.md_5.bungee.api.dialog.body; + +import com.google.common.base.Preconditions; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; + +public class PlainMessageBody extends DialogBody { + private @NonNull BaseComponent contents; + private Integer width; + + public PlainMessageBody(@NonNull BaseComponent contents) { + this(contents, (Integer)null); + if (contents == null) { + throw new NullPointerException("contents is marked non-null but is null"); + } + } + + public PlainMessageBody(@NonNull BaseComponent contents, Integer width) { + super("minecraft:plain_message"); + if (contents == null) { + throw new NullPointerException("contents is marked non-null but is null"); + } else { + this.contents = contents; + this.width(width); + } + } + + public void width(Integer width) { + Preconditions.checkArgument(width == null || width >= 1 && width <= 1024, "width must be between 1 and 1024"); + this.width = width; + } + + @Generated + public @NonNull BaseComponent contents() { + return this.contents; + } + + @Generated + public Integer width() { + return this.width; + } + + @Generated + public PlainMessageBody contents(@NonNull BaseComponent contents) { + if (contents == null) { + throw new NullPointerException("contents is marked non-null but is null"); + } else { + this.contents = contents; + return this; + } + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "PlainMessageBody(super=" + var10000 + ", contents=" + String.valueOf(this.contents()) + ", width=" + this.width() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlainMessageBody)) { + return false; + } else { + PlainMessageBody other = (PlainMessageBody)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$width = this.width(); + Object other$width = other.width(); + if (this$width == null) { + if (other$width != null) { + return false; + } + } else if (!this$width.equals(other$width)) { + return false; + } + + Object this$contents = this.contents(); + Object other$contents = other.contents(); + if (this$contents == null) { + if (other$contents != null) { + return false; + } + } else if (!this$contents.equals(other$contents)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlainMessageBody; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $width = this.width(); + result = result * 59 + ($width == null ? 43 : $width.hashCode()); + Object $contents = this.contents(); + result = result * 59 + ($contents == null ? 43 : $contents.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/body/package-info.java b/src/main/java/net/md_5/bungee/api/dialog/body/package-info.java new file mode 100644 index 0000000..1db2ca4 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/body/package-info.java @@ -0,0 +1,2 @@ +package net.md_5.bungee.api.dialog.body; + diff --git a/src/main/java/net/md_5/bungee/api/dialog/chat/ShowDialogClickEvent.java b/src/main/java/net/md_5/bungee/api/dialog/chat/ShowDialogClickEvent.java new file mode 100644 index 0000000..2b92467 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/chat/ShowDialogClickEvent.java @@ -0,0 +1,102 @@ +package net.md_5.bungee.api.dialog.chat; + +import lombok.Generated; +import net.md_5.bungee.api.chat.ClickEvent; +import net.md_5.bungee.api.dialog.Dialog; + +public class ShowDialogClickEvent extends ClickEvent { + private String reference; + private Dialog dialog; + + public ShowDialogClickEvent(String reference) { + this(reference, (Dialog)null); + } + + public ShowDialogClickEvent(Dialog dialog) { + this((String)null, dialog); + } + + private ShowDialogClickEvent(String reference, Dialog dialog) { + super(ClickEvent.Action.SHOW_DIALOG, (String)null); + this.reference = reference; + this.dialog = dialog; + } + + @Generated + public String getReference() { + return this.reference; + } + + @Generated + public Dialog getDialog() { + return this.dialog; + } + + @Generated + public void setReference(String reference) { + this.reference = reference; + } + + @Generated + public void setDialog(Dialog dialog) { + this.dialog = dialog; + } + + @Generated + public String toString() { + String var10000 = this.getReference(); + return "ShowDialogClickEvent(reference=" + var10000 + ", dialog=" + String.valueOf(this.getDialog()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ShowDialogClickEvent)) { + return false; + } else { + ShowDialogClickEvent other = (ShowDialogClickEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$reference = this.getReference(); + Object other$reference = other.getReference(); + if (this$reference == null) { + if (other$reference != null) { + return false; + } + } else if (!this$reference.equals(other$reference)) { + return false; + } + + Object this$dialog = this.getDialog(); + Object other$dialog = other.getDialog(); + if (this$dialog == null) { + if (other$dialog != null) { + return false; + } + } else if (!this$dialog.equals(other$dialog)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ShowDialogClickEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $reference = this.getReference(); + result = result * 59 + ($reference == null ? 43 : $reference.hashCode()); + Object $dialog = this.getDialog(); + result = result * 59 + ($dialog == null ? 43 : $dialog.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/chat/package-info.java b/src/main/java/net/md_5/bungee/api/dialog/chat/package-info.java new file mode 100644 index 0000000..8c1956d --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/chat/package-info.java @@ -0,0 +1,2 @@ +package net.md_5.bungee.api.dialog.chat; + diff --git a/src/main/java/net/md_5/bungee/api/dialog/input/BooleanInput.java b/src/main/java/net/md_5/bungee/api/dialog/input/BooleanInput.java new file mode 100644 index 0000000..0f01d72 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/input/BooleanInput.java @@ -0,0 +1,170 @@ +package net.md_5.bungee.api.dialog.input; + +import com.google.gson.annotations.SerializedName; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; + +public class BooleanInput extends DialogInput { + private @NonNull BaseComponent label; + private Boolean initial; + @SerializedName("on_true") + private String onTrue; + @SerializedName("on_false") + private String onFalse; + + public BooleanInput(@NonNull String key, @NonNull BaseComponent label) { + this(key, label, (Boolean)null, "true", "false"); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } + } + + public BooleanInput(@NonNull String key, @NonNull BaseComponent label, Boolean initial, String onTrue, String onFalse) { + super("minecraft:boolean", key); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else { + this.label = label; + this.initial = initial; + this.onTrue = onTrue; + this.onFalse = onFalse; + } + } + + @Generated + public @NonNull BaseComponent label() { + return this.label; + } + + @Generated + public Boolean initial() { + return this.initial; + } + + @Generated + public String onTrue() { + return this.onTrue; + } + + @Generated + public String onFalse() { + return this.onFalse; + } + + @Generated + public BooleanInput label(@NonNull BaseComponent label) { + if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else { + this.label = label; + return this; + } + } + + @Generated + public BooleanInput initial(Boolean initial) { + this.initial = initial; + return this; + } + + @Generated + public BooleanInput onTrue(String onTrue) { + this.onTrue = onTrue; + return this; + } + + @Generated + public BooleanInput onFalse(String onFalse) { + this.onFalse = onFalse; + return this; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "BooleanInput(super=" + var10000 + ", label=" + String.valueOf(this.label()) + ", initial=" + this.initial() + ", onTrue=" + this.onTrue() + ", onFalse=" + this.onFalse() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof BooleanInput)) { + return false; + } else { + BooleanInput other = (BooleanInput)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$initial = this.initial(); + Object other$initial = other.initial(); + if (this$initial == null) { + if (other$initial != null) { + return false; + } + } else if (!this$initial.equals(other$initial)) { + return false; + } + + Object this$label = this.label(); + Object other$label = other.label(); + if (this$label == null) { + if (other$label != null) { + return false; + } + } else if (!this$label.equals(other$label)) { + return false; + } + + Object this$onTrue = this.onTrue(); + Object other$onTrue = other.onTrue(); + if (this$onTrue == null) { + if (other$onTrue != null) { + return false; + } + } else if (!this$onTrue.equals(other$onTrue)) { + return false; + } + + Object this$onFalse = this.onFalse(); + Object other$onFalse = other.onFalse(); + if (this$onFalse == null) { + if (other$onFalse != null) { + return false; + } + } else if (!this$onFalse.equals(other$onFalse)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof BooleanInput; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $initial = this.initial(); + result = result * 59 + ($initial == null ? 43 : $initial.hashCode()); + Object $label = this.label(); + result = result * 59 + ($label == null ? 43 : $label.hashCode()); + Object $onTrue = this.onTrue(); + result = result * 59 + ($onTrue == null ? 43 : $onTrue.hashCode()); + Object $onFalse = this.onFalse(); + result = result * 59 + ($onFalse == null ? 43 : $onFalse.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/input/DialogInput.java b/src/main/java/net/md_5/bungee/api/dialog/input/DialogInput.java new file mode 100644 index 0000000..12eda46 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/input/DialogInput.java @@ -0,0 +1,91 @@ +package net.md_5.bungee.api.dialog.input; + +import lombok.Generated; +import lombok.NonNull; +import org.jetbrains.annotations.ApiStatus.Internal; + +public class DialogInput { + @Internal + private final @NonNull String type; + private final @NonNull String key; + + @Generated + public DialogInput(@NonNull String type, @NonNull String key) { + if (type == null) { + throw new NullPointerException("type is marked non-null but is null"); + } else if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else { + this.type = type; + this.key = key; + } + } + + @Generated + public @NonNull String type() { + return this.type; + } + + @Generated + public @NonNull String key() { + return this.key; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DialogInput)) { + return false; + } else { + DialogInput other = (DialogInput)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$type = this.type(); + Object other$type = other.type(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + Object this$key = this.key(); + Object other$key = other.key(); + if (this$key == null) { + if (other$key != null) { + return false; + } + } else if (!this$key.equals(other$key)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof DialogInput; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $type = this.type(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + Object $key = this.key(); + result = result * 59 + ($key == null ? 43 : $key.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.type(); + return "DialogInput(type=" + var10000 + ", key=" + this.key() + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/input/InputOption.java b/src/main/java/net/md_5/bungee/api/dialog/input/InputOption.java new file mode 100644 index 0000000..7582c20 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/input/InputOption.java @@ -0,0 +1,136 @@ +package net.md_5.bungee.api.dialog.input; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; + +public class InputOption { + private @NonNull String id; + private BaseComponent display; + private Boolean initial; + + public InputOption(@NonNull String id) { + this(id, (BaseComponent)null, (Boolean)null); + if (id == null) { + throw new NullPointerException("id is marked non-null but is null"); + } + } + + @Generated + public @NonNull String id() { + return this.id; + } + + @Generated + public BaseComponent display() { + return this.display; + } + + @Generated + public Boolean initial() { + return this.initial; + } + + @Generated + public InputOption id(@NonNull String id) { + if (id == null) { + throw new NullPointerException("id is marked non-null but is null"); + } else { + this.id = id; + return this; + } + } + + @Generated + public InputOption display(BaseComponent display) { + this.display = display; + return this; + } + + @Generated + public InputOption initial(Boolean initial) { + this.initial = initial; + return this; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof InputOption)) { + return false; + } else { + InputOption other = (InputOption)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$initial = this.initial(); + Object other$initial = other.initial(); + if (this$initial == null) { + if (other$initial != null) { + return false; + } + } else if (!this$initial.equals(other$initial)) { + return false; + } + + Object this$id = this.id(); + Object other$id = other.id(); + if (this$id == null) { + if (other$id != null) { + return false; + } + } else if (!this$id.equals(other$id)) { + return false; + } + + Object this$display = this.display(); + Object other$display = other.display(); + if (this$display == null) { + if (other$display != null) { + return false; + } + } else if (!this$display.equals(other$display)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof InputOption; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $initial = this.initial(); + result = result * 59 + ($initial == null ? 43 : $initial.hashCode()); + Object $id = this.id(); + result = result * 59 + ($id == null ? 43 : $id.hashCode()); + Object $display = this.display(); + result = result * 59 + ($display == null ? 43 : $display.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.id(); + return "InputOption(id=" + var10000 + ", display=" + String.valueOf(this.display()) + ", initial=" + this.initial() + ")"; + } + + @Generated + public InputOption(@NonNull String id, BaseComponent display, Boolean initial) { + if (id == null) { + throw new NullPointerException("id is marked non-null but is null"); + } else { + this.id = id; + this.display = display; + this.initial = initial; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/input/NumberRangeInput.java b/src/main/java/net/md_5/bungee/api/dialog/input/NumberRangeInput.java new file mode 100644 index 0000000..b1b0495 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/input/NumberRangeInput.java @@ -0,0 +1,245 @@ +package net.md_5.bungee.api.dialog.input; + +import com.google.common.base.Preconditions; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; + +public class NumberRangeInput extends DialogInput { + private Integer width; + private @NonNull BaseComponent label; + private String labelFormat; + private float start; + private float end; + private Float step; + private Float initial; + + public NumberRangeInput(@NonNull String key, @NonNull BaseComponent label, float start, float end) { + this(key, (Integer)null, label, "options.generic_value", start, end, (Float)null, (Float)null); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } + } + + public NumberRangeInput(@NonNull String key, @NonNull BaseComponent label, float start, float end, Float step) { + this(key, (Integer)null, label, "options.generic_value", start, end, step, (Float)null); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } + } + + public NumberRangeInput(@NonNull String key, @NonNull BaseComponent label, float start, float end, Float step, Float initial) { + this(key, (Integer)null, label, "options.generic_value", start, end, step, initial); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } + } + + public NumberRangeInput(@NonNull String key, Integer width, @NonNull BaseComponent label, String labelFormat, float start, float end, Float step, Float initial) { + super("minecraft:number_range", key); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else { + this.width(width); + this.label = label; + this.labelFormat = labelFormat; + this.start = start; + this.end = end; + this.step(step); + this.initial(initial); + } + } + + public NumberRangeInput width(Integer width) { + Preconditions.checkArgument(width == null || width >= 1 && width <= 1024, "with must be between 1 and 1024"); + this.width = width; + return this; + } + + public NumberRangeInput step(Float step) { + Preconditions.checkArgument(step == null || step > 0.0F, "step must be null or greater than zero"); + this.step = step; + return this; + } + + public NumberRangeInput initial(Float initial) { + float min = Math.min(this.start, this.end); + float max = Math.max(this.start, this.end); + Preconditions.checkArgument(initial == null || initial >= min && initial <= max, "initial must be null or between start and end"); + this.initial = initial; + return this; + } + + @Generated + public Integer width() { + return this.width; + } + + @Generated + public @NonNull BaseComponent label() { + return this.label; + } + + @Generated + public String labelFormat() { + return this.labelFormat; + } + + @Generated + public float start() { + return this.start; + } + + @Generated + public float end() { + return this.end; + } + + @Generated + public Float step() { + return this.step; + } + + @Generated + public Float initial() { + return this.initial; + } + + @Generated + public NumberRangeInput label(@NonNull BaseComponent label) { + if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else { + this.label = label; + return this; + } + } + + @Generated + public NumberRangeInput labelFormat(String labelFormat) { + this.labelFormat = labelFormat; + return this; + } + + @Generated + public NumberRangeInput start(float start) { + this.start = start; + return this; + } + + @Generated + public NumberRangeInput end(float end) { + this.end = end; + return this; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "NumberRangeInput(super=" + var10000 + ", width=" + this.width() + ", label=" + String.valueOf(this.label()) + ", labelFormat=" + this.labelFormat() + ", start=" + this.start() + ", end=" + this.end() + ", step=" + this.step() + ", initial=" + this.initial() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof NumberRangeInput)) { + return false; + } else { + NumberRangeInput other = (NumberRangeInput)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else if (Float.compare(this.start(), other.start()) != 0) { + return false; + } else if (Float.compare(this.end(), other.end()) != 0) { + return false; + } else { + Object this$width = this.width(); + Object other$width = other.width(); + if (this$width == null) { + if (other$width != null) { + return false; + } + } else if (!this$width.equals(other$width)) { + return false; + } + + Object this$step = this.step(); + Object other$step = other.step(); + if (this$step == null) { + if (other$step != null) { + return false; + } + } else if (!this$step.equals(other$step)) { + return false; + } + + Object this$initial = this.initial(); + Object other$initial = other.initial(); + if (this$initial == null) { + if (other$initial != null) { + return false; + } + } else if (!this$initial.equals(other$initial)) { + return false; + } + + Object this$label = this.label(); + Object other$label = other.label(); + if (this$label == null) { + if (other$label != null) { + return false; + } + } else if (!this$label.equals(other$label)) { + return false; + } + + Object this$labelFormat = this.labelFormat(); + Object other$labelFormat = other.labelFormat(); + if (this$labelFormat == null) { + if (other$labelFormat != null) { + return false; + } + } else if (!this$labelFormat.equals(other$labelFormat)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof NumberRangeInput; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + result = result * 59 + Float.floatToIntBits(this.start()); + result = result * 59 + Float.floatToIntBits(this.end()); + Object $width = this.width(); + result = result * 59 + ($width == null ? 43 : $width.hashCode()); + Object $step = this.step(); + result = result * 59 + ($step == null ? 43 : $step.hashCode()); + Object $initial = this.initial(); + result = result * 59 + ($initial == null ? 43 : $initial.hashCode()); + Object $label = this.label(); + result = result * 59 + ($label == null ? 43 : $label.hashCode()); + Object $labelFormat = this.labelFormat(); + result = result * 59 + ($labelFormat == null ? 43 : $labelFormat.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/input/SingleOptionInput.java b/src/main/java/net/md_5/bungee/api/dialog/input/SingleOptionInput.java new file mode 100644 index 0000000..aa6588c --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/input/SingleOptionInput.java @@ -0,0 +1,181 @@ +package net.md_5.bungee.api.dialog.input; + +import com.google.common.base.Preconditions; +import com.google.gson.annotations.SerializedName; +import java.util.Arrays; +import java.util.List; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; + +public class SingleOptionInput extends DialogInput { + private Integer width; + private @NonNull BaseComponent label; + @SerializedName("label_visible") + private Boolean labelVisible; + private @NonNull List options; + + public SingleOptionInput(@NonNull String key, @NonNull BaseComponent label, InputOption... options) { + this(key, (Integer)null, label, (Boolean)null, Arrays.asList(options)); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else if (options == null) { + throw new NullPointerException("options is marked non-null but is null"); + } + } + + public SingleOptionInput(@NonNull String key, Integer width, @NonNull BaseComponent label, Boolean labelVisible, @NonNull List options) { + super("minecraft:single_option", key); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else if (options == null) { + throw new NullPointerException("options is marked non-null but is null"); + } else { + Preconditions.checkArgument(!options.isEmpty(), "At least one option must be provided"); + this.width(width); + this.label = label; + this.labelVisible = labelVisible; + this.options = options; + } + } + + public SingleOptionInput width(Integer width) { + Preconditions.checkArgument(width == null || width >= 1 && width <= 1024, "width must be between 1 and 1024"); + this.width = width; + return this; + } + + @Generated + public Integer width() { + return this.width; + } + + @Generated + public @NonNull BaseComponent label() { + return this.label; + } + + @Generated + public Boolean labelVisible() { + return this.labelVisible; + } + + @Generated + public @NonNull List options() { + return this.options; + } + + @Generated + public SingleOptionInput label(@NonNull BaseComponent label) { + if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else { + this.label = label; + return this; + } + } + + @Generated + public SingleOptionInput labelVisible(Boolean labelVisible) { + this.labelVisible = labelVisible; + return this; + } + + @Generated + public SingleOptionInput options(@NonNull List options) { + if (options == null) { + throw new NullPointerException("options is marked non-null but is null"); + } else { + this.options = options; + return this; + } + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "SingleOptionInput(super=" + var10000 + ", width=" + this.width() + ", label=" + String.valueOf(this.label()) + ", labelVisible=" + this.labelVisible() + ", options=" + String.valueOf(this.options()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SingleOptionInput)) { + return false; + } else { + SingleOptionInput other = (SingleOptionInput)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$width = this.width(); + Object other$width = other.width(); + if (this$width == null) { + if (other$width != null) { + return false; + } + } else if (!this$width.equals(other$width)) { + return false; + } + + Object this$labelVisible = this.labelVisible(); + Object other$labelVisible = other.labelVisible(); + if (this$labelVisible == null) { + if (other$labelVisible != null) { + return false; + } + } else if (!this$labelVisible.equals(other$labelVisible)) { + return false; + } + + Object this$label = this.label(); + Object other$label = other.label(); + if (this$label == null) { + if (other$label != null) { + return false; + } + } else if (!this$label.equals(other$label)) { + return false; + } + + Object this$options = this.options(); + Object other$options = other.options(); + if (this$options == null) { + if (other$options != null) { + return false; + } + } else if (!this$options.equals(other$options)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof SingleOptionInput; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $width = this.width(); + result = result * 59 + ($width == null ? 43 : $width.hashCode()); + Object $labelVisible = this.labelVisible(); + result = result * 59 + ($labelVisible == null ? 43 : $labelVisible.hashCode()); + Object $label = this.label(); + result = result * 59 + ($label == null ? 43 : $label.hashCode()); + Object $options = this.options(); + result = result * 59 + ($options == null ? 43 : $options.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/input/TextInput.java b/src/main/java/net/md_5/bungee/api/dialog/input/TextInput.java new file mode 100644 index 0000000..f68963c --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/input/TextInput.java @@ -0,0 +1,324 @@ +package net.md_5.bungee.api.dialog.input; + +import com.google.common.base.Preconditions; +import com.google.gson.annotations.SerializedName; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.chat.BaseComponent; + +public class TextInput extends DialogInput { + private Integer width; + private @NonNull BaseComponent label; + @SerializedName("label_visible") + private Boolean labelVisible; + private String initial; + @SerializedName("max_length") + private Integer maxLength; + private Multiline multiline; + + public TextInput(@NonNull String key, @NonNull BaseComponent label) { + this(key, (Integer)null, label, (Boolean)null, (String)null, (Integer)null, (Multiline)null); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } + } + + public TextInput(@NonNull String key, Integer width, @NonNull BaseComponent label, Boolean labelVisible, String initial, Integer maxLength) { + this(key, width, label, labelVisible, initial, maxLength, (Multiline)null); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } + } + + public TextInput(@NonNull String key, Integer width, @NonNull BaseComponent label, Boolean labelVisible, String initial, Integer maxLength, Multiline multiline) { + super("minecraft:text", key); + if (key == null) { + throw new NullPointerException("key is marked non-null but is null"); + } else if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else { + this.width(width); + this.label = label; + this.labelVisible = labelVisible; + this.initial = initial; + this.maxLength = maxLength; + this.multiline = multiline; + } + } + + public TextInput width(Integer width) { + Preconditions.checkArgument(width == null || width >= 1 && width <= 1024, "width must be between 1 and 1024"); + this.width = width; + return this; + } + + @Generated + public Integer width() { + return this.width; + } + + @Generated + public @NonNull BaseComponent label() { + return this.label; + } + + @Generated + public Boolean labelVisible() { + return this.labelVisible; + } + + @Generated + public String initial() { + return this.initial; + } + + @Generated + public Integer maxLength() { + return this.maxLength; + } + + @Generated + public Multiline multiline() { + return this.multiline; + } + + @Generated + public TextInput label(@NonNull BaseComponent label) { + if (label == null) { + throw new NullPointerException("label is marked non-null but is null"); + } else { + this.label = label; + return this; + } + } + + @Generated + public TextInput labelVisible(Boolean labelVisible) { + this.labelVisible = labelVisible; + return this; + } + + @Generated + public TextInput initial(String initial) { + this.initial = initial; + return this; + } + + @Generated + public TextInput maxLength(Integer maxLength) { + this.maxLength = maxLength; + return this; + } + + @Generated + public TextInput multiline(Multiline multiline) { + this.multiline = multiline; + return this; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "TextInput(super=" + var10000 + ", width=" + this.width() + ", label=" + String.valueOf(this.label()) + ", labelVisible=" + this.labelVisible() + ", initial=" + this.initial() + ", maxLength=" + this.maxLength() + ", multiline=" + String.valueOf(this.multiline()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TextInput)) { + return false; + } else { + TextInput other = (TextInput)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$width = this.width(); + Object other$width = other.width(); + if (this$width == null) { + if (other$width != null) { + return false; + } + } else if (!this$width.equals(other$width)) { + return false; + } + + Object this$labelVisible = this.labelVisible(); + Object other$labelVisible = other.labelVisible(); + if (this$labelVisible == null) { + if (other$labelVisible != null) { + return false; + } + } else if (!this$labelVisible.equals(other$labelVisible)) { + return false; + } + + Object this$maxLength = this.maxLength(); + Object other$maxLength = other.maxLength(); + if (this$maxLength == null) { + if (other$maxLength != null) { + return false; + } + } else if (!this$maxLength.equals(other$maxLength)) { + return false; + } + + Object this$label = this.label(); + Object other$label = other.label(); + if (this$label == null) { + if (other$label != null) { + return false; + } + } else if (!this$label.equals(other$label)) { + return false; + } + + Object this$initial = this.initial(); + Object other$initial = other.initial(); + if (this$initial == null) { + if (other$initial != null) { + return false; + } + } else if (!this$initial.equals(other$initial)) { + return false; + } + + Object this$multiline = this.multiline(); + Object other$multiline = other.multiline(); + if (this$multiline == null) { + if (other$multiline != null) { + return false; + } + } else if (!this$multiline.equals(other$multiline)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TextInput; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $width = this.width(); + result = result * 59 + ($width == null ? 43 : $width.hashCode()); + Object $labelVisible = this.labelVisible(); + result = result * 59 + ($labelVisible == null ? 43 : $labelVisible.hashCode()); + Object $maxLength = this.maxLength(); + result = result * 59 + ($maxLength == null ? 43 : $maxLength.hashCode()); + Object $label = this.label(); + result = result * 59 + ($label == null ? 43 : $label.hashCode()); + Object $initial = this.initial(); + result = result * 59 + ($initial == null ? 43 : $initial.hashCode()); + Object $multiline = this.multiline(); + result = result * 59 + ($multiline == null ? 43 : $multiline.hashCode()); + return result; + } + + public static class Multiline { + @SerializedName("max_lines") + private Integer maxLines; + private Integer height; + + public Multiline(Integer maxLines, Integer height) { + this.height(height).maxLines(maxLines); + } + + public Multiline height(Integer height) { + Preconditions.checkArgument(height == null || height >= 1 && height <= 512, "height must null or be between 1 and 512"); + this.height = height; + return this; + } + + @Generated + public Integer maxLines() { + return this.maxLines; + } + + @Generated + public Integer height() { + return this.height; + } + + @Generated + public Multiline maxLines(Integer maxLines) { + this.maxLines = maxLines; + return this; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Multiline)) { + return false; + } else { + Multiline other = (Multiline)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$maxLines = this.maxLines(); + Object other$maxLines = other.maxLines(); + if (this$maxLines == null) { + if (other$maxLines != null) { + return false; + } + } else if (!this$maxLines.equals(other$maxLines)) { + return false; + } + + Object this$height = this.height(); + Object other$height = other.height(); + if (this$height == null) { + if (other$height != null) { + return false; + } + } else if (!this$height.equals(other$height)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Multiline; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $maxLines = this.maxLines(); + result = result * 59 + ($maxLines == null ? 43 : $maxLines.hashCode()); + Object $height = this.height(); + result = result * 59 + ($height == null ? 43 : $height.hashCode()); + return result; + } + + @Generated + public String toString() { + Integer var10000 = this.maxLines(); + return "TextInput.Multiline(maxLines=" + var10000 + ", height=" + this.height() + ")"; + } + + @Generated + public Multiline() { + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/dialog/input/package-info.java b/src/main/java/net/md_5/bungee/api/dialog/input/package-info.java new file mode 100644 index 0000000..e69c171 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/input/package-info.java @@ -0,0 +1,2 @@ +package net.md_5.bungee.api.dialog.input; + diff --git a/src/main/java/net/md_5/bungee/api/dialog/package-info.java b/src/main/java/net/md_5/bungee/api/dialog/package-info.java new file mode 100644 index 0000000..11b96a7 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/dialog/package-info.java @@ -0,0 +1,2 @@ +package net.md_5.bungee.api.dialog; + diff --git a/src/main/java/net/md_5/bungee/api/event/AsyncChatEvent.java b/src/main/java/net/md_5/bungee/api/event/AsyncChatEvent.java new file mode 100644 index 0000000..f0e1c26 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/AsyncChatEvent.java @@ -0,0 +1,51 @@ +package net.md_5.bungee.api.event; + +import java.util.Objects; +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.plugin.Cancellable; + +public final class AsyncChatEvent extends AsyncEvent implements Cancellable { + private final Connection sender; + private final Connection receiver; + private final String message; + private volatile boolean cancelled; + + public AsyncChatEvent(Connection sender, Connection receiver, String message, Callback done) { + super(done); + this.sender = (Connection)Objects.requireNonNull(sender, "sender"); + this.receiver = (Connection)Objects.requireNonNull(receiver, "receiver"); + this.message = (String)Objects.requireNonNull(message, "message"); + } + + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public Connection getSender() { + return this.sender; + } + + @Generated + public Connection getReceiver() { + return this.receiver; + } + + @Generated + public String getMessage() { + return this.message; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "AsyncChatEvent(super=" + var10000 + ", sender=" + String.valueOf(this.getSender()) + ", receiver=" + String.valueOf(this.getReceiver()) + ", message=" + this.getMessage() + ", cancelled=" + this.isCancelled() + ")"; + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/AsyncEvent.java b/src/main/java/net/md_5/bungee/api/event/AsyncEvent.java new file mode 100644 index 0000000..c55bca3 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/AsyncEvent.java @@ -0,0 +1,148 @@ +package net.md_5.bungee.api.event; + +import com.google.common.base.Preconditions; +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.concurrent.atomic.AtomicInteger; +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.plugin.Event; +import net.md_5.bungee.api.plugin.Plugin; + +public class AsyncEvent extends Event { + private final Callback done; + private final Map intents = new ConcurrentHashMap(); + private final AtomicBoolean fired = new AtomicBoolean(); + private final AtomicInteger latch = new AtomicInteger(); + + @SuppressWarnings("unchecked") + public void postCall() { + if (this.latch.get() == 0) { + this.done.done((T)this, null); + } + + this.fired.set(true); + } + + public void registerIntent(Plugin plugin) { + Preconditions.checkState(!this.fired.get(), "Event %s has already been fired", this); + AtomicInteger intentCount = (AtomicInteger)this.intents.get(plugin); + if (intentCount == null) { + this.intents.put(plugin, new AtomicInteger(1)); + } else { + intentCount.incrementAndGet(); + } + + this.latch.incrementAndGet(); + } + + @SuppressWarnings("unchecked") + public void completeIntent(Plugin plugin) { + AtomicInteger intentCount = (AtomicInteger)this.intents.get(plugin); + Preconditions.checkState(intentCount != null && intentCount.get() > 0, "Plugin %s has not registered intents for event %s", plugin, this); + intentCount.decrementAndGet(); + if (this.fired.get()) { + if (this.latch.decrementAndGet() == 0) { + this.done.done((T)this, null); + } + } else { + this.latch.decrementAndGet(); + } + + } + + @Generated + public AsyncEvent(Callback done) { + this.done = done; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "AsyncEvent(super=" + var10000 + ", done=" + String.valueOf(this.getDone()) + ", intents=" + String.valueOf(this.intents) + ", fired=" + String.valueOf(this.fired) + ", latch=" + String.valueOf(this.latch) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof AsyncEvent)) { + return false; + } else { + AsyncEvent other = (AsyncEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else { + Object this$done = this.getDone(); + Object other$done = other.getDone(); + if (this$done == null) { + if (other$done != null) { + return false; + } + } else if (!this$done.equals(other$done)) { + return false; + } + + Object this$intents = this.intents; + Object other$intents = other.intents; + if (this$intents == null) { + if (other$intents != null) { + return false; + } + } else if (!this$intents.equals(other$intents)) { + return false; + } + + Object this$fired = this.fired; + Object other$fired = other.fired; + if (this$fired == null) { + if (other$fired != null) { + return false; + } + } else if (!this$fired.equals(other$fired)) { + return false; + } + + Object this$latch = this.latch; + Object other$latch = other.latch; + if (this$latch == null) { + if (other$latch != null) { + return false; + } + } else if (!this$latch.equals(other$latch)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof AsyncEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + Object $done = this.getDone(); + result = result * 59 + ($done == null ? 43 : $done.hashCode()); + Object $intents = this.intents; + result = result * 59 + ($intents == null ? 43 : $intents.hashCode()); + Object $fired = this.fired; + result = result * 59 + ($fired == null ? 43 : $fired.hashCode()); + Object $latch = this.latch; + result = result * 59 + ($latch == null ? 43 : $latch.hashCode()); + return result; + } + + @Generated + public Callback getDone() { + return this.done; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/ChatEvent.java b/src/main/java/net/md_5/bungee/api/event/ChatEvent.java new file mode 100644 index 0000000..0892078 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/ChatEvent.java @@ -0,0 +1,103 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.plugin.Cancellable; + +public class ChatEvent extends TargetedEvent implements Cancellable { + private boolean cancelled; + private String message; + + public ChatEvent(Connection sender, Connection receiver, String message) { + super(sender, receiver); + this.message = message; + } + + public boolean isCommand() { + return this.message.length() > 0 && this.message.charAt(0) == '/'; + } + + public boolean isProxyCommand() { + if (!this.isCommand()) { + return false; + } else { + int index = this.message.indexOf(" "); + String commandName = index == -1 ? this.message.substring(1) : this.message.substring(1, index); + CommandSender sender = this.getSender() instanceof CommandSender ? (CommandSender)this.getSender() : null; + return ProxyServer.getInstance().getPluginManager().isExecutableCommand(commandName, sender); + } + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public String getMessage() { + return this.message; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public void setMessage(String message) { + this.message = message; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "ChatEvent(super=" + var10000 + ", cancelled=" + this.isCancelled() + ", message=" + this.getMessage() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ChatEvent)) { + return false; + } else { + ChatEvent other = (ChatEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$message = this.getMessage(); + Object other$message = other.getMessage(); + if (this$message == null) { + if (other$message != null) { + return false; + } + } else if (!this$message.equals(other$message)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ChatEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $message = this.getMessage(); + result = result * 59 + ($message == null ? 43 : $message.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/ClientConnectEvent.java b/src/main/java/net/md_5/bungee/api/event/ClientConnectEvent.java new file mode 100644 index 0000000..fd9123b --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/ClientConnectEvent.java @@ -0,0 +1,100 @@ +package net.md_5.bungee.api.event; + +import java.net.SocketAddress; +import lombok.Generated; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.plugin.Cancellable; +import net.md_5.bungee.api.plugin.Event; + +public class ClientConnectEvent extends Event implements Cancellable { + private boolean cancelled; + private final SocketAddress socketAddress; + private final ListenerInfo listener; + + @Generated + public ClientConnectEvent(SocketAddress socketAddress, ListenerInfo listener) { + this.socketAddress = socketAddress; + this.listener = listener; + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public SocketAddress getSocketAddress() { + return this.socketAddress; + } + + @Generated + public ListenerInfo getListener() { + return this.listener; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public String toString() { + boolean var10000 = this.isCancelled(); + return "ClientConnectEvent(cancelled=" + var10000 + ", socketAddress=" + String.valueOf(this.getSocketAddress()) + ", listener=" + String.valueOf(this.getListener()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClientConnectEvent)) { + return false; + } else { + ClientConnectEvent other = (ClientConnectEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$socketAddress = this.getSocketAddress(); + Object other$socketAddress = other.getSocketAddress(); + if (this$socketAddress == null) { + if (other$socketAddress != null) { + return false; + } + } else if (!this$socketAddress.equals(other$socketAddress)) { + return false; + } + + Object this$listener = this.getListener(); + Object other$listener = other.getListener(); + if (this$listener == null) { + if (other$listener != null) { + return false; + } + } else if (!this$listener.equals(other$listener)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClientConnectEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $socketAddress = this.getSocketAddress(); + result = result * 59 + ($socketAddress == null ? 43 : $socketAddress.hashCode()); + Object $listener = this.getListener(); + result = result * 59 + ($listener == null ? 43 : $listener.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/CustomClickEvent.java b/src/main/java/net/md_5/bungee/api/event/CustomClickEvent.java new file mode 100644 index 0000000..b0ef1fb --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/CustomClickEvent.java @@ -0,0 +1,121 @@ +package net.md_5.bungee.api.event; + +import com.google.gson.JsonElement; +import lombok.Generated; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Cancellable; +import net.md_5.bungee.api.plugin.Event; +import org.jetbrains.annotations.ApiStatus.Experimental; + +@Experimental +public class CustomClickEvent extends Event implements Cancellable { + private final ProxiedPlayer player; + private final String id; + private final JsonElement data; + private boolean cancelled; + + @Generated + public CustomClickEvent(ProxiedPlayer player, String id, JsonElement data) { + this.player = player; + this.id = id; + this.data = data; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public String getId() { + return this.id; + } + + @Generated + public JsonElement getData() { + return this.data; + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getPlayer()); + return "CustomClickEvent(player=" + var10000 + ", id=" + this.getId() + ", data=" + String.valueOf(this.getData()) + ", cancelled=" + this.isCancelled() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof CustomClickEvent)) { + return false; + } else { + CustomClickEvent other = (CustomClickEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + Object this$id = this.getId(); + Object other$id = other.getId(); + if (this$id == null) { + if (other$id != null) { + return false; + } + } else if (!this$id.equals(other$id)) { + return false; + } + + Object this$data = this.getData(); + Object other$data = other.getData(); + if (this$data == null) { + if (other$data != null) { + return false; + } + } else if (!this$data.equals(other$data)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof CustomClickEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + Object $id = this.getId(); + result = result * 59 + ($id == null ? 43 : $id.hashCode()); + Object $data = this.getData(); + result = result * 59 + ($data == null ? 43 : $data.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/LoginEvent.java b/src/main/java/net/md_5/bungee/api/event/LoginEvent.java new file mode 100644 index 0000000..8c6656d --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/LoginEvent.java @@ -0,0 +1,159 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.connection.PendingConnection; +import net.md_5.bungee.api.plugin.Cancellable; +import net.md_5.bungee.connection.LoginResult; + +public class LoginEvent extends AsyncEvent implements Cancellable { + private boolean cancelled; + private BaseComponent reason; + private LoginResult loginResult; + private final PendingConnection connection; + + public LoginEvent(PendingConnection connection, Callback done) { + super(done); + this.connection = connection; + } + + public LoginEvent(PendingConnection connection, Callback done, LoginResult loginResult) { + super(done); + this.connection = connection; + this.loginResult = loginResult; + } + + /** @deprecated */ + @Deprecated + public String getCancelReason() { + return TextComponent.toLegacyText(new BaseComponent[]{this.getReason()}); + } + + /** @deprecated */ + @Deprecated + public void setCancelReason(String cancelReason) { + this.setReason(TextComponent.fromLegacy(cancelReason)); + } + + /** @deprecated */ + @Deprecated + public BaseComponent[] getCancelReasonComponents() { + return new BaseComponent[]{this.getReason()}; + } + + /** @deprecated */ + @Deprecated + public void setCancelReason(BaseComponent... cancelReason) { + this.setReason(TextComponent.fromArray(cancelReason)); + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public BaseComponent getReason() { + return this.reason; + } + + @Generated + public LoginResult getLoginResult() { + return this.loginResult; + } + + @Generated + public PendingConnection getConnection() { + return this.connection; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public void setReason(BaseComponent reason) { + this.reason = reason; + } + + @Generated + public void setLoginResult(LoginResult loginResult) { + this.loginResult = loginResult; + } + + @Generated + public String toString() { + boolean var10000 = this.isCancelled(); + return "LoginEvent(cancelled=" + var10000 + ", reason=" + String.valueOf(this.getReason()) + ", loginResult=" + String.valueOf(this.getLoginResult()) + ", connection=" + String.valueOf(this.getConnection()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LoginEvent)) { + return false; + } else { + LoginEvent other = (LoginEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$reason = this.getReason(); + Object other$reason = other.getReason(); + if (this$reason == null) { + if (other$reason != null) { + return false; + } + } else if (!this$reason.equals(other$reason)) { + return false; + } + + Object this$loginResult = this.getLoginResult(); + Object other$loginResult = other.getLoginResult(); + if (this$loginResult == null) { + if (other$loginResult != null) { + return false; + } + } else if (!this$loginResult.equals(other$loginResult)) { + return false; + } + + Object this$connection = this.getConnection(); + Object other$connection = other.getConnection(); + if (this$connection == null) { + if (other$connection != null) { + return false; + } + } else if (!this$connection.equals(other$connection)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LoginEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $reason = this.getReason(); + result = result * 59 + ($reason == null ? 43 : $reason.hashCode()); + Object $loginResult = this.getLoginResult(); + result = result * 59 + ($loginResult == null ? 43 : $loginResult.hashCode()); + Object $connection = this.getConnection(); + result = result * 59 + ($connection == null ? 43 : $connection.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/PermissionCheckEvent.java b/src/main/java/net/md_5/bungee/api/event/PermissionCheckEvent.java new file mode 100644 index 0000000..7e5df8f --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/PermissionCheckEvent.java @@ -0,0 +1,98 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.plugin.Event; + +public class PermissionCheckEvent extends Event { + private final CommandSender sender; + private final String permission; + private boolean hasPermission; + + public boolean hasPermission() { + return this.hasPermission; + } + + @Generated + public CommandSender getSender() { + return this.sender; + } + + @Generated + public String getPermission() { + return this.permission; + } + + @Generated + public void setHasPermission(boolean hasPermission) { + this.hasPermission = hasPermission; + } + + @Generated + public PermissionCheckEvent(CommandSender sender, String permission, boolean hasPermission) { + this.sender = sender; + this.permission = permission; + this.hasPermission = hasPermission; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getSender()); + return "PermissionCheckEvent(sender=" + var10000 + ", permission=" + this.getPermission() + ", hasPermission=" + this.hasPermission + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PermissionCheckEvent)) { + return false; + } else { + PermissionCheckEvent other = (PermissionCheckEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (this.hasPermission != other.hasPermission) { + return false; + } else { + Object this$sender = this.getSender(); + Object other$sender = other.getSender(); + if (this$sender == null) { + if (other$sender != null) { + return false; + } + } else if (!this$sender.equals(other$sender)) { + return false; + } + + Object this$permission = this.getPermission(); + Object other$permission = other.getPermission(); + if (this$permission == null) { + if (other$permission != null) { + return false; + } + } else if (!this$permission.equals(other$permission)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PermissionCheckEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.hasPermission ? 79 : 97); + Object $sender = this.getSender(); + result = result * 59 + ($sender == null ? 43 : $sender.hashCode()); + Object $permission = this.getPermission(); + result = result * 59 + ($permission == null ? 43 : $permission.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/PlayerConfigurationEvent.java b/src/main/java/net/md_5/bungee/api/event/PlayerConfigurationEvent.java new file mode 100644 index 0000000..0040b1f --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/PlayerConfigurationEvent.java @@ -0,0 +1,89 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.connection.ProxiedPlayer; + +public class PlayerConfigurationEvent extends AsyncEvent { + private final ProxiedPlayer player; + private final Reason reason; + + public PlayerConfigurationEvent(ProxiedPlayer player, Reason reason, Callback done) { + super(done); + this.player = player; + this.reason = reason; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public Reason getReason() { + return this.reason; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getPlayer()); + return "PlayerConfigurationEvent(player=" + var10000 + ", reason=" + String.valueOf(this.getReason()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerConfigurationEvent)) { + return false; + } else { + PlayerConfigurationEvent other = (PlayerConfigurationEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + Object this$reason = this.getReason(); + Object other$reason = other.getReason(); + if (this$reason == null) { + if (other$reason != null) { + return false; + } + } else if (!this$reason.equals(other$reason)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerConfigurationEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + Object $reason = this.getReason(); + result = result * 59 + ($reason == null ? 43 : $reason.hashCode()); + return result; + } + + public static enum Reason { + LOGIN, + RECONFIGURE; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/PlayerDisconnectEvent.java b/src/main/java/net/md_5/bungee/api/event/PlayerDisconnectEvent.java new file mode 100644 index 0000000..d52a9fd --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/PlayerDisconnectEvent.java @@ -0,0 +1,64 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Event; + +public class PlayerDisconnectEvent extends Event { + private final ProxiedPlayer player; + + @Generated + public PlayerDisconnectEvent(ProxiedPlayer player) { + this.player = player; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public String toString() { + return "PlayerDisconnectEvent(player=" + String.valueOf(this.getPlayer()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerDisconnectEvent)) { + return false; + } else { + PlayerDisconnectEvent other = (PlayerDisconnectEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerDisconnectEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/PlayerHandshakeEvent.java b/src/main/java/net/md_5/bungee/api/event/PlayerHandshakeEvent.java new file mode 100644 index 0000000..5fee661 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/PlayerHandshakeEvent.java @@ -0,0 +1,99 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.connection.PendingConnection; +import net.md_5.bungee.api.plugin.Cancellable; +import net.md_5.bungee.api.plugin.Event; +import net.md_5.bungee.protocol.packet.Handshake; + +public class PlayerHandshakeEvent extends Event implements Cancellable { + private boolean cancelled = false; + private final PendingConnection connection; + private final Handshake handshake; + + public PlayerHandshakeEvent(PendingConnection connection, Handshake handshake) { + this.connection = connection; + this.handshake = handshake; + } + + @Generated + public PendingConnection getConnection() { + return this.connection; + } + + @Generated + public Handshake getHandshake() { + return this.handshake; + } + + @Generated + public String toString() { + boolean var10000 = this.isCancelled(); + return "PlayerHandshakeEvent(cancelled=" + var10000 + ", connection=" + String.valueOf(this.getConnection()) + ", handshake=" + String.valueOf(this.getHandshake()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerHandshakeEvent)) { + return false; + } else { + PlayerHandshakeEvent other = (PlayerHandshakeEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$connection = this.getConnection(); + Object other$connection = other.getConnection(); + if (this$connection == null) { + if (other$connection != null) { + return false; + } + } else if (!this$connection.equals(other$connection)) { + return false; + } + + Object this$handshake = this.getHandshake(); + Object other$handshake = other.getHandshake(); + if (this$handshake == null) { + if (other$handshake != null) { + return false; + } + } else if (!this$handshake.equals(other$handshake)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerHandshakeEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $connection = this.getConnection(); + result = result * 59 + ($connection == null ? 43 : $connection.hashCode()); + Object $handshake = this.getHandshake(); + result = result * 59 + ($handshake == null ? 43 : $handshake.hashCode()); + return result; + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/PluginMessageEvent.java b/src/main/java/net/md_5/bungee/api/event/PluginMessageEvent.java new file mode 100644 index 0000000..0f4fe54 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/PluginMessageEvent.java @@ -0,0 +1,94 @@ +package net.md_5.bungee.api.event; + +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.plugin.Cancellable; + +public class PluginMessageEvent extends TargetedEvent implements Cancellable { + private boolean cancelled; + private final String tag; + private final byte[] data; + + public PluginMessageEvent(Connection sender, Connection receiver, String tag, byte[] data) { + super(sender, receiver); + this.tag = tag; + this.data = data; + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public String getTag() { + return this.tag; + } + + @Generated + public byte[] getData() { + return this.data; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "PluginMessageEvent(super=" + var10000 + ", cancelled=" + this.isCancelled() + ", tag=" + this.getTag() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PluginMessageEvent)) { + return false; + } else { + PluginMessageEvent other = (PluginMessageEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$tag = this.getTag(); + Object other$tag = other.getTag(); + if (this$tag == null) { + if (other$tag != null) { + return false; + } + } else if (!this$tag.equals(other$tag)) { + return false; + } + + if (!Arrays.equals(this.getData(), other.getData())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PluginMessageEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $tag = this.getTag(); + result = result * 59 + ($tag == null ? 43 : $tag.hashCode()); + result = result * 59 + Arrays.hashCode(this.getData()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/PostLoginEvent.java b/src/main/java/net/md_5/bungee/api/event/PostLoginEvent.java new file mode 100644 index 0000000..162bce2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/PostLoginEvent.java @@ -0,0 +1,90 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; + +public class PostLoginEvent extends AsyncEvent { + private final ProxiedPlayer player; + private ServerInfo target; + + public PostLoginEvent(ProxiedPlayer player, ServerInfo target, Callback done) { + super(done); + this.player = player; + this.target = target; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public ServerInfo getTarget() { + return this.target; + } + + @Generated + public void setTarget(ServerInfo target) { + this.target = target; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getPlayer()); + return "PostLoginEvent(player=" + var10000 + ", target=" + String.valueOf(this.getTarget()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PostLoginEvent)) { + return false; + } else { + PostLoginEvent other = (PostLoginEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + Object this$target = this.getTarget(); + Object other$target = other.getTarget(); + if (this$target == null) { + if (other$target != null) { + return false; + } + } else if (!this$target.equals(other$target)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PostLoginEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + Object $target = this.getTarget(); + result = result * 59 + ($target == null ? 43 : $target.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/PreLoginEvent.java b/src/main/java/net/md_5/bungee/api/event/PreLoginEvent.java new file mode 100644 index 0000000..b60f919 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/PreLoginEvent.java @@ -0,0 +1,129 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.connection.PendingConnection; +import net.md_5.bungee.api.plugin.Cancellable; + +public class PreLoginEvent extends AsyncEvent implements Cancellable { + private boolean cancelled; + private BaseComponent reason; + private final PendingConnection connection; + + public PreLoginEvent(PendingConnection connection, Callback done) { + super(done); + this.connection = connection; + } + + /** @deprecated */ + @Deprecated + public String getCancelReason() { + return BaseComponent.toLegacyText(this.getReason()); + } + + /** @deprecated */ + @Deprecated + public void setCancelReason(String cancelReason) { + this.setReason(TextComponent.fromLegacy(cancelReason)); + } + + /** @deprecated */ + @Deprecated + public BaseComponent[] getCancelReasonComponents() { + return new BaseComponent[]{this.getReason()}; + } + + /** @deprecated */ + @Deprecated + public void setCancelReason(BaseComponent... cancelReason) { + this.setReason(TextComponent.fromArray(cancelReason)); + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public BaseComponent getReason() { + return this.reason; + } + + @Generated + public PendingConnection getConnection() { + return this.connection; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public void setReason(BaseComponent reason) { + this.reason = reason; + } + + @Generated + public String toString() { + boolean var10000 = this.isCancelled(); + return "PreLoginEvent(cancelled=" + var10000 + ", reason=" + String.valueOf(this.getReason()) + ", connection=" + String.valueOf(this.getConnection()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PreLoginEvent)) { + return false; + } else { + PreLoginEvent other = (PreLoginEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$reason = this.getReason(); + Object other$reason = other.getReason(); + if (this$reason == null) { + if (other$reason != null) { + return false; + } + } else if (!this$reason.equals(other$reason)) { + return false; + } + + Object this$connection = this.getConnection(); + Object other$connection = other.getConnection(); + if (this$connection == null) { + if (other$connection != null) { + return false; + } + } else if (!this$connection.equals(other$connection)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PreLoginEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $reason = this.getReason(); + result = result * 59 + ($reason == null ? 43 : $reason.hashCode()); + Object $connection = this.getConnection(); + result = result * 59 + ($connection == null ? 43 : $connection.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/ProxyPingEvent.java b/src/main/java/net/md_5/bungee/api/event/ProxyPingEvent.java new file mode 100644 index 0000000..bd49a88 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/ProxyPingEvent.java @@ -0,0 +1,90 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.ServerPing; +import net.md_5.bungee.api.connection.PendingConnection; + +public class ProxyPingEvent extends AsyncEvent { + private final PendingConnection connection; + private ServerPing response; + + public ProxyPingEvent(PendingConnection connection, ServerPing response, Callback done) { + super(done); + this.connection = connection; + this.response = response; + } + + @Generated + public PendingConnection getConnection() { + return this.connection; + } + + @Generated + public ServerPing getResponse() { + return this.response; + } + + @Generated + public void setResponse(ServerPing response) { + this.response = response; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getConnection()); + return "ProxyPingEvent(connection=" + var10000 + ", response=" + String.valueOf(this.getResponse()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ProxyPingEvent)) { + return false; + } else { + ProxyPingEvent other = (ProxyPingEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$connection = this.getConnection(); + Object other$connection = other.getConnection(); + if (this$connection == null) { + if (other$connection != null) { + return false; + } + } else if (!this$connection.equals(other$connection)) { + return false; + } + + Object this$response = this.getResponse(); + Object other$response = other.getResponse(); + if (this$response == null) { + if (other$response != null) { + return false; + } + } else if (!this$response.equals(other$response)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ProxyPingEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $connection = this.getConnection(); + result = result * 59 + ($connection == null ? 43 : $connection.hashCode()); + Object $response = this.getResponse(); + result = result * 59 + ($response == null ? 43 : $response.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/ProxyReloadEvent.java b/src/main/java/net/md_5/bungee/api/event/ProxyReloadEvent.java new file mode 100644 index 0000000..9dcd92b --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/ProxyReloadEvent.java @@ -0,0 +1,64 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.plugin.Event; + +public class ProxyReloadEvent extends Event { + private final CommandSender sender; + + @Generated + public CommandSender getSender() { + return this.sender; + } + + @Generated + public String toString() { + return "ProxyReloadEvent(sender=" + String.valueOf(this.getSender()) + ")"; + } + + @Generated + public ProxyReloadEvent(CommandSender sender) { + this.sender = sender; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ProxyReloadEvent)) { + return false; + } else { + ProxyReloadEvent other = (ProxyReloadEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$sender = this.getSender(); + Object other$sender = other.getSender(); + if (this$sender == null) { + if (other$sender != null) { + return false; + } + } else if (!this$sender.equals(other$sender)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ProxyReloadEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $sender = this.getSender(); + result = result * 59 + ($sender == null ? 43 : $sender.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/ServerConnectEvent.java b/src/main/java/net/md_5/bungee/api/event/ServerConnectEvent.java new file mode 100644 index 0000000..3614f5e --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/ServerConnectEvent.java @@ -0,0 +1,171 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.ServerConnectRequest; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Cancellable; +import net.md_5.bungee.api.plugin.Event; + +public class ServerConnectEvent extends Event implements Cancellable { + private final ProxiedPlayer player; + private @NonNull ServerInfo target; + private final Reason reason; + private final ServerConnectRequest request; + private boolean cancelled; + + /** @deprecated */ + @Deprecated + public ServerConnectEvent(ProxiedPlayer player, ServerInfo target) { + this(player, target, ServerConnectEvent.Reason.UNKNOWN); + } + + /** @deprecated */ + @Deprecated + public ServerConnectEvent(ProxiedPlayer player, ServerInfo target, Reason reason) { + this(player, target, reason, (ServerConnectRequest)null); + } + + public ServerConnectEvent(ProxiedPlayer player, ServerInfo target, Reason reason, ServerConnectRequest request) { + this.player = player; + this.target = target; + this.reason = reason; + this.request = request; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public @NonNull ServerInfo getTarget() { + return this.target; + } + + @Generated + public Reason getReason() { + return this.reason; + } + + @Generated + public ServerConnectRequest getRequest() { + return this.request; + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public void setTarget(@NonNull ServerInfo target) { + if (target == null) { + throw new NullPointerException("target is marked non-null but is null"); + } else { + this.target = target; + } + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getPlayer()); + return "ServerConnectEvent(player=" + var10000 + ", target=" + String.valueOf(this.getTarget()) + ", reason=" + String.valueOf(this.getReason()) + ", request=" + String.valueOf(this.getRequest()) + ", cancelled=" + this.isCancelled() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerConnectEvent)) { + return false; + } else { + ServerConnectEvent other = (ServerConnectEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + Object this$target = this.getTarget(); + Object other$target = other.getTarget(); + if (this$target == null) { + if (other$target != null) { + return false; + } + } else if (!this$target.equals(other$target)) { + return false; + } + + Object this$reason = this.getReason(); + Object other$reason = other.getReason(); + if (this$reason == null) { + if (other$reason != null) { + return false; + } + } else if (!this$reason.equals(other$reason)) { + return false; + } + + Object this$request = this.getRequest(); + Object other$request = other.getRequest(); + if (this$request == null) { + if (other$request != null) { + return false; + } + } else if (!this$request.equals(other$request)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ServerConnectEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + Object $target = this.getTarget(); + result = result * 59 + ($target == null ? 43 : $target.hashCode()); + Object $reason = this.getReason(); + result = result * 59 + ($reason == null ? 43 : $reason.hashCode()); + Object $request = this.getRequest(); + result = result * 59 + ($request == null ? 43 : $request.hashCode()); + return result; + } + + public static enum Reason { + LOBBY_FALLBACK, + COMMAND, + SERVER_DOWN_REDIRECT, + KICK_REDIRECT, + PLUGIN_MESSAGE, + JOIN_PROXY, + PLUGIN, + UNKNOWN; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/ServerConnectedEvent.java b/src/main/java/net/md_5/bungee/api/event/ServerConnectedEvent.java new file mode 100644 index 0000000..1b5fba1 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/ServerConnectedEvent.java @@ -0,0 +1,85 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.connection.Server; +import net.md_5.bungee.api.plugin.Event; + +public class ServerConnectedEvent extends Event { + private final ProxiedPlayer player; + private final Server server; + + @Generated + public ServerConnectedEvent(ProxiedPlayer player, Server server) { + this.player = player; + this.server = server; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public Server getServer() { + return this.server; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getPlayer()); + return "ServerConnectedEvent(player=" + var10000 + ", server=" + String.valueOf(this.getServer()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerConnectedEvent)) { + return false; + } else { + ServerConnectedEvent other = (ServerConnectedEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + Object this$server = this.getServer(); + Object other$server = other.getServer(); + if (this$server == null) { + if (other$server != null) { + return false; + } + } else if (!this$server.equals(other$server)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ServerConnectedEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + Object $server = this.getServer(); + result = result * 59 + ($server == null ? 43 : $server.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/ServerDisconnectEvent.java b/src/main/java/net/md_5/bungee/api/event/ServerDisconnectEvent.java new file mode 100644 index 0000000..7f029da --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/ServerDisconnectEvent.java @@ -0,0 +1,92 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Event; + +public class ServerDisconnectEvent extends Event { + private final @NonNull ProxiedPlayer player; + private final @NonNull ServerInfo target; + + @Generated + public @NonNull ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public @NonNull ServerInfo getTarget() { + return this.target; + } + + @Generated + public ServerDisconnectEvent(@NonNull ProxiedPlayer player, @NonNull ServerInfo target) { + if (player == null) { + throw new NullPointerException("player is marked non-null but is null"); + } else if (target == null) { + throw new NullPointerException("target is marked non-null but is null"); + } else { + this.player = player; + this.target = target; + } + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getPlayer()); + return "ServerDisconnectEvent(player=" + var10000 + ", target=" + String.valueOf(this.getTarget()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerDisconnectEvent)) { + return false; + } else { + ServerDisconnectEvent other = (ServerDisconnectEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + Object this$target = this.getTarget(); + Object other$target = other.getTarget(); + if (this$target == null) { + if (other$target != null) { + return false; + } + } else if (!this$target.equals(other$target)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ServerDisconnectEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + Object $target = this.getTarget(); + result = result * 59 + ($target == null ? 43 : $target.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/ServerKickEvent.java b/src/main/java/net/md_5/bungee/api/event/ServerKickEvent.java new file mode 100644 index 0000000..f3073aa --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/ServerKickEvent.java @@ -0,0 +1,262 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Cancellable; +import net.md_5.bungee.api.plugin.Event; + +public class ServerKickEvent extends Event implements Cancellable { + private boolean cancelled; + private final ProxiedPlayer player; + private final ServerInfo kickedFrom; + private BaseComponent reason; + private ServerInfo cancelServer; + private State state; + private Cause cause; + + /** @deprecated */ + @Deprecated + public ServerKickEvent(ProxiedPlayer player, BaseComponent[] kickReasonComponent, ServerInfo cancelServer) { + this(player, kickReasonComponent, cancelServer, ServerKickEvent.State.UNKNOWN); + } + + /** @deprecated */ + @Deprecated + public ServerKickEvent(ProxiedPlayer player, BaseComponent[] kickReasonComponent, ServerInfo cancelServer, State state) { + this(player, player.getServer().getInfo(), kickReasonComponent, cancelServer, state); + } + + /** @deprecated */ + @Deprecated + public ServerKickEvent(ProxiedPlayer player, ServerInfo kickedFrom, BaseComponent[] kickReasonComponent, ServerInfo cancelServer, State state) { + this(player, kickedFrom, TextComponent.fromArray(kickReasonComponent), cancelServer, state); + } + + /** @deprecated */ + @Deprecated + public ServerKickEvent(ProxiedPlayer player, ServerInfo kickedFrom, BaseComponent kickReasonComponent, ServerInfo cancelServer, State state) { + this(player, kickedFrom, kickReasonComponent, cancelServer, state, ServerKickEvent.Cause.UNKNOWN); + } + + public ServerKickEvent(ProxiedPlayer player, ServerInfo kickedFrom, BaseComponent[] reason, ServerInfo cancelServer, State state, Cause cause) { + this(player, kickedFrom, TextComponent.fromArray(reason), cancelServer, state, cause); + } + + public ServerKickEvent(ProxiedPlayer player, ServerInfo kickedFrom, BaseComponent reason, ServerInfo cancelServer, State state, Cause cause) { + this.player = player; + this.kickedFrom = kickedFrom; + this.reason = reason; + this.cancelServer = cancelServer; + this.state = state; + this.cause = cause; + } + + /** @deprecated */ + @Deprecated + public String getKickReason() { + return BaseComponent.toLegacyText(this.getReason()); + } + + /** @deprecated */ + @Deprecated + public void setKickReason(String reason) { + this.setReason(TextComponent.fromLegacy(reason)); + } + + /** @deprecated */ + @Deprecated + public BaseComponent[] getKickReasonComponent() { + return new BaseComponent[]{this.getReason()}; + } + + /** @deprecated */ + @Deprecated + public void setKickReasonComponent(BaseComponent[] kickReasonComponent) { + this.setReason(TextComponent.fromArray(kickReasonComponent)); + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public ServerInfo getKickedFrom() { + return this.kickedFrom; + } + + @Generated + public BaseComponent getReason() { + return this.reason; + } + + @Generated + public ServerInfo getCancelServer() { + return this.cancelServer; + } + + @Generated + public State getState() { + return this.state; + } + + @Generated + public Cause getCause() { + return this.cause; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public void setReason(BaseComponent reason) { + this.reason = reason; + } + + @Generated + public void setCancelServer(ServerInfo cancelServer) { + this.cancelServer = cancelServer; + } + + @Generated + public void setState(State state) { + this.state = state; + } + + @Generated + public void setCause(Cause cause) { + this.cause = cause; + } + + @Generated + public String toString() { + boolean var10000 = this.isCancelled(); + return "ServerKickEvent(cancelled=" + var10000 + ", player=" + String.valueOf(this.getPlayer()) + ", kickedFrom=" + String.valueOf(this.getKickedFrom()) + ", reason=" + String.valueOf(this.getReason()) + ", cancelServer=" + String.valueOf(this.getCancelServer()) + ", state=" + String.valueOf(this.getState()) + ", cause=" + String.valueOf(this.getCause()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerKickEvent)) { + return false; + } else { + ServerKickEvent other = (ServerKickEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + Object this$kickedFrom = this.getKickedFrom(); + Object other$kickedFrom = other.getKickedFrom(); + if (this$kickedFrom == null) { + if (other$kickedFrom != null) { + return false; + } + } else if (!this$kickedFrom.equals(other$kickedFrom)) { + return false; + } + + Object this$reason = this.getReason(); + Object other$reason = other.getReason(); + if (this$reason == null) { + if (other$reason != null) { + return false; + } + } else if (!this$reason.equals(other$reason)) { + return false; + } + + Object this$cancelServer = this.getCancelServer(); + Object other$cancelServer = other.getCancelServer(); + if (this$cancelServer == null) { + if (other$cancelServer != null) { + return false; + } + } else if (!this$cancelServer.equals(other$cancelServer)) { + return false; + } + + Object this$state = this.getState(); + Object other$state = other.getState(); + if (this$state == null) { + if (other$state != null) { + return false; + } + } else if (!this$state.equals(other$state)) { + return false; + } + + Object this$cause = this.getCause(); + Object other$cause = other.getCause(); + if (this$cause == null) { + if (other$cause != null) { + return false; + } + } else if (!this$cause.equals(other$cause)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ServerKickEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + Object $kickedFrom = this.getKickedFrom(); + result = result * 59 + ($kickedFrom == null ? 43 : $kickedFrom.hashCode()); + Object $reason = this.getReason(); + result = result * 59 + ($reason == null ? 43 : $reason.hashCode()); + Object $cancelServer = this.getCancelServer(); + result = result * 59 + ($cancelServer == null ? 43 : $cancelServer.hashCode()); + Object $state = this.getState(); + result = result * 59 + ($state == null ? 43 : $state.hashCode()); + Object $cause = this.getCause(); + result = result * 59 + ($cause == null ? 43 : $cause.hashCode()); + return result; + } + + public static enum State { + CONNECTING, + CONNECTED, + UNKNOWN; + } + + public static enum Cause { + SERVER, + LOST_CONNECTION, + EXCEPTION, + UNKNOWN; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/ServerSwitchEvent.java b/src/main/java/net/md_5/bungee/api/event/ServerSwitchEvent.java new file mode 100644 index 0000000..0cea25d --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/ServerSwitchEvent.java @@ -0,0 +1,85 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Event; + +public class ServerSwitchEvent extends Event { + private final ProxiedPlayer player; + private final ServerInfo from; + + @Generated + public ServerSwitchEvent(ProxiedPlayer player, ServerInfo from) { + this.player = player; + this.from = from; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public ServerInfo getFrom() { + return this.from; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getPlayer()); + return "ServerSwitchEvent(player=" + var10000 + ", from=" + String.valueOf(this.getFrom()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerSwitchEvent)) { + return false; + } else { + ServerSwitchEvent other = (ServerSwitchEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + Object this$from = this.getFrom(); + Object other$from = other.getFrom(); + if (this$from == null) { + if (other$from != null) { + return false; + } + } else if (!this$from.equals(other$from)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ServerSwitchEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + Object $from = this.getFrom(); + result = result * 59 + ($from == null ? 43 : $from.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/SettingsChangedEvent.java b/src/main/java/net/md_5/bungee/api/event/SettingsChangedEvent.java new file mode 100644 index 0000000..be3a0de --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/SettingsChangedEvent.java @@ -0,0 +1,64 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Event; + +public class SettingsChangedEvent extends Event { + private final ProxiedPlayer player; + + @Generated + public SettingsChangedEvent(ProxiedPlayer player) { + this.player = player; + } + + @Generated + public ProxiedPlayer getPlayer() { + return this.player; + } + + @Generated + public String toString() { + return "SettingsChangedEvent(player=" + String.valueOf(this.getPlayer()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SettingsChangedEvent)) { + return false; + } else { + SettingsChangedEvent other = (SettingsChangedEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$player = this.getPlayer(); + Object other$player = other.getPlayer(); + if (this$player == null) { + if (other$player != null) { + return false; + } + } else if (!this$player.equals(other$player)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof SettingsChangedEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $player = this.getPlayer(); + result = result * 59 + ($player == null ? 43 : $player.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/TabCompleteEvent.java b/src/main/java/net/md_5/bungee/api/event/TabCompleteEvent.java new file mode 100644 index 0000000..648bdfa --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/TabCompleteEvent.java @@ -0,0 +1,101 @@ +package net.md_5.bungee.api.event; + +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.plugin.Cancellable; + +public class TabCompleteEvent extends TargetedEvent implements Cancellable { + private boolean cancelled; + private final String cursor; + private final List suggestions; + + public TabCompleteEvent(Connection sender, Connection receiver, String cursor, List suggestions) { + super(sender, receiver); + this.cursor = cursor; + this.suggestions = suggestions; + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public String getCursor() { + return this.cursor; + } + + @Generated + public List getSuggestions() { + return this.suggestions; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "TabCompleteEvent(super=" + var10000 + ", cancelled=" + this.isCancelled() + ", cursor=" + this.getCursor() + ", suggestions=" + String.valueOf(this.getSuggestions()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TabCompleteEvent)) { + return false; + } else { + TabCompleteEvent other = (TabCompleteEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$cursor = this.getCursor(); + Object other$cursor = other.getCursor(); + if (this$cursor == null) { + if (other$cursor != null) { + return false; + } + } else if (!this$cursor.equals(other$cursor)) { + return false; + } + + Object this$suggestions = this.getSuggestions(); + Object other$suggestions = other.getSuggestions(); + if (this$suggestions == null) { + if (other$suggestions != null) { + return false; + } + } else if (!this$suggestions.equals(other$suggestions)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TabCompleteEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $cursor = this.getCursor(); + result = result * 59 + ($cursor == null ? 43 : $cursor.hashCode()); + Object $suggestions = this.getSuggestions(); + result = result * 59 + ($suggestions == null ? 43 : $suggestions.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/TabCompleteResponseEvent.java b/src/main/java/net/md_5/bungee/api/event/TabCompleteResponseEvent.java new file mode 100644 index 0000000..451ef81 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/TabCompleteResponseEvent.java @@ -0,0 +1,82 @@ +package net.md_5.bungee.api.event; + +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.plugin.Cancellable; + +public class TabCompleteResponseEvent extends TargetedEvent implements Cancellable { + private boolean cancelled; + private final List suggestions; + + public TabCompleteResponseEvent(Connection sender, Connection receiver, List suggestions) { + super(sender, receiver); + this.suggestions = suggestions; + } + + @Generated + public boolean isCancelled() { + return this.cancelled; + } + + @Generated + public List getSuggestions() { + return this.suggestions; + } + + @Generated + public void setCancelled(boolean cancelled) { + this.cancelled = cancelled; + } + + @Generated + public String toString() { + String var10000 = super.toString(); + return "TabCompleteResponseEvent(super=" + var10000 + ", cancelled=" + this.isCancelled() + ", suggestions=" + String.valueOf(this.getSuggestions()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TabCompleteResponseEvent)) { + return false; + } else { + TabCompleteResponseEvent other = (TabCompleteResponseEvent)o; + if (!other.canEqual(this)) { + return false; + } else if (!super.equals(o)) { + return false; + } else if (this.isCancelled() != other.isCancelled()) { + return false; + } else { + Object this$suggestions = this.getSuggestions(); + Object other$suggestions = other.getSuggestions(); + if (this$suggestions == null) { + if (other$suggestions != null) { + return false; + } + } else if (!this$suggestions.equals(other$suggestions)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TabCompleteResponseEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = super.hashCode(); + result = result * 59 + (this.isCancelled() ? 79 : 97); + Object $suggestions = this.getSuggestions(); + result = result * 59 + ($suggestions == null ? 43 : $suggestions.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/event/TargetedEvent.java b/src/main/java/net/md_5/bungee/api/event/TargetedEvent.java new file mode 100644 index 0000000..fc6098f --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/event/TargetedEvent.java @@ -0,0 +1,84 @@ +package net.md_5.bungee.api.event; + +import lombok.Generated; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.plugin.Event; + +public abstract class TargetedEvent extends Event { + private final Connection sender; + private final Connection receiver; + + @Generated + public Connection getSender() { + return this.sender; + } + + @Generated + public Connection getReceiver() { + return this.receiver; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getSender()); + return "TargetedEvent(sender=" + var10000 + ", receiver=" + String.valueOf(this.getReceiver()) + ")"; + } + + @Generated + public TargetedEvent(Connection sender, Connection receiver) { + this.sender = sender; + this.receiver = receiver; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TargetedEvent)) { + return false; + } else { + TargetedEvent other = (TargetedEvent)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$sender = this.getSender(); + Object other$sender = other.getSender(); + if (this$sender == null) { + if (other$sender != null) { + return false; + } + } else if (!this$sender.equals(other$sender)) { + return false; + } + + Object this$receiver = this.getReceiver(); + Object other$receiver = other.getReceiver(); + if (this$receiver == null) { + if (other$receiver != null) { + return false; + } + } else if (!this$receiver.equals(other$receiver)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TargetedEvent; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $sender = this.getSender(); + result = result * 59 + ($sender == null ? 43 : $sender.hashCode()); + Object $receiver = this.getReceiver(); + result = result * 59 + ($receiver == null ? 43 : $receiver.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/Cancellable.java b/src/main/java/net/md_5/bungee/api/plugin/Cancellable.java new file mode 100644 index 0000000..4ae9b64 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/Cancellable.java @@ -0,0 +1,7 @@ +package net.md_5.bungee.api.plugin; + +public interface Cancellable { + boolean isCancelled(); + + void setCancelled(boolean var1); +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/Command.java b/src/main/java/net/md_5/bungee/api/plugin/Command.java new file mode 100644 index 0000000..f0b0ef7 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/Command.java @@ -0,0 +1,131 @@ +package net.md_5.bungee.api.plugin; + +import com.google.common.base.Preconditions; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.api.CommandSender; + +public abstract class Command { + private final String name; + private final String permission; + private final String[] aliases; + private String permissionMessage; + + public Command(String name) { + this(name, (String)null); + } + + public Command(String name, String permission, String... aliases) { + Preconditions.checkArgument(name != null, "name"); + this.name = name; + this.permission = permission; + this.aliases = aliases; + this.permissionMessage = null; + } + + public abstract void execute(CommandSender var1, String[] var2); + + public boolean hasPermission(CommandSender sender) { + return this.permission == null || this.permission.isEmpty() || sender.hasPermission(this.permission); + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public String getPermission() { + return this.permission; + } + + @Generated + public String[] getAliases() { + return this.aliases; + } + + @Generated + public String getPermissionMessage() { + return this.permissionMessage; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Command)) { + return false; + } else { + Command other = (Command)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$permission = this.getPermission(); + Object other$permission = other.getPermission(); + if (this$permission == null) { + if (other$permission != null) { + return false; + } + } else if (!this$permission.equals(other$permission)) { + return false; + } + + if (!Arrays.deepEquals(this.getAliases(), other.getAliases())) { + return false; + } else { + Object this$permissionMessage = this.getPermissionMessage(); + Object other$permissionMessage = other.getPermissionMessage(); + if (this$permissionMessage == null) { + if (other$permissionMessage != null) { + return false; + } + } else if (!this$permissionMessage.equals(other$permissionMessage)) { + return false; + } + + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Command; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $permission = this.getPermission(); + result = result * 59 + ($permission == null ? 43 : $permission.hashCode()); + result = result * 59 + Arrays.deepHashCode(this.getAliases()); + Object $permissionMessage = this.getPermissionMessage(); + result = result * 59 + ($permissionMessage == null ? 43 : $permissionMessage.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "Command(name=" + var10000 + ", permission=" + this.getPermission() + ", aliases=" + Arrays.deepToString(this.getAliases()) + ", permissionMessage=" + this.getPermissionMessage() + ")"; + } + + @Generated + protected void setPermissionMessage(String permissionMessage) { + this.permissionMessage = permissionMessage; + } +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/Event.java b/src/main/java/net/md_5/bungee/api/plugin/Event.java new file mode 100644 index 0000000..0ff7af0 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/Event.java @@ -0,0 +1,17 @@ +package net.md_5.bungee.api.plugin; + +import net.md_5.bungee.api.ProxyServer; + +public abstract class Event { + public void postCall() { + } + + public final boolean callEvent() { + ProxyServer.getInstance().getPluginManager().callEvent(this); + if (this instanceof Cancellable) { + return !((Cancellable)this).isCancelled(); + } else { + return true; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/LibraryLoader.java b/src/main/java/net/md_5/bungee/api/plugin/LibraryLoader.java new file mode 100644 index 0000000..7727a2d --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/LibraryLoader.java @@ -0,0 +1,104 @@ +package net.md_5.bungee.api.plugin; + +import java.io.File; +import java.net.MalformedURLException; +import java.net.URL; +import java.net.URLClassLoader; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.logging.Level; +import java.util.logging.Logger; +import org.apache.maven.repository.internal.MavenRepositorySystemUtils; +import org.eclipse.aether.DefaultRepositorySystemSession; +import org.eclipse.aether.RepositorySystem; +import org.eclipse.aether.artifact.Artifact; +import org.eclipse.aether.artifact.DefaultArtifact; +import org.eclipse.aether.collection.CollectRequest; +import org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory; +import org.eclipse.aether.graph.Dependency; +import org.eclipse.aether.graph.DependencyFilter; +import org.eclipse.aether.impl.DefaultServiceLocator; +import org.eclipse.aether.repository.LocalRepository; +import org.eclipse.aether.repository.RemoteRepository; +import org.eclipse.aether.resolution.ArtifactResult; +import org.eclipse.aether.resolution.DependencyRequest; +import org.eclipse.aether.resolution.DependencyResolutionException; +import org.eclipse.aether.resolution.DependencyResult; +import org.eclipse.aether.spi.connector.RepositoryConnectorFactory; +import org.eclipse.aether.spi.connector.transport.TransporterFactory; +import org.eclipse.aether.transfer.AbstractTransferListener; +import org.eclipse.aether.transfer.TransferCancelledException; +import org.eclipse.aether.transfer.TransferEvent; +import org.eclipse.aether.transport.http.HttpTransporterFactory; + +class LibraryLoader { + private static final String REPOSITORY_PROPERTY = "net.md_5.bungee.api.plugin.centralURL"; + private final Logger logger; + private final RepositorySystem repository; + private final DefaultRepositorySystemSession session; + private final List repositories; + + public LibraryLoader(final Logger logger) { + this.logger = logger; + DefaultServiceLocator locator = MavenRepositorySystemUtils.newServiceLocator(); + locator.addService(RepositoryConnectorFactory.class, BasicRepositoryConnectorFactory.class); + locator.addService(TransporterFactory.class, HttpTransporterFactory.class); + this.repository = (RepositorySystem)locator.getService(RepositorySystem.class); + this.session = MavenRepositorySystemUtils.newSession(); + this.session.setChecksumPolicy("fail"); + this.session.setLocalRepositoryManager(this.repository.newLocalRepositoryManager(this.session, new LocalRepository("libraries"))); + this.session.setTransferListener(new AbstractTransferListener() { + public void transferStarted(TransferEvent event) throws TransferCancelledException { + Logger var10000 = logger; + Level var10001 = Level.INFO; + String var10003 = event.getResource().getRepositoryUrl(); + var10000.log(var10001, "Downloading {0}", var10003 + event.getResource().getResourceName()); + } + }); + this.session.setSystemProperties(System.getProperties()); + this.session.setReadOnly(); + this.repositories = this.repository.newResolutionRepositories(this.session, Arrays.asList((new RemoteRepository.Builder("central", "default", System.getProperty("net.md_5.bungee.api.plugin.centralURL", "https://repo.maven.apache.org/maven2"))).build())); + } + + public ClassLoader createLoader(PluginDescription desc) { + if (desc.getLibraries().isEmpty()) { + return null; + } else { + this.logger.log(Level.INFO, "[{0}] Loading {1} libraries... please wait", new Object[]{desc.getName(), desc.getLibraries().size()}); + List dependencies = new ArrayList(); + + for(String library : desc.getLibraries()) { + Artifact artifact = new DefaultArtifact(library); + Dependency dependency = new Dependency(artifact, (String)null); + dependencies.add(dependency); + } + + DependencyResult result; + try { + result = this.repository.resolveDependencies(this.session, new DependencyRequest(new CollectRequest((Dependency)null, dependencies, this.repositories), (DependencyFilter)null)); + } catch (DependencyResolutionException ex) { + throw new RuntimeException("Error resolving libraries", ex); + } + + List jarFiles = new ArrayList(); + + for(ArtifactResult artifact : result.getArtifactResults()) { + File file = artifact.getArtifact().getFile(); + + URL url; + try { + url = file.toURI().toURL(); + } catch (MalformedURLException ex) { + throw new AssertionError(ex); + } + + jarFiles.add(url); + this.logger.log(Level.INFO, "[{0}] Loaded library {1}", new Object[]{desc.getName(), file}); + } + + URLClassLoader loader = new URLClassLoader((URL[])jarFiles.toArray(new URL[0])); + return loader; + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/Listener.java b/src/main/java/net/md_5/bungee/api/plugin/Listener.java new file mode 100644 index 0000000..13cd639 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/Listener.java @@ -0,0 +1,4 @@ +package net.md_5.bungee.api.plugin; + +public interface Listener { +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/Plugin.java b/src/main/java/net/md_5/bungee/api/plugin/Plugin.java new file mode 100644 index 0000000..5fef79a --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/Plugin.java @@ -0,0 +1,93 @@ +package net.md_5.bungee.api.plugin; + +import com.google.common.base.Preconditions; +import com.google.common.util.concurrent.ThreadFactoryBuilder; +import java.io.File; +import java.io.InputStream; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.logging.Logger; +import lombok.Generated; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.scheduler.GroupedThreadFactory; +import org.jetbrains.annotations.ApiStatus.Internal; +import org.slf4j.LoggerFactory; + +public class Plugin { + private PluginDescription description; + private ProxyServer proxy; + private File file; + private Logger logger; + private ExecutorService service; + + public Plugin() { + ClassLoader classLoader = this.getClass().getClassLoader(); + Preconditions.checkState(classLoader instanceof PluginClassloader, "Plugin requires " + PluginClassloader.class.getName()); + ((PluginClassloader)classLoader).init(this); + } + + protected Plugin(ProxyServer proxy, PluginDescription description) { + ClassLoader classLoader = this.getClass().getClassLoader(); + Preconditions.checkState(!(classLoader instanceof PluginClassloader), "Cannot use initialization constructor at runtime"); + } + + public org.slf4j.Logger getSLF4JLogger() { + return LoggerFactory.getLogger(this.logger.getName()); + } + + public void onLoad() { + } + + public void onEnable() { + } + + public void onDisable() { + } + + public final File getDataFolder() { + return new File(this.getProxy().getPluginsFolder(), this.getDescription().getName()); + } + + public final InputStream getResourceAsStream(String name) { + return this.getClass().getClassLoader().getResourceAsStream(name); + } + + final void init(ProxyServer proxy, PluginDescription description) { + this.proxy = proxy; + this.description = description; + this.file = description.getFile(); + this.logger = Logger.getLogger(description.getName()); + } + + /** @deprecated */ + @Deprecated + @Internal + public ExecutorService getExecutorService() { + if (this.service == null) { + String name = this.getDescription() == null ? "unknown" : this.getDescription().getName(); + this.service = Executors.newCachedThreadPool((new ThreadFactoryBuilder()).setNameFormat(name + " Pool Thread #%1$d").setThreadFactory(new GroupedThreadFactory(this, name)).build()); + } + + return this.service; + } + + @Generated + public PluginDescription getDescription() { + return this.description; + } + + @Generated + public ProxyServer getProxy() { + return this.proxy; + } + + @Generated + public File getFile() { + return this.file; + } + + @Generated + public Logger getLogger() { + return this.logger; + } +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/PluginClassloader.java b/src/main/java/net/md_5/bungee/api/plugin/PluginClassloader.java new file mode 100644 index 0000000..67602be --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/PluginClassloader.java @@ -0,0 +1,182 @@ +package net.md_5.bungee.api.plugin; + +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import com.google.common.io.ByteStreams; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; +import java.net.URLClassLoader; +import java.security.CodeSigner; +import java.security.CodeSource; +import java.util.Map; +import java.util.Set; +import java.util.concurrent.CopyOnWriteArraySet; +import java.util.jar.JarEntry; +import java.util.jar.JarFile; +import java.util.jar.Manifest; +import java.util.logging.Level; +import java.util.logging.Logger; +import lombok.Generated; +import net.md_5.bungee.api.ProxyServer; +import org.objectweb.asm.ClassReader; +import org.objectweb.asm.ClassWriter; +import org.objectweb.asm.commons.ClassRemapper; +import org.objectweb.asm.commons.SimpleRemapper; + +final class PluginClassloader extends URLClassLoader { + private static final Set allLoaders = new CopyOnWriteArraySet(); + private final ProxyServer proxy; + private final PluginDescription desc; + private final JarFile jar; + private final Manifest manifest; + private final URL url; + private final ClassLoader libraryLoader; + private Plugin plugin; + private static final Map MAPPINGS; + + public PluginClassloader(ProxyServer proxy, PluginDescription desc, File file, ClassLoader libraryLoader) throws IOException { + super(new URL[]{file.toURI().toURL()}); + this.proxy = proxy; + this.desc = desc; + this.jar = new JarFile(file); + this.manifest = this.jar.getManifest(); + this.url = file.toURI().toURL(); + this.libraryLoader = libraryLoader; + allLoaders.add(this); + } + + protected Class loadClass(String name, boolean resolve) throws ClassNotFoundException { + return this.loadClass0(name, resolve, true, true); + } + + private Class loadClass0(String name, boolean resolve, boolean checkOther, boolean checkLibraries) throws ClassNotFoundException { + try { + Class result = super.loadClass(name, resolve); + if (checkOther || result.getClassLoader() == this) { + return result; + } + } catch (ClassNotFoundException var10) { + } + + if (checkLibraries && this.libraryLoader != null) { + try { + return this.libraryLoader.loadClass(name); + } catch (ClassNotFoundException var9) { + } + } + + if (checkOther) { + for(PluginClassloader loader : allLoaders) { + if (loader != this) { + try { + return loader.loadClass0(name, resolve, false, this.proxy.getPluginManager().isTransitiveDepend(this.desc, loader.desc)); + } catch (ClassNotFoundException var8) { + } + } + } + } + + throw new ClassNotFoundException(name); + } + + protected Class findClass(String name) throws ClassNotFoundException { + String path = name.replace('.', '/').concat(".class"); + JarEntry entry = this.jar.getJarEntry(path); + if (entry != null) { + byte[] classBytes; + try { + InputStream is = this.jar.getInputStream(entry); + + try { + classBytes = ByteStreams.toByteArray(is); + } catch (Throwable var9) { + if (is != null) { + try { + is.close(); + } catch (Throwable var8) { + var9.addSuppressed(var8); + } + } + + throw var9; + } + + if (is != null) { + is.close(); + } + } catch (IOException ex) { + throw new ClassNotFoundException(name, ex); + } + + try { + classBytes = remap(classBytes); + } catch (Exception ex) { + Logger logger = this.plugin != null ? this.plugin.getLogger() : this.proxy.getLogger(); + logger.log(Level.SEVERE, "Error trying to remap class " + path, ex); + } + + int dot = name.lastIndexOf(46); + if (dot != -1) { + String pkgName = name.substring(0, dot); + if (this.getPackage(pkgName) == null) { + try { + if (this.manifest != null) { + this.definePackage(pkgName, this.manifest, this.url); + } else { + this.definePackage(pkgName, (String)null, (String)null, (String)null, (String)null, (String)null, (String)null, (URL)null); + } + } catch (IllegalArgumentException var10) { + if (this.getPackage(pkgName) == null) { + throw new IllegalStateException("Cannot find package " + pkgName); + } + } + } + } + + CodeSigner[] signers = entry.getCodeSigners(); + CodeSource source = new CodeSource(this.url, signers); + return this.defineClass(name, classBytes, 0, classBytes.length, source); + } else { + return super.findClass(name); + } + } + + private static byte[] remap(byte[] b) { + ClassReader cr = new ClassReader(b); + ClassWriter cw = new ClassWriter(cr, 0); + cr.accept(new ClassRemapper(cw, new SimpleRemapper(MAPPINGS)), 0); + return cw.toByteArray(); + } + + public void close() throws IOException { + try { + super.close(); + } finally { + this.jar.close(); + } + + } + + void init(Plugin plugin) { + Preconditions.checkArgument(plugin != null, "plugin"); + Preconditions.checkArgument(plugin.getClass().getClassLoader() == this, "Plugin has incorrect ClassLoader"); + if (this.plugin != null) { + throw new IllegalArgumentException("Plugin already initialized!"); + } else { + this.plugin = plugin; + plugin.init(this.proxy, this.desc); + } + } + + @Generated + public String toString() { + return "PluginClassloader(desc=" + String.valueOf(this.desc) + ")"; + } + + static { + ClassLoader.registerAsParallelCapable(); + MAPPINGS = ImmutableMap.of("net/md_5/bungee/protocol/ChatChain", "net/md_5/bungee/protocol/data/ChatChain", "net/md_5/bungee/protocol/Location", "net/md_5/bungee/protocol/data/Location", "net/md_5/bungee/protocol/NumberFormat", "net/md_5/bungee/protocol/data/NumberFormat", "net/md_5/bungee/protocol/PlayerPublicKey", "net/md_5/bungee/protocol/data/PlayerPublicKey", "net/md_5/bungee/protocol/Property", "net/md_5/bungee/protocol/data/Property", "net/md_5/bungee/protocol/SeenMessages", "net/md_5/bungee/protocol/data/SeenMessages", "net/md_5/bungee/protocol/Either", "net/md_5/bungee/protocol/util/Either", "net/md_5/bungee/protocol/TagUtil", "net/md_5/bungee/protocol/util/TagUtil"); + } +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/PluginDescription.java b/src/main/java/net/md_5/bungee/api/plugin/PluginDescription.java new file mode 100644 index 0000000..c0d941e --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/PluginDescription.java @@ -0,0 +1,269 @@ +package net.md_5.bungee.api.plugin; + +import java.io.File; +import java.util.HashSet; +import java.util.LinkedList; +import java.util.List; +import java.util.Set; +import lombok.Generated; + +public class PluginDescription { + private String name; + private String main; + private String version; + private String author; + private Set depends = new HashSet(); + private Set softDepends = new HashSet(); + private File file = null; + private String description = null; + private List libraries = new LinkedList(); + + @Generated + public String getName() { + return this.name; + } + + @Generated + public String getMain() { + return this.main; + } + + @Generated + public String getVersion() { + return this.version; + } + + @Generated + public String getAuthor() { + return this.author; + } + + @Generated + public Set getDepends() { + return this.depends; + } + + @Generated + public Set getSoftDepends() { + return this.softDepends; + } + + @Generated + public File getFile() { + return this.file; + } + + @Generated + public String getDescription() { + return this.description; + } + + @Generated + public List getLibraries() { + return this.libraries; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setMain(String main) { + this.main = main; + } + + @Generated + public void setVersion(String version) { + this.version = version; + } + + @Generated + public void setAuthor(String author) { + this.author = author; + } + + @Generated + public void setDepends(Set depends) { + this.depends = depends; + } + + @Generated + public void setSoftDepends(Set softDepends) { + this.softDepends = softDepends; + } + + @Generated + public void setFile(File file) { + this.file = file; + } + + @Generated + public void setDescription(String description) { + this.description = description; + } + + @Generated + public void setLibraries(List libraries) { + this.libraries = libraries; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PluginDescription)) { + return false; + } else { + PluginDescription other = (PluginDescription)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$main = this.getMain(); + Object other$main = other.getMain(); + if (this$main == null) { + if (other$main != null) { + return false; + } + } else if (!this$main.equals(other$main)) { + return false; + } + + Object this$version = this.getVersion(); + Object other$version = other.getVersion(); + if (this$version == null) { + if (other$version != null) { + return false; + } + } else if (!this$version.equals(other$version)) { + return false; + } + + Object this$author = this.getAuthor(); + Object other$author = other.getAuthor(); + if (this$author == null) { + if (other$author != null) { + return false; + } + } else if (!this$author.equals(other$author)) { + return false; + } + + Object this$depends = this.getDepends(); + Object other$depends = other.getDepends(); + if (this$depends == null) { + if (other$depends != null) { + return false; + } + } else if (!this$depends.equals(other$depends)) { + return false; + } + + Object this$softDepends = this.getSoftDepends(); + Object other$softDepends = other.getSoftDepends(); + if (this$softDepends == null) { + if (other$softDepends != null) { + return false; + } + } else if (!this$softDepends.equals(other$softDepends)) { + return false; + } + + Object this$file = this.getFile(); + Object other$file = other.getFile(); + if (this$file == null) { + if (other$file != null) { + return false; + } + } else if (!this$file.equals(other$file)) { + return false; + } + + Object this$description = this.getDescription(); + Object other$description = other.getDescription(); + if (this$description == null) { + if (other$description != null) { + return false; + } + } else if (!this$description.equals(other$description)) { + return false; + } + + Object this$libraries = this.getLibraries(); + Object other$libraries = other.getLibraries(); + if (this$libraries == null) { + if (other$libraries != null) { + return false; + } + } else if (!this$libraries.equals(other$libraries)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PluginDescription; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $main = this.getMain(); + result = result * 59 + ($main == null ? 43 : $main.hashCode()); + Object $version = this.getVersion(); + result = result * 59 + ($version == null ? 43 : $version.hashCode()); + Object $author = this.getAuthor(); + result = result * 59 + ($author == null ? 43 : $author.hashCode()); + Object $depends = this.getDepends(); + result = result * 59 + ($depends == null ? 43 : $depends.hashCode()); + Object $softDepends = this.getSoftDepends(); + result = result * 59 + ($softDepends == null ? 43 : $softDepends.hashCode()); + Object $file = this.getFile(); + result = result * 59 + ($file == null ? 43 : $file.hashCode()); + Object $description = this.getDescription(); + result = result * 59 + ($description == null ? 43 : $description.hashCode()); + Object $libraries = this.getLibraries(); + result = result * 59 + ($libraries == null ? 43 : $libraries.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "PluginDescription(name=" + var10000 + ", main=" + this.getMain() + ", version=" + this.getVersion() + ", author=" + this.getAuthor() + ", depends=" + String.valueOf(this.getDepends()) + ", softDepends=" + String.valueOf(this.getSoftDepends()) + ", file=" + String.valueOf(this.getFile()) + ", description=" + this.getDescription() + ", libraries=" + String.valueOf(this.getLibraries()) + ")"; + } + + @Generated + public PluginDescription() { + } + + @Generated + public PluginDescription(String name, String main, String version, String author, Set depends, Set softDepends, File file, String description, List libraries) { + this.name = name; + this.main = main; + this.version = version; + this.author = author; + this.depends = depends; + this.softDepends = softDepends; + this.file = file; + this.description = description; + this.libraries = libraries; + } +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/PluginLogger.java b/src/main/java/net/md_5/bungee/api/plugin/PluginLogger.java new file mode 100644 index 0000000..29ce9eb --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/PluginLogger.java @@ -0,0 +1,20 @@ +package net.md_5.bungee.api.plugin; + +import java.util.logging.LogRecord; +import java.util.logging.Logger; + +public class PluginLogger extends Logger { + private final String pluginName; + + protected PluginLogger(Plugin plugin) { + super(plugin.getClass().getCanonicalName(), (String)null); + this.pluginName = "[" + plugin.getDescription().getName() + "] "; + this.setParent(plugin.getProxy().getLogger()); + } + + public void log(LogRecord logRecord) { + String var10001 = this.pluginName; + logRecord.setMessage(var10001 + logRecord.getMessage()); + super.log(logRecord); + } +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java b/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java new file mode 100644 index 0000000..e48cc81 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java @@ -0,0 +1,496 @@ +package net.md_5.bungee.api.plugin; + +import com.google.common.base.Preconditions; +import com.google.common.collect.ArrayListMultimap; +import com.google.common.collect.Multimap; +import com.google.common.eventbus.Subscribe; +import com.google.common.graph.GraphBuilder; +import com.google.common.graph.Graphs; +import com.google.common.graph.MutableGraph; +import io.github.waterfallmc.waterfall.event.ProxyExceptionEvent; +import io.github.waterfallmc.waterfall.exception.ProxyCommandException; +import io.github.waterfallmc.waterfall.exception.ProxyEventException; +import io.github.waterfallmc.waterfall.exception.ProxyPluginEnableDisableException; +import io.github.waterfallmc.waterfall.exception.ProxyTabCompleteException; +import java.io.File; +import java.io.InputStream; +import java.lang.reflect.Method; +import java.net.URLClassLoader; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.Set; +import java.util.Stack; +import java.util.concurrent.locks.Lock; +import java.util.concurrent.locks.ReadWriteLock; +import java.util.concurrent.locks.ReentrantLock; +import java.util.concurrent.locks.ReentrantReadWriteLock; +import java.util.jar.JarEntry; +import java.util.jar.JarFile; +import java.util.logging.Handler; +import java.util.logging.Level; +import lombok.Generated; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.event.EventBus; +import net.md_5.bungee.event.EventHandlerMethod; +import org.yaml.snakeyaml.LoaderOptions; +import org.yaml.snakeyaml.Yaml; +import org.yaml.snakeyaml.constructor.Constructor; +import org.yaml.snakeyaml.introspector.PropertyUtils; + +public final class PluginManager { + private final ProxyServer proxy; + private final Yaml yaml; + private final EventBus eventBus; + private final Map plugins = new LinkedHashMap(); + private final MutableGraph dependencyGraph = GraphBuilder.directed().build(); + private final LibraryLoader libraryLoader; + private final Map commandMap = new HashMap(); + private Map toLoad = new HashMap(); + private final Multimap commandsByPlugin = ArrayListMultimap.create(); + private final Multimap listenersByPlugin = ArrayListMultimap.create(); + private final HashMap pluginloaders = new HashMap(); + private final ReadWriteLock commandsLock = new ReentrantReadWriteLock(); + private final Lock listenersLock = new ReentrantLock(); + + public PluginManager(ProxyServer proxy) { + this.proxy = proxy; + Constructor yamlConstructor = new Constructor(new LoaderOptions()); + PropertyUtils propertyUtils = yamlConstructor.getPropertyUtils(); + propertyUtils.setSkipMissingProperties(true); + yamlConstructor.setPropertyUtils(propertyUtils); + this.yaml = new Yaml(yamlConstructor); + this.eventBus = new EventBus(proxy.getLogger()); + LibraryLoader libraryLoader = null; + + try { + libraryLoader = new LibraryLoader(proxy.getLogger()); + } catch (NoClassDefFoundError var6) { + proxy.getLogger().warning("Could not initialize LibraryLoader (missing dependencies?)"); + } + + this.libraryLoader = libraryLoader; + } + + public void registerCommand(Plugin plugin, Command command) { + this.commandsLock.writeLock().lock(); + + try { + this.commandMap.put(command.getName().toLowerCase(Locale.ROOT), command); + + for(String alias : command.getAliases()) { + this.commandMap.put(alias.toLowerCase(Locale.ROOT), command); + } + + this.commandsByPlugin.put(plugin, command); + } finally { + this.commandsLock.writeLock().unlock(); + } + + } + + public void unregisterCommand(Command command) { + this.commandsLock.writeLock().lock(); + + try { + while(this.commandMap.values().remove(command)) { + } + + this.commandsByPlugin.values().remove(command); + } finally { + this.commandsLock.writeLock().unlock(); + } + + } + + public void unregisterCommands(Plugin plugin) { + this.commandsLock.writeLock().lock(); + + try { + Iterator it = this.commandsByPlugin.get(plugin).iterator(); + + while(it.hasNext()) { + Command command = (Command)it.next(); + + while(this.commandMap.values().remove(command)) { + } + + it.remove(); + } + } finally { + this.commandsLock.writeLock().unlock(); + } + + } + + private Command getCommandIfEnabled(String commandName, CommandSender sender) { + String commandLower = commandName.toLowerCase(Locale.ROOT); + if (sender instanceof ProxiedPlayer && this.proxy.getDisabledCommands().contains(commandLower)) { + return null; + } else { + this.commandsLock.readLock().lock(); + + Command var4; + try { + var4 = (Command)this.commandMap.get(commandLower); + } finally { + this.commandsLock.readLock().unlock(); + } + + return var4; + } + } + + public boolean isExecutableCommand(String commandName, CommandSender sender) { + return this.getCommandIfEnabled(commandName, sender) != null; + } + + public boolean dispatchCommand(CommandSender sender, String commandLine) { + return this.dispatchCommand(sender, commandLine, (List)null); + } + + public boolean dispatchCommand(CommandSender sender, String commandLine, List tabResults) { + String[] split = commandLine.split(" ", -1); + if (split.length != 0 && !split[0].isEmpty()) { + Command command = this.getCommandIfEnabled(split[0], sender); + if (command == null) { + return false; + } else if (!command.hasPermission(sender)) { + if (tabResults == null) { + sender.sendMessage(command.getPermissionMessage() == null ? this.proxy.getTranslation("no_permission") : command.getPermissionMessage()); + } + + return true; + } else { + String[] args = (String[])Arrays.copyOfRange(split, 1, split.length); + if (tabResults == null) { + try { + if (this.proxy.getConfig().isLogCommands()) { + this.proxy.getLogger().log(Level.INFO, "{0} executed command: /{1}", new Object[]{sender.getName(), commandLine}); + } + + command.execute(sender, args); + } catch (Exception ex) { + sender.sendMessage(String.valueOf(ChatColor.RED) + "An internal error occurred whilst executing this command, please check the console log for details."); + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Error in dispatching command", ex); + this.callEvent(new ProxyExceptionEvent(new ProxyCommandException(ex, command, sender, args))); + } + } else if (commandLine.contains(" ") && command instanceof TabExecutor) { + try { + for(String s : ((TabExecutor)command).onTabComplete(sender, args)) { + tabResults.add(s); + } + } catch (Exception ex) { + sender.sendMessage(String.valueOf(ChatColor.RED) + "An internal error occurred whilst executing this command, please check the console log for details."); + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Error in dispatching command: " + command.getName(), ex); + this.callEvent(new ProxyExceptionEvent(new ProxyTabCompleteException(ex, command, sender, args))); + } + } + + return true; + } + } else { + return false; + } + } + + public List tabCompleteCommand(CommandSender sender, String commandLine) { + List suggestions = new ArrayList(); + if (commandLine.indexOf(32) == -1) { + for(Command command : this.commandMap.values()) { + if (command.getName().startsWith(commandLine)) { + String permission = command.getPermission(); + if (permission == null || permission.isEmpty() || sender.hasPermission(permission)) { + suggestions.add(command.getName()); + } + } + } + } else { + this.dispatchCommand(sender, commandLine, suggestions); + } + + return suggestions; + } + + public Collection getPlugins() { + return this.plugins.values(); + } + + public Plugin getPlugin(String name) { + return (Plugin)this.plugins.get(name); + } + + public void unloadPlugin(Plugin plugin) { + plugin.onDisable(); + this.unregisterListeners(plugin); + this.unregisterCommands(plugin); + this.proxy.getScheduler().cancel(plugin); + + for(Handler handler : plugin.getLogger().getHandlers()) { + handler.close(); + } + + try { + ((URLClassLoader)this.pluginloaders.get(plugin.getDescription().getName())).close(); + } catch (Exception exception) { + exception.printStackTrace(); + } + + if (this.plugins.containsKey(plugin.getDescription().getName())) { + this.plugins.remove(plugin.getDescription().getName()); + } + + if (this.pluginloaders.containsKey(plugin.getDescription().getName())) { + this.pluginloaders.remove(plugin.getDescription().getName()); + } + + } + + public void loadPlugins() { + Map pluginStatuses = new HashMap(); + + for(Map.Entry entry : this.toLoad.entrySet()) { + PluginDescription plugin = (PluginDescription)entry.getValue(); + if (!this.enablePlugin(pluginStatuses, new Stack(), plugin)) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Failed to enable {0}", entry.getKey()); + } + } + + this.toLoad.clear(); + this.toLoad = null; + } + + public void enablePlugins() { + for(Plugin plugin : this.plugins.values()) { + try { + plugin.onEnable(); + ProxyServer.getInstance().getLogger().log(Level.INFO, "Enabled plugin {0} version {1} by {2}", new Object[]{plugin.getDescription().getName(), plugin.getDescription().getVersion(), plugin.getDescription().getAuthor()}); + } catch (Throwable t) { + String msg = "Exception encountered when loading plugin: " + plugin.getDescription().getName(); + ProxyServer.getInstance().getLogger().log(Level.WARNING, msg, t); + this.callEvent(new ProxyExceptionEvent(new ProxyPluginEnableDisableException(msg, t, plugin))); + } + } + + } + + private boolean enablePlugin(Map pluginStatuses, Stack dependStack, PluginDescription plugin) { + if (pluginStatuses.containsKey(plugin)) { + return (Boolean)pluginStatuses.get(plugin); + } else { + Set dependencies = new HashSet(); + dependencies.addAll(plugin.getDepends()); + dependencies.addAll(plugin.getSoftDepends()); + boolean status = true; + + for(String dependName : dependencies) { + PluginDescription depend = (PluginDescription)this.toLoad.get(dependName); + Boolean dependStatus = depend != null ? (Boolean)pluginStatuses.get(depend) : Boolean.FALSE; + if (dependStatus == null) { + if (dependStack.contains(depend)) { + StringBuilder dependencyGraph = new StringBuilder(); + + for(PluginDescription element : dependStack) { + dependencyGraph.append(element.getName()).append(" -> "); + } + + dependencyGraph.append(plugin.getName()).append(" -> ").append(dependName); + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Circular dependency detected: {0}", dependencyGraph); + status = false; + } else { + dependStack.push(plugin); + dependStatus = this.enablePlugin(pluginStatuses, dependStack, depend); + dependStack.pop(); + } + } + + if (dependStatus == Boolean.FALSE && plugin.getDepends().contains(dependName)) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "{0} (required by {1}) is unavailable", new Object[]{String.valueOf(dependName), plugin.getName()}); + status = false; + } + + this.dependencyGraph.putEdge(plugin.getName(), dependName); + if (!status) { + break; + } + } + + if (status) { + try { + URLClassLoader loader = new PluginClassloader(this.proxy, plugin, plugin.getFile(), this.libraryLoader != null ? this.libraryLoader.createLoader(plugin) : null); + Class main = loader.loadClass(plugin.getMain()); + Plugin clazz = (Plugin)main.getDeclaredConstructor().newInstance(); + this.plugins.put(plugin.getName(), clazz); + this.pluginloaders.put(plugin.getName(), loader); + clazz.onLoad(); + ProxyServer.getInstance().getLogger().log(Level.INFO, "Loaded plugin {0} version {1} by {2}", new Object[]{plugin.getName(), plugin.getVersion(), plugin.getAuthor()}); + } catch (Throwable t) { + this.proxy.getLogger().log(Level.WARNING, "Error loading plugin " + plugin.getName(), t); + } + } + + pluginStatuses.put(plugin, status); + return status; + } + } + + public void detectPlugins(File folder) { + Preconditions.checkNotNull(folder, "folder"); + Preconditions.checkArgument(folder.isDirectory(), "Must load from a directory"); + + for(File file : folder.listFiles()) { + if (file.isFile() && file.getName().endsWith(".jar")) { + try { + JarFile jar = new JarFile(file); + + try { + JarEntry pdf = jar.getJarEntry("bungee.yml"); + if (pdf == null) { + pdf = jar.getJarEntry("plugin.yml"); + } + + Preconditions.checkNotNull(pdf, "Plugin must have a plugin.yml or bungee.yml"); + InputStream in = jar.getInputStream(pdf); + + try { + PluginDescription desc = (PluginDescription)this.yaml.loadAs(in, PluginDescription.class); + Preconditions.checkNotNull(desc.getName(), "Plugin from %s has no name", file); + Preconditions.checkNotNull(desc.getMain(), "Plugin from %s has no main", file); + desc.setFile(file); + this.toLoad.put(desc.getName(), desc); + } catch (Throwable var13) { + if (in != null) { + try { + in.close(); + } catch (Throwable var12) { + var13.addSuppressed(var12); + } + } + + throw var13; + } + + if (in != null) { + in.close(); + } + } catch (Throwable var14) { + try { + jar.close(); + } catch (Throwable var11) { + var14.addSuppressed(var11); + } + + throw var14; + } + + jar.close(); + } catch (Exception ex) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Could not load plugin from file " + String.valueOf(file), ex); + } + } + } + + } + + public T callEvent(T event) { + Preconditions.checkNotNull(event, "event"); + long start = System.nanoTime(); + this.eventBus.post(event, this::handleEventException); + event.postCall(); + long elapsed = System.nanoTime() - start; + if (elapsed > 250000000L) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Event {0} took {1}ms to process!", new Object[]{event, elapsed / 1000000L}); + } + + return event; + } + + private void handleEventException(String msg, T event, EventHandlerMethod method, Throwable ex) { + if (!(event instanceof ProxyExceptionEvent)) { + this.callEvent(new ProxyExceptionEvent(new ProxyEventException(msg, ex, (Listener)method.getListener(), event))); + } + + } + + public void registerListener(Plugin plugin, Listener listener) { + this.listenersLock.lock(); + + try { + for(Method method : listener.getClass().getDeclaredMethods()) { + Preconditions.checkArgument(!method.isAnnotationPresent(Subscribe.class), "Listener %s has registered using deprecated subscribe annotation! Please update to @EventHandler.", listener); + } + + this.eventBus.register(listener); + this.listenersByPlugin.put(plugin, listener); + } finally { + this.listenersLock.unlock(); + } + + } + + public void unregisterListener(Listener listener) { + this.listenersLock.lock(); + + try { + this.eventBus.unregister(listener); + this.listenersByPlugin.values().remove(listener); + } finally { + this.listenersLock.unlock(); + } + + } + + public void unregisterListeners(Plugin plugin) { + this.listenersLock.lock(); + + try { + Iterator it = this.listenersByPlugin.get(plugin).iterator(); + + while(it.hasNext()) { + this.eventBus.unregister(it.next()); + it.remove(); + } + } finally { + this.listenersLock.unlock(); + } + + } + + public Collection> getCommands() { + this.commandsLock.readLock().lock(); + + Collection var1; + try { + var1 = Collections.unmodifiableCollection(this.commandMap.entrySet()); + } finally { + this.commandsLock.readLock().unlock(); + } + + return var1; + } + + boolean isTransitiveDepend(PluginDescription plugin, PluginDescription depend) { + Preconditions.checkArgument(plugin != null, "plugin"); + Preconditions.checkArgument(depend != null, "depend"); + return this.dependencyGraph.nodes().contains(plugin.getName()) && Graphs.reachableNodes(this.dependencyGraph, plugin.getName()).contains(depend.getName()); + } + + @Generated + public PluginManager(ProxyServer proxy, Yaml yaml, EventBus eventBus, LibraryLoader libraryLoader) { + this.proxy = proxy; + this.yaml = yaml; + this.eventBus = eventBus; + this.libraryLoader = libraryLoader; + } +} diff --git a/src/main/java/net/md_5/bungee/api/plugin/TabExecutor.java b/src/main/java/net/md_5/bungee/api/plugin/TabExecutor.java new file mode 100644 index 0000000..093c79c --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/plugin/TabExecutor.java @@ -0,0 +1,7 @@ +package net.md_5.bungee.api.plugin; + +import net.md_5.bungee.api.CommandSender; + +public interface TabExecutor { + Iterable onTabComplete(CommandSender var1, String[] var2); +} diff --git a/src/main/java/net/md_5/bungee/api/scheduler/GroupedThreadFactory.java b/src/main/java/net/md_5/bungee/api/scheduler/GroupedThreadFactory.java new file mode 100644 index 0000000..2c01f43 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/scheduler/GroupedThreadFactory.java @@ -0,0 +1,75 @@ +package net.md_5.bungee.api.scheduler; + +import java.util.concurrent.ThreadFactory; +import lombok.Generated; +import net.md_5.bungee.api.plugin.Plugin; + +/** @deprecated */ +@Deprecated +public class GroupedThreadFactory implements ThreadFactory { + private final ThreadGroup group; + + public GroupedThreadFactory(Plugin plugin, String name) { + this.group = new BungeeGroup(name); + } + + public Thread newThread(Runnable r) { + return new Thread(this.group, r); + } + + @Generated + public ThreadGroup getGroup() { + return this.group; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof GroupedThreadFactory)) { + return false; + } else { + GroupedThreadFactory other = (GroupedThreadFactory)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$group = this.getGroup(); + Object other$group = other.getGroup(); + if (this$group == null) { + if (other$group != null) { + return false; + } + } else if (!this$group.equals(other$group)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof GroupedThreadFactory; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $group = this.getGroup(); + result = result * 59 + ($group == null ? 43 : $group.hashCode()); + return result; + } + + @Generated + public String toString() { + return "GroupedThreadFactory(group=" + String.valueOf(this.getGroup()) + ")"; + } + + public static final class BungeeGroup extends ThreadGroup { + private BungeeGroup(String name) { + super(name); + } + } +} diff --git a/src/main/java/net/md_5/bungee/api/scheduler/ScheduledTask.java b/src/main/java/net/md_5/bungee/api/scheduler/ScheduledTask.java new file mode 100644 index 0000000..5f4b3ac --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/scheduler/ScheduledTask.java @@ -0,0 +1,13 @@ +package net.md_5.bungee.api.scheduler; + +import net.md_5.bungee.api.plugin.Plugin; + +public interface ScheduledTask { + int getId(); + + Plugin getOwner(); + + Runnable getTask(); + + void cancel(); +} diff --git a/src/main/java/net/md_5/bungee/api/scheduler/TaskScheduler.java b/src/main/java/net/md_5/bungee/api/scheduler/TaskScheduler.java new file mode 100644 index 0000000..d65bbdb --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/scheduler/TaskScheduler.java @@ -0,0 +1,25 @@ +package net.md_5.bungee.api.scheduler; + +import java.util.concurrent.ExecutorService; +import java.util.concurrent.TimeUnit; +import net.md_5.bungee.api.plugin.Plugin; + +public interface TaskScheduler { + void cancel(int var1); + + void cancel(ScheduledTask var1); + + int cancel(Plugin var1); + + ScheduledTask runAsync(Plugin var1, Runnable var2); + + ScheduledTask schedule(Plugin var1, Runnable var2, long var3, TimeUnit var5); + + ScheduledTask schedule(Plugin var1, Runnable var2, long var3, long var5, TimeUnit var7); + + Unsafe unsafe(); + + public interface Unsafe { + ExecutorService getExecutorService(Plugin var1); + } +} diff --git a/src/main/java/net/md_5/bungee/api/score/Objective.java b/src/main/java/net/md_5/bungee/api/score/Objective.java new file mode 100644 index 0000000..519b87d --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/score/Objective.java @@ -0,0 +1,111 @@ +package net.md_5.bungee.api.score; + +import lombok.Generated; + +public class Objective { + private final String name; + private String value; + private String type; + + @Generated + public String getName() { + return this.name; + } + + @Generated + public String getValue() { + return this.value; + } + + @Generated + public String getType() { + return this.type; + } + + @Generated + public void setValue(String value) { + this.value = value; + } + + @Generated + public void setType(String type) { + this.type = type; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Objective)) { + return false; + } else { + Objective other = (Objective)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + Object this$type = this.getType(); + Object other$type = other.getType(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Objective; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + Object $type = this.getType(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "Objective(name=" + var10000 + ", value=" + this.getValue() + ", type=" + this.getType() + ")"; + } + + @Generated + public Objective(String name, String value, String type) { + this.name = name; + this.value = value; + this.type = type; + } +} diff --git a/src/main/java/net/md_5/bungee/api/score/Position.java b/src/main/java/net/md_5/bungee/api/score/Position.java new file mode 100644 index 0000000..c8da8f5 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/score/Position.java @@ -0,0 +1,23 @@ +package net.md_5.bungee.api.score; + +public enum Position { + LIST, + SIDEBAR, + BELOW, + SIDEBAR_BLACK, + SIDEBAR_DARK_BLUE, + SIDEBAR_DARK_GREEN, + SIDEBAR_DARK_AQUA, + SIDEBAR_DARK_RED, + SIDEBAR_DARK_PURPLE, + SIDEBAR_GOLD, + SIDEBAR_GRAY, + SIDEBAR_DARK_GRAY, + SIDEBAR_BLUE, + SIDEBAR_GREEN, + SIDEBAR_AQUA, + SIDEBAR_RED, + SIDEBAR_LIGHT_PURPLE, + SIDEBAR_YELLOW, + SIDEBAR_WHITE; +} diff --git a/src/main/java/net/md_5/bungee/api/score/Score.java b/src/main/java/net/md_5/bungee/api/score/Score.java new file mode 100644 index 0000000..377ba9e --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/score/Score.java @@ -0,0 +1,92 @@ +package net.md_5.bungee.api.score; + +import lombok.Generated; + +public class Score { + private final String itemName; + private final String scoreName; + private final int value; + + @Generated + public Score(String itemName, String scoreName, int value) { + this.itemName = itemName; + this.scoreName = scoreName; + this.value = value; + } + + @Generated + public String getItemName() { + return this.itemName; + } + + @Generated + public String getScoreName() { + return this.scoreName; + } + + @Generated + public int getValue() { + return this.value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Score)) { + return false; + } else { + Score other = (Score)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getValue() != other.getValue()) { + return false; + } else { + Object this$itemName = this.getItemName(); + Object other$itemName = other.getItemName(); + if (this$itemName == null) { + if (other$itemName != null) { + return false; + } + } else if (!this$itemName.equals(other$itemName)) { + return false; + } + + Object this$scoreName = this.getScoreName(); + Object other$scoreName = other.getScoreName(); + if (this$scoreName == null) { + if (other$scoreName != null) { + return false; + } + } else if (!this$scoreName.equals(other$scoreName)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Score; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getValue(); + Object $itemName = this.getItemName(); + result = result * 59 + ($itemName == null ? 43 : $itemName.hashCode()); + Object $scoreName = this.getScoreName(); + result = result * 59 + ($scoreName == null ? 43 : $scoreName.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getItemName(); + return "Score(itemName=" + var10000 + ", scoreName=" + this.getScoreName() + ", value=" + this.getValue() + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/api/score/Scoreboard.java b/src/main/java/net/md_5/bungee/api/score/Scoreboard.java new file mode 100644 index 0000000..30fb2cf --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/score/Scoreboard.java @@ -0,0 +1,195 @@ +package net.md_5.bungee.api.score; + +import com.google.common.base.Preconditions; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import lombok.Generated; + +public class Scoreboard { + private String name; + private Position position; + private final Map objectives = new HashMap(); + private final Map scores = new HashMap(); + private final Map teams = new HashMap(); + + public Collection getObjectives() { + return Collections.unmodifiableCollection(this.objectives.values()); + } + + public Collection getScores() { + return Collections.unmodifiableCollection(this.scores.values()); + } + + public Collection getTeams() { + return Collections.unmodifiableCollection(this.teams.values()); + } + + public void addObjective(Objective objective) { + Preconditions.checkNotNull(objective, "objective"); + if (!this.objectives.containsKey(objective.getName())) { + this.objectives.put(objective.getName(), objective); + } + + } + + public void addScore(Score score) { + Preconditions.checkNotNull(score, "score"); + this.scores.put(score.getItemName(), score); + } + + public Score getScore(String name) { + return (Score)this.scores.get(name); + } + + public void addTeam(Team team) { + Preconditions.checkNotNull(team, "team"); + if (!this.teams.containsKey(team.getName())) { + this.teams.put(team.getName(), team); + } + + } + + public Team getTeam(String name) { + return (Team)this.teams.get(name); + } + + public Objective getObjective(String name) { + return (Objective)this.objectives.get(name); + } + + public void removeObjective(String objectiveName) { + this.objectives.remove(objectiveName); + } + + public void removeScore(String scoreName) { + this.scores.remove(scoreName); + } + + public void removeTeam(String teamName) { + this.teams.remove(teamName); + } + + public void clear() { + this.name = null; + this.position = null; + this.objectives.clear(); + this.scores.clear(); + this.teams.clear(); + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public Position getPosition() { + return this.position; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setPosition(Position position) { + this.position = position; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Scoreboard)) { + return false; + } else { + Scoreboard other = (Scoreboard)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$position = this.getPosition(); + Object other$position = other.getPosition(); + if (this$position == null) { + if (other$position != null) { + return false; + } + } else if (!this$position.equals(other$position)) { + return false; + } + + Object this$objectives = this.getObjectives(); + Object other$objectives = other.getObjectives(); + if (this$objectives == null) { + if (other$objectives != null) { + return false; + } + } else if (!this$objectives.equals(other$objectives)) { + return false; + } + + Object this$scores = this.getScores(); + Object other$scores = other.getScores(); + if (this$scores == null) { + if (other$scores != null) { + return false; + } + } else if (!this$scores.equals(other$scores)) { + return false; + } + + Object this$teams = this.getTeams(); + Object other$teams = other.getTeams(); + if (this$teams == null) { + if (other$teams != null) { + return false; + } + } else if (!this$teams.equals(other$teams)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Scoreboard; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $position = this.getPosition(); + result = result * 59 + ($position == null ? 43 : $position.hashCode()); + Object $objectives = this.getObjectives(); + result = result * 59 + ($objectives == null ? 43 : $objectives.hashCode()); + Object $scores = this.getScores(); + result = result * 59 + ($scores == null ? 43 : $scores.hashCode()); + Object $teams = this.getTeams(); + result = result * 59 + ($teams == null ? 43 : $teams.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "Scoreboard(name=" + var10000 + ", position=" + String.valueOf(this.getPosition()) + ", objectives=" + String.valueOf(this.getObjectives()) + ", scores=" + String.valueOf(this.getScores()) + ", teams=" + String.valueOf(this.getTeams()) + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/api/score/Team.java b/src/main/java/net/md_5/bungee/api/score/Team.java new file mode 100644 index 0000000..5d8c632 --- /dev/null +++ b/src/main/java/net/md_5/bungee/api/score/Team.java @@ -0,0 +1,245 @@ +package net.md_5.bungee.api.score; + +import java.util.Collection; +import java.util.Collections; +import java.util.HashSet; +import java.util.Set; +import lombok.Generated; +import lombok.NonNull; + +public class Team { + private final @NonNull String name; + private String displayName; + private String prefix; + private String suffix; + private byte friendlyFire; + private String nameTagVisibility; + private String collisionRule; + private int color; + private Set players = new HashSet(); + + public Collection getPlayers() { + return Collections.unmodifiableSet(this.players); + } + + public void addPlayer(String name) { + this.players.add(name); + } + + public void removePlayer(String name) { + this.players.remove(name); + } + + @Generated + public Team(@NonNull String name) { + if (name == null) { + throw new NullPointerException("name is marked non-null but is null"); + } else { + this.name = name; + } + } + + @Generated + public @NonNull String getName() { + return this.name; + } + + @Generated + public String getDisplayName() { + return this.displayName; + } + + @Generated + public String getPrefix() { + return this.prefix; + } + + @Generated + public String getSuffix() { + return this.suffix; + } + + @Generated + public byte getFriendlyFire() { + return this.friendlyFire; + } + + @Generated + public String getNameTagVisibility() { + return this.nameTagVisibility; + } + + @Generated + public String getCollisionRule() { + return this.collisionRule; + } + + @Generated + public int getColor() { + return this.color; + } + + @Generated + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @Generated + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @Generated + public void setSuffix(String suffix) { + this.suffix = suffix; + } + + @Generated + public void setFriendlyFire(byte friendlyFire) { + this.friendlyFire = friendlyFire; + } + + @Generated + public void setNameTagVisibility(String nameTagVisibility) { + this.nameTagVisibility = nameTagVisibility; + } + + @Generated + public void setCollisionRule(String collisionRule) { + this.collisionRule = collisionRule; + } + + @Generated + public void setColor(int color) { + this.color = color; + } + + @Generated + public void setPlayers(Set players) { + this.players = players; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Team)) { + return false; + } else { + Team other = (Team)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getFriendlyFire() != other.getFriendlyFire()) { + return false; + } else if (this.getColor() != other.getColor()) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$displayName = this.getDisplayName(); + Object other$displayName = other.getDisplayName(); + if (this$displayName == null) { + if (other$displayName != null) { + return false; + } + } else if (!this$displayName.equals(other$displayName)) { + return false; + } + + Object this$prefix = this.getPrefix(); + Object other$prefix = other.getPrefix(); + if (this$prefix == null) { + if (other$prefix != null) { + return false; + } + } else if (!this$prefix.equals(other$prefix)) { + return false; + } + + Object this$suffix = this.getSuffix(); + Object other$suffix = other.getSuffix(); + if (this$suffix == null) { + if (other$suffix != null) { + return false; + } + } else if (!this$suffix.equals(other$suffix)) { + return false; + } + + Object this$nameTagVisibility = this.getNameTagVisibility(); + Object other$nameTagVisibility = other.getNameTagVisibility(); + if (this$nameTagVisibility == null) { + if (other$nameTagVisibility != null) { + return false; + } + } else if (!this$nameTagVisibility.equals(other$nameTagVisibility)) { + return false; + } + + Object this$collisionRule = this.getCollisionRule(); + Object other$collisionRule = other.getCollisionRule(); + if (this$collisionRule == null) { + if (other$collisionRule != null) { + return false; + } + } else if (!this$collisionRule.equals(other$collisionRule)) { + return false; + } + + Object this$players = this.getPlayers(); + Object other$players = other.getPlayers(); + if (this$players == null) { + if (other$players != null) { + return false; + } + } else if (!this$players.equals(other$players)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Team; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getFriendlyFire(); + result = result * 59 + this.getColor(); + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $displayName = this.getDisplayName(); + result = result * 59 + ($displayName == null ? 43 : $displayName.hashCode()); + Object $prefix = this.getPrefix(); + result = result * 59 + ($prefix == null ? 43 : $prefix.hashCode()); + Object $suffix = this.getSuffix(); + result = result * 59 + ($suffix == null ? 43 : $suffix.hashCode()); + Object $nameTagVisibility = this.getNameTagVisibility(); + result = result * 59 + ($nameTagVisibility == null ? 43 : $nameTagVisibility.hashCode()); + Object $collisionRule = this.getCollisionRule(); + result = result * 59 + ($collisionRule == null ? 43 : $collisionRule.hashCode()); + Object $players = this.getPlayers(); + result = result * 59 + ($players == null ? 43 : $players.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "Team(name=" + var10000 + ", displayName=" + this.getDisplayName() + ", prefix=" + this.getPrefix() + ", suffix=" + this.getSuffix() + ", friendlyFire=" + this.getFriendlyFire() + ", nameTagVisibility=" + this.getNameTagVisibility() + ", collisionRule=" + this.getCollisionRule() + ", color=" + this.getColor() + ", players=" + String.valueOf(this.getPlayers()) + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java b/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java new file mode 100644 index 0000000..063682b --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java @@ -0,0 +1,165 @@ +package net.md_5.bungee.chat; + +import com.google.common.base.Preconditions; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonSerializationContext; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.IdentityHashMap; +import java.util.Locale; +import java.util.Set; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.ComponentStyle; +import net.md_5.bungee.api.chat.HoverEvent; +import net.md_5.bungee.api.chat.hover.content.Content; + +public class BaseComponentSerializer { + protected final VersionedComponentSerializer serializer; + + protected void deserialize(JsonObject object, BaseComponent component, JsonDeserializationContext context) { + component.applyStyle((ComponentStyle)context.deserialize(object, ComponentStyle.class)); + JsonElement insertion = object.get("insertion"); + if (insertion != null) { + component.setInsertion(insertion.getAsString()); + } + + JsonObject clickEvent; + boolean newClickEvent = (clickEvent = object.getAsJsonObject("click_event")) != null; + if (!newClickEvent) { + clickEvent = object.getAsJsonObject("clickEvent"); + } + + if (clickEvent != null) { + if (newClickEvent) { + component.setClickEvent(ClickEventSerializer.NEW.deserialize(clickEvent, context)); + } else { + component.setClickEvent(ClickEventSerializer.OLD.deserialize(clickEvent, context)); + } + } + + JsonObject hoverEventJson; + boolean newHoverEvent = (hoverEventJson = object.getAsJsonObject("hover_event")) != null; + if (!newHoverEvent) { + hoverEventJson = object.getAsJsonObject("hoverEvent"); + } + + if (hoverEventJson != null) { + HoverEvent hoverEvent = null; + HoverEvent.Action action = HoverEvent.Action.valueOf(hoverEventJson.get("action").getAsString().toUpperCase(Locale.ROOT)); + if (!newHoverEvent && !hoverEventJson.has("contents")) { + JsonElement value = hoverEventJson.get("value"); + if (value != null) { + BaseComponent[] components; + if (value.isJsonArray()) { + components = (BaseComponent[])context.deserialize(value, BaseComponent[].class); + } else { + components = new BaseComponent[]{(BaseComponent)context.deserialize(value, BaseComponent.class)}; + } + + hoverEvent = new HoverEvent(action, components); + } + } else { + JsonElement contents = hoverEventJson.get(newHoverEvent ? "value" : "contents"); + if (contents != null || newHoverEvent && (action == HoverEvent.Action.SHOW_ITEM || action == HoverEvent.Action.SHOW_ENTITY)) { + if (contents == null) { + contents = hoverEventJson; + } + + Content[] list; + if (contents.isJsonArray()) { + list = (Content[])context.deserialize(contents, HoverEvent.getClass(action, true)); + } else { + list = new Content[]{(Content)context.deserialize(contents, HoverEvent.getClass(action, false))}; + } + + hoverEvent = new HoverEvent(action, new ArrayList(Arrays.asList(list))); + } + } + + if (hoverEvent != null) { + component.setHoverEvent(hoverEvent); + } + } + + JsonElement extra = object.get("extra"); + if (extra != null) { + component.setExtra(Arrays.asList((BaseComponent[])context.deserialize(extra, BaseComponent[].class))); + } + + } + + protected void serialize(JsonObject object, BaseComponent component, JsonSerializationContext context) { + boolean first = false; + if (VersionedComponentSerializer.serializedComponents.get() == null) { + first = true; + VersionedComponentSerializer.serializedComponents.set(Collections.newSetFromMap(new IdentityHashMap())); + } + + try { + Preconditions.checkArgument(!((Set)VersionedComponentSerializer.serializedComponents.get()).contains(component), "Component loop"); + ((Set)VersionedComponentSerializer.serializedComponents.get()).add(component); + ComponentStyleSerializer.serializeTo(component.getStyle(), object); + if (component.getInsertion() != null) { + object.addProperty("insertion", component.getInsertion()); + } + + if (component.getClickEvent() != null) { + switch (this.serializer.getVersion()) { + case V1_21_5 -> object.add("click_event", ClickEventSerializer.NEW.serialize(component.getClickEvent(), context)); + case V1_16 -> object.add("clickEvent", ClickEventSerializer.OLD.serialize(component.getClickEvent(), context)); + default -> throw new IllegalArgumentException("Unknown version " + String.valueOf(this.serializer.getVersion())); + } + } + + if (component.getHoverEvent() != null) { + JsonObject hoverEvent = new JsonObject(); + hoverEvent.addProperty("action", component.getHoverEvent().getAction().toString().toLowerCase(Locale.ROOT)); + if (component.getHoverEvent().isLegacy()) { + hoverEvent.add("value", context.serialize(component.getHoverEvent().getContents().get(0))); + } else { + switch (this.serializer.getVersion()) { + case V1_21_5: + if (component.getHoverEvent().getAction() != HoverEvent.Action.SHOW_ITEM && component.getHoverEvent().getAction() != HoverEvent.Action.SHOW_ENTITY) { + hoverEvent.add("value", context.serialize(component.getHoverEvent().getContents().size() == 1 ? component.getHoverEvent().getContents().get(0) : component.getHoverEvent().getContents())); + } else { + JsonObject inlined = context.serialize(component.getHoverEvent().getContents().size() == 1 ? component.getHoverEvent().getContents().get(0) : component.getHoverEvent().getContents()).getAsJsonObject(); + inlined.entrySet().forEach((entry) -> hoverEvent.add((String)entry.getKey(), (JsonElement)entry.getValue())); + } + break; + case V1_16: + hoverEvent.add("contents", context.serialize(component.getHoverEvent().getContents().size() == 1 ? component.getHoverEvent().getContents().get(0) : component.getHoverEvent().getContents())); + break; + default: + throw new IllegalArgumentException("Unknown version " + String.valueOf(this.serializer.getVersion())); + } + } + + switch (this.serializer.getVersion()) { + case V1_21_5 -> object.add("hover_event", hoverEvent); + case V1_16 -> object.add("hoverEvent", hoverEvent); + default -> throw new IllegalArgumentException("Unknown version " + String.valueOf(this.serializer.getVersion())); + } + } + + if (component.getExtra() != null) { + object.add("extra", context.serialize(component.getExtra())); + } + } finally { + ((Set)VersionedComponentSerializer.serializedComponents.get()).remove(component); + if (first) { + VersionedComponentSerializer.serializedComponents.set(null); + } + + } + + } + + @Generated + public BaseComponentSerializer(VersionedComponentSerializer serializer) { + this.serializer = serializer; + } +} diff --git a/src/main/java/net/md_5/bungee/chat/ChatVersion.java b/src/main/java/net/md_5/bungee/chat/ChatVersion.java new file mode 100644 index 0000000..7c09fc2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/ChatVersion.java @@ -0,0 +1,9 @@ +package net.md_5.bungee.chat; + +import org.jetbrains.annotations.ApiStatus.Internal; + +@Internal +public enum ChatVersion { + V1_16, + V1_21_5; +} diff --git a/src/main/java/net/md_5/bungee/chat/ClickEventSerializer.java b/src/main/java/net/md_5/bungee/chat/ClickEventSerializer.java new file mode 100644 index 0000000..d1618b2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/ClickEventSerializer.java @@ -0,0 +1,158 @@ +package net.md_5.bungee.chat; + +import com.google.common.base.Preconditions; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import java.util.Locale; +import lombok.Generated; +import net.md_5.bungee.api.chat.ClickEvent; +import net.md_5.bungee.api.chat.ClickEventCustom; +import net.md_5.bungee.api.dialog.chat.ShowDialogClickEvent; + +public class ClickEventSerializer { + public static final ClickEventSerializer OLD; + public static final ClickEventSerializer NEW; + public static final ClickEventSerializer DIALOG; + private final ClickType type; + + public ClickEvent deserialize(JsonObject clickEvent, JsonDeserializationContext context) throws JsonParseException { + ClickEvent.Action action = ClickEvent.Action.valueOf(clickEvent.get(this.type == ClickEventSerializer.ClickType.DIALOG ? "type" : "action").getAsString().toUpperCase(Locale.ROOT)); + switch (this.type.ordinal()) { + case 0: + return new ClickEvent(action, clickEvent.has("value") ? clickEvent.get("value").getAsString() : ""); + case 1: + case 2: + switch (action) { + case OPEN_URL: + return new ClickEvent(action, clickEvent.get("url").getAsString()); + case RUN_COMMAND: + case SUGGEST_COMMAND: + return new ClickEvent(action, clickEvent.get("command").getAsString()); + case CHANGE_PAGE: + int page = clickEvent.get("page").getAsInt(); + Preconditions.checkArgument(page >= 0, "Page number has to be positive"); + return new ClickEvent(action, Integer.toString(page)); + case SHOW_DIALOG: + return (ClickEvent)context.deserialize(clickEvent.get("dialog"), ShowDialogClickEvent.class); + case CUSTOM: + return new ClickEventCustom(clickEvent.get("id").getAsString(), clickEvent.has("payload") ? clickEvent.get("payload").getAsString() : null); + default: + return new ClickEvent(action, clickEvent.has("value") ? clickEvent.get("value").getAsString() : ""); + } + default: + throw new IllegalArgumentException("Unknown serializer type"); + } + } + + public JsonElement serialize(ClickEvent src, JsonSerializationContext context) { + JsonObject clickEvent = new JsonObject(); + String actionName = src.getAction().toString().toLowerCase(Locale.ROOT); + clickEvent.addProperty(this.type == ClickEventSerializer.ClickType.DIALOG ? "type" : "action", actionName.toLowerCase(Locale.ROOT)); + switch (this.type.ordinal()) { + case 0: + clickEvent.addProperty("value", src.getValue()); + return clickEvent; + case 1: + case 2: + ClickEvent.Action action = ClickEvent.Action.valueOf(actionName.toUpperCase(Locale.ROOT)); + switch (action) { + case OPEN_URL: + clickEvent.addProperty("url", src.getValue()); + return clickEvent; + case RUN_COMMAND: + case SUGGEST_COMMAND: + clickEvent.addProperty("command", src.getValue()); + return clickEvent; + case CHANGE_PAGE: + clickEvent.addProperty("page", Integer.parseInt(src.getValue())); + return clickEvent; + case SHOW_DIALOG: + clickEvent.add("dialog", context.serialize(src)); + return clickEvent; + case CUSTOM: + ClickEventCustom custom = (ClickEventCustom)src; + clickEvent.addProperty("id", custom.getValue()); + if (custom.getPayload() != null) { + clickEvent.addProperty("payload", custom.getPayload()); + } + + return clickEvent; + default: + clickEvent.addProperty("value", src.getValue()); + return clickEvent; + } + default: + throw new IllegalArgumentException("Unknown serializer type"); + } + } + + @Generated + public ClickEventSerializer(ClickType type) { + this.type = type; + } + + @Generated + public ClickType getType() { + return this.type; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClickEventSerializer)) { + return false; + } else { + ClickEventSerializer other = (ClickEventSerializer)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$type = this.getType(); + Object other$type = other.getType(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClickEventSerializer; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $type = this.getType(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + return result; + } + + @Generated + public String toString() { + return "ClickEventSerializer(type=" + String.valueOf(this.getType()) + ")"; + } + + static { + OLD = new ClickEventSerializer(ClickEventSerializer.ClickType.OLD); + NEW = new ClickEventSerializer(ClickEventSerializer.ClickType.NEW); + DIALOG = new ClickEventSerializer(ClickEventSerializer.ClickType.DIALOG); + } + + public static enum ClickType { + OLD, + NEW, + DIALOG; + } +} diff --git a/src/main/java/net/md_5/bungee/chat/ComponentSerializer.java b/src/main/java/net/md_5/bungee/chat/ComponentSerializer.java new file mode 100644 index 0000000..08e4bd9 --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/ComponentSerializer.java @@ -0,0 +1,68 @@ +package net.md_5.bungee.chat; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonParseException; +import java.lang.reflect.Type; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.ComponentStyle; +import net.md_5.bungee.api.chat.hover.content.Content; + +public class ComponentSerializer implements JsonDeserializer { + public static BaseComponent[] parse(String json) { + return VersionedComponentSerializer.getDefault().parse(json); + } + + public static BaseComponent deserialize(String json) { + return VersionedComponentSerializer.getDefault().deserialize(json); + } + + public static BaseComponent deserialize(JsonElement jsonElement) { + return VersionedComponentSerializer.getDefault().deserialize(jsonElement); + } + + public static ComponentStyle deserializeStyle(String json) { + return VersionedComponentSerializer.getDefault().deserializeStyle(json); + } + + public static ComponentStyle deserializeStyle(JsonElement jsonElement) { + return VersionedComponentSerializer.getDefault().deserializeStyle(jsonElement); + } + + public static JsonElement toJson(BaseComponent component) { + return VersionedComponentSerializer.getDefault().toJson(component); + } + + public static JsonElement toJson(ComponentStyle style) { + return VersionedComponentSerializer.getDefault().toJson(style); + } + + /** @deprecated */ + @Deprecated + public static String toString(Object object) { + return VersionedComponentSerializer.getDefault().toString(object); + } + + /** @deprecated */ + @Deprecated + public static String toString(Content content) { + return VersionedComponentSerializer.getDefault().toString(content); + } + + public static String toString(BaseComponent component) { + return VersionedComponentSerializer.getDefault().toString(component); + } + + public static String toString(BaseComponent... components) { + return VersionedComponentSerializer.getDefault().toString(components); + } + + public static String toString(ComponentStyle style) { + return VersionedComponentSerializer.getDefault().toString(style); + } + + public BaseComponent deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + return VersionedComponentSerializer.getDefault().deserialize(json, typeOfT, context); + } +} diff --git a/src/main/java/net/md_5/bungee/chat/ComponentStyleSerializer.java b/src/main/java/net/md_5/bungee/chat/ComponentStyleSerializer.java new file mode 100644 index 0000000..ace1248 --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/ComponentStyleSerializer.java @@ -0,0 +1,120 @@ +package net.md_5.bungee.chat; + +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonPrimitive; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.awt.Color; +import java.lang.reflect.Type; +import java.util.Map; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.chat.ComponentStyle; +import net.md_5.bungee.api.chat.ComponentStyleBuilder; + +public class ComponentStyleSerializer implements JsonSerializer, JsonDeserializer { + private static boolean getAsBoolean(JsonElement el) { + if (el.isJsonPrimitive()) { + JsonPrimitive primitive = (JsonPrimitive)el; + if (primitive.isBoolean()) { + return primitive.getAsBoolean(); + } + + if (primitive.isNumber()) { + Number number = primitive.getAsNumber(); + if (number instanceof Byte) { + return number.byteValue() != 0; + } + } + } + + return false; + } + + static void serializeTo(ComponentStyle style, JsonObject object) { + if (style.isBoldRaw() != null) { + object.addProperty("bold", style.isBoldRaw()); + } + + if (style.isItalicRaw() != null) { + object.addProperty("italic", style.isItalicRaw()); + } + + if (style.isUnderlinedRaw() != null) { + object.addProperty("underlined", style.isUnderlinedRaw()); + } + + if (style.isStrikethroughRaw() != null) { + object.addProperty("strikethrough", style.isStrikethroughRaw()); + } + + if (style.isObfuscatedRaw() != null) { + object.addProperty("obfuscated", style.isObfuscatedRaw()); + } + + if (style.hasColor() && style.getColor().getColor() != null) { + object.addProperty("color", style.getColor().getName()); + } + + if (style.hasShadowColor()) { + object.addProperty("shadow_color", style.getShadowColor().getRGB()); + } + + if (style.hasFont()) { + object.addProperty("font", style.getFont()); + } + + } + + public ComponentStyle deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + ComponentStyleBuilder builder = ComponentStyle.builder(); + JsonObject object = json.getAsJsonObject(); + + for(Map.Entry entry : object.entrySet()) { + String name = (String)entry.getKey(); + JsonElement value = (JsonElement)entry.getValue(); + switch (name) { + case "bold": + builder.bold(getAsBoolean(value)); + break; + case "italic": + builder.italic(getAsBoolean(value)); + break; + case "underlined": + builder.underlined(getAsBoolean(value)); + break; + case "strikethrough": + builder.strikethrough(getAsBoolean(value)); + break; + case "obfuscated": + builder.obfuscated(getAsBoolean(value)); + break; + case "color": + builder.color(ChatColor.of(value.getAsString())); + break; + case "shadow_color": + if (value.isJsonArray()) { + JsonArray array = value.getAsJsonArray(); + builder.shadowColor(new Color(array.get(0).getAsFloat(), array.get(1).getAsFloat(), array.get(2).getAsFloat(), array.get(3).getAsFloat())); + } else if (value.isJsonPrimitive()) { + builder.shadowColor(new Color(value.getAsNumber().intValue(), true)); + } + break; + case "font": + builder.font(value.getAsString()); + } + } + + return builder.build(); + } + + public JsonElement serialize(ComponentStyle src, Type typeOfSrc, JsonSerializationContext context) { + JsonObject object = new JsonObject(); + serializeTo(src, object); + return object; + } +} diff --git a/src/main/java/net/md_5/bungee/chat/KeybindComponentSerializer.java b/src/main/java/net/md_5/bungee/chat/KeybindComponentSerializer.java new file mode 100644 index 0000000..dcb3390 --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/KeybindComponentSerializer.java @@ -0,0 +1,38 @@ +package net.md_5.bungee.chat; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.KeybindComponent; + +public class KeybindComponentSerializer extends BaseComponentSerializer implements JsonSerializer, JsonDeserializer { + public KeybindComponentSerializer(VersionedComponentSerializer serializer) { + super(serializer); + } + + public KeybindComponent deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + JsonObject object = json.getAsJsonObject(); + JsonElement keybind = object.get("keybind"); + if (keybind == null) { + throw new JsonParseException("Could not parse JSON: missing 'keybind' property"); + } else { + KeybindComponent component = new KeybindComponent(); + this.deserialize((JsonObject)object, (BaseComponent)component, context); + component.setKeybind(keybind.getAsString()); + return component; + } + } + + public JsonElement serialize(KeybindComponent src, Type typeOfSrc, JsonSerializationContext context) { + JsonObject object = new JsonObject(); + this.serialize((JsonObject)object, (BaseComponent)src, context); + object.addProperty("keybind", src.getKeybind()); + return object; + } +} diff --git a/src/main/java/net/md_5/bungee/chat/ObjectComponentSerializer.java b/src/main/java/net/md_5/bungee/chat/ObjectComponentSerializer.java new file mode 100644 index 0000000..4ed445a --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/ObjectComponentSerializer.java @@ -0,0 +1,117 @@ +package net.md_5.bungee.chat; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import java.util.UUID; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.ObjectComponent; +import net.md_5.bungee.api.chat.objects.PlayerObject; +import net.md_5.bungee.api.chat.objects.SpriteObject; +import net.md_5.bungee.api.chat.player.Profile; +import net.md_5.bungee.api.chat.player.Property; + +public class ObjectComponentSerializer extends BaseComponentSerializer implements JsonSerializer, JsonDeserializer { + public ObjectComponentSerializer(VersionedComponentSerializer serializer) { + super(serializer); + } + + public ObjectComponent deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + JsonObject object = json.getAsJsonObject(); + String sprite = object.has("sprite") ? object.get("sprite").getAsString() : null; + String atlas = object.has("atlas") ? object.get("atlas").getAsString() : null; + if (sprite != null) { + ObjectComponent component = new ObjectComponent(new SpriteObject(atlas, sprite)); + this.deserialize((JsonObject)object, (BaseComponent)component, context); + return component; + } else { + JsonElement player = object.get("player"); + if (player != null) { + String name = null; + UUID uuid = null; + Property[] properties = null; + Boolean hat = object.has("hat") ? object.get("hat").getAsBoolean() : null; + if (player.isJsonObject()) { + JsonObject playerObj = player.getAsJsonObject(); + String var10000 = playerObj.has("name") ? playerObj.get("name").getAsString() : null; + name = var10000; + validateName(var10000); + uuid = playerObj.has("id") ? parseUUID((int[])context.deserialize(playerObj.get("id"), int[].class)) : null; + properties = playerObj.has("properties") ? (Property[])context.deserialize(playerObj.get("properties"), Property[].class) : null; + } else if (player.isJsonPrimitive()) { + validateName(name = player.getAsString()); + } + + ObjectComponent component = new ObjectComponent(new PlayerObject(new Profile(name, uuid, properties), hat)); + this.deserialize((JsonObject)object, (BaseComponent)component, context); + return component; + } else { + throw new JsonParseException("Could not parse JSON: missing 'player' or 'sprite' property"); + } + } + } + + public JsonElement serialize(ObjectComponent src, Type typeOfSrc, JsonSerializationContext context) { + JsonObject object = new JsonObject(); + this.serialize((JsonObject)object, (BaseComponent)src, context); + if (src.getObject() instanceof SpriteObject) { + SpriteObject sprite = (SpriteObject)src.getObject(); + object.addProperty("sprite", sprite.getSprite()); + if (sprite.getAtlas() != null) { + object.addProperty("atlas", sprite.getAtlas()); + } + + return object; + } else if (src.getObject() instanceof PlayerObject) { + PlayerObject player = (PlayerObject)src.getObject(); + if (player.getHat() != null) { + object.addProperty("hat", player.getHat()); + } + + JsonObject playerObj = new JsonObject(); + Profile profile = player.getProfile(); + if (profile.getName() != null) { + playerObj.addProperty("name", profile.getName()); + } + + if (profile.getUuid() != null) { + int[] uuidArray = new int[4]; + long most = profile.getUuid().getMostSignificantBits(); + long least = profile.getUuid().getLeastSignificantBits(); + uuidArray[0] = (int)(most >> 32); + uuidArray[1] = (int)most; + uuidArray[2] = (int)(least >> 32); + uuidArray[3] = (int)least; + playerObj.add("id", context.serialize(uuidArray)); + } + + if (profile.getProperties() != null) { + playerObj.add("properties", context.serialize(profile.getProperties(), Property[].class)); + } + + object.add("player", playerObj); + return object; + } else { + throw new JsonParseException("Could not serialize ObjectComponent: unknown object type " + String.valueOf(src.getObject().getClass())); + } + } + + private static UUID parseUUID(int[] array) { + if (array.length != 4) { + throw new JsonParseException("UUID integer array must be exactly 4 integers long"); + } else { + return new UUID((long)array[0] << 32 | (long)array[1] & 4294967295L, (long)array[2] << 32 | (long)array[3] & 4294967295L); + } + } + + private static void validateName(String name) { + if (name != null && (name.length() > 16 || name.isEmpty())) { + throw new JsonParseException("Could not parse JSON: player name must be 16 characters or fewer and not empty"); + } + } +} diff --git a/src/main/java/net/md_5/bungee/chat/ScoreComponentSerializer.java b/src/main/java/net/md_5/bungee/chat/ScoreComponentSerializer.java new file mode 100644 index 0000000..077c2bf --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/ScoreComponentSerializer.java @@ -0,0 +1,58 @@ +package net.md_5.bungee.chat; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.ScoreComponent; + +public class ScoreComponentSerializer extends BaseComponentSerializer implements JsonSerializer, JsonDeserializer { + public ScoreComponentSerializer(VersionedComponentSerializer serializer) { + super(serializer); + } + + public ScoreComponent deserialize(JsonElement element, Type type, JsonDeserializationContext context) throws JsonParseException { + JsonObject json = element.getAsJsonObject(); + JsonObject score = json.getAsJsonObject("score"); + if (score == null) { + throw new JsonParseException("Could not parse JSON: missing 'score' property"); + } else { + JsonElement nameJson = score.get("name"); + if (nameJson == null) { + throw new JsonParseException("A score component needs at least a name (and an objective)"); + } else { + JsonElement objectiveJson = score.get("objective"); + if (objectiveJson == null) { + throw new JsonParseException("A score component needs at least a name and an objective"); + } else { + String name = nameJson.getAsString(); + String objective = objectiveJson.getAsString(); + ScoreComponent component = new ScoreComponent(name, objective); + JsonElement value = score.get("value"); + if (value != null && !value.getAsString().isEmpty()) { + component.setValue(value.getAsString()); + } + + this.deserialize((JsonObject)json, (BaseComponent)component, context); + return component; + } + } + } + } + + public JsonElement serialize(ScoreComponent component, Type type, JsonSerializationContext context) { + JsonObject root = new JsonObject(); + this.serialize((JsonObject)root, (BaseComponent)component, context); + JsonObject json = new JsonObject(); + json.addProperty("name", component.getName()); + json.addProperty("objective", component.getObjective()); + json.addProperty("value", component.getValue()); + root.add("score", json); + return root; + } +} diff --git a/src/main/java/net/md_5/bungee/chat/SelectorComponentSerializer.java b/src/main/java/net/md_5/bungee/chat/SelectorComponentSerializer.java new file mode 100644 index 0000000..178d6f7 --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/SelectorComponentSerializer.java @@ -0,0 +1,46 @@ +package net.md_5.bungee.chat; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.SelectorComponent; + +public class SelectorComponentSerializer extends BaseComponentSerializer implements JsonSerializer, JsonDeserializer { + public SelectorComponentSerializer(VersionedComponentSerializer serializer) { + super(serializer); + } + + public SelectorComponent deserialize(JsonElement element, Type type, JsonDeserializationContext context) throws JsonParseException { + JsonObject object = element.getAsJsonObject(); + JsonElement selector = object.get("selector"); + if (selector == null) { + throw new JsonParseException("Could not parse JSON: missing 'selector' property"); + } else { + SelectorComponent component = new SelectorComponent(selector.getAsString()); + JsonElement separator = object.get("separator"); + if (separator != null) { + component.setSeparator(this.serializer.deserialize(separator.getAsString())); + } + + this.deserialize((JsonObject)object, (BaseComponent)component, context); + return component; + } + } + + public JsonElement serialize(SelectorComponent component, Type type, JsonSerializationContext context) { + JsonObject object = new JsonObject(); + this.serialize((JsonObject)object, (BaseComponent)component, context); + object.addProperty("selector", component.getSelector()); + if (component.getSeparator() != null) { + object.addProperty("separator", this.serializer.toString(component.getSeparator())); + } + + return object; + } +} diff --git a/src/main/java/net/md_5/bungee/chat/TextComponentSerializer.java b/src/main/java/net/md_5/bungee/chat/TextComponentSerializer.java new file mode 100644 index 0000000..89a0677 --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/TextComponentSerializer.java @@ -0,0 +1,37 @@ +package net.md_5.bungee.chat; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; + +public class TextComponentSerializer extends BaseComponentSerializer implements JsonSerializer, JsonDeserializer { + public TextComponentSerializer(VersionedComponentSerializer serializer) { + super(serializer); + } + + public TextComponent deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + TextComponent component = new TextComponent(); + JsonObject object = json.getAsJsonObject(); + JsonElement text = object.get("text"); + if (text != null) { + component.setText(text.getAsString()); + } + + this.deserialize((JsonObject)object, (BaseComponent)component, context); + return component; + } + + public JsonElement serialize(TextComponent src, Type typeOfSrc, JsonSerializationContext context) { + JsonObject object = new JsonObject(); + this.serialize((JsonObject)object, (BaseComponent)src, context); + object.addProperty("text", src.getText()); + return object; + } +} diff --git a/src/main/java/net/md_5/bungee/chat/TranslatableComponentSerializer.java b/src/main/java/net/md_5/bungee/chat/TranslatableComponentSerializer.java new file mode 100644 index 0000000..3aef220 --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/TranslatableComponentSerializer.java @@ -0,0 +1,57 @@ +package net.md_5.bungee.chat; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import java.util.Arrays; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TranslatableComponent; + +public class TranslatableComponentSerializer extends BaseComponentSerializer implements JsonSerializer, JsonDeserializer { + public TranslatableComponentSerializer(VersionedComponentSerializer serializer) { + super(serializer); + } + + public TranslatableComponent deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + TranslatableComponent component = new TranslatableComponent(); + JsonObject object = json.getAsJsonObject(); + this.deserialize((JsonObject)object, (BaseComponent)component, context); + JsonElement translate = object.get("translate"); + if (translate == null) { + throw new JsonParseException("Could not parse JSON: missing 'translate' property"); + } else { + component.setTranslate(translate.getAsString()); + JsonElement with = object.get("with"); + if (with != null) { + component.setWith(Arrays.asList((BaseComponent[])context.deserialize(with, BaseComponent[].class))); + } + + JsonElement fallback = object.get("fallback"); + if (fallback != null) { + component.setFallback(fallback.getAsString()); + } + + return component; + } + } + + public JsonElement serialize(TranslatableComponent src, Type typeOfSrc, JsonSerializationContext context) { + JsonObject object = new JsonObject(); + this.serialize((JsonObject)object, (BaseComponent)src, context); + object.addProperty("translate", src.getTranslate()); + if (src.getWith() != null) { + object.add("with", context.serialize(src.getWith())); + } + + if (src.getFallback() != null) { + object.addProperty("fallback", src.getFallback()); + } + + return object; + } +} diff --git a/src/main/java/net/md_5/bungee/chat/TranslationRegistry.java b/src/main/java/net/md_5/bungee/chat/TranslationRegistry.java new file mode 100644 index 0000000..5dceb66 --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/TranslationRegistry.java @@ -0,0 +1,243 @@ +package net.md_5.bungee.chat; + +import com.google.gson.Gson; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import java.io.IOException; +import java.io.InputStreamReader; +import java.nio.charset.StandardCharsets; +import java.util.HashMap; +import java.util.LinkedList; +import java.util.List; +import java.util.Map; +import java.util.ResourceBundle; +import lombok.Generated; + +public final class TranslationRegistry { + public static final TranslationRegistry INSTANCE = new TranslationRegistry(); + private final List providers = new LinkedList(); + + private void addProvider(TranslationProvider provider) { + this.providers.add(provider); + } + + public String translate(String s) { + for(TranslationProvider provider : this.providers) { + String translation = provider.translate(s); + if (translation != null) { + return translation; + } + } + + return s; + } + + @Generated + public List getProviders() { + return this.providers; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TranslationRegistry)) { + return false; + } else { + TranslationRegistry other = (TranslationRegistry)o; + Object this$providers = this.getProviders(); + Object other$providers = other.getProviders(); + if (this$providers == null) { + if (other$providers != null) { + return false; + } + } else if (!this$providers.equals(other$providers)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $providers = this.getProviders(); + result = result * 59 + ($providers == null ? 43 : $providers.hashCode()); + return result; + } + + @Generated + public String toString() { + return "TranslationRegistry(providers=" + String.valueOf(this.getProviders()) + ")"; + } + + @Generated + private TranslationRegistry() { + } + + static { + try { + INSTANCE.addProvider(new JsonProvider("/assets/minecraft/lang/en_us.json")); + } catch (Exception var3) { + } + + try { + INSTANCE.addProvider(new JsonProvider("/mojang-translations/en_us.json")); + } catch (Exception var2) { + } + + try { + INSTANCE.addProvider(new ResourceBundleProvider("mojang-translations/en_US")); + } catch (Exception var1) { + } + + } + + private static class ResourceBundleProvider implements TranslationProvider { + private final ResourceBundle bundle; + + public ResourceBundleProvider(String bundlePath) { + this.bundle = ResourceBundle.getBundle(bundlePath); + } + + public String translate(String s) { + return this.bundle.containsKey(s) ? this.bundle.getString(s) : null; + } + + @Generated + public ResourceBundle getBundle() { + return this.bundle; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ResourceBundleProvider)) { + return false; + } else { + ResourceBundleProvider other = (ResourceBundleProvider)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$bundle = this.getBundle(); + Object other$bundle = other.getBundle(); + if (this$bundle == null) { + if (other$bundle != null) { + return false; + } + } else if (!this$bundle.equals(other$bundle)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ResourceBundleProvider; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $bundle = this.getBundle(); + result = result * 59 + ($bundle == null ? 43 : $bundle.hashCode()); + return result; + } + + @Generated + public String toString() { + return "TranslationRegistry.ResourceBundleProvider(bundle=" + String.valueOf(this.getBundle()) + ")"; + } + } + + private static class JsonProvider implements TranslationProvider { + private final Map translations = new HashMap(); + + public JsonProvider(String resourcePath) throws IOException { + InputStreamReader rd = new InputStreamReader(JsonProvider.class.getResourceAsStream(resourcePath), StandardCharsets.UTF_8); + + try { + JsonObject obj = (JsonObject)(new Gson()).fromJson(rd, JsonObject.class); + + for(Map.Entry entries : obj.entrySet()) { + this.translations.put((String)entries.getKey(), ((JsonElement)entries.getValue()).getAsString()); + } + } catch (Throwable var7) { + try { + rd.close(); + } catch (Throwable var6) { + var7.addSuppressed(var6); + } + + throw var7; + } + + rd.close(); + } + + public String translate(String s) { + return (String)this.translations.get(s); + } + + @Generated + public Map getTranslations() { + return this.translations; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof JsonProvider)) { + return false; + } else { + JsonProvider other = (JsonProvider)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$translations = this.getTranslations(); + Object other$translations = other.getTranslations(); + if (this$translations == null) { + if (other$translations != null) { + return false; + } + } else if (!this$translations.equals(other$translations)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof JsonProvider; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $translations = this.getTranslations(); + result = result * 59 + ($translations == null ? 43 : $translations.hashCode()); + return result; + } + + @Generated + public String toString() { + return "TranslationRegistry.JsonProvider()"; + } + } + + private interface TranslationProvider { + String translate(String var1); + } +} diff --git a/src/main/java/net/md_5/bungee/chat/VersionedComponentSerializer.java b/src/main/java/net/md_5/bungee/chat/VersionedComponentSerializer.java new file mode 100644 index 0000000..9a33cba --- /dev/null +++ b/src/main/java/net/md_5/bungee/chat/VersionedComponentSerializer.java @@ -0,0 +1,191 @@ +package net.md_5.bungee.chat; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonParser; +import com.google.gson.JsonPrimitive; +import java.lang.reflect.Type; +import java.util.Set; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.ComponentStyle; +import net.md_5.bungee.api.chat.ItemTag; +import net.md_5.bungee.api.chat.KeybindComponent; +import net.md_5.bungee.api.chat.ObjectComponent; +import net.md_5.bungee.api.chat.ScoreComponent; +import net.md_5.bungee.api.chat.SelectorComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.chat.TranslatableComponent; +import net.md_5.bungee.api.chat.hover.content.Content; +import net.md_5.bungee.api.chat.hover.content.Entity; +import net.md_5.bungee.api.chat.hover.content.EntitySerializer; +import net.md_5.bungee.api.chat.hover.content.Item; +import net.md_5.bungee.api.chat.hover.content.ItemSerializer; +import net.md_5.bungee.api.chat.hover.content.Text; +import net.md_5.bungee.api.chat.hover.content.TextSerializer; +import net.md_5.bungee.api.dialog.Dialog; +import net.md_5.bungee.api.dialog.action.Action; +import net.md_5.bungee.api.dialog.chat.ShowDialogClickEvent; +import net.md_5.bungee.serializer.dialog.DialogActionSerializer; +import net.md_5.bungee.serializer.dialog.DialogSerializer; +import net.md_5.bungee.serializer.dialog.ShowDialogClickEventSerializer; +import org.jetbrains.annotations.ApiStatus.Experimental; +import org.jetbrains.annotations.ApiStatus.Internal; + +@Experimental +public class VersionedComponentSerializer implements JsonDeserializer { + @Internal + private final Gson gson; + @Internal + private final ChatVersion version; + @Internal + private final DialogSerializer dialogSerializer; + private static final VersionedComponentSerializer v1_16; + private static final VersionedComponentSerializer v1_21_5; + @Internal + public static final ThreadLocal> serializedComponents; + + public VersionedComponentSerializer(ChatVersion version) { + this.version = version; + this.dialogSerializer = new DialogSerializer(this); + this.gson = (new GsonBuilder()).registerTypeAdapter(BaseComponent.class, this).registerTypeAdapter(TextComponent.class, new TextComponentSerializer(this)).registerTypeAdapter(TranslatableComponent.class, new TranslatableComponentSerializer(this)).registerTypeAdapter(KeybindComponent.class, new KeybindComponentSerializer(this)).registerTypeAdapter(ScoreComponent.class, new ScoreComponentSerializer(this)).registerTypeAdapter(SelectorComponent.class, new SelectorComponentSerializer(this)).registerTypeAdapter(ObjectComponent.class, new ObjectComponentSerializer(this)).registerTypeAdapter(ComponentStyle.class, new ComponentStyleSerializer()).registerTypeAdapter(Entity.class, new EntitySerializer(this)).registerTypeAdapter(Text.class, new TextSerializer()).registerTypeAdapter(Item.class, new ItemSerializer()).registerTypeAdapter(ItemTag.class, new ItemTag.Serializer()).registerTypeAdapter(Dialog.class, this.dialogSerializer).registerTypeAdapter(ShowDialogClickEvent.class, new ShowDialogClickEventSerializer()).registerTypeAdapter(Action.class, new DialogActionSerializer()).create(); + } + + public static VersionedComponentSerializer forVersion(ChatVersion version) { + switch (version) { + case V1_16 -> { + return v1_16; + } + case V1_21_5 -> { + return v1_21_5; + } + default -> throw new IllegalArgumentException("Unknown version " + String.valueOf(version)); + } + } + + /** @deprecated */ + @Deprecated + @Internal + public static VersionedComponentSerializer getDefault() { + return v1_16; + } + + public BaseComponent[] parse(String json) { + JsonElement jsonElement = JsonParser.parseString(json); + return jsonElement.isJsonArray() ? (BaseComponent[])this.gson.fromJson(jsonElement, BaseComponent[].class) : new BaseComponent[]{(BaseComponent)this.gson.fromJson(jsonElement, BaseComponent.class)}; + } + + public BaseComponent deserialize(String json) { + JsonElement jsonElement = JsonParser.parseString(json); + return this.deserialize(jsonElement); + } + + public BaseComponent deserialize(JsonElement jsonElement) { + if (jsonElement instanceof JsonPrimitive primitive) { + if (primitive.isString()) { + return new TextComponent(primitive.getAsString()); + } + } else if (jsonElement instanceof JsonArray) { + BaseComponent[] array = (BaseComponent[])this.gson.fromJson(jsonElement, BaseComponent[].class); + return TextComponent.fromArray(array); + } + + return (BaseComponent)this.gson.fromJson(jsonElement, BaseComponent.class); + } + + public ComponentStyle deserializeStyle(String json) { + JsonElement jsonElement = JsonParser.parseString(json); + return this.deserializeStyle(jsonElement); + } + + public ComponentStyle deserializeStyle(JsonElement jsonElement) { + return (ComponentStyle)this.gson.fromJson(jsonElement, ComponentStyle.class); + } + + public JsonElement toJson(BaseComponent component) { + return this.gson.toJsonTree(component); + } + + public JsonElement toJson(ComponentStyle style) { + return this.gson.toJsonTree(style); + } + + /** @deprecated */ + @Deprecated + public String toString(Object object) { + return this.gson.toJson(object); + } + + /** @deprecated */ + @Deprecated + public String toString(Content content) { + return this.gson.toJson(content); + } + + public String toString(BaseComponent component) { + return this.gson.toJson(component); + } + + public String toString(BaseComponent... components) { + return components.length == 1 ? this.gson.toJson(components[0]) : this.gson.toJson(new TextComponent(components)); + } + + public String toString(ComponentStyle style) { + return this.gson.toJson(style); + } + + public BaseComponent deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + if (json.isJsonPrimitive()) { + return new TextComponent(json.getAsString()); + } else if (!json.isJsonArray()) { + JsonObject object = json.getAsJsonObject(); + if (object.has("translate")) { + return (BaseComponent)context.deserialize(json, TranslatableComponent.class); + } else if (object.has("keybind")) { + return (BaseComponent)context.deserialize(json, KeybindComponent.class); + } else if (object.has("score")) { + return (BaseComponent)context.deserialize(json, ScoreComponent.class); + } else if (object.has("selector")) { + return (BaseComponent)context.deserialize(json, SelectorComponent.class); + } else { + return !object.has("player") && !object.has("sprite") ? (BaseComponent)context.deserialize(json, TextComponent.class) : (BaseComponent)context.deserialize(json, ObjectComponent.class); + } + } else { + JsonArray arr = json.getAsJsonArray(); + BaseComponent[] components = new BaseComponent[arr.size()]; + + for(int i = 0; i < arr.size(); ++i) { + components[i] = this.deserialize(arr.get(i), BaseComponent.class, context); + } + + return TextComponent.fromArray(components); + } + } + + @Generated + public Gson getGson() { + return this.gson; + } + + @Generated + public ChatVersion getVersion() { + return this.version; + } + + @Generated + public DialogSerializer getDialogSerializer() { + return this.dialogSerializer; + } + + static { + v1_16 = new VersionedComponentSerializer(ChatVersion.V1_16); + v1_21_5 = new VersionedComponentSerializer(ChatVersion.V1_21_5); + serializedComponents = new ThreadLocal(); + } +} diff --git a/src/main/java/net/md_5/bungee/command/CommandBungee.java b/src/main/java/net/md_5/bungee/command/CommandBungee.java new file mode 100644 index 0000000..43552a0 --- /dev/null +++ b/src/main/java/net/md_5/bungee/command/CommandBungee.java @@ -0,0 +1,18 @@ +package net.md_5.bungee.command; + +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.plugin.Command; + +public class CommandBungee extends Command { + public CommandBungee() { + super("bungee"); + } + + public void execute(CommandSender sender, String[] args) { + String var10002 = ProxyServer.getInstance().getName(); + sender.sendMessage(TextComponent.fromLegacyText(ChatColor.translateAlternateColorCodes('&', "&8&m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n&eThis server is powered by &a" + var10002 + "&e version &c" + ProxyServer.getInstance().getVersion() + "&e.\n&7Created by &bArkFlame Development&7.\n&8 \u00bb &b&nhttps://flamecord.com\n&8&m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n&7&o\"Optimized performance, enhanced security.\""))); + } +} diff --git a/src/main/java/net/md_5/bungee/command/CommandEnd.java b/src/main/java/net/md_5/bungee/command/CommandEnd.java new file mode 100644 index 0000000..0925fc1 --- /dev/null +++ b/src/main/java/net/md_5/bungee/command/CommandEnd.java @@ -0,0 +1,22 @@ +package net.md_5.bungee.command; + +import com.google.common.base.Joiner; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.plugin.Command; + +public class CommandEnd extends Command { + public CommandEnd() { + super("end", "bungeecord.command.end"); + } + + public void execute(CommandSender sender, String[] args) { + if (args.length == 0) { + BungeeCord.getInstance().stop(); + } else { + BungeeCord.getInstance().stop(ChatColor.translateAlternateColorCodes('&', Joiner.on(' ').join(args))); + } + + } +} diff --git a/src/main/java/net/md_5/bungee/command/CommandIP.java b/src/main/java/net/md_5/bungee/command/CommandIP.java new file mode 100644 index 0000000..bd7b665 --- /dev/null +++ b/src/main/java/net/md_5/bungee/command/CommandIP.java @@ -0,0 +1,32 @@ +package net.md_5.bungee.command; + +import java.util.Collections; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.ClickEvent; +import net.md_5.bungee.api.chat.ComponentBuilder; +import net.md_5.bungee.api.connection.ProxiedPlayer; + +public class CommandIP extends PlayerCommand { + public CommandIP() { + super("ip", "bungeecord.command.ip"); + } + + public void execute(CommandSender sender, String[] args) { + if (args.length < 1) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("username_needed")); + } else { + ProxiedPlayer user = ProxyServer.getInstance().getPlayer(args[0]); + if (user == null) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("user_not_online")); + } else { + sender.sendMessage((new ComponentBuilder()).appendLegacy(ProxyServer.getInstance().getTranslation("command_ip", user.getName(), user.getSocketAddress())).event(new ClickEvent(ClickEvent.Action.COPY_TO_CLIPBOARD, user.getSocketAddress().toString())).create()); + } + + } + } + + public Iterable onTabComplete(CommandSender sender, String[] args) { + return (Iterable)(args.length == 1 ? super.onTabComplete(sender, args) : Collections.emptyList()); + } +} diff --git a/src/main/java/net/md_5/bungee/command/CommandPerms.java b/src/main/java/net/md_5/bungee/command/CommandPerms.java new file mode 100644 index 0000000..b8dbbf1 --- /dev/null +++ b/src/main/java/net/md_5/bungee/command/CommandPerms.java @@ -0,0 +1,29 @@ +package net.md_5.bungee.command; + +import java.util.HashSet; +import java.util.Set; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.plugin.Command; + +public class CommandPerms extends Command { + public CommandPerms() { + super("perms", "bungeecord.command.perms"); + } + + public void execute(CommandSender sender, String[] args) { + Set permissions = new HashSet(); + + for(String group : sender.getGroups()) { + permissions.addAll(ProxyServer.getInstance().getConfigurationAdapter().getPermissions(group)); + } + + sender.sendMessage(ProxyServer.getInstance().getTranslation("command_perms_groups", Util.csv(sender.getGroups()))); + + for(String permission : permissions) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("command_perms_permission", permission)); + } + + } +} diff --git a/src/main/java/net/md_5/bungee/command/CommandReload.java b/src/main/java/net/md_5/bungee/command/CommandReload.java new file mode 100644 index 0000000..f518cd1 --- /dev/null +++ b/src/main/java/net/md_5/bungee/command/CommandReload.java @@ -0,0 +1,23 @@ +package net.md_5.bungee.command; + +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.event.ProxyReloadEvent; +import net.md_5.bungee.api.plugin.Command; + +public class CommandReload extends Command { + public CommandReload() { + super("greload", "bungeecord.command.reload"); + } + + public void execute(CommandSender sender, String[] args) { + BungeeCord.getInstance().config.load(); + BungeeCord.getInstance().reloadMessages(); + BungeeCord.getInstance().stopListeners(); + BungeeCord.getInstance().startListeners(); + BungeeCord.getInstance().getPluginManager().callEvent(new ProxyReloadEvent(sender)); + String var10001 = ChatColor.BOLD.toString(); + sender.sendMessage(var10001 + ChatColor.RED.toString() + "FlameCord has been reloaded. This is NOT advisable and you will not be supported with any issues that arise! Please restart FlameCord ASAP."); + } +} diff --git a/src/main/java/net/md_5/bungee/command/ConsoleCommandSender.java b/src/main/java/net/md_5/bungee/command/ConsoleCommandSender.java new file mode 100644 index 0000000..34a5c2b --- /dev/null +++ b/src/main/java/net/md_5/bungee/command/ConsoleCommandSender.java @@ -0,0 +1,68 @@ +package net.md_5.bungee.command; + +import java.util.Collection; +import java.util.Collections; +import lombok.Generated; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.BaseComponent; + +public final class ConsoleCommandSender implements CommandSender { + private static final ConsoleCommandSender instance = new ConsoleCommandSender(); + + public void sendMessage(String message) { + ProxyServer.getInstance().getLogger().info(message); + } + + public void sendMessages(String... messages) { + for(String message : messages) { + this.sendMessage(message); + } + + } + + public void sendMessage(BaseComponent... message) { + this.sendMessage(BaseComponent.toLegacyText(message)); + } + + public void sendMessage(BaseComponent message) { + this.sendMessage(message.toLegacyText()); + } + + public String getName() { + return "CONSOLE"; + } + + public Collection getGroups() { + return Collections.emptySet(); + } + + public void addGroups(String... groups) { + throw new UnsupportedOperationException("Console may not have groups"); + } + + public void removeGroups(String... groups) { + throw new UnsupportedOperationException("Console may not have groups"); + } + + public boolean hasPermission(String permission) { + return true; + } + + public void setPermission(String permission, boolean value) { + throw new UnsupportedOperationException("Console has all permissions"); + } + + public Collection getPermissions() { + return Collections.emptySet(); + } + + @Generated + private ConsoleCommandSender() { + } + + @Generated + public static ConsoleCommandSender getInstance() { + return instance; + } +} diff --git a/src/main/java/net/md_5/bungee/command/PlayerCommand.java b/src/main/java/net/md_5/bungee/command/PlayerCommand.java new file mode 100644 index 0000000..9cce403 --- /dev/null +++ b/src/main/java/net/md_5/bungee/command/PlayerCommand.java @@ -0,0 +1,36 @@ +package net.md_5.bungee.command; + +import com.google.common.base.Function; +import com.google.common.base.Predicate; +import com.google.common.collect.Iterables; +import java.util.Locale; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Command; +import net.md_5.bungee.api.plugin.TabExecutor; + +/** @deprecated */ +@Deprecated +public abstract class PlayerCommand extends Command implements TabExecutor { + public PlayerCommand(String name) { + super(name); + } + + public PlayerCommand(String name, String permission, String... aliases) { + super(name, permission, aliases); + } + + public Iterable onTabComplete(CommandSender sender, String[] args) { + final String lastArg = args.length > 0 ? args[args.length - 1].toLowerCase(Locale.ROOT) : ""; + return Iterables.transform(Iterables.filter(ProxyServer.getInstance().getPlayers(), new Predicate() { + public boolean apply(ProxiedPlayer player) { + return player.getName().toLowerCase(Locale.ROOT).startsWith(lastArg); + } + }), new Function() { + public String apply(ProxiedPlayer player) { + return player.getName(); + } + }); + } +} diff --git a/src/main/java/net/md_5/bungee/compress/CompressFactory.java b/src/main/java/net/md_5/bungee/compress/CompressFactory.java new file mode 100644 index 0000000..a9c5f94 --- /dev/null +++ b/src/main/java/net/md_5/bungee/compress/CompressFactory.java @@ -0,0 +1,10 @@ +package net.md_5.bungee.compress; + +import net.md_5.bungee.jni.NativeCode; +import net.md_5.bungee.jni.zlib.BungeeZlib; +import net.md_5.bungee.jni.zlib.JavaZlib; +import net.md_5.bungee.jni.zlib.NativeZlib; + +public class CompressFactory { + public static final NativeCode zlib = new NativeCode("native-compress", JavaZlib::new, NativeZlib::new, true); +} diff --git a/src/main/java/net/md_5/bungee/compress/PacketDecompressor.java b/src/main/java/net/md_5/bungee/compress/PacketDecompressor.java new file mode 100644 index 0000000..b3fbe67 --- /dev/null +++ b/src/main/java/net/md_5/bungee/compress/PacketDecompressor.java @@ -0,0 +1,64 @@ +package net.md_5.bungee.compress; + +import com.arkflame.flamecord.natives.MoreByteBufUtils; +import com.arkflame.flamecord.natives.Natives; +import com.arkflame.flamecord.natives.compress.Compressor; +import com.google.common.base.Preconditions; +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import io.netty.handler.codec.MessageToMessageDecoder; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.OverflowPacketException; + +public class PacketDecompressor extends MessageToMessageDecoder { + private static final int MAX_DECOMPRESSED_LEN = 8388608; + private final int compressionThreshold; + private final int compressionLevel; + private final Compressor compressor; + private boolean checking = false; + + public PacketDecompressor(int compressionThreshold, int compressionLevel) { + this.compressionThreshold = compressionThreshold; + this.compressionLevel = compressionLevel; + this.compressor = Natives.getCompressorFactory().create(compressionLevel); + } + + public void handlerRemoved(ChannelHandlerContext ctx) throws Exception { + this.compressor.close(); + } + + protected void decode(ChannelHandlerContext ctx, ByteBuf in, List out) throws Exception { + int size = DefinedPacket.readVarInt(in); + if (size == 0) { + out.add(in.retain()); + } else { + if (size > 8388608) { + throw new OverflowPacketException("Packet may not be larger than 8388608 bytes"); + } + + ByteBuf compatibleIn = MoreByteBufUtils.ensureCompatible(ctx.alloc(), this.compressor, in); + ByteBuf decompressed = ctx.alloc().directBuffer(size, 8388608); + + try { + this.compressor.inflate(compatibleIn, decompressed, size); + Preconditions.checkArgument(decompressed.readableBytes() == size, "Decompressed size %s is not equal to actual decompressed bytes", size, decompressed.readableBytes()); + out.add(decompressed); + decompressed = null; + } finally { + if (decompressed != null) { + decompressed.release(); + } + + compatibleIn.release(); + } + } + + } + + @Generated + public void setChecking(boolean checking) { + this.checking = checking; + } +} diff --git a/src/main/java/net/md_5/bungee/conf/Configuration.java b/src/main/java/net/md_5/bungee/conf/Configuration.java new file mode 100644 index 0000000..542eb0b --- /dev/null +++ b/src/main/java/net/md_5/bungee/conf/Configuration.java @@ -0,0 +1,346 @@ +package net.md_5.bungee.conf; + +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.io.File; +import java.io.IOException; +import java.net.InetSocketAddress; +import java.util.Arrays; +import java.util.Collection; +import java.util.Map; +import java.util.UUID; +import java.util.logging.Level; +import java.util.logging.Logger; +import javax.imageio.ImageIO; +import lombok.Generated; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.Favicon; +import net.md_5.bungee.api.ProxyConfig; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.config.ConfigurationAdapter; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.util.CaseInsensitiveMap; +import net.md_5.bungee.util.CaseInsensitiveSet; + +public abstract class Configuration implements ProxyConfig { + private int timeout = 17000; + private String uuid = UUID.randomUUID().toString(); + private Collection listeners; + private final Object serversLock = new Object(); + private Map servers; + private boolean onlineMode = true; + private boolean enforceSecureProfile; + private boolean logCommands; + private boolean logPings = true; + private int remotePingCache = -1; + private int playerLimit = -1; + private Collection disabledCommands; + private int serverConnectTimeout = 5000; + private int remotePingTimeout = 5000; + private int throttle = 4000; + private int throttleLimit = 3; + private boolean ipForward; + private Favicon favicon; + private int compressionThreshold = 256; + private boolean preventProxyConnections; + private boolean rejectTransfers; + private int maxPacketsPerSecond = 4096; + private int maxPacketDataPerSecond = 33554432; + private boolean forgeSupport = true; + + public void updateServerIPs() { + Map newServers = new CaseInsensitiveMap(); + + for(ServerInfo info : this.servers.values()) { + String var10000 = info.getAddress().getHostName(); + InetSocketAddress updated = (InetSocketAddress)Util.getAddr(var10000 + ":" + info.getAddress().getPort()); + ServerInfo updatedInfo = ProxyServer.getInstance().constructServerInfo(info.getName(), updated, info.getMotd(), info.isRestricted()); + newServers.put(info.getName(), updatedInfo); + } + + this.servers = newServers; + } + + public void load() { + synchronized(this.serversLock) { + ConfigurationAdapter adapter = ProxyServer.getInstance().getConfigurationAdapter(); + adapter.load(); + File fav = new File("server-icon.png"); + if (fav.exists()) { + try { + this.favicon = Favicon.create(ImageIO.read(fav)); + } catch (IllegalArgumentException | IOException ex) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Could not load server icon", ex); + } + } + + this.listeners = adapter.getListeners(); + this.timeout = adapter.getInt("timeout", this.timeout); + this.uuid = adapter.getString("stats", this.uuid); + this.onlineMode = adapter.getBoolean("online_mode", this.onlineMode); + this.enforceSecureProfile = adapter.getBoolean("enforce_secure_profile", this.enforceSecureProfile); + this.logCommands = adapter.getBoolean("log_commands", this.logCommands); + this.logPings = adapter.getBoolean("log_pings", this.logPings); + this.remotePingCache = adapter.getInt("remote_ping_cache", this.remotePingCache); + this.playerLimit = adapter.getInt("player_limit", this.playerLimit); + this.serverConnectTimeout = adapter.getInt("server_connect_timeout", this.serverConnectTimeout); + this.remotePingTimeout = adapter.getInt("remote_ping_timeout", this.remotePingTimeout); + this.throttle = adapter.getInt("connection_throttle", this.throttle); + this.throttleLimit = adapter.getInt("connection_throttle_limit", this.throttleLimit); + this.ipForward = adapter.getBoolean("ip_forward", this.ipForward); + this.compressionThreshold = adapter.getInt("network_compression_threshold", this.compressionThreshold); + this.preventProxyConnections = adapter.getBoolean("prevent_proxy_connections", this.preventProxyConnections); + this.forgeSupport = adapter.getBoolean("forge_support", this.forgeSupport); + this.rejectTransfers = adapter.getBoolean("reject_transfers", this.rejectTransfers); + this.maxPacketsPerSecond = adapter.getInt("max_packets_per_second", this.maxPacketsPerSecond); + this.maxPacketDataPerSecond = adapter.getInt("max_packets_data_per_second", this.maxPacketDataPerSecond); + this.disabledCommands = new CaseInsensitiveSet((Collection)adapter.getList("disabled_commands", Arrays.asList("disabledcommandhere"))); + Preconditions.checkArgument(this.listeners != null && !this.listeners.isEmpty(), "No listeners defined."); + Map newServers = adapter.getServers(); + Preconditions.checkArgument(newServers != null && !newServers.isEmpty(), "No servers defined"); + if (this.servers == null) { + this.servers = new CaseInsensitiveMap(newServers); + } else { + Map oldServers = this.getServersCopy(); + + for(ServerInfo oldServer : oldServers.values()) { + ServerInfo newServer = (ServerInfo)newServers.get(oldServer.getName()); + if ((newServer == null || !oldServer.getAddress().equals(newServer.getAddress())) && !oldServer.getPlayers().isEmpty()) { + BungeeCord.getInstance().getLogger().info("Moving players off of server: " + oldServer.getName()); + + for(ProxiedPlayer player : oldServer.getPlayers()) { + ListenerInfo listener = player.getPendingConnection().getListener(); + String destinationName = newServers.get(listener.getDefaultServer()) == null ? listener.getDefaultServer() : listener.getFallbackServer(); + ServerInfo destination = (ServerInfo)newServers.get(destinationName); + if (destination == null) { + Logger var10000 = BungeeCord.getInstance().getLogger(); + String var10001 = listener.getDefaultServer(); + var10000.severe("Couldn't find server " + var10001 + " or " + listener.getFallbackServer() + " to put player " + player.getName() + " on"); + player.disconnect(BungeeCord.getInstance().getTranslation("fallback_kick", "Not found on reload")); + } else { + player.connect(destination, (Callback)(success, cause) -> { + if (!success) { + BungeeCord.getInstance().getLogger().log(Level.WARNING, "Failed to connect " + player.getName() + " to " + destination.getName(), cause); + player.disconnect(BungeeCord.getInstance().getTranslation("fallback_kick", cause.getCause().getClass().getName())); + } + + }); + } + } + } else { + newServers.put(oldServer.getName(), oldServer); + } + } + + this.servers = new CaseInsensitiveMap(newServers); + } + + for(ListenerInfo listener : this.listeners) { + for(int i = 0; i < listener.getServerPriority().size(); ++i) { + String server = (String)listener.getServerPriority().get(i); + Preconditions.checkArgument(this.servers.containsKey(server), "Server %s (priority %s) is not defined", server, i); + } + + for(String server : listener.getForcedHosts().values()) { + if (!this.servers.containsKey(server)) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Forced host server {0} is not defined", server); + } + } + } + + } + } + + /** @deprecated */ + @Deprecated + public String getFavicon() { + return this.getFaviconObject().getEncoded(); + } + + public Favicon getFaviconObject() { + return this.favicon; + } + + public Map getServersCopy() { + synchronized(this.serversLock) { + return ImmutableMap.copyOf(this.servers); + } + } + + public ServerInfo getServerInfo(String name) { + synchronized(this.serversLock) { + return (ServerInfo)this.servers.get(name); + } + } + + public ServerInfo addServer(ServerInfo server) { + synchronized(this.serversLock) { + return (ServerInfo)this.servers.put(server.getName(), server); + } + } + + public boolean addServers(Collection servers) { + synchronized(this.serversLock) { + boolean changed = false; + + for(ServerInfo server : servers) { + if (server != this.servers.put(server.getName(), server)) { + changed = true; + } + } + + return changed; + } + } + + public ServerInfo removeServerNamed(String name) { + synchronized(this.serversLock) { + return (ServerInfo)this.servers.remove(name); + } + } + + public ServerInfo removeServer(ServerInfo server) { + synchronized(this.serversLock) { + return (ServerInfo)this.servers.remove(server.getName()); + } + } + + public boolean removeServersNamed(Collection names) { + synchronized(this.serversLock) { + return this.servers.keySet().removeAll(names); + } + } + + public boolean removeServers(Collection servers) { + synchronized(this.serversLock) { + boolean changed = false; + + for(ServerInfo server : servers) { + if (null != this.servers.remove(server.getName())) { + changed = true; + } + } + + return changed; + } + } + + @Generated + public int getTimeout() { + return this.timeout; + } + + @Generated + public String getUuid() { + return this.uuid; + } + + @Generated + public Collection getListeners() { + return this.listeners; + } + + @Generated + public Object getServersLock() { + return this.serversLock; + } + + @Generated + public Map getServers() { + return this.servers; + } + + @Generated + public boolean isOnlineMode() { + return this.onlineMode; + } + + @Generated + public boolean isEnforceSecureProfile() { + return this.enforceSecureProfile; + } + + @Generated + public boolean isLogCommands() { + return this.logCommands; + } + + @Generated + public boolean isLogPings() { + return this.logPings; + } + + @Generated + public int getRemotePingCache() { + return this.remotePingCache; + } + + @Generated + public int getPlayerLimit() { + return this.playerLimit; + } + + @Generated + public Collection getDisabledCommands() { + return this.disabledCommands; + } + + @Generated + public int getServerConnectTimeout() { + return this.serverConnectTimeout; + } + + @Generated + public int getRemotePingTimeout() { + return this.remotePingTimeout; + } + + @Generated + public int getThrottle() { + return this.throttle; + } + + @Generated + public int getThrottleLimit() { + return this.throttleLimit; + } + + @Generated + public boolean isIpForward() { + return this.ipForward; + } + + @Generated + public int getCompressionThreshold() { + return this.compressionThreshold; + } + + @Generated + public boolean isPreventProxyConnections() { + return this.preventProxyConnections; + } + + @Generated + public boolean isRejectTransfers() { + return this.rejectTransfers; + } + + @Generated + public int getMaxPacketsPerSecond() { + return this.maxPacketsPerSecond; + } + + @Generated + public int getMaxPacketDataPerSecond() { + return this.maxPacketDataPerSecond; + } + + @Generated + public boolean isForgeSupport() { + return this.forgeSupport; + } +} diff --git a/src/main/java/net/md_5/bungee/conf/YamlConfig.java b/src/main/java/net/md_5/bungee/conf/YamlConfig.java new file mode 100644 index 0000000..a87d06a --- /dev/null +++ b/src/main/java/net/md_5/bungee/conf/YamlConfig.java @@ -0,0 +1,286 @@ +package net.md_5.bungee.conf; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStreamWriter; +import java.io.Writer; +import java.net.SocketAddress; +import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.logging.Level; +import lombok.Generated; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.config.ConfigurationAdapter; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.util.CaseInsensitiveMap; +import org.yaml.snakeyaml.DumperOptions; +import org.yaml.snakeyaml.Yaml; +import org.yaml.snakeyaml.DumperOptions.FlowStyle; +import org.yaml.snakeyaml.error.YAMLException; + +public class YamlConfig implements ConfigurationAdapter { + private final Yaml yaml; + private Map config; + private final File file; + + public YamlConfig() { + this(new File("config.yml")); + } + + public YamlConfig(File file) { + this.file = file; + DumperOptions options = new DumperOptions(); + options.setDefaultFlowStyle(FlowStyle.BLOCK); + this.yaml = new Yaml(options); + } + + public void load() { + this.load(true); + } + + public void load(boolean doPermissions) { + try { + this.file.createNewFile(); + InputStream is = new FileInputStream(this.file); + + try { + try { + this.config = (Map)this.yaml.load(is); + } catch (YAMLException ex) { + throw new RuntimeException("Invalid configuration encountered - this is a configuration error and NOT a bug! Please attempt to fix the error or see https://www.spigotmc.org/ for help.", ex); + } + } catch (Throwable var7) { + try { + is.close(); + } catch (Throwable var5) { + var7.addSuppressed(var5); + } + + throw var7; + } + + is.close(); + if (this.config == null) { + this.config = new CaseInsensitiveMap(); + } else { + this.config = new CaseInsensitiveMap(this.config); + } + } catch (IOException ex) { + throw new RuntimeException("Could not load configuration!", ex); + } + + if (doPermissions) { + Map permissions = (Map)this.get("permissions", (Object)null); + if (permissions == null) { + this.set("permissions.default", Arrays.asList("bungeecord.command.server", "bungeecord.command.list")); + this.set("permissions.admin", Arrays.asList("bungeecord.command.alert", "bungeecord.command.alertraw", "bungeecord.command.end", "bungeecord.command.ip", "bungeecord.command.reload", "bungeecord.command.kick", "bungeecord.command.send", "bungeecord.command.find", "bungeecord.command.perms")); + } + + Map groups = (Map)this.get("groups", (Object)null); + if (groups == null) { + this.set("groups.md_5", Collections.singletonList("default")); + } + + } + } + + private T get(String path, T def) { + return (T)this.get(path, def, this.config); + } + + private T get(String path, T def, Map submap) { + int index = path.indexOf(46); + if (index == -1) { + Object val = submap.get(path); + if (val == null && def != null) { + val = def; + submap.put(path, def); + this.save(); + } + + return (T)val; + } else { + String first = path.substring(0, index); + String second = path.substring(index + 1, path.length()); + Map sub = (Map)submap.get(first); + if (sub == null) { + sub = new LinkedHashMap(); + submap.put(first, sub); + } + + return (T)this.get(second, def, sub); + } + } + + private void set(String path, Object val) { + this.set(path, val, this.config); + } + + private void set(String path, Object val, Map submap) { + int index = path.indexOf(46); + if (index == -1) { + if (val == null) { + submap.remove(path); + } else { + submap.put(path, val); + } + + this.save(); + } else { + String first = path.substring(0, index); + String second = path.substring(index + 1, path.length()); + Map sub = (Map)submap.get(first); + if (sub == null) { + sub = new LinkedHashMap(); + submap.put(first, sub); + } + + this.set(second, val, sub); + } + + } + + private void save() { + try { + Writer wr = new OutputStreamWriter(new FileOutputStream(this.file), StandardCharsets.UTF_8); + + try { + this.yaml.dump(this.config, wr); + } catch (Throwable var5) { + try { + wr.close(); + } catch (Throwable var4) { + var5.addSuppressed(var4); + } + + throw var5; + } + + wr.close(); + } catch (IOException ex) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Could not save config", ex); + } + + } + + public int getInt(String path, int def) { + Number number = (Number)this.get(path, def); + return number.intValue(); + } + + public String getString(String path, String def) { + return (String)this.get(path, def); + } + + public boolean getBoolean(String path, boolean def) { + return (Boolean)this.get(path, def); + } + + public Map getServers() { + Map> base = (Map)this.get("servers", Collections.singletonMap("lobby", new HashMap())); + Map ret = new HashMap(); + + for(Map.Entry> entry : base.entrySet()) { + Map val = (Map)entry.getValue(); + String name = (String)entry.getKey(); + String addr = (String)this.get("address", "localhost:25565", val); + String motd = ChatColor.translateAlternateColorCodes('&', (String)this.get("motd", "&1Just another " + BungeeCord.getInstance().getName() + " - Forced Host", val)); + boolean restricted = (Boolean)this.get("restricted", false, val); + SocketAddress address = Util.getAddr(addr); + ServerInfo info = ProxyServer.getInstance().constructServerInfo(name, address, motd, restricted); + ret.put(name, info); + } + + return ret; + } + + public Collection getListeners() { + Collection> base = (Collection)this.get("listeners", Arrays.asList(new HashMap())); + Map forcedDef = new HashMap(); + forcedDef.put("pvp.md-5.net", "pvp"); + Collection ret = new HashSet(); + + for(Map val : base) { + String motd = (String)this.get("motd", "&1Another " + BungeeCord.getInstance().getName() + " server", val); + motd = ChatColor.translateAlternateColorCodes('&', motd); + int maxPlayers = (Integer)this.get("max_players", 1, val); + boolean forceDefault = (Boolean)this.get("force_default_server", false, val); + String host = (String)this.get("host", "0.0.0.0:25577", val); + int tabListSize = (Integer)this.get("tab_size", 60, val); + SocketAddress address = Util.getAddr(host); + Map forced = new CaseInsensitiveMap((Map)this.get("forced_hosts", forcedDef, val)); + String tabListName = (String)this.get("tab_list", "GLOBAL_PING", val); + DefaultTabList value = YamlConfig.DefaultTabList.valueOf(tabListName.toUpperCase(Locale.ROOT)); + if (value == null) { + value = YamlConfig.DefaultTabList.GLOBAL_PING; + } + + boolean setLocalAddress = (Boolean)this.get("bind_local_address", true, val); + boolean pingPassthrough = (Boolean)this.get("ping_passthrough", false, val); + boolean query = (Boolean)this.get("query_enabled", false, val); + int queryPort = (Integer)this.get("query_port", 25577, val); + boolean proxyProtocol = (Boolean)this.get("proxy_protocol", false, val); + List serverPriority = new ArrayList((Collection)this.get("priorities", Collections.EMPTY_LIST, val)); + String defaultServer = (String)this.get("default_server", (Object)null, val); + String fallbackServer = (String)this.get("fallback_server", (Object)null, val); + if (defaultServer != null) { + serverPriority.add(defaultServer); + this.set("default_server", (Object)null, val); + } + + if (fallbackServer != null) { + serverPriority.add(fallbackServer); + this.set("fallback_server", (Object)null, val); + } + + if (serverPriority.isEmpty()) { + serverPriority.add("lobby"); + } + + this.set("priorities", serverPriority, val); + ListenerInfo info = new ListenerInfo(address, motd, maxPlayers, tabListSize, serverPriority, forceDefault, forced, value.toString(), setLocalAddress, pingPassthrough, queryPort, query, proxyProtocol); + ret.add(info); + } + + return ret; + } + + public Collection getGroups(String player) { + Map> raw = (Map)this.get("groups", Collections.emptyMap()); + Collection groups = (Collection)raw.get(player); + Collection ret = groups == null ? new HashSet() : new HashSet(groups); + ret.add("default"); + return ret; + } + + public Collection getList(String path, Collection def) { + return (Collection)this.get(path, def); + } + + public Collection getPermissions(String group) { + Collection permissions = (Collection)this.get("permissions." + group, (Object)null); + return (Collection)(permissions == null ? Collections.EMPTY_SET : permissions); + } + + private static enum DefaultTabList { + GLOBAL, + GLOBAL_PING, + SERVER; + } +} diff --git a/src/main/java/net/md_5/bungee/config/Configuration.java b/src/main/java/net/md_5/bungee/config/Configuration.java new file mode 100644 index 0000000..952b354 --- /dev/null +++ b/src/main/java/net/md_5/bungee/config/Configuration.java @@ -0,0 +1,335 @@ +package net.md_5.bungee.config; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.LinkedHashMap; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Map; + +public final class Configuration { + private static final char SEPARATOR = '.'; + final Map self; + private final Configuration defaults; + + public Configuration() { + this((Configuration)null); + } + + public Configuration(Configuration defaults) { + this(new LinkedHashMap(), defaults); + } + + Configuration(Map map, Configuration defaults) { + this.self = new LinkedHashMap(); + this.defaults = defaults; + + for(Map.Entry entry : map.entrySet()) { + String key = entry.getKey() == null ? "null" : entry.getKey().toString(); + if (entry.getValue() instanceof Map) { + this.self.put(key, new Configuration((Map)entry.getValue(), defaults == null ? null : defaults.getSection(key))); + } else { + this.self.put(key, entry.getValue()); + } + } + + } + + public Configuration(Configuration values, Configuration defaults) { + this(values.self, defaults); + } + + private Configuration getSectionFor(String path) { + int index = path.indexOf(46); + if (index == -1) { + return this; + } else { + String root = path.substring(0, index); + Object section = this.self.get(root); + if (section == null) { + section = new Configuration(this.defaults == null ? null : this.defaults.getSection(root)); + this.self.put(root, section); + } + + return (Configuration)section; + } + } + + private String getChild(String path) { + int index = path.indexOf(46); + return index == -1 ? path : path.substring(index + 1); + } + + public T get(String path, T def) { + Configuration section = this.getSectionFor(path); + Object val; + if (section == this) { + val = this.self.get(path); + } else { + val = section.get(this.getChild(path), def); + } + + if (val == null && def instanceof Configuration) { + this.self.put(path, def); + } + + return (T)(val != null ? val : def); + } + + public boolean contains(String path) { + return this.get(path, (Object)null) != null; + } + + public Object get(String path) { + return this.get(path, this.getDefault(path)); + } + + public Object getDefault(String path) { + return this.defaults == null ? null : this.defaults.get(path); + } + + public void set(String path, Object value) { + if (value instanceof Map) { + value = new Configuration((Map)value, this.defaults == null ? null : this.defaults.getSection(path)); + } + + Configuration section = this.getSectionFor(path); + if (section == this) { + if (value == null) { + this.self.remove(path); + } else { + this.self.put(path, value); + } + } else { + section.set(this.getChild(path), value); + } + + } + + public Configuration getSection(String path) { + Object def = this.getDefault(path); + return (Configuration)this.get(path, def instanceof Configuration ? def : new Configuration(this.defaults == null ? null : this.defaults.getSection(path))); + } + + public Collection getKeys() { + return new LinkedHashSet(this.self.keySet()); + } + + public byte getByte(String path) { + Object def = this.getDefault(path); + return this.getByte(path, def instanceof Number ? ((Number)def).byteValue() : 0); + } + + public byte getByte(String path, byte def) { + Object val = this.get(path, def); + return val instanceof Number ? ((Number)val).byteValue() : def; + } + + public List getByteList(String path) { + List list = this.getList(path); + List result = new ArrayList(); + + for(Object object : list) { + if (object instanceof Number) { + result.add(((Number)object).byteValue()); + } + } + + return result; + } + + public short getShort(String path) { + Object def = this.getDefault(path); + return this.getShort(path, def instanceof Number ? ((Number)def).shortValue() : 0); + } + + public short getShort(String path, short def) { + Object val = this.get(path, def); + return val instanceof Number ? ((Number)val).shortValue() : def; + } + + public List getShortList(String path) { + List list = this.getList(path); + List result = new ArrayList(); + + for(Object object : list) { + if (object instanceof Number) { + result.add(((Number)object).shortValue()); + } + } + + return result; + } + + public int getInt(String path) { + Object def = this.getDefault(path); + return this.getInt(path, def instanceof Number ? ((Number)def).intValue() : 0); + } + + public int getInt(String path, int def) { + Object val = this.get(path, def); + return val instanceof Number ? ((Number)val).intValue() : def; + } + + public List getIntList(String path) { + List list = this.getList(path); + List result = new ArrayList(); + + for(Object object : list) { + if (object instanceof Number) { + result.add(((Number)object).intValue()); + } + } + + return result; + } + + public long getLong(String path) { + Object def = this.getDefault(path); + return this.getLong(path, def instanceof Number ? ((Number)def).longValue() : 0L); + } + + public long getLong(String path, long def) { + Object val = this.get(path, def); + return val instanceof Number ? ((Number)val).longValue() : def; + } + + public List getLongList(String path) { + List list = this.getList(path); + List result = new ArrayList(); + + for(Object object : list) { + if (object instanceof Number) { + result.add(((Number)object).longValue()); + } + } + + return result; + } + + public float getFloat(String path) { + Object def = this.getDefault(path); + return this.getFloat(path, def instanceof Number ? ((Number)def).floatValue() : 0.0F); + } + + public float getFloat(String path, float def) { + Object val = this.get(path, def); + return val instanceof Number ? ((Number)val).floatValue() : def; + } + + public List getFloatList(String path) { + List list = this.getList(path); + List result = new ArrayList(); + + for(Object object : list) { + if (object instanceof Number) { + result.add(((Number)object).floatValue()); + } + } + + return result; + } + + public double getDouble(String path) { + Object def = this.getDefault(path); + return this.getDouble(path, def instanceof Number ? ((Number)def).doubleValue() : (double)0.0F); + } + + public double getDouble(String path, double def) { + Object val = this.get(path, def); + return val instanceof Number ? ((Number)val).doubleValue() : def; + } + + public List getDoubleList(String path) { + List list = this.getList(path); + List result = new ArrayList(); + + for(Object object : list) { + if (object instanceof Number) { + result.add(((Number)object).doubleValue()); + } + } + + return result; + } + + public boolean getBoolean(String path) { + Object def = this.getDefault(path); + return this.getBoolean(path, def instanceof Boolean ? (Boolean)def : false); + } + + public boolean getBoolean(String path, boolean def) { + Object val = this.get(path, def); + return val instanceof Boolean ? (Boolean)val : def; + } + + public List getBooleanList(String path) { + List list = this.getList(path); + List result = new ArrayList(); + + for(Object object : list) { + if (object instanceof Boolean) { + result.add((Boolean)object); + } + } + + return result; + } + + public char getChar(String path) { + Object def = this.getDefault(path); + return this.getChar(path, def instanceof Character ? (Character)def : '\u0000'); + } + + public char getChar(String path, char def) { + Object val = this.get(path, def); + return val instanceof Character ? (Character)val : def; + } + + public List getCharList(String path) { + List list = this.getList(path); + List result = new ArrayList(); + + for(Object object : list) { + if (object instanceof Character) { + result.add((Character)object); + } + } + + return result; + } + + public String getString(String path) { + Object def = this.getDefault(path); + return this.getString(path, def instanceof String ? (String)def : ""); + } + + public String getString(String path, String def) { + Object val = this.get(path, def); + return val instanceof String ? (String)val : def; + } + + public List getStringList(String path) { + List list = this.getList(path); + List result = new ArrayList(); + + for(Object object : list) { + if (object instanceof String) { + result.add((String)object); + } + } + + return result; + } + + public List getList(String path) { + Object def = this.getDefault(path); + return this.getList(path, def instanceof List ? (List)def : Collections.EMPTY_LIST); + } + + public List getList(String path, List def) { + Object val = this.get(path, def); + return val instanceof List ? (List)val : def; + } +} diff --git a/src/main/java/net/md_5/bungee/config/ConfigurationProvider.java b/src/main/java/net/md_5/bungee/config/ConfigurationProvider.java new file mode 100644 index 0000000..27ffb7b --- /dev/null +++ b/src/main/java/net/md_5/bungee/config/ConfigurationProvider.java @@ -0,0 +1,50 @@ +package net.md_5.bungee.config; + +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.io.Reader; +import java.io.Writer; +import java.util.HashMap; +import java.util.Map; + +public abstract class ConfigurationProvider { + private static final Map, ConfigurationProvider> providers = new HashMap(); + + public static ConfigurationProvider getProvider(Class provider) { + return (ConfigurationProvider)providers.get(provider); + } + + public abstract void save(Configuration var1, File var2) throws IOException; + + public abstract void save(Configuration var1, Writer var2); + + public abstract Configuration load(File var1) throws IOException; + + public abstract Configuration load(File var1, Configuration var2) throws IOException; + + public abstract Configuration load(Reader var1); + + public abstract Configuration load(Reader var1, Configuration var2); + + public abstract Configuration load(InputStream var1); + + public abstract Configuration load(InputStream var1, Configuration var2); + + public abstract Configuration load(String var1); + + public abstract Configuration load(String var1, Configuration var2); + + static { + try { + providers.put(YamlConfiguration.class, new YamlConfiguration()); + } catch (NoClassDefFoundError var2) { + } + + try { + providers.put(JsonConfiguration.class, new JsonConfiguration()); + } catch (NoClassDefFoundError var1) { + } + + } +} diff --git a/src/main/java/net/md_5/bungee/config/JsonConfiguration.java b/src/main/java/net/md_5/bungee/config/JsonConfiguration.java new file mode 100644 index 0000000..271ac0e --- /dev/null +++ b/src/main/java/net/md_5/bungee/config/JsonConfiguration.java @@ -0,0 +1,113 @@ +package net.md_5.bungee.config; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonElement; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.OutputStreamWriter; +import java.io.Reader; +import java.io.Writer; +import java.lang.reflect.Type; +import java.nio.charset.StandardCharsets; +import java.util.LinkedHashMap; +import java.util.Map; +import lombok.Generated; + +public class JsonConfiguration extends ConfigurationProvider { + private final Gson json = (new GsonBuilder()).serializeNulls().setPrettyPrinting().registerTypeAdapter(Configuration.class, new JsonSerializer() { + public JsonElement serialize(Configuration src, Type typeOfSrc, JsonSerializationContext context) { + return context.serialize(src.self); + } + }).create(); + + public void save(Configuration config, File file) throws IOException { + Writer writer = new OutputStreamWriter(new FileOutputStream(file), StandardCharsets.UTF_8); + + try { + this.save(config, writer); + } catch (Throwable var7) { + try { + writer.close(); + } catch (Throwable var6) { + var7.addSuppressed(var6); + } + + throw var7; + } + + writer.close(); + } + + public void save(Configuration config, Writer writer) { + this.json.toJson(config.self, writer); + } + + public Configuration load(File file) throws IOException { + return this.load((File)file, (Configuration)null); + } + + public Configuration load(File file, Configuration defaults) throws IOException { + FileInputStream is = new FileInputStream(file); + + Configuration var4; + try { + var4 = this.load((InputStream)is, defaults); + } catch (Throwable var7) { + try { + is.close(); + } catch (Throwable var6) { + var7.addSuppressed(var6); + } + + throw var7; + } + + is.close(); + return var4; + } + + public Configuration load(Reader reader) { + return this.load((Reader)reader, (Configuration)null); + } + + public Configuration load(Reader reader, Configuration defaults) { + Map map = (Map)this.json.fromJson(reader, LinkedHashMap.class); + if (map == null) { + map = new LinkedHashMap(); + } + + return new Configuration(map, defaults); + } + + public Configuration load(InputStream is) { + return this.load((InputStream)is, (Configuration)null); + } + + public Configuration load(InputStream is, Configuration defaults) { + return this.load((Reader)(new InputStreamReader(is, StandardCharsets.UTF_8)), defaults); + } + + public Configuration load(String string) { + return this.load((String)string, (Configuration)null); + } + + public Configuration load(String string, Configuration defaults) { + Map map = (Map)this.json.fromJson(string, LinkedHashMap.class); + if (map == null) { + map = new LinkedHashMap(); + } + + return new Configuration(map, defaults); + } + + @Generated + JsonConfiguration() { + } +} diff --git a/src/main/java/net/md_5/bungee/config/YamlConfiguration.java b/src/main/java/net/md_5/bungee/config/YamlConfiguration.java new file mode 100644 index 0000000..a6f03ae --- /dev/null +++ b/src/main/java/net/md_5/bungee/config/YamlConfiguration.java @@ -0,0 +1,130 @@ +package net.md_5.bungee.config; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStreamWriter; +import java.io.Reader; +import java.io.Writer; +import java.nio.charset.StandardCharsets; +import java.util.LinkedHashMap; +import java.util.Map; +import lombok.Generated; +import org.yaml.snakeyaml.DumperOptions; +import org.yaml.snakeyaml.LoaderOptions; +import org.yaml.snakeyaml.Yaml; +import org.yaml.snakeyaml.DumperOptions.FlowStyle; +import org.yaml.snakeyaml.constructor.Constructor; +import org.yaml.snakeyaml.nodes.Node; +import org.yaml.snakeyaml.representer.Represent; +import org.yaml.snakeyaml.representer.Representer; + +public class YamlConfiguration extends ConfigurationProvider { + private final ThreadLocal yaml = new ThreadLocal() { + protected Yaml initialValue() { + DumperOptions options = new DumperOptions(); + options.setDefaultFlowStyle(FlowStyle.BLOCK); + Representer representer = new Representer(options) { + { + this.representers.put(Configuration.class, new Represent() { + public Node representData(Object data) { + return represent(((Configuration)data).self); + } + }); + } + }; + return new Yaml(new Constructor(new LoaderOptions()), representer, options); + } + }; + + public void save(Configuration config, File file) throws IOException { + Writer writer = new OutputStreamWriter(new FileOutputStream(file), StandardCharsets.UTF_8); + + try { + this.save(config, writer); + } catch (Throwable var7) { + try { + writer.close(); + } catch (Throwable var6) { + var7.addSuppressed(var6); + } + + throw var7; + } + + writer.close(); + } + + public void save(Configuration config, Writer writer) { + ((Yaml)this.yaml.get()).dump(config.self, writer); + } + + public Configuration load(File file) throws IOException { + return this.load((File)file, (Configuration)null); + } + + public Configuration load(File file, Configuration defaults) throws IOException { + FileInputStream is = new FileInputStream(file); + + Configuration var4; + try { + var4 = this.load((InputStream)is, defaults); + } catch (Throwable var7) { + try { + is.close(); + } catch (Throwable var6) { + var7.addSuppressed(var6); + } + + throw var7; + } + + is.close(); + return var4; + } + + public Configuration load(Reader reader) { + return this.load((Reader)reader, (Configuration)null); + } + + public Configuration load(Reader reader, Configuration defaults) { + Map map = (Map)((Yaml)this.yaml.get()).loadAs(reader, LinkedHashMap.class); + if (map == null) { + map = new LinkedHashMap(); + } + + return new Configuration(map, defaults); + } + + public Configuration load(InputStream is) { + return this.load((InputStream)is, (Configuration)null); + } + + public Configuration load(InputStream is, Configuration defaults) { + Map map = (Map)((Yaml)this.yaml.get()).loadAs(is, LinkedHashMap.class); + if (map == null) { + map = new LinkedHashMap(); + } + + return new Configuration(map, defaults); + } + + public Configuration load(String string) { + return this.load((String)string, (Configuration)null); + } + + public Configuration load(String string, Configuration defaults) { + Map map = (Map)((Yaml)this.yaml.get()).loadAs(string, LinkedHashMap.class); + if (map == null) { + map = new LinkedHashMap(); + } + + return new Configuration(map, defaults); + } + + @Generated + YamlConfiguration() { + } +} diff --git a/src/main/java/net/md_5/bungee/connection/CancelSendSignal.java b/src/main/java/net/md_5/bungee/connection/CancelSendSignal.java new file mode 100644 index 0000000..db34de7 --- /dev/null +++ b/src/main/java/net/md_5/bungee/connection/CancelSendSignal.java @@ -0,0 +1,19 @@ +package net.md_5.bungee.connection; + +import lombok.Generated; + +public class CancelSendSignal extends Error { + public static final CancelSendSignal INSTANCE = new CancelSendSignal(); + + public Throwable initCause(Throwable cause) { + return this; + } + + public Throwable fillInStackTrace() { + return this; + } + + @Generated + private CancelSendSignal() { + } +} diff --git a/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java b/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java new file mode 100644 index 0000000..1e6d3bf --- /dev/null +++ b/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java @@ -0,0 +1,719 @@ +package net.md_5.bungee.connection; + +import com.google.common.base.Function; +import com.google.common.base.Preconditions; +import com.google.common.collect.Lists; +import com.google.common.io.ByteArrayDataOutput; +import com.google.common.io.ByteStreams; +import com.mojang.brigadier.arguments.StringArgumentType; +import com.mojang.brigadier.builder.LiteralArgumentBuilder; +import com.mojang.brigadier.builder.RequiredArgumentBuilder; +import com.mojang.brigadier.context.StringRange; +import com.mojang.brigadier.suggestion.Suggestion; +import com.mojang.brigadier.suggestion.Suggestions; +import com.mojang.brigadier.tree.CommandNode; +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.balancer.Balancer; +import io.github.waterfallmc.waterfall.event.ProxyDefineCommandsEvent; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.ByteBufAllocator; +import io.netty.buffer.Unpooled; +import io.netty.channel.unix.DomainSocketAddress; +import java.io.DataInput; +import java.net.InetSocketAddress; +import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Comparator; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.Objects; +import java.util.stream.Collectors; +import lombok.Generated; +import net.md_5.bungee.ServerConnection; +import net.md_5.bungee.ServerConnector; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.connection.Server; +import net.md_5.bungee.api.event.PlayerConfigurationEvent; +import net.md_5.bungee.api.event.PluginMessageEvent; +import net.md_5.bungee.api.event.ServerConnectEvent; +import net.md_5.bungee.api.event.ServerDisconnectEvent; +import net.md_5.bungee.api.event.ServerKickEvent; +import net.md_5.bungee.api.event.TabCompleteResponseEvent; +import net.md_5.bungee.api.plugin.Command; +import net.md_5.bungee.api.plugin.TabExecutor; +import net.md_5.bungee.api.score.Objective; +import net.md_5.bungee.api.score.Position; +import net.md_5.bungee.api.score.Score; +import net.md_5.bungee.api.score.Scoreboard; +import net.md_5.bungee.forge.ForgeServerHandler; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.netty.PacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.packet.BossBar; +import net.md_5.bungee.protocol.packet.BundleDelimiter; +import net.md_5.bungee.protocol.packet.Commands; +import net.md_5.bungee.protocol.packet.FinishConfiguration; +import net.md_5.bungee.protocol.packet.KeepAlive; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.protocol.packet.KnownPacks; +import net.md_5.bungee.protocol.packet.Login; +import net.md_5.bungee.protocol.packet.PlayerListItem; +import net.md_5.bungee.protocol.packet.PlayerListItemRemove; +import net.md_5.bungee.protocol.packet.PlayerListItemUpdate; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.protocol.packet.Respawn; +import net.md_5.bungee.protocol.packet.ScoreboardDisplay; +import net.md_5.bungee.protocol.packet.ScoreboardObjective; +import net.md_5.bungee.protocol.packet.ScoreboardScore; +import net.md_5.bungee.protocol.packet.ScoreboardScoreReset; +import net.md_5.bungee.protocol.packet.ServerData; +import net.md_5.bungee.protocol.packet.SetCompression; +import net.md_5.bungee.protocol.packet.TabCompleteResponse; +import net.md_5.bungee.protocol.packet.Team; +import net.md_5.bungee.tab.TabList; + +public class DownstreamBridge extends PacketHandler { + private static final com.mojang.brigadier.Command DUMMY_COMMAND = (context) -> 0; + private final ProxyServer bungee; + private final UserConnection con; + private final ServerConnection server; + private boolean receivedLogin; + + public void exception(Throwable t) throws Exception { + if (!this.server.isObsolete()) { + ServerInfo def = this.con.updateAndGetNextServer(this.server.getInfo()); + if (this.con.isActive() && Balancer.isEnabled() && Balancer.isFallback() && !Balancer.isServer(this.server) && !Balancer.isServerCommandBlacklisted(this.server.getInfo())) { + def = Balancer.getBestServer(); + } + + if (def != null) { + this.server.setObsolete(true); + this.con.connectNow(def, ServerConnectEvent.Reason.SERVER_DOWN_REDIRECT); + this.con.sendMessage(this.bungee.getTranslation("server_went_down", def.getName())); + } else { + this.con.disconnect(Util.exception(t)); + } + + } + } + + public void disconnected(ChannelWrapper channel) throws Exception { + this.server.getInfo().removePlayer(this.con); + if (this.bungee.getReconnectHandler() != null) { + this.bungee.getReconnectHandler().setServer(this.con); + } + + ServerDisconnectEvent serverDisconnectEvent = new ServerDisconnectEvent(this.con, this.server.getInfo()); + this.bungee.getPluginManager().callEvent(serverDisconnectEvent); + if (!this.server.isObsolete()) { + ServerInfo def = this.con.updateAndGetNextServer(this.server.getInfo()); + if (this.con.isActive() && Balancer.isEnabled() && Balancer.isFallback() && !Balancer.isServer(this.server) && !Balancer.isServerCommandBlacklisted(this.server.getInfo())) { + def = Balancer.getBestServer(); + } + + if (def != null) { + this.server.setObsolete(true); + this.con.connectNow(def, ServerConnectEvent.Reason.SERVER_DOWN_REDIRECT); + this.con.sendMessage(this.bungee.getTranslation("server_went_down", def.getName())); + } else { + this.con.disconnect(this.bungee.getTranslation("lost_connection")); + } + + } + } + + public boolean shouldHandle(PacketWrapper packet) throws Exception { + return !this.server.isObsolete(); + } + + public void handle(PacketWrapper packet) throws Exception { + this.con.sendPacket(packet); + } + + public void handle(KeepAlive alive) throws Exception { + int timeout = this.bungee.getConfig().getTimeout(); + if (timeout <= 0 || this.server.getKeepAlives().size() < timeout / 50) { + this.server.getKeepAlives().add(new ServerConnection.KeepAliveData(alive.getRandomId(), System.currentTimeMillis())); + } + + this.con.unsafe().sendPacket(alive); + throw CancelSendSignal.INSTANCE; + } + + public void handle(PlayerListItem playerList) throws Exception { + boolean skipRewrites = this.bungee.getConfig().isDisableTabListRewrite(); + this.con.getTabListHandler().onUpdate(skipRewrites ? playerList : TabList.rewrite(playerList)); + if (!skipRewrites) { + throw CancelSendSignal.INSTANCE; + } + } + + public void handle(PlayerListItemRemove playerList) throws Exception { + this.con.getTabListHandler().onUpdate(TabList.rewrite(playerList)); + throw CancelSendSignal.INSTANCE; + } + + public void handle(PlayerListItemUpdate playerList) throws Exception { + this.con.getTabListHandler().onUpdate(TabList.rewrite(playerList)); + throw CancelSendSignal.INSTANCE; + } + + public void handle(ScoreboardObjective objective) throws Exception { + Scoreboard serverScoreboard = this.con.getServerSentScoreboard(); + switch (objective.getAction()) { + case 0: + serverScoreboard.addObjective(new Objective(objective.getName(), objective.getValue().isLeft() ? (String)objective.getValue().getLeft() : this.con.getChatSerializer().toString((BaseComponent)objective.getValue().getRight()), objective.getType() != null ? objective.getType().toString() : null)); + break; + case 1: + serverScoreboard.removeObjective(objective.getName()); + break; + case 2: + Objective oldObjective = serverScoreboard.getObjective(objective.getName()); + if (oldObjective != null) { + oldObjective.setValue(objective.getValue().isLeft() ? (String)objective.getValue().getLeft() : this.con.getChatSerializer().toString((BaseComponent)objective.getValue().getRight())); + oldObjective.setType(objective.getType() != null ? objective.getType().toString() : null); + } + break; + default: + throw new IllegalArgumentException("Unknown objective action: " + objective.getAction()); + } + + } + + public void handle(ScoreboardScore score) throws Exception { + Scoreboard serverScoreboard = this.con.getServerSentScoreboard(); + switch (score.getAction()) { + case 0: + Score s = new Score(score.getItemName(), score.getScoreName(), score.getValue()); + serverScoreboard.removeScore(score.getItemName()); + serverScoreboard.addScore(s); + break; + case 1: + serverScoreboard.removeScore(score.getItemName()); + break; + default: + throw new IllegalArgumentException("Unknown scoreboard action: " + score.getAction()); + } + + } + + public void handle(ScoreboardScoreReset scoreboardScoreReset) throws Exception { + Scoreboard serverScoreboard = this.con.getServerSentScoreboard(); + if (scoreboardScoreReset.getScoreName() == null) { + serverScoreboard.removeScore(scoreboardScoreReset.getItemName()); + } + + } + + public void handle(ScoreboardDisplay displayScoreboard) throws Exception { + Scoreboard serverScoreboard = this.con.getServerSentScoreboard(); + serverScoreboard.setName(displayScoreboard.getName()); + serverScoreboard.setPosition(Position.values()[displayScoreboard.getPosition()]); + } + + public void handle(Team team) throws Exception { + Scoreboard serverScoreboard = this.con.getServerSentScoreboard(); + if (team.getMode() == 1) { + serverScoreboard.removeTeam(team.getName()); + } else { + net.md_5.bungee.api.score.Team t; + if (team.getMode() == 0) { + t = new net.md_5.bungee.api.score.Team(team.getName()); + serverScoreboard.addTeam(t); + } else { + t = serverScoreboard.getTeam(team.getName()); + } + + if (t != null) { + if (team.getMode() == 0 || team.getMode() == 2) { + t.setDisplayName((String)team.getDisplayName().getLeftOrCompute((component) -> this.con.getChatSerializer().toString(component))); + t.setPrefix((String)team.getPrefix().getLeftOrCompute((component) -> this.con.getChatSerializer().toString(component))); + t.setSuffix((String)team.getSuffix().getLeftOrCompute((component) -> this.con.getChatSerializer().toString(component))); + t.setFriendlyFire(team.getFriendlyFire()); + if (team.getNameTagVisibility() != null) { + t.setNameTagVisibility(team.getNameTagVisibility().isLeft() ? (String)team.getNameTagVisibility().getLeft() : ((Team.NameTagVisibility)team.getNameTagVisibility().getRight()).getKey()); + } + + t.setColor((Integer)team.getColor().orElse(0)); + if (team.getCollisionRule() != null) { + t.setCollisionRule(team.getCollisionRule().isLeft() ? (String)team.getCollisionRule().getLeft() : ((Team.CollisionRule)team.getCollisionRule().getRight()).getKey()); + } + } + + if (team.getPlayers() != null) { + for(String s : team.getPlayers()) { + if (team.getMode() != 0 && team.getMode() != 3) { + if (team.getMode() == 4) { + t.removePlayer(s); + } + } else { + t.addPlayer(s); + } + } + } + } + + } + } + + public void handle(PluginMessage pluginMessage) throws Exception { + PluginMessageEvent event = new PluginMessageEvent(this.server, this.con, pluginMessage.getTag(), (byte[])pluginMessage.getData().clone()); + if (((PluginMessageEvent)this.bungee.getPluginManager().callEvent(event)).isCancelled()) { + throw CancelSendSignal.INSTANCE; + } else if (this.con.getPendingConnection().getVersion() <= 5 && pluginMessage.getTag().equals("MC|Brand")) { + String serverBrand = new String(pluginMessage.getData(), StandardCharsets.UTF_8); + pluginMessage.setData((this.bungee.getName() + " <- " + serverBrand).getBytes(StandardCharsets.UTF_8)); + this.con.unsafe().sendPacket(pluginMessage); + throw CancelSendSignal.INSTANCE; + } else if (pluginMessage.getTag().equals(this.con.getPendingConnection().getVersion() >= 393 ? "minecraft:brand" : "MC|Brand")) { + ByteBuf brand = Unpooled.wrappedBuffer(pluginMessage.getData()); + String serverBrand = DefinedPacket.readString(brand); + brand.release(); + Preconditions.checkState(!serverBrand.contains(this.bungee.getName()), "Cannot connect proxy to itself!"); + brand = ByteBufAllocator.DEFAULT.heapBuffer(); + DefinedPacket.writeString(this.bungee.getName() + " <- " + serverBrand, brand); + pluginMessage.setData(DefinedPacket.toArray(brand)); + brand.release(); + this.con.unsafe().sendPacket(pluginMessage); + throw CancelSendSignal.INSTANCE; + } else if (pluginMessage.getTag().equals("BungeeCord")) { + DataInput in = pluginMessage.getStream(); + ByteArrayDataOutput out = ByteStreams.newDataOutput(); + label225: + switch (in.readUTF()) { + case "ForwardToPlayer": { + ProxiedPlayer target = this.bungee.getPlayer(in.readUTF()); + if (target != null) { + String channel = in.readUTF(); + short len = in.readShort(); + byte[] data = new byte[len]; + in.readFully(data); + out.writeUTF(channel); + out.writeShort(data.length); + out.write(data); + byte[] payload = out.toByteArray(); + target.getServer().sendData("BungeeCord", payload); + } + + out = null; + break; + } + case "Forward": { + String target = in.readUTF(); + String channel = in.readUTF(); + short len = in.readShort(); + byte[] data = new byte[len]; + in.readFully(data); + out.writeUTF(channel); + out.writeShort(data.length); + out.write(data); + byte[] payload = out.toByteArray(); + out = null; + switch (target) { + case "ALL": + Iterator var54 = this.bungee.getServers().values().iterator(); + + while(true) { + if (!var54.hasNext()) { + break label225; + } + + ServerInfo server = (ServerInfo)var54.next(); + if (server != this.server.getInfo()) { + server.sendData("BungeeCord", payload); + } + } + case "ONLINE": + Iterator var15 = this.bungee.getServers().values().iterator(); + + while(true) { + if (!var15.hasNext()) { + break label225; + } + + ServerInfo server = (ServerInfo)var15.next(); + if (server != this.server.getInfo()) { + server.sendData("BungeeCord", payload, false); + } + } + default: + ServerInfo server = this.bungee.getServerInfo(target); + if (server != null) { + server.sendData("BungeeCord", payload); + } + break label225; + } + } + case "Connect": { + ServerInfo server = this.bungee.getServerInfo(in.readUTF()); + if (server != null) { + this.con.connect(server, ServerConnectEvent.Reason.PLUGIN_MESSAGE); + } + break; + } + case "ConnectOther": { + ProxiedPlayer player = this.bungee.getPlayer(in.readUTF()); + if (player != null) { + ServerInfo server = this.bungee.getServerInfo(in.readUTF()); + if (server != null) { + player.connect(server); + } + } + break; + } + case "GetPlayerServer": { + String name = in.readUTF(); + ProxiedPlayer player = this.bungee.getPlayer(name); + out.writeUTF("GetPlayerServer"); + out.writeUTF(name); + if (player == null) { + out.writeUTF(""); + } else { + Server srv = player.getServer(); + if (srv == null) { + out.writeUTF(""); + } else { + out.writeUTF(srv.getInfo().getName()); + } + } + break; + } + case "IP": + out.writeUTF("IP"); + if (this.con.getSocketAddress() instanceof InetSocketAddress) { + out.writeUTF(this.con.getAddress().getHostString()); + out.writeInt(this.con.getAddress().getPort()); + } else { + out.writeUTF("unix://" + ((DomainSocketAddress)this.con.getSocketAddress()).path()); + out.writeInt(0); + } + break; + case "IPOther": { + ProxiedPlayer player = this.bungee.getPlayer(in.readUTF()); + if (player != null) { + out.writeUTF("IPOther"); + out.writeUTF(player.getName()); + if (player.getSocketAddress() instanceof InetSocketAddress) { + InetSocketAddress address = (InetSocketAddress)player.getSocketAddress(); + out.writeUTF(address.getHostString()); + out.writeInt(address.getPort()); + } else { + out.writeUTF("unix://" + ((DomainSocketAddress)player.getSocketAddress()).path()); + out.writeInt(0); + } + } + break; + } + case "PlayerCount": { + String target = in.readUTF(); + out.writeUTF("PlayerCount"); + if (target.equals("ALL")) { + out.writeUTF("ALL"); + out.writeInt(this.bungee.getOnlineCount()); + } else { + ServerInfo server = this.bungee.getServerInfo(target); + if (server != null) { + out.writeUTF(server.getName()); + out.writeInt(server.getPlayers().size()); + } + } + break; + } + case "PlayerList": { + String target = in.readUTF(); + out.writeUTF("PlayerList"); + if (target.equals("ALL")) { + out.writeUTF("ALL"); + out.writeUTF(Util.csv(this.bungee.getPlayers())); + } else { + ServerInfo server = this.bungee.getServerInfo(target); + if (server != null) { + out.writeUTF(server.getName()); + out.writeUTF(Util.csv(server.getPlayers())); + } + } + break; + } + case "GetServers": + out.writeUTF("GetServers"); + out.writeUTF(Util.csv(this.bungee.getServers().keySet())); + break; + case "Message": { + String target = in.readUTF(); + String message = in.readUTF(); + if (target.equals("ALL")) { + for(ProxiedPlayer player : this.bungee.getPlayers()) { + player.sendMessage(message); + } + } else { + ProxiedPlayer player = this.bungee.getPlayer(target); + if (player != null) { + player.sendMessage(message); + } + } + break; + } + case "MessageRaw": { + String target = in.readUTF(); + BaseComponent[] message = this.con.getChatSerializer().parse(in.readUTF()); + if (target.equals("ALL")) { + for(ProxiedPlayer player : this.bungee.getPlayers()) { + player.sendMessage(message); + } + } else { + ProxiedPlayer player = this.bungee.getPlayer(target); + if (player != null) { + player.sendMessage(message); + } + } + break; + } + case "GetServer": + out.writeUTF("GetServer"); + out.writeUTF(this.server.getInfo().getName()); + break; + case "UUID": + out.writeUTF("UUID"); + out.writeUTF(this.con.getUUID()); + break; + case "UUIDOther": { + ProxiedPlayer player = this.bungee.getPlayer(in.readUTF()); + if (player != null) { + out.writeUTF("UUIDOther"); + out.writeUTF(player.getName()); + out.writeUTF(player.getUUID()); + } + break; + } + case "ServerIP": { + ServerInfo info = this.bungee.getServerInfo(in.readUTF()); + if (info != null && !info.getAddress().isUnresolved()) { + out.writeUTF("ServerIP"); + out.writeUTF(info.getName()); + out.writeUTF(info.getAddress().getAddress().getHostAddress()); + out.writeShort(info.getAddress().getPort()); + } + break; + } + case "KickPlayer": { + ProxiedPlayer player = this.bungee.getPlayer(in.readUTF()); + if (player != null) { + String kickReason = in.readUTF(); + player.disconnect(new TextComponent(kickReason)); + } + break; + } + case "KickPlayerRaw": { + ProxiedPlayer player = this.bungee.getPlayer(in.readUTF()); + if (player != null) { + BaseComponent[] kickReason = this.con.getChatSerializer().parse(in.readUTF()); + player.disconnect(kickReason); + } + } + } + + if (out != null) { + byte[] b = out.toByteArray(); + if (b.length != 0) { + this.server.sendData("BungeeCord", b); + } + } + + throw CancelSendSignal.INSTANCE; + } + } + + public void handle(Kick kick) throws Exception { + ServerInfo def = this.con.updateAndGetNextServer(this.server.getInfo()); + if (Objects.equals(this.server.getInfo(), def)) { + def = null; + } + + ServerKickEvent event = (ServerKickEvent)this.bungee.getPluginManager().callEvent(new ServerKickEvent(this.con, this.server.getInfo(), new BaseComponent[]{kick.getMessage()}, def, ServerKickEvent.State.CONNECTED, ServerKickEvent.Cause.SERVER)); + if (Balancer.isEnabled() && Balancer.isFallback() && !Balancer.isServer(this.server) && !Balancer.isServerCommandBlacklisted(this.server.getInfo())) { + event.setCancelled(true); + event.setCancelServer(Balancer.getBestServer()); + } + + if (event.isCancelled() && event.getCancelServer() != null) { + this.con.connectNow(event.getCancelServer(), ServerConnectEvent.Reason.KICK_REDIRECT); + } else { + this.con.disconnect(event.getKickReasonComponent()); + } + + this.server.setObsolete(true); + throw CancelSendSignal.INSTANCE; + } + + public void handle(SetCompression setCompression) throws Exception { + this.server.getCh().setCompressionThreshold(setCompression.getThreshold()); + } + + public void handle(TabCompleteResponse tabCompleteResponse) throws Exception { + List commands = tabCompleteResponse.getCommands(); + if (commands == null) { + commands = Lists.transform(tabCompleteResponse.getSuggestions().getList(), new Function() { + public String apply(Suggestion input) { + return input.getText(); + } + }); + } else { + String last = this.con.getLastCommandTabbed(); + if (last != null) { + String commandName = last.toLowerCase(Locale.ROOT); + commands.addAll((Collection)this.bungee.getPluginManager().getCommands().stream().filter((entry) -> { + String lowerCase = ((String)entry.getKey()).toLowerCase(Locale.ROOT); + return lowerCase.startsWith(commandName) && ((Command)entry.getValue()).hasPermission(this.con) && !this.bungee.getDisabledCommands().contains(lowerCase); + }).map((stringCommandEntry) -> "/" + (String)stringCommandEntry.getKey()).collect(Collectors.toList())); + commands.sort((Comparator)null); + this.con.setLastCommandTabbed((String)null); + } + } + + TabCompleteResponseEvent tabCompleteResponseEvent = new TabCompleteResponseEvent(this.server, this.con, new ArrayList(commands)); + if (!((TabCompleteResponseEvent)this.bungee.getPluginManager().callEvent(tabCompleteResponseEvent)).isCancelled()) { + if (!commands.equals(tabCompleteResponseEvent.getSuggestions())) { + if (tabCompleteResponse.getCommands() != null) { + tabCompleteResponse.setCommands(tabCompleteResponseEvent.getSuggestions()); + } else { + final StringRange range = tabCompleteResponse.getSuggestions().getRange(); + tabCompleteResponse.setSuggestions(new Suggestions(range, Lists.transform(tabCompleteResponseEvent.getSuggestions(), new Function() { + public Suggestion apply(String input) { + return new Suggestion(range, input); + } + }))); + } + } + + this.con.unsafe().sendPacket(tabCompleteResponse); + } + + throw CancelSendSignal.INSTANCE; + } + + public void handle(BossBar bossBar) { + switch (bossBar.getAction()) { + case 0 -> this.con.getSentBossBars().add(bossBar.getUuid()); + case 1 -> this.con.getSentBossBars().remove(bossBar.getUuid()); + } + + } + + public void handle(Respawn respawn) { + this.con.setDimension(respawn.getDimension()); + } + + public void handle(Commands commands) throws Exception { + boolean modified = false; + Map commandMap = new HashMap(); + + for(Map.Entry commandEntry : this.bungee.getPluginManager().getCommands()) { + if (!this.bungee.getDisabledCommands().contains(commandEntry.getKey()) && commands.getRoot().getChild((String)commandEntry.getKey()) == null && ((Command)commandEntry.getValue()).hasPermission(this.con)) { + commandMap.put((String)commandEntry.getKey(), (Command)commandEntry.getValue()); + } + } + + ProxyDefineCommandsEvent event = new ProxyDefineCommandsEvent(this.server, this.con, commandMap); + this.bungee.getPluginManager().callEvent(event); + + for(Map.Entry command : event.getCommands().entrySet()) { + boolean insertDummy = true; + CommandNode child = commands.getRoot().getChild((String)command.getKey()); + if (child != null) { + if (command.getValue() instanceof TabExecutor) { + commands.getRoot().getChildren().remove(child); + } else { + insertDummy = false; + } + } + + if (insertDummy) { + CommandNode dummy = ((LiteralArgumentBuilder)LiteralArgumentBuilder.literal((String)command.getKey()).executes(DUMMY_COMMAND)).then(RequiredArgumentBuilder.argument("args", StringArgumentType.greedyString()).suggests(Commands.SuggestionRegistry.ASK_SERVER).executes(DUMMY_COMMAND)).build(); + commands.getRoot().addChild(dummy); + modified = true; + } + } + + if (modified) { + this.con.unsafe().sendPacket(commands); + throw CancelSendSignal.INSTANCE; + } + } + + public void handle(ServerData serverData) throws Exception { + throw CancelSendSignal.INSTANCE; + } + + public void handle(Login login) throws Exception { + if (!FlameCord.getInstance().getFlameCordConfiguration().isChainedDownstreamProxySupportEnabled()) { + Preconditions.checkState(!this.receivedLogin, "Not expecting login"); + } + + this.receivedLogin = true; + ServerConnector.handleLogin(this.bungee, this.server.getCh(), this.con, this.server.getInfo(), (ForgeServerHandler)null, this.server, login); + throw CancelSendSignal.INSTANCE; + } + + public void handle(FinishConfiguration finishConfiguration) throws Exception { + Runnable finish = () -> { + this.con.unsafe().sendPacket(finishConfiguration); + this.con.sendQueuedPackets(); + }; + if (this.con.getPendingConnection().getVersion() <= 765) { + this.callConfigEvent(finish); + } else { + finish.run(); + } + + throw CancelSendSignal.INSTANCE; + } + + public void handle(KnownPacks knownPacks) throws Exception { + this.callConfigEvent(() -> this.con.unsafe().sendPacket(knownPacks)); + throw CancelSendSignal.INSTANCE; + } + + public void handle(BundleDelimiter bundleDelimiter) throws Exception { + this.con.toggleBundling(); + } + + public String toString() { + String var10000 = this.con.getName(); + return "[" + var10000 + "] <-> DownstreamBridge <-> [" + this.server.getInfo().getName() + "]"; + } + + private Callback eventLoopCallback(Callback callback) { + return (result, error) -> this.server.getCh().scheduleIfNecessary(() -> { + if (!this.server.getCh().isClosing() && !this.con.getCh().isClosing()) { + if (this.server.getInfo().equals(this.con.getServer().getInfo())) { + callback.done(result, error); + } + } + }); + } + + private void callConfigEvent(Runnable runnable) { + PlayerConfigurationEvent event = new PlayerConfigurationEvent(this.con, this.server.isFirstLogin() ? PlayerConfigurationEvent.Reason.LOGIN : PlayerConfigurationEvent.Reason.RECONFIGURE, this.eventLoopCallback((result, error) -> runnable.run())); + this.server.setFirstLogin(false); + this.bungee.getPluginManager().callEvent(event); + } + + @Generated + public DownstreamBridge(ProxyServer bungee, UserConnection con, ServerConnection server) { + this.bungee = bungee; + this.con = con; + this.server = server; + } +} diff --git a/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/src/main/java/net/md_5/bungee/connection/InitialHandler.java new file mode 100644 index 0000000..df8a0e1 --- /dev/null +++ b/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -0,0 +1,1174 @@ +package net.md_5.bungee.connection; + +import com.google.common.base.Preconditions; +import com.google.common.reflect.TypeToken; +import com.google.gson.Gson; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.CheckManager; +import dev._2lstudios.flamecord.antibot.LimboFilter; +import dev._2lstudios.flamecord.antibot.addressdata.AddressData; +import dev._2lstudios.flamecord.balancer.Balancer; +import dev._2lstudios.flamecord.configuration.FlameCordConfiguration; +import io.github.waterfallmc.waterfall.utils.UUIDUtils; +import java.math.BigInteger; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.security.GeneralSecurityException; +import java.security.MessageDigest; +import java.time.Instant; +import java.util.HashMap; +import java.util.HashSet; +import java.util.LinkedList; +import java.util.Map; +import java.util.Queue; +import java.util.Set; +import java.util.UUID; +import java.util.concurrent.CompletableFuture; +import java.util.logging.Level; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import javax.crypto.SecretKey; +import javax.crypto.spec.SecretKeySpec; +import lombok.Generated; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.BungeeServerInfo; +import net.md_5.bungee.EncryptionUtil; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.AbstractReconnectHandler; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.ServerPing; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.Connection; +import net.md_5.bungee.api.connection.PendingConnection; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.event.LoginEvent; +import net.md_5.bungee.api.event.PlayerHandshakeEvent; +import net.md_5.bungee.api.event.PostLoginEvent; +import net.md_5.bungee.api.event.PreLoginEvent; +import net.md_5.bungee.api.event.ProxyPingEvent; +import net.md_5.bungee.api.event.ServerConnectEvent; +import net.md_5.bungee.http.HttpClient; +import net.md_5.bungee.jni.cipher.BungeeCipher; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.netty.HandlerBoss; +import net.md_5.bungee.netty.PacketHandler; +import net.md_5.bungee.netty.cipher.CipherDecoder; +import net.md_5.bungee.netty.cipher.CipherEncoder; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.MinecraftDecoder; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.PlayerPublicKey; +import net.md_5.bungee.protocol.data.Property; +import net.md_5.bungee.protocol.packet.CookieRequest; +import net.md_5.bungee.protocol.packet.CookieResponse; +import net.md_5.bungee.protocol.packet.EncryptionRequest; +import net.md_5.bungee.protocol.packet.EncryptionResponse; +import net.md_5.bungee.protocol.packet.Handshake; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.protocol.packet.LegacyHandshake; +import net.md_5.bungee.protocol.packet.LegacyPing; +import net.md_5.bungee.protocol.packet.LoginAcknowledged; +import net.md_5.bungee.protocol.packet.LoginPayloadRequest; +import net.md_5.bungee.protocol.packet.LoginPayloadResponse; +import net.md_5.bungee.protocol.packet.LoginRequest; +import net.md_5.bungee.protocol.packet.LoginSuccess; +import net.md_5.bungee.protocol.packet.PingPacket; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.protocol.packet.StatusRequest; +import net.md_5.bungee.protocol.packet.StatusResponse; +import net.md_5.bungee.util.AllowedCharacters; +import net.md_5.bungee.util.BufUtil; +import net.md_5.bungee.util.QuietException; + +public class InitialHandler extends PacketHandler implements PendingConnection { + private static final String MOJANG_AUTH_URL = System.getProperty("waterfall.auth.url", "https://sessionserver.mojang.com/session/minecraft/hasJoined?username=%s&serverId=%s%s"); + private final BungeeCord bungee; + private ChannelWrapper ch; + private final ListenerInfo listener; + private Handshake handshake; + private LoginRequest loginRequest; + private EncryptionRequest request; + private PluginMessage brandMessage; + private String clientBrand; + private final Set registeredChannels = new HashSet(); + private State thisState = State.HANDSHAKE; + private int loginPayloadId; + private final Map> requestedLoginPayloads = new HashMap<>(); + private final Queue requestedCookies = new LinkedList<>(); + private final Connection.Unsafe unsafe = new Connection.Unsafe() { + public void sendPacket(DefinedPacket packet) { + InitialHandler.this.ch.write((Object)packet); + } + + public void sendPacketQueued(DefinedPacket packet) { + throw new UnsupportedOperationException("Not supported"); + } + }; + private boolean onlineMode; + private InetSocketAddress virtualHost; + private String name; + private UUID uniqueId; + private UUID offlineId; + private UUID rewriteId; + private LoginResult loginProfile; + private boolean legacy; + private String extraDataInHandshake; + private boolean chainedProxyForwardedData; + private boolean transferred; + private UserConnection userCon; + private boolean processing; + private static final boolean ACCEPT_INVALID_PACKETS = Boolean.parseBoolean(System.getProperty("waterfall.acceptInvalidPackets", "false")); + private static final Pattern FML_PATTERN = Pattern.compile("\u0000FML.*\u0000"); + + public boolean shouldHandle(PacketWrapper packet) throws Exception { + return !this.ch.isClosing(); + } + + private boolean canSendKickMessage() { + return this.thisState == InitialHandler.State.USERNAME || this.thisState == InitialHandler.State.ENCRYPT || this.thisState == InitialHandler.State.FINISHING; + } + + public void connected(ChannelWrapper channel) throws Exception { + this.ch = channel; + } + + public void exception(Throwable t) throws Exception { + if (this.canSendKickMessage()) { + String var10001 = String.valueOf(ChatColor.RED); + this.disconnect(var10001 + Util.exception(t)); + } else { + this.ch.close(); + } + + } + + public void handle(PacketWrapper packet) throws Exception { + if (packet.packet == null) { + throw new QuietException("Unexpected packet received during initial handler process!\n" + BufUtil.dump(packet.buf, 16)); + } + } + + public void handle(PluginMessage pluginMessage) throws Exception { + try { + this.relayMessage(pluginMessage); + } catch (IllegalArgumentException | IllegalStateException ex) { + if (MinecraftDecoder.DEBUG) { + throw ex; + } else { + throw new QuietException(((RuntimeException)ex).getMessage()); + } + } + } + + public void handle(LegacyHandshake legacyHandshake) throws Exception { + Preconditions.checkState(!this.legacy, "Not expecting LegacyHandshake"); + this.legacy = true; + this.ch.close(this.bungee.getTranslation("outdated_client", this.bungee.getGameVersion())); + } + + public void handle(LegacyPing ping) throws Exception { + Preconditions.checkState(!this.legacy, "Not expecting LegacyPing"); + this.legacy = true; + final boolean v1_5 = ping.isV1_5(); + ServerInfo forced = AbstractReconnectHandler.getForcedHost(this); + String motd = forced != null ? forced.getMotd() : this.listener.getMotd(); + final int protocol = this.bungee.getProtocolVersion(); + Callback pingBack = new Callback() { + public void done(ServerPing result, Throwable error) { + if (error != null) { + result = InitialHandler.this.getPingInfo(InitialHandler.this.bungee.getTranslation("ping_cannot_connect"), protocol); + InitialHandler.this.bungee.getLogger().log(Level.WARNING, "Error pinging remote server", error); + } + + Callback callback = new Callback() { + public void done(ProxyPingEvent result, Throwable error) { + ServerPing legacy = result.getResponse(); + if (legacy == null) { + InitialHandler.this.ch.close(); + } else { + String kickMessage; + if (v1_5) { + String var10000 = String.valueOf(ChatColor.DARK_BLUE); + kickMessage = var10000 + "\u0000127\u0000" + legacy.getVersion().getName() + "\u0000" + InitialHandler.getFirstLine(legacy.getDescription()) + "\u0000" + String.valueOf(legacy.getPlayers() != null ? legacy.getPlayers().getOnline() : "-1") + "\u0000" + String.valueOf(legacy.getPlayers() != null ? legacy.getPlayers().getMax() : "-1"); + } else { + String var5 = ChatColor.stripColor(InitialHandler.getFirstLine(legacy.getDescription())); + kickMessage = var5 + "\u00a7" + String.valueOf(legacy.getPlayers() != null ? legacy.getPlayers().getOnline() : "-1") + "\u00a7" + String.valueOf(legacy.getPlayers() != null ? legacy.getPlayers().getMax() : "-1"); + } + + InitialHandler.this.ch.close(kickMessage); + } + } + }; + InitialHandler.this.bungee.getPluginManager().callEvent(new ProxyPingEvent(InitialHandler.this, result, InitialHandler.this.eventLoopCallback(callback))); + } + }; + if (forced != null && this.listener.isPingPassthrough()) { + ((BungeeServerInfo)forced).ping(pingBack, this.bungee.getProtocolVersion()); + } else { + pingBack.done(this.getPingInfo(motd, protocol), (Throwable)null); + } + + } + + private static String getFirstLine(String str) { + int pos = str.indexOf(10); + return pos == -1 ? str : str.substring(0, pos); + } + + private ServerPing getPingInfo(String motd, int protocol) { + return new ServerPing(new ServerPing.Protocol(this.bungee.getName() + " " + this.bungee.getGameVersion(), protocol), new ServerPing.Players(this.listener.getMaxPlayers(), this.bungee.getOnlineCount(), (ServerPing.PlayerInfo[])null), motd, BungeeCord.getInstance().config.getFaviconObject()); + } + + public void handle(StatusRequest statusRequest) throws Exception { + Preconditions.checkState(this.thisState == InitialHandler.State.STATUS, "Not expecting STATUS"); + this.thisState = null; + Preconditions.checkState(!this.processing, "Cannot request STATUS while processing another packet"); + this.processing = true; + ServerInfo forced = AbstractReconnectHandler.getForcedHost(this); + final int protocol = ProtocolConstants.SUPPORTED_VERSION_IDS.contains(this.handshake.getProtocolVersion()) ? this.handshake.getProtocolVersion() : this.bungee.getProtocolVersion(); + Callback pingBack = new Callback() { + public void done(ServerPing result, Throwable error) { + if (error != null) { + result = InitialHandler.this.getPingInfo(InitialHandler.this.bungee.getTranslation("ping_cannot_connect"), protocol); + InitialHandler.this.bungee.getLogger().log(Level.WARNING, "Error pinging remote server", error); + } + + Callback callback = new Callback() { + public void done(ProxyPingEvent pingResult, Throwable error) { + if (pingResult.getResponse() == null) { + InitialHandler.this.ch.close(); + } else if (!InitialHandler.this.ch.isClosed()) { + if (ProtocolConstants.isBeforeOrEq(InitialHandler.this.handshake.getProtocolVersion(), 47)) { + Gson gson = InitialHandler.this.handshake.getProtocolVersion() == 4 ? BungeeCord.getInstance().gsonLegacy : PingHandler.gson; + JsonElement element = gson.toJsonTree(pingResult.getResponse()); + Preconditions.checkArgument(element.isJsonObject(), "Response is not a JSON object"); + JsonObject object = element.getAsJsonObject(); + object.addProperty("description", pingResult.getResponse().getDescription()); + InitialHandler.this.unsafe.sendPacket(new StatusResponse(gson.toJson(element))); + } else { + Gson gson = PingHandler.gson; + InitialHandler.this.unsafe.sendPacket(new StatusResponse(gson.toJson(pingResult.getResponse()))); + InitialHandler.this.thisState = InitialHandler.State.PING; + } + + if (InitialHandler.this.bungee.getConnectionThrottle() != null) { + InitialHandler.this.bungee.getConnectionThrottle().unthrottle(InitialHandler.this.getSocketAddress()); + } + + } + } + }; + InitialHandler.this.bungee.getPluginManager().callEvent(new ProxyPingEvent(InitialHandler.this, result, InitialHandler.this.eventLoopCallback(callback))); + } + }; + if (forced != null && this.listener.isPingPassthrough()) { + ((BungeeServerInfo)forced).ping(pingBack, this.handshake.getProtocolVersion()); + } else { + FlameCordConfiguration config = FlameCord.getInstance().getFlameCordConfiguration(); + ServerPing.PlayerInfo[] sample = null; + int maxPlayers = this.listener.getMaxPlayers(); + int onlinePlayers = this.bungee.getOnlineCount(); + if (config.isFakePlayersEnabled()) { + onlinePlayers += config.getFakePlayersAmount(onlinePlayers); + } + + if (config.isMaxPlayersEnabled()) { + maxPlayers = config.isMaxPlayersOneMore() ? onlinePlayers + 1 : config.getMaxPlayersAmount(); + } + + String motd; + if (config.isMaintenanceEnabled()) { + motd = config.getMaintenanceMotd(); + } else if (config.isMotdEnabled()) { + motd = config.getMOTD(maxPlayers, onlinePlayers, protocol); + } else { + motd = forced != null ? forced.getMotd() : this.listener.getMotd(); + } + + if (config.isMotdServerPlaceholders()) { + for(ServerInfo serverInfo : this.bungee.getServers().values()) { + motd.replace("%server_" + serverInfo.getName() + "%", String.valueOf(serverInfo.getPlayers().size())); + } + } + + String protocolName; + if (config.isMaintenanceEnabled()) { + protocolName = config.getMaintenanceProtocol(); + } else if (config.isProtocolEnabled()) { + protocolName = config.getProtocolName(maxPlayers, onlinePlayers); + } else { + String var10000 = this.bungee.getName(); + protocolName = var10000 + " " + this.bungee.getGameVersion(); + } + + int customProtocol = config.isProtocolEnabled() && config.isProtocolAlwaysShow() ? -1 : protocol; + if (config.isMaintenanceEnabled()) { + UUID fakeUuid = new UUID(0L, 0L); + String[] sampleString = (String[])config.getMaintenanceSample().toArray(new String[0]); + sample = new ServerPing.PlayerInfo[sampleString.length]; + + for(int i = 0; i < sampleString.length; ++i) { + sample[i] = new ServerPing.PlayerInfo(sampleString[i], fakeUuid); + } + } else if (config.isSampleEnabled()) { + UUID fakeUuid = new UUID(0L, 0L); + String[] sampleString = config.getSample(maxPlayers, onlinePlayers, protocol); + sample = new ServerPing.PlayerInfo[sampleString.length]; + + for(int i = 0; i < sampleString.length; ++i) { + sample[i] = new ServerPing.PlayerInfo(sampleString[i], fakeUuid); + } + } + + pingBack.done(new ServerPing(new ServerPing.Protocol(protocolName, customProtocol), new ServerPing.Players(maxPlayers, onlinePlayers, sample), motd, BungeeCord.getInstance().config.getFaviconObject()), (Throwable)null); + } + + this.thisState = InitialHandler.State.PING; + this.processing = false; + } + + public void handle(PingPacket ping) throws Exception { + Preconditions.checkState(this.thisState == InitialHandler.State.PING, "Not expecting PING"); + Preconditions.checkState(!this.processing, "Cannot request PING while processing another packet"); + this.processing = true; + this.unsafe.sendPacket(ping); + this.disconnect(""); + if (this.bungee.getConnectionThrottle() != null) { + this.bungee.getConnectionThrottle().unthrottle(this.getSocketAddress()); + } + + this.ch.close(); + } + + public void handle(Handshake handshake) throws Exception { + Preconditions.checkState(this.thisState == InitialHandler.State.HANDSHAKE && !this.legacy, "Not expecting HANDSHAKE"); + Preconditions.checkState(!this.processing, "Cannot request " + this.thisState.name() + " while processing another packet"); + this.processing = true; + this.handshake = handshake; + this.ch.setVersion(handshake.getProtocolVersion()); + this.ch.getHandle().pipeline().remove("legacy-kick"); + this.extractExtraDataFromHandshake(handshake); + if (FlameCord.getInstance().getFlameCordConfiguration().isChainedProxySupportEnabled() && this.containsBungeeForwardedData()) { + this.setForwardedData(handshake); + } + + this.normalizeSrvHost(handshake); + SocketAddress remoteAddress = this.ch.getRemoteAddress(); + AddressData addressData = FlameCord.getInstance().getAddressDataManager().getAddressData(remoteAddress); + CheckManager checkManager = FlameCord.getInstance().getCheckManager(); + int protocol = handshake.getRequestedProtocol(); + if (protocol == 1) { + addressData.addPing(); + if (checkManager.getRatelimitCheck().check(remoteAddress, protocol)) { + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(remoteAddress.toString()); + this.ch.close(); + return; + } + + if (checkManager.getProxyCheck().check(remoteAddress)) { + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(remoteAddress.toString()); + this.ch.close(); + return; + } + } + + if (protocol == 2) { + this.thisState = InitialHandler.State.USERNAME; + this.ch.setProtocol(Protocol.LOGIN); + addressData.addConnection(); + if (checkManager.getRatelimitCheck().check(remoteAddress, protocol)) { + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(remoteAddress.toString()); + this.disconnect(this.bungee.getTranslation("antibot_ratelimit", addressData.getConnectionsSecond())); + return; + } + + if (checkManager.getProxyCheck().check(remoteAddress)) { + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(remoteAddress.toString()); + this.disconnect(this.bungee.getTranslation("antibot_proxy")); + return; + } + + this.thisState = InitialHandler.State.HANDSHAKE; + this.ch.setProtocol(Protocol.HANDSHAKE); + } + + if (this.firePlayerHandshakeEvent(handshake)) { + this.ch.close(); + } else if (!this.ch.isClosing()) { + switch (handshake.getRequestedProtocol()) { + case 1: + this.handleStatusHandshake(); + break; + case 2: + case 3: + if (!this.handleLoginHandshake(handshake)) { + return; + } + break; + default: + throw new QuietException("Cannot request protocol " + handshake.getRequestedProtocol()); + } + + this.processing = false; + } + } + + private boolean containsBungeeForwardedData() { + return this.extraDataInHandshake.contains("\u0000") && !this.extraDataInHandshake.equals(this.findFMLData()); + } + + private String findFMLData() { + Matcher matcher = FML_PATTERN.matcher(this.extraDataInHandshake); + return matcher.find() ? matcher.group() : null; + } + + private void setForwardedData(Handshake handshake) { + String[] split = this.extraDataInHandshake.split("\u0000"); + if (split.length >= 4) { + int lastIndex = split.length - 1; + int ipIndex = lastIndex - 2; + int uuidIndex = lastIndex - 1; + String originalIP = split[ipIndex]; + String playerUniqueId = split[uuidIndex]; + String playerSkin = split[lastIndex]; + if (playerUniqueId.length() == 32) { + String var10001 = playerUniqueId.substring(0, 8); + this.uniqueId = UUID.fromString(var10001 + "-" + playerUniqueId.substring(8, 12) + "-" + playerUniqueId.substring(12, 16) + "-" + playerUniqueId.substring(16, 20) + "-" + playerUniqueId.substring(20, 32)); + TypeToken propertiesType = new TypeToken() { + }; + Property[] properties = (Property[])LoginResult.GSON.fromJson(playerSkin, propertiesType.getType()); + this.loginProfile = new LoginResult(playerUniqueId, this.name, properties); + this.ch.setRemoteAddress(new InetSocketAddress(originalIP, handshake.getPort())); + StringBuilder newExtraDataInHandshake = new StringBuilder(); + + for(int i = 0; i < ipIndex; ++i) { + newExtraDataInHandshake.append("\u0000").append(split[i]); + } + + this.extraDataInHandshake = newExtraDataInHandshake.toString(); + this.chainedProxyForwardedData = true; + } + } + } + + private void extractExtraDataFromHandshake(Handshake handshake) { + if (handshake.getHost().contains("\u0000")) { + String[] split = handshake.getHost().split("\u0000", 2); + handshake.setHost(split[0]); + this.extraDataInHandshake = "\u0000" + split[1]; + } + + } + + private void normalizeSrvHost(Handshake handshake) { + if (handshake.getHost().endsWith(".")) { + handshake.setHost(handshake.getHost().substring(0, handshake.getHost().length() - 1)); + } + + this.virtualHost = InetSocketAddress.createUnresolved(handshake.getHost(), handshake.getPort()); + } + + private boolean firePlayerHandshakeEvent(Handshake handshake) { + return ((PlayerHandshakeEvent)this.bungee.getPluginManager().callEvent(new PlayerHandshakeEvent(this, handshake))).isCancelled(); + } + + private void handleStatusHandshake() { + if (FlameCord.getInstance().getFlameCordConfiguration().isLoggerInitialhandler()) { + this.bungee.getLogger().log(Level.INFO, "{0} has pinged", this); + } + + this.thisState = InitialHandler.State.STATUS; + this.ch.setProtocol(Protocol.STATUS); + } + + private boolean handleLoginHandshake(Handshake handshake) { + this.transferred = handshake.getRequestedProtocol() == 3; + if (FlameCord.getInstance().getFlameCordConfiguration().isLoggerInitialhandler()) { + this.bungee.getLogger().log(Level.INFO, "{0} has connected", this); + } + + this.thisState = InitialHandler.State.USERNAME; + this.ch.setProtocol(Protocol.LOGIN); + if (!ProtocolConstants.SUPPORTED_VERSION_IDS.contains(handshake.getProtocolVersion())) { + if (handshake.getProtocolVersion() > this.bungee.getProtocolVersion()) { + this.disconnect(this.bungee.getTranslation("outdated_server", this.bungee.getGameVersion())); + } else { + this.disconnect(this.bungee.getTranslation("outdated_client", this.bungee.getGameVersion())); + } + + return false; + } else if (this.transferred && this.bungee.config.isRejectTransfers()) { + this.disconnect(this.bungee.getTranslation("reject_transfer")); + return false; + } else { + if (FlameCord.getInstance().getFlameCordConfiguration().isAntibotLatencyEnabled()) { + AddressData addressData = FlameCord.getInstance().getAddressDataManager().getAddressData(this.ch.getRemoteAddress()); + addressData.startLatency(); + } + + return true; + } + } + + public void handle(LoginRequest loginRequest) throws Exception { + Preconditions.checkState(this.thisState == InitialHandler.State.USERNAME && this.loginRequest == null, "Not expecting USERNAME"); + Preconditions.checkState(!this.processing, "Cannot request " + this.thisState.name() + " while processing another packet"); + this.processing = true; + if (!FlameCord.getInstance().getFlameCordConfiguration().isAllowInvalidNames() && !this.isLoginNameValid(loginRequest)) { + this.disconnect(this.bungee.getTranslation("name_invalid")); + } else if (this.validateEarlySecureProfile(loginRequest)) { + this.loginRequest = loginRequest; + SocketAddress remoteAddress = this.ch.getRemoteAddress(); + AddressData addressData = FlameCord.getInstance().getAddressDataManager().getAddressData(remoteAddress); + CheckManager checkManager = FlameCord.getInstance().getCheckManager(); + String name = this.getName(); + addressData.addNickname(name); + if (checkManager.getReconnectCheck().check(remoteAddress, this.ch.getChannel(), name)) { + int remainingConnections = Math.max(0, FlameCord.getInstance().getFlameCordConfiguration().getAntibotReconnectAttempts() - addressData.getTotalConnections()); + int remainingPings = Math.max(0, FlameCord.getInstance().getFlameCordConfiguration().getAntibotReconnectPings() - addressData.getTotalPings()); + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(name); + this.disconnect(this.bungee.getTranslation("antibot_reconnect_message", remainingConnections == 0 ? "" : this.bungee.getTranslation("antibot_reconnect_reconnect", remainingConnections), remainingPings == 0 ? "" : this.bungee.getTranslation("antibot_reconnect_ping", remainingPings))); + } else if (checkManager.getLockdownCheck().check(remoteAddress, name)) { + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(name); + this.disconnect(this.bungee.getTranslation("antibot_lockdown")); + } else if (checkManager.getLatencyCheck().check(remoteAddress)) { + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(name); + this.disconnect(this.bungee.getTranslation("antibot_latency", addressData.getLatency())); + } else if (checkManager.getAccountsCheck().check(remoteAddress, name)) { + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(name); + this.disconnect(this.bungee.getTranslation("antibot_accounts", addressData.getNicknames().size())); + } else if (checkManager.getNicknameCheck().check(remoteAddress)) { + FlameCord.getInstance().getBlockedPlayersNotifier().recordBlocked(name); + this.disconnect(this.bungee.getTranslation("antibot_nickname", name)); + } else { + LimboFilter.checkAsyncIfNeeded(this); + } + } + } + + public void delayedHandleOfLoginRequset() { + if (FlameCord.getInstance().getFlameCordConfiguration().isMaintenanceEnabled() && !FlameCord.getInstance().getFlameCordConfiguration().getMaintenanceWhitelist().contains(this.getName())) { + this.disconnect(FlameCord.getInstance().getFlameCordConfiguration().getMaintenanceKick()); + } else if (this.isProxyFull()) { + this.disconnect(this.bungee.getTranslation("proxy_full")); + } else if (this.hasOfflineDuplicate()) { + this.disconnect(this.bungee.getTranslation("already_connected_proxy")); + } else { + this.firePreLoginEvent(); + } + } + + private boolean isLoginNameValid(LoginRequest loginRequest) { + return AllowedCharacters.isValidName(loginRequest.getData(), this.onlineMode); + } + + private boolean validateEarlySecureProfile(LoginRequest loginRequest) throws GeneralSecurityException { + if (BungeeCord.getInstance().config.isEnforceSecureProfile() && this.getVersion() < 761) { + if (this.handshake.getProtocolVersion() < 759) { + this.disconnect(this.bungee.getTranslation("secure_profile_unsupported")); + return false; + } else { + PlayerPublicKey publicKey = loginRequest.getPublicKey(); + if (publicKey == null) { + this.disconnect(this.bungee.getTranslation("secure_profile_required")); + return false; + } else if (Instant.ofEpochMilli(publicKey.getExpiry()).isBefore(Instant.now())) { + this.disconnect(this.bungee.getTranslation("secure_profile_expired")); + return false; + } else if (this.getVersion() < 760 && !EncryptionUtil.check(publicKey, (UUID)null)) { + this.disconnect(this.bungee.getTranslation("secure_profile_invalid")); + return false; + } else { + return true; + } + } + } else { + return true; + } + } + + private boolean isProxyFull() { + int limit = BungeeCord.getInstance().config.getPlayerLimit(); + return limit > 0 && this.bungee.getOnlineCount() >= limit; + } + + private boolean hasOfflineDuplicate() { + return !this.isOnlineMode() && this.bungee.getPlayer(this.getUniqueId()) != null; + } + + private void firePreLoginEvent() { + Callback callback = new Callback() { + public void done(PreLoginEvent result, Throwable error) { + if (result.isCancelled()) { + BaseComponent reason = result.getReason(); + InitialHandler.this.disconnect(reason != null ? reason : TextComponent.fromLegacy(InitialHandler.this.bungee.getTranslation("kick_message"))); + } else { + if (InitialHandler.this.onlineMode && !InitialHandler.this.chainedProxyForwardedData) { + InitialHandler.this.thisState = InitialHandler.State.ENCRYPT; + InitialHandler.this.unsafe().sendPacket(InitialHandler.this.request = EncryptionUtil.encryptRequest()); + } else { + InitialHandler.this.thisState = InitialHandler.State.FINISHING; + InitialHandler.this.ch.scheduleIfNecessary(() -> { + if (!InitialHandler.this.ch.isClosing()) { + InitialHandler.this.finish(); + } + + }); + } + + InitialHandler.this.processing = false; + } + } + }; + this.bungee.getPluginManager().callEvent(new PreLoginEvent(this, this.eventLoopCallback(callback))); + } + + public void handle(EncryptionResponse encryptResponse) throws Exception { + Preconditions.checkState(this.thisState == InitialHandler.State.ENCRYPT, "Not expecting ENCRYPT"); + Preconditions.checkState(EncryptionUtil.check(this.loginRequest.getPublicKey(), encryptResponse, this.request), "Invalid verification"); + this.thisState = InitialHandler.State.FINISHING; + Preconditions.checkState(!this.processing, "Cannot request ENCRYPT while processing another packet"); + this.processing = true; + SecretKey sharedKey = EncryptionUtil.getSecret(encryptResponse, this.request); + if (sharedKey instanceof SecretKeySpec && sharedKey.getEncoded().length != 16) { + this.ch.close(); + } else { + BungeeCipher decrypt = EncryptionUtil.getCipher(false, sharedKey); + this.ch.addBefore("frame-decoder", "decrypt", new CipherDecoder(decrypt)); + BungeeCipher encrypt = EncryptionUtil.getCipher(true, sharedKey); + this.ch.addBefore("frame-prepender-compress", "encrypt", new CipherEncoder(encrypt)); + this.ch.updateComposite(); + String encName = URLEncoder.encode(this.getName(), "UTF-8"); + MessageDigest sha = MessageDigest.getInstance("SHA-1"); + + for(byte[] bit : new byte[][]{this.request.getServerId().getBytes("ISO_8859_1"), sharedKey.getEncoded(), EncryptionUtil.keys.getPublic().getEncoded()}) { + sha.update(bit); + } + + String encodedHash = URLEncoder.encode((new BigInteger(sha.digest())).toString(16), "UTF-8"); + String preventProxy = BungeeCord.getInstance().config.isPreventProxyConnections() && this.getSocketAddress() instanceof InetSocketAddress ? "&ip=" + URLEncoder.encode(this.getAddress().getAddress().getHostAddress(), "UTF-8") : ""; + String authURL = String.format(MOJANG_AUTH_URL, encName, encodedHash, preventProxy); + Callback handler = new Callback() { + public void done(String result, Throwable error) { + if (error == null) { + LoginResult obj = (LoginResult)LoginResult.GSON.fromJson(result, LoginResult.class); + if (obj != null && obj.getId() != null) { + InitialHandler.this.loginProfile = obj; + InitialHandler.this.name = obj.getName(); + if (InitialHandler.this.uniqueId == null) { + InitialHandler.this.uniqueId = Util.getUUID(obj.getId()); + } + + InitialHandler.this.finish(); + return; + } + + InitialHandler.this.disconnect(InitialHandler.this.bungee.getTranslation("offline_mode_player")); + } else { + InitialHandler.this.disconnect(InitialHandler.this.bungee.getTranslation("mojang_fail")); + InitialHandler.this.bungee.getLogger().log(Level.SEVERE, "Error authenticating " + InitialHandler.this.getName() + " with minecraft.net", error); + } + + } + }; + HttpClient.get(authURL, this.ch.getHandle().eventLoop(), handler); + } + } + + private void finish() { + this.offlineId = UUID.nameUUIDFromBytes(("OfflinePlayer:" + this.getName()).getBytes(StandardCharsets.UTF_8)); + if (this.uniqueId == null) { + this.uniqueId = this.offlineId; + } + + this.rewriteId = this.bungee.config.isIpForward() ? this.uniqueId : this.offlineId; + if (BungeeCord.getInstance().config.isEnforceSecureProfile() && this.getVersion() >= 760 && this.getVersion() < 761) { + boolean secure = false; + + try { + secure = EncryptionUtil.check(this.loginRequest.getPublicKey(), this.uniqueId); + } catch (GeneralSecurityException var4) { + } + + if (!secure) { + this.disconnect(this.bungee.getTranslation("secure_profile_invalid")); + return; + } + } + + ProxiedPlayer oldName = this.bungee.getPlayer(this.getName()); + if (oldName != null) { + this.disconnect(this.bungee.getTranslation("already_connected_proxy")); + } else { + if (this.isOnlineMode()) { + ProxiedPlayer oldID = this.bungee.getPlayer(this.getUniqueId()); + if (oldID != null) { + this.disconnect(this.bungee.getTranslation("already_connected_proxy")); + return; + } + } + + if (LimboFilter.isOnChecking(this.getName())) { + this.disconnect(this.bungee.getTranslation("already_connected_proxy")); + } else { + boolean needCheck = FlameCord.getInstance().getCheckManager().getLimboCheck().check(this.ch.getRemoteAddress(), this.ch.getChannel(), this.getName()); + if (needCheck) { + this.userCon = new UserConnection(this.bungee, this.ch, this.getName(), this); + this.userCon.setCompressionThreshold(BungeeCord.getInstance().config.getCompressionThreshold()); + LimboFilter.connectToBotFilter(this.userCon); + } else { + Callback complete = new Callback() { + public void done(LoginEvent result, Throwable error) { + if (result.isCancelled()) { + BaseComponent reason = result.getReason(); + InitialHandler.this.disconnect(reason != null ? reason : TextComponent.fromLegacy(InitialHandler.this.bungee.getTranslation("kick_message"))); + } else { + InitialHandler.this.userCon = new UserConnection(InitialHandler.this.bungee, InitialHandler.this.ch, InitialHandler.this.getName(), InitialHandler.this); + InitialHandler.this.userCon.setCompressionThreshold(BungeeCord.getInstance().config.getCompressionThreshold()); + InitialHandler.this.sendLoginSuccessIfRequired(); + InitialHandler.this.finish2(); + } + } + }; + this.bungee.getPluginManager().callEvent(new LoginEvent(this, this.eventLoopCallback(complete), this.getLoginProfile())); + } + } + } + } + + private void sendLoginSuccessIfRequired() { + if (this.getVersion() < 764) { + this.unsafe.sendPacket(new LoginSuccess(this.getRewriteId(), this.getName(), this.loginProfile == null ? null : this.loginProfile.getProperties(), (UUID)null)); + this.ch.setProtocol(Protocol.GAME); + } + + } + + private void finish2() { + if (!this.userCon.init()) { + this.disconnect(this.bungee.getTranslation("already_connected_proxy")); + } else { + ((HandlerBoss)this.ch.getHandle().pipeline().get(HandlerBoss.class)).setHandler(new UpstreamBridge(this.bungee, this.userCon)); + ServerInfo initialServer; + if (this.bungee.getReconnectHandler() != null) { + initialServer = this.bungee.getReconnectHandler().getServer(this.userCon); + } else { + initialServer = AbstractReconnectHandler.getForcedHost(this); + } + + if (Balancer.isEnabled() && Balancer.isOnJoin()) { + initialServer = Balancer.getBestServer(); + } + + if (initialServer == null) { + initialServer = this.bungee.getServerInfo(this.listener.getDefaultServer()); + } + + Callback complete = new Callback() { + public void done(PostLoginEvent result, Throwable error) { + InitialHandler.this.userCon.connect(result.getTarget(), (Callback)null, true, ServerConnectEvent.Reason.JOIN_PROXY); + } + }; + this.bungee.getPluginManager().callEvent(new PostLoginEvent(this.userCon, initialServer, this.eventLoopCallback(complete))); + } + } + + public void handle(LoginPayloadResponse response) throws Exception { + CompletableFuture future; + synchronized(this.requestedLoginPayloads) { + future = (CompletableFuture)this.requestedLoginPayloads.remove(response.getId()); + } + + Preconditions.checkState(future != null, "Unexpected custom LoginPayloadResponse"); + future.complete(response.getData()); + throw CancelSendSignal.INSTANCE; + } + + public void handle(LoginAcknowledged loginAcknowledged) throws Exception { + this.disconnect("Unexpected LoginAcknowledged"); + } + + public void handle(CookieResponse cookieResponse) { + CookieFuture future; + synchronized(this.requestedCookies) { + future = (CookieFuture)this.requestedCookies.peek(); + if (future != null) { + if (future.cookie.equals(cookieResponse.getCookie())) { + Preconditions.checkState(future == this.requestedCookies.poll(), "requestedCookies queue mismatch"); + } else { + future = null; + } + } + } + + if (future != null) { + future.getFuture().complete(cookieResponse.getData()); + throw CancelSendSignal.INSTANCE; + } else { + Preconditions.checkState(this.userCon != null, "not requested cookie received"); + } + } + + public void disconnect(String reason) { + if (this.canSendKickMessage()) { + this.disconnect(TextComponent.fromLegacyTextFast(reason)); + } else { + this.ch.close(); + } + + } + + public void disconnect(BaseComponent... reason) { + this.disconnect(TextComponent.fromArray(reason)); + } + + public void disconnect(BaseComponent reason) { + if (this.canSendKickMessage()) { + this.ch.delayedClose(new Kick(reason)); + } else { + this.ch.close(); + } + + } + + public String getName() { + return this.name != null ? this.name : (this.loginRequest == null ? null : this.loginRequest.getData()); + } + + public int getVersion() { + return this.handshake == null ? -1 : this.handshake.getProtocolVersion(); + } + + public InetSocketAddress getAddress() { + return (InetSocketAddress)this.getSocketAddress(); + } + + public SocketAddress getSocketAddress() { + return this.ch.getRemoteAddress(); + } + + public Connection.Unsafe unsafe() { + return this.unsafe; + } + + public void setOnlineMode(boolean onlineMode) { + Preconditions.checkState(this.thisState == InitialHandler.State.USERNAME, "Can only set online mode status whilst state is username"); + this.onlineMode = onlineMode; + } + + public void setUniqueId(UUID uuid) { + Preconditions.checkNotNull(uuid, "uuid"); + Preconditions.checkState(this.thisState == InitialHandler.State.USERNAME || this.thisState == InitialHandler.State.FINISHING && this.userCon == null, "Can only set uuid before login completion"); + this.uniqueId = uuid; + if (this.offlineId != null) { + this.rewriteId = this.bungee.config.isIpForward() ? uuid : this.offlineId; + } + + } + + public String getUUID() { + return UUIDUtils.undash(this.uniqueId.toString()); + } + + public String toString() { + String var10000 = String.valueOf(this.getSocketAddress()); + return "[" + var10000 + (this.getName() != null ? "|" + this.getName() : "") + "] <-> InitialHandler"; + } + + public boolean isConnected() { + return !this.ch.isClosed(); + } + + public void relayMessage(PluginMessage input) throws Exception { + this.relayMessage0(input); + } + + public boolean relayMessage0(PluginMessage input) throws Exception { + if (!input.getTag().equals("REGISTER") && !input.getTag().equals("minecraft:register")) { + if (!input.getTag().equals("UNREGISTER") && !input.getTag().equals("minecraft:unregister")) { + if (!input.getTag().equals("MC|Brand") && !input.getTag().equals("minecraft:brand")) { + return false; + } else { + this.brandMessage = input; + return true; + } + } else { + String content = new String(input.getData(), StandardCharsets.UTF_8); + + for(String id : content.split("\u0000")) { + this.registeredChannels.remove(id); + } + + return true; + } + } else { + String content = new String(input.getData(), StandardCharsets.UTF_8); + + for(String id : content.split("\u0000")) { + Preconditions.checkState(this.registeredChannels.size() <= this.bungee.getConfig().getPluginChannelLimit(), "Too many registered channels. This limit can be configured in the waterfall.yml"); + Preconditions.checkArgument(id.length() <= this.bungee.getConfig().getPluginChannelNameLimit(), "Channel name too long. This limit can be configured in the waterfall.yml"); + this.registeredChannels.add(id); + } + + return true; + } + } + + public CompletableFuture retrieveCookie(String cookie) { + Preconditions.checkState(this.getVersion() >= 766, "Cookies are only supported in 1.20.5 and above"); + Preconditions.checkState(this.loginRequest != null, "Cannot retrieve cookies for status or legacy connections"); + if (cookie.indexOf(58) == -1) { + cookie = "minecraft:" + cookie; + } + + CompletableFuture future = new CompletableFuture(); + synchronized(this.requestedCookies) { + this.requestedCookies.add(new CookieFuture(cookie, future)); + } + + this.unsafe.sendPacket(new CookieRequest(cookie)); + return future; + } + + public CompletableFuture sendData(String channel, byte[] data) { + Preconditions.checkState(this.getVersion() >= 393, "LoginPayloads are only supported in 1.13 and above"); + Preconditions.checkState(this.ch.getEncodeProtocol() == Protocol.LOGIN, "LoginPayloads are only supported in the login phase"); + CompletableFuture future = new CompletableFuture(); + int id; + synchronized(this.requestedLoginPayloads) { + id = this.loginPayloadId++; + this.requestedLoginPayloads.put(id, future); + } + + this.unsafe.sendPacket(new LoginPayloadRequest(id, channel, data)); + return future; + } + + private Callback eventLoopCallback(Callback callback) { + return (result, error) -> this.ch.scheduleIfNecessary(() -> { + if (!this.ch.isClosing()) { + callback.done(result, error); + } + + }); + } + + public void sendLoginSuccess(UUID sessionId) { + this.unsafe.sendPacket(new LoginSuccess(this.getRewriteId(), this.getName(), this.loginProfile == null ? null : this.loginProfile.getProperties(), sessionId)); + } + + public void finishLoginWithLoginEvent(boolean isLoginSuccessSent) { + Callback complete = (result, error) -> { + if (result.isCancelled()) { + BaseComponent reason = result.getReason(); + this.disconnect(reason != null ? reason : TextComponent.fromLegacy(this.bungee.getTranslation("kick_message"))); + } else if (!this.ch.isClosing()) { + if (!isLoginSuccessSent) { + this.sendLoginSuccessIfRequired(); + } + + this.ch.setProtocol(Protocol.GAME); + this.finish2(); + } + }; + this.bungee.getPluginManager().callEvent(new LoginEvent(this, this.eventLoopCallback(complete), this.getLoginProfile())); + } + + @Generated + public InitialHandler(BungeeCord bungee, ListenerInfo listener) { + this.onlineMode = BungeeCord.getInstance().config.isOnlineMode(); + this.extraDataInHandshake = ""; + this.processing = false; + this.bungee = bungee; + this.listener = listener; + } + + @Generated + public ChannelWrapper getCh() { + return this.ch; + } + + @Generated + public ListenerInfo getListener() { + return this.listener; + } + + @Generated + public Handshake getHandshake() { + return this.handshake; + } + + @Generated + public LoginRequest getLoginRequest() { + return this.loginRequest; + } + + @Generated + public PluginMessage getBrandMessage() { + return this.brandMessage; + } + + @Generated + public String getClientBrand() { + return this.clientBrand; + } + + @Generated + public Set getRegisteredChannels() { + return this.registeredChannels; + } + + @Generated + public boolean isOnlineMode() { + return this.onlineMode; + } + + @Generated + public InetSocketAddress getVirtualHost() { + return this.virtualHost; + } + + @Generated + public UUID getUniqueId() { + return this.uniqueId; + } + + @Generated + public UUID getOfflineId() { + return this.offlineId; + } + + @Generated + public UUID getRewriteId() { + return this.rewriteId; + } + + @Generated + public LoginResult getLoginProfile() { + return this.loginProfile; + } + + @Generated + public boolean isLegacy() { + return this.legacy; + } + + @Generated + public String getExtraDataInHandshake() { + return this.extraDataInHandshake; + } + + @Generated + public boolean isTransferred() { + return this.transferred; + } + + public static class CookieFuture { + private String cookie; + private CompletableFuture future; + + @Generated + public String getCookie() { + return this.cookie; + } + + @Generated + public CompletableFuture getFuture() { + return this.future; + } + + @Generated + public void setCookie(String cookie) { + this.cookie = cookie; + } + + @Generated + public void setFuture(CompletableFuture future) { + this.future = future; + } + + @Generated + public String toString() { + String var10000 = this.getCookie(); + return "InitialHandler.CookieFuture(cookie=" + var10000 + ", future=" + String.valueOf(this.getFuture()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof CookieFuture)) { + return false; + } else { + CookieFuture other = (CookieFuture)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$cookie = this.getCookie(); + Object other$cookie = other.getCookie(); + if (this$cookie == null) { + if (other$cookie != null) { + return false; + } + } else if (!this$cookie.equals(other$cookie)) { + return false; + } + + Object this$future = this.getFuture(); + Object other$future = other.getFuture(); + if (this$future == null) { + if (other$future != null) { + return false; + } + } else if (!this$future.equals(other$future)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof CookieFuture; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $cookie = this.getCookie(); + result = result * 59 + ($cookie == null ? 43 : $cookie.hashCode()); + Object $future = this.getFuture(); + result = result * 59 + ($future == null ? 43 : $future.hashCode()); + return result; + } + + @Generated + public CookieFuture(String cookie, CompletableFuture future) { + this.cookie = cookie; + this.future = future; + } + } + + private static enum State { + HANDSHAKE, + STATUS, + PING, + USERNAME, + ENCRYPT, + FINISHING; + } +} diff --git a/src/main/java/net/md_5/bungee/connection/LoginResult.java b/src/main/java/net/md_5/bungee/connection/LoginResult.java new file mode 100644 index 0000000..2d71f65 --- /dev/null +++ b/src/main/java/net/md_5/bungee/connection/LoginResult.java @@ -0,0 +1,113 @@ +package net.md_5.bungee.connection; + +import com.google.gson.Gson; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.protocol.data.Property; + +public class LoginResult { + public static final Gson GSON = new Gson(); + private String id; + private String name; + private Property[] properties; + + @Generated + public String getId() { + return this.id; + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public Property[] getProperties() { + return this.properties; + } + + @Generated + public void setId(String id) { + this.id = id; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setProperties(Property[] properties) { + this.properties = properties; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LoginResult)) { + return false; + } else { + LoginResult other = (LoginResult)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$id = this.getId(); + Object other$id = other.getId(); + if (this$id == null) { + if (other$id != null) { + return false; + } + } else if (!this$id.equals(other$id)) { + return false; + } + + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + if (!Arrays.deepEquals(this.getProperties(), other.getProperties())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LoginResult; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $id = this.getId(); + result = result * 59 + ($id == null ? 43 : $id.hashCode()); + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + result = result * 59 + Arrays.deepHashCode(this.getProperties()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getId(); + return "LoginResult(id=" + var10000 + ", name=" + this.getName() + ", properties=" + Arrays.deepToString(this.getProperties()) + ")"; + } + + @Generated + public LoginResult(String id, String name, Property[] properties) { + this.id = id; + this.name = name; + this.properties = properties; + } +} diff --git a/src/main/java/net/md_5/bungee/connection/PingHandler.java b/src/main/java/net/md_5/bungee/connection/PingHandler.java new file mode 100644 index 0000000..fdedf22 --- /dev/null +++ b/src/main/java/net/md_5/bungee/connection/PingHandler.java @@ -0,0 +1,71 @@ +package net.md_5.bungee.connection; + +import com.google.gson.Gson; +import lombok.Generated; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.BungeeServerInfo; +import net.md_5.bungee.PlayerInfoSerializer; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.Favicon; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.ServerPing; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.chat.VersionedComponentSerializer; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.netty.PacketHandler; +import net.md_5.bungee.protocol.MinecraftDecoder; +import net.md_5.bungee.protocol.MinecraftEncoder; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.packet.Handshake; +import net.md_5.bungee.protocol.packet.StatusRequest; +import net.md_5.bungee.protocol.packet.StatusResponse; +import net.md_5.bungee.util.BufUtil; +import net.md_5.bungee.util.QuietException; + +public class PingHandler extends PacketHandler { + static final Gson gson = VersionedComponentSerializer.getDefault().getGson().newBuilder().registerTypeAdapter(ServerPing.PlayerInfo.class, new PlayerInfoSerializer()).registerTypeAdapter(Favicon.class, Favicon.getFaviconTypeAdapter()).create(); + private final ServerInfo target; + private final Callback callback; + private final int protocol; + private ChannelWrapper channel; + + public void connected(ChannelWrapper channel) throws Exception { + this.channel = channel; + MinecraftEncoder encoder = new MinecraftEncoder(Protocol.HANDSHAKE, false, this.protocol); + channel.getHandle().pipeline().addAfter("frame-decoder", "packet-decoder", new MinecraftDecoder(Protocol.STATUS, false, ProxyServer.getInstance().getProtocolVersion())); + channel.getHandle().pipeline().addAfter("frame-prepender-compress", "packet-encoder", encoder); + channel.write((Object)(new Handshake(this.protocol, this.target.getAddress().getHostString(), this.target.getAddress().getPort(), 1))); + encoder.setProtocol(Protocol.STATUS); + channel.write((Object)(new StatusRequest())); + } + + public void exception(Throwable t) throws Exception { + this.callback.done(null, t); + } + + public void handle(PacketWrapper packet) throws Exception { + if (packet.packet == null) { + throw new QuietException("Unexpected packet received during ping process! " + BufUtil.dump(packet.buf, 16)); + } + } + + public void handle(StatusResponse statusResponse) throws Exception { + Gson gson = this.protocol == 4 ? BungeeCord.getInstance().gsonLegacy : PingHandler.gson; + ServerPing serverPing = (ServerPing)gson.fromJson(statusResponse.getResponse(), ServerPing.class); + ((BungeeServerInfo)this.target).cachePing(serverPing); + this.callback.done(serverPing, (Throwable)null); + this.channel.close(); + } + + public String toString() { + return "[Ping Handler] -> " + this.target.getName(); + } + + @Generated + public PingHandler(ServerInfo target, Callback callback, int protocol) { + this.target = target; + this.callback = callback; + this.protocol = protocol; + } +} diff --git a/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java b/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java new file mode 100644 index 0000000..101bc95 --- /dev/null +++ b/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java @@ -0,0 +1,451 @@ +package net.md_5.bungee.connection; + +import com.google.common.base.Preconditions; +import com.mojang.brigadier.context.StringRange; +import com.mojang.brigadier.suggestion.Suggestion; +import com.mojang.brigadier.suggestion.Suggestions; +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.CheckManager; +import io.netty.channel.Channel; +import java.net.SocketAddress; +import java.util.ArrayDeque; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Queue; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.ServerConnection; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.event.AsyncChatEvent; +import net.md_5.bungee.api.event.ChatEvent; +import net.md_5.bungee.api.event.CustomClickEvent; +import net.md_5.bungee.api.event.PlayerDisconnectEvent; +import net.md_5.bungee.api.event.PluginMessageEvent; +import net.md_5.bungee.api.event.SettingsChangedEvent; +import net.md_5.bungee.api.event.TabCompleteEvent; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.netty.PacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.packet.Chat; +import net.md_5.bungee.protocol.packet.ClientChat; +import net.md_5.bungee.protocol.packet.ClientChatAcknowledgement; +import net.md_5.bungee.protocol.packet.ClientCommand; +import net.md_5.bungee.protocol.packet.ClientSettings; +import net.md_5.bungee.protocol.packet.CookieResponse; +import net.md_5.bungee.protocol.packet.CustomClickAction; +import net.md_5.bungee.protocol.packet.KeepAlive; +import net.md_5.bungee.protocol.packet.LoginAcknowledged; +import net.md_5.bungee.protocol.packet.LoginPayloadResponse; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.protocol.packet.StartConfiguration; +import net.md_5.bungee.protocol.packet.TabCompleteRequest; +import net.md_5.bungee.protocol.packet.TabCompleteResponse; +import net.md_5.bungee.protocol.packet.UnsignedClientCommand; +import net.md_5.bungee.protocol.util.TagUtil; +import net.md_5.bungee.util.AllowedCharacters; + +public class UpstreamBridge extends PacketHandler { + private final ProxyServer bungee; + private final UserConnection con; + private long lastTabCompletion = -1L; + private final SerialQueue asyncChatQueue = new SerialQueue(); + + public UpstreamBridge(ProxyServer bungee, UserConnection con) { + this.bungee = bungee; + this.con = con; + con.getTabListHandler().onConnect(); + } + + private void fireAsyncChat(PendingChat pending) { + AsyncChatEvent asyncEvent = new AsyncChatEvent(this.con, pending.server, pending.chatEvent.getMessage(), (result, error) -> this.con.getCh().scheduleIfNecessary(() -> this.completeAsyncChat(pending, result, error))); + this.bungee.getPluginManager().callEvent(asyncEvent); + } + + private void completeAsyncChat(PendingChat pending, AsyncChatEvent result, Throwable error) { + try { + if (error == null) { + if (result == null) { + return; + } + + if (!this.con.isConnected()) { + return; + } + + if (this.con.getServer() != pending.server) { + return; + } + + if (!pending.server.isConnected()) { + return; + } + + if (result.isCancelled()) { + return; + } + + String message = pending.chatEvent.getMessage(); + if (pending.chatEvent.isCommand() && this.bungee.getPluginManager().dispatchCommand(this.con, message.substring(1))) { + if (!(pending.packet instanceof ClientCommand)) { + return; + } + + ClientCommand clientCommand = (ClientCommand)pending.packet; + if (clientCommand.isSigned() && clientCommand.getSeenMessages() != null && this.con.getPendingConnection().getVersion() >= 761) { + pending.server.unsafe().sendPacket(new ClientChatAcknowledgement(clientCommand.getSeenMessages().getOffset())); + } + + return; + } + + if (pending.packet instanceof Chat) { + ((Chat)pending.packet).setMessage(message); + } + + pending.server.unsafe().sendPacket(pending.packet); + return; + } + + this.con.getCh().getHandle().pipeline().fireExceptionCaught(error); + } finally { + Optional next = this.asyncChatQueue.complete(pending); + if (next.isPresent()) { + this.fireAsyncChat((PendingChat)next.get()); + } + + } + + } + + public void exception(Throwable t) throws Exception { + this.con.disconnect(Util.exception(t)); + } + + public void disconnected(ChannelWrapper channel) throws Exception { + PlayerDisconnectEvent event = new PlayerDisconnectEvent(this.con); + this.bungee.getPluginManager().callEvent(event); + this.con.getTabListHandler().onDisconnect(); + BungeeCord.getInstance().removeConnection(this.con); + if (this.con.getServer() != null) { + this.con.getServer().disconnect("Quitting"); + } + + } + + public void writabilityChanged(ChannelWrapper channel) throws Exception { + if (this.con.getServer() != null) { + Channel server = this.con.getServer().getCh().getHandle(); + if (channel.getHandle().isWritable()) { + server.config().setAutoRead(true); + } else { + server.config().setAutoRead(false); + } + } + + } + + public boolean shouldHandle(PacketWrapper packet) throws Exception { + ServerConnection server = this.con.getServer(); + if (server != null && server.isConnected()) { + Protocol serverEncode = server.getCh().getEncodeProtocol(); + if (packet.protocol != serverEncode && (packet.packet == null || packet.packet.nextProtocol() == null)) { + return false; + } + } + + return server != null || packet.packet instanceof PluginMessage || packet.packet instanceof CookieResponse || packet.packet instanceof LoginPayloadResponse; + } + + public void handle(PacketWrapper packet) throws Exception { + ServerConnection server = this.con.getServer(); + if (server != null && server.isConnected()) { + Protocol serverEncode = server.getCh().getEncodeProtocol(); + if (packet.protocol != serverEncode) { + return; + } + + server.getCh().write(packet); + } + + } + + public void handle(KeepAlive alive) throws Exception { + if (this.con.getServer() == null) { + throw CancelSendSignal.INSTANCE; + } else { + ServerConnection.KeepAliveData keepAliveData = (ServerConnection.KeepAliveData)this.con.getServer().getKeepAlives().peek(); + if (keepAliveData != null && alive.getRandomId() == keepAliveData.getId()) { + Preconditions.checkState(keepAliveData == this.con.getServer().getKeepAlives().poll(), "keepalive queue mismatch"); + int newPing = (int)(System.currentTimeMillis() - keepAliveData.getTime()); + this.con.getTabListHandler().onPingChange(newPing); + this.con.setPing(newPing); + } else { + throw CancelSendSignal.INSTANCE; + } + } + } + + public void handle(Chat chat) throws Exception { + this.handleChat(chat.getMessage(), chat); + throw CancelSendSignal.INSTANCE; + } + + public void handle(ClientChat chat) throws Exception { + this.handleChat(chat.getMessage(), chat); + throw CancelSendSignal.INSTANCE; + } + + public void handle(ClientCommand command) throws Exception { + this.handleChat("/" + command.getCommand(), command); + throw CancelSendSignal.INSTANCE; + } + + public void handle(UnsignedClientCommand command) throws Exception { + this.handleChat("/" + command.getCommand(), command); + throw CancelSendSignal.INSTANCE; + } + + private void handleChat(String message, DefinedPacket packet) { + int index = 0; + + for(int length = message.length(); index < length; ++index) { + char c = message.charAt(index); + if (!AllowedCharacters.isChatAllowedCharacter(c)) { + this.con.disconnect(this.bungee.getTranslation("illegal_chat_characters", Util.unicode(c))); + throw CancelSendSignal.INSTANCE; + } + } + + CheckManager checkManager = FlameCord.getInstance().getCheckManager(); + SocketAddress socketAddress = this.con.getSocketAddress(); + if (checkManager.getFastChatCheck().isChattingTooFast(socketAddress)) { + this.con.disconnect(this.bungee.getTranslation("antibot_fastchat")); + throw CancelSendSignal.INSTANCE; + } else { + boolean isCommand = message.length() > 0 && message.charAt(0) == '/'; + if (checkManager.getFastChatCheck().isCommandRepetitive(socketAddress, message, isCommand)) { + if (FlameCord.getInstance().getFlameCordConfiguration().isAntibotFastChatRepetitionKick()) { + this.con.disconnect(this.bungee.getTranslation("antibot_fastchat")); + throw CancelSendSignal.INSTANCE; + } else { + this.con.sendMessage(this.bungee.getTranslation("antibot_fastchat_cancel")); + throw CancelSendSignal.INSTANCE; + } + } else if (checkManager.getPasswordCheck().check(socketAddress, message)) { + this.con.disconnect(this.bungee.getTranslation("antibot_password", FlameCord.getInstance().getFlameCordConfiguration().getAntibotPasswordLimit())); + throw CancelSendSignal.INSTANCE; + } else { + ServerConnection server = this.con.getServer(); + if (server != null && server.isConnected()) { + ChatEvent chatEvent = new ChatEvent(this.con, server, message); + this.bungee.getPluginManager().callEvent(chatEvent); + if (!chatEvent.isCancelled()) { + if (this.con.isConnected() && this.con.getServer() == server && server.isConnected()) { + PendingChat pending = new PendingChat(chatEvent, server, packet); + if (this.asyncChatQueue.enqueue(pending)) { + this.fireAsyncChat(pending); + } + + } + } + } + } + } + } + + public void handle(TabCompleteRequest tabComplete) throws Exception { + if (this.bungee.getConfig().getTabThrottle() > 0 && this.con.getPendingConnection().getVersion() >= 393 && !this.bungee.getConfig().isDisableModernTabLimiter()) { + long now = System.currentTimeMillis(); + if (this.lastTabCompletion > 0L && now - this.lastTabCompletion <= (long)this.bungee.getConfig().getTabThrottle()) { + throw CancelSendSignal.INSTANCE; + } + + this.lastTabCompletion = now; + } + + List suggestions = new ArrayList(); + boolean isRegisteredCommand = false; + boolean isCommand = tabComplete.getCursor().startsWith("/"); + if (isCommand) { + isRegisteredCommand = this.bungee.getPluginManager().dispatchCommand(this.con, tabComplete.getCursor().substring(1), suggestions); + } + + TabCompleteEvent tabCompleteEvent = new TabCompleteEvent(this.con, this.con.getServer(), tabComplete.getCursor(), suggestions); + this.bungee.getPluginManager().callEvent(tabCompleteEvent); + if (tabCompleteEvent.isCancelled()) { + throw CancelSendSignal.INSTANCE; + } else { + List results = tabCompleteEvent.getSuggestions(); + if (results.isEmpty()) { + if (isRegisteredCommand) { + throw CancelSendSignal.INSTANCE; + } else { + if (isCommand && this.con.getPendingConnection().getVersion() < 393) { + int lastSpace = tabComplete.getCursor().lastIndexOf(32); + if (lastSpace == -1) { + this.con.setLastCommandTabbed(tabComplete.getCursor().substring(1)); + } + } + + } + } else { + if (this.con.getPendingConnection().getVersion() < 393) { + this.con.unsafe().sendPacket(new TabCompleteResponse(results)); + } else { + int start = tabComplete.getCursor().lastIndexOf(32) + 1; + int end = tabComplete.getCursor().length(); + StringRange range = StringRange.between(start, end); + List brigadier = new LinkedList(); + + for(String s : results) { + brigadier.add(new Suggestion(range, s)); + } + + this.con.unsafe().sendPacket(new TabCompleteResponse(tabComplete.getTransactionId(), new Suggestions(range, brigadier))); + } + + throw CancelSendSignal.INSTANCE; + } + } + } + + public void handle(ClientSettings settings) throws Exception { + this.con.setSettings(settings); + SettingsChangedEvent settingsEvent = new SettingsChangedEvent(this.con); + this.bungee.getPluginManager().callEvent(settingsEvent); + } + + public void handle(PluginMessage pluginMessage) throws Exception { + if (!pluginMessage.getTag().equals("BungeeCord") && !pluginMessage.getTag().equals("bungeecord:main")) { + if (BungeeCord.getInstance().config.isForgeSupport()) { + if (pluginMessage.getTag().equals("FML") && pluginMessage.getStream().readUnsignedByte() == 1) { + throw CancelSendSignal.INSTANCE; + } + + if (pluginMessage.getTag().equals("FML|HS")) { + this.con.getForgeClientHandler().handle(pluginMessage); + throw CancelSendSignal.INSTANCE; + } + + if (this.con.getServer() != null && !this.con.getServer().isForgeServer() && pluginMessage.getData().length > 32767) { + boolean largePayloads = FlameCord.getInstance().getFlameCordConfiguration().isLargePayloads(); + if (!largePayloads) { + throw CancelSendSignal.INSTANCE; + } + } + } + + PluginMessageEvent event = new PluginMessageEvent(this.con, this.con.getServer(), pluginMessage.getTag(), (byte[])pluginMessage.getData().clone()); + if (((PluginMessageEvent)this.bungee.getPluginManager().callEvent(event)).isCancelled()) { + throw CancelSendSignal.INSTANCE; + } else { + this.con.getPendingConnection().relayMessage(pluginMessage); + } + } else { + throw CancelSendSignal.INSTANCE; + } + } + + public void handle(LoginAcknowledged loginAcknowledged) throws Exception { + this.con.getServer().setFirstLogin(true); + this.configureServer(); + } + + public void handle(StartConfiguration startConfiguration) throws Exception { + this.configureServer(); + } + + private void configureServer() { + ChannelWrapper ch = this.con.getServer().getCh(); + if (ch.getDecodeProtocol() == Protocol.LOGIN) { + ch.setDecodeProtocol(Protocol.CONFIGURATION); + ch.write((Object)(new LoginAcknowledged())); + ch.setEncodeProtocol(Protocol.CONFIGURATION); + ch.write((Object)BungeeCord.getInstance().registerChannels(this.con.getPendingConnection().getVersion())); + if (this.con.getSettings() != null) { + ch.write((Object)this.con.getSettings()); + } + + if (this.con.getPendingConnection().getBrandMessage() != null) { + ch.write((Object)this.con.getPendingConnection().getBrandMessage()); + } + + this.con.getServer().sendQueuedPackets(); + throw CancelSendSignal.INSTANCE; + } + } + + public void handle(CookieResponse cookieResponse) throws Exception { + this.con.getPendingConnection().handle(cookieResponse); + } + + public void handle(LoginPayloadResponse loginPayloadResponse) throws Exception { + this.con.getPendingConnection().handle(loginPayloadResponse); + } + + public void handle(CustomClickAction customClickAction) throws Exception { + CustomClickEvent event = new CustomClickEvent(this.con, customClickAction.getId(), TagUtil.toJson(customClickAction.getData())); + if (((CustomClickEvent)this.bungee.getPluginManager().callEvent(event)).isCancelled()) { + throw CancelSendSignal.INSTANCE; + } + } + + public String toString() { + String var10000 = String.valueOf(this.con.getAddress()); + return "[" + var10000 + "|" + this.con.getName() + "] -> UpstreamBridge"; + } + + static final class PendingChat { + final ChatEvent chatEvent; + final ServerConnection server; + final DefinedPacket packet; + + PendingChat(ChatEvent chatEvent, ServerConnection server, DefinedPacket packet) { + this.chatEvent = chatEvent; + this.server = server; + this.packet = packet; + } + } + + static final class SerialQueue { + private final Queue entries = new ArrayDeque(); + private boolean active; + + boolean enqueue(T entry) { + Objects.requireNonNull(entry); + if (entry == null) { + return false; + } else { + this.entries.add(entry); + if (this.active) { + return false; + } else { + this.active = true; + return true; + } + } + } + + Optional complete(T expected) { + if (!this.active) { + throw new IllegalStateException("Not active"); + } else if (this.entries.peek() != expected) { + throw new IllegalStateException("Not head"); + } else { + this.entries.poll(); + if (this.entries.isEmpty()) { + this.active = false; + return Optional.empty(); + } else { + return Optional.of(this.entries.peek()); + } + } + } + } +} diff --git a/src/main/java/net/md_5/bungee/event/EventBus.java b/src/main/java/net/md_5/bungee/event/EventBus.java new file mode 100644 index 0000000..bf33696 --- /dev/null +++ b/src/main/java/net/md_5/bungee/event/EventBus.java @@ -0,0 +1,161 @@ +package net.md_5.bungee.event; + +import com.google.common.collect.ImmutableSet; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.text.MessageFormat; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.locks.Lock; +import java.util.concurrent.locks.ReentrantLock; +import java.util.logging.Level; +import java.util.logging.Logger; + +public class EventBus { + private final Map, Map>> byListenerAndPriority; + private final Map, EventHandlerMethod[]> byEventBaked; + private final Lock lock; + private final Logger logger; + + public EventBus() { + this((Logger)null); + } + + public EventBus(Logger logger) { + this.byListenerAndPriority = new HashMap(); + this.byEventBaked = new ConcurrentHashMap(); + this.lock = new ReentrantLock(); + this.logger = logger == null ? Logger.getLogger("global") : logger; + } + + public void post(T event, EventExceptionHandler exceptionHandler) { + EventHandlerMethod[] handlers = (EventHandlerMethod[])this.byEventBaked.get(event.getClass()); + if (handlers != null) { + for(EventHandlerMethod method : handlers) { + long start = System.nanoTime(); + + try { + method.invoke(event); + } catch (IllegalAccessException ex) { + throw new Error("Method became inaccessible: " + String.valueOf(event), ex); + } catch (IllegalArgumentException ex) { + throw new Error("Method rejected target/argument: " + String.valueOf(event), ex); + } catch (InvocationTargetException ex) { + String msg = MessageFormat.format("Error dispatching event {0} to listener {1}", event, method.getListener()); + this.logger.log(Level.WARNING, msg, ex.getCause()); + if (exceptionHandler != null) { + exceptionHandler.handleEventException(msg, event, method, ex); + } + } + + long elapsed = System.nanoTime() - start; + if (elapsed > 50000000L) { + this.logger.log(Level.WARNING, "Plugin listener {0} took {1}ms to process event {2}!", new Object[]{method.getListener().getClass().getName(), elapsed / 1000000L, event}); + } + } + } + + } + + private Map, Map>> findHandlers(Object listener) { + Map, Map>> handler = new HashMap(); + + for(Method m : ImmutableSet.builder().add(listener.getClass().getMethods()).add(listener.getClass().getDeclaredMethods()).build()) { + EventHandler annotation = (EventHandler)m.getAnnotation(EventHandler.class); + if (annotation != null) { + Class[] params = m.getParameterTypes(); + if (params.length != 1) { + this.logger.log(Level.INFO, "Method {0} in class {1} annotated with {2} does not have single argument", new Object[]{m, listener.getClass(), annotation}); + } else { + Map> prioritiesMap = (Map)handler.computeIfAbsent(params[0], (k) -> new HashMap()); + Set priority = (Set)prioritiesMap.computeIfAbsent(annotation.priority(), (k) -> new HashSet()); + priority.add(m); + } + } + } + + return handler; + } + + public void register(Object listener) { + Map, Map>> handler = this.findHandlers(listener); + this.lock.lock(); + + try { + for(Map.Entry, Map>> e : handler.entrySet()) { + Map> prioritiesMap = (Map)this.byListenerAndPriority.computeIfAbsent((Class)e.getKey(), (k) -> new HashMap()); + + for(Map.Entry> entry : e.getValue().entrySet()) { + Map currentPriorityMap = (Map)prioritiesMap.computeIfAbsent((Byte)entry.getKey(), (k) -> new HashMap()); + currentPriorityMap.put(listener, (Method[])((Set)entry.getValue()).toArray(new Method[0])); + } + + this.bakeHandlers((Class)e.getKey()); + } + } finally { + this.lock.unlock(); + } + + } + + public void unregister(Object listener) { + Map, Map>> handler = this.findHandlers(listener); + this.lock.lock(); + + try { + for(Map.Entry, Map>> e : handler.entrySet()) { + Map> prioritiesMap = (Map)this.byListenerAndPriority.get(e.getKey()); + if (prioritiesMap != null) { + for(Byte priority : e.getValue().keySet()) { + Map currentPriority = (Map)prioritiesMap.get(priority); + if (currentPriority != null) { + currentPriority.remove(listener); + if (currentPriority.isEmpty()) { + prioritiesMap.remove(priority); + } + } + } + + if (prioritiesMap.isEmpty()) { + this.byListenerAndPriority.remove(e.getKey()); + } + } + + this.bakeHandlers((Class)e.getKey()); + } + } finally { + this.lock.unlock(); + } + + } + + private void bakeHandlers(Class eventClass) { + Map> handlersByPriority = (Map)this.byListenerAndPriority.get(eventClass); + if (handlersByPriority != null) { + List handlersList = new ArrayList(handlersByPriority.size() * 2); + byte value = -128; + + do { + Map handlersByListener = (Map)handlersByPriority.get(value); + if (handlersByListener != null) { + for(Map.Entry listenerHandlers : handlersByListener.entrySet()) { + for(Method method : (Method[])listenerHandlers.getValue()) { + EventHandlerMethod ehm = new EventHandlerMethod(listenerHandlers.getKey(), method); + handlersList.add(ehm); + } + } + } + } while(value++ < 127); + + this.byEventBaked.put(eventClass, (EventHandlerMethod[])handlersList.toArray(new EventHandlerMethod[0])); + } else { + this.byEventBaked.remove(eventClass); + } + + } +} diff --git a/src/main/java/net/md_5/bungee/event/EventExceptionHandler.java b/src/main/java/net/md_5/bungee/event/EventExceptionHandler.java new file mode 100644 index 0000000..df6f2de --- /dev/null +++ b/src/main/java/net/md_5/bungee/event/EventExceptionHandler.java @@ -0,0 +1,5 @@ +package net.md_5.bungee.event; + +public interface EventExceptionHandler { + void handleEventException(String var1, T var2, EventHandlerMethod var3, Throwable var4); +} diff --git a/src/main/java/net/md_5/bungee/event/EventHandler.java b/src/main/java/net/md_5/bungee/event/EventHandler.java new file mode 100644 index 0000000..a54218a --- /dev/null +++ b/src/main/java/net/md_5/bungee/event/EventHandler.java @@ -0,0 +1,12 @@ +package net.md_5.bungee.event; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target({ElementType.METHOD}) +public @interface EventHandler { + byte priority() default 0; +} diff --git a/src/main/java/net/md_5/bungee/event/EventHandlerMethod.java b/src/main/java/net/md_5/bungee/event/EventHandlerMethod.java new file mode 100644 index 0000000..5d564f8 --- /dev/null +++ b/src/main/java/net/md_5/bungee/event/EventHandlerMethod.java @@ -0,0 +1,30 @@ +package net.md_5.bungee.event; + +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import lombok.Generated; + +public class EventHandlerMethod { + private final Object listener; + private final Method method; + + public void invoke(Object event) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException { + this.method.invoke(this.listener, event); + } + + @Generated + public EventHandlerMethod(Object listener, Method method) { + this.listener = listener; + this.method = method; + } + + @Generated + public Object getListener() { + return this.listener; + } + + @Generated + public Method getMethod() { + return this.method; + } +} diff --git a/src/main/java/net/md_5/bungee/event/EventPriority.java b/src/main/java/net/md_5/bungee/event/EventPriority.java new file mode 100644 index 0000000..87683e6 --- /dev/null +++ b/src/main/java/net/md_5/bungee/event/EventPriority.java @@ -0,0 +1,15 @@ +package net.md_5.bungee.event; + +import lombok.Generated; + +public class EventPriority { + public static final byte LOWEST = -64; + public static final byte LOW = -32; + public static final byte NORMAL = 0; + public static final byte HIGH = 32; + public static final byte HIGHEST = 64; + + @Generated + private EventPriority() { + } +} diff --git a/src/main/java/net/md_5/bungee/forge/ForgeClientHandler.java b/src/main/java/net/md_5/bungee/forge/ForgeClientHandler.java new file mode 100644 index 0000000..dcc3ca7 --- /dev/null +++ b/src/main/java/net/md_5/bungee/forge/ForgeClientHandler.java @@ -0,0 +1,147 @@ +package net.md_5.bungee.forge; + +import com.google.common.base.Preconditions; +import java.util.ArrayDeque; +import java.util.Map; +import lombok.Generated; +import lombok.NonNull; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public class ForgeClientHandler { + protected final @NonNull UserConnection con; + private boolean forgeOutdated = false; + private Map clientModList = null; + private final ArrayDeque packetQueue = new ArrayDeque(); + private @NonNull ForgeClientHandshakeState state; + private PluginMessage serverModList; + private PluginMessage serverIdList; + private boolean fmlTokenInHandshake; + + public void handle(PluginMessage message) throws IllegalArgumentException { + if (!message.getTag().equalsIgnoreCase("FML|HS")) { + throw new IllegalArgumentException("Expecting a Forge Handshake packet."); + } else { + message.setAllowExtendedPacket(true); + ForgeClientHandshakeState prevState = this.state; + Preconditions.checkState(this.packetQueue.size() < 128, "Forge packet queue too big!"); + this.packetQueue.add(message); + this.state = (ForgeClientHandshakeState)this.state.send(message, this.con); + if (this.state != prevState) { + synchronized(this.packetQueue) { + while(!this.packetQueue.isEmpty()) { + ForgeLogger.logClient(ForgeLogger.LogDirection.SENDING, prevState.name(), (PluginMessage)this.packetQueue.getFirst()); + this.con.getForgeServerHandler().receive((PluginMessage)this.packetQueue.removeFirst()); + } + } + } + + } + } + + public void receive(PluginMessage message) throws IllegalArgumentException { + this.state = (ForgeClientHandshakeState)this.state.handle(message, this.con); + } + + public void resetHandshake() { + this.state = ForgeClientHandshakeState.HELLO; + if (this.con.getPendingConnection().getVersion() == 47) { + this.resetAllThePotions(this.con); + } + + this.con.unsafe().sendPacket(ForgeConstants.FML_RESET_HANDSHAKE); + } + + private void resetAllThePotions(UserConnection con) { + con.getPotions().clear(); + } + + public void setServerModList(PluginMessage modList) throws IllegalArgumentException { + if (modList.getTag().equalsIgnoreCase("FML|HS") && modList.getData()[0] == 2) { + this.serverModList = modList; + } else { + throw new IllegalArgumentException("modList"); + } + } + + public void setServerIdList(PluginMessage idList) throws IllegalArgumentException { + if (idList.getTag().equalsIgnoreCase("FML|HS") && idList.getData()[0] == 3) { + this.serverIdList = idList; + } else { + throw new IllegalArgumentException("idList"); + } + } + + public boolean isHandshakeComplete() { + return this.state == ForgeClientHandshakeState.DONE; + } + + public void setHandshakeComplete() { + this.state = ForgeClientHandshakeState.DONE; + } + + public boolean isForgeUser() { + return this.fmlTokenInHandshake || this.clientModList != null; + } + + public boolean checkUserOutdated() { + if (this.forgeOutdated) { + this.con.disconnect(BungeeCord.getInstance().getTranslation("connect_kick_outdated_forge")); + } + + return this.forgeOutdated; + } + + @Generated + public ForgeClientHandler(@NonNull UserConnection con) { + this.state = ForgeClientHandshakeState.HELLO; + this.serverModList = null; + this.serverIdList = null; + this.fmlTokenInHandshake = false; + if (con == null) { + throw new NullPointerException("con is marked non-null but is null"); + } else { + this.con = con; + } + } + + @Generated + public boolean isForgeOutdated() { + return this.forgeOutdated; + } + + @Generated + void setForgeOutdated(boolean forgeOutdated) { + this.forgeOutdated = forgeOutdated; + } + + @Generated + public Map getClientModList() { + return this.clientModList; + } + + @Generated + void setClientModList(Map clientModList) { + this.clientModList = clientModList; + } + + @Generated + void setState(@NonNull ForgeClientHandshakeState state) { + if (state == null) { + throw new NullPointerException("state is marked non-null but is null"); + } else { + this.state = state; + } + } + + @Generated + public boolean isFmlTokenInHandshake() { + return this.fmlTokenInHandshake; + } + + @Generated + public void setFmlTokenInHandshake(boolean fmlTokenInHandshake) { + this.fmlTokenInHandshake = fmlTokenInHandshake; + } +} diff --git a/src/main/java/net/md_5/bungee/forge/ForgeClientHandshakeState.java b/src/main/java/net/md_5/bungee/forge/ForgeClientHandshakeState.java new file mode 100644 index 0000000..e2924da --- /dev/null +++ b/src/main/java/net/md_5/bungee/forge/ForgeClientHandshakeState.java @@ -0,0 +1,124 @@ +package net.md_5.bungee.forge; + +import java.util.Map; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.packet.PluginMessage; + +enum ForgeClientHandshakeState implements IForgeClientPacketHandler { + START { + public ForgeClientHandshakeState handle(PluginMessage message, UserConnection con) { + ForgeLogger.logClient(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + con.unsafe().sendPacket(message); + con.getForgeClientHandler().setState(HELLO); + return HELLO; + } + + public ForgeClientHandshakeState send(PluginMessage message, UserConnection con) { + return HELLO; + } + }, + HELLO { + public ForgeClientHandshakeState handle(PluginMessage message, UserConnection con) { + ForgeLogger.logClient(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + if (message.getData()[0] == 0) { + con.unsafe().sendPacket(message); + } + + return this; + } + + public ForgeClientHandshakeState send(PluginMessage message, UserConnection con) { + if (message.getData()[0] == 1) { + return this; + } else if (message.getData()[0] == 2) { + if (con.getForgeClientHandler().getClientModList() == null) { + Map clientModList = ForgeUtils.readModList(message); + con.getForgeClientHandler().setClientModList(clientModList); + if (ProtocolConstants.isBeforeOrEq(con.getPendingConnection().getVersion(), 5)) { + int buildNumber = ForgeUtils.getFmlBuildNumber(clientModList); + if (buildNumber < 1209 && buildNumber != 0) { + con.getForgeClientHandler().setForgeOutdated(true); + } + } + } + + return WAITINGSERVERDATA; + } else { + return this; + } + } + }, + WAITINGSERVERDATA { + public ForgeClientHandshakeState handle(PluginMessage message, UserConnection con) { + ForgeLogger.logClient(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + if (message.getData()[0] == 2) { + con.unsafe().sendPacket(message); + } + + return this; + } + + public ForgeClientHandshakeState send(PluginMessage message, UserConnection con) { + return WAITINGSERVERCOMPLETE; + } + }, + WAITINGSERVERCOMPLETE { + public ForgeClientHandshakeState handle(PluginMessage message, UserConnection con) { + ForgeLogger.logClient(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + if (message.getData()[0] == 3) { + con.unsafe().sendPacket(message); + return this; + } else { + con.unsafe().sendPacket(message); + return this; + } + } + + public ForgeClientHandshakeState send(PluginMessage message, UserConnection con) { + return PENDINGCOMPLETE; + } + }, + PENDINGCOMPLETE { + public ForgeClientHandshakeState handle(PluginMessage message, UserConnection con) { + if (message.getData()[0] == -1) { + ForgeLogger.logClient(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + con.unsafe().sendPacket(message); + } + + return this; + } + + public ForgeClientHandshakeState send(PluginMessage message, UserConnection con) { + return COMPLETE; + } + }, + COMPLETE { + public ForgeClientHandshakeState handle(PluginMessage message, UserConnection con) { + if (message.getTag().equals("FML|HS") && message.getData()[0] == -1 || message.getTag().equals("FORGE")) { + ForgeLogger.logClient(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + con.unsafe().sendPacket(message); + } + + return this; + } + + public ForgeClientHandshakeState send(PluginMessage message, UserConnection con) { + return DONE; + } + }, + DONE { + public ForgeClientHandshakeState handle(PluginMessage message, UserConnection con) { + ForgeLogger.logClient(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + if (message.getTag().equals("FORGE")) { + con.unsafe().sendPacket(message); + } + + return this; + } + + public ForgeClientHandshakeState send(PluginMessage message, UserConnection con) { + return this; + } + }; +} diff --git a/src/main/java/net/md_5/bungee/forge/ForgeConstants.java b/src/main/java/net/md_5/bungee/forge/ForgeConstants.java new file mode 100644 index 0000000..47cb66e --- /dev/null +++ b/src/main/java/net/md_5/bungee/forge/ForgeConstants.java @@ -0,0 +1,25 @@ +package net.md_5.bungee.forge; + +import java.util.regex.Pattern; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public class ForgeConstants { + public static final String FORGE_REGISTER = "FORGE"; + public static final String FML_TAG = "FML"; + public static final String FML_HANDSHAKE_TAG = "FML|HS"; + public static final String FML_REGISTER = "REGISTER"; + public static final String FML_LOGIN_PROFILE = "forgeClient"; + public static final String EXTRA_DATA = "extraData"; + public static final String FML_HANDSHAKE_TOKEN = "\u0000FML\u0000"; + public static final String MODERN_FML_HANDSHAKE_TOKEN = "\u0000FML2\u0000"; + public static final String MODERN_FML_NET_3 = "\u0000FML3\u0000"; + public static final PluginMessage MODERN_FML_RESET = new PluginMessage("lightfall:reset", new byte[]{0, 0}, true); + public static final Pattern FORGE_1_20_4_TOKEN = Pattern.compile("\\x00FORGE\\d*(\\x00|$)"); + public static final PluginMessage FML_RESET_HANDSHAKE = new PluginMessage("FML|HS", new byte[]{-2, 0}, false); + public static final PluginMessage FML_ACK = new PluginMessage("FML|HS", new byte[]{-1, 0}, false); + public static final PluginMessage FML_START_CLIENT_HANDSHAKE = new PluginMessage("FML|HS", new byte[]{0, 1}, false); + public static final PluginMessage FML_START_SERVER_HANDSHAKE = new PluginMessage("FML|HS", new byte[]{1, 1}, false); + public static final PluginMessage FML_EMPTY_MOD_LIST = new PluginMessage("FML|HS", new byte[]{2, 0}, false); + public static final int FML_MIN_BUILD_VERSION = 1209; + public static final Pattern FML_HANDSHAKE_VERSION_REGEX = Pattern.compile("(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)"); +} diff --git a/src/main/java/net/md_5/bungee/forge/ForgeLogger.java b/src/main/java/net/md_5/bungee/forge/ForgeLogger.java new file mode 100644 index 0000000..52e1ab1 --- /dev/null +++ b/src/main/java/net/md_5/bungee/forge/ForgeLogger.java @@ -0,0 +1,72 @@ +package net.md_5.bungee.forge; + +import java.util.logging.Level; +import lombok.Generated; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.protocol.packet.PluginMessage; + +final class ForgeLogger { + static void logServer(LogDirection direction, String stateName, PluginMessage message) { + String dir = direction == ForgeLogger.LogDirection.SENDING ? "Server -> Bungee" : "Server <- Bungee"; + String log = "[" + stateName + " " + dir + "][" + direction.name() + ": " + getNameFromDiscriminator(message.getTag(), message) + "]"; + BungeeCord.getInstance().getLogger().log(Level.FINE, log); + } + + static void logClient(LogDirection direction, String stateName, PluginMessage message) { + String dir = direction == ForgeLogger.LogDirection.SENDING ? "Client -> Bungee" : "Client <- Bungee"; + String log = "[" + stateName + " " + dir + "][" + direction.name() + ": " + getNameFromDiscriminator(message.getTag(), message) + "]"; + BungeeCord.getInstance().getLogger().log(Level.FINE, log); + } + + private static String getNameFromDiscriminator(String channel, PluginMessage message) { + byte discrim = message.getData()[0]; + if (channel.equals("FML|HS")) { + switch (discrim) { + case -2 -> { + return "Reset"; + } + case -1 -> { + return "HandshakeAck"; + } + case 0 -> { + return "ServerHello"; + } + case 1 -> { + return "ClientHello"; + } + case 2 -> { + return "ModList"; + } + case 3 -> { + return "ModIdData"; + } + default -> { + return "Unknown"; + } + } + } else if (channel.equals("FORGE")) { + switch (discrim) { + case 1 -> { + return "DimensionRegister"; + } + case 2 -> { + return "FluidIdMap"; + } + default -> { + return "Unknown"; + } + } + } else { + return "UnknownChannel"; + } + } + + @Generated + private ForgeLogger() { + } + + public static enum LogDirection { + SENDING, + RECEIVED; + } +} diff --git a/src/main/java/net/md_5/bungee/forge/ForgeServerHandler.java b/src/main/java/net/md_5/bungee/forge/ForgeServerHandler.java new file mode 100644 index 0000000..dde8fb0 --- /dev/null +++ b/src/main/java/net/md_5/bungee/forge/ForgeServerHandler.java @@ -0,0 +1,75 @@ +package net.md_5.bungee.forge; + +import java.util.ArrayDeque; +import lombok.Generated; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public class ForgeServerHandler { + private final UserConnection con; + private final ChannelWrapper ch; + private final ServerInfo serverInfo; + private ForgeServerHandshakeState state; + private boolean serverForge; + private final ArrayDeque packetQueue; + + public void handle(PluginMessage message) throws IllegalArgumentException { + if (!message.getTag().equalsIgnoreCase("FML|HS") && !message.getTag().equalsIgnoreCase("FORGE")) { + throw new IllegalArgumentException("Expecting a Forge REGISTER or FML Handshake packet."); + } else { + message.setAllowExtendedPacket(true); + ForgeServerHandshakeState prevState = this.state; + this.packetQueue.add(message); + this.state = (ForgeServerHandshakeState)this.state.send(message, this.con); + if (this.state == ForgeServerHandshakeState.DONE || this.state != prevState) { + synchronized(this.packetQueue) { + while(!this.packetQueue.isEmpty()) { + ForgeLogger.logServer(ForgeLogger.LogDirection.SENDING, prevState.name(), (PluginMessage)this.packetQueue.getFirst()); + this.con.getForgeClientHandler().receive((PluginMessage)this.packetQueue.removeFirst()); + } + } + } + + } + } + + public void receive(PluginMessage message) throws IllegalArgumentException { + this.state = (ForgeServerHandshakeState)this.state.handle(message, this.ch); + } + + public void setServerAsForgeServer() { + this.serverForge = true; + } + + @Generated + public ForgeServerHandler(UserConnection con, ChannelWrapper ch, ServerInfo serverInfo) { + this.state = ForgeServerHandshakeState.START; + this.serverForge = false; + this.packetQueue = new ArrayDeque(); + this.con = con; + this.ch = ch; + this.serverInfo = serverInfo; + } + + @Generated + public ChannelWrapper getCh() { + return this.ch; + } + + @Generated + ServerInfo getServerInfo() { + return this.serverInfo; + } + + @Generated + public ForgeServerHandshakeState getState() { + return this.state; + } + + @Generated + public boolean isServerForge() { + return this.serverForge; + } +} diff --git a/src/main/java/net/md_5/bungee/forge/ForgeServerHandshakeState.java b/src/main/java/net/md_5/bungee/forge/ForgeServerHandshakeState.java new file mode 100644 index 0000000..264a3c2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/forge/ForgeServerHandshakeState.java @@ -0,0 +1,77 @@ +package net.md_5.bungee.forge; + +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public enum ForgeServerHandshakeState implements IForgeServerPacketHandler { + START { + public ForgeServerHandshakeState handle(PluginMessage message, ChannelWrapper ch) { + ForgeLogger.logServer(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + ch.write((Object)message); + return this; + } + + public ForgeServerHandshakeState send(PluginMessage message, UserConnection con) { + return HELLO; + } + }, + HELLO { + public ForgeServerHandshakeState handle(PluginMessage message, ChannelWrapper ch) { + ForgeLogger.logServer(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + if (message.getData()[0] == 1) { + ch.write((Object)message); + } + + if (message.getData()[0] == 2) { + ch.write((Object)message); + } + + return this; + } + + public ForgeServerHandshakeState send(PluginMessage message, UserConnection con) { + return WAITINGCACK; + } + }, + WAITINGCACK { + public ForgeServerHandshakeState handle(PluginMessage message, ChannelWrapper ch) { + ForgeLogger.logServer(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + ch.write((Object)message); + return this; + } + + public ForgeServerHandshakeState send(PluginMessage message, UserConnection con) { + if (message.getData()[0] == 3 && message.getTag().equals("FML|HS")) { + con.getForgeClientHandler().setServerIdList(message); + return this; + } else if (message.getData()[0] == -1 && message.getTag().equals("FML|HS")) { + return this; + } else { + return (ForgeServerHandshakeState)(message.getTag().equals("FORGE") ? COMPLETE : this); + } + } + }, + COMPLETE { + public ForgeServerHandshakeState handle(PluginMessage message, ChannelWrapper ch) { + ForgeLogger.logServer(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + ch.write((Object)message); + return this; + } + + public ForgeServerHandshakeState send(PluginMessage message, UserConnection con) { + return DONE; + } + }, + DONE { + public ForgeServerHandshakeState handle(PluginMessage message, ChannelWrapper ch) { + ForgeLogger.logServer(ForgeLogger.LogDirection.RECEIVED, this.name(), message); + ch.write((Object)message); + return this; + } + + public ForgeServerHandshakeState send(PluginMessage message, UserConnection con) { + return this; + } + }; +} diff --git a/src/main/java/net/md_5/bungee/forge/ForgeUtils.java b/src/main/java/net/md_5/bungee/forge/ForgeUtils.java new file mode 100644 index 0000000..e31ddf8 --- /dev/null +++ b/src/main/java/net/md_5/bungee/forge/ForgeUtils.java @@ -0,0 +1,61 @@ +package net.md_5.bungee.forge; + +import com.google.common.collect.ImmutableSet; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.Unpooled; +import java.nio.charset.StandardCharsets; +import java.util.HashMap; +import java.util.Map; +import java.util.Set; +import java.util.regex.Matcher; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public class ForgeUtils { + public static Set readRegisteredChannels(PluginMessage pluginMessage) { + String channels = new String(pluginMessage.getData(), StandardCharsets.UTF_8); + String[] split = channels.split("\u0000"); + Set channelSet = ImmutableSet.copyOf(split); + return channelSet; + } + + public static Map readModList(PluginMessage pluginMessage) { + Map modTags = new HashMap(); + ByteBuf payload = Unpooled.wrappedBuffer(pluginMessage.getData()); + + try { + byte discriminator = payload.readByte(); + if (discriminator == 2) { + ByteBuf buffer = payload.slice(); + int modCount = DefinedPacket.readVarInt(buffer, 2); + + for(int i = 0; i < modCount; ++i) { + modTags.put(DefinedPacket.readString(buffer), DefinedPacket.readString(buffer)); + } + } + } finally { + payload.release(); + } + + return modTags; + } + + public static int getFmlBuildNumber(Map modList) { + if (modList.containsKey("FML")) { + String fmlVersion = (String)modList.get("FML"); + if (fmlVersion.equals("7.10.99.99")) { + Matcher matcher = ForgeConstants.FML_HANDSHAKE_VERSION_REGEX.matcher((CharSequence)modList.get("Forge")); + if (matcher.find()) { + return Integer.parseInt(matcher.group(4)); + } + } else { + Matcher matcher = ForgeConstants.FML_HANDSHAKE_VERSION_REGEX.matcher(fmlVersion); + if (matcher.find()) { + return Integer.parseInt(matcher.group(4)); + } + } + } + + return 0; + } +} diff --git a/src/main/java/net/md_5/bungee/forge/IForgeClientPacketHandler.java b/src/main/java/net/md_5/bungee/forge/IForgeClientPacketHandler.java new file mode 100644 index 0000000..eaca1fd --- /dev/null +++ b/src/main/java/net/md_5/bungee/forge/IForgeClientPacketHandler.java @@ -0,0 +1,10 @@ +package net.md_5.bungee.forge; + +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public interface IForgeClientPacketHandler { + S handle(PluginMessage var1, UserConnection var2); + + S send(PluginMessage var1, UserConnection var2); +} diff --git a/src/main/java/net/md_5/bungee/forge/IForgeServerPacketHandler.java b/src/main/java/net/md_5/bungee/forge/IForgeServerPacketHandler.java new file mode 100644 index 0000000..cfffa65 --- /dev/null +++ b/src/main/java/net/md_5/bungee/forge/IForgeServerPacketHandler.java @@ -0,0 +1,11 @@ +package net.md_5.bungee.forge; + +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.netty.ChannelWrapper; +import net.md_5.bungee.protocol.packet.PluginMessage; + +public interface IForgeServerPacketHandler { + S handle(PluginMessage var1, ChannelWrapper var2); + + S send(PluginMessage var1, UserConnection var2); +} diff --git a/src/main/java/net/md_5/bungee/http/HttpClient.java b/src/main/java/net/md_5/bungee/http/HttpClient.java new file mode 100644 index 0000000..f4e3eaa --- /dev/null +++ b/src/main/java/net/md_5/bungee/http/HttpClient.java @@ -0,0 +1,103 @@ +package net.md_5.bungee.http; + +import com.google.common.base.Preconditions; +import com.google.common.cache.Cache; +import com.google.common.cache.CacheBuilder; +import io.netty.bootstrap.Bootstrap; +import io.netty.channel.ChannelFuture; +import io.netty.channel.ChannelFutureListener; +import io.netty.channel.ChannelOption; +import io.netty.channel.EventLoop; +import io.netty.handler.codec.http.DefaultHttpRequest; +import io.netty.handler.codec.http.HttpHeaderNames; +import io.netty.handler.codec.http.HttpMethod; +import io.netty.handler.codec.http.HttpRequest; +import io.netty.handler.codec.http.HttpVersion; +import io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider; +import io.netty.resolver.dns.DnsAddressResolverGroup; +import java.net.InetAddress; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.net.URI; +import java.net.UnknownHostException; +import java.util.concurrent.TimeUnit; +import lombok.Generated; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.netty.PipelineUtils; + +public class HttpClient { + public static final int TIMEOUT = 5000; + private static final Cache addressCache; + private static final DnsAddressResolverGroup dnsResolverGroup; + + public static void get(String url, EventLoop eventLoop, final Callback callback) { + Preconditions.checkNotNull(url, "url"); + Preconditions.checkNotNull(eventLoop, "eventLoop"); + Preconditions.checkNotNull(callback, "callBack"); + final URI uri = URI.create(url); + Preconditions.checkNotNull(uri.getScheme(), "scheme"); + Preconditions.checkNotNull(uri.getHost(), "host"); + boolean ssl = uri.getScheme().equals("https"); + int port = uri.getPort(); + if (port == -1) { + switch (uri.getScheme()) { + case "http" -> port = 80; + case "https" -> port = 443; + default -> throw new IllegalArgumentException("Unknown scheme " + uri.getScheme()); + } + } + + ChannelFutureListener future = new ChannelFutureListener() { + public void operationComplete(ChannelFuture future) throws Exception { + if (future.isSuccess()) { + String var10000 = uri.getRawPath(); + String path = var10000 + (uri.getRawQuery() == null ? "" : "?" + uri.getRawQuery()); + HttpRequest request = new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, path); + request.headers().set(HttpHeaderNames.HOST, uri.getHost()); + future.channel().writeAndFlush(request); + } else { + HttpClient.addressCache.invalidate(uri.getHost()); + callback.done(null, future.cause()); + } + + } + }; + if (ProxyServer.getInstance().getConfig().isUseNettyDnsResolver()) { + getWithNettyResolver(eventLoop, uri, port, future, callback, ssl); + } else { + getWithDefaultResolver(eventLoop, uri, port, future, callback, ssl); + } + + } + + private static void getWithNettyResolver(EventLoop eventLoop, URI uri, int port, ChannelFutureListener future, Callback callback, boolean ssl) { + InetSocketAddress address = InetSocketAddress.createUnresolved(uri.getHost(), port); + ((Bootstrap)((Bootstrap)((Bootstrap)((Bootstrap)(new Bootstrap()).channelFactory(PipelineUtils.getChannelFactory((SocketAddress)null))).group(eventLoop)).handler(new HttpInitializer(callback, ssl, uri.getHost(), port))).option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 5000)).resolver(dnsResolverGroup).remoteAddress(address).connect().addListener(future); + } + + private static void getWithDefaultResolver(EventLoop eventLoop, URI uri, int port, ChannelFutureListener future, Callback callback, boolean ssl) { + InetAddress inetHost = (InetAddress)addressCache.getIfPresent(uri.getHost()); + if (inetHost == null) { + try { + inetHost = InetAddress.getByName(uri.getHost()); + } catch (UnknownHostException ex) { + callback.done(null, ex); + return; + } + + addressCache.put(uri.getHost(), inetHost); + } + + ((Bootstrap)((Bootstrap)((Bootstrap)((Bootstrap)(new Bootstrap()).channelFactory(PipelineUtils.getChannelFactory((SocketAddress)null))).group(eventLoop)).handler(new HttpInitializer(callback, ssl, uri.getHost(), port))).option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 5000)).remoteAddress(inetHost, port).connect().addListener(future); + } + + @Generated + private HttpClient() { + } + + static { + addressCache = CacheBuilder.newBuilder().expireAfterWrite(1L, TimeUnit.MINUTES).build(); + dnsResolverGroup = new DnsAddressResolverGroup(PipelineUtils.getDatagramChannel(), DefaultDnsServerAddressStreamProvider.INSTANCE); + } +} diff --git a/src/main/java/net/md_5/bungee/http/HttpHandler.java b/src/main/java/net/md_5/bungee/http/HttpHandler.java new file mode 100644 index 0000000..0331e31 --- /dev/null +++ b/src/main/java/net/md_5/bungee/http/HttpHandler.java @@ -0,0 +1,70 @@ +package net.md_5.bungee.http; + +import dev._2lstudios.flamecord.FlameCord; +import io.netty.channel.ChannelHandlerContext; +import io.netty.channel.SimpleChannelInboundHandler; +import io.netty.handler.codec.http.HttpContent; +import io.netty.handler.codec.http.HttpObject; +import io.netty.handler.codec.http.HttpResponse; +import io.netty.handler.codec.http.HttpResponseStatus; +import io.netty.handler.codec.http.LastHttpContent; +import java.nio.charset.Charset; +import lombok.Generated; +import net.md_5.bungee.api.Callback; + +public class HttpHandler extends SimpleChannelInboundHandler { + private final Callback callback; + private final StringBuilder buffer = new StringBuilder(640); + + public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { + String reason = cause.getClass().getSimpleName(); + if (FlameCord.getInstance().getFlameCordConfiguration().getAntibotFirewalledExceptions().contains(reason)) { + FlameCord.getInstance().getAddressDataManager().getAddressData(ctx.channel().remoteAddress()).firewall(reason); + } + + try { + this.callback.done(null, cause); + } finally { + ctx.channel().pipeline().remove(this); + ctx.channel().close(); + } + + } + + protected void channelRead0(ChannelHandlerContext ctx, HttpObject msg) throws Exception { + if (msg instanceof HttpResponse response) { + int responseCode = response.status().code(); + if (responseCode == HttpResponseStatus.NO_CONTENT.code()) { + this.done(ctx); + return; + } + + if (responseCode != HttpResponseStatus.OK.code()) { + throw new IllegalStateException("Expected HTTP response 200 OK, got " + String.valueOf(response.status())); + } + } + + if (msg instanceof HttpContent content) { + this.buffer.append(content.content().toString(Charset.forName("UTF-8"))); + if (msg instanceof LastHttpContent) { + this.done(ctx); + } + } + + } + + private void done(ChannelHandlerContext ctx) { + try { + this.callback.done(this.buffer.toString(), (Throwable)null); + } finally { + ctx.channel().pipeline().remove(this); + ctx.channel().close(); + } + + } + + @Generated + public HttpHandler(Callback callback) { + this.callback = callback; + } +} diff --git a/src/main/java/net/md_5/bungee/http/HttpInitializer.java b/src/main/java/net/md_5/bungee/http/HttpInitializer.java new file mode 100644 index 0000000..41ebb03 --- /dev/null +++ b/src/main/java/net/md_5/bungee/http/HttpInitializer.java @@ -0,0 +1,38 @@ +package net.md_5.bungee.http; + +import io.netty.channel.Channel; +import io.netty.channel.ChannelInitializer; +import io.netty.handler.codec.http.HttpClientCodec; +import io.netty.handler.ssl.SslContextBuilder; +import io.netty.handler.ssl.SslHandler; +import io.netty.handler.timeout.ReadTimeoutHandler; +import java.util.concurrent.TimeUnit; +import javax.net.ssl.SSLEngine; +import lombok.Generated; +import net.md_5.bungee.api.Callback; + +public class HttpInitializer extends ChannelInitializer { + private final Callback callback; + private final boolean ssl; + private final String host; + private final int port; + + protected void initChannel(Channel ch) throws Exception { + ch.pipeline().addLast("timeout", new ReadTimeoutHandler(5000L, TimeUnit.MILLISECONDS)); + if (this.ssl) { + SSLEngine engine = SslContextBuilder.forClient().build().newEngine(ch.alloc(), this.host, this.port); + ch.pipeline().addLast("ssl", new SslHandler(engine)); + } + + ch.pipeline().addLast("http", new HttpClientCodec()); + ch.pipeline().addLast("handler", new HttpHandler(this.callback)); + } + + @Generated + public HttpInitializer(Callback callback, boolean ssl, String host, int port) { + this.callback = callback; + this.ssl = ssl; + this.host = host; + this.port = port; + } +} diff --git a/src/main/java/net/md_5/bungee/jni/NativeCode.java b/src/main/java/net/md_5/bungee/jni/NativeCode.java new file mode 100644 index 0000000..4271b3c --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/NativeCode.java @@ -0,0 +1,141 @@ +package net.md_5.bungee.jni; + +import com.google.common.io.ByteStreams; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.Unpooled; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.util.function.Supplier; +import net.md_5.bungee.jni.cipher.BungeeCipher; + +public final class NativeCode { + private final String name; + private final Supplier javaImpl; + private final Supplier nativeImpl; + private final boolean enableNativeFlag; + private final boolean extendedSupportCheck; + private boolean loaded; + + public NativeCode(String name, Supplier javaImpl, Supplier nativeImpl) { + this(name, javaImpl, nativeImpl, false); + } + + public NativeCode(String name, Supplier javaImpl, Supplier nativeImpl, boolean extendedSupportCheck) { + this(name, javaImpl, nativeImpl, extendedSupportCheck, true); + } + + public NativeCode(String name, Supplier javaImpl, Supplier nativeImpl, boolean extendedSupportCheck, boolean defaultEnabled) { + this.name = name; + this.javaImpl = javaImpl; + this.nativeImpl = nativeImpl; + this.enableNativeFlag = Boolean.parseBoolean(System.getProperty("net.md_5.bungee.jni." + name + ".enable", String.valueOf(defaultEnabled))); + this.extendedSupportCheck = extendedSupportCheck; + } + + public T newInstance() { + return (T)(this.loaded ? this.nativeImpl.get() : this.javaImpl.get()); + } + + public boolean load() { + if (this.enableNativeFlag && !this.loaded && isSupported()) { + String var10000 = this.name; + String name = var10000 + (isAarch64() ? "-arm" : ""); + String fullName = "bungeecord-" + name; + + try { + System.loadLibrary(fullName); + this.loaded = true; + } catch (Throwable var11) { + } + + if (!this.loaded) { + try { + InputStream soFile = BungeeCipher.class.getClassLoader().getResourceAsStream(name + ".so"); + + try { + File temp = File.createTempFile(fullName, ".so"); + temp.deleteOnExit(); + OutputStream outputStream = new FileOutputStream(temp); + + try { + ByteStreams.copy(soFile, outputStream); + } catch (Throwable var10) { + try { + outputStream.close(); + } catch (Throwable var9) { + var10.addSuppressed(var9); + } + + throw var10; + } + + outputStream.close(); + System.load(temp.getPath()); + if (this.extendedSupportCheck) { + this.nativeImpl.get(); + } + + this.loaded = true; + } catch (Throwable var12) { + if (soFile != null) { + try { + soFile.close(); + } catch (Throwable var8) { + var12.addSuppressed(var8); + } + } + + throw var12; + } + + if (soFile != null) { + soFile.close(); + } + } catch (IOException var13) { + } catch (UnsatisfiedLinkError ex) { + System.out.println("Could not load native library: " + ex.getMessage()); + } catch (NativeCodeException ex) { + System.out.println("Native library " + name + " is incompatible: " + ex.getMessage()); + } + } + } + + return this.loaded; + } + + public static boolean hasDirectBuffers() { + ByteBuf directBuffer = null; + boolean hasMemoryAddress = false; + + try { + directBuffer = Unpooled.directBuffer(); + hasMemoryAddress = directBuffer.hasMemoryAddress(); + } finally { + if (directBuffer != null) { + directBuffer.release(); + } + + } + + return hasMemoryAddress; + } + + public static boolean isSupported() { + return isSupportedPlatformAndArch() && hasDirectBuffers(); + } + + private static boolean isSupportedPlatformAndArch() { + return "Linux".equals(System.getProperty("os.name")) && (isAmd64() || isAarch64()); + } + + private static boolean isAmd64() { + return "amd64".equals(System.getProperty("os.arch")); + } + + private static boolean isAarch64() { + return "aarch64".equals(System.getProperty("os.arch")); + } +} diff --git a/src/main/java/net/md_5/bungee/jni/NativeCodeException.java b/src/main/java/net/md_5/bungee/jni/NativeCodeException.java new file mode 100644 index 0000000..c5e5bae --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/NativeCodeException.java @@ -0,0 +1,11 @@ +package net.md_5.bungee.jni; + +public class NativeCodeException extends RuntimeException { + public NativeCodeException(String message, int reason) { + super(message + " : " + reason); + } + + public NativeCodeException(String message) { + super(message); + } +} diff --git a/src/main/java/net/md_5/bungee/jni/cipher/BungeeCipher.java b/src/main/java/net/md_5/bungee/jni/cipher/BungeeCipher.java new file mode 100644 index 0000000..c45a5da --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/cipher/BungeeCipher.java @@ -0,0 +1,18 @@ +package net.md_5.bungee.jni.cipher; + +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import java.security.GeneralSecurityException; +import javax.crypto.SecretKey; + +public interface BungeeCipher { + void init(boolean var1, SecretKey var2) throws GeneralSecurityException; + + void free(); + + void cipher(ByteBuf var1, ByteBuf var2) throws GeneralSecurityException; + + ByteBuf cipher(ChannelHandlerContext var1, ByteBuf var2) throws GeneralSecurityException; + + boolean allowComposite(); +} diff --git a/src/main/java/net/md_5/bungee/jni/cipher/JavaCipher.java b/src/main/java/net/md_5/bungee/jni/cipher/JavaCipher.java new file mode 100644 index 0000000..2945262 --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/cipher/JavaCipher.java @@ -0,0 +1,88 @@ +package net.md_5.bungee.jni.cipher; + +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import io.netty.util.concurrent.FastThreadLocal; +import java.security.GeneralSecurityException; +import javax.crypto.Cipher; +import javax.crypto.SecretKey; +import javax.crypto.ShortBufferException; +import javax.crypto.spec.IvParameterSpec; + +public class JavaCipher implements BungeeCipher { + private final Cipher cipher; + private static final FastThreadLocal heapInLocal = new EmptyByteThreadLocal(); + private static final FastThreadLocal heapOutLocal = new EmptyByteThreadLocal(); + + public JavaCipher() { + try { + this.cipher = Cipher.getInstance("AES/CFB8/NoPadding"); + } catch (GeneralSecurityException ex) { + throw new RuntimeException(ex); + } + } + + public void init(boolean forEncryption, SecretKey key) throws GeneralSecurityException { + int mode = forEncryption ? 1 : 2; + this.cipher.init(mode, key, new IvParameterSpec(key.getEncoded())); + } + + public void cipher(ByteBuf in, ByteBuf out) throws ShortBufferException { + int readableBytes = in.readableBytes(); + byte[] heapIn = this.bufToByte(in); + byte[] heapOut = (byte[])heapOutLocal.get(); + int outputSize = this.cipher.getOutputSize(readableBytes); + if (heapOut.length < outputSize) { + heapOut = new byte[outputSize]; + heapOutLocal.set(heapOut); + } + + out.writeBytes(heapOut, 0, this.cipher.update(heapIn, 0, readableBytes, heapOut)); + } + + public ByteBuf cipher(ChannelHandlerContext ctx, ByteBuf in) throws ShortBufferException { + int readableBytes = in.readableBytes(); + byte[] heapIn = this.bufToByte(in); + int outputSize = this.cipher.getOutputSize(readableBytes); + byte[] heapOut = (byte[])heapOutLocal.get(); + if (heapOut.length < outputSize) { + heapOut = new byte[outputSize]; + heapOutLocal.set(heapOut); + } + + ByteBuf out = ctx.alloc().directBuffer(outputSize); + + try { + out.writeBytes(heapOut, 0, this.cipher.update(heapIn, 0, readableBytes, heapOut)); + return out; + } catch (Throwable t) { + out.release(); + throw t; + } + } + + public void free() { + } + + private byte[] bufToByte(ByteBuf in) { + byte[] heapIn = (byte[])heapInLocal.get(); + int readableBytes = in.readableBytes(); + if (heapIn.length < readableBytes) { + heapIn = new byte[readableBytes]; + heapInLocal.set(heapIn); + } + + in.readBytes(heapIn, 0, readableBytes); + return heapIn; + } + + public boolean allowComposite() { + return true; + } + + private static class EmptyByteThreadLocal extends FastThreadLocal { + protected byte[] initialValue() { + return new byte[0]; + } + } +} diff --git a/src/main/java/net/md_5/bungee/jni/cipher/NativeCipher.java b/src/main/java/net/md_5/bungee/jni/cipher/NativeCipher.java new file mode 100644 index 0000000..1dbf716 --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/cipher/NativeCipher.java @@ -0,0 +1,52 @@ +package net.md_5.bungee.jni.cipher; + +import com.google.common.base.Preconditions; +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import java.security.GeneralSecurityException; +import javax.crypto.SecretKey; +import lombok.Generated; + +public class NativeCipher implements BungeeCipher { + private final NativeCipherImpl nativeCipher = new NativeCipherImpl(); + private long ctx; + + public void init(boolean forEncryption, SecretKey key) throws GeneralSecurityException { + Preconditions.checkArgument(key.getEncoded().length == 16, "Invalid key size"); + this.free(); + this.ctx = this.nativeCipher.init(forEncryption, key.getEncoded()); + } + + public void free() { + if (this.ctx != 0L) { + this.nativeCipher.free(this.ctx); + this.ctx = 0L; + } + + } + + public void cipher(ByteBuf in, ByteBuf out) throws GeneralSecurityException { + Preconditions.checkState(this.ctx != 0L, "Invalid pointer to AES key!"); + int length = in.readableBytes(); + if (length > 0) { + out.ensureWritable(length); + this.nativeCipher.cipher(this.ctx, in.memoryAddress() + (long)in.readerIndex(), out.memoryAddress() + (long)out.writerIndex(), length); + in.readerIndex(in.writerIndex()); + out.writerIndex(out.writerIndex() + length); + } + } + + public ByteBuf cipher(ChannelHandlerContext ctx, ByteBuf in) throws GeneralSecurityException { + this.cipher(in, in); + return in.retain(); + } + + public boolean allowComposite() { + return false; + } + + @Generated + public NativeCipherImpl getNativeCipher() { + return this.nativeCipher; + } +} diff --git a/src/main/java/net/md_5/bungee/jni/cipher/NativeCipherImpl.java b/src/main/java/net/md_5/bungee/jni/cipher/NativeCipherImpl.java new file mode 100644 index 0000000..2df5feb --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/cipher/NativeCipherImpl.java @@ -0,0 +1,9 @@ +package net.md_5.bungee.jni.cipher; + +class NativeCipherImpl { + native long init(boolean var1, byte[] var2); + + native void free(long var1); + + native void cipher(long var1, long var3, long var5, int var7); +} diff --git a/src/main/java/net/md_5/bungee/jni/zlib/BungeeZlib.java b/src/main/java/net/md_5/bungee/jni/zlib/BungeeZlib.java new file mode 100644 index 0000000..93e32a0 --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/zlib/BungeeZlib.java @@ -0,0 +1,16 @@ +package net.md_5.bungee.jni.zlib; + +import io.netty.buffer.ByteBuf; +import java.util.zip.DataFormatException; + +public interface BungeeZlib { + int OUTPUT_BUFFER_SIZE = 8192; + + void init(boolean var1, int var2); + + void free(); + + void process(ByteBuf var1, ByteBuf var2) throws DataFormatException; + + boolean allowComposite(); +} diff --git a/src/main/java/net/md_5/bungee/jni/zlib/JavaZlib.java b/src/main/java/net/md_5/bungee/jni/zlib/JavaZlib.java new file mode 100644 index 0000000..9f6a938 --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/zlib/JavaZlib.java @@ -0,0 +1,65 @@ +package net.md_5.bungee.jni.zlib; + +import io.netty.buffer.ByteBuf; +import java.util.zip.DataFormatException; +import java.util.zip.Deflater; +import java.util.zip.Inflater; + +public class JavaZlib implements BungeeZlib { + private final byte[] buffer = new byte[8192]; + private boolean compress; + private Deflater deflater; + private Inflater inflater; + + public void init(boolean compress, int level) { + this.compress = compress; + this.free(); + if (compress) { + this.deflater = new Deflater(level); + } else { + this.inflater = new Inflater(); + } + + } + + public void free() { + if (this.deflater != null) { + this.deflater.end(); + } + + if (this.inflater != null) { + this.inflater.end(); + } + + } + + public void process(ByteBuf in, ByteBuf out) throws DataFormatException { + byte[] inData = new byte[in.readableBytes()]; + in.readBytes(inData); + if (this.compress) { + this.deflater.setInput(inData); + this.deflater.finish(); + + while(!this.deflater.finished()) { + int count = this.deflater.deflate(this.buffer); + out.writeBytes(this.buffer, 0, count); + } + + this.deflater.reset(); + } else { + this.inflater.setInput(inData); + + while(!this.inflater.finished() && this.inflater.getTotalIn() < inData.length) { + int count = this.inflater.inflate(this.buffer); + out.writeBytes(this.buffer, 0, count); + } + + this.inflater.reset(); + } + + } + + public boolean allowComposite() { + return true; + } +} diff --git a/src/main/java/net/md_5/bungee/jni/zlib/NativeCompressImpl.java b/src/main/java/net/md_5/bungee/jni/zlib/NativeCompressImpl.java new file mode 100644 index 0000000..ec72184 --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/zlib/NativeCompressImpl.java @@ -0,0 +1,28 @@ +package net.md_5.bungee.jni.zlib; + +import net.md_5.bungee.jni.NativeCodeException; + +public class NativeCompressImpl { + int consumed; + boolean finished; + + static native void initFields(); + + native boolean checkSupported(); + + native void end(long var1, boolean var3); + + native void reset(long var1, boolean var3); + + native long init(boolean var1, int var2); + + native int process(long var1, long var3, int var5, long var6, int var8, boolean var9); + + NativeCodeException makeException(String message, int err) { + return new NativeCodeException(message, err); + } + + static { + initFields(); + } +} diff --git a/src/main/java/net/md_5/bungee/jni/zlib/NativeZlib.java b/src/main/java/net/md_5/bungee/jni/zlib/NativeZlib.java new file mode 100644 index 0000000..4abcd48 --- /dev/null +++ b/src/main/java/net/md_5/bungee/jni/zlib/NativeZlib.java @@ -0,0 +1,70 @@ +package net.md_5.bungee.jni.zlib; + +import com.google.common.base.Preconditions; +import io.netty.buffer.ByteBuf; +import java.util.zip.DataFormatException; +import lombok.Generated; +import net.md_5.bungee.jni.NativeCodeException; + +public class NativeZlib implements BungeeZlib { + private final NativeCompressImpl nativeCompress = new NativeCompressImpl(); + private boolean compress; + private long ctx; + + public NativeZlib() { + if (!this.nativeCompress.checkSupported()) { + throw new NativeCodeException("This CPU does not support the required SSE 4.2 and/or PCLMUL extensions!"); + } + } + + public void init(boolean compress, int level) { + this.free(); + this.compress = compress; + this.ctx = this.nativeCompress.init(compress, level); + } + + public void free() { + if (this.ctx != 0L) { + this.nativeCompress.end(this.ctx, this.compress); + this.ctx = 0L; + } + + this.nativeCompress.consumed = 0; + this.nativeCompress.finished = false; + } + + public void process(ByteBuf in, ByteBuf out) throws DataFormatException { + Preconditions.checkState(this.ctx != 0L, "Invalid pointer to compress!"); + + while(!this.nativeCompress.finished && (this.compress || in.isReadable())) { + if (this.compress) { + out.ensureWritable(8192); + } else { + Preconditions.checkArgument(out.isWritable(), "Output buffer overrun"); + } + + int processed; + try { + processed = this.nativeCompress.process(this.ctx, in.memoryAddress() + (long)in.readerIndex(), in.readableBytes(), out.memoryAddress() + (long)out.writerIndex(), out.writableBytes(), this.compress); + } catch (NativeCodeException exception) { + throw (DataFormatException)(new DataFormatException("Failed to decompress via Zlib!")).initCause(exception); + } + + in.readerIndex(in.readerIndex() + this.nativeCompress.consumed); + out.writerIndex(out.writerIndex() + processed); + } + + this.nativeCompress.reset(this.ctx, this.compress); + this.nativeCompress.consumed = 0; + this.nativeCompress.finished = false; + } + + public boolean allowComposite() { + return false; + } + + @Generated + public NativeCompressImpl getNativeCompress() { + return this.nativeCompress; + } +} diff --git a/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java b/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java new file mode 100644 index 0000000..3327f3d --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java @@ -0,0 +1,61 @@ +package net.md_5.bungee.module; + +import com.google.common.io.ByteStreams; +import com.google.common.io.Files; +import java.io.IOException; +import java.net.URL; +import java.net.URLConnection; +import java.util.logging.Logger; +import lombok.Generated; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.ProxyServer; + +public class JenkinsModuleSource implements ModuleSource { + public void retrieve(ModuleSpec module, ModuleVersion version) { + Logger var10000 = ProxyServer.getInstance().getLogger(); + String var10001 = module.getName(); + var10000.info("Attempting to Jenkins download module " + var10001 + " v" + version.getBuild()); + + try { + String url = String.format("https://api.papermc.io/v2/projects/%1$s/versions/%2$s/builds/%3$s/downloads/%4$s-%2$s-%3$s.jar", "waterfall", ProxyServer.getInstance().getVersion().split(":")[2].split("-")[0], version.getBuild(), module.getName()); + URL website = new URL(url); + URLConnection con = website.openConnection(); + con.setConnectTimeout(15000); + con.setReadTimeout(15000); + con.setRequestProperty("User-Agent", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36"); + Files.write(ByteStreams.toByteArray(con.getInputStream()), module.getFile()); + ProxyServer.getInstance().getLogger().info("Download complete"); + } catch (IOException ex) { + ProxyServer.getInstance().getLogger().warning("Failed to download: " + Util.exception(ex)); + } + + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof JenkinsModuleSource)) { + return false; + } else { + JenkinsModuleSource other = (JenkinsModuleSource)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof JenkinsModuleSource; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } + + @Generated + public String toString() { + return "JenkinsModuleSource()"; + } +} diff --git a/src/main/java/net/md_5/bungee/module/ModuleManager.java b/src/main/java/net/md_5/bungee/module/ModuleManager.java new file mode 100644 index 0000000..67c9451 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/ModuleManager.java @@ -0,0 +1,177 @@ +package net.md_5.bungee.module; + +import com.google.common.base.Preconditions; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileWriter; +import java.io.InputStream; +import java.net.URI; +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.jar.JarEntry; +import java.util.jar.JarFile; +import java.util.logging.Level; +import java.util.logging.Logger; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.plugin.PluginDescription; +import net.md_5.bungee.util.CaseInsensitiveMap; +import org.yaml.snakeyaml.DumperOptions; +import org.yaml.snakeyaml.Yaml; +import org.yaml.snakeyaml.DumperOptions.FlowStyle; + +public class ModuleManager { + private final Map knownSources = new HashMap(); + + public ModuleManager() { + this.knownSources.put("jenkins", new JenkinsModuleSource()); + } + + public void load(ProxyServer proxy, File moduleDirectory) throws Exception { + moduleDirectory.mkdir(); + ModuleVersion bungeeVersion = ModuleVersion.parse(proxy.getVersion()); + if (bungeeVersion == null) { + proxy.getLogger().warning("Couldn't detect bungee version. Custom build?"); + } else { + List modules = new ArrayList(); + File configFile = new File("modules.yml"); + DumperOptions options = new DumperOptions(); + options.setDefaultFlowStyle(FlowStyle.BLOCK); + Yaml yaml = new Yaml(options); + configFile.createNewFile(); + InputStream is = new FileInputStream(configFile); + + Map config; + try { + config = (Map)yaml.load(is); + } catch (Throwable var21) { + try { + is.close(); + } catch (Throwable var19) { + var21.addSuppressed(var19); + } + + throw var21; + } + + is.close(); + if (config == null) { + config = new CaseInsensitiveMap(); + } else { + config = new CaseInsensitiveMap(config); + } + + List moduleLocations = new ArrayList<>(); + Object readModules = config.get("modules"); + if (readModules != null) { + moduleLocations.addAll((Collection)readModules); + } + + int version = config.containsKey("version") ? (Integer)config.get("version") : 0; + switch (version) { + case 0: + moduleLocations.add("jenkins://cmd_alert"); + moduleLocations.add("jenkins://cmd_find"); + moduleLocations.add("jenkins://cmd_list"); + moduleLocations.add("jenkins://cmd_send"); + moduleLocations.add("jenkins://cmd_server"); + case 1: + moduleLocations.add("jenkins://reconnect_yaml"); + default: + config.put("modules", moduleLocations); + config.put("version", 2); + FileWriter wr = new FileWriter(configFile); + + try { + yaml.dump(config, wr); + } catch (Throwable var20) { + try { + wr.close(); + } catch (Throwable var18) { + var20.addSuppressed(var18); + } + + throw var20; + } + + wr.close(); + + for(String s : (List)config.get("modules")) { + URI uri = new URI(s); + ModuleSource source = (ModuleSource)this.knownSources.get(uri.getScheme()); + if (source == null) { + proxy.getLogger().warning("Unknown module source: " + s); + } else { + String name = uri.getAuthority(); + if (name == null) { + proxy.getLogger().warning("Unknown module host: " + s); + } else { + ModuleSpec spec = new ModuleSpec(name, new File(moduleDirectory, name + ".jar"), source); + modules.add(spec); + proxy.getLogger().info("Discovered module: " + String.valueOf(spec)); + } + } + } + + for(ModuleSpec module : modules) { + ModuleVersion moduleVersion = module.getFile().exists() ? this.getVersion(module.getFile()) : null; + if (!bungeeVersion.equals(moduleVersion)) { + Logger var10000 = proxy.getLogger(); + String var10001 = String.valueOf(moduleVersion); + var10000.info("Attempting to update plugin from " + var10001 + " to " + String.valueOf(bungeeVersion)); + module.getProvider().retrieve(module, bungeeVersion); + } + } + + } + } + } + + private ModuleVersion getVersion(File file) { + try { + JarFile jar = new JarFile(file); + + ModuleVersion var6; + try { + JarEntry pdf = jar.getJarEntry("plugin.yml"); + Preconditions.checkNotNull(pdf, "Plugin must have a plugin.yml"); + InputStream in = jar.getInputStream(pdf); + + try { + PluginDescription desc = (PluginDescription)(new Yaml()).loadAs(in, PluginDescription.class); + var6 = ModuleVersion.parse(desc.getVersion()); + } catch (Throwable var9) { + if (in != null) { + try { + in.close(); + } catch (Throwable var8) { + var9.addSuppressed(var8); + } + } + + throw var9; + } + + if (in != null) { + in.close(); + } + } catch (Throwable var10) { + try { + jar.close(); + } catch (Throwable var7) { + var10.addSuppressed(var7); + } + + throw var10; + } + + jar.close(); + return var6; + } catch (Exception ex) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Could not check module from file " + String.valueOf(file), ex); + return null; + } + } +} diff --git a/src/main/java/net/md_5/bungee/module/ModuleSource.java b/src/main/java/net/md_5/bungee/module/ModuleSource.java new file mode 100644 index 0000000..7eae640 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/ModuleSource.java @@ -0,0 +1,5 @@ +package net.md_5.bungee.module; + +interface ModuleSource { + void retrieve(ModuleSpec var1, ModuleVersion var2); +} diff --git a/src/main/java/net/md_5/bungee/module/ModuleSpec.java b/src/main/java/net/md_5/bungee/module/ModuleSpec.java new file mode 100644 index 0000000..4b9a5be --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/ModuleSpec.java @@ -0,0 +1,102 @@ +package net.md_5.bungee.module; + +import java.io.File; +import lombok.Generated; + +public class ModuleSpec { + private final String name; + private final File file; + private final ModuleSource provider; + + @Generated + public ModuleSpec(String name, File file, ModuleSource provider) { + this.name = name; + this.file = file; + this.provider = provider; + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public File getFile() { + return this.file; + } + + @Generated + public ModuleSource getProvider() { + return this.provider; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ModuleSpec)) { + return false; + } else { + ModuleSpec other = (ModuleSpec)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$file = this.getFile(); + Object other$file = other.getFile(); + if (this$file == null) { + if (other$file != null) { + return false; + } + } else if (!this$file.equals(other$file)) { + return false; + } + + Object this$provider = this.getProvider(); + Object other$provider = other.getProvider(); + if (this$provider == null) { + if (other$provider != null) { + return false; + } + } else if (!this$provider.equals(other$provider)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ModuleSpec; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $file = this.getFile(); + result = result * 59 + ($file == null ? 43 : $file.hashCode()); + Object $provider = this.getProvider(); + result = result * 59 + ($provider == null ? 43 : $provider.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "ModuleSpec(name=" + var10000 + ", file=" + String.valueOf(this.getFile()) + ", provider=" + String.valueOf(this.getProvider()) + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/module/ModuleVersion.java b/src/main/java/net/md_5/bungee/module/ModuleVersion.java new file mode 100644 index 0000000..59fa770 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/ModuleVersion.java @@ -0,0 +1,94 @@ +package net.md_5.bungee.module; + +import lombok.Generated; + +public class ModuleVersion { + private final String build; + private final String git; + + public static ModuleVersion parse(String version) { + int lastColon = version.lastIndexOf(58); + int secondLastColon = version.lastIndexOf(58, lastColon - 1); + if (lastColon != -1 && secondLastColon != -1) { + String buildNumber = version.substring(lastColon + 1, version.length()); + String gitCommit = version.substring(secondLastColon + 1, lastColon).replaceAll("\"", ""); + return !"unknown".equals(buildNumber) && !"unknown".equals(gitCommit) ? new ModuleVersion(buildNumber, gitCommit) : null; + } else { + return null; + } + } + + @Generated + public String getBuild() { + return this.build; + } + + @Generated + public String getGit() { + return this.git; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ModuleVersion)) { + return false; + } else { + ModuleVersion other = (ModuleVersion)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$build = this.getBuild(); + Object other$build = other.getBuild(); + if (this$build == null) { + if (other$build != null) { + return false; + } + } else if (!this$build.equals(other$build)) { + return false; + } + + Object this$git = this.getGit(); + Object other$git = other.getGit(); + if (this$git == null) { + if (other$git != null) { + return false; + } + } else if (!this$git.equals(other$git)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ModuleVersion; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $build = this.getBuild(); + result = result * 59 + ($build == null ? 43 : $build.hashCode()); + Object $git = this.getGit(); + result = result * 59 + ($git == null ? 43 : $git.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getBuild(); + return "ModuleVersion(build=" + var10000 + ", git=" + this.getGit() + ")"; + } + + @Generated + private ModuleVersion(String build, String git) { + this.build = build; + this.git = git; + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/alert/CommandAlert.java b/src/main/java/net/md_5/bungee/module/cmd/alert/CommandAlert.java new file mode 100644 index 0000000..b3511fb --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/alert/CommandAlert.java @@ -0,0 +1,36 @@ +package net.md_5.bungee.module.cmd.alert; + +import java.util.Locale; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.plugin.Command; + +public class CommandAlert extends Command { + public CommandAlert() { + super("alert", "bungeecord.command.alert"); + } + + public void execute(CommandSender sender, String[] args) { + if (args.length == 0) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("message_needed")); + } else { + StringBuilder builder = new StringBuilder(); + if (args[0].toLowerCase(Locale.ROOT).startsWith("&h")) { + args[0] = args[0].substring(2); + } else { + builder.append(ProxyServer.getInstance().getTranslation("alert")); + } + + for(String s : args) { + builder.append(ChatColor.translateAlternateColorCodes('&', s)); + builder.append(" "); + } + + String message = builder.substring(0, builder.length() - 1); + ProxyServer.getInstance().broadcast(TextComponent.fromLegacy(message)); + } + + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/alert/CommandAlertRaw.java b/src/main/java/net/md_5/bungee/module/cmd/alert/CommandAlertRaw.java new file mode 100644 index 0000000..bc248a5 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/alert/CommandAlertRaw.java @@ -0,0 +1,40 @@ +package net.md_5.bungee.module.cmd.alert; + +import com.google.common.base.Joiner; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.ComponentBuilder; +import net.md_5.bungee.api.chat.HoverEvent; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Command; +import net.md_5.bungee.chat.ComponentSerializer; + +public class CommandAlertRaw extends Command { + public CommandAlertRaw() { + super("alertraw", "bungeecord.command.alertraw"); + } + + public void execute(CommandSender sender, String[] args) { + if (args.length == 0) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("message_needed")); + } else { + String message = Joiner.on(' ').join(args); + + try { + ProxyServer.getInstance().broadcast(ComponentSerializer.parse(message)); + } catch (Exception e) { + Throwable error; + for(error = e; error.getCause() != null; error = error.getCause()) { + } + + if (sender instanceof ProxiedPlayer) { + sender.sendMessage((new ComponentBuilder(ProxyServer.getInstance().getTranslation("error_occurred_player"))).event(new HoverEvent(HoverEvent.Action.SHOW_TEXT, (new ComponentBuilder(error.getMessage())).color(ChatColor.RED).create())).create()); + } else { + sender.sendMessage(ProxyServer.getInstance().getTranslation("error_occurred_console", error.getMessage())); + } + } + } + + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/alert/PluginAlert.java b/src/main/java/net/md_5/bungee/module/cmd/alert/PluginAlert.java new file mode 100644 index 0000000..c4b2e3a --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/alert/PluginAlert.java @@ -0,0 +1,10 @@ +package net.md_5.bungee.module.cmd.alert; + +import net.md_5.bungee.api.plugin.Plugin; + +public class PluginAlert extends Plugin { + public void onEnable() { + this.getProxy().getPluginManager().registerCommand(this, new CommandAlert()); + this.getProxy().getPluginManager().registerCommand(this, new CommandAlertRaw()); + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/find/CommandFind.java b/src/main/java/net/md_5/bungee/module/cmd/find/CommandFind.java new file mode 100644 index 0000000..2262587 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/find/CommandFind.java @@ -0,0 +1,43 @@ +package net.md_5.bungee.module.cmd.find; + +import java.util.Collections; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.ClickEvent; +import net.md_5.bungee.api.chat.ComponentBuilder; +import net.md_5.bungee.api.chat.HoverEvent; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.command.PlayerCommand; + +public class CommandFind extends PlayerCommand { + public CommandFind() { + super("find", "bungeecord.command.find"); + } + + public void execute(CommandSender sender, String[] args) { + if (args.length != 1) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("username_needed")); + } else { + ProxiedPlayer player = ProxyServer.getInstance().getPlayer(args[0]); + if (player != null && player.getServer() != null) { + boolean moduleLoaded = ProxyServer.getInstance().getPluginManager().getPlugin("cmd_server") != null; + ServerInfo server = player.getServer().getInfo(); + ComponentBuilder componentBuilder = (new ComponentBuilder()).appendLegacy(ProxyServer.getInstance().getTranslation("user_online_at", player.getName(), server.getName())); + if (moduleLoaded && server.canAccess(sender)) { + componentBuilder.event(new HoverEvent(HoverEvent.Action.SHOW_TEXT, (new ComponentBuilder()).appendLegacy(ProxyServer.getInstance().getTranslation("click_to_connect")).create())); + componentBuilder.event(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/server " + server.getName())); + } + + sender.sendMessage(componentBuilder.create()); + } else { + sender.sendMessage(ProxyServer.getInstance().getTranslation("user_not_online")); + } + } + + } + + public Iterable onTabComplete(CommandSender sender, String[] args) { + return (Iterable)(args.length == 1 ? super.onTabComplete(sender, args) : Collections.emptyList()); + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/find/PluginFind.java b/src/main/java/net/md_5/bungee/module/cmd/find/PluginFind.java new file mode 100644 index 0000000..35636cb --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/find/PluginFind.java @@ -0,0 +1,9 @@ +package net.md_5.bungee.module.cmd.find; + +import net.md_5.bungee.api.plugin.Plugin; + +public class PluginFind extends Plugin { + public void onEnable() { + this.getProxy().getPluginManager().registerCommand(this, new CommandFind()); + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/list/CommandList.java b/src/main/java/net/md_5/bungee/module/cmd/list/CommandList.java new file mode 100644 index 0000000..764f574 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/list/CommandList.java @@ -0,0 +1,59 @@ +package net.md_5.bungee.module.cmd.list; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.List; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.ClickEvent; +import net.md_5.bungee.api.chat.ComponentBuilder; +import net.md_5.bungee.api.chat.HoverEvent; +import net.md_5.bungee.api.chat.hover.content.Content; +import net.md_5.bungee.api.chat.hover.content.Text; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.plugin.Command; +import net.md_5.bungee.api.plugin.TabExecutor; + +public class CommandList extends Command implements TabExecutor { + public CommandList() { + super("glist", "bungeecord.command.list"); + } + + public void execute(CommandSender sender, String[] args) { + boolean hideEmptyServers = args.length == 0 || !args[0].equalsIgnoreCase("all"); + boolean moduleLoaded = ProxyServer.getInstance().getPluginManager().getPlugin("cmd_server") != null; + sender.sendMessage(ProxyServer.getInstance().getTranslation("command_list_format")); + + for(ServerInfo server : ProxyServer.getInstance().getServers().values()) { + if (server.canAccess(sender)) { + Collection serverPlayers = server.getPlayers(); + if (!hideEmptyServers || !serverPlayers.isEmpty()) { + List players = new ArrayList(); + + for(ProxiedPlayer player : serverPlayers) { + players.add(player.getDisplayName()); + } + + Collections.sort(players, String.CASE_INSENSITIVE_ORDER); + BaseComponent baseComponent = (new ComponentBuilder()).appendLegacy(ProxyServer.getInstance().getTranslation("command_list", server.getName(), players.size(), String.join(String.valueOf(ChatColor.RESET) + ", ", players))).build(); + if (moduleLoaded) { + baseComponent.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new Content[]{new Text((new ComponentBuilder()).appendLegacy(ProxyServer.getInstance().getTranslation("click_to_connect")).create())})); + baseComponent.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/server " + server.getName())); + } + + sender.sendMessage(baseComponent); + } + } + } + + sender.sendMessage(ProxyServer.getInstance().getTranslation("total_players", ProxyServer.getInstance().getOnlineCount())); + } + + public Iterable onTabComplete(CommandSender sender, String[] args) { + return args.length > 1 ? Collections.emptyList() : Collections.singletonList("all"); + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/list/PluginList.java b/src/main/java/net/md_5/bungee/module/cmd/list/PluginList.java new file mode 100644 index 0000000..1098e09 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/list/PluginList.java @@ -0,0 +1,9 @@ +package net.md_5.bungee.module.cmd.list; + +import net.md_5.bungee.api.plugin.Plugin; + +public class PluginList extends Plugin { + public void onEnable() { + this.getProxy().getPluginManager().registerCommand(this, new CommandList()); + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/send/CommandSend.java b/src/main/java/net/md_5/bungee/module/cmd/send/CommandSend.java new file mode 100644 index 0000000..5daa69e --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/send/CommandSend.java @@ -0,0 +1,170 @@ +package net.md_5.bungee.module.cmd.send; + +import com.google.common.base.Joiner; +import com.google.common.collect.ImmutableSet; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.Set; +import net.md_5.bungee.api.Callback; +import net.md_5.bungee.api.ChatColor; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.ServerConnectRequest; +import net.md_5.bungee.api.chat.ComponentBuilder; +import net.md_5.bungee.api.chat.HoverEvent; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.event.ServerConnectEvent; +import net.md_5.bungee.api.plugin.Command; +import net.md_5.bungee.api.plugin.TabExecutor; + +public class CommandSend extends Command implements TabExecutor { + public CommandSend() { + super("send", "bungeecord.command.send"); + } + + public void execute(CommandSender sender, String[] args) { + if (args.length != 2) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("send_cmd_usage")); + } else { + ServerInfo server = ProxyServer.getInstance().getServerInfo(args[1]); + if (server == null) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("no_server")); + } else { + List targets; + if (args[0].equalsIgnoreCase("all")) { + targets = new ArrayList(ProxyServer.getInstance().getPlayers()); + } else if (args[0].equalsIgnoreCase("current")) { + if (!(sender instanceof ProxiedPlayer)) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("player_only")); + return; + } + + ProxiedPlayer player = (ProxiedPlayer)sender; + targets = new ArrayList(player.getServer().getInfo().getPlayers()); + } else { + ServerInfo serverTarget = ProxyServer.getInstance().getServerInfo(args[0]); + if (serverTarget != null) { + targets = new ArrayList(serverTarget.getPlayers()); + } else { + ProxiedPlayer player = ProxyServer.getInstance().getPlayer(args[0]); + if (player == null) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("user_not_online")); + return; + } + + targets = Collections.singletonList(player); + } + } + + SendCallback callback = new SendCallback(sender); + + for(ProxiedPlayer player : targets) { + ServerConnectRequest request = ServerConnectRequest.builder().target(server).reason(ServerConnectEvent.Reason.COMMAND).callback(new SendCallback.Entry(callback, player, server)).build(); + player.connect(request); + } + + String var10001 = String.valueOf(ChatColor.DARK_GREEN); + sender.sendMessage(var10001 + "Attempting to send " + targets.size() + " players to " + server.getName()); + } + } + } + + public Iterable onTabComplete(CommandSender sender, String[] args) { + if (args.length <= 2 && args.length != 0) { + Set matches = new HashSet(); + if (args.length == 1) { + String search = args[0].toLowerCase(Locale.ROOT); + + for(ProxiedPlayer player : ProxyServer.getInstance().getPlayers()) { + if (player.getName().toLowerCase(Locale.ROOT).startsWith(search)) { + matches.add(player.getName()); + } + } + + if ("all".startsWith(search)) { + matches.add("all"); + } + + if ("current".startsWith(search)) { + matches.add("current"); + } + } else { + String search = args[1].toLowerCase(Locale.ROOT); + + for(String server : ProxyServer.getInstance().getServers().keySet()) { + if (server.toLowerCase(Locale.ROOT).startsWith(search)) { + matches.add(server); + } + } + } + + return matches; + } else { + return ImmutableSet.of(); + } + } + + protected static class SendCallback { + private final Map> results = new HashMap(); + private final CommandSender sender; + private int count = 0; + + public SendCallback(CommandSender sender) { + this.sender = sender; + + for(ServerConnectRequest.Result result : ServerConnectRequest.Result.values()) { + this.results.put(result, Collections.synchronizedList(new ArrayList())); + } + + } + + public void lastEntryDone() { + CommandSender var10000 = this.sender; + String var10001 = ChatColor.GREEN.toString(); + var10000.sendMessage(var10001 + String.valueOf(ChatColor.BOLD) + "Send Results:"); + + for(Map.Entry> entry : this.results.entrySet()) { + ComponentBuilder builder = new ComponentBuilder(""); + if (!((List)entry.getValue()).isEmpty()) { + builder.event(new HoverEvent(HoverEvent.Action.SHOW_TEXT, (new ComponentBuilder(Joiner.on(", ").join((Iterable)entry.getValue()))).color(ChatColor.YELLOW).create())); + } + + builder.append(((ServerConnectRequest.Result)entry.getKey()).name() + ": ").color(ChatColor.GREEN); + builder.append("" + ((List)entry.getValue()).size()).bold(true); + this.sender.sendMessage(builder.create()); + } + + } + + public static class Entry implements Callback { + private final SendCallback callback; + private final ProxiedPlayer player; + private final ServerInfo target; + + public Entry(SendCallback callback, ProxiedPlayer player, ServerInfo target) { + this.callback = callback; + this.player = player; + this.target = target; + ++this.callback.count; + } + + public void done(ServerConnectRequest.Result result, Throwable error) { + ((List)this.callback.results.get(result)).add(this.player.getName()); + if (result == ServerConnectRequest.Result.SUCCESS) { + this.player.sendMessage(ProxyServer.getInstance().getTranslation("you_got_summoned", this.target.getName(), this.callback.sender.getName())); + } + + if (--this.callback.count == 0) { + this.callback.lastEntryDone(); + } + + } + } + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/send/PluginSend.java b/src/main/java/net/md_5/bungee/module/cmd/send/PluginSend.java new file mode 100644 index 0000000..ebcc32d --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/send/PluginSend.java @@ -0,0 +1,9 @@ +package net.md_5.bungee.module.cmd.send; + +import net.md_5.bungee.api.plugin.Plugin; + +public class PluginSend extends Plugin { + public void onEnable() { + this.getProxy().getPluginManager().registerCommand(this, new CommandSend()); + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/server/CommandServer.java b/src/main/java/net/md_5/bungee/module/cmd/server/CommandServer.java new file mode 100644 index 0000000..7dbbc5c --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/server/CommandServer.java @@ -0,0 +1,70 @@ +package net.md_5.bungee.module.cmd.server; + +import java.util.Locale; +import java.util.Map; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.ClickEvent; +import net.md_5.bungee.api.chat.ComponentBuilder; +import net.md_5.bungee.api.chat.HoverEvent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.event.ServerConnectEvent; +import net.md_5.bungee.api.plugin.Command; +import net.md_5.bungee.api.plugin.TabExecutor; + +public class CommandServer extends Command implements TabExecutor { + public CommandServer() { + super("server", "bungeecord.command.server"); + } + + public void execute(CommandSender sender, String[] args) { + Map servers = ProxyServer.getInstance().getServers(); + if (args.length == 0) { + if (sender instanceof ProxiedPlayer) { + sender.sendMessage(ProxyServer.getInstance().getTranslation("current_server", ((ProxiedPlayer)sender).getServer().getInfo().getName())); + } + + ComponentBuilder serverList = (new ComponentBuilder()).appendLegacy(ProxyServer.getInstance().getTranslation("server_list")); + boolean first = true; + + for(ServerInfo server : servers.values()) { + if (server.canAccess(sender)) { + TextComponent serverTextComponent = new TextComponent(first ? server.getName() : ", " + server.getName()); + int count = server.getPlayers().size(); + HoverEvent.Action var10003 = HoverEvent.Action.SHOW_TEXT; + ProxyServer var10006 = ProxyServer.getInstance(); + Object[] var10008 = new Object[]{count}; + serverTextComponent.setHoverEvent(new HoverEvent(var10003, (new ComponentBuilder(var10006.getTranslation("server_command_hover_players", var10008) + "\n")).appendLegacy(ProxyServer.getInstance().getTranslation("click_to_connect")).create())); + serverTextComponent.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/server " + server.getName())); + serverList.append((BaseComponent)serverTextComponent); + first = false; + } + } + + sender.sendMessage(serverList.create()); + } else { + if (!(sender instanceof ProxiedPlayer)) { + return; + } + + ProxiedPlayer player = (ProxiedPlayer)sender; + ServerInfo server = (ServerInfo)servers.get(args[0]); + if (server == null) { + player.sendMessage(ProxyServer.getInstance().getTranslation("no_server")); + } else if (!server.canAccess(player)) { + player.sendMessage(ProxyServer.getInstance().getTranslation("no_server_permission")); + } else { + player.connect(server, ServerConnectEvent.Reason.COMMAND); + } + } + + } + + public Iterable onTabComplete(CommandSender sender, String[] args) { + String serverFilter = args.length == 0 ? "" : args[0].toLowerCase(Locale.ROOT); + return () -> ProxyServer.getInstance().getServersCopy().values().stream().filter((serverInfo) -> serverInfo.getName().toLowerCase(Locale.ROOT).startsWith(serverFilter) && serverInfo.canAccess(sender)).map(ServerInfo::getName).iterator(); + } +} diff --git a/src/main/java/net/md_5/bungee/module/cmd/server/PluginServer.java b/src/main/java/net/md_5/bungee/module/cmd/server/PluginServer.java new file mode 100644 index 0000000..1c15377 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/cmd/server/PluginServer.java @@ -0,0 +1,9 @@ +package net.md_5.bungee.module.cmd.server; + +import net.md_5.bungee.api.plugin.Plugin; + +public class PluginServer extends Plugin { + public void onEnable() { + this.getProxy().getPluginManager().registerCommand(this, new CommandServer()); + } +} diff --git a/src/main/java/net/md_5/bungee/module/reconnect/yaml/PluginYaml.java b/src/main/java/net/md_5/bungee/module/reconnect/yaml/PluginYaml.java new file mode 100644 index 0000000..71bff44 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/reconnect/yaml/PluginYaml.java @@ -0,0 +1,16 @@ +package net.md_5.bungee.module.reconnect.yaml; + +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.plugin.Plugin; + +public class PluginYaml extends Plugin { + public void onEnable() { + for(ListenerInfo info : this.getProxy().getConfig().getListeners()) { + if (!info.isForceDefault() && this.getProxy().getReconnectHandler() == null) { + this.getProxy().setReconnectHandler(new YamlReconnectHandler()); + break; + } + } + + } +} diff --git a/src/main/java/net/md_5/bungee/module/reconnect/yaml/YamlReconnectHandler.java b/src/main/java/net/md_5/bungee/module/reconnect/yaml/YamlReconnectHandler.java new file mode 100644 index 0000000..15a4545 --- /dev/null +++ b/src/main/java/net/md_5/bungee/module/reconnect/yaml/YamlReconnectHandler.java @@ -0,0 +1,122 @@ +package net.md_5.bungee.module.reconnect.yaml; + +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.IOException; +import java.net.InetSocketAddress; +import java.util.HashMap; +import java.util.Map; +import java.util.concurrent.locks.ReadWriteLock; +import java.util.concurrent.locks.ReentrantReadWriteLock; +import java.util.logging.Level; +import net.md_5.bungee.api.AbstractReconnectHandler; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.config.ServerInfo; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.util.CaseInsensitiveMap; +import org.yaml.snakeyaml.Yaml; + +public class YamlReconnectHandler extends AbstractReconnectHandler { + private final Yaml yaml = new Yaml(); + private final File file = new File("locations.yml"); + private final ReadWriteLock lock = new ReentrantReadWriteLock(); + private CaseInsensitiveMap data; + + public YamlReconnectHandler() { + try { + this.file.createNewFile(); + FileReader rd = new FileReader(this.file); + + try { + Map map = (Map)this.yaml.loadAs(rd, Map.class); + if (map != null) { + this.data = new CaseInsensitiveMap(map); + } + } catch (Throwable var5) { + try { + rd.close(); + } catch (Throwable var4) { + var5.addSuppressed(var4); + } + + throw var5; + } + + rd.close(); + } catch (Exception var6) { + this.file.renameTo(new File("locations.yml.old")); + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Could not load reconnect locations, resetting them"); + } + + if (this.data == null) { + this.data = new CaseInsensitiveMap(); + } + + } + + protected ServerInfo getStoredServer(ProxiedPlayer player) { + this.lock.readLock().lock(); + + ServerInfo var2; + try { + var2 = ProxyServer.getInstance().getServerInfo((String)this.data.get(this.key(player))); + } finally { + this.lock.readLock().unlock(); + } + + return var2; + } + + public void setServer(ProxiedPlayer player) { + this.lock.writeLock().lock(); + + try { + this.data.put(this.key(player), player.getReconnectServer() != null ? player.getReconnectServer().getName() : player.getServer().getInfo().getName()); + } finally { + this.lock.writeLock().unlock(); + } + + } + + private String key(ProxiedPlayer player) { + InetSocketAddress host = player.getPendingConnection().getVirtualHost(); + String var10000 = player.getName(); + return var10000 + ";" + host.getHostString() + ":" + host.getPort(); + } + + public void save() { + Map copy = new HashMap(); + this.lock.readLock().lock(); + + try { + copy.putAll(this.data); + } finally { + this.lock.readLock().unlock(); + } + + try { + FileWriter wr = new FileWriter(this.file); + + try { + this.yaml.dump(copy, wr); + } catch (Throwable var10) { + try { + wr.close(); + } catch (Throwable var9) { + var10.addSuppressed(var9); + } + + throw var10; + } + + wr.close(); + } catch (IOException ex) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "Could not save reconnect locations", ex); + } + + } + + public void close() { + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/NamedTag.java b/src/main/java/net/md_5/bungee/nbt/NamedTag.java new file mode 100644 index 0000000..85809ce --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/NamedTag.java @@ -0,0 +1,116 @@ +package net.md_5.bungee.nbt; + +import com.google.common.base.Preconditions; +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import lombok.Generated; +import net.md_5.bungee.nbt.limit.NBTLimiter; +import net.md_5.bungee.nbt.type.CompoundTag; + +public class NamedTag implements Tag { + private String name; + private TypedTag tag; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + byte type = input.readByte(); + this.name = CompoundTag.readString(input, limiter); + this.tag = Tag.readById(type, input, limiter); + } + + public void write(DataOutput output) throws IOException { + Preconditions.checkNotNull(this.name, "name cannot be null"); + Preconditions.checkNotNull(this.tag, "tag cannot be null"); + output.writeByte(this.tag.getId()); + CompoundTag.writeString(this.name, output); + this.tag.write(output); + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public TypedTag getTag() { + return this.tag; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setTag(TypedTag tag) { + this.tag = tag; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof NamedTag)) { + return false; + } else { + NamedTag other = (NamedTag)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$tag = this.getTag(); + Object other$tag = other.getTag(); + if (this$tag == null) { + if (other$tag != null) { + return false; + } + } else if (!this$tag.equals(other$tag)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof NamedTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $tag = this.getTag(); + result = result * 59 + ($tag == null ? 43 : $tag.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "NamedTag(name=" + var10000 + ", tag=" + String.valueOf(this.getTag()) + ")"; + } + + @Generated + public NamedTag() { + } + + @Generated + public NamedTag(String name, TypedTag tag) { + this.name = name; + this.tag = tag; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/Tag.java b/src/main/java/net/md_5/bungee/nbt/Tag.java new file mode 100644 index 0000000..b2ba6ec --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/Tag.java @@ -0,0 +1,84 @@ +package net.md_5.bungee.nbt; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.DataInput; +import java.io.DataInputStream; +import java.io.DataOutput; +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.function.Supplier; +import net.md_5.bungee.nbt.exception.NBTFormatException; +import net.md_5.bungee.nbt.limit.NBTLimiter; +import net.md_5.bungee.nbt.type.ByteArrayTag; +import net.md_5.bungee.nbt.type.ByteTag; +import net.md_5.bungee.nbt.type.CompoundTag; +import net.md_5.bungee.nbt.type.DoubleTag; +import net.md_5.bungee.nbt.type.EndTag; +import net.md_5.bungee.nbt.type.FloatTag; +import net.md_5.bungee.nbt.type.IntArrayTag; +import net.md_5.bungee.nbt.type.IntTag; +import net.md_5.bungee.nbt.type.ListTag; +import net.md_5.bungee.nbt.type.LongArrayTag; +import net.md_5.bungee.nbt.type.LongTag; +import net.md_5.bungee.nbt.type.ShortTag; +import net.md_5.bungee.nbt.type.StringTag; + +public interface Tag { + int OBJECT_HEADER = 8; + int ARRAY_HEADER = 12; + int STRING_SIZE = 28; + int OBJECT_REFERENCE = 4; + Supplier[] CONSTRUCTORS = new Supplier[]{EndTag::new, ByteTag::new, ShortTag::new, IntTag::new, LongTag::new, FloatTag::new, DoubleTag::new, ByteArrayTag::new, StringTag::new, ListTag::new, CompoundTag::new, IntArrayTag::new, LongArrayTag::new}; + byte END = 0; + byte BYTE = 1; + byte SHORT = 2; + byte INT = 3; + byte LONG = 4; + byte FLOAT = 5; + byte DOUBLE = 6; + byte BYTE_ARRAY = 7; + byte STRING = 8; + byte LIST = 9; + byte COMPOUND = 10; + byte INT_ARRAY = 11; + byte LONG_ARRAY = 12; + + void read(DataInput var1, NBTLimiter var2) throws IOException; + + void write(DataOutput var1) throws IOException; + + static TypedTag readById(byte id, DataInput input, NBTLimiter limiter) throws IOException { + if (id >= 0 && id <= 12) { + TypedTag tag = (TypedTag)CONSTRUCTORS[id].get(); + tag.read(input, limiter); + return tag; + } else { + throw new NBTFormatException("Invalid tag id: " + id); + } + } + + static NamedTag readNamedTag(DataInput input, NBTLimiter limiter) throws IOException { + NamedTag namedTag = new NamedTag(); + namedTag.read(input, limiter); + return namedTag; + } + + static byte[] toByteArray(TypedTag tag) throws IOException { + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + DataOutputStream dataOutputStream = new DataOutputStream(byteArrayOutputStream); + dataOutputStream.writeByte(tag.getId()); + tag.write(dataOutputStream); + return byteArrayOutputStream.toByteArray(); + } + + static TypedTag fromByteArray(byte[] data) throws IOException { + return fromByteArray(data, NBTLimiter.unlimitedSize()); + } + + static TypedTag fromByteArray(byte[] data, NBTLimiter limiter) throws IOException { + DataInputStream stream = new DataInputStream(new ByteArrayInputStream(data)); + byte type = stream.readByte(); + return readById(type, stream, limiter); + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/TypedTag.java b/src/main/java/net/md_5/bungee/nbt/TypedTag.java new file mode 100644 index 0000000..4c14b52 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/TypedTag.java @@ -0,0 +1,5 @@ +package net.md_5.bungee.nbt; + +public interface TypedTag extends Tag { + byte getId(); +} diff --git a/src/main/java/net/md_5/bungee/nbt/exception/NBTException.java b/src/main/java/net/md_5/bungee/nbt/exception/NBTException.java new file mode 100644 index 0000000..6b62b53 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/exception/NBTException.java @@ -0,0 +1,7 @@ +package net.md_5.bungee.nbt.exception; + +public class NBTException extends RuntimeException { + public NBTException(String message) { + super(message); + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/exception/NBTFormatException.java b/src/main/java/net/md_5/bungee/nbt/exception/NBTFormatException.java new file mode 100644 index 0000000..4a79cc3 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/exception/NBTFormatException.java @@ -0,0 +1,7 @@ +package net.md_5.bungee.nbt.exception; + +public class NBTFormatException extends NBTException { + public NBTFormatException(String message) { + super(message); + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/exception/NBTLimitException.java b/src/main/java/net/md_5/bungee/nbt/exception/NBTLimitException.java new file mode 100644 index 0000000..9896669 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/exception/NBTLimitException.java @@ -0,0 +1,7 @@ +package net.md_5.bungee.nbt.exception; + +public class NBTLimitException extends NBTException { + public NBTLimitException(String message) { + super(message); + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/limit/NBTLimiter.java b/src/main/java/net/md_5/bungee/nbt/limit/NBTLimiter.java new file mode 100644 index 0000000..70af9a1 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/limit/NBTLimiter.java @@ -0,0 +1,54 @@ +package net.md_5.bungee.nbt.limit; + +import lombok.Generated; +import net.md_5.bungee.nbt.exception.NBTLimitException; + +public class NBTLimiter { + private static final int MAX_STACK_DEPTH = 512; + private final long maxBytes; + private final int maxDepth; + private long usedBytes; + private int depth; + + public static NBTLimiter unlimitedSize() { + return new NBTLimiter(Long.MAX_VALUE, 512); + } + + public NBTLimiter(long maxBytes) { + this(maxBytes, 512); + } + + public void countBytes(long amount) { + if (amount < 0L) { + throw new NBTLimitException("NBT limiter tried to count negative byte amount"); + } else if ((this.usedBytes = Math.addExact(this.usedBytes, amount)) > this.maxBytes) { + throw new NBTLimitException("NBT tag is to big, bytes > " + this.maxBytes); + } + } + + public void countBytes(long amount, long factor) { + if (amount >= 0L && factor >= 0L) { + this.countBytes(Math.multiplyExact(amount, factor)); + } else { + throw new NBTLimitException("NBT limiter tried to count negative byte amount"); + } + } + + public void push() { + if ((this.depth = Math.addExact(this.depth, 1)) > this.maxDepth) { + throw new NBTLimitException("NBT tag is to complex, depth > " + this.maxDepth); + } + } + + public void pop() { + if (--this.depth < 0) { + throw new NBTLimitException("NBT limiter tried to pop depth 0"); + } + } + + @Generated + public NBTLimiter(long maxBytes, int maxDepth) { + this.maxBytes = maxBytes; + this.maxDepth = maxDepth; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/ByteArrayTag.java b/src/main/java/net/md_5/bungee/nbt/type/ByteArrayTag.java new file mode 100644 index 0000000..49045eb --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/ByteArrayTag.java @@ -0,0 +1,84 @@ +package net.md_5.bungee.nbt.type; + +import com.google.common.base.Preconditions; +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class ByteArrayTag implements TypedTag { + private byte[] value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(24L); + int length = input.readInt(); + limiter.countBytes((long)length, 1L); + input.readFully(this.value = new byte[length]); + } + + public void write(DataOutput output) throws IOException { + Preconditions.checkNotNull(this.value, "byte array value cannot be null"); + output.writeInt(this.value.length); + output.write(this.value); + } + + public byte getId() { + return 7; + } + + @Generated + public byte[] getValue() { + return this.value; + } + + @Generated + public void setValue(byte[] value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ByteArrayTag)) { + return false; + } else { + ByteArrayTag other = (ByteArrayTag)o; + if (!other.canEqual(this)) { + return false; + } else { + return Arrays.equals(this.getValue(), other.getValue()); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ByteArrayTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + Arrays.hashCode(this.getValue()); + return result; + } + + @Generated + public String toString() { + return "ByteArrayTag(value=" + Arrays.toString(this.getValue()) + ")"; + } + + @Generated + public ByteArrayTag() { + } + + @Generated + public ByteArrayTag(byte[] value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/ByteTag.java b/src/main/java/net/md_5/bungee/nbt/type/ByteTag.java new file mode 100644 index 0000000..1cf3e56 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/ByteTag.java @@ -0,0 +1,78 @@ +package net.md_5.bungee.nbt.type; + +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class ByteTag implements TypedTag { + private byte value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(9L); + this.value = input.readByte(); + } + + public void write(DataOutput output) throws IOException { + output.write(this.value); + } + + public byte getId() { + return 1; + } + + @Generated + public byte getValue() { + return this.value; + } + + @Generated + public void setValue(byte value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ByteTag)) { + return false; + } else { + ByteTag other = (ByteTag)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getValue() == other.getValue(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ByteTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getValue(); + return result; + } + + @Generated + public String toString() { + return "ByteTag(value=" + this.getValue() + ")"; + } + + @Generated + public ByteTag() { + } + + @Generated + public ByteTag(byte value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/CompoundTag.java b/src/main/java/net/md_5/bungee/nbt/type/CompoundTag.java new file mode 100644 index 0000000..cb9337e --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/CompoundTag.java @@ -0,0 +1,146 @@ +package net.md_5.bungee.nbt.type; + +import com.google.common.base.Preconditions; +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import java.util.LinkedHashMap; +import java.util.Map; +import lombok.Generated; +import net.md_5.bungee.nbt.Tag; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.exception.NBTFormatException; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class CompoundTag implements TypedTag { + private static final int MAP_SIZE_IN_BYTES = 48; + private static final int MAP_ENTRY_SIZE_IN_BYTES = 32; + private Map value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.push(); + limiter.countBytes(48L); + Map map = new LinkedHashMap(); + + byte type; + while((type = input.readByte()) != 0) { + String name = readString(input, limiter); + TypedTag tag = Tag.readById(type, input, limiter); + if (map.put(name, tag) == null) { + limiter.countBytes(36L); + } + } + + limiter.pop(); + this.value = map; + } + + public void write(DataOutput output) throws IOException { + Preconditions.checkNotNull(this.value, "compound tag map cannot be null"); + + for(Map.Entry entry : this.value.entrySet()) { + String name = (String)entry.getKey(); + TypedTag tag = (TypedTag)entry.getValue(); + output.writeByte(tag.getId()); + if (tag.getId() == 0) { + throw new NBTFormatException("invalid end tag in compound tag"); + } + + writeString(name, output); + tag.write(output); + } + + output.writeByte(0); + } + + public byte getId() { + return 10; + } + + public static String readString(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(28L); + String string = input.readUTF(); + limiter.countBytes((long)string.length(), 2L); + return string; + } + + public static void writeString(String string, DataOutput output) throws IOException { + output.writeUTF(string); + } + + public TypedTag get(String key) { + return (TypedTag)this.value.get(key); + } + + public void put(String key, TypedTag tag) { + this.value.put(key, tag); + } + + public int size() { + return this.value.size(); + } + + @Generated + public Map getValue() { + return this.value; + } + + @Generated + public void setValue(Map value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof CompoundTag)) { + return false; + } else { + CompoundTag other = (CompoundTag)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof CompoundTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + return result; + } + + @Generated + public String toString() { + return "CompoundTag(value=" + String.valueOf(this.getValue()) + ")"; + } + + @Generated + public CompoundTag() { + } + + @Generated + public CompoundTag(Map value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/DoubleTag.java b/src/main/java/net/md_5/bungee/nbt/type/DoubleTag.java new file mode 100644 index 0000000..edfba72 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/DoubleTag.java @@ -0,0 +1,79 @@ +package net.md_5.bungee.nbt.type; + +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class DoubleTag implements TypedTag { + private double value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(16L); + this.value = input.readDouble(); + } + + public void write(DataOutput output) throws IOException { + output.writeDouble(this.value); + } + + public byte getId() { + return 6; + } + + @Generated + public double getValue() { + return this.value; + } + + @Generated + public void setValue(double value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DoubleTag)) { + return false; + } else { + DoubleTag other = (DoubleTag)o; + if (!other.canEqual(this)) { + return false; + } else { + return Double.compare(this.getValue(), other.getValue()) == 0; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof DoubleTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $value = Double.doubleToLongBits(this.getValue()); + result = result * 59 + (int)($value >>> 32 ^ $value); + return result; + } + + @Generated + public String toString() { + return "DoubleTag(value=" + this.getValue() + ")"; + } + + @Generated + public DoubleTag() { + } + + @Generated + public DoubleTag(double value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/EndTag.java b/src/main/java/net/md_5/bungee/nbt/type/EndTag.java new file mode 100644 index 0000000..dd6e381 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/EndTag.java @@ -0,0 +1,50 @@ +package net.md_5.bungee.nbt.type; + +import java.io.DataInput; +import java.io.DataOutput; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class EndTag implements TypedTag { + public static final EndTag INSTANCE = new EndTag(); + + public void read(DataInput input, NBTLimiter limiter) { + limiter.countBytes(8L); + } + + public void write(DataOutput output) { + } + + public byte getId() { + return 0; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof EndTag)) { + return false; + } else { + EndTag other = (EndTag)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof EndTag; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } + + @Generated + public String toString() { + return "EndTag()"; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/FloatTag.java b/src/main/java/net/md_5/bungee/nbt/type/FloatTag.java new file mode 100644 index 0000000..4a9964c --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/FloatTag.java @@ -0,0 +1,78 @@ +package net.md_5.bungee.nbt.type; + +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class FloatTag implements TypedTag { + private float value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(12L); + this.value = input.readFloat(); + } + + public void write(DataOutput output) throws IOException { + output.writeFloat(this.value); + } + + public byte getId() { + return 5; + } + + @Generated + public float getValue() { + return this.value; + } + + @Generated + public void setValue(float value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof FloatTag)) { + return false; + } else { + FloatTag other = (FloatTag)o; + if (!other.canEqual(this)) { + return false; + } else { + return Float.compare(this.getValue(), other.getValue()) == 0; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof FloatTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + Float.floatToIntBits(this.getValue()); + return result; + } + + @Generated + public String toString() { + return "FloatTag(value=" + this.getValue() + ")"; + } + + @Generated + public FloatTag() { + } + + @Generated + public FloatTag(float value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/IntArrayTag.java b/src/main/java/net/md_5/bungee/nbt/type/IntArrayTag.java new file mode 100644 index 0000000..f5f46cb --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/IntArrayTag.java @@ -0,0 +1,94 @@ +package net.md_5.bungee.nbt.type; + +import com.google.common.base.Preconditions; +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class IntArrayTag implements TypedTag { + private int[] value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(24L); + int length = input.readInt(); + limiter.countBytes((long)length, 4L); + int[] data = new int[length]; + + for(int i = 0; i < length; ++i) { + data[i] = input.readInt(); + } + + this.value = data; + } + + public void write(DataOutput output) throws IOException { + Preconditions.checkNotNull(this.value, "int array value cannot be null"); + output.writeInt(this.value.length); + + for(int i : this.value) { + output.writeInt(i); + } + + } + + public byte getId() { + return 11; + } + + @Generated + public int[] getValue() { + return this.value; + } + + @Generated + public void setValue(int[] value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof IntArrayTag)) { + return false; + } else { + IntArrayTag other = (IntArrayTag)o; + if (!other.canEqual(this)) { + return false; + } else { + return Arrays.equals(this.getValue(), other.getValue()); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof IntArrayTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + Arrays.hashCode(this.getValue()); + return result; + } + + @Generated + public String toString() { + return "IntArrayTag(value=" + Arrays.toString(this.getValue()) + ")"; + } + + @Generated + public IntArrayTag() { + } + + @Generated + public IntArrayTag(int[] value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/IntTag.java b/src/main/java/net/md_5/bungee/nbt/type/IntTag.java new file mode 100644 index 0000000..1c5b2a1 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/IntTag.java @@ -0,0 +1,78 @@ +package net.md_5.bungee.nbt.type; + +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class IntTag implements TypedTag { + private int value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(12L); + this.value = input.readInt(); + } + + public void write(DataOutput output) throws IOException { + output.writeInt(this.value); + } + + public byte getId() { + return 3; + } + + @Generated + public int getValue() { + return this.value; + } + + @Generated + public void setValue(int value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof IntTag)) { + return false; + } else { + IntTag other = (IntTag)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getValue() == other.getValue(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof IntTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getValue(); + return result; + } + + @Generated + public String toString() { + return "IntTag(value=" + this.getValue() + ")"; + } + + @Generated + public IntTag() { + } + + @Generated + public IntTag(int value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/ListTag.java b/src/main/java/net/md_5/bungee/nbt/type/ListTag.java new file mode 100644 index 0000000..7a46203 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/ListTag.java @@ -0,0 +1,151 @@ +package net.md_5.bungee.nbt.type; + +import com.google.common.base.Preconditions; +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.nbt.Tag; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.exception.NBTFormatException; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class ListTag implements TypedTag { + public static final int LIST_HEADER = 12; + private List value; + private byte listType; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.push(); + limiter.countBytes(37L); + this.listType = input.readByte(); + int length = input.readInt(); + if (length < 0) { + throw new NBTFormatException("ListTag length cannot be negative"); + } else if (this.listType == 0 && length > 0) { + throw new NBTFormatException("Missing type in ListTag"); + } else { + limiter.countBytes((long)length, 4L); + List tagList = new ArrayList(length); + + for(int i = 0; i < length; ++i) { + tagList.add(Tag.readById(this.listType, input, limiter)); + } + + limiter.pop(); + this.value = tagList; + } + } + + public void write(DataOutput output) throws IOException { + Preconditions.checkNotNull(this.value, "list value cannot be null"); + if (this.listType == 0 && !this.value.isEmpty()) { + throw new NBTFormatException("Missing type in ListTag"); + } else { + output.writeByte(this.listType); + output.writeInt(this.value.size()); + + for(TypedTag tag : this.value) { + if (tag.getId() != this.listType) { + throw new NBTFormatException("ListTag type mismatch"); + } + + tag.write(output); + } + + } + } + + public byte getId() { + return 9; + } + + public TypedTag get(int index) { + return (TypedTag)this.value.get(index); + } + + public int size() { + return this.value.size(); + } + + @Generated + public List getValue() { + return this.value; + } + + @Generated + public byte getListType() { + return this.listType; + } + + @Generated + public void setValue(List value) { + this.value = value; + } + + @Generated + public void setListType(byte listType) { + this.listType = listType; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ListTag)) { + return false; + } else { + ListTag other = (ListTag)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getListType() != other.getListType()) { + return false; + } else { + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ListTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getListType(); + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getValue()); + return "ListTag(value=" + var10000 + ", listType=" + this.getListType() + ")"; + } + + @Generated + public ListTag() { + } + + @Generated + public ListTag(List value, byte listType) { + this.value = value; + this.listType = listType; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/LongArrayTag.java b/src/main/java/net/md_5/bungee/nbt/type/LongArrayTag.java new file mode 100644 index 0000000..672af59 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/LongArrayTag.java @@ -0,0 +1,94 @@ +package net.md_5.bungee.nbt.type; + +import com.google.common.base.Preconditions; +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class LongArrayTag implements TypedTag { + private long[] value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(24L); + int length = input.readInt(); + limiter.countBytes((long)length, 8L); + long[] data = new long[length]; + + for(int i = 0; i < length; ++i) { + data[i] = input.readLong(); + } + + this.value = data; + } + + public void write(DataOutput output) throws IOException { + Preconditions.checkNotNull(this.value, "long array value cannot be null"); + output.writeInt(this.value.length); + + for(long i : this.value) { + output.writeLong(i); + } + + } + + public byte getId() { + return 12; + } + + @Generated + public long[] getValue() { + return this.value; + } + + @Generated + public void setValue(long[] value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LongArrayTag)) { + return false; + } else { + LongArrayTag other = (LongArrayTag)o; + if (!other.canEqual(this)) { + return false; + } else { + return Arrays.equals(this.getValue(), other.getValue()); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LongArrayTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + Arrays.hashCode(this.getValue()); + return result; + } + + @Generated + public String toString() { + return "LongArrayTag(value=" + Arrays.toString(this.getValue()) + ")"; + } + + @Generated + public LongArrayTag() { + } + + @Generated + public LongArrayTag(long[] value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/LongTag.java b/src/main/java/net/md_5/bungee/nbt/type/LongTag.java new file mode 100644 index 0000000..2d51b3b --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/LongTag.java @@ -0,0 +1,79 @@ +package net.md_5.bungee.nbt.type; + +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class LongTag implements TypedTag { + private long value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(16L); + this.value = input.readLong(); + } + + public void write(DataOutput output) throws IOException { + output.writeLong(this.value); + } + + public byte getId() { + return 4; + } + + @Generated + public long getValue() { + return this.value; + } + + @Generated + public void setValue(long value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LongTag)) { + return false; + } else { + LongTag other = (LongTag)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getValue() == other.getValue(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LongTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $value = this.getValue(); + result = result * 59 + (int)($value >>> 32 ^ $value); + return result; + } + + @Generated + public String toString() { + return "LongTag(value=" + this.getValue() + ")"; + } + + @Generated + public LongTag() { + } + + @Generated + public LongTag(long value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/ShortTag.java b/src/main/java/net/md_5/bungee/nbt/type/ShortTag.java new file mode 100644 index 0000000..43d7ede --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/ShortTag.java @@ -0,0 +1,78 @@ +package net.md_5.bungee.nbt.type; + +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class ShortTag implements TypedTag { + private short value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(10L); + this.value = input.readShort(); + } + + public void write(DataOutput output) throws IOException { + output.writeShort(this.value); + } + + public byte getId() { + return 2; + } + + @Generated + public short getValue() { + return this.value; + } + + @Generated + public void setValue(short value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ShortTag)) { + return false; + } else { + ShortTag other = (ShortTag)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getValue() == other.getValue(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ShortTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getValue(); + return result; + } + + @Generated + public String toString() { + return "ShortTag(value=" + this.getValue() + ")"; + } + + @Generated + public ShortTag() { + } + + @Generated + public ShortTag(short value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/nbt/type/StringTag.java b/src/main/java/net/md_5/bungee/nbt/type/StringTag.java new file mode 100644 index 0000000..7503300 --- /dev/null +++ b/src/main/java/net/md_5/bungee/nbt/type/StringTag.java @@ -0,0 +1,93 @@ +package net.md_5.bungee.nbt.type; + +import com.google.common.base.Preconditions; +import java.io.DataInput; +import java.io.DataOutput; +import java.io.IOException; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; + +public class StringTag implements TypedTag { + private String value; + + public void read(DataInput input, NBTLimiter limiter) throws IOException { + limiter.countBytes(36L); + String string = input.readUTF(); + limiter.countBytes((long)string.length(), 2L); + this.value = string; + } + + public void write(DataOutput output) throws IOException { + Preconditions.checkNotNull(this.value, "string value cannot be null"); + output.writeUTF(this.value); + } + + public byte getId() { + return 8; + } + + @Generated + public String getValue() { + return this.value; + } + + @Generated + public void setValue(String value) { + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof StringTag)) { + return false; + } else { + StringTag other = (StringTag)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof StringTag; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + return result; + } + + @Generated + public String toString() { + return "StringTag(value=" + this.getValue() + ")"; + } + + @Generated + public StringTag() { + } + + @Generated + public StringTag(String value) { + this.value = value; + } +} diff --git a/src/main/java/net/md_5/bungee/netty/ChannelWrapper.java b/src/main/java/net/md_5/bungee/netty/ChannelWrapper.java new file mode 100644 index 0000000..39ab137 --- /dev/null +++ b/src/main/java/net/md_5/bungee/netty/ChannelWrapper.java @@ -0,0 +1,284 @@ +package net.md_5.bungee.netty; + +import com.google.common.base.Preconditions; +import dev._2lstudios.flamecord.FlameCord; +import io.netty.channel.Channel; +import io.netty.channel.ChannelFutureListener; +import io.netty.channel.ChannelHandler; +import io.netty.channel.ChannelHandlerContext; +import io.netty.channel.ChannelPipeline; +import io.netty.util.concurrent.GenericFutureListener; +import java.net.SocketAddress; +import java.util.Queue; +import java.util.concurrent.ConcurrentLinkedQueue; +import java.util.concurrent.TimeUnit; +import java.util.logging.Level; +import lombok.Generated; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.compress.PacketDecompressor; +import net.md_5.bungee.netty.cipher.CipherEncoder; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.MinecraftDecoder; +import net.md_5.bungee.protocol.MinecraftEncoder; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.protocol.packet.LoginPayloadRequest; +import net.md_5.bungee.protocol.packet.LoginSuccess; + +public class ChannelWrapper { + private final Channel ch; + private SocketAddress remoteAddress; + private volatile boolean closed; + private volatile boolean closing; + private ChannelPipeline pipeline; + private MinecraftDecoder decoder; + private MinecraftEncoder encoder; + private volatile boolean queueGamePacket = false; + private final Queue packetQueue = new ConcurrentLinkedQueue(); + + public void beginHandshake() { + this.queueGamePacket = true; + } + + public void endHandshake() { + this.queueGamePacket = false; + + while(!this.packetQueue.isEmpty()) { + this.write(this.packetQueue.poll()); + } + + } + + public ChannelWrapper(ChannelHandlerContext ctx) { + this.ch = ctx.channel(); + this.remoteAddress = this.ch.remoteAddress() == null ? this.ch.parent().localAddress() : this.ch.remoteAddress(); + this.pipeline = this.ch.pipeline(); + this.decoder = (MinecraftDecoder)this.pipeline.get(MinecraftDecoder.class); + this.encoder = (MinecraftEncoder)this.pipeline.get(MinecraftEncoder.class); + } + + public Protocol getDecodeProtocol() { + return this.decoder.getProtocol(); + } + + public void setDecodeProtocol(Protocol protocol) { + this.decoder.setProtocol(protocol); + } + + public Protocol getEncodeProtocol() { + return this.encoder.getProtocol(); + } + + public void setEncodeProtocol(Protocol protocol) { + this.encoder.setProtocol(protocol); + } + + public void setProtocol(Protocol protocol) { + this.setDecodeProtocol(protocol); + this.setEncodeProtocol(protocol); + } + + public void setVersion(int protocol) { + this.decoder.setProtocolVersion(protocol); + this.encoder.setProtocolVersion(protocol); + } + + public MinecraftDecoder getMinecraftDecoder() { + return (MinecraftDecoder)this.ch.pipeline().get(MinecraftDecoder.class); + } + + public MinecraftEncoder getMinecraftEncoder() { + return (MinecraftEncoder)this.ch.pipeline().get(MinecraftEncoder.class); + } + + public int getEncodeVersion() { + return this.encoder.getProtocolVersion(); + } + + public void write(Object packet) { + if (!this.closed) { + if (this.queueGamePacket) { + Object actual = packet instanceof PacketWrapper ? ((PacketWrapper)packet).packet : packet; + if (!(actual instanceof LoginPayloadRequest) && !(actual instanceof Kick) && !(actual instanceof LoginSuccess)) { + this.packetQueue.add(packet); + } else { + this.ch.writeAndFlush(actual, this.ch.voidPromise()); + } + + return; + } + + DefinedPacket defined = null; + if (packet instanceof PacketWrapper) { + PacketWrapper wrapper = (PacketWrapper)packet; + wrapper.setReleased(true); + this.ch.writeAndFlush(wrapper.buf, this.ch.voidPromise()); + defined = wrapper.packet; + } else { + this.ch.writeAndFlush(packet, this.ch.voidPromise()); + if (packet instanceof DefinedPacket) { + defined = (DefinedPacket)packet; + } + } + + if (defined != null) { + Protocol nextProtocol = defined.nextProtocol(); + if (nextProtocol != null) { + this.setEncodeProtocol(nextProtocol); + } + } + } + + } + + public void markClosed() { + this.closed = this.closing = true; + } + + public void close() { + this.close((Object)null); + } + + public void close(Object packet) { + if (!this.closed) { + if (!this.closing) { + this.ch.config().setAutoRead(false); + } + + this.closed = this.closing = true; + if (this.ch.isActive()) { + this.ch.config().setAutoRead(false); + if (packet != null) { + this.ch.writeAndFlush(packet).addListeners(new GenericFutureListener[]{ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE, ChannelFutureListener.CLOSE}); + } else { + this.ch.close(); + } + } + } + + } + + public void delayedClose(final Kick kick) { + if (!this.closing) { + this.closing = true; + this.ch.config().setAutoRead(false); + this.ch.config().setAutoRead(false); + this.ch.eventLoop().schedule(new Runnable() { + public void run() { + ChannelWrapper.this.close(kick); + } + }, 250L, TimeUnit.MILLISECONDS); + } + + } + + public void addBefore(String baseName, String name, ChannelHandler handler) { + Preconditions.checkState(this.ch.eventLoop().inEventLoop(), "cannot add handler outside of event loop"); + this.pipeline.addBefore(baseName, name, handler); + } + + public Channel getHandle() { + return this.ch; + } + + public void setCompressionThreshold(int compressionThreshold) { + LengthPrependerAndCompressor compressor = (LengthPrependerAndCompressor)this.pipeline.get(LengthPrependerAndCompressor.class); + PacketDecompressor decompressor = (PacketDecompressor)this.pipeline.get(PacketDecompressor.class); + if (compressionThreshold >= 0) { + if (!compressor.isCompress()) { + compressor.setCompress(true); + } + + compressor.setThreshold(compressionThreshold); + if (decompressor == null) { + int compressionLevel = FlameCord.getInstance().getFlameCordConfiguration().getCompressionLevel(); + this.addBefore("packet-decoder", "decompress", new PacketDecompressor(compressionThreshold, compressionLevel)); + } + } else { + compressor.setCompress(false); + if (decompressor != null) { + this.pipeline.remove("decompress"); + } + } + + this.updateComposite(); + } + + public void updateComposite() { + CipherEncoder cipherEncoder = (CipherEncoder)this.ch.pipeline().get(CipherEncoder.class); + LengthPrependerAndCompressor prependerAndCompressor = (LengthPrependerAndCompressor)this.ch.pipeline().get(LengthPrependerAndCompressor.class); + boolean compressorCompose = cipherEncoder == null || cipherEncoder.getCipher().allowComposite(); + if (prependerAndCompressor != null) { + ProxyServer.getInstance().getLogger().log(Level.FINE, "set prepender compose to {0} for {1}", new Object[]{compressorCompose, this.ch}); + prependerAndCompressor.setCompose(compressorCompose); + } + + } + + public void scheduleIfNecessary(Runnable task) { + if (this.ch.eventLoop().inEventLoop()) { + task.run(); + } else { + this.ch.eventLoop().submit(task).addListener((future) -> { + if (!future.isSuccess()) { + this.ch.pipeline().fireExceptionCaught(future.cause()); + } + + }); + } + } + + public Channel getChannel() { + return this.ch; + } + + public void write(PacketWrapper packet) { + if (!this.closed) { + packet.setReleased(true); + this.ch.writeAndFlush(packet.buf, this.ch.voidPromise()); + if (packet.packet != null) { + Protocol nextProtocol = packet.packet.nextProtocol(); + if (nextProtocol != null) { + this.setEncodeProtocol(nextProtocol); + } + } + } + + } + + @Generated + public SocketAddress getRemoteAddress() { + return this.remoteAddress; + } + + @Generated + public void setRemoteAddress(SocketAddress remoteAddress) { + this.remoteAddress = remoteAddress; + } + + @Generated + public boolean isClosed() { + return this.closed; + } + + @Generated + public boolean isClosing() { + return this.closing; + } + + @Generated + public ChannelPipeline getPipeline() { + return this.pipeline; + } + + @Generated + public MinecraftDecoder getDecoder() { + return this.decoder; + } + + @Generated + public MinecraftEncoder getEncoder() { + return this.encoder; + } +} diff --git a/src/main/java/net/md_5/bungee/netty/HandlerBoss.java b/src/main/java/net/md_5/bungee/netty/HandlerBoss.java new file mode 100644 index 0000000..f144c36 --- /dev/null +++ b/src/main/java/net/md_5/bungee/netty/HandlerBoss.java @@ -0,0 +1,263 @@ +package net.md_5.bungee.netty; + +import com.google.common.base.Preconditions; +import dev._2lstudios.flamecord.FlameCord; +import io.netty.channel.ChannelHandlerContext; +import io.netty.channel.ChannelInboundHandlerAdapter; +import io.netty.handler.codec.CorruptedFrameException; +import io.netty.handler.codec.DecoderException; +import io.netty.handler.codec.haproxy.HAProxyMessage; +import io.netty.handler.timeout.ReadTimeoutException; +import io.netty.handler.timeout.WriteTimeoutException; +import java.io.IOException; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.util.logging.Level; +import java.util.logging.LogRecord; +import lombok.Generated; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.connection.CancelSendSignal; +import net.md_5.bungee.connection.InitialHandler; +import net.md_5.bungee.connection.PingHandler; +import net.md_5.bungee.connection.UpstreamBridge; +import net.md_5.bungee.protocol.BadPacketException; +import net.md_5.bungee.protocol.FastDecoderException; +import net.md_5.bungee.protocol.MinecraftDecoder; +import net.md_5.bungee.protocol.OverflowPacketException; +import net.md_5.bungee.protocol.PacketWrapper; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.util.PacketLimiter; +import net.md_5.bungee.util.QuietException; + +public class HandlerBoss extends ChannelInboundHandlerAdapter { + private PacketLimiter limiter; + private ChannelWrapper channel; + private PacketHandler handler; + private boolean healthCheck; + private final OptimisticExceptionTracker optimisticExceptionTracker = new OptimisticExceptionTracker(); + + private boolean isPlayerConnection(ChannelHandlerContext ctx) { + return Boolean.FALSE.equals(ctx.channel().attr(PipelineUtils.TO_SERVER).get()); + } + + public void setHandler(PacketHandler handler) { + Preconditions.checkArgument(handler != null, "handler"); + if (this.handler != null) { + this.handler.handlerChanged(); + } + + this.handler = handler; + } + + public void channelActive(ChannelHandlerContext ctx) throws Exception { + if (this.handler != null) { + this.channel = new ChannelWrapper(ctx); + this.handler.connected(this.channel); + if (!(this.handler instanceof InitialHandler) && !(this.handler instanceof PingHandler) && FlameCord.getInstance().getFlameCordConfiguration().isLoggerInitialhandler()) { + ProxyServer.getInstance().getLogger().log(Level.INFO, "{0} has connected", this.handler); + } + } + + } + + public void channelInactive(ChannelHandlerContext ctx) throws Exception { + if (this.handler != null) { + this.channel.markClosed(); + this.handler.disconnected(this.channel); + if (!(this.handler instanceof InitialHandler) && !(this.handler instanceof PingHandler) && FlameCord.getInstance().getFlameCordConfiguration().isLoggerInitialhandler()) { + ProxyServer.getInstance().getLogger().log(Level.INFO, "{0} has disconnected", this.handler); + } + + this.setHandler((PacketHandler)null); + } + + } + + public void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exception { + if (this.handler != null) { + this.handler.writabilityChanged(this.channel); + } + + } + + public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception { + if (!ctx.channel().isActive()) { + if (msg instanceof PacketWrapper) { + ((PacketWrapper)msg).trySingleRelease(); + } + + } else if (msg instanceof HAProxyMessage) { + HAProxyMessage proxy = (HAProxyMessage)msg; + + try { + if (proxy.sourceAddress() == null) { + this.healthCheck = true; + return; + } + + InetSocketAddress newAddress = new InetSocketAddress(proxy.sourceAddress(), proxy.sourcePort()); + if (FlameCord.getInstance().getFlameCordConfiguration().isLoggerHaProxy()) { + ProxyServer.getInstance().getLogger().log(Level.FINE, "Set remote address via PROXY {0} -> {1}", new Object[]{this.channel.getRemoteAddress(), newAddress}); + } + + this.channel.setRemoteAddress(newAddress); + FlameCord flameCord = FlameCord.getInstance(); + String firewallReason = flameCord.getAddressDataManager().getAddressData((SocketAddress)newAddress).getFirewallReason(); + if (firewallReason == null) { + return; + } + + if (flameCord.getFlameCordConfiguration().isAntibotFirewallLog()) { + flameCord.getLoggerWrapper().log(Level.INFO, "[{0}] is firewalled from the server. ({1})", newAddress, firewallReason); + } + + this.channel.close(); + } finally { + proxy.release(); + } + + } else { + PacketWrapper packet = (PacketWrapper)msg; + + try { + if (this.limiter == null || this.limiter.incrementAndCheck(packet.buf.readableBytes())) { + if (packet.packet != null) { + Protocol nextProtocol = packet.packet.nextProtocol(); + if (nextProtocol != null) { + this.channel.setDecodeProtocol(nextProtocol); + } + } + + if (this.handler == null) { + return; + } + + boolean sendPacket = this.handler.shouldHandle(packet); + if (sendPacket && packet.packet != null) { + try { + packet.packet.handle(this.handler); + } catch (CancelSendSignal var15) { + sendPacket = false; + } + } + + if (sendPacket) { + this.handler.handle(packet); + } + + return; + } + + this.channel.close(this.handler instanceof UpstreamBridge ? new Kick(TextComponent.fromLegacy(ProxyServer.getInstance().getTranslation("packet_limit_kick", this.limiter.getCounter(), this.limiter.getDataCounter()))) : null); + ProxyServer.getInstance().getLogger().log(Level.WARNING, "{0} exceeded packet limit ({1} packets and {2} bytes per second)", new Object[]{this.handler, this.limiter.getCounter(), this.limiter.getDataCounter()}); + } finally { + packet.trySingleRelease(); + } + + } + } + + public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { + if (ctx.channel().isActive()) { + boolean allowOptimisticException = this.shouldAllowOptimisticException(ctx, cause); + if (!allowOptimisticException) { + FlameCord flameCord = FlameCord.getInstance(); + String reason = cause.getClass().getSimpleName(); + if (this.isPlayerConnection(ctx) && flameCord.getFlameCordConfiguration().getAntibotFirewalledExceptions().contains(reason)) { + flameCord.getAddressDataManager().getAddressData(this.channel == null ? ctx.channel().remoteAddress() : this.channel.getRemoteAddress()).firewall(reason); + } + } + + boolean logExceptions = !(this.handler instanceof PingHandler) && !this.healthCheck; + logExceptions = FlameCord.getInstance().getFlameCordConfiguration().isLoggerExceptions() ? logExceptions : false; + if (logExceptions) { + if (cause instanceof ReadTimeoutException) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "{0} - read timed out", this.handler); + } else if (cause instanceof WriteTimeoutException) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "{0} - write timed out", this.handler); + } else if (cause instanceof DecoderException) { + if (MinecraftDecoder.DEBUG) { + LogRecord logRecord = new LogRecord(Level.WARNING, "{0} - A decoder exception has been thrown:"); + logRecord.setParameters(new Object[]{this.handler}); + logRecord.setThrown(cause); + ProxyServer.getInstance().getLogger().log(logRecord); + } else if (cause instanceof CorruptedFrameException) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "{0} - corrupted frame: {1}", new Object[]{this.handler, cause.getMessage()}); + } else if (cause.getCause() instanceof BadPacketException) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "{0} - bad packet, are mods in use!? {1}", new Object[]{this.handler, cause.getCause().getMessage()}); + } else if (cause.getCause() instanceof OverflowPacketException) { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "{0} - overflow in packet detected! {1}", new Object[]{this.handler, cause.getCause().getMessage()}); + } else { + ProxyServer.getInstance().getLogger().log(Level.WARNING, String.valueOf(this.handler) + " - could not decode packet!", cause); + } + } else if (!(cause instanceof IOException) && (!(cause instanceof IllegalStateException) || !(this.handler instanceof InitialHandler))) { + if (cause instanceof QuietException) { + ProxyServer.getInstance().getLogger().log(Level.SEVERE, "{0} - encountered exception: {1}", new Object[]{this.handler, cause}); + } else { + ProxyServer.getInstance().getLogger().log(Level.SEVERE, String.valueOf(this.handler) + " - encountered exception", cause); + } + } else { + ProxyServer.getInstance().getLogger().log(Level.WARNING, "{0} - {1}: {2}", new Object[]{this.handler, cause.getClass().getSimpleName(), cause.getMessage()}); + } + } + + if (allowOptimisticException) { + return; + } + + if (this.handler != null) { + try { + this.handler.exception(cause); + } catch (Exception ex) { + ProxyServer.getInstance().getLogger().log(Level.SEVERE, String.valueOf(this.handler) + " - exception processing exception", ex); + } + } + + ctx.close(); + } + + } + + private boolean shouldAllowOptimisticException(ChannelHandlerContext ctx, Throwable cause) { + if (!(this.handler instanceof UpstreamBridge)) { + return false; + } else if (this.channel == null) { + return false; + } else if (this.channel.getDecodeProtocol() != Protocol.GAME) { + return false; + } else { + FlameCord flameCord = FlameCord.getInstance(); + if (!flameCord.getFlameCordConfiguration().isOptimisticExceptionsEnabled()) { + return false; + } else if (!isOptimisticMinecraftDecodeCandidate(cause)) { + return false; + } else { + String packetClassName = (String)ctx.channel().attr(MinecraftDecoder.LAST_DECODE_FAILED_PACKET).get(); + ctx.channel().attr(MinecraftDecoder.LAST_DECODE_FAILED_PACKET).set(null); + if (cause instanceof FastDecoderException && ((FastDecoderException)cause).getPacketClassName() != null) { + packetClassName = ((FastDecoderException)cause).getPacketClassName(); + } + + return "ClientChatAcknowledgement".equals(packetClassName) ? this.optimisticExceptionTracker.allow("client-chat-acknowledgement", flameCord.getFlameCordConfiguration().getOptimisticExceptionsClientChatAcknowledgementThreshold(), (long)flameCord.getFlameCordConfiguration().getOptimisticExceptionsClientChatAcknowledgementPeriod()) : this.optimisticExceptionTracker.allow("default", flameCord.getFlameCordConfiguration().getOptimisticExceptionsDefaultThreshold(), (long)flameCord.getFlameCordConfiguration().getOptimisticExceptionsDefaultPeriod()); + } + } + } + + static boolean isOptimisticMinecraftDecodeCandidate(Throwable cause) { + if (cause instanceof FastDecoderException) { + return true; + } else if (!(cause instanceof DecoderException)) { + return false; + } else { + Throwable inner = cause.getCause(); + return inner instanceof BadPacketException || inner instanceof OverflowPacketException || inner instanceof CorruptedFrameException; + } + } + + @Generated + public void setLimiter(PacketLimiter limiter) { + this.limiter = limiter; + } +} diff --git a/src/main/java/net/md_5/bungee/netty/LengthPrependerAndCompressor.java b/src/main/java/net/md_5/bungee/netty/LengthPrependerAndCompressor.java new file mode 100644 index 0000000..2903a6e --- /dev/null +++ b/src/main/java/net/md_5/bungee/netty/LengthPrependerAndCompressor.java @@ -0,0 +1,163 @@ +package net.md_5.bungee.netty; + +import com.arkflame.flamecord.natives.Natives; +import com.arkflame.flamecord.natives.compress.Compressor; +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import io.netty.handler.codec.MessageToMessageEncoder; +import java.io.IOException; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.protocol.DefinedPacket; + +public class LengthPrependerAndCompressor extends MessageToMessageEncoder { + private static final byte MAX_SUPPORTED_VARINT_LENGTH_LEN = 4; + private static final byte FLAG_COMPRESS = 1; + private static final byte FLAG_COMPOSE = 2; + private static final byte FLAG_TWO_BUFFERS = 4; + private Compressor compressor = null; + private int threshold = 256; + private int level = 6; + private byte flags = 2; + + public LengthPrependerAndCompressor(boolean compose, boolean twoBuffers) { + this.setCompose(compose); + this.setTwoBuffers(twoBuffers); + } + + protected void encode(ChannelHandlerContext ctx, ByteBuf msg, List out) throws Exception { + int oldBodyLen = msg.readableBytes(); + byte flags = this.flags; + if ((flags & 1) != 0) { + if (oldBodyLen < this.threshold) { + byte lengthLen = varintSize(oldBodyLen + 1); + if ((flags & 4) != 0) { + ByteBuf lenBuf = ctx.alloc().directBuffer(lengthLen); + DefinedPacket.writeVarInt(oldBodyLen + 1, lenBuf); + lenBuf.writeByte(0); + out.add(lenBuf); + out.add(msg.retain()); + } else if ((flags & 2) != 0) { + ByteBuf pre = ctx.alloc().directBuffer(lengthLen + 1); + DefinedPacket.writeVarInt(oldBodyLen + 1, pre); + pre.writeByte(0); + out.add(ctx.alloc().compositeDirectBuffer(2).addComponents(true, new ByteBuf[]{pre, msg.retain()})); + } else { + ByteBuf buf = ctx.alloc().directBuffer(lengthLen + 1 + oldBodyLen); + DefinedPacket.writeVarInt(oldBodyLen + 1, buf); + out.add(buf.writeByte(0).writeBytes(msg)); + } + } else { + ByteBuf buf = ctx.alloc().directBuffer(8196 + varintSize(oldBodyLen)); + buf.writerIndex(4); + DefinedPacket.writeVarInt(oldBodyLen, buf); + this.compressor.deflate(msg, buf); + int writerIndex = buf.writerIndex(); + int compressedLen = writerIndex - 4; + byte lengthLen = varintSize(compressedLen); + int lengthStart = 4 - lengthLen; + DefinedPacket.setVarInt(compressedLen, buf, lengthStart, lengthLen); + buf.readerIndex(lengthStart); + out.add(buf); + } + } else { + byte lengthLen = varintSize(oldBodyLen); + if ((flags & 4) != 0) { + ByteBuf lenBuf = ctx.alloc().directBuffer(lengthLen); + DefinedPacket.writeVarInt(oldBodyLen, lenBuf); + out.add(lenBuf); + out.add(msg.retain()); + } else if ((flags & 2) != 0) { + ByteBuf pre = ctx.alloc().directBuffer(lengthLen); + DefinedPacket.writeVarInt(oldBodyLen, pre); + out.add(ctx.alloc().compositeDirectBuffer(2).addComponents(true, new ByteBuf[]{pre, msg.retain()})); + } else { + ByteBuf buf = ctx.alloc().directBuffer(lengthLen + oldBodyLen); + DefinedPacket.writeVarInt(oldBodyLen, buf); + out.add(buf.writeBytes(msg)); + } + } + + } + + public void handlerRemoved(ChannelHandlerContext ctx) throws Exception { + if (this.compressor != null) { + try { + this.compressor.close(); + this.compressor = null; + } catch (IOException e) { + e.printStackTrace(); + } + } + + } + + public void setCompose(boolean compose) { + if (compose) { + this.flags = (byte)(this.flags | 2); + } else { + this.flags &= -3; + } + + } + + public boolean isCompress() { + return (this.flags & 1) != 0; + } + + public void setCompress(boolean compress) { + if (compress) { + this.compressor = Natives.getCompressorFactory().create(this.level); + this.flags = (byte)(this.flags | 1); + } else { + this.flags &= -2; + if (this.compressor != null) { + try { + this.compressor.close(); + this.compressor = null; + } catch (IOException e) { + e.printStackTrace(); + } + } + } + + } + + public void setTwoBuffers(boolean twoBuffers) { + if (twoBuffers) { + this.flags = (byte)(this.flags | 4); + } else { + this.flags &= -5; + } + + } + + private static byte varintSize(int value) { + if ((value & -128) == 0) { + return 1; + } else if ((value & -16384) == 0) { + return 2; + } else if ((value & -2097152) == 0) { + return 3; + } else if ((value & -268435456) == 0) { + return 4; + } else { + throw new IllegalArgumentException("Packet length " + value + " longer than supported (max. 268435455 for 4 byte varint)"); + } + } + + @Generated + public Compressor getCompressor() { + return this.compressor; + } + + @Generated + public void setThreshold(int threshold) { + this.threshold = threshold; + } + + @Generated + public void setLevel(int level) { + this.level = level; + } +} diff --git a/src/main/java/net/md_5/bungee/netty/OptimisticExceptionTracker.java b/src/main/java/net/md_5/bungee/netty/OptimisticExceptionTracker.java new file mode 100644 index 0000000..f8a6f44 --- /dev/null +++ b/src/main/java/net/md_5/bungee/netty/OptimisticExceptionTracker.java @@ -0,0 +1,42 @@ +package net.md_5.bungee.netty; + +import java.util.HashMap; +import java.util.Map; +import java.util.function.LongSupplier; + +final class OptimisticExceptionTracker { + static final String DEFAULT_KEY = "default"; + static final String CLIENT_CHAT_ACKNOWLEDGEMENT_KEY = "client-chat-acknowledgement"; + private final Map states; + private final LongSupplier timeSupplier; + + OptimisticExceptionTracker() { + this(System::currentTimeMillis); + } + + OptimisticExceptionTracker(LongSupplier timeSupplier) { + this.states = new HashMap(); + this.timeSupplier = timeSupplier; + } + + boolean allow(String key, int threshold, long period) { + if (threshold > 0 && period > 0L) { + long now = this.timeSupplier.getAsLong(); + WindowState state = (WindowState)this.states.computeIfAbsent(key, (ignored) -> new WindowState()); + if (now < state.windowStart || now - state.windowStart >= period) { + state.windowStart = now; + state.count = 0; + } + + ++state.count; + return state.count <= threshold; + } else { + return false; + } + } + + private static final class WindowState { + private long windowStart; + private int count; + } +} diff --git a/src/main/java/net/md_5/bungee/netty/PacketHandler.java b/src/main/java/net/md_5/bungee/netty/PacketHandler.java new file mode 100644 index 0000000..01466d4 --- /dev/null +++ b/src/main/java/net/md_5/bungee/netty/PacketHandler.java @@ -0,0 +1,30 @@ +package net.md_5.bungee.netty; + +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.PacketWrapper; + +public abstract class PacketHandler extends AbstractPacketHandler { + public abstract String toString(); + + public boolean shouldHandle(PacketWrapper packet) throws Exception { + return true; + } + + public void exception(Throwable t) throws Exception { + } + + public void handle(PacketWrapper packet) throws Exception { + } + + public void connected(ChannelWrapper channel) throws Exception { + } + + public void disconnected(ChannelWrapper channel) throws Exception { + } + + public void writabilityChanged(ChannelWrapper channel) throws Exception { + } + + public void handlerChanged() { + } +} diff --git a/src/main/java/net/md_5/bungee/netty/PipelineUtils.java b/src/main/java/net/md_5/bungee/netty/PipelineUtils.java new file mode 100644 index 0000000..11a58fd --- /dev/null +++ b/src/main/java/net/md_5/bungee/netty/PipelineUtils.java @@ -0,0 +1,321 @@ +package net.md_5.bungee.netty; + +import com.google.common.base.Preconditions; +import dev._2lstudios.flamecord.FlameCord; +import io.github.waterfallmc.waterfall.event.ConnectionInitEvent; +import io.netty.channel.Channel; +import io.netty.channel.ChannelConfig; +import io.netty.channel.ChannelFactory; +import io.netty.channel.ChannelHandler; +import io.netty.channel.ChannelOption; +import io.netty.channel.ChannelPipeline; +import io.netty.channel.EventLoopGroup; +import io.netty.channel.MultiThreadIoEventLoopGroup; +import io.netty.channel.ServerChannel; +import io.netty.channel.WriteBufferWaterMark; +import io.netty.channel.epoll.Epoll; +import io.netty.channel.epoll.EpollDatagramChannel; +import io.netty.channel.epoll.EpollDomainSocketChannel; +import io.netty.channel.epoll.EpollIoHandler; +import io.netty.channel.epoll.EpollServerDomainSocketChannel; +import io.netty.channel.epoll.EpollServerSocketChannel; +import io.netty.channel.epoll.EpollSocketChannel; +import io.netty.channel.nio.NioIoHandler; +import io.netty.channel.socket.DatagramChannel; +import io.netty.channel.socket.InternetProtocolFamily; +import io.netty.channel.socket.SocketProtocolFamily; +import io.netty.channel.socket.nio.NioDatagramChannel; +import io.netty.channel.socket.nio.NioServerSocketChannel; +import io.netty.channel.socket.nio.NioSocketChannel; +import io.netty.channel.unix.DomainSocketAddress; +import io.netty.channel.uring.IoUring; +import io.netty.channel.uring.IoUringDatagramChannel; +import io.netty.channel.uring.IoUringIoHandler; +import io.netty.channel.uring.IoUringServerSocketChannel; +import io.netty.channel.uring.IoUringSocketChannel; +import io.netty.handler.codec.haproxy.HAProxyMessageDecoder; +import io.netty.handler.timeout.ReadTimeoutHandler; +import io.netty.handler.timeout.WriteTimeoutHandler; +import io.netty.util.AttributeKey; +import io.netty.util.internal.PlatformDependent; +import java.net.Inet6Address; +import java.net.InetAddress; +import java.net.InetSocketAddress; +import java.net.SocketAddress; +import java.nio.channels.spi.SelectorProvider; +import java.util.concurrent.ThreadFactory; +import java.util.concurrent.TimeUnit; +import java.util.logging.Level; +import java.util.logging.Logger; +import lombok.Generated; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.Util; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.config.ListenerInfo; +import net.md_5.bungee.api.event.ClientConnectEvent; +import net.md_5.bungee.connection.InitialHandler; +import net.md_5.bungee.protocol.KickStringWriter; +import net.md_5.bungee.protocol.LegacyDecoder; +import net.md_5.bungee.protocol.MinecraftDecoder; +import net.md_5.bungee.protocol.MinecraftEncoder; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.Varint21FrameDecoder; +import net.md_5.bungee.protocol.channel.BungeeChannelInitializer; +import net.md_5.bungee.protocol.channel.ChannelAcceptor; +import net.md_5.bungee.util.PacketLimiter; + +public class PipelineUtils { + public static final AttributeKey LISTENER = AttributeKey.valueOf("ListerInfo"); + public static final AttributeKey TO_SERVER = AttributeKey.newInstance("FlameCordToServer"); + private static final ChannelAcceptor BASE = new Base(false); + public static final ChannelAcceptor BASE_SERVERSIDE = new Base(true); + private static final KickStringWriter legacyKicker = new KickStringWriter(); + public static final String TIMEOUT_HANDLER = "timeout"; + public static final String WRITE_TIMEOUT_HANDLER = "write-timeout"; + public static final String PACKET_DECODER = "packet-decoder"; + public static final String PACKET_ENCODER = "packet-encoder"; + public static final String BOSS_HANDLER = "inbound-boss"; + public static final String ENCRYPT_HANDLER = "encrypt"; + public static final String DECRYPT_HANDLER = "decrypt"; + public static final String FRAME_DECODER = "frame-decoder"; + public static final String FRAME_PREPENDER_AND_COMPRESS = "frame-prepender-compress"; + public static final String LEGACY_DECODER = "legacy-decoder"; + public static final String LEGACY_KICKER = "legacy-kick"; + private static boolean epoll; + private static boolean io_uring; + private static final ChannelFactory serverChannelFactory; + private static final ChannelFactory serverChannelDomainFactory; + private static final ChannelFactory channelFactory; + private static final ChannelFactory channelDomainFactory; + private static final int LOW_MARK; + private static final int HIGH_MARK; + private static final WriteBufferWaterMark MARK; + + private static void setChannelInitializerHolders() { + ProxyServer.getInstance().unsafe().setFrontendChannelInitializer(BungeeChannelInitializer.create((ch) -> { + SocketAddress remoteAddress = ch.remoteAddress() == null ? ch.parent().localAddress() : ch.remoteAddress(); + if (BungeeCord.getInstance().getConnectionThrottle() != null && BungeeCord.getInstance().getConnectionThrottle().throttle(remoteAddress)) { + return false; + } else { + ListenerInfo listener = (ListenerInfo)ch.attr(LISTENER).get(); + if (!listener.isProxyProtocol()) { + FlameCord flameCord = FlameCord.getInstance(); + String firewallReason = flameCord.getAddressDataManager().getAddressData(remoteAddress).getFirewallReason(); + if (firewallReason != null) { + if (flameCord.getFlameCordConfiguration().isAntibotFirewallLog()) { + flameCord.getLoggerWrapper().log(Level.INFO, "[{0}] is firewalled from the server. ({1})", remoteAddress, firewallReason); + } + + ch.close(); + return false; + } + } + + if (((ClientConnectEvent)BungeeCord.getInstance().getPluginManager().callEvent(new ClientConnectEvent(remoteAddress, listener))).isCancelled()) { + return false; + } else { + ConnectionInitEvent connectionInitEvent = new ConnectionInitEvent(ch.remoteAddress(), listener, (result, throwable) -> { + if (result.isCancelled()) { + ch.close(); + } else { + try { + BASE.accept(ch); + } catch (Exception e) { + e.printStackTrace(); + ch.close(); + return; + } + + ch.pipeline().addBefore("frame-decoder", "legacy-decoder", new LegacyDecoder()); + ch.pipeline().addAfter("frame-decoder", "packet-decoder", new MinecraftDecoder(Protocol.HANDSHAKE, true, ProxyServer.getInstance().getProtocolVersion())); + ch.pipeline().addAfter("frame-prepender-compress", "packet-encoder", new MinecraftEncoder(Protocol.HANDSHAKE, true, ProxyServer.getInstance().getProtocolVersion())); + ch.pipeline().addBefore("frame-prepender-compress", "legacy-kick", legacyKicker); + HandlerBoss handlerBoss = (HandlerBoss)ch.pipeline().get(HandlerBoss.class); + handlerBoss.setHandler(new InitialHandler(BungeeCord.getInstance(), listener)); + int packetLimit = BungeeCord.getInstance().getConfig().getMaxPacketsPerSecond(); + int packetDataLimit = BungeeCord.getInstance().getConfig().getMaxPacketDataPerSecond(); + if (packetLimit > 0 || packetDataLimit > 0) { + handlerBoss.setLimiter(new PacketLimiter(packetLimit, packetDataLimit)); + } + + if (listener.isProxyProtocol()) { + ch.pipeline().addFirst(new ChannelHandler[]{new HAProxyMessageDecoder()}); + } + + } + }); + BungeeCord.getInstance().getPluginManager().callEvent(connectionInitEvent); + return true; + } + } + })); + ProxyServer.getInstance().unsafe().setBackendChannelInitializer(BungeeChannelInitializer.create((ch) -> { + BASE_SERVERSIDE.accept(ch); + ch.pipeline().addAfter("frame-decoder", "packet-decoder", new MinecraftDecoder(Protocol.HANDSHAKE, false, ProxyServer.getInstance().getProtocolVersion())); + ch.pipeline().addAfter("frame-prepender-compress", "packet-encoder", new MinecraftEncoder(Protocol.HANDSHAKE, false, ProxyServer.getInstance().getProtocolVersion())); + return true; + })); + ProxyServer.getInstance().unsafe().setServerInfoChannelInitializer(BungeeChannelInitializer.create(BASE_SERVERSIDE)); + } + + public static EventLoopGroup newEventLoopGroup(int threads, ThreadFactory factory) { + return new MultiThreadIoEventLoopGroup(threads, factory, io_uring ? IoUringIoHandler.newFactory() : (epoll ? EpollIoHandler.newFactory() : NioIoHandler.newFactory())); + } + + public static Class getServerChannel(SocketAddress address) { + if (address instanceof DomainSocketAddress) { + Preconditions.checkState(epoll, "Epoll required to have UNIX sockets"); + return EpollServerDomainSocketChannel.class; + } else { + return io_uring ? IoUringServerSocketChannel.class : (epoll ? EpollServerSocketChannel.class : NioServerSocketChannel.class); + } + } + + public static Class getChannel(SocketAddress address) { + if (address instanceof DomainSocketAddress) { + Preconditions.checkState(epoll, "Epoll required to have UNIX sockets"); + return EpollDomainSocketChannel.class; + } else { + return io_uring ? IoUringSocketChannel.class : (epoll ? EpollSocketChannel.class : NioSocketChannel.class); + } + } + + public static ChannelFactory getServerChannelFactory(SocketAddress address) { + return createServerChannelFactory(io_uring, epoll, address); + } + + public static ChannelFactory getChannelFactory(SocketAddress address) { + return createChannelFactory(io_uring, epoll, address); + } + + static ChannelFactory createServerChannelFactory(boolean io_uring, boolean epoll, SocketAddress address) { + if (address instanceof DomainSocketAddress) { + ChannelFactory factory = serverChannelDomainFactory; + Preconditions.checkState(factory != null, "Epoll required to have UNIX sockets"); + return factory; + } else if (isIpv6(address)) { + if (io_uring) { + return IoUringServerSocketChannel::new; + } else { + return epoll ? () -> new EpollServerSocketChannel(InternetProtocolFamily.IPv6) : () -> new NioServerSocketChannel(SelectorProvider.provider(), InternetProtocolFamily.IPv6); + } + } else { + return io_uring ? IoUringServerSocketChannel::new : (epoll ? EpollServerSocketChannel::new : NioServerSocketChannel::new); + } + } + + static ChannelFactory createChannelFactory(boolean io_uring, boolean epoll, SocketAddress address) { + if (address instanceof DomainSocketAddress) { + ChannelFactory factory = channelDomainFactory; + Preconditions.checkState(factory != null, "Epoll required to have UNIX sockets"); + return factory; + } else if (isIpv6(address)) { + if (io_uring) { + return IoUringSocketChannel::new; + } else { + return epoll ? () -> new EpollSocketChannel(InternetProtocolFamily.IPv6) : () -> new NioSocketChannel(SelectorProvider.provider(), InternetProtocolFamily.IPv6); + } + } else { + return io_uring ? IoUringSocketChannel::new : (epoll ? EpollSocketChannel::new : NioSocketChannel::new); + } + } + + public static Class getDatagramChannel() { + return io_uring ? IoUringDatagramChannel.class : (epoll ? EpollDatagramChannel.class : NioDatagramChannel.class); + } + + public static ChannelFactory getDatagramChannelFactory(SocketAddress address) { + return createDatagramChannelFactory(io_uring, epoll, address); + } + + static ChannelFactory createDatagramChannelFactory(boolean io_uring, boolean epoll, SocketAddress address) { + if (isIpv6(address)) { + if (io_uring) { + return () -> new IoUringDatagramChannel(SocketProtocolFamily.INET6); + } else { + return epoll ? () -> new EpollDatagramChannel(InternetProtocolFamily.IPv6) : () -> new NioDatagramChannel(InternetProtocolFamily.IPv6); + } + } else { + return io_uring ? IoUringDatagramChannel::new : (epoll ? EpollDatagramChannel::new : NioDatagramChannel::new); + } + } + + public static boolean isIpv6(SocketAddress address) { + if (address instanceof InetSocketAddress inet) { + InetAddress resolved = inet.getAddress(); + if (resolved instanceof Inet6Address) { + return true; + } + + if (resolved == null) { + String host = inet.getHostString(); + return host != null && host.indexOf(58) != -1; + } + } + + return false; + } + + static { + ProxyServer proxyServer = ProxyServer.getInstance(); + Logger logger = proxyServer == null ? Logger.getLogger("FlameCord") : proxyServer.getLogger(); + if (!PlatformDependent.isWindows()) { + if (Boolean.parseBoolean(System.getProperty("bungee.io_uring", "false"))) { + logger.info("Not on Windows, attempting to use enhanced IOUringEventLoopGroup"); + if (io_uring = IoUring.isAvailable()) { + logger.log(Level.WARNING, "io_uring is enabled and working, utilising it! (experimental feature)"); + } else { + logger.log(Level.WARNING, "io_uring is not working: {0}", Util.exception(IoUring.unavailabilityCause())); + } + } + + if (!io_uring && Boolean.parseBoolean(System.getProperty("bungee.epoll", "true"))) { + logger.info("Not on Windows, attempting to use enhanced EpollEventLoop"); + if (epoll = Epoll.isAvailable()) { + logger.info("Epoll is working, utilising it!"); + } else { + logger.log(Level.WARNING, "Epoll is not working, falling back to NIO: {0}", Util.exception(Epoll.unavailabilityCause())); + } + } + } + + if (proxyServer != null) { + setChannelInitializerHolders(); + } + + serverChannelFactory = io_uring ? IoUringServerSocketChannel::new : (epoll ? EpollServerSocketChannel::new : NioServerSocketChannel::new); + serverChannelDomainFactory = io_uring ? IoUringServerSocketChannel::new : (epoll ? EpollServerDomainSocketChannel::new : null); + channelFactory = io_uring ? IoUringSocketChannel::new : (epoll ? EpollSocketChannel::new : NioSocketChannel::new); + channelDomainFactory = io_uring ? IoUringSocketChannel::new : (epoll ? EpollDomainSocketChannel::new : null); + LOW_MARK = Integer.getInteger("net.md_5.bungee.low_mark", 524288); + HIGH_MARK = Integer.getInteger("net.md_5.bungee.high_mark", 2097152); + MARK = new WriteBufferWaterMark(LOW_MARK, HIGH_MARK); + } + + public static final class Base implements ChannelAcceptor { + private boolean toServer = false; + + public boolean accept(Channel ch) { + ChannelPipeline pipeline = ch.pipeline(); + ChannelConfig channelConfig = ch.config(); + channelConfig.setOption(ChannelOption.TCP_FASTOPEN, FlameCord.getInstance().getFlameCordConfiguration().getTcpFastOpen()); + channelConfig.setWriteBufferWaterMark(PipelineUtils.MARK); + ch.attr(PipelineUtils.TO_SERVER).set(this.toServer); + pipeline.addLast("frame-decoder", new Varint21FrameDecoder()); + pipeline.addLast("timeout", new ReadTimeoutHandler((long)BungeeCord.getInstance().config.getTimeout(), TimeUnit.MILLISECONDS)); + pipeline.addLast("write-timeout", new WriteTimeoutHandler((long)BungeeCord.getInstance().config.getTimeout(), TimeUnit.MILLISECONDS)); + pipeline.addLast("frame-prepender-compress", new LengthPrependerAndCompressor(true, this.toServer)); + pipeline.addLast("inbound-boss", new HandlerBoss()); + return true; + } + + @Generated + public Base() { + } + + @Generated + public Base(boolean toServer) { + this.toServer = toServer; + } + } +} diff --git a/src/main/java/net/md_5/bungee/netty/cipher/CipherDecoder.java b/src/main/java/net/md_5/bungee/netty/cipher/CipherDecoder.java new file mode 100644 index 0000000..5917a8f --- /dev/null +++ b/src/main/java/net/md_5/bungee/netty/cipher/CipherDecoder.java @@ -0,0 +1,25 @@ +package net.md_5.bungee.netty.cipher; + +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import io.netty.handler.codec.MessageToMessageDecoder; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.jni.cipher.BungeeCipher; + +public class CipherDecoder extends MessageToMessageDecoder { + private final BungeeCipher cipher; + + protected void decode(ChannelHandlerContext ctx, ByteBuf msg, List out) throws Exception { + out.add(this.cipher.cipher(ctx, msg)); + } + + public void handlerRemoved(ChannelHandlerContext ctx) throws Exception { + this.cipher.free(); + } + + @Generated + public CipherDecoder(BungeeCipher cipher) { + this.cipher = cipher; + } +} diff --git a/src/main/java/net/md_5/bungee/netty/cipher/CipherEncoder.java b/src/main/java/net/md_5/bungee/netty/cipher/CipherEncoder.java new file mode 100644 index 0000000..dfc2aa7 --- /dev/null +++ b/src/main/java/net/md_5/bungee/netty/cipher/CipherEncoder.java @@ -0,0 +1,29 @@ +package net.md_5.bungee.netty.cipher; + +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import io.netty.handler.codec.MessageToByteEncoder; +import lombok.Generated; +import net.md_5.bungee.jni.cipher.BungeeCipher; + +public class CipherEncoder extends MessageToByteEncoder { + private final BungeeCipher cipher; + + protected void encode(ChannelHandlerContext ctx, ByteBuf in, ByteBuf out) throws Exception { + this.cipher.cipher(in, out); + } + + public void handlerRemoved(ChannelHandlerContext ctx) throws Exception { + this.cipher.free(); + } + + @Generated + public CipherEncoder(BungeeCipher cipher) { + this.cipher = cipher; + } + + @Generated + public BungeeCipher getCipher() { + return this.cipher; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java b/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java new file mode 100644 index 0000000..047736f --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java @@ -0,0 +1,264 @@ +package net.md_5.bungee.protocol; + +import dev._2lstudios.flamecord.packets.Player; +import dev._2lstudios.flamecord.packets.PlayerPosition; +import dev._2lstudios.flamecord.packets.PlayerPositionAndLook; +import dev._2lstudios.flamecord.packets.TeleportConfirm; +import net.md_5.bungee.protocol.packet.BossBar; +import net.md_5.bungee.protocol.packet.BundleDelimiter; +import net.md_5.bungee.protocol.packet.Chat; +import net.md_5.bungee.protocol.packet.ClearDialog; +import net.md_5.bungee.protocol.packet.ClearTitles; +import net.md_5.bungee.protocol.packet.ClientChat; +import net.md_5.bungee.protocol.packet.ClientChatAcknowledgement; +import net.md_5.bungee.protocol.packet.ClientCommand; +import net.md_5.bungee.protocol.packet.ClientSettings; +import net.md_5.bungee.protocol.packet.Commands; +import net.md_5.bungee.protocol.packet.CookieRequest; +import net.md_5.bungee.protocol.packet.CookieResponse; +import net.md_5.bungee.protocol.packet.CustomClickAction; +import net.md_5.bungee.protocol.packet.DisconnectReportDetails; +import net.md_5.bungee.protocol.packet.EncryptionRequest; +import net.md_5.bungee.protocol.packet.EncryptionResponse; +import net.md_5.bungee.protocol.packet.EntityStatus; +import net.md_5.bungee.protocol.packet.FinishConfiguration; +import net.md_5.bungee.protocol.packet.GameState; +import net.md_5.bungee.protocol.packet.Handshake; +import net.md_5.bungee.protocol.packet.KeepAlive; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.protocol.packet.KnownPacks; +import net.md_5.bungee.protocol.packet.LegacyHandshake; +import net.md_5.bungee.protocol.packet.LegacyPing; +import net.md_5.bungee.protocol.packet.Login; +import net.md_5.bungee.protocol.packet.LoginAcknowledged; +import net.md_5.bungee.protocol.packet.LoginPayloadRequest; +import net.md_5.bungee.protocol.packet.LoginPayloadResponse; +import net.md_5.bungee.protocol.packet.LoginRequest; +import net.md_5.bungee.protocol.packet.LoginSuccess; +import net.md_5.bungee.protocol.packet.PingPacket; +import net.md_5.bungee.protocol.packet.PlayerListHeaderFooter; +import net.md_5.bungee.protocol.packet.PlayerListItem; +import net.md_5.bungee.protocol.packet.PlayerListItemRemove; +import net.md_5.bungee.protocol.packet.PlayerListItemUpdate; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.protocol.packet.Respawn; +import net.md_5.bungee.protocol.packet.ScoreboardDisplay; +import net.md_5.bungee.protocol.packet.ScoreboardObjective; +import net.md_5.bungee.protocol.packet.ScoreboardScore; +import net.md_5.bungee.protocol.packet.ScoreboardScoreReset; +import net.md_5.bungee.protocol.packet.ServerData; +import net.md_5.bungee.protocol.packet.ServerLinks; +import net.md_5.bungee.protocol.packet.SetCompression; +import net.md_5.bungee.protocol.packet.ShowDialog; +import net.md_5.bungee.protocol.packet.ShowDialogDirect; +import net.md_5.bungee.protocol.packet.StartConfiguration; +import net.md_5.bungee.protocol.packet.StatusRequest; +import net.md_5.bungee.protocol.packet.StatusResponse; +import net.md_5.bungee.protocol.packet.StoreCookie; +import net.md_5.bungee.protocol.packet.Subtitle; +import net.md_5.bungee.protocol.packet.SystemChat; +import net.md_5.bungee.protocol.packet.TabCompleteRequest; +import net.md_5.bungee.protocol.packet.TabCompleteResponse; +import net.md_5.bungee.protocol.packet.Team; +import net.md_5.bungee.protocol.packet.Title; +import net.md_5.bungee.protocol.packet.TitleTimes; +import net.md_5.bungee.protocol.packet.Transfer; +import net.md_5.bungee.protocol.packet.UnsignedClientCommand; +import net.md_5.bungee.protocol.packet.ViewDistance; + +public abstract class AbstractPacketHandler { + public void handle(Player player) throws Exception { + } + + public void handle(PlayerPosition pos) throws Exception { + } + + public void handle(TeleportConfirm confirm) throws Exception { + } + + public void handle(PlayerPositionAndLook posRot) throws Exception { + } + + public void handle(LegacyPing ping) throws Exception { + } + + public void handle(TabCompleteResponse tabResponse) throws Exception { + } + + public void handle(PingPacket ping) throws Exception { + } + + public void handle(StatusRequest statusRequest) throws Exception { + } + + public void handle(StatusResponse statusResponse) throws Exception { + } + + public void handle(Handshake handshake) throws Exception { + } + + public void handle(KeepAlive keepAlive) throws Exception { + } + + public void handle(Login login) throws Exception { + } + + public void handle(Chat chat) throws Exception { + } + + public void handle(ClientChat chat) throws Exception { + } + + public void handle(SystemChat chat) throws Exception { + } + + public void handle(ClientCommand command) throws Exception { + } + + public void handle(UnsignedClientCommand command) throws Exception { + } + + public void handle(Respawn respawn) throws Exception { + } + + public void handle(LoginRequest loginRequest) throws Exception { + } + + public void handle(ClientSettings settings) throws Exception { + } + + public void handle(PlayerListItem playerListItem) throws Exception { + } + + public void handle(PlayerListItemRemove playerListItem) throws Exception { + } + + public void handle(PlayerListItemUpdate playerListItem) throws Exception { + } + + public void handle(PlayerListHeaderFooter playerListHeaderFooter) throws Exception { + } + + public void handle(TabCompleteRequest tabComplete) throws Exception { + } + + public void handle(ScoreboardObjective scoreboardObjective) throws Exception { + } + + public void handle(ScoreboardScore scoreboardScore) throws Exception { + } + + public void handle(ScoreboardScoreReset scoreboardScoreReset) throws Exception { + } + + public void handle(EncryptionRequest encryptionRequest) throws Exception { + } + + public void handle(ScoreboardDisplay displayScoreboard) throws Exception { + } + + public void handle(Team team) throws Exception { + } + + public void handle(Title title) throws Exception { + } + + public void handle(Subtitle title) throws Exception { + } + + public void handle(TitleTimes title) throws Exception { + } + + public void handle(ClearTitles title) throws Exception { + } + + public void handle(PluginMessage pluginMessage) throws Exception { + } + + public void handle(Kick kick) throws Exception { + } + + public void handle(EncryptionResponse encryptionResponse) throws Exception { + } + + public void handle(LoginSuccess loginSuccess) throws Exception { + } + + public void handle(LegacyHandshake legacyHandshake) throws Exception { + } + + public void handle(SetCompression setCompression) throws Exception { + } + + public void handle(BossBar bossBar) throws Exception { + } + + public void handle(LoginPayloadRequest request) throws Exception { + } + + public void handle(LoginPayloadResponse response) throws Exception { + } + + public void handle(EntityStatus status) throws Exception { + } + + public void handle(Commands commands) throws Exception { + } + + public void handle(ViewDistance viewDistance) throws Exception { + } + + public void handle(GameState gameState) throws Exception { + } + + public void handle(ServerData serverData) throws Exception { + } + + public void handle(LoginAcknowledged loginAcknowledged) throws Exception { + } + + public void handle(StartConfiguration startConfiguration) throws Exception { + } + + public void handle(FinishConfiguration finishConfiguration) throws Exception { + } + + public void handle(Transfer transfer) throws Exception { + } + + public void handle(StoreCookie storeCookie) throws Exception { + } + + public void handle(CookieRequest cookieRequest) throws Exception { + } + + public void handle(CookieResponse cookieResponse) throws Exception { + } + + public void handle(DisconnectReportDetails disconnectReportDetails) throws Exception { + } + + public void handle(ServerLinks serverLinks) throws Exception { + } + + public void handle(ShowDialog showDialog) throws Exception { + } + + public void handle(ShowDialogDirect showDialogDirect) throws Exception { + } + + public void handle(ClearDialog clearDialog) throws Exception { + } + + public void handle(CustomClickAction customClickAction) throws Exception { + } + + public void handle(BundleDelimiter bundleDelimiter) throws Exception { + } + + public void handle(KnownPacks knownPacks) throws Exception { + } + + public void handle(ClientChatAcknowledgement clientChatAcknowledgement) { + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/BadPacketException.java b/src/main/java/net/md_5/bungee/protocol/BadPacketException.java new file mode 100644 index 0000000..cdb18a9 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/BadPacketException.java @@ -0,0 +1,19 @@ +package net.md_5.bungee.protocol; + +public class BadPacketException extends RuntimeException { + public BadPacketException(String message) { + super(message); + } + + public BadPacketException(String message, Throwable cause) { + super(message, cause); + } + + public Throwable initCause(Throwable cause) { + return (Throwable)(DefinedPacket.PROCESS_TRACES ? super.initCause(cause) : this); + } + + public Throwable fillInStackTrace() { + return (Throwable)(DefinedPacket.PROCESS_TRACES ? super.fillInStackTrace() : this); + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/ChatSerializer.java b/src/main/java/net/md_5/bungee/protocol/ChatSerializer.java new file mode 100644 index 0000000..52d8149 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/ChatSerializer.java @@ -0,0 +1,10 @@ +package net.md_5.bungee.protocol; + +import net.md_5.bungee.chat.ChatVersion; +import net.md_5.bungee.chat.VersionedComponentSerializer; + +public class ChatSerializer { + public static VersionedComponentSerializer forVersion(int protocolVersion) { + return protocolVersion >= 770 ? VersionedComponentSerializer.forVersion(ChatVersion.V1_21_5) : VersionedComponentSerializer.forVersion(ChatVersion.V1_16); + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java b/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java new file mode 100644 index 0000000..0506b80 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java @@ -0,0 +1,611 @@ +package net.md_5.bungee.protocol; + +import com.google.common.base.Function; +import com.google.common.base.Preconditions; +import com.google.gson.JsonElement; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.ByteBufInputStream; +import io.netty.buffer.ByteBufOutputStream; +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.BitSet; +import java.util.EnumSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.UUID; +import java.util.function.BiConsumer; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.ComponentStyle; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.nbt.NamedTag; +import net.md_5.bungee.nbt.Tag; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; +import net.md_5.bungee.nbt.type.EndTag; +import net.md_5.bungee.protocol.data.NumberFormat; +import net.md_5.bungee.protocol.data.PlayerPublicKey; +import net.md_5.bungee.protocol.data.Property; +import net.md_5.bungee.protocol.util.Either; +import net.md_5.bungee.protocol.util.TagUtil; +import se.llbit.nbt.SpecificTag; + +public abstract class DefinedPacket { + public static final boolean PROCESS_TRACES = Boolean.getBoolean("waterfall.bad-packet-traces"); + private static final OverflowPacketException OVERSIZED_VAR_INT_EXCEPTION = new OverflowPacketException("VarInt too big"); + private static final BadPacketException NO_MORE_BYTES_EXCEPTION = new BadPacketException("No more bytes reading varint"); + private static final OverflowPacketException STRING_TOO_LONG_EXCEPTION = new OverflowPacketException("A string was longer than allowed. For more information, launch Waterfall with -Dwaterfall.packet-decode-logging=true"); + private static final OverflowPacketException STRING_TOO_MANY_BYTES_EXCEPTION = new OverflowPacketException("A string had more data than allowed. For more information, launch Waterfall with -Dwaterfall.packet-decode-logging=true"); + + public static Optional readOptional(Function reader, ByteBuf buf) { + return buf.readBoolean() ? Optional.of(reader.apply(buf)) : Optional.empty(); + } + + public static T readNullable(Function reader, ByteBuf buf) { + return (T)(buf.readBoolean() ? reader.apply(buf) : null); + } + + public static void writeOptional(Optional t0, BiConsumer writer, ByteBuf buf) { + if (t0.isPresent()) { + buf.writeBoolean(true); + writer.accept(t0.get(), buf); + } else { + buf.writeBoolean(false); + } + + } + + public static void writeNullable(T t0, BiConsumer writer, ByteBuf buf) { + if (t0 != null) { + buf.writeBoolean(true); + writer.accept(t0, buf); + } else { + buf.writeBoolean(false); + } + + } + + public static short readOptionalGameMode(ByteBuf buf) { + int id = readVarInt(buf); + return (short)(id == 0 ? -1 : id - 1); + } + + public static void writeOptionalGameMode(short gameMode, ByteBuf buf) { + writeVarInt(gameMode != -1 && gameMode != 255 ? gameMode + 1 : 0, buf); + } + + public static T readLengthPrefixed(Function reader, ByteBuf buf, int maxSize) { + int size = readVarInt(buf); + if (size > maxSize) { + throw new OverflowPacketException("Cannot read length prefixed with limit " + maxSize + " (got size of " + size + ")"); + } else { + return (T)reader.apply(buf.readSlice(size)); + } + } + + public static void writeLengthPrefixed(T value, BiConsumer writer, ByteBuf buf, int maxSize) { + ByteBuf tempBuffer = buf.alloc().buffer(); + + try { + writer.accept(value, tempBuffer); + if (tempBuffer.readableBytes() > maxSize) { + throw new OverflowPacketException("Cannot write length prefixed with limit " + maxSize + " (got size of " + tempBuffer.readableBytes() + ")"); + } + + writeVarInt(tempBuffer.readableBytes(), buf); + buf.writeBytes(tempBuffer); + } finally { + tempBuffer.release(); + } + + } + + public static void writeString(String s, ByteBuf buf) { + writeString(s, buf, 32767); + } + + public static void writeString(String s, ByteBuf buf, int maxLength) { + if (s.length() > maxLength) { + throw new OverflowPacketException("Cannot send string longer than " + maxLength + " (got " + s.length() + " characters)"); + } else { + byte[] b = s.getBytes(StandardCharsets.UTF_8); + if (b.length > maxLength * 3) { + throw new OverflowPacketException("Cannot send string longer than " + maxLength * 3 + " (got " + b.length + " bytes)"); + } else { + writeVarInt(b.length, buf); + buf.writeBytes(b); + } + } + } + + public static T readStringMapKey(ByteBuf buf, Map map) { + String string = readString(buf); + T result = (T)map.get(string); + Preconditions.checkArgument(result != null, "Unknown string key %s", string); + return result; + } + + public static String readString(ByteBuf buf) { + return readString(buf, 32767); + } + + public static String readString(ByteBuf buf, int maxLen) { + int len = readVarInt(buf); + if (len > maxLen * 3) { + if (!MinecraftDecoder.DEBUG) { + throw STRING_TOO_MANY_BYTES_EXCEPTION; + } else { + throw new OverflowPacketException("Cannot receive string longer than " + maxLen * 3 + " (got " + len + " bytes)"); + } + } else { + String s = buf.readString(len, StandardCharsets.UTF_8); + if (s.length() > maxLen) { + if (!MinecraftDecoder.DEBUG) { + throw STRING_TOO_LONG_EXCEPTION; + } else { + throw new OverflowPacketException("Cannot receive string longer than " + maxLen + " (got " + s.length() + " characters)"); + } + } else { + return s; + } + } + } + + public static Either readEitherBaseComponent(ByteBuf buf, int protocolVersion, boolean string) { + return string ? Either.left(readString(buf)) : Either.right(readBaseComponent(buf, protocolVersion)); + } + + public static BaseComponent readBaseComponent(ByteBuf buf, int protocolVersion) { + return readBaseComponent(buf, 32767, protocolVersion); + } + + public static BaseComponent readBaseComponent(ByteBuf buf, int maxStringLength, int protocolVersion) { + if (protocolVersion >= 765) { + TypedTag nbt = (TypedTag)readTag(buf, protocolVersion); + JsonElement json = TagUtil.toJson(nbt); + return ChatSerializer.forVersion(protocolVersion).deserialize(json); + } else { + String string = readString(buf, maxStringLength); + return ChatSerializer.forVersion(protocolVersion).deserialize(string); + } + } + + public static ComponentStyle readComponentStyle(ByteBuf buf, int protocolVersion) { + TypedTag nbt = (TypedTag)readTag(buf, protocolVersion); + JsonElement json = TagUtil.toJson(nbt); + return ChatSerializer.forVersion(protocolVersion).deserializeStyle(json); + } + + public static void writeEitherBaseComponent(Either message, ByteBuf buf, int protocolVersion) { + if (message.isLeft()) { + writeString(message.getLeft(), buf); + } else if (protocolVersion <= 5) { + writeString(TextComponent.toLegacyText(new BaseComponent[]{message.getRight()}), buf); + } else { + writeBaseComponent(message.getRight(), buf, protocolVersion); + } + + } + + public static void writeBaseComponent(BaseComponent message, ByteBuf buf, int protocolVersion) { + if (protocolVersion >= 765) { + JsonElement json = ChatSerializer.forVersion(protocolVersion).toJson(message); + TypedTag nbt = TagUtil.fromJson(json); + writeTag((Tag)nbt, buf, protocolVersion); + } else { + String string = ChatSerializer.forVersion(protocolVersion).toString(message); + writeString(string, buf); + } + + } + + public static void writeComponentStyle(ComponentStyle style, ByteBuf buf, int protocolVersion) { + JsonElement json = ChatSerializer.forVersion(protocolVersion).toJson(style); + TypedTag nbt = TagUtil.fromJson(json); + writeTag((Tag)nbt, buf, protocolVersion); + } + + public static void writeArray(byte[] b, ByteBuf buf) { + if (b.length > 32767) { + throw new OverflowPacketException("Cannot send byte array longer than Short.MAX_VALUE (got " + b.length + " bytes)"); + } else { + writeVarInt(b.length, buf); + buf.writeBytes(b); + } + } + + public static byte[] toArray(ByteBuf buf) { + byte[] ret = new byte[buf.readableBytes()]; + buf.readBytes(ret); + return ret; + } + + public static byte[] readArray(ByteBuf buf) { + return readArray(buf, buf.readableBytes()); + } + + public static byte[] readArray(ByteBuf buf, int limit) { + int len = readVarInt(buf); + if (len > limit) { + throw new OverflowPacketException("Cannot receive byte array longer than " + limit + " (got " + len + " bytes)"); + } else { + byte[] ret = new byte[len]; + buf.readBytes(ret); + return ret; + } + } + + public static int[] readVarIntArray(ByteBuf buf) { + int len = readVarInt(buf); + int[] ret = new int[len]; + + for(int i = 0; i < len; ++i) { + ret[i] = readVarInt(buf); + } + + return ret; + } + + public static void writeStringArray(List s, ByteBuf buf) { + writeVarInt(s.size(), buf); + + for(String str : s) { + writeString(str, buf); + } + + } + + public static List readStringArray(ByteBuf buf) { + int len = readVarInt(buf); + List ret = new ArrayList(len); + + for(int i = 0; i < len; ++i) { + ret.add(readString(buf)); + } + + return ret; + } + + public static int readVarInt(ByteBuf input) { + return readVarInt(input, 5); + } + + public static int readVarInt(ByteBuf input, int maxBytes) { + int out = 0; + int bytes = 0; + + while(input.readableBytes() != 0) { + byte in = input.readByte(); + out |= (in & 127) << bytes++ * 7; + if (bytes > maxBytes) { + input.clear(); + throw PROCESS_TRACES ? new OverflowPacketException("VarInt too big (max " + maxBytes + ")") : OVERSIZED_VAR_INT_EXCEPTION; + } + + if ((in & 128) != 128) { + return out; + } + } + + throw PROCESS_TRACES ? new BadPacketException("No more bytes reading varint") : NO_MORE_BYTES_EXCEPTION; + } + + public static void writeVarInt(int value, ByteBuf output) { + do { + int part = value & 127; + value >>>= 7; + if (value != 0) { + part |= 128; + } + + output.writeByte(part); + } while(value != 0); + + } + + public static void setVarInt(int value, ByteBuf output, int pos, int len) { + switch (len) { + case 1: + output.setByte(pos, value); + break; + case 2: + output.setShort(pos, (value & 127 | 128) << 8 | value >>> 7 & 127); + break; + case 3: + output.setMedium(pos, (value & 127 | 128) << 16 | (value >>> 7 & 127 | 128) << 8 | value >>> 14 & 127); + break; + case 4: + output.setInt(pos, (value & 127 | 128) << 24 | (value >>> 7 & 127 | 128) << 16 | (value >>> 14 & 127 | 128) << 8 | value >>> 21 & 127); + break; + case 5: + output.setInt(pos, (value & 127 | 128) << 24 | (value >>> 7 & 127 | 128) << 16 | (value >>> 14 & 127 | 128) << 8 | value >>> 21 & 127 | 128); + output.setByte(pos + 4, value >>> 28); + break; + default: + throw new IllegalArgumentException("Invalid varint len: " + len); + } + + } + + public static void write21BitVarInt(ByteBuf buf, int value) { + int w = (value & 127 | 128) << 16 | (value >>> 7 & 127 | 128) << 8 | value >>> 14; + buf.writeMedium(w); + } + + public static int readVarShort(ByteBuf buf) { + int low = buf.readUnsignedShort(); + int high = 0; + if ((low & '\u8000') != 0) { + low &= 32767; + high = buf.readUnsignedByte(); + } + + return (high & 255) << 15 | low; + } + + public static void writeVarShort(ByteBuf buf, int toWrite) { + int low = toWrite & 32767; + int high = (toWrite & 8355840) >> 15; + if (high != 0) { + low |= 32768; + } + + buf.writeShort(low); + if (high != 0) { + buf.writeByte(high); + } + + } + + public static void writeUUID(UUID value, ByteBuf output) { + output.writeLong(value.getMostSignificantBits()); + output.writeLong(value.getLeastSignificantBits()); + } + + public static UUID readUUID(ByteBuf input) { + return new UUID(input.readLong(), input.readLong()); + } + + public static void writeProperties(Property[] properties, ByteBuf buf) { + if (properties == null) { + writeVarInt(0, buf); + } else { + writeVarInt(properties.length, buf); + + for(Property prop : properties) { + writeString(prop.getName(), buf); + writeString(prop.getValue(), buf); + if (prop.getSignature() != null) { + buf.writeBoolean(true); + writeString(prop.getSignature(), buf); + } else { + buf.writeBoolean(false); + } + } + + } + } + + public static Property[] readProperties(ByteBuf buf) { + Property[] properties = new Property[readVarInt(buf)]; + + for(int j = 0; j < properties.length; ++j) { + String name = readString(buf); + String value = readString(buf); + if (buf.readBoolean()) { + properties[j] = new Property(name, value, readString(buf)); + } else { + properties[j] = new Property(name, value); + } + } + + return properties; + } + + public static void writePublicKey(PlayerPublicKey publicKey, ByteBuf buf) { + if (publicKey != null) { + buf.writeBoolean(true); + buf.writeLong(publicKey.getExpiry()); + writeArray(publicKey.getKey(), buf); + writeArray(publicKey.getSignature(), buf); + } else { + buf.writeBoolean(false); + } + + } + + public static PlayerPublicKey readPublicKey(ByteBuf buf) { + return buf.readBoolean() ? new PlayerPublicKey(buf.readLong(), readArray(buf, 512), readArray(buf, 4096)) : null; + } + + public static void writeNumberFormat(NumberFormat format, ByteBuf buf, int protocolVersion) { + writeVarInt(format.getType().ordinal(), buf); + switch (format.getType()) { + case BLANK: + default: + break; + case STYLED: + writeComponentStyle((ComponentStyle)format.getValue(), buf, protocolVersion); + break; + case FIXED: + writeBaseComponent((BaseComponent)format.getValue(), buf, protocolVersion); + } + + } + + public static NumberFormat readNumberFormat(ByteBuf buf, int protocolVersion) { + int format = readVarInt(buf); + switch (format) { + case 0 -> { + return new NumberFormat(NumberFormat.Type.BLANK, (Object)null); + } + case 1 -> { + return new NumberFormat(NumberFormat.Type.STYLED, readComponentStyle(buf, protocolVersion)); + } + case 2 -> { + return new NumberFormat(NumberFormat.Type.FIXED, readBaseComponent(buf, protocolVersion)); + } + default -> throw new IllegalArgumentException("Unknown number format " + format); + } + } + + public static Tag readTag(ByteBuf input, int protocolVersion) { + return readTag(input, protocolVersion, new NBTLimiter(2097152L)); + } + + public static Tag readTag(ByteBuf input, int protocolVersion, NBTLimiter limiter) { + DataInputStream in = new DataInputStream(new ByteBufInputStream(input)); + + try { + if (protocolVersion >= 764) { + byte type = in.readByte(); + return (Tag)(type == 0 ? EndTag.INSTANCE : Tag.readById(type, in, limiter)); + } else { + NamedTag namedTag = new NamedTag(); + namedTag.read(in, limiter); + return namedTag; + } + } catch (IOException ex) { + throw new RuntimeException("Exception reading tag", ex); + } + } + + public static void writeTag(Tag tag, ByteBuf output, int protocolVersion) { + DataOutputStream out = new DataOutputStream(new ByteBufOutputStream(output)); + + try { + if (tag instanceof TypedTag typedTag) { + out.writeByte(typedTag.getId()); + typedTag.write(out); + } else { + tag.write(out); + } + + } catch (IOException ex) { + throw new RuntimeException("Exception writing tag", ex); + } + } + + public static void writeTag(se.llbit.nbt.Tag tag, ByteBuf output, int protocolVersion) { + DataOutputStream out = new DataOutputStream(new ByteBufOutputStream(output)); + + try { + if (tag instanceof SpecificTag specificTag) { + specificTag.writeType(out); + specificTag.write(out); + } else { + tag.write(out); + } + + } catch (IOException ex) { + throw new RuntimeException("Exception writing tag", ex); + } + } + + public static > void writeEnumSet(EnumSet enumset, Class oclass, ByteBuf buf) { + E[] enums = (E[])(oclass.getEnumConstants()); + BitSet bits = new BitSet(enums.length); + + for(int i = 0; i < enums.length; ++i) { + bits.set(i, enumset.contains(enums[i])); + } + + writeFixedBitSet(bits, enums.length, buf); + } + + public static > EnumSet readEnumSet(Class oclass, ByteBuf buf) { + E[] enums = (E[])(oclass.getEnumConstants()); + BitSet bits = readFixedBitSet(enums.length, buf); + EnumSet set = EnumSet.noneOf(oclass); + + for(int i = 0; i < enums.length; ++i) { + if (bits.get(i)) { + set.add(enums[i]); + } + } + + return set; + } + + public static BitSet readFixedBitSet(int i, ByteBuf buf) { + byte[] bits = new byte[i + 7 >> 3]; + buf.readBytes(bits); + return BitSet.valueOf(bits); + } + + public static void writeFixedBitSet(BitSet bits, int size, ByteBuf buf) { + if (bits.length() > size) { + throw new OverflowPacketException("BitSet too large (expected " + size + " got " + bits.size() + ")"); + } else { + buf.writeBytes(Arrays.copyOf(bits.toByteArray(), size + 7 >> 3)); + } + } + + public void read(ByteBuf buf) { + throw new UnsupportedOperationException("Packet must implement read method"); + } + + public void read(ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) { + this.read(buf, direction, protocolVersion); + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.read(buf); + } + + public void write(ByteBuf buf) { + throw new UnsupportedOperationException("Packet must implement write method"); + } + + public void write(ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) { + this.write(buf, direction, protocolVersion); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.write(buf); + } + + public Protocol nextProtocol() { + return null; + } + + public abstract void handle(AbstractPacketHandler var1) throws Exception; + + public abstract boolean equals(Object var1); + + public abstract int hashCode(); + + public abstract String toString(); + + public int expectedMaxLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return -1; + } + + public int expectedMinLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return 0; + } + + public static byte[] v17readArray(ByteBuf buf) { + int len = readVarShort(buf); + Preconditions.checkArgument(len <= 2097050, "Cannot receive array longer than 2097050 (got %s bytes)", len); + byte[] ret = new byte[len]; + buf.readBytes(ret); + return ret; + } + + public static void v17writeArray(byte[] b, ByteBuf buf, boolean allowExtended) { + if (allowExtended) { + Preconditions.checkArgument(b.length <= 2097050, "Cannot send array longer than 2097050 (got %s bytes)", b.length); + } else { + Preconditions.checkArgument(b.length <= 32767, "Cannot send array longer than Short.MAX_VALUE (got %s bytes)", b.length); + } + + writeVarShort(buf, b.length); + buf.writeBytes(b); + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/FastDecoderException.java b/src/main/java/net/md_5/bungee/protocol/FastDecoderException.java new file mode 100644 index 0000000..ebeeee9 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/FastDecoderException.java @@ -0,0 +1,38 @@ +package net.md_5.bungee.protocol; + +import io.netty.handler.codec.DecoderException; + +public class FastDecoderException extends DecoderException { + private static final boolean PROCESS_TRACES = Boolean.getBoolean("waterfall.decoder-traces"); + private final String packetClassName; + + public FastDecoderException(String message, Throwable cause) { + this(message, cause, (String)null); + } + + public FastDecoderException(String message, Throwable cause, String packetClassName) { + super(message, cause); + this.packetClassName = packetClassName; + } + + public FastDecoderException(String message) { + this(message, (String)null); + } + + public FastDecoderException(String message, String packetClassName) { + super(message); + this.packetClassName = packetClassName; + } + + public String getPacketClassName() { + return this.packetClassName; + } + + public Throwable initCause(Throwable cause) { + return (Throwable)(PROCESS_TRACES ? super.initCause(cause) : this); + } + + public Throwable fillInStackTrace() { + return (Throwable)(PROCESS_TRACES ? super.fillInStackTrace() : this); + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/KickStringWriter.java b/src/main/java/net/md_5/bungee/protocol/KickStringWriter.java new file mode 100644 index 0000000..bb8d5b8 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/KickStringWriter.java @@ -0,0 +1,19 @@ +package net.md_5.bungee.protocol; + +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import io.netty.channel.ChannelHandler.Sharable; +import io.netty.handler.codec.MessageToByteEncoder; + +@Sharable +public class KickStringWriter extends MessageToByteEncoder { + protected void encode(ChannelHandlerContext ctx, String msg, ByteBuf out) throws Exception { + out.writeByte(255); + out.writeShort(msg.length()); + + for(char c : msg.toCharArray()) { + out.writeChar(c); + } + + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/LegacyDecoder.java b/src/main/java/net/md_5/bungee/protocol/LegacyDecoder.java new file mode 100644 index 0000000..47f1d8a --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/LegacyDecoder.java @@ -0,0 +1,31 @@ +package net.md_5.bungee.protocol; + +import io.netty.buffer.ByteBuf; +import io.netty.buffer.Unpooled; +import io.netty.channel.ChannelHandlerContext; +import io.netty.handler.codec.ByteToMessageDecoder; +import java.util.List; +import net.md_5.bungee.protocol.packet.LegacyHandshake; +import net.md_5.bungee.protocol.packet.LegacyPing; + +public class LegacyDecoder extends ByteToMessageDecoder { + protected void decode(ChannelHandlerContext ctx, ByteBuf in, List out) throws Exception { + if (!ctx.channel().isActive()) { + in.skipBytes(in.readableBytes()); + } else if (in.isReadable()) { + in.markReaderIndex(); + short packetID = in.readUnsignedByte(); + if (packetID != 254) { + if (packetID == 2 && in.isReadable()) { + in.skipBytes(in.readableBytes()); + out.add(new PacketWrapper(new LegacyHandshake(), Unpooled.EMPTY_BUFFER, Protocol.STATUS)); + } else { + in.resetReaderIndex(); + ctx.pipeline().remove(this); + } + } else { + out.add(new PacketWrapper(new LegacyPing(in.isReadable() && in.readUnsignedByte() == 1), Unpooled.EMPTY_BUFFER, Protocol.STATUS)); + } + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/MinecraftDecoder.java b/src/main/java/net/md_5/bungee/protocol/MinecraftDecoder.java new file mode 100644 index 0000000..ed6a57d --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/MinecraftDecoder.java @@ -0,0 +1,204 @@ +package net.md_5.bungee.protocol; + +import dev._2lstudios.flamecord.FlameCord; +import dev._2lstudios.flamecord.antibot.check.PacketsCheck; +import dev._2lstudios.flamecord.enums.PacketsCheckResult; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.ByteBufUtil; +import io.netty.channel.ChannelHandlerContext; +import io.netty.handler.codec.CorruptedFrameException; +import io.netty.handler.codec.MessageToMessageDecoder; +import io.netty.util.AttributeKey; +import java.util.List; +import lombok.Generated; + +public class MinecraftDecoder extends MessageToMessageDecoder { + public static final AttributeKey LAST_DECODE_FAILED_PACKET = AttributeKey.valueOf("waterfall-last-decode-failed-packet"); + private Protocol protocol; + private final boolean server; + private int protocolVersion; + private boolean copyBuffer; + private boolean supportsForge = false; + public static final boolean DEBUG = Boolean.getBoolean("waterfall.packet-decode-logging"); + private static final CorruptedFrameException PACKET_LENGTH_OVERSIZED = new CorruptedFrameException("A packet could not be decoded because it was too large. For more information, launch Waterfall with -Dwaterfall.packet-decode-logging=true"); + private static final CorruptedFrameException PACKET_LENGTH_UNDERSIZED = new CorruptedFrameException("A packet could not be decoded because it was smaller than allowed. For more information, launch Waterfall with -Dwaterfall.packet-decode-logging=true"); + private static final BadPacketException PACKET_NOT_READ_TO_END = new BadPacketException("Couldn't read all bytes from a packet. For more information, launch Waterfall with -Dwaterfall.packet-decode-logging=true"); + + public MinecraftDecoder(Protocol protocol, boolean server, int protocolVersion) { + this.protocol = protocol; + this.server = server; + this.protocolVersion = protocolVersion; + this.copyBuffer = shouldCopyBuffer(protocol, protocolVersion); + } + + @Override + protected void decode(ChannelHandlerContext ctx, ByteBuf in, List out) throws Exception { + if (!ctx.channel().isActive() || !in.isReadable()) { + return; + } + + ctx.channel().attr(LAST_DECODE_FAILED_PACKET).set(null); + Protocol.DirectionData direction = this.server ? this.protocol.TO_SERVER : this.protocol.TO_CLIENT; + ByteBuf slice = in.retainedSlice(); + if (direction == this.protocol.TO_SERVER) { + int readableBytes = in.readableBytes(); + int capacity = in.capacity(); + if (readableBytes > 2097152) { + throw new FastDecoderException("Error decoding packet with too many readableBytes: " + readableBytes); + } + + if (capacity > 2097152) { + throw new FastDecoderException("Error decoding packet with too big capacity: " + capacity); + } + } + + if (direction == this.protocol.TO_SERVER) { + PacketsCheck packetsCheck = FlameCord.getInstance().getCheckManager().getPacketsCheck(); + PacketsCheckResult result = packetsCheck.check(ctx.channel().remoteAddress(), in); + switch (result) { + case KICK: + packetsCheck.getData(ctx.channel().remoteAddress()).printKick(); + in.skipBytes(in.readableBytes()); + ctx.close(); + return; + case CANCEL: + packetsCheck.getData(ctx.channel().remoteAddress()).printCancel(); + in.skipBytes(in.readableBytes()); + return; + } + } + + Object packetTypeInfo = null; + boolean decodeSuccessful = false; + + try { + int readable = in.readableBytes(); + if (readable == 0 && !this.server) { + return; + } + + int packetId = DefinedPacket.readVarInt(in); + packetTypeInfo = packetId; + if (packetId < 0 || packetId > Protocol.MAX_PACKET_ID) { + throw new FastDecoderException("[" + ctx.channel().remoteAddress() + + "] <-> MinecraftDecoder received invalid packet #1, id " + packetId); + } + + DefinedPacket packet = direction.createPacket(packetId, this.protocolVersion, this.supportsForge); + if (packet != null) { + packetTypeInfo = packet.getClass(); + ctx.channel().attr(LAST_DECODE_FAILED_PACKET).set(packet.getClass().getSimpleName()); + this.doLengthSanityChecks(in, packet, direction.getDirection(), packetId); + packet.read(in, this.protocol, direction.getDirection(), this.protocolVersion); + if (in.isReadable()) { + if (!DEBUG) { + throw PACKET_NOT_READ_TO_END; + } + + throw new BadPacketException("Packet " + this.protocol + ":" + direction.getDirection() + + "/" + packetId + " (" + packet.getClass().getSimpleName() + + ") larger than expected, extra bytes: " + in.readableBytes()); + } + } else { + in.skipBytes(in.readableBytes()); + } + + out.add(new PacketWrapper(packet, slice, this.protocol)); + slice = null; + decodeSuccessful = true; + } catch (BadPacketException | IndexOutOfBoundsException e) { + if (!DEBUG) { + throw e; + } + + throw new FastDecoderException("Error decoding packet " + getPacketTypeString(packetTypeInfo) + + " with contents:\n" + ByteBufUtil.prettyHexDump(slice), e, getPacketClassName(packetTypeInfo)); + } catch (Exception e) { + if (!DEBUG) { + throw e; + } + + throw new FastDecoderException("Error decoding packet " + getPacketTypeString(packetTypeInfo) + + " with contents:\n" + ByteBufUtil.prettyHexDump(slice), e, getPacketClassName(packetTypeInfo)); + } finally { + if (decodeSuccessful) { + ctx.channel().attr(LAST_DECODE_FAILED_PACKET).set(null); + } + + if (slice != null) { + slice.release(); + } + } + } + + public void setProtocol(Protocol protocol) { + this.protocol = protocol; + this.copyBuffer = shouldCopyBuffer(protocol, this.protocolVersion); + } + + private static boolean shouldCopyBuffer(Protocol protocol, int protocolVersion) { + return protocol == Protocol.GAME && protocolVersion < 764; + } + + private static String getPacketTypeString(Object packetTypeInfo) { + if (packetTypeInfo instanceof Integer) { + return "id " + Integer.toHexString((Integer)packetTypeInfo); + } else { + return packetTypeInfo instanceof Class ? "class " + ((Class)packetTypeInfo).getSimpleName() : "unknown"; + } + } + + private static String getPacketClassName(Object packetTypeInfo) { + return packetTypeInfo instanceof Class ? ((Class)packetTypeInfo).getSimpleName() : null; + } + + private void doLengthSanityChecks(ByteBuf buf, DefinedPacket packet, ProtocolConstants.Direction direction, int packetId) throws Exception { + int expectedMinLen = packet.expectedMinLength(buf, direction, this.protocolVersion); + int expectedMaxLen = packet.expectedMaxLength(buf, direction, this.protocolVersion); + if (expectedMaxLen != -1 && buf.readableBytes() > expectedMaxLen) { + throw this.handleOverflow(packet, expectedMaxLen, buf.readableBytes(), packetId); + } else if (buf.readableBytes() < expectedMinLen) { + throw this.handleUnderflow(packet, expectedMaxLen, buf.readableBytes(), packetId); + } + } + + private Exception handleOverflow(DefinedPacket packet, int expected, int actual, int packetId) { + if (DEBUG) { + throw new CorruptedFrameException("Packet " + String.valueOf(packet.getClass()) + " " + packetId + " Protocol " + this.protocolVersion + " was too big (expected " + expected + " bytes, got " + actual + " bytes)"); + } else { + return PACKET_LENGTH_OVERSIZED; + } + } + + private Exception handleUnderflow(DefinedPacket packet, int expected, int actual, int packetId) { + if (DEBUG) { + throw new CorruptedFrameException("Packet " + String.valueOf(packet.getClass()) + " " + packetId + " Protocol " + this.protocolVersion + " was too small (expected " + expected + " bytes, got " + actual + " bytes)"); + } else { + return PACKET_LENGTH_UNDERSIZED; + } + } + + @Generated + public MinecraftDecoder(Protocol protocol, boolean server, int protocolVersion, boolean copyBuffer, boolean supportsForge) { + this.protocol = protocol; + this.server = server; + this.protocolVersion = protocolVersion; + this.copyBuffer = copyBuffer; + this.supportsForge = supportsForge; + } + + @Generated + public Protocol getProtocol() { + return this.protocol; + } + + @Generated + public void setProtocolVersion(int protocolVersion) { + this.protocolVersion = protocolVersion; + } + + @Generated + public void setSupportsForge(boolean supportsForge) { + this.supportsForge = supportsForge; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/MinecraftEncoder.java b/src/main/java/net/md_5/bungee/protocol/MinecraftEncoder.java new file mode 100644 index 0000000..d7744f0 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/MinecraftEncoder.java @@ -0,0 +1,55 @@ +package net.md_5.bungee.protocol; + +import dev._2lstudios.flamecord.FlameCord; +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import io.netty.handler.codec.MessageToByteEncoder; +import lombok.Generated; + +public class MinecraftEncoder extends MessageToByteEncoder { + private Protocol protocol; + private boolean server; + private int protocolVersion; + + protected void encode(ChannelHandlerContext ctx, DefinedPacket msg, ByteBuf out) throws Exception { + try { + Protocol.DirectionData prot = this.server ? this.protocol.TO_CLIENT : this.protocol.TO_SERVER; + DefinedPacket.writeVarInt(prot.getId(msg.getClass(), this.protocolVersion), out); + msg.write(out, this.protocol, prot.getDirection(), this.protocolVersion); + } catch (IllegalArgumentException e) { + FlameCord.getInstance().getLoggerWrapper().warning(e.getMessage()); + } + + } + + public boolean acceptOutboundMessage(Object msg) throws Exception { + return msg instanceof DefinedPacket; + } + + @Generated + public MinecraftEncoder(Protocol protocol, boolean server, int protocolVersion) { + this.protocol = protocol; + this.server = server; + this.protocolVersion = protocolVersion; + } + + @Generated + public Protocol getProtocol() { + return this.protocol; + } + + @Generated + public void setProtocol(Protocol protocol) { + this.protocol = protocol; + } + + @Generated + public int getProtocolVersion() { + return this.protocolVersion; + } + + @Generated + public void setProtocolVersion(int protocolVersion) { + this.protocolVersion = protocolVersion; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/OverflowPacketException.java b/src/main/java/net/md_5/bungee/protocol/OverflowPacketException.java new file mode 100644 index 0000000..4ccfb5c --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/OverflowPacketException.java @@ -0,0 +1,15 @@ +package net.md_5.bungee.protocol; + +public class OverflowPacketException extends RuntimeException { + public OverflowPacketException(String message) { + super(message); + } + + public Throwable initCause(Throwable cause) { + return (Throwable)(DefinedPacket.PROCESS_TRACES ? super.initCause(cause) : this); + } + + public Throwable fillInStackTrace() { + return (Throwable)(DefinedPacket.PROCESS_TRACES ? super.fillInStackTrace() : this); + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/PacketWrapper.java b/src/main/java/net/md_5/bungee/protocol/PacketWrapper.java new file mode 100644 index 0000000..0b91360 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/PacketWrapper.java @@ -0,0 +1,31 @@ +package net.md_5.bungee.protocol; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; + +public class PacketWrapper { + public final DefinedPacket packet; + public final ByteBuf buf; + public final Protocol protocol; + private boolean released; + + public void trySingleRelease() { + if (!this.released) { + this.buf.release(); + this.released = true; + } + + } + + @Generated + public PacketWrapper(DefinedPacket packet, ByteBuf buf, Protocol protocol) { + this.packet = packet; + this.buf = buf; + this.protocol = protocol; + } + + @Generated + public void setReleased(boolean released) { + this.released = released; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/Protocol.java b/src/main/java/net/md_5/bungee/protocol/Protocol.java new file mode 100644 index 0000000..c5f040c --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/Protocol.java @@ -0,0 +1,489 @@ +package net.md_5.bungee.protocol; + +import com.google.common.base.Preconditions; +import com.google.common.collect.Iterables; +import dev._2lstudios.flamecord.LimboProtocol; +import it.unimi.dsi.fastutil.ints.Int2ObjectMap; +import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap; +import it.unimi.dsi.fastutil.objects.Object2IntMap; +import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap; +import java.util.Arrays; +import java.util.function.Supplier; +import lombok.Generated; +import net.md_5.bungee.protocol.packet.BossBar; +import net.md_5.bungee.protocol.packet.BundleDelimiter; +import net.md_5.bungee.protocol.packet.Chat; +import net.md_5.bungee.protocol.packet.ClearDialog; +import net.md_5.bungee.protocol.packet.ClearTitles; +import net.md_5.bungee.protocol.packet.ClientChat; +import net.md_5.bungee.protocol.packet.ClientChatAcknowledgement; +import net.md_5.bungee.protocol.packet.ClientCommand; +import net.md_5.bungee.protocol.packet.ClientSettings; +import net.md_5.bungee.protocol.packet.Commands; +import net.md_5.bungee.protocol.packet.CookieRequest; +import net.md_5.bungee.protocol.packet.CookieResponse; +import net.md_5.bungee.protocol.packet.CustomClickAction; +import net.md_5.bungee.protocol.packet.DisconnectReportDetails; +import net.md_5.bungee.protocol.packet.EncryptionRequest; +import net.md_5.bungee.protocol.packet.EncryptionResponse; +import net.md_5.bungee.protocol.packet.EntityStatus; +import net.md_5.bungee.protocol.packet.FinishConfiguration; +import net.md_5.bungee.protocol.packet.GameState; +import net.md_5.bungee.protocol.packet.Handshake; +import net.md_5.bungee.protocol.packet.KeepAlive; +import net.md_5.bungee.protocol.packet.Kick; +import net.md_5.bungee.protocol.packet.KnownPacks; +import net.md_5.bungee.protocol.packet.Login; +import net.md_5.bungee.protocol.packet.LoginAcknowledged; +import net.md_5.bungee.protocol.packet.LoginPayloadRequest; +import net.md_5.bungee.protocol.packet.LoginPayloadResponse; +import net.md_5.bungee.protocol.packet.LoginRequest; +import net.md_5.bungee.protocol.packet.LoginSuccess; +import net.md_5.bungee.protocol.packet.PingPacket; +import net.md_5.bungee.protocol.packet.PlayerListHeaderFooter; +import net.md_5.bungee.protocol.packet.PlayerListItem; +import net.md_5.bungee.protocol.packet.PlayerListItemRemove; +import net.md_5.bungee.protocol.packet.PlayerListItemUpdate; +import net.md_5.bungee.protocol.packet.PluginMessage; +import net.md_5.bungee.protocol.packet.Respawn; +import net.md_5.bungee.protocol.packet.ScoreboardDisplay; +import net.md_5.bungee.protocol.packet.ScoreboardObjective; +import net.md_5.bungee.protocol.packet.ScoreboardScore; +import net.md_5.bungee.protocol.packet.ScoreboardScoreReset; +import net.md_5.bungee.protocol.packet.ServerData; +import net.md_5.bungee.protocol.packet.ServerLinks; +import net.md_5.bungee.protocol.packet.SetCompression; +import net.md_5.bungee.protocol.packet.ShowDialog; +import net.md_5.bungee.protocol.packet.ShowDialogDirect; +import net.md_5.bungee.protocol.packet.StartConfiguration; +import net.md_5.bungee.protocol.packet.StatusRequest; +import net.md_5.bungee.protocol.packet.StatusResponse; +import net.md_5.bungee.protocol.packet.StoreCookie; +import net.md_5.bungee.protocol.packet.Subtitle; +import net.md_5.bungee.protocol.packet.SystemChat; +import net.md_5.bungee.protocol.packet.TabCompleteRequest; +import net.md_5.bungee.protocol.packet.TabCompleteResponse; +import net.md_5.bungee.protocol.packet.Team; +import net.md_5.bungee.protocol.packet.Title; +import net.md_5.bungee.protocol.packet.TitleTimes; +import net.md_5.bungee.protocol.packet.Transfer; +import net.md_5.bungee.protocol.packet.UnsignedClientCommand; +import net.md_5.bungee.protocol.packet.ViewDistance; + +public enum Protocol { + HANDSHAKE { + { + this.TO_SERVER.registerPacket(Handshake.class, Handshake::new, map(4, 0)); + } + }, + GAME { + { + this.TO_CLIENT.registerPacket(BundleDelimiter.class, BundleDelimiter::new, map(762, 0)); + this.TO_CLIENT.registerPacket(KeepAlive.class, KeepAlive::new, map(4, 0), map(107, 31), map(393, 33), map(477, 32), map(573, 33), map(735, 32), map(751, 31), map(755, 33), map(759, 30), map(760, 32), map(761, 31), map(762, 35), map(764, 36), map(766, 38), map(768, 39), map(770, 38), map(773, 43), map(775, 44), map(777, 45)); + this.TO_CLIENT.registerPacket(Login.class, Login::new, map(4, 1), map(107, 35), map(393, 37), map(573, 38), map(735, 37), map(751, 36), map(755, 38), map(759, 35), map(760, 37), map(761, 36), map(762, 40), map(764, 41), map(766, 43), map(768, 44), map(770, 43), map(773, 48), map(775, 49), map(777, 50)); + this.TO_CLIENT.registerPacket(Chat.class, Chat::new, Protocol.RegisterType.ENCODE, map(4, 2), map(107, 15), map(393, 14), map(573, 15), map(735, 14), map(755, 15), map(759, -1)); + this.TO_CLIENT.registerPacket(Respawn.class, Respawn::new, map(4, 7), map(107, 51), map(335, 52), map(338, 53), map(393, 56), map(477, 58), map(573, 59), map(735, 58), map(751, 57), map(755, 61), map(759, 59), map(760, 62), map(761, 61), map(762, 65), map(764, 67), map(765, 69), map(766, 71), map(768, 76), map(770, 75), map(773, 80), map(775, 82), map(777, 84)); + this.TO_CLIENT.registerPacket(BossBar.class, BossBar::new, map(107, 12), map(573, 13), map(735, 12), map(755, 13), map(759, 10), map(762, 11), map(764, 10), map(770, 9)); + this.TO_CLIENT.registerPacket(PlayerListItem.class, PlayerListItem::new, map(4, 56), map(107, 45), map(338, 46), map(393, 48), map(477, 51), map(573, 52), map(735, 51), map(751, 50), map(755, 54), map(759, 52), map(760, 55), map(761, -1)); + this.TO_CLIENT.registerPacket(TabCompleteResponse.class, TabCompleteResponse::new, map(4, 58), map(107, 14), map(393, 16), map(573, 17), map(735, 16), map(751, 15), map(755, 17), map(759, 14), map(761, 13), map(762, 15), map(764, 16), map(770, 15)); + this.TO_CLIENT.registerPacket(ScoreboardObjective.class, ScoreboardObjective::new, map(4, 59), map(107, 63), map(335, 65), map(338, 66), map(393, 69), map(477, 73), map(573, 74), map(755, 83), map(760, 86), map(761, 84), map(762, 88), map(764, 90), map(765, 92), map(766, 94), map(768, 100), map(770, 99), map(773, 104), map(775, 106), map(777, 108)); + this.TO_CLIENT.registerPacket(ScoreboardScore.class, ScoreboardScore::new, map(4, 60), map(107, 66), map(335, 68), map(338, 69), map(393, 72), map(477, 76), map(573, 77), map(755, 86), map(760, 89), map(761, 87), map(762, 91), map(764, 93), map(765, 95), map(766, 97), map(768, 104), map(770, 103), map(773, 108), map(775, 110), map(777, 112)); + this.TO_CLIENT.registerPacket(ScoreboardScoreReset.class, ScoreboardScoreReset::new, map(765, 66), map(766, 68), map(768, 73), map(770, 72), map(773, 77), map(775, 79), map(777, 80)); + this.TO_CLIENT.registerPacket(ScoreboardDisplay.class, ScoreboardDisplay::new, map(4, 61), map(107, 56), map(335, 58), map(338, 59), map(393, 62), map(477, 66), map(573, 67), map(755, 76), map(760, 79), map(761, 77), map(762, 81), map(764, 83), map(765, 85), map(766, 87), map(768, 92), map(770, 91), map(773, 96), map(775, 98), map(777, 100)); + this.TO_CLIENT.registerPacket(Team.class, Team::new, map(4, 62), map(107, 65), map(335, 67), map(338, 68), map(393, 71), map(477, 75), map(573, 76), map(755, 85), map(760, 88), map(761, 86), map(762, 90), map(764, 92), map(765, 94), map(766, 96), map(768, 103), map(770, 102), map(773, 107), map(775, 109), map(777, 111)); + this.TO_CLIENT.registerPacket(PluginMessage.class, PluginMessage::new, map(4, 63), map(107, 24), map(393, 25), map(477, 24), map(573, 25), map(735, 24), map(751, 23), map(755, 24), map(759, 21), map(760, 22), map(761, 21), map(762, 23), map(764, 24), map(766, 25), map(770, 24)); + this.TO_CLIENT.registerPacket(Kick.class, Kick::new, map(4, 64), map(107, 26), map(393, 27), map(477, 26), map(573, 27), map(735, 26), map(751, 25), map(755, 26), map(759, 23), map(760, 25), map(761, 23), map(762, 26), map(764, 27), map(766, 29), map(770, 28), map(773, 32)); + this.TO_CLIENT.registerPacket(Title.class, Title::new, Protocol.RegisterType.ENCODE, map(4, 69), map(335, 71), map(338, 72), map(393, 75), map(477, 79), map(573, 80), map(735, 79), map(755, 89), map(757, 90), map(760, 93), map(761, 91), map(762, 95), map(764, 97), map(765, 99), map(766, 101), map(768, 108), map(770, 107), map(773, 112), map(775, 114), map(777, 116)); + this.TO_CLIENT.registerPacket(ClearTitles.class, ClearTitles::new, Protocol.RegisterType.ENCODE, map(755, 16), map(759, 13), map(761, 12), map(762, 14), map(764, 15), map(770, 14)); + this.TO_CLIENT.registerPacket(Subtitle.class, Subtitle::new, Protocol.RegisterType.ENCODE, map(755, 87), map(757, 88), map(760, 91), map(761, 89), map(762, 93), map(764, 95), map(765, 97), map(766, 99), map(768, 106), map(770, 105), map(773, 110), map(775, 112), map(777, 114)); + this.TO_CLIENT.registerPacket(TitleTimes.class, TitleTimes::new, Protocol.RegisterType.ENCODE, map(755, 90), map(757, 91), map(760, 94), map(761, 92), map(762, 96), map(764, 98), map(765, 100), map(766, 102), map(768, 109), map(770, 108), map(773, 113), map(775, 115), map(777, 117)); + this.TO_CLIENT.registerPacket(SystemChat.class, SystemChat::new, Protocol.RegisterType.ENCODE, map(759, 95), map(760, 98), map(761, 96), map(762, 100), map(764, 103), map(765, 105), map(766, 108), map(768, 115), map(770, 114), map(773, 119), map(775, 121), map(777, 124)); + this.TO_CLIENT.registerPacket(PlayerListHeaderFooter.class, PlayerListHeaderFooter::new, Protocol.RegisterType.ENCODE, map(4, 71), map(107, 72), map(110, 71), map(335, 73), map(338, 74), map(393, 78), map(477, 83), map(573, 84), map(735, 83), map(755, 94), map(757, 95), map(759, 96), map(760, 99), map(761, 97), map(762, 101), map(764, 104), map(765, 106), map(766, 109), map(768, 116), map(770, 115), map(773, 120), map(775, 122), map(777, 125)); + this.TO_CLIENT.registerPacket(EntityStatus.class, EntityStatus::new, Protocol.RegisterType.ENCODE, map(4, 26), map(107, 27), map(393, 28), map(477, 27), map(573, 28), map(735, 27), map(751, 26), map(755, 27), map(759, 24), map(760, 26), map(761, 25), map(762, 28), map(764, 29), map(766, 31), map(770, 30), map(773, 34)); + this.TO_CLIENT.registerPacket(Commands.class, Commands::new, map(393, 17), map(573, 18), map(735, 17), map(751, 16), map(755, 18), map(759, 15), map(761, 14), map(762, 16), map(764, 17), map(770, 16)); + this.TO_CLIENT.registerPacket(GameState.class, GameState::new, Protocol.RegisterType.ENCODE, map(573, 31), map(735, 30), map(751, 29), map(755, 30), map(759, 27), map(760, 29), map(761, 28), map(762, 31), map(764, 32), map(766, 34), map(768, 35), map(770, 34), map(773, 38), map(777, 39)); + this.TO_CLIENT.registerPacket(ViewDistance.class, ViewDistance::new, Protocol.RegisterType.ENCODE, map(477, 65), map(573, 66), map(735, 65), map(755, 74), map(759, 73), map(760, 76), map(761, 75), map(762, 79), map(764, 81), map(765, 83), map(766, 85), map(768, 89), map(770, 88), map(773, 93), map(775, 95), map(777, 97)); + this.TO_CLIENT.registerPacket(ServerData.class, ServerData::new, map(759, 63), map(760, 66), map(761, 65), map(762, 69), map(764, 71), map(765, 73), map(766, 75), map(768, 80), map(770, 79), map(773, 84), map(775, 86), map(777, 88)); + this.TO_CLIENT.registerPacket(PlayerListItemRemove.class, PlayerListItemRemove::new, map(761, 53), map(762, 57), map(764, 59), map(766, 61), map(768, 63), map(770, 62), map(773, 67), map(775, 69), map(777, 70)); + this.TO_CLIENT.registerPacket(PlayerListItemUpdate.class, PlayerListItemUpdate::new, map(761, 54), map(762, 58), map(764, 60), map(766, 62), map(768, 64), map(770, 63), map(773, 68), map(775, 70), map(777, 71)); + this.TO_CLIENT.registerPacket(StartConfiguration.class, StartConfiguration::new, map(764, 101), map(765, 103), map(766, 105), map(768, 112), map(770, 111), map(773, 116), map(775, 118), map(777, 120)); + this.TO_CLIENT.registerPacket(CookieRequest.class, CookieRequest::new, map(766, 22), map(770, 21)); + this.TO_CLIENT.registerPacket(StoreCookie.class, StoreCookie::new, Protocol.RegisterType.ENCODE, map(766, 107), map(768, 114), map(770, 113), map(773, 118), map(775, 120), map(777, 122)); + this.TO_CLIENT.registerPacket(Transfer.class, Transfer::new, Protocol.RegisterType.ENCODE, map(766, 115), map(768, 122), map(773, 127), map(775, 129), map(777, 132)); + this.TO_CLIENT.registerPacket(DisconnectReportDetails.class, DisconnectReportDetails::new, Protocol.RegisterType.ENCODE, map(767, 122), map(768, 129), map(773, 134), map(775, 136), map(777, 139)); + this.TO_CLIENT.registerPacket(ServerLinks.class, ServerLinks::new, Protocol.RegisterType.ENCODE, map(767, 123), map(768, 130), map(773, 135), map(775, 137), map(777, 140)); + this.TO_CLIENT.registerPacket(ClearDialog.class, ClearDialog::new, Protocol.RegisterType.ENCODE, map(771, 132), map(773, 137), map(775, 139), map(777, 142)); + this.TO_CLIENT.registerPacket(ShowDialog.class, ShowDialog::new, Protocol.RegisterType.ENCODE, map(771, 133), map(773, 138), map(775, 140), map(777, 143)); + this.TO_SERVER.registerPacket(KeepAlive.class, KeepAlive::new, map(4, 0), map(107, 11), map(335, 12), map(338, 11), map(393, 14), map(477, 15), map(735, 16), map(755, 15), map(759, 17), map(760, 18), map(761, 17), map(762, 18), map(764, 20), map(765, 21), map(766, 24), map(768, 26), map(771, 27), map(775, 28)); + this.TO_SERVER.registerPacket(Chat.class, Chat::new, map(4, 1), map(107, 2), map(335, 3), map(338, 2), map(477, 3), map(759, -1)); + this.TO_SERVER.registerPacket(ClientCommand.class, ClientCommand::new, map(759, 3), map(760, 4), map(766, 5), map(768, 6), map(771, 7), map(775, 8)); + this.TO_SERVER.registerPacket(UnsignedClientCommand.class, UnsignedClientCommand::new, map(766, 4), map(768, 5), map(771, 6), map(775, 7)); + this.TO_SERVER.registerPacket(ClientChat.class, ClientChat::new, map(759, 4), map(760, 5), map(766, 6), map(768, 7), map(771, 8), map(775, 9)); + this.TO_SERVER.registerPacket(ClientChatAcknowledgement.class, ClientChatAcknowledgement::new, map(761, 3), map(775, 6)); + this.TO_SERVER.registerPacket(TabCompleteRequest.class, TabCompleteRequest::new, map(4, 20), map(107, 1), map(335, 2), map(338, 1), map(393, 5), map(477, 6), map(759, 8), map(760, 9), map(761, 8), map(762, 9), map(764, 10), map(766, 11), map(768, 13), map(771, 14), map(775, 15)); + this.TO_SERVER.registerPacket(ClientSettings.class, ClientSettings::new, map(4, 21), map(107, 4), map(335, 5), map(338, 4), map(477, 5), map(759, 7), map(760, 8), map(761, 7), map(762, 8), map(764, 9), map(766, 10), map(768, 12), map(771, 13), map(775, 14)); + this.TO_SERVER.registerPacket(PluginMessage.class, PluginMessage::new, map(4, 23), map(107, 9), map(335, 10), map(338, 9), map(393, 10), map(477, 11), map(755, 10), map(759, 12), map(760, 13), map(761, 12), map(762, 13), map(764, 15), map(765, 16), map(766, 18), map(768, 20), map(771, 21), map(775, 22)); + this.TO_SERVER.registerPacket(StartConfiguration.class, StartConfiguration::new, map(764, 11), map(766, 12), map(768, 14), map(771, 15), map(775, 16)); + this.TO_SERVER.registerPacket(CookieResponse.class, CookieResponse::new, map(766, 17), map(768, 19), map(771, 20), map(775, 21)); + this.TO_SERVER.registerPacket(CustomClickAction.class, CustomClickAction::new, map(771, 65), map(775, 68)); + } + }, + STATUS { + { + this.TO_CLIENT.registerPacket(StatusResponse.class, StatusResponse::new, map(4, 0)); + this.TO_CLIENT.registerPacket(PingPacket.class, PingPacket::new, map(4, 1)); + this.TO_SERVER.registerPacket(StatusRequest.class, StatusRequest::new, map(4, 0)); + this.TO_SERVER.registerPacket(PingPacket.class, PingPacket::new, map(4, 1)); + } + }, + LOGIN { + { + this.TO_CLIENT.registerPacket(Kick.class, Kick::new, map(4, 0)); + this.TO_CLIENT.registerPacket(EncryptionRequest.class, EncryptionRequest::new, map(4, 1)); + this.TO_CLIENT.registerPacket(LoginSuccess.class, LoginSuccess::new, map(4, 2)); + this.TO_CLIENT.registerPacket(SetCompression.class, SetCompression::new, map(4, 3)); + this.TO_CLIENT.registerPacket(LoginPayloadRequest.class, LoginPayloadRequest::new, map(393, 4)); + this.TO_CLIENT.registerPacket(CookieRequest.class, CookieRequest::new, map(766, 5)); + this.TO_SERVER.registerPacket(LoginRequest.class, LoginRequest::new, map(4, 0)); + this.TO_SERVER.registerPacket(EncryptionResponse.class, EncryptionResponse::new, map(4, 1)); + this.TO_SERVER.registerPacket(LoginPayloadResponse.class, LoginPayloadResponse::new, map(393, 2)); + this.TO_SERVER.registerPacket(LoginAcknowledged.class, LoginAcknowledged::new, map(764, 3)); + this.TO_SERVER.registerPacket(CookieResponse.class, CookieResponse::new, map(766, 4)); + } + }, + CONFIGURATION { + { + this.TO_CLIENT.registerPacket(CookieRequest.class, CookieRequest::new, map(766, 0)); + this.TO_CLIENT.registerPacket(PluginMessage.class, PluginMessage::new, map(764, 0), map(766, 1)); + this.TO_CLIENT.registerPacket(Kick.class, Kick::new, map(764, 1), map(766, 2)); + this.TO_CLIENT.registerPacket(FinishConfiguration.class, FinishConfiguration::new, map(764, 2), map(766, 3)); + this.TO_CLIENT.registerPacket(KeepAlive.class, KeepAlive::new, map(764, 3), map(766, 4)); + this.TO_CLIENT.registerPacket(StoreCookie.class, StoreCookie::new, Protocol.RegisterType.ENCODE, map(766, 10), map(777, 11)); + this.TO_CLIENT.registerPacket(Transfer.class, Transfer::new, Protocol.RegisterType.ENCODE, map(766, 11), map(777, 12)); + this.TO_CLIENT.registerPacket(KnownPacks.class, KnownPacks::new, map(766, 14), map(777, 15)); + this.TO_CLIENT.registerPacket(DisconnectReportDetails.class, DisconnectReportDetails::new, Protocol.RegisterType.ENCODE, map(767, 15), map(777, 16)); + this.TO_CLIENT.registerPacket(ServerLinks.class, ServerLinks::new, Protocol.RegisterType.ENCODE, map(767, 16), map(777, 17)); + this.TO_CLIENT.registerPacket(ClearDialog.class, ClearDialog::new, Protocol.RegisterType.ENCODE, map(771, 17), map(777, 18)); + this.TO_CLIENT.registerPacket(ShowDialogDirect.class, ShowDialogDirect::new, Protocol.RegisterType.ENCODE, map(771, 18), map(777, 19)); + this.TO_SERVER.registerPacket(ClientSettings.class, ClientSettings::new, map(764, 0)); + this.TO_SERVER.registerPacket(PluginMessage.class, PluginMessage::new, map(764, 1), map(766, 2)); + this.TO_SERVER.registerPacket(FinishConfiguration.class, FinishConfiguration::new, map(764, 2), map(766, 3)); + this.TO_SERVER.registerPacket(KeepAlive.class, KeepAlive::new, map(764, 3), map(766, 4)); + this.TO_SERVER.registerPacket(CustomClickAction.class, CustomClickAction::new, map(771, 8)); + } + }, + BOTFILTER_CONFIGURATION { + { + LimboProtocol.registerConfigurationPackets(this.TO_CLIENT); + } + }, + BOTFILTER { + { + LimboProtocol.registerPackets(this.TO_CLIENT, this.TO_SERVER); + } + }; + + public static final int MAX_PACKET_ID = 255; + public final DirectionData TO_SERVER; + public final DirectionData TO_CLIENT; + + private Protocol() { + this.TO_SERVER = new DirectionData(this, ProtocolConstants.Direction.TO_SERVER); + this.TO_CLIENT = new DirectionData(this, ProtocolConstants.Direction.TO_CLIENT); + } + + public static void main(String[] args) { + for(int version : ProtocolConstants.SUPPORTED_VERSION_IDS) { + dump(version); + } + + } + + private static void dump(int version) { + for(Protocol protocol : values()) { + dump(version, protocol); + } + + } + + private static void dump(int version, Protocol protocol) { + dump(version, protocol.TO_CLIENT); + dump(version, protocol.TO_SERVER); + } + + private static void dump(int version, DirectionData data) { + for(int id = 0; id < 255; ++id) { + DefinedPacket packet = data.createPacket(id, version); + if (packet != null) { + System.out.println(version + " " + String.valueOf(data.protocolPhase) + " " + String.valueOf(data.direction) + " " + id + " " + packet.getClass().getSimpleName()); + } + } + + } + + public static ProtocolMapping map(int protocol, int id) { + return new ProtocolMapping(protocol, id); + } + + private static class ProtocolData { + private final int protocolVersion; + private final Object2IntMap> packetMap = new Object2IntOpenHashMap(256); + private final Supplier[] packetConstructors = new Supplier[256]; + + @Generated + public ProtocolData(int protocolVersion) { + this.protocolVersion = protocolVersion; + } + + @Generated + public int getProtocolVersion() { + return this.protocolVersion; + } + + @Generated + public Object2IntMap> getPacketMap() { + return this.packetMap; + } + + @Generated + public Supplier[] getPacketConstructors() { + return this.packetConstructors; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ProtocolData)) { + return false; + } else { + ProtocolData other = (ProtocolData)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getProtocolVersion() != other.getProtocolVersion()) { + return false; + } else { + Object this$packetMap = this.getPacketMap(); + Object other$packetMap = other.getPacketMap(); + if (this$packetMap == null) { + if (other$packetMap != null) { + return false; + } + } else if (!this$packetMap.equals(other$packetMap)) { + return false; + } + + if (!Arrays.deepEquals(this.getPacketConstructors(), other.getPacketConstructors())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ProtocolData; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getProtocolVersion(); + Object $packetMap = this.getPacketMap(); + result = result * 59 + ($packetMap == null ? 43 : $packetMap.hashCode()); + result = result * 59 + Arrays.deepHashCode(this.getPacketConstructors()); + return result; + } + + @Generated + public String toString() { + int var10000 = this.getProtocolVersion(); + return "Protocol.ProtocolData(protocolVersion=" + var10000 + ", packetMap=" + String.valueOf(this.getPacketMap()) + ", packetConstructors=" + Arrays.deepToString(this.getPacketConstructors()) + ")"; + } + } + + public static class ProtocolMapping { + private final int protocolVersion; + private final int packetID; + + @Generated + public ProtocolMapping(int protocolVersion, int packetID) { + this.protocolVersion = protocolVersion; + this.packetID = packetID; + } + + @Generated + public int getProtocolVersion() { + return this.protocolVersion; + } + + @Generated + public int getPacketID() { + return this.packetID; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ProtocolMapping)) { + return false; + } else { + ProtocolMapping other = (ProtocolMapping)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getProtocolVersion() != other.getProtocolVersion()) { + return false; + } else { + return this.getPacketID() == other.getPacketID(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ProtocolMapping; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getProtocolVersion(); + result = result * 59 + this.getPacketID(); + return result; + } + + @Generated + public String toString() { + int var10000 = this.getProtocolVersion(); + return "Protocol.ProtocolMapping(protocolVersion=" + var10000 + ", packetID=" + this.getPacketID() + ")"; + } + } + + private static enum RegisterType { + ENCODE, + DECODE, + BOTH; + + public boolean encode() { + return this == BOTH || this == ENCODE; + } + + public boolean decode() { + return this == BOTH || this == DECODE; + } + } + + public static final class DirectionData { + private final Int2ObjectMap protocols = new Int2ObjectOpenHashMap(); + private final Protocol protocolPhase; + private final ProtocolConstants.Direction direction; + + public DirectionData(Protocol protocolPhase, ProtocolConstants.Direction direction) { + this.protocolPhase = protocolPhase; + this.direction = direction; + + for(int protocol : ProtocolConstants.SUPPORTED_VERSION_IDS) { + this.protocols.put(protocol, new ProtocolData(protocol)); + } + + } + + private ProtocolData getProtocolData(int version) { + ProtocolData protocol = (ProtocolData)this.protocols.get(version); + if (protocol == null && this.protocolPhase != Protocol.GAME) { + protocol = (ProtocolData)Iterables.getFirst(this.protocols.values(), (Object)null); + } + + return protocol; + } + + public boolean hasPacket(int i, boolean supportsForge) { + return supportsForge || i >= 0 && i <= 255; + } + + public final DefinedPacket createPacket(int id, int version) { + return this.createPacket(id, version, true); + } + + public final DefinedPacket createPacket(int id, int version, boolean supportsForge) { + ProtocolData protocolData = this.getProtocolData(version); + if (protocolData == null) { + throw new BadPacketException("Unsupported protocol version " + version); + } else if (!this.hasPacket(id, supportsForge)) { + throw new BadPacketException("Packet with id " + id + " outside of range"); + } else { + Supplier constructor = protocolData.packetConstructors[id]; + return constructor == null ? null : (DefinedPacket)constructor.get(); + } + } + + public void registerPacket(Class packetClass, Supplier constructor, ProtocolMapping... mappings) { + this.registerPacket(packetClass, constructor, Protocol.RegisterType.BOTH, mappings); + } + + private void registerPacket(Class packetClass, Supplier constructor, RegisterType registerType, ProtocolMapping... mappings) { + int mappingIndex = 0; + ProtocolMapping mapping = mappings[mappingIndex]; + + for(int protocol : ProtocolConstants.SUPPORTED_VERSION_IDS) { + if (protocol >= mapping.protocolVersion) { + if (mapping.protocolVersion < protocol && mappingIndex + 1 < mappings.length) { + ProtocolMapping nextMapping = mappings[mappingIndex + 1]; + if (nextMapping.protocolVersion == protocol) { + Preconditions.checkState(nextMapping.packetID != mapping.packetID, "Duplicate packet mapping (%s, %s)", mapping.protocolVersion, nextMapping.protocolVersion); + mapping = nextMapping; + ++mappingIndex; + } + } + + if (mapping.packetID < 0) { + break; + } + + ProtocolData data = (ProtocolData)this.protocols.get(protocol); + Preconditions.checkState(data.packetConstructors[mapping.packetID] == null, "Duplicate packet mapping (%s)", mapping.packetID); + Preconditions.checkState(!data.packetMap.containsKey(packetClass), "Duplicate packet mapping (%s)", mapping.packetID); + if (registerType.encode()) { + data.packetMap.put(packetClass, mapping.packetID); + } + + if (registerType.decode()) { + data.packetConstructors[mapping.packetID] = constructor; + } + } + } + + } + + public boolean hasPacket(Class packet, int version) { + ProtocolData protocolData = this.getProtocolData(version); + if (protocolData == null) { + throw new BadPacketException("Unsupported protocol version"); + } else { + return protocolData.packetMap.containsKey(packet); + } + } + + public final int getId(Class packet, int version) { + ProtocolData protocolData = this.getProtocolData(version); + if (protocolData == null) { + throw new BadPacketException("Unsupported protocol version"); + } else { + int packetId = protocolData.packetMap.get(packet); + boolean condition = packetId >= 0 && protocolData.packetMap.containsKey(packet); + Preconditions.checkArgument(condition, "Cannot get ID for packet %s in phase %s with direction %s for protocol version %s", packet, this.protocolPhase, this.direction, version); + return packetId; + } + } + + @Generated + public ProtocolConstants.Direction getDirection() { + return this.direction; + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java b/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java new file mode 100644 index 0000000..bdafd05 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java @@ -0,0 +1,89 @@ +package net.md_5.bungee.protocol; + +import com.google.common.collect.ImmutableList; +import java.util.List; + +public class ProtocolConstants { + private static final boolean SNAPSHOT_SUPPORT = Boolean.getBoolean("net.md_5.bungee.protocol.snapshot"); + public static final int MINECRAFT_1_7_2 = 4; + public static final int MINECRAFT_1_7_6 = 5; + public static final int MINECRAFT_1_8 = 47; + public static final int MINECRAFT_1_9 = 107; + public static final int MINECRAFT_1_9_1 = 108; + public static final int MINECRAFT_1_9_2 = 109; + public static final int MINECRAFT_1_9_4 = 110; + public static final int MINECRAFT_1_10 = 210; + public static final int MINECRAFT_1_11 = 315; + public static final int MINECRAFT_1_11_1 = 316; + public static final int MINECRAFT_1_12 = 335; + public static final int MINECRAFT_1_12_1 = 338; + public static final int MINECRAFT_1_12_2 = 340; + public static final int MINECRAFT_1_13 = 393; + public static final int MINECRAFT_1_13_1 = 401; + public static final int MINECRAFT_1_13_2 = 404; + public static final int MINECRAFT_1_14 = 477; + public static final int MINECRAFT_1_14_1 = 480; + public static final int MINECRAFT_1_14_2 = 485; + public static final int MINECRAFT_1_14_3 = 490; + public static final int MINECRAFT_1_14_4 = 498; + public static final int MINECRAFT_1_15 = 573; + public static final int MINECRAFT_1_15_1 = 575; + public static final int MINECRAFT_1_15_2 = 578; + public static final int MINECRAFT_1_16 = 735; + public static final int MINECRAFT_1_16_1 = 736; + public static final int MINECRAFT_1_16_2 = 751; + public static final int MINECRAFT_1_16_3 = 753; + public static final int MINECRAFT_1_16_4 = 754; + public static final int MINECRAFT_1_17 = 755; + public static final int MINECRAFT_1_17_1 = 756; + public static final int MINECRAFT_1_18 = 757; + public static final int MINECRAFT_1_18_2 = 758; + public static final int MINECRAFT_1_19 = 759; + public static final int MINECRAFT_1_19_1 = 760; + public static final int MINECRAFT_1_19_3 = 761; + public static final int MINECRAFT_1_19_4 = 762; + public static final int MINECRAFT_1_20 = 763; + public static final int MINECRAFT_1_20_2 = 764; + public static final int MINECRAFT_1_20_3 = 765; + public static final int MINECRAFT_1_20_5 = 766; + public static final int MINECRAFT_1_21 = 767; + public static final int MINECRAFT_1_21_2 = 768; + public static final int MINECRAFT_1_21_4 = 769; + public static final int MINECRAFT_1_21_5 = 770; + public static final int MINECRAFT_1_21_6 = 771; + public static final int MINECRAFT_1_21_7 = 772; + public static final int MINECRAFT_1_21_9 = 773; + public static final int MINECRAFT_1_21_11 = 774; + public static final int MINECRAFT_26_1 = 775; + public static final int MINECRAFT_26_2 = 776; + public static final int MINECRAFT_26_3 = 777; + public static final List SUPPORTED_VERSIONS; + public static final List SUPPORTED_VERSION_IDS; + + public static final boolean isBeforeOrEq(int before, int other) { + return before <= other; + } + + public static final boolean isAfterOrEq(int after, int other) { + return after >= other; + } + + public static int getLastSupportedProtocol() { + return (Integer)SUPPORTED_VERSION_IDS.get(SUPPORTED_VERSION_IDS.size() - 1); + } + + static { + ImmutableList.Builder supportedVersions = ImmutableList.builder().add(new String[]{"1.7.x", "1.8.x", "1.9.x", "1.10.x", "1.11.x", "1.12.x", "1.13.x", "1.14.x", "1.15.x", "1.16.x", "1.17.x", "1.18.x", "1.19.x", "1.20.x", "1.21.x", "26.x"}); + ImmutableList.Builder supportedVersionIds = ImmutableList.builder().add(new Integer[]{4, 5, 47, 107, 108, 109, 110, 210, 315, 316, 335, 338, 340, 393, 401, 404, 477, 480, 485, 490, 498, 573, 575, 578, 735, 736, 751, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777}); + if (SNAPSHOT_SUPPORT) { + } + + SUPPORTED_VERSIONS = supportedVersions.build(); + SUPPORTED_VERSION_IDS = supportedVersionIds.build(); + } + + public static enum Direction { + TO_CLIENT, + TO_SERVER; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java b/src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java new file mode 100644 index 0000000..977674f --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java @@ -0,0 +1,53 @@ +package net.md_5.bungee.protocol; + +import io.netty.buffer.ByteBuf; +import io.netty.channel.ChannelHandlerContext; +import io.netty.handler.codec.ByteToMessageDecoder; +import io.netty.handler.codec.CorruptedFrameException; +import java.util.List; + +public class Varint21FrameDecoder extends ByteToMessageDecoder { + private static boolean DIRECT_WARNING; + + protected void decode(ChannelHandlerContext ctx, ByteBuf in, List out) throws Exception { + if (!ctx.channel().isActive()) { + in.skipBytes(in.readableBytes()); + } else { + in.markReaderIndex(); + + for(int i = 0; i < 3; ++i) { + if (!in.isReadable()) { + in.resetReaderIndex(); + return; + } + + byte read = in.readByte(); + if (read >= 0) { + in.resetReaderIndex(); + int length = DefinedPacket.readVarInt(in); + if (in.readableBytes() < length) { + in.resetReaderIndex(); + return; + } + + if (in.hasMemoryAddress()) { + out.add(in.readRetainedSlice(length)); + } else { + if (!DIRECT_WARNING) { + DIRECT_WARNING = true; + System.out.println("Netty is not using direct IO buffers."); + } + + ByteBuf dst = ctx.alloc().directBuffer(length); + in.readBytes(dst); + out.add(dst); + } + + return; + } + } + + throw new CorruptedFrameException("length wider than 21-bit"); + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/channel/BungeeChannelInitializer.java b/src/main/java/net/md_5/bungee/protocol/channel/BungeeChannelInitializer.java new file mode 100644 index 0000000..010f5d2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/channel/BungeeChannelInitializer.java @@ -0,0 +1,39 @@ +package net.md_5.bungee.protocol.channel; + +import io.netty.channel.Channel; +import io.netty.channel.ChannelInitializer; +import lombok.Generated; + +public abstract class BungeeChannelInitializer { + public abstract ChannelAcceptor getChannelAcceptor(); + + public abstract ChannelInitializer getChannelInitializer(); + + public static BungeeChannelInitializer create(final ChannelAcceptor acceptor) { + return new BungeeChannelInitializer() { + private final ChannelAcceptor channelAcceptor = acceptor; + private final ChannelInitializer channelInitializer = new ChannelInitializer() { + protected void initChannel(Channel channel) throws Exception { + if (!getChannelAcceptor().accept(channel)) { + channel.close(); + } + + } + }; + + @Generated + public ChannelAcceptor getChannelAcceptor() { + return this.channelAcceptor; + } + + @Generated + public ChannelInitializer getChannelInitializer() { + return this.channelInitializer; + } + }; + } + + @Generated + private BungeeChannelInitializer() { + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/channel/ChannelAcceptor.java b/src/main/java/net/md_5/bungee/protocol/channel/ChannelAcceptor.java new file mode 100644 index 0000000..d4b8392 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/channel/ChannelAcceptor.java @@ -0,0 +1,8 @@ +package net.md_5.bungee.protocol.channel; + +import io.netty.channel.Channel; + +@FunctionalInterface +public interface ChannelAcceptor { + boolean accept(Channel var1); +} diff --git a/src/main/java/net/md_5/bungee/protocol/data/ChatChain.java b/src/main/java/net/md_5/bungee/protocol/data/ChatChain.java new file mode 100644 index 0000000..6ce3857 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/data/ChatChain.java @@ -0,0 +1,222 @@ +package net.md_5.bungee.protocol.data; + +import com.google.common.base.Preconditions; +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import java.util.LinkedList; +import java.util.List; +import java.util.UUID; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class ChatChain extends DefinedPacket { + private List seen; + private List received; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.seen = readLinks(buf); + if (buf.readBoolean()) { + this.received = readLinks(buf); + } + + } + + private static List readLinks(ByteBuf buf) { + int cnt = readVarInt(buf); + Preconditions.checkArgument(cnt <= 5, "Too many entries"); + List chain = new LinkedList(); + + for(int i = 0; i < cnt; ++i) { + chain.add(new ChainLink(readUUID(buf), readArray(buf))); + } + + return chain; + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeLinks(this.seen, buf); + if (this.received != null) { + buf.writeBoolean(true); + writeLinks(this.received, buf); + } else { + buf.writeBoolean(false); + } + + } + + private static void writeLinks(List links, ByteBuf buf) { + writeVarInt(links.size(), buf); + + for(ChainLink link : links) { + writeUUID(link.sender, buf); + writeArray(link.signature, buf); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + throw new UnsupportedOperationException("Not supported."); + } + + @Generated + public List getSeen() { + return this.seen; + } + + @Generated + public List getReceived() { + return this.received; + } + + @Generated + public void setSeen(List seen) { + this.seen = seen; + } + + @Generated + public void setReceived(List received) { + this.received = received; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getSeen()); + return "ChatChain(seen=" + var10000 + ", received=" + String.valueOf(this.getReceived()) + ")"; + } + + @Generated + public ChatChain() { + } + + @Generated + public ChatChain(List seen, List received) { + this.seen = seen; + this.received = received; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ChatChain)) { + return false; + } else { + ChatChain other = (ChatChain)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$seen = this.getSeen(); + Object other$seen = other.getSeen(); + if (this$seen == null) { + if (other$seen != null) { + return false; + } + } else if (!this$seen.equals(other$seen)) { + return false; + } + + Object this$received = this.getReceived(); + Object other$received = other.getReceived(); + if (this$received == null) { + if (other$received != null) { + return false; + } + } else if (!this$received.equals(other$received)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ChatChain; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $seen = this.getSeen(); + result = result * 59 + ($seen == null ? 43 : $seen.hashCode()); + Object $received = this.getReceived(); + result = result * 59 + ($received == null ? 43 : $received.hashCode()); + return result; + } + + public static class ChainLink { + private final UUID sender; + private final byte[] signature; + + @Generated + public ChainLink(UUID sender, byte[] signature) { + this.sender = sender; + this.signature = signature; + } + + @Generated + public UUID getSender() { + return this.sender; + } + + @Generated + public byte[] getSignature() { + return this.signature; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ChainLink)) { + return false; + } else { + ChainLink other = (ChainLink)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$sender = this.getSender(); + Object other$sender = other.getSender(); + if (this$sender == null) { + if (other$sender != null) { + return false; + } + } else if (!this$sender.equals(other$sender)) { + return false; + } + + if (!Arrays.equals(this.getSignature(), other.getSignature())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ChainLink; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $sender = this.getSender(); + result = result * 59 + ($sender == null ? 43 : $sender.hashCode()); + result = result * 59 + Arrays.hashCode(this.getSignature()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getSender()); + return "ChatChain.ChainLink(sender=" + var10000 + ", signature=" + Arrays.toString(this.getSignature()) + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/data/Location.java b/src/main/java/net/md_5/bungee/protocol/data/Location.java new file mode 100644 index 0000000..bab712f --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/data/Location.java @@ -0,0 +1,74 @@ +package net.md_5.bungee.protocol.data; + +import lombok.Generated; + +public class Location { + private final String dimension; + private final long pos; + + @Generated + public Location(String dimension, long pos) { + this.dimension = dimension; + this.pos = pos; + } + + @Generated + public String getDimension() { + return this.dimension; + } + + @Generated + public long getPos() { + return this.pos; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Location)) { + return false; + } else { + Location other = (Location)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getPos() != other.getPos()) { + return false; + } else { + Object this$dimension = this.getDimension(); + Object other$dimension = other.getDimension(); + if (this$dimension == null) { + if (other$dimension != null) { + return false; + } + } else if (!this$dimension.equals(other$dimension)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Location; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $pos = this.getPos(); + result = result * 59 + (int)($pos >>> 32 ^ $pos); + Object $dimension = this.getDimension(); + result = result * 59 + ($dimension == null ? 43 : $dimension.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getDimension(); + return "Location(dimension=" + var10000 + ", pos=" + this.getPos() + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/data/NumberFormat.java b/src/main/java/net/md_5/bungee/protocol/data/NumberFormat.java new file mode 100644 index 0000000..13d02d5 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/data/NumberFormat.java @@ -0,0 +1,88 @@ +package net.md_5.bungee.protocol.data; + +import lombok.Generated; + +public class NumberFormat { + private final Type type; + private final Object value; + + @Generated + public NumberFormat(Type type, Object value) { + this.type = type; + this.value = value; + } + + @Generated + public Type getType() { + return this.type; + } + + @Generated + public Object getValue() { + return this.value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof NumberFormat)) { + return false; + } else { + NumberFormat other = (NumberFormat)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$type = this.getType(); + Object other$type = other.getType(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof NumberFormat; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $type = this.getType(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getType()); + return "NumberFormat(type=" + var10000 + ", value=" + String.valueOf(this.getValue()) + ")"; + } + + public static enum Type { + BLANK, + STYLED, + FIXED; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/data/PlayerPublicKey.java b/src/main/java/net/md_5/bungee/protocol/data/PlayerPublicKey.java new file mode 100644 index 0000000..8eeb99b --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/data/PlayerPublicKey.java @@ -0,0 +1,74 @@ +package net.md_5.bungee.protocol.data; + +import java.util.Arrays; +import lombok.Generated; + +public class PlayerPublicKey { + private final long expiry; + private final byte[] key; + private final byte[] signature; + + @Generated + public PlayerPublicKey(long expiry, byte[] key, byte[] signature) { + this.expiry = expiry; + this.key = key; + this.signature = signature; + } + + @Generated + public long getExpiry() { + return this.expiry; + } + + @Generated + public byte[] getKey() { + return this.key; + } + + @Generated + public byte[] getSignature() { + return this.signature; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerPublicKey)) { + return false; + } else { + PlayerPublicKey other = (PlayerPublicKey)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getExpiry() != other.getExpiry()) { + return false; + } else if (!Arrays.equals(this.getKey(), other.getKey())) { + return false; + } else { + return Arrays.equals(this.getSignature(), other.getSignature()); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerPublicKey; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $expiry = this.getExpiry(); + result = result * 59 + (int)($expiry >>> 32 ^ $expiry); + result = result * 59 + Arrays.hashCode(this.getKey()); + result = result * 59 + Arrays.hashCode(this.getSignature()); + return result; + } + + @Generated + public String toString() { + long var10000 = this.getExpiry(); + return "PlayerPublicKey(expiry=" + var10000 + ", key=" + Arrays.toString(this.getKey()) + ", signature=" + Arrays.toString(this.getSignature()) + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/data/Property.java b/src/main/java/net/md_5/bungee/protocol/data/Property.java new file mode 100644 index 0000000..819292d --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/data/Property.java @@ -0,0 +1,120 @@ +package net.md_5.bungee.protocol.data; + +import lombok.Generated; + +public class Property { + private String name; + private String value; + private String signature; + + public Property(String name, String value) { + this(name, value, (String)null); + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public String getValue() { + return this.value; + } + + @Generated + public String getSignature() { + return this.signature; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setValue(String value) { + this.value = value; + } + + @Generated + public void setSignature(String signature) { + this.signature = signature; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Property)) { + return false; + } else { + Property other = (Property)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + Object this$signature = this.getSignature(); + Object other$signature = other.getSignature(); + if (this$signature == null) { + if (other$signature != null) { + return false; + } + } else if (!this$signature.equals(other$signature)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Property; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + Object $signature = this.getSignature(); + result = result * 59 + ($signature == null ? 43 : $signature.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "Property(name=" + var10000 + ", value=" + this.getValue() + ", signature=" + this.getSignature() + ")"; + } + + @Generated + public Property(String name, String value, String signature) { + this.name = name; + this.value = value; + this.signature = signature; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/data/SeenMessages.java b/src/main/java/net/md_5/bungee/protocol/data/SeenMessages.java new file mode 100644 index 0000000..f74b541 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/data/SeenMessages.java @@ -0,0 +1,106 @@ +package net.md_5.bungee.protocol.data; + +import io.netty.buffer.ByteBuf; +import java.util.BitSet; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class SeenMessages extends DefinedPacket { + private int offset; + private BitSet acknowledged; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.offset = DefinedPacket.readVarInt(buf); + this.acknowledged = DefinedPacket.readFixedBitSet(20, buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + DefinedPacket.writeVarInt(this.offset, buf); + DefinedPacket.writeFixedBitSet(this.acknowledged, 20, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + throw new UnsupportedOperationException("Not supported."); + } + + @Generated + public int getOffset() { + return this.offset; + } + + @Generated + public BitSet getAcknowledged() { + return this.acknowledged; + } + + @Generated + public void setOffset(int offset) { + this.offset = offset; + } + + @Generated + public void setAcknowledged(BitSet acknowledged) { + this.acknowledged = acknowledged; + } + + @Generated + public String toString() { + int var10000 = this.getOffset(); + return "SeenMessages(offset=" + var10000 + ", acknowledged=" + String.valueOf(this.getAcknowledged()) + ")"; + } + + @Generated + public SeenMessages() { + } + + @Generated + public SeenMessages(int offset, BitSet acknowledged) { + this.offset = offset; + this.acknowledged = acknowledged; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SeenMessages)) { + return false; + } else { + SeenMessages other = (SeenMessages)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getOffset() != other.getOffset()) { + return false; + } else { + Object this$acknowledged = this.getAcknowledged(); + Object other$acknowledged = other.getAcknowledged(); + if (this$acknowledged == null) { + if (other$acknowledged != null) { + return false; + } + } else if (!this$acknowledged.equals(other$acknowledged)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof SeenMessages; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getOffset(); + Object $acknowledged = this.getAcknowledged(); + result = result * 59 + ($acknowledged == null ? 43 : $acknowledged.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/BossBar.java b/src/main/java/net/md_5/bungee/protocol/packet/BossBar.java new file mode 100644 index 0000000..a7d2da8 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/BossBar.java @@ -0,0 +1,233 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.UUID; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class BossBar extends DefinedPacket { + private UUID uuid; + private int action; + private BaseComponent title; + private float health; + private int color; + private int division; + private byte flags; + + public BossBar(UUID uuid, int action) { + this.uuid = uuid; + this.action = action; + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.uuid = readUUID(buf); + this.action = readVarInt(buf); + switch (this.action) { + case 0: + this.title = readBaseComponent(buf, protocolVersion); + this.health = buf.readFloat(); + this.color = readVarInt(buf); + this.division = readVarInt(buf); + this.flags = buf.readByte(); + case 1: + default: + break; + case 2: + this.health = buf.readFloat(); + break; + case 3: + this.title = readBaseComponent(buf, protocolVersion); + break; + case 4: + this.color = readVarInt(buf); + this.division = readVarInt(buf); + break; + case 5: + this.flags = buf.readByte(); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeUUID(this.uuid, buf); + writeVarInt(this.action, buf); + switch (this.action) { + case 0: + writeBaseComponent(this.title, buf, protocolVersion); + buf.writeFloat(this.health); + writeVarInt(this.color, buf); + writeVarInt(this.division, buf); + buf.writeByte(this.flags); + case 1: + default: + break; + case 2: + buf.writeFloat(this.health); + break; + case 3: + writeBaseComponent(this.title, buf, protocolVersion); + break; + case 4: + writeVarInt(this.color, buf); + writeVarInt(this.division, buf); + break; + case 5: + buf.writeByte(this.flags); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public UUID getUuid() { + return this.uuid; + } + + @Generated + public int getAction() { + return this.action; + } + + @Generated + public BaseComponent getTitle() { + return this.title; + } + + @Generated + public float getHealth() { + return this.health; + } + + @Generated + public int getColor() { + return this.color; + } + + @Generated + public int getDivision() { + return this.division; + } + + @Generated + public byte getFlags() { + return this.flags; + } + + @Generated + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + @Generated + public void setAction(int action) { + this.action = action; + } + + @Generated + public void setTitle(BaseComponent title) { + this.title = title; + } + + @Generated + public void setHealth(float health) { + this.health = health; + } + + @Generated + public void setColor(int color) { + this.color = color; + } + + @Generated + public void setDivision(int division) { + this.division = division; + } + + @Generated + public void setFlags(byte flags) { + this.flags = flags; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getUuid()); + return "BossBar(uuid=" + var10000 + ", action=" + this.getAction() + ", title=" + String.valueOf(this.getTitle()) + ", health=" + this.getHealth() + ", color=" + this.getColor() + ", division=" + this.getDivision() + ", flags=" + this.getFlags() + ")"; + } + + @Generated + public BossBar() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof BossBar)) { + return false; + } else { + BossBar other = (BossBar)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getAction() != other.getAction()) { + return false; + } else if (Float.compare(this.getHealth(), other.getHealth()) != 0) { + return false; + } else if (this.getColor() != other.getColor()) { + return false; + } else if (this.getDivision() != other.getDivision()) { + return false; + } else if (this.getFlags() != other.getFlags()) { + return false; + } else { + Object this$uuid = this.getUuid(); + Object other$uuid = other.getUuid(); + if (this$uuid == null) { + if (other$uuid != null) { + return false; + } + } else if (!this$uuid.equals(other$uuid)) { + return false; + } + + Object this$title = this.getTitle(); + Object other$title = other.getTitle(); + if (this$title == null) { + if (other$title != null) { + return false; + } + } else if (!this$title.equals(other$title)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof BossBar; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getAction(); + result = result * 59 + Float.floatToIntBits(this.getHealth()); + result = result * 59 + this.getColor(); + result = result * 59 + this.getDivision(); + result = result * 59 + this.getFlags(); + Object $uuid = this.getUuid(); + result = result * 59 + ($uuid == null ? 43 : $uuid.hashCode()); + Object $title = this.getTitle(); + result = result * 59 + ($title == null ? 43 : $title.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/BundleDelimiter.java b/src/main/java/net/md_5/bungee/protocol/packet/BundleDelimiter.java new file mode 100644 index 0000000..4e4288f --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/BundleDelimiter.java @@ -0,0 +1,46 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; + +public class BundleDelimiter extends DefinedPacket { + public void read(ByteBuf buf) { + } + + public void write(ByteBuf buf) { + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String toString() { + return "BundleDelimiter()"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof BundleDelimiter)) { + return false; + } else { + BundleDelimiter other = (BundleDelimiter)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof BundleDelimiter; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Chat.java b/src/main/java/net/md_5/bungee/protocol/packet/Chat.java new file mode 100644 index 0000000..f751b3a --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Chat.java @@ -0,0 +1,150 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.UUID; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class Chat extends DefinedPacket { + private static final UUID EMPTY_UUID = new UUID(0L, 0L); + private String message; + private byte position; + private UUID sender; + + public Chat(String message) { + this(message, (byte)0); + } + + public Chat(String message, byte position) { + this(message, position, EMPTY_UUID); + } + + public Chat(String message, byte position, UUID sender) { + this.message = message; + this.position = position; + this.sender = sender == null ? EMPTY_UUID : sender; + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.message = readString(buf, direction == ProtocolConstants.Direction.TO_CLIENT ? 262144 : (protocolVersion >= 315 ? 256 : 100)); + if (ProtocolConstants.isAfterOrEq(protocolVersion, 47) && direction == ProtocolConstants.Direction.TO_CLIENT) { + this.position = buf.readByte(); + if (protocolVersion >= 735) { + this.sender = readUUID(buf); + } + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.message, buf, direction == ProtocolConstants.Direction.TO_CLIENT ? 262144 : (protocolVersion >= 315 ? 256 : 100)); + if (ProtocolConstants.isAfterOrEq(protocolVersion, 47) && direction == ProtocolConstants.Direction.TO_CLIENT) { + buf.writeByte(this.position); + if (protocolVersion >= 735) { + writeUUID(this.sender, buf); + } + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getMessage() { + return this.message; + } + + @Generated + public byte getPosition() { + return this.position; + } + + @Generated + public UUID getSender() { + return this.sender; + } + + @Generated + public void setMessage(String message) { + this.message = message; + } + + @Generated + public void setPosition(byte position) { + this.position = position; + } + + @Generated + public void setSender(UUID sender) { + this.sender = sender; + } + + @Generated + public String toString() { + String var10000 = this.getMessage(); + return "Chat(message=" + var10000 + ", position=" + this.getPosition() + ", sender=" + String.valueOf(this.getSender()) + ")"; + } + + @Generated + public Chat() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Chat)) { + return false; + } else { + Chat other = (Chat)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getPosition() != other.getPosition()) { + return false; + } else { + Object this$message = this.getMessage(); + Object other$message = other.getMessage(); + if (this$message == null) { + if (other$message != null) { + return false; + } + } else if (!this$message.equals(other$message)) { + return false; + } + + Object this$sender = this.getSender(); + Object other$sender = other.getSender(); + if (this$sender == null) { + if (other$sender != null) { + return false; + } + } else if (!this$sender.equals(other$sender)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Chat; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getPosition(); + Object $message = this.getMessage(); + result = result * 59 + ($message == null ? 43 : $message.hashCode()); + Object $sender = this.getSender(); + result = result * 59 + ($sender == null ? 43 : $sender.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ClearDialog.java b/src/main/java/net/md_5/bungee/protocol/packet/ClearDialog.java new file mode 100644 index 0000000..4618ff2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ClearDialog.java @@ -0,0 +1,47 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class ClearDialog extends DefinedPacket { + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String toString() { + return "ClearDialog()"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClearDialog)) { + return false; + } else { + ClearDialog other = (ClearDialog)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClearDialog; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ClearTitles.java b/src/main/java/net/md_5/bungee/protocol/packet/ClearTitles.java new file mode 100644 index 0000000..ee8b819 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ClearTitles.java @@ -0,0 +1,76 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class ClearTitles extends DefinedPacket { + private boolean reset; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.reset = buf.readBoolean(); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + buf.writeBoolean(this.reset); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public boolean isReset() { + return this.reset; + } + + @Generated + public void setReset(boolean reset) { + this.reset = reset; + } + + @Generated + public String toString() { + return "ClearTitles(reset=" + this.isReset() + ")"; + } + + @Generated + public ClearTitles() { + } + + @Generated + public ClearTitles(boolean reset) { + this.reset = reset; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClearTitles)) { + return false; + } else { + ClearTitles other = (ClearTitles)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.isReset() == other.isReset(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClearTitles; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isReset() ? 79 : 97); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ClientChat.java b/src/main/java/net/md_5/bungee/protocol/packet/ClientChat.java new file mode 100644 index 0000000..44be878 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ClientChat.java @@ -0,0 +1,270 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.ChatChain; +import net.md_5.bungee.protocol.data.SeenMessages; + +public class ClientChat extends DefinedPacket { + private String message; + private long timestamp; + private long salt; + private byte[] signature; + private boolean signedPreview; + private ChatChain chain; + private SeenMessages seenMessages; + private byte checksum; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.message = readString(buf, 256); + this.timestamp = buf.readLong(); + this.salt = buf.readLong(); + if (protocolVersion >= 761) { + if (buf.readBoolean()) { + this.signature = new byte[256]; + buf.readBytes(this.signature); + } + } else { + this.signature = readArray(buf); + } + + if (protocolVersion < 761) { + this.signedPreview = buf.readBoolean(); + } + + if (protocolVersion >= 761) { + this.seenMessages = new SeenMessages(); + this.seenMessages.read(buf, direction, protocolVersion); + } else if (protocolVersion >= 760) { + this.chain = new ChatChain(); + this.chain.read(buf, direction, protocolVersion); + } + + if (protocolVersion >= 770) { + this.checksum = buf.readByte(); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.message, buf); + buf.writeLong(this.timestamp); + buf.writeLong(this.salt); + if (protocolVersion >= 761) { + buf.writeBoolean(this.signature != null); + if (this.signature != null) { + buf.writeBytes(this.signature); + } + } else { + writeArray(this.signature, buf); + } + + if (protocolVersion < 761) { + buf.writeBoolean(this.signedPreview); + } + + if (protocolVersion >= 761) { + this.seenMessages.write(buf, direction, protocolVersion); + } else if (protocolVersion >= 760) { + this.chain.write(buf, direction, protocolVersion); + } + + if (protocolVersion >= 770) { + buf.writeByte(this.checksum); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getMessage() { + return this.message; + } + + @Generated + public long getTimestamp() { + return this.timestamp; + } + + @Generated + public long getSalt() { + return this.salt; + } + + @Generated + public byte[] getSignature() { + return this.signature; + } + + @Generated + public boolean isSignedPreview() { + return this.signedPreview; + } + + @Generated + public ChatChain getChain() { + return this.chain; + } + + @Generated + public SeenMessages getSeenMessages() { + return this.seenMessages; + } + + @Generated + public byte getChecksum() { + return this.checksum; + } + + @Generated + public void setMessage(String message) { + this.message = message; + } + + @Generated + public void setTimestamp(long timestamp) { + this.timestamp = timestamp; + } + + @Generated + public void setSalt(long salt) { + this.salt = salt; + } + + @Generated + public void setSignature(byte[] signature) { + this.signature = signature; + } + + @Generated + public void setSignedPreview(boolean signedPreview) { + this.signedPreview = signedPreview; + } + + @Generated + public void setChain(ChatChain chain) { + this.chain = chain; + } + + @Generated + public void setSeenMessages(SeenMessages seenMessages) { + this.seenMessages = seenMessages; + } + + @Generated + public void setChecksum(byte checksum) { + this.checksum = checksum; + } + + @Generated + public String toString() { + String var10000 = this.getMessage(); + return "ClientChat(message=" + var10000 + ", timestamp=" + this.getTimestamp() + ", salt=" + this.getSalt() + ", signature=" + Arrays.toString(this.getSignature()) + ", signedPreview=" + this.isSignedPreview() + ", chain=" + String.valueOf(this.getChain()) + ", seenMessages=" + String.valueOf(this.getSeenMessages()) + ", checksum=" + this.getChecksum() + ")"; + } + + @Generated + public ClientChat() { + } + + @Generated + public ClientChat(String message, long timestamp, long salt, byte[] signature, boolean signedPreview, ChatChain chain, SeenMessages seenMessages, byte checksum) { + this.message = message; + this.timestamp = timestamp; + this.salt = salt; + this.signature = signature; + this.signedPreview = signedPreview; + this.chain = chain; + this.seenMessages = seenMessages; + this.checksum = checksum; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClientChat)) { + return false; + } else { + ClientChat other = (ClientChat)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getTimestamp() != other.getTimestamp()) { + return false; + } else if (this.getSalt() != other.getSalt()) { + return false; + } else if (this.isSignedPreview() != other.isSignedPreview()) { + return false; + } else if (this.getChecksum() != other.getChecksum()) { + return false; + } else { + Object this$message = this.getMessage(); + Object other$message = other.getMessage(); + if (this$message == null) { + if (other$message != null) { + return false; + } + } else if (!this$message.equals(other$message)) { + return false; + } + + if (!Arrays.equals(this.getSignature(), other.getSignature())) { + return false; + } else { + Object this$chain = this.getChain(); + Object other$chain = other.getChain(); + if (this$chain == null) { + if (other$chain != null) { + return false; + } + } else if (!this$chain.equals(other$chain)) { + return false; + } + + Object this$seenMessages = this.getSeenMessages(); + Object other$seenMessages = other.getSeenMessages(); + if (this$seenMessages == null) { + if (other$seenMessages != null) { + return false; + } + } else if (!this$seenMessages.equals(other$seenMessages)) { + return false; + } + + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClientChat; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $timestamp = this.getTimestamp(); + result = result * 59 + (int)($timestamp >>> 32 ^ $timestamp); + long $salt = this.getSalt(); + result = result * 59 + (int)($salt >>> 32 ^ $salt); + result = result * 59 + (this.isSignedPreview() ? 79 : 97); + result = result * 59 + this.getChecksum(); + Object $message = this.getMessage(); + result = result * 59 + ($message == null ? 43 : $message.hashCode()); + result = result * 59 + Arrays.hashCode(this.getSignature()); + Object $chain = this.getChain(); + result = result * 59 + ($chain == null ? 43 : $chain.hashCode()); + Object $seenMessages = this.getSeenMessages(); + result = result * 59 + ($seenMessages == null ? 43 : $seenMessages.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ClientChatAcknowledgement.java b/src/main/java/net/md_5/bungee/protocol/packet/ClientChatAcknowledgement.java new file mode 100644 index 0000000..583bfef --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ClientChatAcknowledgement.java @@ -0,0 +1,76 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class ClientChatAcknowledgement extends DefinedPacket { + private int offset; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.offset = DefinedPacket.readVarInt(buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + DefinedPacket.writeVarInt(this.offset, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getOffset() { + return this.offset; + } + + @Generated + public void setOffset(int offset) { + this.offset = offset; + } + + @Generated + public String toString() { + return "ClientChatAcknowledgement(offset=" + this.getOffset() + ")"; + } + + @Generated + public ClientChatAcknowledgement() { + } + + @Generated + public ClientChatAcknowledgement(int offset) { + this.offset = offset; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClientChatAcknowledgement)) { + return false; + } else { + ClientChatAcknowledgement other = (ClientChatAcknowledgement)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getOffset() == other.getOffset(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClientChatAcknowledgement; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getOffset(); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ClientCommand.java b/src/main/java/net/md_5/bungee/protocol/packet/ClientCommand.java new file mode 100644 index 0000000..bb4e8ce --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ClientCommand.java @@ -0,0 +1,297 @@ +package net.md_5.bungee.protocol.packet; + +import com.google.common.base.Preconditions; +import io.netty.buffer.ByteBuf; +import java.util.HashMap; +import java.util.Map; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.ChatChain; +import net.md_5.bungee.protocol.data.SeenMessages; + +public class ClientCommand extends DefinedPacket { + private String command; + private long timestamp; + private long salt; + private Map signatures; + private boolean signedPreview; + private ChatChain chain; + private SeenMessages seenMessages; + private byte checksum; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.command = readString(buf, protocolVersion >= 766 ? 32767 : 256); + this.timestamp = buf.readLong(); + this.salt = buf.readLong(); + int cnt = readVarInt(buf); + Preconditions.checkArgument(cnt <= 8, "Too many signatures"); + this.signatures = new HashMap(cnt); + + for(int i = 0; i < cnt; ++i) { + String name = readString(buf, 16); + byte[] signature; + if (protocolVersion >= 761) { + signature = new byte[256]; + buf.readBytes(signature); + } else { + signature = readArray(buf); + } + + this.signatures.put(name, signature); + } + + if (protocolVersion < 761) { + this.signedPreview = buf.readBoolean(); + } + + if (protocolVersion >= 761) { + this.seenMessages = new SeenMessages(); + this.seenMessages.read(buf, direction, protocolVersion); + } else if (protocolVersion >= 760) { + this.chain = new ChatChain(); + this.chain.read(buf, direction, protocolVersion); + } + + if (protocolVersion >= 770) { + this.checksum = buf.readByte(); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.command, buf); + buf.writeLong(this.timestamp); + buf.writeLong(this.salt); + writeVarInt(this.signatures.size(), buf); + + for(Map.Entry entry : this.signatures.entrySet()) { + writeString((String)entry.getKey(), buf); + if (protocolVersion >= 761) { + buf.writeBytes((byte[])entry.getValue()); + } else { + writeArray((byte[])entry.getValue(), buf); + } + } + + if (protocolVersion < 761) { + buf.writeBoolean(this.signedPreview); + } + + if (protocolVersion >= 761) { + this.seenMessages.write(buf, direction, protocolVersion); + } else if (protocolVersion >= 760) { + this.chain.write(buf, direction, protocolVersion); + } + + if (protocolVersion >= 770) { + buf.writeByte(this.checksum); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + public boolean isSigned() { + if (this.salt == 0L) { + return false; + } else { + return this.seenMessages != null && !this.seenMessages.getAcknowledged().isEmpty(); + } + } + + @Generated + public String getCommand() { + return this.command; + } + + @Generated + public long getTimestamp() { + return this.timestamp; + } + + @Generated + public long getSalt() { + return this.salt; + } + + @Generated + public Map getSignatures() { + return this.signatures; + } + + @Generated + public boolean isSignedPreview() { + return this.signedPreview; + } + + @Generated + public ChatChain getChain() { + return this.chain; + } + + @Generated + public SeenMessages getSeenMessages() { + return this.seenMessages; + } + + @Generated + public byte getChecksum() { + return this.checksum; + } + + @Generated + public void setCommand(String command) { + this.command = command; + } + + @Generated + public void setTimestamp(long timestamp) { + this.timestamp = timestamp; + } + + @Generated + public void setSalt(long salt) { + this.salt = salt; + } + + @Generated + public void setSignatures(Map signatures) { + this.signatures = signatures; + } + + @Generated + public void setSignedPreview(boolean signedPreview) { + this.signedPreview = signedPreview; + } + + @Generated + public void setChain(ChatChain chain) { + this.chain = chain; + } + + @Generated + public void setSeenMessages(SeenMessages seenMessages) { + this.seenMessages = seenMessages; + } + + @Generated + public void setChecksum(byte checksum) { + this.checksum = checksum; + } + + @Generated + public String toString() { + String var10000 = this.getCommand(); + return "ClientCommand(command=" + var10000 + ", timestamp=" + this.getTimestamp() + ", salt=" + this.getSalt() + ", signatures=" + String.valueOf(this.getSignatures()) + ", signedPreview=" + this.isSignedPreview() + ", chain=" + String.valueOf(this.getChain()) + ", seenMessages=" + String.valueOf(this.getSeenMessages()) + ", checksum=" + this.getChecksum() + ")"; + } + + @Generated + public ClientCommand() { + } + + @Generated + public ClientCommand(String command, long timestamp, long salt, Map signatures, boolean signedPreview, ChatChain chain, SeenMessages seenMessages, byte checksum) { + this.command = command; + this.timestamp = timestamp; + this.salt = salt; + this.signatures = signatures; + this.signedPreview = signedPreview; + this.chain = chain; + this.seenMessages = seenMessages; + this.checksum = checksum; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClientCommand)) { + return false; + } else { + ClientCommand other = (ClientCommand)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getTimestamp() != other.getTimestamp()) { + return false; + } else if (this.getSalt() != other.getSalt()) { + return false; + } else if (this.isSignedPreview() != other.isSignedPreview()) { + return false; + } else if (this.getChecksum() != other.getChecksum()) { + return false; + } else { + Object this$command = this.getCommand(); + Object other$command = other.getCommand(); + if (this$command == null) { + if (other$command != null) { + return false; + } + } else if (!this$command.equals(other$command)) { + return false; + } + + Object this$signatures = this.getSignatures(); + Object other$signatures = other.getSignatures(); + if (this$signatures == null) { + if (other$signatures != null) { + return false; + } + } else if (!this$signatures.equals(other$signatures)) { + return false; + } + + Object this$chain = this.getChain(); + Object other$chain = other.getChain(); + if (this$chain == null) { + if (other$chain != null) { + return false; + } + } else if (!this$chain.equals(other$chain)) { + return false; + } + + Object this$seenMessages = this.getSeenMessages(); + Object other$seenMessages = other.getSeenMessages(); + if (this$seenMessages == null) { + if (other$seenMessages != null) { + return false; + } + } else if (!this$seenMessages.equals(other$seenMessages)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClientCommand; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $timestamp = this.getTimestamp(); + result = result * 59 + (int)($timestamp >>> 32 ^ $timestamp); + long $salt = this.getSalt(); + result = result * 59 + (int)($salt >>> 32 ^ $salt); + result = result * 59 + (this.isSignedPreview() ? 79 : 97); + result = result * 59 + this.getChecksum(); + Object $command = this.getCommand(); + result = result * 59 + ($command == null ? 43 : $command.hashCode()); + Object $signatures = this.getSignatures(); + result = result * 59 + ($signatures == null ? 43 : $signatures.hashCode()); + Object $chain = this.getChain(); + result = result * 59 + ($chain == null ? 43 : $chain.hashCode()); + Object $seenMessages = this.getSeenMessages(); + result = result * 59 + ($seenMessages == null ? 43 : $seenMessages.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java b/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java new file mode 100644 index 0000000..3e1edf0 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java @@ -0,0 +1,296 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class ClientSettings extends DefinedPacket { + private String locale; + private byte viewDistance; + private int chatFlags; + private boolean chatColours; + private byte difficulty; + private byte skinParts; + private int mainHand; + private boolean disableTextFiltering; + private boolean allowServerListing; + private ParticleStatus particleStatus; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.locale = readString(buf, 16); + this.viewDistance = buf.readByte(); + this.chatFlags = protocolVersion >= 107 ? DefinedPacket.readVarInt(buf) : buf.readUnsignedByte(); + this.chatColours = buf.readBoolean(); + this.skinParts = buf.readByte(); + if (protocolVersion <= 5) { + this.difficulty = buf.readByte(); + } + + if (protocolVersion >= 107) { + this.mainHand = DefinedPacket.readVarInt(buf); + } + + if (protocolVersion >= 755) { + this.disableTextFiltering = buf.readBoolean(); + } + + if (protocolVersion >= 757) { + this.allowServerListing = buf.readBoolean(); + } + + if (protocolVersion >= 768) { + this.particleStatus = ClientSettings.ParticleStatus.values()[readVarInt(buf)]; + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + writeString(this.locale, buf); + buf.writeByte(this.viewDistance); + buf.writeByte(this.chatFlags); + buf.writeBoolean(this.chatColours); + buf.writeByte(this.skinParts); + buf.writeByte(this.difficulty); + } else { + writeString(this.locale, buf); + buf.writeByte(this.viewDistance); + if (protocolVersion >= 107) { + DefinedPacket.writeVarInt(this.chatFlags, buf); + } else { + buf.writeByte(this.chatFlags); + } + + buf.writeBoolean(this.chatColours); + buf.writeByte(this.skinParts); + if (protocolVersion >= 107) { + DefinedPacket.writeVarInt(this.mainHand, buf); + } + + if (protocolVersion >= 755) { + buf.writeBoolean(this.disableTextFiltering); + } + + if (protocolVersion >= 757) { + buf.writeBoolean(this.allowServerListing); + } + + if (protocolVersion >= 768) { + writeVarInt(this.particleStatus.ordinal(), buf); + } + + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getLocale() { + return this.locale; + } + + @Generated + public byte getViewDistance() { + return this.viewDistance; + } + + @Generated + public int getChatFlags() { + return this.chatFlags; + } + + @Generated + public boolean isChatColours() { + return this.chatColours; + } + + @Generated + public byte getDifficulty() { + return this.difficulty; + } + + @Generated + public byte getSkinParts() { + return this.skinParts; + } + + @Generated + public int getMainHand() { + return this.mainHand; + } + + @Generated + public boolean isDisableTextFiltering() { + return this.disableTextFiltering; + } + + @Generated + public boolean isAllowServerListing() { + return this.allowServerListing; + } + + @Generated + public ParticleStatus getParticleStatus() { + return this.particleStatus; + } + + @Generated + public void setLocale(String locale) { + this.locale = locale; + } + + @Generated + public void setViewDistance(byte viewDistance) { + this.viewDistance = viewDistance; + } + + @Generated + public void setChatFlags(int chatFlags) { + this.chatFlags = chatFlags; + } + + @Generated + public void setChatColours(boolean chatColours) { + this.chatColours = chatColours; + } + + @Generated + public void setDifficulty(byte difficulty) { + this.difficulty = difficulty; + } + + @Generated + public void setSkinParts(byte skinParts) { + this.skinParts = skinParts; + } + + @Generated + public void setMainHand(int mainHand) { + this.mainHand = mainHand; + } + + @Generated + public void setDisableTextFiltering(boolean disableTextFiltering) { + this.disableTextFiltering = disableTextFiltering; + } + + @Generated + public void setAllowServerListing(boolean allowServerListing) { + this.allowServerListing = allowServerListing; + } + + @Generated + public void setParticleStatus(ParticleStatus particleStatus) { + this.particleStatus = particleStatus; + } + + @Generated + public String toString() { + String var10000 = this.getLocale(); + return "ClientSettings(locale=" + var10000 + ", viewDistance=" + this.getViewDistance() + ", chatFlags=" + this.getChatFlags() + ", chatColours=" + this.isChatColours() + ", difficulty=" + this.getDifficulty() + ", skinParts=" + this.getSkinParts() + ", mainHand=" + this.getMainHand() + ", disableTextFiltering=" + this.isDisableTextFiltering() + ", allowServerListing=" + this.isAllowServerListing() + ", particleStatus=" + String.valueOf(this.getParticleStatus()) + ")"; + } + + @Generated + public ClientSettings() { + } + + @Generated + public ClientSettings(String locale, byte viewDistance, int chatFlags, boolean chatColours, byte difficulty, byte skinParts, int mainHand, boolean disableTextFiltering, boolean allowServerListing, ParticleStatus particleStatus) { + this.locale = locale; + this.viewDistance = viewDistance; + this.chatFlags = chatFlags; + this.chatColours = chatColours; + this.difficulty = difficulty; + this.skinParts = skinParts; + this.mainHand = mainHand; + this.disableTextFiltering = disableTextFiltering; + this.allowServerListing = allowServerListing; + this.particleStatus = particleStatus; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ClientSettings)) { + return false; + } else { + ClientSettings other = (ClientSettings)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getViewDistance() != other.getViewDistance()) { + return false; + } else if (this.getChatFlags() != other.getChatFlags()) { + return false; + } else if (this.isChatColours() != other.isChatColours()) { + return false; + } else if (this.getDifficulty() != other.getDifficulty()) { + return false; + } else if (this.getSkinParts() != other.getSkinParts()) { + return false; + } else if (this.getMainHand() != other.getMainHand()) { + return false; + } else if (this.isDisableTextFiltering() != other.isDisableTextFiltering()) { + return false; + } else if (this.isAllowServerListing() != other.isAllowServerListing()) { + return false; + } else { + Object this$locale = this.getLocale(); + Object other$locale = other.getLocale(); + if (this$locale == null) { + if (other$locale != null) { + return false; + } + } else if (!this$locale.equals(other$locale)) { + return false; + } + + Object this$particleStatus = this.getParticleStatus(); + Object other$particleStatus = other.getParticleStatus(); + if (this$particleStatus == null) { + if (other$particleStatus != null) { + return false; + } + } else if (!this$particleStatus.equals(other$particleStatus)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ClientSettings; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getViewDistance(); + result = result * 59 + this.getChatFlags(); + result = result * 59 + (this.isChatColours() ? 79 : 97); + result = result * 59 + this.getDifficulty(); + result = result * 59 + this.getSkinParts(); + result = result * 59 + this.getMainHand(); + result = result * 59 + (this.isDisableTextFiltering() ? 79 : 97); + result = result * 59 + (this.isAllowServerListing() ? 79 : 97); + Object $locale = this.getLocale(); + result = result * 59 + ($locale == null ? 43 : $locale.hashCode()); + Object $particleStatus = this.getParticleStatus(); + result = result * 59 + ($particleStatus == null ? 43 : $particleStatus.hashCode()); + return result; + } + + public static enum ParticleStatus { + ALL, + DECREASED, + MINIMAL; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Commands.java b/src/main/java/net/md_5/bungee/protocol/packet/Commands.java new file mode 100644 index 0000000..bb53c7e --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Commands.java @@ -0,0 +1,1045 @@ +package net.md_5.bungee.protocol.packet; + +import com.google.common.base.Preconditions; +import com.mojang.brigadier.Command; +import com.mojang.brigadier.StringReader; +import com.mojang.brigadier.arguments.ArgumentType; +import com.mojang.brigadier.arguments.DoubleArgumentType; +import com.mojang.brigadier.arguments.FloatArgumentType; +import com.mojang.brigadier.arguments.IntegerArgumentType; +import com.mojang.brigadier.arguments.LongArgumentType; +import com.mojang.brigadier.arguments.StringArgumentType; +import com.mojang.brigadier.builder.ArgumentBuilder; +import com.mojang.brigadier.builder.LiteralArgumentBuilder; +import com.mojang.brigadier.builder.RequiredArgumentBuilder; +import com.mojang.brigadier.context.CommandContext; +import com.mojang.brigadier.exceptions.CommandSyntaxException; +import com.mojang.brigadier.suggestion.SuggestionProvider; +import com.mojang.brigadier.suggestion.Suggestions; +import com.mojang.brigadier.suggestion.SuggestionsBuilder; +import com.mojang.brigadier.tree.ArgumentCommandNode; +import com.mojang.brigadier.tree.CommandNode; +import com.mojang.brigadier.tree.LiteralCommandNode; +import com.mojang.brigadier.tree.RootCommandNode; +import dev._2lstudios.flamecord.WrappedArgumentType; +import io.netty.buffer.ByteBuf; +import java.util.ArrayDeque; +import java.util.Arrays; +import java.util.Deque; +import java.util.HashMap; +import java.util.Iterator; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.concurrent.CompletableFuture; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class Commands extends DefinedPacket { + private static final int FLAG_TYPE = 3; + private static final int FLAG_EXECUTABLE = 4; + private static final int FLAG_REDIRECT = 8; + private static final int FLAG_SUGGESTIONS = 16; + private static final int NODE_ROOT = 0; + private static final int NODE_LITERAL = 1; + private static final int NODE_ARGUMENT = 2; + private RootCommandNode root; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + int nodeCount = readVarInt(buf); + NetworkNode[] nodes = new NetworkNode[nodeCount]; + Deque nodeQueue = new ArrayDeque(nodes.length); + + for(int i = 0; i < nodeCount; ++i) { + byte flags = buf.readByte(); + int[] children = readVarIntArray(buf); + int redirectNode = (flags & 8) != 0 ? readVarInt(buf) : 0; + ArgumentBuilder argumentBuilder; + switch (flags & 3) { + case 0: + argumentBuilder = null; + break; + case 1: + argumentBuilder = LiteralArgumentBuilder.literal(readString(buf)); + break; + case 2: + String name = readString(buf); + argumentBuilder = RequiredArgumentBuilder.argument(name, Commands.ArgumentRegistry.read(buf, protocolVersion)); + if ((flags & 16) != 0) { + String suggster = readString(buf); + ((RequiredArgumentBuilder)argumentBuilder).suggests(Commands.SuggestionRegistry.getProvider(suggster)); + } + break; + default: + throw new IllegalArgumentException("Unhandled node type " + flags); + } + + NetworkNode node = new NetworkNode(argumentBuilder, flags, redirectNode, children); + nodes[i] = node; + nodeQueue.add(node); + } + + while(!nodeQueue.isEmpty()) { + boolean mustCycle = false; + Iterator iter = nodeQueue.iterator(); + + while(iter.hasNext()) { + NetworkNode node = (NetworkNode)iter.next(); + if (node.buildSelf(nodes)) { + iter.remove(); + mustCycle = true; + } + } + + if (!mustCycle) { + throw new IllegalStateException("Did not finish building root node"); + } + } + + int rootIndex = readVarInt(buf); + this.root = (RootCommandNode)nodes[rootIndex].command; + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + Map indexMap = new LinkedHashMap(); + Deque nodeQueue = new ArrayDeque(); + nodeQueue.add(this.root); + + while(!nodeQueue.isEmpty()) { + CommandNode command = (CommandNode)nodeQueue.pollFirst(); + if (!indexMap.containsKey(command)) { + int currentIndex = indexMap.size(); + indexMap.put(command, currentIndex); + nodeQueue.addAll(command.getChildren()); + if (command.getRedirect() != null) { + nodeQueue.add(command.getRedirect()); + } + } + } + + writeVarInt(indexMap.size(), buf); + int currentIndex = 0; + + for(Map.Entry entry : indexMap.entrySet()) { + Preconditions.checkState((Integer)entry.getValue() == currentIndex++, "Iteration out of order!"); + CommandNode node = entry.getKey(); + byte flags = 0; + if (node.getRedirect() != null) { + flags = (byte)(flags | 8); + } + + if (node.getCommand() != null) { + flags = (byte)(flags | 4); + } + + if (node instanceof RootCommandNode) { + flags = (byte)(flags | 0); + } else if (node instanceof LiteralCommandNode) { + flags = (byte)(flags | 1); + } else { + if (!(node instanceof ArgumentCommandNode)) { + throw new IllegalArgumentException("Unhandled node type " + String.valueOf(node)); + } + + flags = (byte)(flags | 2); + if (((ArgumentCommandNode)node).getCustomSuggestions() != null) { + flags = (byte)(flags | 16); + } + } + + buf.writeByte(flags); + writeVarInt(node.getChildren().size(), buf); + + for(CommandNode child : node.getChildren()) { + writeVarInt((Integer)indexMap.get(child), buf); + } + + if (node.getRedirect() != null) { + writeVarInt((Integer)indexMap.get(node.getRedirect()), buf); + } + + if (node instanceof LiteralCommandNode) { + writeString(((LiteralCommandNode)node).getLiteral(), buf); + } else if (node instanceof ArgumentCommandNode) { + ArgumentCommandNode argumentNode = (ArgumentCommandNode)node; + writeString(argumentNode.getName(), buf); + Commands.ArgumentRegistry.write(argumentNode.getType(), buf, protocolVersion); + if (argumentNode.getCustomSuggestions() != null) { + writeString(Commands.SuggestionRegistry.getKey(argumentNode.getCustomSuggestions()), buf); + } + } + } + + int rootIndex = (Integer)indexMap.get(this.root); + Preconditions.checkState(rootIndex == 0, "How did root not land up at index 0?!?"); + writeVarInt(rootIndex, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + private static byte binaryFlag(boolean first, boolean second) { + byte ret = 0; + if (first) { + ret = (byte)(ret | 1); + } + + if (second) { + ret = (byte)(ret | 2); + } + + return ret; + } + + @Generated + public RootCommandNode getRoot() { + return this.root; + } + + @Generated + public void setRoot(RootCommandNode root) { + this.root = root; + } + + @Generated + public String toString() { + return "Commands(root=" + String.valueOf(this.getRoot()) + ")"; + } + + @Generated + public Commands() { + } + + @Generated + public Commands(RootCommandNode root) { + this.root = root; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Commands)) { + return false; + } else { + Commands other = (Commands)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$root = this.getRoot(); + Object other$root = other.getRoot(); + if (this$root == null) { + if (other$root != null) { + return false; + } + } else if (!this$root.equals(other$root)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Commands; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $root = this.getRoot(); + result = result * 59 + ($root == null ? 43 : $root.hashCode()); + return result; + } + + private static class NetworkNode { + private final ArgumentBuilder argumentBuilder; + private final byte flags; + private final int redirectNode; + private final int[] children; + private CommandNode command; + + private boolean buildSelf(NetworkNode[] otherNodes) { + if (this.command == null) { + if (this.argumentBuilder == null) { + this.command = new RootCommandNode(); + } else { + if ((this.flags & 8) != 0) { + if (otherNodes[this.redirectNode].command == null) { + return false; + } + + this.argumentBuilder.redirect(otherNodes[this.redirectNode].command); + } + + if ((this.flags & 4) != 0) { + this.argumentBuilder.executes(new Command() { + public int run(CommandContext context) throws CommandSyntaxException { + return 0; + } + }); + } + + this.command = this.argumentBuilder.build(); + } + } + + for(int childIndex : this.children) { + if (otherNodes[childIndex].command == null) { + return false; + } + } + + for(int childIndex : this.children) { + CommandNode child = otherNodes[childIndex].command; + Preconditions.checkArgument(!(child instanceof RootCommandNode), "Cannot have RootCommandNode as child"); + this.command.addChild(child); + } + + return true; + } + + @Generated + public NetworkNode(ArgumentBuilder argumentBuilder, byte flags, int redirectNode, int[] children) { + this.argumentBuilder = argumentBuilder; + this.flags = flags; + this.redirectNode = redirectNode; + this.children = children; + } + + @Generated + public ArgumentBuilder getArgumentBuilder() { + return this.argumentBuilder; + } + + @Generated + public byte getFlags() { + return this.flags; + } + + @Generated + public int getRedirectNode() { + return this.redirectNode; + } + + @Generated + public int[] getChildren() { + return this.children; + } + + @Generated + public CommandNode getCommand() { + return this.command; + } + + @Generated + public void setCommand(CommandNode command) { + this.command = command; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof NetworkNode)) { + return false; + } else { + NetworkNode other = (NetworkNode)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getFlags() != other.getFlags()) { + return false; + } else if (this.getRedirectNode() != other.getRedirectNode()) { + return false; + } else { + Object this$argumentBuilder = this.getArgumentBuilder(); + Object other$argumentBuilder = other.getArgumentBuilder(); + if (this$argumentBuilder == null) { + if (other$argumentBuilder != null) { + return false; + } + } else if (!this$argumentBuilder.equals(other$argumentBuilder)) { + return false; + } + + if (!Arrays.equals(this.getChildren(), other.getChildren())) { + return false; + } else { + Object this$command = this.getCommand(); + Object other$command = other.getCommand(); + if (this$command == null) { + if (other$command != null) { + return false; + } + } else if (!this$command.equals(other$command)) { + return false; + } + + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof NetworkNode; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getFlags(); + result = result * 59 + this.getRedirectNode(); + Object $argumentBuilder = this.getArgumentBuilder(); + result = result * 59 + ($argumentBuilder == null ? 43 : $argumentBuilder.hashCode()); + result = result * 59 + Arrays.hashCode(this.getChildren()); + Object $command = this.getCommand(); + result = result * 59 + ($command == null ? 43 : $command.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getArgumentBuilder()); + return "Commands.NetworkNode(argumentBuilder=" + var10000 + ", flags=" + this.getFlags() + ", redirectNode=" + this.getRedirectNode() + ", children=" + Arrays.toString(this.getChildren()) + ", command=" + String.valueOf(this.getCommand()) + ")"; + } + } + + private static class ArgumentRegistry { + private static final Map PROVIDERS = new HashMap(); + private static final ArgumentSerializer[] IDS_1_19; + private static final ArgumentSerializer[] IDS_1_19_3; + private static final ArgumentSerializer[] IDS_1_19_4; + private static final ArgumentSerializer[] IDS_1_20_3; + private static final ArgumentSerializer[] IDS_1_20_5; + private static final ArgumentSerializer[] IDS_1_21_5; + private static final ArgumentSerializer[] IDS_1_21_6; + private static final ArgumentSerializer[] IDS_26_3; + private static final Map, ProperArgumentSerializer> PROPER_PROVIDERS = new HashMap(); + private static final ArgumentSerializer VOID = new ArgumentSerializer() { + protected Void read(ByteBuf buf) { + return null; + } + + protected void write(ByteBuf buf, Void t) { + } + }; + private static final ArgumentSerializer BOOLEAN = new ArgumentSerializer() { + protected Boolean read(ByteBuf buf) { + return buf.readBoolean(); + } + + protected void write(ByteBuf buf, Boolean t) { + buf.writeBoolean(t); + } + }; + private static final ArgumentSerializer BYTE = new ArgumentSerializer() { + protected Byte read(ByteBuf buf) { + return buf.readByte(); + } + + protected void write(ByteBuf buf, Byte t) { + buf.writeByte(t); + } + }; + private static final ArgumentSerializer FLOAT_RANGE = new ArgumentSerializer() { + protected FloatArgumentType read(ByteBuf buf) { + byte flags = buf.readByte(); + float min = (flags & 1) != 0 ? buf.readFloat() : -Float.MAX_VALUE; + float max = (flags & 2) != 0 ? buf.readFloat() : Float.MAX_VALUE; + return FloatArgumentType.floatArg(min, max); + } + + protected void write(ByteBuf buf, FloatArgumentType t) { + boolean hasMin = t.getMinimum() != -Float.MAX_VALUE; + boolean hasMax = t.getMaximum() != Float.MAX_VALUE; + buf.writeByte(Commands.binaryFlag(hasMin, hasMax)); + if (hasMin) { + buf.writeFloat(t.getMinimum()); + } + + if (hasMax) { + buf.writeFloat(t.getMaximum()); + } + + } + }; + private static final ArgumentSerializer DOUBLE_RANGE = new ArgumentSerializer() { + protected DoubleArgumentType read(ByteBuf buf) { + byte flags = buf.readByte(); + double min = (flags & 1) != 0 ? buf.readDouble() : -Double.MAX_VALUE; + double max = (flags & 2) != 0 ? buf.readDouble() : Double.MAX_VALUE; + return DoubleArgumentType.doubleArg(min, max); + } + + protected void write(ByteBuf buf, DoubleArgumentType t) { + boolean hasMin = t.getMinimum() != -Double.MAX_VALUE; + boolean hasMax = t.getMaximum() != Double.MAX_VALUE; + buf.writeByte(Commands.binaryFlag(hasMin, hasMax)); + if (hasMin) { + buf.writeDouble(t.getMinimum()); + } + + if (hasMax) { + buf.writeDouble(t.getMaximum()); + } + + } + }; + private static final ArgumentSerializer INTEGER_RANGE = new ArgumentSerializer() { + protected IntegerArgumentType read(ByteBuf buf) { + byte flags = buf.readByte(); + int min = (flags & 1) != 0 ? buf.readInt() : Integer.MIN_VALUE; + int max = (flags & 2) != 0 ? buf.readInt() : Integer.MAX_VALUE; + return IntegerArgumentType.integer(min, max); + } + + protected void write(ByteBuf buf, IntegerArgumentType t) { + boolean hasMin = t.getMinimum() != Integer.MIN_VALUE; + boolean hasMax = t.getMaximum() != Integer.MAX_VALUE; + buf.writeByte(Commands.binaryFlag(hasMin, hasMax)); + if (hasMin) { + buf.writeInt(t.getMinimum()); + } + + if (hasMax) { + buf.writeInt(t.getMaximum()); + } + + } + }; + private static final ArgumentSerializer INTEGER = new ArgumentSerializer() { + protected Integer read(ByteBuf buf) { + return buf.readInt(); + } + + protected void write(ByteBuf buf, Integer t) { + buf.writeInt(t); + } + }; + private static final ArgumentSerializer LONG_RANGE = new ArgumentSerializer() { + protected LongArgumentType read(ByteBuf buf) { + byte flags = buf.readByte(); + long min = (flags & 1) != 0 ? buf.readLong() : Long.MIN_VALUE; + long max = (flags & 2) != 0 ? buf.readLong() : Long.MAX_VALUE; + return LongArgumentType.longArg(min, max); + } + + protected void write(ByteBuf buf, LongArgumentType t) { + boolean hasMin = t.getMinimum() != Long.MIN_VALUE; + boolean hasMax = t.getMaximum() != Long.MAX_VALUE; + buf.writeByte(Commands.binaryFlag(hasMin, hasMax)); + if (hasMin) { + buf.writeLong(t.getMinimum()); + } + + if (hasMax) { + buf.writeLong(t.getMaximum()); + } + + } + }; + private static final ProperArgumentSerializer STRING = new ProperArgumentSerializer() { + protected StringArgumentType read(ByteBuf buf) { + int val = DefinedPacket.readVarInt(buf); + switch (val) { + case 0 -> { + return StringArgumentType.word(); + } + case 1 -> { + return StringArgumentType.string(); + } + case 2 -> { + return StringArgumentType.greedyString(); + } + default -> throw new IllegalArgumentException("Unknown string type " + val); + } + } + + protected void write(ByteBuf buf, StringArgumentType t) { + DefinedPacket.writeVarInt(t.getType().ordinal(), buf); + } + + protected int getIntKey() { + return 5; + } + + protected String getKey() { + return "brigadier:string"; + } + }; + private static final ArgumentSerializer RAW_STRING = new ArgumentSerializer() { + protected String read(ByteBuf buf) { + return DefinedPacket.readString(buf); + } + + protected void write(ByteBuf buf, String t) { + DefinedPacket.writeString(t, buf); + } + }; + private static final ArgumentSerializer FORGE_ENUM = new ArgumentSerializer() { + protected String read(ByteBuf buf) { + return DefinedPacket.readString(buf); + } + + protected void write(ByteBuf buf, String enumClass) { + DefinedPacket.writeString(enumClass, buf); + } + }; + private static final int ARCLIGHT_WRAP_INDEX = -256; + private static final ProperArgumentSerializer ARCLIGHT_WRAP = new ProperArgumentSerializer() { + protected String getKey() { + throw new IllegalStateException(); + } + + protected String getKey(WrappedArgumentType t) { + return t.actualKey; + } + + protected int getIntKey() { + throw new UnsupportedOperationException("getIntKey"); + } + + protected int getIntKey(WrappedArgumentType t) { + return t.actualIntKey; + } + + protected WrappedArgumentType read(ByteBuf buf) { + throw new UnsupportedOperationException("read"); + } + + protected WrappedArgumentType read(ByteBuf buf, int protocolVersion) { + if (protocolVersion >= 759) { + int actualKey = DefinedPacket.readVarInt(buf); + byte[] bytes = DefinedPacket.readArray(buf); + return new WrappedArgumentType((String)null, actualKey, bytes); + } else { + String actualKey = DefinedPacket.readString(buf); + byte[] bytes = DefinedPacket.readArray(buf); + return new WrappedArgumentType(actualKey, -1, bytes); + } + } + + protected void write(ByteBuf buf, WrappedArgumentType t) { + buf.writeBytes(t.actualPayload); + } + }; + + private static void register(String name, ArgumentSerializer serializer) { + PROVIDERS.put(name, serializer); + } + + private static ArgumentSerializer get(String name, ArgumentSerializer serializer) { + return serializer; + } + + private static ArgumentSerializer resolveNumericReader(int argumentTypeId, int protocolVersion) { + if (argumentTypeId == -256) { + return ARCLIGHT_WRAP; + } else { + ArgumentSerializer[] serializers; + if (protocolVersion >= 777) { + serializers = IDS_26_3; + } else if (protocolVersion >= 771) { + serializers = IDS_1_21_6; + } else if (protocolVersion >= 770) { + serializers = IDS_1_21_5; + } else if (protocolVersion >= 766) { + serializers = IDS_1_20_5; + } else if (protocolVersion >= 765) { + serializers = IDS_1_20_3; + } else if (protocolVersion >= 762) { + serializers = IDS_1_19_4; + } else if (protocolVersion >= 761) { + serializers = IDS_1_19_3; + } else { + serializers = IDS_1_19; + } + + Preconditions.checkArgument(argumentTypeId >= 0 && argumentTypeId < serializers.length, "Invalid argument type " + argumentTypeId + " for protocol " + protocolVersion); + return serializers[argumentTypeId]; + } + } + + private static ArgumentType read(ByteBuf buf, int protocolVersion) { + Object key; + ArgumentSerializer reader; + if (protocolVersion >= 759) { + int argumentTypeId = DefinedPacket.readVarInt(buf); + key = argumentTypeId; + reader = resolveNumericReader(argumentTypeId, protocolVersion); + } else { + key = DefinedPacket.readString(buf); + reader = (ArgumentSerializer)PROVIDERS.get((String)key); + } + + Preconditions.checkArgument(reader != null, "No provider for argument " + String.valueOf(key)); + Object val = reader.read(buf, protocolVersion); + return (ArgumentType)(val != null && PROPER_PROVIDERS.containsKey(val.getClass()) ? (ArgumentType)val : new DummyType(key, reader, val)); + } + + private static void write(ArgumentType arg, ByteBuf buf, int protocolVersion) { + ProperArgumentSerializer proper = (ProperArgumentSerializer)PROPER_PROVIDERS.get(arg.getClass()); + if (proper != null) { + if (protocolVersion >= 759) { + DefinedPacket.writeVarInt(proper.getIntKey(arg), buf); + } else { + DefinedPacket.writeString(proper.getKey(arg), buf); + } + + proper.write(buf, arg); + } else { + Preconditions.checkArgument(arg instanceof DummyType, "Non dummy arg " + String.valueOf(arg.getClass())); + DummyType dummy = (DummyType)arg; + if (dummy.key instanceof Integer) { + DefinedPacket.writeVarInt((Integer)dummy.key, buf); + } else { + DefinedPacket.writeString((String)dummy.key, buf); + } + + dummy.serializer.write(buf, dummy.value); + } + + } + + @Generated + public ArgumentRegistry() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ArgumentRegistry)) { + return false; + } else { + ArgumentRegistry other = (ArgumentRegistry)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ArgumentRegistry; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } + + @Generated + public String toString() { + return "Commands.ArgumentRegistry()"; + } + + static { + register("brigadier:bool", VOID); + register("brigadier:float", FLOAT_RANGE); + register("brigadier:double", DOUBLE_RANGE); + register("brigadier:integer", INTEGER_RANGE); + register("brigadier:long", LONG_RANGE); + register("brigadier:string", STRING); + PROPER_PROVIDERS.put(StringArgumentType.class, STRING); + register("minecraft:entity", BYTE); + register("minecraft:game_profile", VOID); + register("minecraft:block_pos", VOID); + register("minecraft:column_pos", VOID); + register("minecraft:vec3", VOID); + register("minecraft:vec2", VOID); + register("minecraft:block_state", VOID); + register("minecraft:block_predicate", VOID); + register("minecraft:item_stack", VOID); + register("minecraft:item_predicate", VOID); + register("minecraft:color", VOID); + register("minecraft:component", VOID); + register("minecraft:message", VOID); + register("minecraft:nbt_compound_tag", VOID); + register("minecraft:nbt_tag", VOID); + register("minecraft:nbt_path", VOID); + register("minecraft:objective", VOID); + register("minecraft:objective_criteria", VOID); + register("minecraft:operation", VOID); + register("minecraft:particle", VOID); + register("minecraft:angle", VOID); + register("minecraft:rotation", VOID); + register("minecraft:scoreboard_slot", VOID); + register("minecraft:score_holder", BYTE); + register("minecraft:swizzle", VOID); + register("minecraft:team", VOID); + register("minecraft:item_slot", VOID); + register("minecraft:resource_location", VOID); + register("minecraft:mob_effect", VOID); + register("minecraft:function", VOID); + register("minecraft:entity_anchor", VOID); + register("minecraft:int_range", VOID); + register("minecraft:float_range", VOID); + register("minecraft:item_enchantment", VOID); + register("minecraft:entity_summon", VOID); + register("minecraft:dimension", VOID); + register("minecraft:time", VOID); + register("minecraft:resource_or_tag", RAW_STRING); + register("minecraft:resource", RAW_STRING); + register("minecraft:uuid", VOID); + register("minecraft:nbt", VOID); + IDS_1_19 = new ArgumentSerializer[]{get("brigadier:bool", VOID), get("brigadier:float", FLOAT_RANGE), get("brigadier:double", DOUBLE_RANGE), get("brigadier:integer", INTEGER_RANGE), get("brigadier:long", LONG_RANGE), get("brigadier:string", STRING), get("minecraft:entity", BYTE), get("minecraft:game_profile", VOID), get("minecraft:block_pos", VOID), get("minecraft:column_pos", VOID), get("minecraft:vec3", VOID), get("minecraft:vec2", VOID), get("minecraft:block_state", VOID), get("minecraft:block_predicate", VOID), get("minecraft:item_stack", VOID), get("minecraft:item_predicate", VOID), get("minecraft:color", VOID), get("minecraft:component", VOID), get("minecraft:message", VOID), get("minecraft:nbt_compound_tag", VOID), get("minecraft:nbt_tag", VOID), get("minecraft:nbt_path", VOID), get("minecraft:objective", VOID), get("minecraft:objective_criteria", VOID), get("minecraft:operation", VOID), get("minecraft:particle", VOID), get("minecraft:angle", VOID), get("minecraft:rotation", VOID), get("minecraft:scoreboard_slot", VOID), get("minecraft:score_holder", BYTE), get("minecraft:swizzle", VOID), get("minecraft:team", VOID), get("minecraft:item_slot", VOID), get("minecraft:resource_location", VOID), get("minecraft:mob_effect", VOID), get("minecraft:function", VOID), get("minecraft:entity_anchor", VOID), get("minecraft:int_range", VOID), get("minecraft:float_range", VOID), get("minecraft:item_enchantment", VOID), get("minecraft:entity_summon", VOID), get("minecraft:dimension", VOID), get("minecraft:time", VOID), get("minecraft:resource_or_tag", RAW_STRING), get("minecraft:resource", RAW_STRING), get("minecraft:template_mirror", VOID), get("minecraft:template_rotation", VOID), get("minecraft:uuid", VOID)}; + IDS_1_19_3 = new ArgumentSerializer[]{get("brigadier:bool", VOID), get("brigadier:float", FLOAT_RANGE), get("brigadier:double", DOUBLE_RANGE), get("brigadier:integer", INTEGER_RANGE), get("brigadier:long", LONG_RANGE), get("brigadier:string", STRING), get("minecraft:entity", BYTE), get("minecraft:game_profile", VOID), get("minecraft:block_pos", VOID), get("minecraft:column_pos", VOID), get("minecraft:vec3", VOID), get("minecraft:vec2", VOID), get("minecraft:block_state", VOID), get("minecraft:block_predicate", VOID), get("minecraft:item_stack", VOID), get("minecraft:item_predicate", VOID), get("minecraft:color", VOID), get("minecraft:component", VOID), get("minecraft:message", VOID), get("minecraft:nbt_compound_tag", VOID), get("minecraft:nbt_tag", VOID), get("minecraft:nbt_path", VOID), get("minecraft:objective", VOID), get("minecraft:objective_criteria", VOID), get("minecraft:operation", VOID), get("minecraft:particle", VOID), get("minecraft:angle", VOID), get("minecraft:rotation", VOID), get("minecraft:scoreboard_slot", VOID), get("minecraft:score_holder", BYTE), get("minecraft:swizzle", VOID), get("minecraft:team", VOID), get("minecraft:item_slot", VOID), get("minecraft:resource_location", VOID), get("minecraft:function", VOID), get("minecraft:entity_anchor", VOID), get("minecraft:int_range", VOID), get("minecraft:float_range", VOID), get("minecraft:dimension", VOID), get("minecraft:gamemode", VOID), get("minecraft:time", VOID), get("minecraft:resource_or_tag", RAW_STRING), get("minecraft:resource_or_tag_key", RAW_STRING), get("minecraft:resource", RAW_STRING), get("minecraft:resource_key", RAW_STRING), get("minecraft:template_mirror", VOID), get("minecraft:template_rotation", VOID), get("minecraft:uuid", VOID)}; + IDS_1_19_4 = new ArgumentSerializer[]{get("brigadier:bool", VOID), get("brigadier:float", FLOAT_RANGE), get("brigadier:double", DOUBLE_RANGE), get("brigadier:integer", INTEGER_RANGE), get("brigadier:long", LONG_RANGE), get("brigadier:string", STRING), get("minecraft:entity", BYTE), get("minecraft:game_profile", VOID), get("minecraft:block_pos", VOID), get("minecraft:column_pos", VOID), get("minecraft:vec3", VOID), get("minecraft:vec2", VOID), get("minecraft:block_state", VOID), get("minecraft:block_predicate", VOID), get("minecraft:item_stack", VOID), get("minecraft:item_predicate", VOID), get("minecraft:color", VOID), get("minecraft:component", VOID), get("minecraft:message", VOID), get("minecraft:nbt_compound_tag", VOID), get("minecraft:nbt_tag", VOID), get("minecraft:nbt_path", VOID), get("minecraft:objective", VOID), get("minecraft:objective_criteria", VOID), get("minecraft:operation", VOID), get("minecraft:particle", VOID), get("minecraft:angle", VOID), get("minecraft:rotation", VOID), get("minecraft:scoreboard_slot", VOID), get("minecraft:score_holder", BYTE), get("minecraft:swizzle", VOID), get("minecraft:team", VOID), get("minecraft:item_slot", VOID), get("minecraft:resource_location", VOID), get("minecraft:function", VOID), get("minecraft:entity_anchor", VOID), get("minecraft:int_range", VOID), get("minecraft:float_range", VOID), get("minecraft:dimension", VOID), get("minecraft:gamemode", VOID), get("minecraft:time", INTEGER), get("minecraft:resource_or_tag", RAW_STRING), get("minecraft:resource_or_tag_key", RAW_STRING), get("minecraft:resource", RAW_STRING), get("minecraft:resource_key", RAW_STRING), get("minecraft:template_mirror", VOID), get("minecraft:template_rotation", VOID), get("minecraft:heightmap", VOID), get("minecraft:uuid", VOID)}; + IDS_1_20_3 = new ArgumentSerializer[]{get("brigadier:bool", VOID), get("brigadier:float", FLOAT_RANGE), get("brigadier:double", DOUBLE_RANGE), get("brigadier:integer", INTEGER_RANGE), get("brigadier:long", LONG_RANGE), get("brigadier:string", STRING), get("minecraft:entity", BYTE), get("minecraft:game_profile", VOID), get("minecraft:block_pos", VOID), get("minecraft:column_pos", VOID), get("minecraft:vec3", VOID), get("minecraft:vec2", VOID), get("minecraft:block_state", VOID), get("minecraft:block_predicate", VOID), get("minecraft:item_stack", VOID), get("minecraft:item_predicate", VOID), get("minecraft:color", VOID), get("minecraft:component", VOID), get("minecraft:style", VOID), get("minecraft:message", VOID), get("minecraft:nbt_compound_tag", VOID), get("minecraft:nbt_tag", VOID), get("minecraft:nbt_path", VOID), get("minecraft:objective", VOID), get("minecraft:objective_criteria", VOID), get("minecraft:operation", VOID), get("minecraft:particle", VOID), get("minecraft:angle", VOID), get("minecraft:rotation", VOID), get("minecraft:scoreboard_slot", VOID), get("minecraft:score_holder", BYTE), get("minecraft:swizzle", VOID), get("minecraft:team", VOID), get("minecraft:item_slot", VOID), get("minecraft:resource_location", VOID), get("minecraft:function", VOID), get("minecraft:entity_anchor", VOID), get("minecraft:int_range", VOID), get("minecraft:float_range", VOID), get("minecraft:dimension", VOID), get("minecraft:gamemode", VOID), get("minecraft:time", INTEGER), get("minecraft:resource_or_tag", RAW_STRING), get("minecraft:resource_or_tag_key", RAW_STRING), get("minecraft:resource", RAW_STRING), get("minecraft:resource_key", RAW_STRING), get("minecraft:template_mirror", VOID), get("minecraft:template_rotation", VOID), get("minecraft:heightmap", VOID), get("minecraft:uuid", VOID)}; + IDS_1_20_5 = new ArgumentSerializer[]{get("brigadier:bool", VOID), get("brigadier:float", FLOAT_RANGE), get("brigadier:double", DOUBLE_RANGE), get("brigadier:integer", INTEGER_RANGE), get("brigadier:long", LONG_RANGE), get("brigadier:string", STRING), get("minecraft:entity", BYTE), get("minecraft:game_profile", VOID), get("minecraft:block_pos", VOID), get("minecraft:column_pos", VOID), get("minecraft:vec3", VOID), get("minecraft:vec2", VOID), get("minecraft:block_state", VOID), get("minecraft:block_predicate", VOID), get("minecraft:item_stack", VOID), get("minecraft:item_predicate", VOID), get("minecraft:color", VOID), get("minecraft:component", VOID), get("minecraft:style", VOID), get("minecraft:message", VOID), get("minecraft:nbt_compound_tag", VOID), get("minecraft:nbt_tag", VOID), get("minecraft:nbt_path", VOID), get("minecraft:objective", VOID), get("minecraft:objective_criteria", VOID), get("minecraft:operation", VOID), get("minecraft:particle", VOID), get("minecraft:angle", VOID), get("minecraft:rotation", VOID), get("minecraft:scoreboard_slot", VOID), get("minecraft:score_holder", BYTE), get("minecraft:swizzle", VOID), get("minecraft:team", VOID), get("minecraft:item_slot", VOID), get("minecraft:item_slots", VOID), get("minecraft:resource_location", VOID), get("minecraft:function", VOID), get("minecraft:entity_anchor", VOID), get("minecraft:int_range", VOID), get("minecraft:float_range", VOID), get("minecraft:dimension", VOID), get("minecraft:gamemode", VOID), get("minecraft:time", INTEGER), get("minecraft:resource_or_tag", RAW_STRING), get("minecraft:resource_or_tag_key", RAW_STRING), get("minecraft:resource", RAW_STRING), get("minecraft:resource_key", RAW_STRING), get("minecraft:template_mirror", VOID), get("minecraft:template_rotation", VOID), get("minecraft:heightmap", VOID), get("minecraft:loot_table", VOID), get("minecraft:loot_predicate", VOID), get("minecraft:loot_modifier", VOID), get("minecraft:uuid", VOID)}; + IDS_1_21_5 = new ArgumentSerializer[]{get("brigadier:bool", VOID), get("brigadier:float", FLOAT_RANGE), get("brigadier:double", DOUBLE_RANGE), get("brigadier:integer", INTEGER_RANGE), get("brigadier:long", LONG_RANGE), get("brigadier:string", STRING), get("minecraft:entity", BYTE), get("minecraft:game_profile", VOID), get("minecraft:block_pos", VOID), get("minecraft:column_pos", VOID), get("minecraft:vec3", VOID), get("minecraft:vec2", VOID), get("minecraft:block_state", VOID), get("minecraft:block_predicate", VOID), get("minecraft:item_stack", VOID), get("minecraft:item_predicate", VOID), get("minecraft:color", VOID), get("minecraft:component", VOID), get("minecraft:style", VOID), get("minecraft:message", VOID), get("minecraft:nbt_compound_tag", VOID), get("minecraft:nbt_tag", VOID), get("minecraft:nbt_path", VOID), get("minecraft:objective", VOID), get("minecraft:objective_criteria", VOID), get("minecraft:operation", VOID), get("minecraft:particle", VOID), get("minecraft:angle", VOID), get("minecraft:rotation", VOID), get("minecraft:scoreboard_slot", VOID), get("minecraft:score_holder", BYTE), get("minecraft:swizzle", VOID), get("minecraft:team", VOID), get("minecraft:item_slot", VOID), get("minecraft:item_slots", VOID), get("minecraft:resource_location", VOID), get("minecraft:function", VOID), get("minecraft:entity_anchor", VOID), get("minecraft:int_range", VOID), get("minecraft:float_range", VOID), get("minecraft:dimension", VOID), get("minecraft:gamemode", VOID), get("minecraft:time", INTEGER), get("minecraft:resource_or_tag", RAW_STRING), get("minecraft:resource_or_tag_key", RAW_STRING), get("minecraft:resource", RAW_STRING), get("minecraft:resource_key", RAW_STRING), get("minecraft:resource_selector", RAW_STRING), get("minecraft:template_mirror", VOID), get("minecraft:template_rotation", VOID), get("minecraft:heightmap", VOID), get("minecraft:loot_table", VOID), get("minecraft:loot_predicate", VOID), get("minecraft:loot_modifier", VOID), get("minecraft:uuid", VOID)}; + IDS_1_21_6 = new ArgumentSerializer[]{get("brigadier:bool", VOID), get("brigadier:float", FLOAT_RANGE), get("brigadier:double", DOUBLE_RANGE), get("brigadier:integer", INTEGER_RANGE), get("brigadier:long", LONG_RANGE), get("brigadier:string", STRING), get("minecraft:entity", BYTE), get("minecraft:game_profile", VOID), get("minecraft:block_pos", VOID), get("minecraft:column_pos", VOID), get("minecraft:vec3", VOID), get("minecraft:vec2", VOID), get("minecraft:block_state", VOID), get("minecraft:block_predicate", VOID), get("minecraft:item_stack", VOID), get("minecraft:item_predicate", VOID), get("minecraft:color", VOID), get("minecraft:hex_color", VOID), get("minecraft:component", VOID), get("minecraft:style", VOID), get("minecraft:message", VOID), get("minecraft:nbt_compound_tag", VOID), get("minecraft:nbt_tag", VOID), get("minecraft:nbt_path", VOID), get("minecraft:objective", VOID), get("minecraft:objective_criteria", VOID), get("minecraft:operation", VOID), get("minecraft:particle", VOID), get("minecraft:angle", VOID), get("minecraft:rotation", VOID), get("minecraft:scoreboard_slot", VOID), get("minecraft:score_holder", BYTE), get("minecraft:swizzle", VOID), get("minecraft:team", VOID), get("minecraft:item_slot", VOID), get("minecraft:item_slots", VOID), get("minecraft:resource_location", VOID), get("minecraft:function", VOID), get("minecraft:entity_anchor", VOID), get("minecraft:int_range", VOID), get("minecraft:float_range", VOID), get("minecraft:dimension", VOID), get("minecraft:gamemode", VOID), get("minecraft:time", INTEGER), get("minecraft:resource_or_tag", RAW_STRING), get("minecraft:resource_or_tag_key", RAW_STRING), get("minecraft:resource", RAW_STRING), get("minecraft:resource_key", RAW_STRING), get("minecraft:resource_selector", RAW_STRING), get("minecraft:template_mirror", VOID), get("minecraft:template_rotation", VOID), get("minecraft:heightmap", VOID), get("minecraft:loot_table", VOID), get("minecraft:loot_predicate", VOID), get("minecraft:loot_modifier", VOID), get("minecraft:dialog", VOID), get("minecraft:uuid", VOID)}; + IDS_26_3 = new ArgumentSerializer[]{get("brigadier:bool", VOID), get("brigadier:float", FLOAT_RANGE), get("brigadier:double", DOUBLE_RANGE), get("brigadier:integer", INTEGER_RANGE), get("brigadier:long", LONG_RANGE), get("brigadier:string", STRING), get("minecraft:entity", BYTE), get("minecraft:game_profile", VOID), get("minecraft:block_pos", VOID), get("minecraft:column_pos", VOID), get("minecraft:vec3", VOID), get("minecraft:vec2", VOID), get("minecraft:block_state", VOID), get("minecraft:block_predicate", VOID), get("minecraft:item_stack", VOID), get("minecraft:item_predicate", VOID), get("minecraft:color", VOID), get("minecraft:hex_color", VOID), get("minecraft:component", VOID), get("minecraft:style", VOID), get("minecraft:message", VOID), get("minecraft:nbt_compound_tag", VOID), get("minecraft:nbt_tag", VOID), get("minecraft:nbt_path", VOID), get("minecraft:objective", VOID), get("minecraft:objective_criteria", VOID), get("minecraft:operation", VOID), get("minecraft:particle", VOID), get("minecraft:angle", VOID), get("minecraft:rotation", VOID), get("minecraft:scoreboard_slot", VOID), get("minecraft:score_holder", BYTE), get("minecraft:swizzle", VOID), get("minecraft:team", VOID), get("minecraft:item_slot", VOID), get("minecraft:item_slots", VOID), get("minecraft:resource_location", VOID), get("minecraft:function", VOID), get("minecraft:entity_anchor", VOID), get("minecraft:int_range", VOID), get("minecraft:float_range", VOID), get("minecraft:dimension", VOID), get("minecraft:gamemode", VOID), get("minecraft:time", INTEGER), get("minecraft:resource_or_tag", RAW_STRING), get("minecraft:resource_or_tag_key", RAW_STRING), get("minecraft:resource", RAW_STRING), get("minecraft:resource_key", RAW_STRING), get("minecraft:resource_selector", RAW_STRING), get("minecraft:template_mirror", VOID), get("minecraft:template_rotation", VOID), get("minecraft:heightmap", VOID), get("minecraft:loot_table", VOID), get("minecraft:loot_predicate", VOID), get("minecraft:loot_modifier", VOID), get("minecraft:context_float_provider", VOID), get("minecraft:context_int_provider", VOID), get("minecraft:slot_source", VOID), get("minecraft:dialog", VOID), get("minecraft:feature", VOID), get("minecraft:swing_animation", VOID), get("minecraft:uuid", VOID)}; + PROVIDERS.put("forge:enum", FORGE_ENUM); + PROVIDERS.put("forge:modid", VOID); + PROVIDERS.put("minecraft:", VOID); + PROVIDERS.put("arclight:wrapped", ARCLIGHT_WRAP); + PROPER_PROVIDERS.put(WrappedArgumentType.class, ARCLIGHT_WRAP); + } + + private static class DummyType implements ArgumentType { + private final Object key; + private final ArgumentSerializer serializer; + private final T value; + + public T parse(StringReader reader) throws CommandSyntaxException { + throw new UnsupportedOperationException("Not supported."); + } + + @Generated + public DummyType(Object key, ArgumentSerializer serializer, T value) { + this.key = key; + this.serializer = serializer; + this.value = value; + } + + @Generated + public Object getKey() { + return this.key; + } + + @Generated + public ArgumentSerializer getSerializer() { + return this.serializer; + } + + @Generated + public T getValue() { + return this.value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DummyType)) { + return false; + } else { + DummyType other = (DummyType)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$key = this.getKey(); + Object other$key = other.getKey(); + if (this$key == null) { + if (other$key != null) { + return false; + } + } else if (!this$key.equals(other$key)) { + return false; + } + + Object this$serializer = this.getSerializer(); + Object other$serializer = other.getSerializer(); + if (this$serializer == null) { + if (other$serializer != null) { + return false; + } + } else if (!this$serializer.equals(other$serializer)) { + return false; + } + + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof DummyType; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $key = this.getKey(); + result = result * 59 + ($key == null ? 43 : $key.hashCode()); + Object $serializer = this.getSerializer(); + result = result * 59 + ($serializer == null ? 43 : $serializer.hashCode()); + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getKey()); + return "Commands.ArgumentRegistry.DummyType(key=" + var10000 + ", serializer=" + String.valueOf(this.getSerializer()) + ", value=" + String.valueOf(this.getValue()) + ")"; + } + } + + private abstract static class ArgumentSerializer { + protected abstract T read(ByteBuf var1); + + protected T read(ByteBuf buf, int protocolVersion) { + return (T)this.read(buf); + } + + protected abstract void write(ByteBuf var1, T var2); + } + + private abstract static class ProperArgumentSerializer extends ArgumentSerializer { + protected abstract int getIntKey(); + + protected abstract String getKey(); + + protected String getKey(T t) { + return this.getKey(); + } + + protected int getIntKey(T t) { + return this.getIntKey(); + } + } + } + + public static class SuggestionRegistry { + public static final SuggestionProvider ASK_SERVER = new DummyProvider("minecraft:ask_server"); + private static final Map> PROVIDERS = new HashMap(); + + private static void registerDummy(String name) { + PROVIDERS.put(name, new DummyProvider(name)); + } + + private static SuggestionProvider getProvider(String key) { + SuggestionProvider provider = (SuggestionProvider)PROVIDERS.computeIfAbsent(key, DummyProvider::new); + Preconditions.checkArgument(provider != null, "Unknown completion provider " + key); + return provider; + } + + private static String getKey(SuggestionProvider provider) { + Preconditions.checkArgument(provider instanceof DummyProvider, "Non dummy provider " + String.valueOf(provider)); + return ((DummyProvider)provider).key; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SuggestionRegistry)) { + return false; + } else { + SuggestionRegistry other = (SuggestionRegistry)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof SuggestionRegistry; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } + + @Generated + public String toString() { + return "Commands.SuggestionRegistry()"; + } + + static { + PROVIDERS.put("minecraft:ask_server", ASK_SERVER); + registerDummy("minecraft:all_recipes"); + registerDummy("minecraft:available_sounds"); + registerDummy("minecraft:available_biomes"); + registerDummy("minecraft:summonable_entities"); + registerDummy("minecraft:post_effects"); + } + + private static final class DummyProvider implements SuggestionProvider { + private final String key; + + public CompletableFuture getSuggestions(CommandContext context, SuggestionsBuilder builder) throws CommandSyntaxException { + return builder.buildFuture(); + } + + @Generated + public DummyProvider(String key) { + this.key = key; + } + + @Generated + public String getKey() { + return this.key; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DummyProvider)) { + return false; + } else { + DummyProvider other = (DummyProvider)o; + Object this$key = this.getKey(); + Object other$key = other.getKey(); + if (this$key == null) { + if (other$key != null) { + return false; + } + } else if (!this$key.equals(other$key)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $key = this.getKey(); + result = result * 59 + ($key == null ? 43 : $key.hashCode()); + return result; + } + + @Generated + public String toString() { + return "Commands.SuggestionRegistry.DummyProvider(key=" + this.getKey() + ")"; + } + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/CookieRequest.java b/src/main/java/net/md_5/bungee/protocol/packet/CookieRequest.java new file mode 100644 index 0000000..1b660a2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/CookieRequest.java @@ -0,0 +1,87 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class CookieRequest extends DefinedPacket { + private String cookie; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.cookie = readString(buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.cookie, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getCookie() { + return this.cookie; + } + + @Generated + public void setCookie(String cookie) { + this.cookie = cookie; + } + + @Generated + public String toString() { + return "CookieRequest(cookie=" + this.getCookie() + ")"; + } + + @Generated + public CookieRequest() { + } + + @Generated + public CookieRequest(String cookie) { + this.cookie = cookie; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof CookieRequest)) { + return false; + } else { + CookieRequest other = (CookieRequest)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$cookie = this.getCookie(); + Object other$cookie = other.getCookie(); + if (this$cookie == null) { + if (other$cookie != null) { + return false; + } + } else if (!this$cookie.equals(other$cookie)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof CookieRequest; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $cookie = this.getCookie(); + result = result * 59 + ($cookie == null ? 43 : $cookie.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/CookieResponse.java b/src/main/java/net/md_5/bungee/protocol/packet/CookieResponse.java new file mode 100644 index 0000000..fa3d46a --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/CookieResponse.java @@ -0,0 +1,108 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class CookieResponse extends DefinedPacket { + private String cookie; + private byte[] data; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.cookie = readString(buf); + this.data = (byte[])readNullable((read) -> DefinedPacket.readArray(read, 5120), buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.cookie, buf); + writeNullable(this.data, DefinedPacket::writeArray, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getCookie() { + return this.cookie; + } + + @Generated + public byte[] getData() { + return this.data; + } + + @Generated + public void setCookie(String cookie) { + this.cookie = cookie; + } + + @Generated + public void setData(byte[] data) { + this.data = data; + } + + @Generated + public String toString() { + String var10000 = this.getCookie(); + return "CookieResponse(cookie=" + var10000 + ", data=" + Arrays.toString(this.getData()) + ")"; + } + + @Generated + public CookieResponse() { + } + + @Generated + public CookieResponse(String cookie, byte[] data) { + this.cookie = cookie; + this.data = data; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof CookieResponse)) { + return false; + } else { + CookieResponse other = (CookieResponse)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$cookie = this.getCookie(); + Object other$cookie = other.getCookie(); + if (this$cookie == null) { + if (other$cookie != null) { + return false; + } + } else if (!this$cookie.equals(other$cookie)) { + return false; + } + + if (!Arrays.equals(this.getData(), other.getData())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof CookieResponse; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $cookie = this.getCookie(); + result = result * 59 + ($cookie == null ? 43 : $cookie.hashCode()); + result = result * 59 + Arrays.hashCode(this.getData()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/CustomClickAction.java b/src/main/java/net/md_5/bungee/protocol/packet/CustomClickAction.java new file mode 100644 index 0000000..eef5b5e --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/CustomClickAction.java @@ -0,0 +1,117 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.limit.NBTLimiter; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class CustomClickAction extends DefinedPacket { + private String id; + private TypedTag data; + + public void read(ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) { + this.id = readString(buf); + this.data = (TypedTag)readLengthPrefixed((buf0) -> (TypedTag)readTag(buf0, protocolVersion, new NBTLimiter(32768L, 16)), buf, 65536); + } + + public void write(ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.id, buf); + writeLengthPrefixed(this.data, (data0, buf0) -> writeTag(data0, buf0, protocolVersion), buf, 65536); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getId() { + return this.id; + } + + @Generated + public TypedTag getData() { + return this.data; + } + + @Generated + public void setId(String id) { + this.id = id; + } + + @Generated + public void setData(TypedTag data) { + this.data = data; + } + + @Generated + public String toString() { + String var10000 = this.getId(); + return "CustomClickAction(id=" + var10000 + ", data=" + String.valueOf(this.getData()) + ")"; + } + + @Generated + public CustomClickAction() { + } + + @Generated + public CustomClickAction(String id, TypedTag data) { + this.id = id; + this.data = data; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof CustomClickAction)) { + return false; + } else { + CustomClickAction other = (CustomClickAction)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$id = this.getId(); + Object other$id = other.getId(); + if (this$id == null) { + if (other$id != null) { + return false; + } + } else if (!this$id.equals(other$id)) { + return false; + } + + Object this$data = this.getData(); + Object other$data = other.getData(); + if (this$data == null) { + if (other$data != null) { + return false; + } + } else if (!this$data.equals(other$data)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof CustomClickAction; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $id = this.getId(); + result = result * 59 + ($id == null ? 43 : $id.hashCode()); + Object $data = this.getData(); + result = result * 59 + ($data == null ? 43 : $data.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/DisconnectReportDetails.java b/src/main/java/net/md_5/bungee/protocol/packet/DisconnectReportDetails.java new file mode 100644 index 0000000..6f2f7c4 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/DisconnectReportDetails.java @@ -0,0 +1,104 @@ +package net.md_5.bungee.protocol.packet; + +import com.google.common.base.Preconditions; +import io.netty.buffer.ByteBuf; +import java.util.HashMap; +import java.util.Map; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class DisconnectReportDetails extends DefinedPacket { + private Map details; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + int len = readVarInt(buf); + Preconditions.checkArgument(len <= 32, "Too many details"); + this.details = new HashMap(); + + for(int i = 0; i < len; ++i) { + this.details.put(readString(buf, 128), readString(buf, 4096)); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + Preconditions.checkArgument(this.details.size() <= 32, "Too many details"); + writeVarInt(this.details.size(), buf); + + for(Map.Entry detail : this.details.entrySet()) { + writeString((String)detail.getKey(), buf, 128); + writeString((String)detail.getValue(), buf, 4096); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public Map getDetails() { + return this.details; + } + + @Generated + public void setDetails(Map details) { + this.details = details; + } + + @Generated + public String toString() { + return "DisconnectReportDetails(details=" + String.valueOf(this.getDetails()) + ")"; + } + + @Generated + public DisconnectReportDetails() { + } + + @Generated + public DisconnectReportDetails(Map details) { + this.details = details; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof DisconnectReportDetails)) { + return false; + } else { + DisconnectReportDetails other = (DisconnectReportDetails)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$details = this.getDetails(); + Object other$details = other.getDetails(); + if (this$details == null) { + if (other$details != null) { + return false; + } + } else if (!this$details.equals(other$details)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof DisconnectReportDetails; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $details = this.getDetails(); + result = result * 59 + ($details == null ? 43 : $details.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/EncryptionRequest.java b/src/main/java/net/md_5/bungee/protocol/packet/EncryptionRequest.java new file mode 100644 index 0000000..78047af --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/EncryptionRequest.java @@ -0,0 +1,168 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class EncryptionRequest extends DefinedPacket { + private String serverId; + private byte[] publicKey; + private byte[] verifyToken; + private boolean shouldAuthenticate; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion <= 5) { + this.serverId = readString(buf); + this.publicKey = v17readArray(buf); + this.verifyToken = v17readArray(buf); + } else { + this.serverId = readString(buf); + this.publicKey = readArray(buf); + this.verifyToken = readArray(buf); + if (protocolVersion >= 766) { + this.shouldAuthenticate = buf.readBoolean(); + } + + } + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + writeString(this.serverId, buf); + v17writeArray(this.publicKey, buf, false); + v17writeArray(this.verifyToken, buf, false); + } else { + writeString(this.serverId, buf); + writeArray(this.publicKey, buf); + writeArray(this.verifyToken, buf); + if (protocolVersion >= 766) { + buf.writeBoolean(this.shouldAuthenticate); + } + + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + public int expectedMaxLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return 532; + } + + public int expectedMinLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return 22; + } + + @Generated + public String getServerId() { + return this.serverId; + } + + @Generated + public byte[] getPublicKey() { + return this.publicKey; + } + + @Generated + public byte[] getVerifyToken() { + return this.verifyToken; + } + + @Generated + public boolean isShouldAuthenticate() { + return this.shouldAuthenticate; + } + + @Generated + public void setServerId(String serverId) { + this.serverId = serverId; + } + + @Generated + public void setPublicKey(byte[] publicKey) { + this.publicKey = publicKey; + } + + @Generated + public void setVerifyToken(byte[] verifyToken) { + this.verifyToken = verifyToken; + } + + @Generated + public void setShouldAuthenticate(boolean shouldAuthenticate) { + this.shouldAuthenticate = shouldAuthenticate; + } + + @Generated + public String toString() { + String var10000 = this.getServerId(); + return "EncryptionRequest(serverId=" + var10000 + ", publicKey=" + Arrays.toString(this.getPublicKey()) + ", verifyToken=" + Arrays.toString(this.getVerifyToken()) + ", shouldAuthenticate=" + this.isShouldAuthenticate() + ")"; + } + + @Generated + public EncryptionRequest() { + } + + @Generated + public EncryptionRequest(String serverId, byte[] publicKey, byte[] verifyToken, boolean shouldAuthenticate) { + this.serverId = serverId; + this.publicKey = publicKey; + this.verifyToken = verifyToken; + this.shouldAuthenticate = shouldAuthenticate; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof EncryptionRequest)) { + return false; + } else { + EncryptionRequest other = (EncryptionRequest)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isShouldAuthenticate() != other.isShouldAuthenticate()) { + return false; + } else { + Object this$serverId = this.getServerId(); + Object other$serverId = other.getServerId(); + if (this$serverId == null) { + if (other$serverId != null) { + return false; + } + } else if (!this$serverId.equals(other$serverId)) { + return false; + } + + if (!Arrays.equals(this.getPublicKey(), other.getPublicKey())) { + return false; + } else if (!Arrays.equals(this.getVerifyToken(), other.getVerifyToken())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof EncryptionRequest; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isShouldAuthenticate() ? 79 : 97); + Object $serverId = this.getServerId(); + result = result * 59 + ($serverId == null ? 43 : $serverId.hashCode()); + result = result * 59 + Arrays.hashCode(this.getPublicKey()); + result = result * 59 + Arrays.hashCode(this.getVerifyToken()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/EncryptionResponse.java b/src/main/java/net/md_5/bungee/protocol/packet/EncryptionResponse.java new file mode 100644 index 0000000..8a42a72 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/EncryptionResponse.java @@ -0,0 +1,218 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class EncryptionResponse extends DefinedPacket { + private byte[] sharedSecret; + private byte[] verifyToken; + private EncryptionData encryptionData; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + this.sharedSecret = v17readArray(buf); + this.verifyToken = v17readArray(buf); + } else { + this.sharedSecret = readArray(buf, 128); + if (protocolVersion >= 759 && protocolVersion < 761 && !buf.readBoolean()) { + this.encryptionData = new EncryptionData(buf.readLong(), readArray(buf)); + } else { + this.verifyToken = readArray(buf, 128); + } + + } + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + v17writeArray(this.sharedSecret, buf, false); + v17writeArray(this.verifyToken, buf, false); + } else { + writeArray(this.sharedSecret, buf); + if (this.verifyToken != null) { + if (protocolVersion >= 759 && protocolVersion <= 761) { + buf.writeBoolean(true); + } + + writeArray(this.verifyToken, buf); + } else { + if (protocolVersion >= 759 && protocolVersion <= 761) { + buf.writeBoolean(false); + } + + buf.writeLong(this.encryptionData.getSalt()); + writeArray(this.encryptionData.getSignature(), buf); + } + + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + public int expectedMaxLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return protocolVersion >= 759 ? -1 : 260; + } + + public int expectedMinLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return this.expectedMaxLength(buf, direction, protocolVersion); + } + + @Generated + public byte[] getSharedSecret() { + return this.sharedSecret; + } + + @Generated + public byte[] getVerifyToken() { + return this.verifyToken; + } + + @Generated + public EncryptionData getEncryptionData() { + return this.encryptionData; + } + + @Generated + public void setSharedSecret(byte[] sharedSecret) { + this.sharedSecret = sharedSecret; + } + + @Generated + public void setVerifyToken(byte[] verifyToken) { + this.verifyToken = verifyToken; + } + + @Generated + public void setEncryptionData(EncryptionData encryptionData) { + this.encryptionData = encryptionData; + } + + @Generated + public String toString() { + String var10000 = Arrays.toString(this.getSharedSecret()); + return "EncryptionResponse(sharedSecret=" + var10000 + ", verifyToken=" + Arrays.toString(this.getVerifyToken()) + ", encryptionData=" + String.valueOf(this.getEncryptionData()) + ")"; + } + + @Generated + public EncryptionResponse() { + } + + @Generated + public EncryptionResponse(byte[] sharedSecret, byte[] verifyToken, EncryptionData encryptionData) { + this.sharedSecret = sharedSecret; + this.verifyToken = verifyToken; + this.encryptionData = encryptionData; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof EncryptionResponse)) { + return false; + } else { + EncryptionResponse other = (EncryptionResponse)o; + if (!other.canEqual(this)) { + return false; + } else if (!Arrays.equals(this.getSharedSecret(), other.getSharedSecret())) { + return false; + } else if (!Arrays.equals(this.getVerifyToken(), other.getVerifyToken())) { + return false; + } else { + Object this$encryptionData = this.getEncryptionData(); + Object other$encryptionData = other.getEncryptionData(); + if (this$encryptionData == null) { + if (other$encryptionData != null) { + return false; + } + } else if (!this$encryptionData.equals(other$encryptionData)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof EncryptionResponse; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + Arrays.hashCode(this.getSharedSecret()); + result = result * 59 + Arrays.hashCode(this.getVerifyToken()); + Object $encryptionData = this.getEncryptionData(); + result = result * 59 + ($encryptionData == null ? 43 : $encryptionData.hashCode()); + return result; + } + + public static class EncryptionData { + private final long salt; + private final byte[] signature; + + @Generated + public EncryptionData(long salt, byte[] signature) { + this.salt = salt; + this.signature = signature; + } + + @Generated + public long getSalt() { + return this.salt; + } + + @Generated + public byte[] getSignature() { + return this.signature; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof EncryptionData)) { + return false; + } else { + EncryptionData other = (EncryptionData)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getSalt() != other.getSalt()) { + return false; + } else { + return Arrays.equals(this.getSignature(), other.getSignature()); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof EncryptionData; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $salt = this.getSalt(); + result = result * 59 + (int)($salt >>> 32 ^ $salt); + result = result * 59 + Arrays.hashCode(this.getSignature()); + return result; + } + + @Generated + public String toString() { + long var10000 = this.getSalt(); + return "EncryptionResponse.EncryptionData(salt=" + var10000 + ", signature=" + Arrays.toString(this.getSignature()) + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/EntityStatus.java b/src/main/java/net/md_5/bungee/protocol/packet/EntityStatus.java new file mode 100644 index 0000000..2078e70 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/EntityStatus.java @@ -0,0 +1,95 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; + +public class EntityStatus extends DefinedPacket { + public static final byte DEBUG_INFO_REDUCED = 22; + public static final byte DEBUG_INFO_NORMAL = 23; + private int entityId; + private byte status; + + public void read(ByteBuf buf) { + this.entityId = buf.readInt(); + this.status = buf.readByte(); + } + + public void write(ByteBuf buf) { + buf.writeInt(this.entityId); + buf.writeByte(this.status); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getEntityId() { + return this.entityId; + } + + @Generated + public byte getStatus() { + return this.status; + } + + @Generated + public void setEntityId(int entityId) { + this.entityId = entityId; + } + + @Generated + public void setStatus(byte status) { + this.status = status; + } + + @Generated + public String toString() { + int var10000 = this.getEntityId(); + return "EntityStatus(entityId=" + var10000 + ", status=" + this.getStatus() + ")"; + } + + @Generated + public EntityStatus() { + } + + @Generated + public EntityStatus(int entityId, byte status) { + this.entityId = entityId; + this.status = status; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof EntityStatus)) { + return false; + } else { + EntityStatus other = (EntityStatus)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getEntityId() != other.getEntityId()) { + return false; + } else { + return this.getStatus() == other.getStatus(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof EntityStatus; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getEntityId(); + result = result * 59 + this.getStatus(); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/FinishConfiguration.java b/src/main/java/net/md_5/bungee/protocol/packet/FinishConfiguration.java new file mode 100644 index 0000000..29163e2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/FinishConfiguration.java @@ -0,0 +1,52 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class FinishConfiguration extends DefinedPacket { + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + } + + public Protocol nextProtocol() { + return Protocol.GAME; + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String toString() { + return "FinishConfiguration()"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof FinishConfiguration)) { + return false; + } else { + FinishConfiguration other = (FinishConfiguration)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof FinishConfiguration; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/GameState.java b/src/main/java/net/md_5/bungee/protocol/packet/GameState.java new file mode 100644 index 0000000..cbadecf --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/GameState.java @@ -0,0 +1,94 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; + +public class GameState extends DefinedPacket { + public static final short IMMEDIATE_RESPAWN = 11; + private short state; + private float value; + + public void read(ByteBuf buf) { + this.state = buf.readUnsignedByte(); + this.value = buf.readFloat(); + } + + public void write(ByteBuf buf) { + buf.writeByte(this.state); + buf.writeFloat(this.value); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public short getState() { + return this.state; + } + + @Generated + public float getValue() { + return this.value; + } + + @Generated + public void setState(short state) { + this.state = state; + } + + @Generated + public void setValue(float value) { + this.value = value; + } + + @Generated + public String toString() { + short var10000 = this.getState(); + return "GameState(state=" + var10000 + ", value=" + this.getValue() + ")"; + } + + @Generated + public GameState() { + } + + @Generated + public GameState(short state, float value) { + this.state = state; + this.value = value; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof GameState)) { + return false; + } else { + GameState other = (GameState)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getState() != other.getState()) { + return false; + } else { + return Float.compare(this.getValue(), other.getValue()) == 0; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof GameState; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getState(); + result = result * 59 + Float.floatToIntBits(this.getValue()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Handshake.java b/src/main/java/net/md_5/bungee/protocol/packet/Handshake.java new file mode 100644 index 0000000..281f1ab --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Handshake.java @@ -0,0 +1,148 @@ +package net.md_5.bungee.protocol.packet; + +import dev._2lstudios.flamecord.FlameCord; +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class Handshake extends DefinedPacket { + private int protocolVersion; + private String host; + private int port; + private int requestedProtocol; + + public void read(ByteBuf buf) { + this.protocolVersion = readVarInt(buf); + this.host = readString(buf, 2048); + this.port = buf.readUnsignedShort(); + this.requestedProtocol = readVarInt(buf); + } + + public void write(ByteBuf buf) { + writeVarInt(this.protocolVersion, buf); + writeString(this.host, buf); + buf.writeShort(this.port); + writeVarInt(this.requestedProtocol, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + public int expectedMaxLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return 1036 + (FlameCord.getInstance().getFlameCordConfiguration().isChainedProxySupportEnabled() ? 2048 : 256); + } + + public int expectedMinLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return 5; + } + + @Generated + public int getProtocolVersion() { + return this.protocolVersion; + } + + @Generated + public String getHost() { + return this.host; + } + + @Generated + public int getPort() { + return this.port; + } + + @Generated + public int getRequestedProtocol() { + return this.requestedProtocol; + } + + @Generated + public void setProtocolVersion(int protocolVersion) { + this.protocolVersion = protocolVersion; + } + + @Generated + public void setHost(String host) { + this.host = host; + } + + @Generated + public void setPort(int port) { + this.port = port; + } + + @Generated + public void setRequestedProtocol(int requestedProtocol) { + this.requestedProtocol = requestedProtocol; + } + + @Generated + public String toString() { + int var10000 = this.getProtocolVersion(); + return "Handshake(protocolVersion=" + var10000 + ", host=" + this.getHost() + ", port=" + this.getPort() + ", requestedProtocol=" + this.getRequestedProtocol() + ")"; + } + + @Generated + public Handshake() { + } + + @Generated + public Handshake(int protocolVersion, String host, int port, int requestedProtocol) { + this.protocolVersion = protocolVersion; + this.host = host; + this.port = port; + this.requestedProtocol = requestedProtocol; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Handshake)) { + return false; + } else { + Handshake other = (Handshake)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getProtocolVersion() != other.getProtocolVersion()) { + return false; + } else if (this.getPort() != other.getPort()) { + return false; + } else if (this.getRequestedProtocol() != other.getRequestedProtocol()) { + return false; + } else { + Object this$host = this.getHost(); + Object other$host = other.getHost(); + if (this$host == null) { + if (other$host != null) { + return false; + } + } else if (!this$host.equals(other$host)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Handshake; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getProtocolVersion(); + result = result * 59 + this.getPort(); + result = result * 59 + this.getRequestedProtocol(); + Object $host = this.getHost(); + result = result * 59 + ($host == null ? 43 : $host.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/KeepAlive.java b/src/main/java/net/md_5/bungee/protocol/packet/KeepAlive.java new file mode 100644 index 0000000..c399568 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/KeepAlive.java @@ -0,0 +1,90 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class KeepAlive extends DefinedPacket { + private long randomId; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + this.randomId = (long)buf.readInt(); + } else { + this.randomId = protocolVersion >= 340 ? buf.readLong() : (long)readVarInt(buf); + } + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + buf.writeInt((int)this.randomId); + } else { + if (protocolVersion >= 340) { + buf.writeLong(this.randomId); + } else { + writeVarInt((int)this.randomId, buf); + } + + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public long getRandomId() { + return this.randomId; + } + + @Generated + public void setRandomId(long randomId) { + this.randomId = randomId; + } + + @Generated + public String toString() { + return "KeepAlive(randomId=" + this.getRandomId() + ")"; + } + + @Generated + public KeepAlive() { + } + + @Generated + public KeepAlive(long randomId) { + this.randomId = randomId; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof KeepAlive)) { + return false; + } else { + KeepAlive other = (KeepAlive)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getRandomId() == other.getRandomId(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof KeepAlive; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $randomId = this.getRandomId(); + result = result * 59 + (int)($randomId >>> 32 ^ $randomId); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Kick.java b/src/main/java/net/md_5/bungee/protocol/packet/Kick.java new file mode 100644 index 0000000..2cae06c --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Kick.java @@ -0,0 +1,100 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.ChatSerializer; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class Kick extends DefinedPacket { + private BaseComponent message; + + public void read(ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocol == Protocol.LOGIN) { + this.message = ChatSerializer.forVersion(protocolVersion).deserialize(readString(buf)); + } else { + this.message = readBaseComponent(buf, protocolVersion); + } + + } + + public void write(ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocol == Protocol.LOGIN) { + writeString(ChatSerializer.forVersion(protocolVersion).toString(this.message), buf); + } else { + writeBaseComponent(this.message, buf, protocolVersion); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public BaseComponent getMessage() { + return this.message; + } + + @Generated + public void setMessage(BaseComponent message) { + this.message = message; + } + + @Generated + public String toString() { + return "Kick(message=" + String.valueOf(this.getMessage()) + ")"; + } + + @Generated + public Kick() { + } + + @Generated + public Kick(BaseComponent message) { + this.message = message; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Kick)) { + return false; + } else { + Kick other = (Kick)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$message = this.getMessage(); + Object other$message = other.getMessage(); + if (this$message == null) { + if (other$message != null) { + return false; + } + } else if (!this$message.equals(other$message)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Kick; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $message = this.getMessage(); + result = result * 59 + ($message == null ? 43 : $message.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/KnownPacks.java b/src/main/java/net/md_5/bungee/protocol/packet/KnownPacks.java new file mode 100644 index 0000000..9bdc5b2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/KnownPacks.java @@ -0,0 +1,218 @@ +package net.md_5.bungee.protocol.packet; + +import com.google.common.base.Preconditions; +import io.netty.buffer.ByteBuf; +import java.util.ArrayList; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class KnownPacks extends DefinedPacket { + private List knownPacks; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + int amount = readVarInt(buf); + Preconditions.checkState(amount >= 0 && (direction == ProtocolConstants.Direction.TO_CLIENT || amount <= 64), "invalid known packs amount"); + List packs = new ArrayList(amount); + + for(int i = 0; i < amount; ++i) { + packs.add(new KnownPack(readString(buf), readString(buf), readString(buf))); + } + + this.knownPacks = packs; + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeVarInt(this.knownPacks.size(), buf); + + for(KnownPack pack : this.knownPacks) { + writeString(pack.getNamespace(), buf); + writeString(pack.getId(), buf); + writeString(pack.getVersion(), buf); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public List getKnownPacks() { + return this.knownPacks; + } + + @Generated + public void setKnownPacks(List knownPacks) { + this.knownPacks = knownPacks; + } + + @Generated + public String toString() { + return "KnownPacks(knownPacks=" + String.valueOf(this.getKnownPacks()) + ")"; + } + + @Generated + public KnownPacks() { + } + + @Generated + public KnownPacks(List knownPacks) { + this.knownPacks = knownPacks; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof KnownPacks)) { + return false; + } else { + KnownPacks other = (KnownPacks)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$knownPacks = this.getKnownPacks(); + Object other$knownPacks = other.getKnownPacks(); + if (this$knownPacks == null) { + if (other$knownPacks != null) { + return false; + } + } else if (!this$knownPacks.equals(other$knownPacks)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof KnownPacks; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $knownPacks = this.getKnownPacks(); + result = result * 59 + ($knownPacks == null ? 43 : $knownPacks.hashCode()); + return result; + } + + public static class KnownPack { + private String namespace; + private String id; + private String version; + + @Generated + public String getNamespace() { + return this.namespace; + } + + @Generated + public String getId() { + return this.id; + } + + @Generated + public String getVersion() { + return this.version; + } + + @Generated + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @Generated + public void setId(String id) { + this.id = id; + } + + @Generated + public void setVersion(String version) { + this.version = version; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof KnownPack)) { + return false; + } else { + KnownPack other = (KnownPack)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$namespace = this.getNamespace(); + Object other$namespace = other.getNamespace(); + if (this$namespace == null) { + if (other$namespace != null) { + return false; + } + } else if (!this$namespace.equals(other$namespace)) { + return false; + } + + Object this$id = this.getId(); + Object other$id = other.getId(); + if (this$id == null) { + if (other$id != null) { + return false; + } + } else if (!this$id.equals(other$id)) { + return false; + } + + Object this$version = this.getVersion(); + Object other$version = other.getVersion(); + if (this$version == null) { + if (other$version != null) { + return false; + } + } else if (!this$version.equals(other$version)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof KnownPack; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $namespace = this.getNamespace(); + result = result * 59 + ($namespace == null ? 43 : $namespace.hashCode()); + Object $id = this.getId(); + result = result * 59 + ($id == null ? 43 : $id.hashCode()); + Object $version = this.getVersion(); + result = result * 59 + ($version == null ? 43 : $version.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = this.getNamespace(); + return "KnownPacks.KnownPack(namespace=" + var10000 + ", id=" + this.getId() + ", version=" + this.getVersion() + ")"; + } + + @Generated + public KnownPack(String namespace, String id, String version) { + this.namespace = namespace; + this.id = id; + this.version = version; + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/LegacyHandshake.java b/src/main/java/net/md_5/bungee/protocol/packet/LegacyHandshake.java new file mode 100644 index 0000000..43730c0 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/LegacyHandshake.java @@ -0,0 +1,48 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; + +public class LegacyHandshake extends DefinedPacket { + public void read(ByteBuf buf) { + throw new UnsupportedOperationException("Not supported yet."); + } + + public void write(ByteBuf buf) { + throw new UnsupportedOperationException("Not supported yet."); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String toString() { + return "LegacyHandshake()"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LegacyHandshake)) { + return false; + } else { + LegacyHandshake other = (LegacyHandshake)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LegacyHandshake; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/LegacyPing.java b/src/main/java/net/md_5/bungee/protocol/packet/LegacyPing.java new file mode 100644 index 0000000..5ff3566 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/LegacyPing.java @@ -0,0 +1,66 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; + +public class LegacyPing extends DefinedPacket { + private final boolean v1_5; + + public void read(ByteBuf buf) { + throw new UnsupportedOperationException("Not supported yet."); + } + + public void write(ByteBuf buf) { + throw new UnsupportedOperationException("Not supported yet."); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public boolean isV1_5() { + return this.v1_5; + } + + @Generated + public String toString() { + return "LegacyPing(v1_5=" + this.isV1_5() + ")"; + } + + @Generated + public LegacyPing(boolean v1_5) { + this.v1_5 = v1_5; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LegacyPing)) { + return false; + } else { + LegacyPing other = (LegacyPing)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.isV1_5() == other.isV1_5(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LegacyPing; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isV1_5() ? 79 : 97); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Login.java b/src/main/java/net/md_5/bungee/protocol/packet/Login.java new file mode 100644 index 0000000..df1a68c --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Login.java @@ -0,0 +1,726 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.HashSet; +import java.util.Set; +import lombok.Generated; +import net.md_5.bungee.nbt.Tag; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.Location; + +public class Login extends DefinedPacket { + private int entityId; + private boolean hardcore; + private short gameMode; + private short previousGameMode; + private Set worldNames; + private Tag dimensions; + private Object dimension; + private String worldName; + private long seed; + private short difficulty; + private int maxPlayers; + private String levelType; + private int viewDistance; + private int simulationDistance; + private boolean reducedDebugInfo; + private boolean normalRespawn; + private boolean limitedCrafting; + private boolean debug; + private boolean flat; + private Location deathLocation; + private int portalCooldown; + private int seaLevel; + private boolean onlineMode; + private boolean secureProfile; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.entityId = buf.readInt(); + if (protocolVersion >= 751) { + this.hardcore = buf.readBoolean(); + } + + if (protocolVersion < 764) { + this.gameMode = buf.readUnsignedByte(); + } + + if (protocolVersion >= 735) { + if (protocolVersion < 764) { + this.previousGameMode = buf.readUnsignedByte(); + } + + this.worldNames = new HashSet(); + int worldCount = readVarInt(buf); + + for(int i = 0; i < worldCount; ++i) { + this.worldNames.add(readString(buf)); + } + + if (protocolVersion < 764) { + this.dimensions = readTag(buf, protocolVersion); + } + } + + if (protocolVersion >= 735) { + if (protocolVersion >= 751 && protocolVersion < 759) { + this.dimension = readTag(buf, protocolVersion); + } else if (protocolVersion < 764) { + this.dimension = readString(buf); + } + + if (protocolVersion < 764) { + this.worldName = readString(buf); + } + } else if (protocolVersion > 107) { + this.dimension = buf.readInt(); + } else { + this.dimension = buf.readByte(); + } + + if (protocolVersion >= 573 && protocolVersion < 764) { + this.seed = buf.readLong(); + } + + if (protocolVersion < 477) { + this.difficulty = buf.readUnsignedByte(); + } + + if (protocolVersion >= 751) { + this.maxPlayers = readVarInt(buf); + } else { + this.maxPlayers = buf.readUnsignedByte(); + } + + if (protocolVersion < 735) { + this.levelType = readString(buf); + } + + if (protocolVersion >= 477) { + this.viewDistance = readVarInt(buf); + } + + if (protocolVersion >= 757) { + this.simulationDistance = readVarInt(buf); + } + + if (protocolVersion >= 29) { + this.reducedDebugInfo = buf.readBoolean(); + } + + if (protocolVersion >= 573) { + this.normalRespawn = buf.readBoolean(); + } + + if (protocolVersion >= 764) { + this.limitedCrafting = buf.readBoolean(); + if (protocolVersion >= 766) { + this.dimension = readVarInt(buf); + } else { + this.dimension = readString(buf); + } + + this.worldName = readString(buf); + this.seed = buf.readLong(); + if (protocolVersion >= 777) { + this.gameMode = (short)readVarInt(buf); + this.previousGameMode = readOptionalGameMode(buf); + } else { + this.gameMode = buf.readUnsignedByte(); + this.previousGameMode = (short)buf.readByte(); + } + } + + if (protocolVersion >= 735) { + this.debug = buf.readBoolean(); + this.flat = buf.readBoolean(); + } + + if (protocolVersion >= 759 && buf.readBoolean()) { + this.deathLocation = new Location(readString(buf), buf.readLong()); + } + + if (protocolVersion >= 763) { + this.portalCooldown = readVarInt(buf); + } + + if (protocolVersion >= 768) { + this.seaLevel = readVarInt(buf); + } + + if (protocolVersion >= 776) { + this.onlineMode = buf.readBoolean(); + } + + if (protocolVersion >= 766) { + this.secureProfile = buf.readBoolean(); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + buf.writeInt(this.entityId); + if (protocolVersion >= 751) { + buf.writeBoolean(this.hardcore); + } + + if (protocolVersion < 764) { + buf.writeByte(this.gameMode); + } + + if (protocolVersion >= 735) { + if (protocolVersion < 764) { + buf.writeByte(this.previousGameMode); + } + + writeVarInt(this.worldNames.size(), buf); + + for(String world : this.worldNames) { + writeString(world, buf); + } + + if (protocolVersion < 764) { + writeTag(this.dimensions, buf, protocolVersion); + } + } + + if (protocolVersion >= 735) { + if (protocolVersion >= 751 && protocolVersion < 759) { + writeTag((Tag)this.dimension, buf, protocolVersion); + } else if (protocolVersion < 764) { + writeString((String)this.dimension, buf); + } + + if (protocolVersion < 764) { + writeString(this.worldName, buf); + } + } else if (protocolVersion > 107) { + buf.writeInt((Integer)this.dimension); + } else { + buf.writeByte((Integer)this.dimension); + } + + if (protocolVersion >= 573 && protocolVersion < 764) { + buf.writeLong(this.seed); + } + + if (protocolVersion < 477) { + buf.writeByte(this.difficulty); + } + + if (protocolVersion >= 751) { + writeVarInt(this.maxPlayers, buf); + } else { + buf.writeByte(this.maxPlayers); + } + + if (protocolVersion < 735) { + writeString(this.levelType, buf); + } + + if (protocolVersion >= 477) { + writeVarInt(this.viewDistance, buf); + } + + if (protocolVersion >= 757) { + writeVarInt(this.simulationDistance, buf); + } + + if (protocolVersion >= 29) { + buf.writeBoolean(this.reducedDebugInfo); + } + + if (protocolVersion >= 573) { + buf.writeBoolean(this.normalRespawn); + } + + if (protocolVersion >= 764) { + buf.writeBoolean(this.limitedCrafting); + if (protocolVersion >= 766) { + writeVarInt((Integer)this.dimension, buf); + } else { + writeString((String)this.dimension, buf); + } + + writeString(this.worldName, buf); + buf.writeLong(this.seed); + if (protocolVersion >= 777) { + writeVarInt(this.gameMode, buf); + writeOptionalGameMode(this.previousGameMode, buf); + } else { + buf.writeByte(this.gameMode); + buf.writeByte(this.previousGameMode); + } + } + + if (protocolVersion >= 735) { + buf.writeBoolean(this.debug); + buf.writeBoolean(this.flat); + } + + if (protocolVersion >= 759) { + if (this.deathLocation != null) { + buf.writeBoolean(true); + writeString(this.deathLocation.getDimension(), buf); + buf.writeLong(this.deathLocation.getPos()); + } else { + buf.writeBoolean(false); + } + } + + if (protocolVersion >= 763) { + writeVarInt(this.portalCooldown, buf); + } + + if (protocolVersion >= 768) { + writeVarInt(this.seaLevel, buf); + } + + if (protocolVersion >= 776) { + buf.writeBoolean(this.onlineMode); + } + + if (protocolVersion >= 766) { + buf.writeBoolean(this.secureProfile); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getEntityId() { + return this.entityId; + } + + @Generated + public boolean isHardcore() { + return this.hardcore; + } + + @Generated + public short getGameMode() { + return this.gameMode; + } + + @Generated + public short getPreviousGameMode() { + return this.previousGameMode; + } + + @Generated + public Set getWorldNames() { + return this.worldNames; + } + + @Generated + public Tag getDimensions() { + return this.dimensions; + } + + @Generated + public Object getDimension() { + return this.dimension; + } + + @Generated + public String getWorldName() { + return this.worldName; + } + + @Generated + public long getSeed() { + return this.seed; + } + + @Generated + public short getDifficulty() { + return this.difficulty; + } + + @Generated + public int getMaxPlayers() { + return this.maxPlayers; + } + + @Generated + public String getLevelType() { + return this.levelType; + } + + @Generated + public int getViewDistance() { + return this.viewDistance; + } + + @Generated + public int getSimulationDistance() { + return this.simulationDistance; + } + + @Generated + public boolean isReducedDebugInfo() { + return this.reducedDebugInfo; + } + + @Generated + public boolean isNormalRespawn() { + return this.normalRespawn; + } + + @Generated + public boolean isLimitedCrafting() { + return this.limitedCrafting; + } + + @Generated + public boolean isDebug() { + return this.debug; + } + + @Generated + public boolean isFlat() { + return this.flat; + } + + @Generated + public Location getDeathLocation() { + return this.deathLocation; + } + + @Generated + public int getPortalCooldown() { + return this.portalCooldown; + } + + @Generated + public int getSeaLevel() { + return this.seaLevel; + } + + @Generated + public boolean isOnlineMode() { + return this.onlineMode; + } + + @Generated + public boolean isSecureProfile() { + return this.secureProfile; + } + + @Generated + public void setEntityId(int entityId) { + this.entityId = entityId; + } + + @Generated + public void setHardcore(boolean hardcore) { + this.hardcore = hardcore; + } + + @Generated + public void setGameMode(short gameMode) { + this.gameMode = gameMode; + } + + @Generated + public void setPreviousGameMode(short previousGameMode) { + this.previousGameMode = previousGameMode; + } + + @Generated + public void setWorldNames(Set worldNames) { + this.worldNames = worldNames; + } + + @Generated + public void setDimensions(Tag dimensions) { + this.dimensions = dimensions; + } + + @Generated + public void setDimension(Object dimension) { + this.dimension = dimension; + } + + @Generated + public void setWorldName(String worldName) { + this.worldName = worldName; + } + + @Generated + public void setSeed(long seed) { + this.seed = seed; + } + + @Generated + public void setDifficulty(short difficulty) { + this.difficulty = difficulty; + } + + @Generated + public void setMaxPlayers(int maxPlayers) { + this.maxPlayers = maxPlayers; + } + + @Generated + public void setLevelType(String levelType) { + this.levelType = levelType; + } + + @Generated + public void setViewDistance(int viewDistance) { + this.viewDistance = viewDistance; + } + + @Generated + public void setSimulationDistance(int simulationDistance) { + this.simulationDistance = simulationDistance; + } + + @Generated + public void setReducedDebugInfo(boolean reducedDebugInfo) { + this.reducedDebugInfo = reducedDebugInfo; + } + + @Generated + public void setNormalRespawn(boolean normalRespawn) { + this.normalRespawn = normalRespawn; + } + + @Generated + public void setLimitedCrafting(boolean limitedCrafting) { + this.limitedCrafting = limitedCrafting; + } + + @Generated + public void setDebug(boolean debug) { + this.debug = debug; + } + + @Generated + public void setFlat(boolean flat) { + this.flat = flat; + } + + @Generated + public void setDeathLocation(Location deathLocation) { + this.deathLocation = deathLocation; + } + + @Generated + public void setPortalCooldown(int portalCooldown) { + this.portalCooldown = portalCooldown; + } + + @Generated + public void setSeaLevel(int seaLevel) { + this.seaLevel = seaLevel; + } + + @Generated + public void setOnlineMode(boolean onlineMode) { + this.onlineMode = onlineMode; + } + + @Generated + public void setSecureProfile(boolean secureProfile) { + this.secureProfile = secureProfile; + } + + @Generated + public String toString() { + int var10000 = this.getEntityId(); + return "Login(entityId=" + var10000 + ", hardcore=" + this.isHardcore() + ", gameMode=" + this.getGameMode() + ", previousGameMode=" + this.getPreviousGameMode() + ", worldNames=" + String.valueOf(this.getWorldNames()) + ", dimensions=" + String.valueOf(this.getDimensions()) + ", dimension=" + String.valueOf(this.getDimension()) + ", worldName=" + this.getWorldName() + ", seed=" + this.getSeed() + ", difficulty=" + this.getDifficulty() + ", maxPlayers=" + this.getMaxPlayers() + ", levelType=" + this.getLevelType() + ", viewDistance=" + this.getViewDistance() + ", simulationDistance=" + this.getSimulationDistance() + ", reducedDebugInfo=" + this.isReducedDebugInfo() + ", normalRespawn=" + this.isNormalRespawn() + ", limitedCrafting=" + this.isLimitedCrafting() + ", debug=" + this.isDebug() + ", flat=" + this.isFlat() + ", deathLocation=" + String.valueOf(this.getDeathLocation()) + ", portalCooldown=" + this.getPortalCooldown() + ", seaLevel=" + this.getSeaLevel() + ", onlineMode=" + this.isOnlineMode() + ", secureProfile=" + this.isSecureProfile() + ")"; + } + + @Generated + public Login() { + } + + @Generated + public Login(int entityId, boolean hardcore, short gameMode, short previousGameMode, Set worldNames, Tag dimensions, Object dimension, String worldName, long seed, short difficulty, int maxPlayers, String levelType, int viewDistance, int simulationDistance, boolean reducedDebugInfo, boolean normalRespawn, boolean limitedCrafting, boolean debug, boolean flat, Location deathLocation, int portalCooldown, int seaLevel, boolean onlineMode, boolean secureProfile) { + this.entityId = entityId; + this.hardcore = hardcore; + this.gameMode = gameMode; + this.previousGameMode = previousGameMode; + this.worldNames = worldNames; + this.dimensions = dimensions; + this.dimension = dimension; + this.worldName = worldName; + this.seed = seed; + this.difficulty = difficulty; + this.maxPlayers = maxPlayers; + this.levelType = levelType; + this.viewDistance = viewDistance; + this.simulationDistance = simulationDistance; + this.reducedDebugInfo = reducedDebugInfo; + this.normalRespawn = normalRespawn; + this.limitedCrafting = limitedCrafting; + this.debug = debug; + this.flat = flat; + this.deathLocation = deathLocation; + this.portalCooldown = portalCooldown; + this.seaLevel = seaLevel; + this.onlineMode = onlineMode; + this.secureProfile = secureProfile; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Login)) { + return false; + } else { + Login other = (Login)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getEntityId() != other.getEntityId()) { + return false; + } else if (this.isHardcore() != other.isHardcore()) { + return false; + } else if (this.getGameMode() != other.getGameMode()) { + return false; + } else if (this.getPreviousGameMode() != other.getPreviousGameMode()) { + return false; + } else if (this.getSeed() != other.getSeed()) { + return false; + } else if (this.getDifficulty() != other.getDifficulty()) { + return false; + } else if (this.getMaxPlayers() != other.getMaxPlayers()) { + return false; + } else if (this.getViewDistance() != other.getViewDistance()) { + return false; + } else if (this.getSimulationDistance() != other.getSimulationDistance()) { + return false; + } else if (this.isReducedDebugInfo() != other.isReducedDebugInfo()) { + return false; + } else if (this.isNormalRespawn() != other.isNormalRespawn()) { + return false; + } else if (this.isLimitedCrafting() != other.isLimitedCrafting()) { + return false; + } else if (this.isDebug() != other.isDebug()) { + return false; + } else if (this.isFlat() != other.isFlat()) { + return false; + } else if (this.getPortalCooldown() != other.getPortalCooldown()) { + return false; + } else if (this.getSeaLevel() != other.getSeaLevel()) { + return false; + } else if (this.isOnlineMode() != other.isOnlineMode()) { + return false; + } else if (this.isSecureProfile() != other.isSecureProfile()) { + return false; + } else { + Object this$worldNames = this.getWorldNames(); + Object other$worldNames = other.getWorldNames(); + if (this$worldNames == null) { + if (other$worldNames != null) { + return false; + } + } else if (!this$worldNames.equals(other$worldNames)) { + return false; + } + + Object this$dimensions = this.getDimensions(); + Object other$dimensions = other.getDimensions(); + if (this$dimensions == null) { + if (other$dimensions != null) { + return false; + } + } else if (!this$dimensions.equals(other$dimensions)) { + return false; + } + + Object this$dimension = this.getDimension(); + Object other$dimension = other.getDimension(); + if (this$dimension == null) { + if (other$dimension != null) { + return false; + } + } else if (!this$dimension.equals(other$dimension)) { + return false; + } + + Object this$worldName = this.getWorldName(); + Object other$worldName = other.getWorldName(); + if (this$worldName == null) { + if (other$worldName != null) { + return false; + } + } else if (!this$worldName.equals(other$worldName)) { + return false; + } + + Object this$levelType = this.getLevelType(); + Object other$levelType = other.getLevelType(); + if (this$levelType == null) { + if (other$levelType != null) { + return false; + } + } else if (!this$levelType.equals(other$levelType)) { + return false; + } + + Object this$deathLocation = this.getDeathLocation(); + Object other$deathLocation = other.getDeathLocation(); + if (this$deathLocation == null) { + if (other$deathLocation != null) { + return false; + } + } else if (!this$deathLocation.equals(other$deathLocation)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Login; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getEntityId(); + result = result * 59 + (this.isHardcore() ? 79 : 97); + result = result * 59 + this.getGameMode(); + result = result * 59 + this.getPreviousGameMode(); + long $seed = this.getSeed(); + result = result * 59 + (int)($seed >>> 32 ^ $seed); + result = result * 59 + this.getDifficulty(); + result = result * 59 + this.getMaxPlayers(); + result = result * 59 + this.getViewDistance(); + result = result * 59 + this.getSimulationDistance(); + result = result * 59 + (this.isReducedDebugInfo() ? 79 : 97); + result = result * 59 + (this.isNormalRespawn() ? 79 : 97); + result = result * 59 + (this.isLimitedCrafting() ? 79 : 97); + result = result * 59 + (this.isDebug() ? 79 : 97); + result = result * 59 + (this.isFlat() ? 79 : 97); + result = result * 59 + this.getPortalCooldown(); + result = result * 59 + this.getSeaLevel(); + result = result * 59 + (this.isOnlineMode() ? 79 : 97); + result = result * 59 + (this.isSecureProfile() ? 79 : 97); + Object $worldNames = this.getWorldNames(); + result = result * 59 + ($worldNames == null ? 43 : $worldNames.hashCode()); + Object $dimensions = this.getDimensions(); + result = result * 59 + ($dimensions == null ? 43 : $dimensions.hashCode()); + Object $dimension = this.getDimension(); + result = result * 59 + ($dimension == null ? 43 : $dimension.hashCode()); + Object $worldName = this.getWorldName(); + result = result * 59 + ($worldName == null ? 43 : $worldName.hashCode()); + Object $levelType = this.getLevelType(); + result = result * 59 + ($levelType == null ? 43 : $levelType.hashCode()); + Object $deathLocation = this.getDeathLocation(); + result = result * 59 + ($deathLocation == null ? 43 : $deathLocation.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/LoginAcknowledged.java b/src/main/java/net/md_5/bungee/protocol/packet/LoginAcknowledged.java new file mode 100644 index 0000000..5301e9f --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/LoginAcknowledged.java @@ -0,0 +1,52 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class LoginAcknowledged extends DefinedPacket { + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + } + + public Protocol nextProtocol() { + return Protocol.CONFIGURATION; + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String toString() { + return "LoginAcknowledged()"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LoginAcknowledged)) { + return false; + } else { + LoginAcknowledged other = (LoginAcknowledged)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LoginAcknowledged; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/LoginPayloadRequest.java b/src/main/java/net/md_5/bungee/protocol/packet/LoginPayloadRequest.java new file mode 100644 index 0000000..8ebf7ae --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/LoginPayloadRequest.java @@ -0,0 +1,131 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.OverflowPacketException; + +public class LoginPayloadRequest extends DefinedPacket { + private int id; + private String channel; + private byte[] data; + + public void read(ByteBuf buf) { + this.id = readVarInt(buf); + this.channel = readString(buf); + int len = buf.readableBytes(); + if (len > 1048576) { + throw new OverflowPacketException("Payload may not be larger than 1048576 bytes"); + } else { + this.data = new byte[len]; + buf.readBytes(this.data); + } + } + + public void write(ByteBuf buf) { + writeVarInt(this.id, buf); + writeString(this.channel, buf); + buf.writeBytes(this.data); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getId() { + return this.id; + } + + @Generated + public String getChannel() { + return this.channel; + } + + @Generated + public byte[] getData() { + return this.data; + } + + @Generated + public void setId(int id) { + this.id = id; + } + + @Generated + public void setChannel(String channel) { + this.channel = channel; + } + + @Generated + public void setData(byte[] data) { + this.data = data; + } + + @Generated + public String toString() { + int var10000 = this.getId(); + return "LoginPayloadRequest(id=" + var10000 + ", channel=" + this.getChannel() + ", data=" + Arrays.toString(this.getData()) + ")"; + } + + @Generated + public LoginPayloadRequest() { + } + + @Generated + public LoginPayloadRequest(int id, String channel, byte[] data) { + this.id = id; + this.channel = channel; + this.data = data; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LoginPayloadRequest)) { + return false; + } else { + LoginPayloadRequest other = (LoginPayloadRequest)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getId() != other.getId()) { + return false; + } else { + Object this$channel = this.getChannel(); + Object other$channel = other.getChannel(); + if (this$channel == null) { + if (other$channel != null) { + return false; + } + } else if (!this$channel.equals(other$channel)) { + return false; + } + + if (!Arrays.equals(this.getData(), other.getData())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LoginPayloadRequest; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getId(); + Object $channel = this.getChannel(); + result = result * 59 + ($channel == null ? 43 : $channel.hashCode()); + result = result * 59 + Arrays.hashCode(this.getData()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/LoginPayloadResponse.java b/src/main/java/net/md_5/bungee/protocol/packet/LoginPayloadResponse.java new file mode 100644 index 0000000..b404e88 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/LoginPayloadResponse.java @@ -0,0 +1,110 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.OverflowPacketException; + +public class LoginPayloadResponse extends DefinedPacket { + private int id; + private byte[] data; + + public void read(ByteBuf buf) { + this.id = readVarInt(buf); + if (buf.readBoolean()) { + int len = buf.readableBytes(); + if (len > 1048576) { + throw new OverflowPacketException("Payload may not be larger than 1048576 bytes"); + } + + this.data = new byte[len]; + buf.readBytes(this.data); + } + + } + + public void write(ByteBuf buf) { + writeVarInt(this.id, buf); + if (this.data != null) { + buf.writeBoolean(true); + buf.writeBytes(this.data); + } else { + buf.writeBoolean(false); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getId() { + return this.id; + } + + @Generated + public byte[] getData() { + return this.data; + } + + @Generated + public void setId(int id) { + this.id = id; + } + + @Generated + public void setData(byte[] data) { + this.data = data; + } + + @Generated + public String toString() { + int var10000 = this.getId(); + return "LoginPayloadResponse(id=" + var10000 + ", data=" + Arrays.toString(this.getData()) + ")"; + } + + @Generated + public LoginPayloadResponse() { + } + + @Generated + public LoginPayloadResponse(int id, byte[] data) { + this.id = id; + this.data = data; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LoginPayloadResponse)) { + return false; + } else { + LoginPayloadResponse other = (LoginPayloadResponse)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getId() != other.getId()) { + return false; + } else { + return Arrays.equals(this.getData(), other.getData()); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LoginPayloadResponse; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getId(); + result = result * 59 + Arrays.hashCode(this.getData()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/LoginRequest.java b/src/main/java/net/md_5/bungee/protocol/packet/LoginRequest.java new file mode 100644 index 0000000..81ade4c --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/LoginRequest.java @@ -0,0 +1,165 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.UUID; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.PlayerPublicKey; + +public class LoginRequest extends DefinedPacket { + private String data; + private PlayerPublicKey publicKey; + private UUID uuid; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.data = readString(buf, 16); + if (protocolVersion >= 759 && protocolVersion < 761) { + this.publicKey = readPublicKey(buf); + } + + if (protocolVersion >= 760 && buf.isReadable() && (protocolVersion >= 764 || buf.readBoolean())) { + this.uuid = readUUID(buf); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.data, buf); + if (protocolVersion >= 759 && protocolVersion < 761) { + writePublicKey(this.publicKey, buf); + } + + if (protocolVersion >= 760) { + if (protocolVersion >= 764) { + writeUUID(this.uuid, buf); + } else if (this.uuid != null) { + buf.writeBoolean(true); + writeUUID(this.uuid, buf); + } else { + buf.writeBoolean(false); + } + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + public int expectedMaxLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return protocolVersion >= 759 ? 1089 : 65; + } + + @Generated + public String getData() { + return this.data; + } + + @Generated + public PlayerPublicKey getPublicKey() { + return this.publicKey; + } + + @Generated + public UUID getUuid() { + return this.uuid; + } + + @Generated + public void setData(String data) { + this.data = data; + } + + @Generated + public void setPublicKey(PlayerPublicKey publicKey) { + this.publicKey = publicKey; + } + + @Generated + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + @Generated + public String toString() { + String var10000 = this.getData(); + return "LoginRequest(data=" + var10000 + ", publicKey=" + String.valueOf(this.getPublicKey()) + ", uuid=" + String.valueOf(this.getUuid()) + ")"; + } + + @Generated + public LoginRequest() { + } + + @Generated + public LoginRequest(String data, PlayerPublicKey publicKey, UUID uuid) { + this.data = data; + this.publicKey = publicKey; + this.uuid = uuid; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LoginRequest)) { + return false; + } else { + LoginRequest other = (LoginRequest)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$data = this.getData(); + Object other$data = other.getData(); + if (this$data == null) { + if (other$data != null) { + return false; + } + } else if (!this$data.equals(other$data)) { + return false; + } + + Object this$publicKey = this.getPublicKey(); + Object other$publicKey = other.getPublicKey(); + if (this$publicKey == null) { + if (other$publicKey != null) { + return false; + } + } else if (!this$publicKey.equals(other$publicKey)) { + return false; + } + + Object this$uuid = this.getUuid(); + Object other$uuid = other.getUuid(); + if (this$uuid == null) { + if (other$uuid != null) { + return false; + } + } else if (!this$uuid.equals(other$uuid)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LoginRequest; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $data = this.getData(); + result = result * 59 + ($data == null ? 43 : $data.hashCode()); + Object $publicKey = this.getPublicKey(); + result = result * 59 + ($publicKey == null ? 43 : $publicKey.hashCode()); + Object $uuid = this.getUuid(); + result = result * 59 + ($uuid == null ? 43 : $uuid.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/LoginSuccess.java b/src/main/java/net/md_5/bungee/protocol/packet/LoginSuccess.java new file mode 100644 index 0000000..a2fcd96 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/LoginSuccess.java @@ -0,0 +1,204 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import java.util.UUID; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.Property; + +public class LoginSuccess extends DefinedPacket { + private UUID uuid; + private String username; + private Property[] properties; + private UUID sessionId; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion <= 4) { + this.uuid = readUndashedUUID(buf); + } else if (protocolVersion >= 735) { + this.uuid = readUUID(buf); + } else { + this.uuid = UUID.fromString(readString(buf)); + } + + this.username = readString(buf); + if (protocolVersion >= 759) { + this.properties = readProperties(buf); + } + + if (protocolVersion >= 766 && protocolVersion < 768) { + buf.readBoolean(); + } + + if (protocolVersion >= 776) { + this.sessionId = readUUID(buf); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion <= 4) { + writeUndashedUUID(this.uuid.toString(), buf); + } else if (protocolVersion >= 735) { + writeUUID(this.uuid, buf); + } else { + writeString(this.uuid.toString(), buf); + } + + writeString(this.username, buf); + if (protocolVersion >= 759) { + writeProperties(this.properties, buf); + } + + if (protocolVersion >= 766 && protocolVersion < 768) { + buf.writeBoolean(true); + } + + if (protocolVersion >= 776) { + writeUUID(this.sessionId, buf); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + private static UUID readUndashedUUID(ByteBuf buf) { + return UUID.fromString((new StringBuilder(readString(buf))).insert(20, '-').insert(16, '-').insert(12, '-').insert(8, '-').toString()); + } + + private static void writeUndashedUUID(String uuid, ByteBuf buf) { + writeString((new StringBuilder(32)).append(uuid, 0, 8).append(uuid, 9, 13).append(uuid, 14, 18).append(uuid, 19, 23).append(uuid, 24, 36).toString(), buf); + } + + @Generated + public UUID getUuid() { + return this.uuid; + } + + @Generated + public String getUsername() { + return this.username; + } + + @Generated + public Property[] getProperties() { + return this.properties; + } + + @Generated + public UUID getSessionId() { + return this.sessionId; + } + + @Generated + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + @Generated + public void setUsername(String username) { + this.username = username; + } + + @Generated + public void setProperties(Property[] properties) { + this.properties = properties; + } + + @Generated + public void setSessionId(UUID sessionId) { + this.sessionId = sessionId; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getUuid()); + return "LoginSuccess(uuid=" + var10000 + ", username=" + this.getUsername() + ", properties=" + Arrays.deepToString(this.getProperties()) + ", sessionId=" + String.valueOf(this.getSessionId()) + ")"; + } + + @Generated + public LoginSuccess() { + } + + @Generated + public LoginSuccess(UUID uuid, String username, Property[] properties, UUID sessionId) { + this.uuid = uuid; + this.username = username; + this.properties = properties; + this.sessionId = sessionId; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof LoginSuccess)) { + return false; + } else { + LoginSuccess other = (LoginSuccess)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$uuid = this.getUuid(); + Object other$uuid = other.getUuid(); + if (this$uuid == null) { + if (other$uuid != null) { + return false; + } + } else if (!this$uuid.equals(other$uuid)) { + return false; + } + + Object this$username = this.getUsername(); + Object other$username = other.getUsername(); + if (this$username == null) { + if (other$username != null) { + return false; + } + } else if (!this$username.equals(other$username)) { + return false; + } + + if (!Arrays.deepEquals(this.getProperties(), other.getProperties())) { + return false; + } else { + Object this$sessionId = this.getSessionId(); + Object other$sessionId = other.getSessionId(); + if (this$sessionId == null) { + if (other$sessionId != null) { + return false; + } + } else if (!this$sessionId.equals(other$sessionId)) { + return false; + } + + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof LoginSuccess; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $uuid = this.getUuid(); + result = result * 59 + ($uuid == null ? 43 : $uuid.hashCode()); + Object $username = this.getUsername(); + result = result * 59 + ($username == null ? 43 : $username.hashCode()); + result = result * 59 + Arrays.deepHashCode(this.getProperties()); + Object $sessionId = this.getSessionId(); + result = result * 59 + ($sessionId == null ? 43 : $sessionId.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/PingPacket.java b/src/main/java/net/md_5/bungee/protocol/packet/PingPacket.java new file mode 100644 index 0000000..bd7354c --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/PingPacket.java @@ -0,0 +1,85 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class PingPacket extends DefinedPacket { + private long time; + + public void read(ByteBuf buf) { + this.time = buf.readLong(); + } + + public void write(ByteBuf buf) { + buf.writeLong(this.time); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + public int expectedMaxLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return 8; + } + + public int expectedMinLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return 8; + } + + @Generated + public long getTime() { + return this.time; + } + + @Generated + public void setTime(long time) { + this.time = time; + } + + @Generated + public String toString() { + return "PingPacket(time=" + this.getTime() + ")"; + } + + @Generated + public PingPacket() { + } + + @Generated + public PingPacket(long time) { + this.time = time; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PingPacket)) { + return false; + } else { + PingPacket other = (PingPacket)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getTime() == other.getTime(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PingPacket; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $time = this.getTime(); + result = result * 59 + (int)($time >>> 32 ^ $time); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/PlayerListHeaderFooter.java b/src/main/java/net/md_5/bungee/protocol/packet/PlayerListHeaderFooter.java new file mode 100644 index 0000000..6ba644e --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/PlayerListHeaderFooter.java @@ -0,0 +1,115 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class PlayerListHeaderFooter extends DefinedPacket { + private BaseComponent header; + private BaseComponent footer; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.header = readBaseComponent(buf, protocolVersion); + this.footer = readBaseComponent(buf, protocolVersion); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeBaseComponent(this.header, buf, protocolVersion); + writeBaseComponent(this.footer, buf, protocolVersion); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public BaseComponent getHeader() { + return this.header; + } + + @Generated + public BaseComponent getFooter() { + return this.footer; + } + + @Generated + public void setHeader(BaseComponent header) { + this.header = header; + } + + @Generated + public void setFooter(BaseComponent footer) { + this.footer = footer; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getHeader()); + return "PlayerListHeaderFooter(header=" + var10000 + ", footer=" + String.valueOf(this.getFooter()) + ")"; + } + + @Generated + public PlayerListHeaderFooter() { + } + + @Generated + public PlayerListHeaderFooter(BaseComponent header, BaseComponent footer) { + this.header = header; + this.footer = footer; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerListHeaderFooter)) { + return false; + } else { + PlayerListHeaderFooter other = (PlayerListHeaderFooter)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$header = this.getHeader(); + Object other$header = other.getHeader(); + if (this$header == null) { + if (other$header != null) { + return false; + } + } else if (!this$header.equals(other$header)) { + return false; + } + + Object this$footer = this.getFooter(); + Object other$footer = other.getFooter(); + if (this$footer == null) { + if (other$footer != null) { + return false; + } + } else if (!this$footer.equals(other$footer)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerListHeaderFooter; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $header = this.getHeader(); + result = result * 59 + ($header == null ? 43 : $header.hashCode()); + Object $footer = this.getFooter(); + result = result * 59 + ($footer == null ? 43 : $footer.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/PlayerListItem.java b/src/main/java/net/md_5/bungee/protocol/packet/PlayerListItem.java new file mode 100644 index 0000000..f2e62ea --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/PlayerListItem.java @@ -0,0 +1,473 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import java.util.UUID; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.PlayerPublicKey; +import net.md_5.bungee.protocol.data.Property; + +public class PlayerListItem extends DefinedPacket { + private Action action; + private Item[] items; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + this.items = new Item[1]; + Item item = this.items[0] = new Item(); + item.username = readString(buf); + item.displayName = new TextComponent(item.username); + this.action = !buf.readBoolean() ? PlayerListItem.Action.REMOVE_PLAYER : PlayerListItem.Action.ADD_PLAYER; + item.ping = (int)buf.readShort(); + } else { + this.action = PlayerListItem.Action.values()[DefinedPacket.readVarInt(buf)]; + this.items = new Item[DefinedPacket.readVarInt(buf)]; + + for(int i = 0; i < this.items.length; ++i) { + Item item = this.items[i] = new Item(); + item.setUuid(DefinedPacket.readUUID(buf)); + switch (this.action.ordinal()) { + case 0: + item.username = DefinedPacket.readString(buf); + item.properties = DefinedPacket.readProperties(buf); + item.gamemode = DefinedPacket.readVarInt(buf); + item.ping = DefinedPacket.readVarInt(buf); + if (buf.readBoolean()) { + item.displayName = DefinedPacket.readBaseComponent(buf, protocolVersion); + } + + if (protocolVersion >= 759) { + item.publicKey = readPublicKey(buf); + } + break; + case 1: + item.gamemode = DefinedPacket.readVarInt(buf); + break; + case 2: + item.ping = DefinedPacket.readVarInt(buf); + break; + case 3: + if (buf.readBoolean()) { + item.displayName = DefinedPacket.readBaseComponent(buf, protocolVersion); + } + } + } + + } + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + Item item = this.items[0]; + writeString(item.displayName == null ? (item.username == null ? "" : item.username) : TextComponent.toPlainText(new BaseComponent[]{item.displayName}), buf); + buf.writeBoolean(this.action != PlayerListItem.Action.REMOVE_PLAYER); + buf.writeShort(item.ping); + } else { + DefinedPacket.writeVarInt(this.action.ordinal(), buf); + DefinedPacket.writeVarInt(this.items.length, buf); + + for(Item item : this.items) { + DefinedPacket.writeUUID(item.uuid, buf); + switch (this.action.ordinal()) { + case 0: + DefinedPacket.writeString(item.username, buf); + DefinedPacket.writeProperties(item.properties, buf); + DefinedPacket.writeVarInt(item.gamemode, buf); + DefinedPacket.writeVarInt(item.ping, buf); + buf.writeBoolean(item.displayName != null); + if (item.displayName != null) { + DefinedPacket.writeBaseComponent(item.displayName, buf, protocolVersion); + } + + if (protocolVersion >= 759) { + writePublicKey(item.publicKey, buf); + } + break; + case 1: + DefinedPacket.writeVarInt(item.gamemode, buf); + break; + case 2: + DefinedPacket.writeVarInt(item.ping, buf); + break; + case 3: + buf.writeBoolean(item.displayName != null); + if (item.displayName != null) { + DefinedPacket.writeBaseComponent(item.displayName, buf, protocolVersion); + } + } + } + + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public Action getAction() { + return this.action; + } + + @Generated + public Item[] getItems() { + return this.items; + } + + @Generated + public void setAction(Action action) { + this.action = action; + } + + @Generated + public void setItems(Item[] items) { + this.items = items; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getAction()); + return "PlayerListItem(action=" + var10000 + ", items=" + Arrays.deepToString(this.getItems()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerListItem)) { + return false; + } else { + PlayerListItem other = (PlayerListItem)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$action = this.getAction(); + Object other$action = other.getAction(); + if (this$action == null) { + if (other$action != null) { + return false; + } + } else if (!this$action.equals(other$action)) { + return false; + } + + if (!Arrays.deepEquals(this.getItems(), other.getItems())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerListItem; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $action = this.getAction(); + result = result * 59 + ($action == null ? 43 : $action.hashCode()); + result = result * 59 + Arrays.deepHashCode(this.getItems()); + return result; + } + + public static enum Action { + ADD_PLAYER, + UPDATE_GAMEMODE, + UPDATE_LATENCY, + UPDATE_DISPLAY_NAME, + REMOVE_PLAYER; + } + + public static class Item { + UUID uuid; + String username; + Property[] properties; + UUID chatSessionId; + PlayerPublicKey publicKey; + Boolean listed; + Integer gamemode; + Integer ping; + BaseComponent displayName; + Integer listOrder; + Boolean showHat; + + @Generated + public UUID getUuid() { + return this.uuid; + } + + @Generated + public String getUsername() { + return this.username; + } + + @Generated + public Property[] getProperties() { + return this.properties; + } + + @Generated + public UUID getChatSessionId() { + return this.chatSessionId; + } + + @Generated + public PlayerPublicKey getPublicKey() { + return this.publicKey; + } + + @Generated + public Boolean getListed() { + return this.listed; + } + + @Generated + public Integer getGamemode() { + return this.gamemode; + } + + @Generated + public Integer getPing() { + return this.ping; + } + + @Generated + public BaseComponent getDisplayName() { + return this.displayName; + } + + @Generated + public Integer getListOrder() { + return this.listOrder; + } + + @Generated + public Boolean getShowHat() { + return this.showHat; + } + + @Generated + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + @Generated + public void setUsername(String username) { + this.username = username; + } + + @Generated + public void setProperties(Property[] properties) { + this.properties = properties; + } + + @Generated + public void setChatSessionId(UUID chatSessionId) { + this.chatSessionId = chatSessionId; + } + + @Generated + public void setPublicKey(PlayerPublicKey publicKey) { + this.publicKey = publicKey; + } + + @Generated + public void setListed(Boolean listed) { + this.listed = listed; + } + + @Generated + public void setGamemode(Integer gamemode) { + this.gamemode = gamemode; + } + + @Generated + public void setPing(Integer ping) { + this.ping = ping; + } + + @Generated + public void setDisplayName(BaseComponent displayName) { + this.displayName = displayName; + } + + @Generated + public void setListOrder(Integer listOrder) { + this.listOrder = listOrder; + } + + @Generated + public void setShowHat(Boolean showHat) { + this.showHat = showHat; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Item)) { + return false; + } else { + Item other = (Item)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$listed = this.getListed(); + Object other$listed = other.getListed(); + if (this$listed == null) { + if (other$listed != null) { + return false; + } + } else if (!this$listed.equals(other$listed)) { + return false; + } + + Object this$gamemode = this.getGamemode(); + Object other$gamemode = other.getGamemode(); + if (this$gamemode == null) { + if (other$gamemode != null) { + return false; + } + } else if (!this$gamemode.equals(other$gamemode)) { + return false; + } + + Object this$ping = this.getPing(); + Object other$ping = other.getPing(); + if (this$ping == null) { + if (other$ping != null) { + return false; + } + } else if (!this$ping.equals(other$ping)) { + return false; + } + + Object this$listOrder = this.getListOrder(); + Object other$listOrder = other.getListOrder(); + if (this$listOrder == null) { + if (other$listOrder != null) { + return false; + } + } else if (!this$listOrder.equals(other$listOrder)) { + return false; + } + + Object this$showHat = this.getShowHat(); + Object other$showHat = other.getShowHat(); + if (this$showHat == null) { + if (other$showHat != null) { + return false; + } + } else if (!this$showHat.equals(other$showHat)) { + return false; + } + + Object this$uuid = this.getUuid(); + Object other$uuid = other.getUuid(); + if (this$uuid == null) { + if (other$uuid != null) { + return false; + } + } else if (!this$uuid.equals(other$uuid)) { + return false; + } + + Object this$username = this.getUsername(); + Object other$username = other.getUsername(); + if (this$username == null) { + if (other$username != null) { + return false; + } + } else if (!this$username.equals(other$username)) { + return false; + } + + if (!Arrays.deepEquals(this.getProperties(), other.getProperties())) { + return false; + } else { + Object this$chatSessionId = this.getChatSessionId(); + Object other$chatSessionId = other.getChatSessionId(); + if (this$chatSessionId == null) { + if (other$chatSessionId != null) { + return false; + } + } else if (!this$chatSessionId.equals(other$chatSessionId)) { + return false; + } + + Object this$publicKey = this.getPublicKey(); + Object other$publicKey = other.getPublicKey(); + if (this$publicKey == null) { + if (other$publicKey != null) { + return false; + } + } else if (!this$publicKey.equals(other$publicKey)) { + return false; + } + + Object this$displayName = this.getDisplayName(); + Object other$displayName = other.getDisplayName(); + if (this$displayName == null) { + if (other$displayName != null) { + return false; + } + } else if (!this$displayName.equals(other$displayName)) { + return false; + } + + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Item; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $listed = this.getListed(); + result = result * 59 + ($listed == null ? 43 : $listed.hashCode()); + Object $gamemode = this.getGamemode(); + result = result * 59 + ($gamemode == null ? 43 : $gamemode.hashCode()); + Object $ping = this.getPing(); + result = result * 59 + ($ping == null ? 43 : $ping.hashCode()); + Object $listOrder = this.getListOrder(); + result = result * 59 + ($listOrder == null ? 43 : $listOrder.hashCode()); + Object $showHat = this.getShowHat(); + result = result * 59 + ($showHat == null ? 43 : $showHat.hashCode()); + Object $uuid = this.getUuid(); + result = result * 59 + ($uuid == null ? 43 : $uuid.hashCode()); + Object $username = this.getUsername(); + result = result * 59 + ($username == null ? 43 : $username.hashCode()); + result = result * 59 + Arrays.deepHashCode(this.getProperties()); + Object $chatSessionId = this.getChatSessionId(); + result = result * 59 + ($chatSessionId == null ? 43 : $chatSessionId.hashCode()); + Object $publicKey = this.getPublicKey(); + result = result * 59 + ($publicKey == null ? 43 : $publicKey.hashCode()); + Object $displayName = this.getDisplayName(); + result = result * 59 + ($displayName == null ? 43 : $displayName.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getUuid()); + return "PlayerListItem.Item(uuid=" + var10000 + ", username=" + this.getUsername() + ", properties=" + Arrays.deepToString(this.getProperties()) + ", chatSessionId=" + String.valueOf(this.getChatSessionId()) + ", publicKey=" + String.valueOf(this.getPublicKey()) + ", listed=" + this.getListed() + ", gamemode=" + this.getGamemode() + ", ping=" + this.getPing() + ", displayName=" + String.valueOf(this.getDisplayName()) + ", listOrder=" + this.getListOrder() + ", showHat=" + this.getShowHat() + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/PlayerListItemRemove.java b/src/main/java/net/md_5/bungee/protocol/packet/PlayerListItemRemove.java new file mode 100644 index 0000000..0c4e020 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/PlayerListItemRemove.java @@ -0,0 +1,79 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import java.util.UUID; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class PlayerListItemRemove extends DefinedPacket { + private UUID[] uuids; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.uuids = new UUID[DefinedPacket.readVarInt(buf)]; + + for(int i = 0; i < this.uuids.length; ++i) { + this.uuids[i] = DefinedPacket.readUUID(buf); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + DefinedPacket.writeVarInt(this.uuids.length, buf); + + for(UUID uuid : this.uuids) { + DefinedPacket.writeUUID(uuid, buf); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public UUID[] getUuids() { + return this.uuids; + } + + @Generated + public void setUuids(UUID[] uuids) { + this.uuids = uuids; + } + + @Generated + public String toString() { + return "PlayerListItemRemove(uuids=" + Arrays.deepToString(this.getUuids()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerListItemRemove)) { + return false; + } else { + PlayerListItemRemove other = (PlayerListItemRemove)o; + if (!other.canEqual(this)) { + return false; + } else { + return Arrays.deepEquals(this.getUuids(), other.getUuids()); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerListItemRemove; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + Arrays.deepHashCode(this.getUuids()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/PlayerListItemUpdate.java b/src/main/java/net/md_5/bungee/protocol/packet/PlayerListItemUpdate.java new file mode 100644 index 0000000..1a6a2c2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/PlayerListItemUpdate.java @@ -0,0 +1,194 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import java.util.EnumSet; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.PlayerPublicKey; + +public class PlayerListItemUpdate extends DefinedPacket { + private EnumSet actions; + private PlayerListItem.Item[] items; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.actions = readEnumSet(Action.class, buf); + this.items = new PlayerListItem.Item[DefinedPacket.readVarInt(buf)]; + + for(int i = 0; i < this.items.length; ++i) { + PlayerListItem.Item item = this.items[i] = new PlayerListItem.Item(); + item.setUuid(DefinedPacket.readUUID(buf)); + + for(Action action : this.actions) { + switch (action.ordinal()) { + case 0: + item.username = DefinedPacket.readString(buf); + item.properties = DefinedPacket.readProperties(buf); + break; + case 1: + if (buf.readBoolean()) { + item.chatSessionId = readUUID(buf); + item.publicKey = new PlayerPublicKey(buf.readLong(), readArray(buf, 512), readArray(buf, 4096)); + } + break; + case 2: + item.gamemode = DefinedPacket.readVarInt(buf); + break; + case 3: + item.listed = buf.readBoolean(); + break; + case 4: + item.ping = DefinedPacket.readVarInt(buf); + break; + case 5: + if (buf.readBoolean()) { + item.displayName = DefinedPacket.readBaseComponent(buf, protocolVersion); + } + break; + case 6: + item.listOrder = DefinedPacket.readVarInt(buf); + break; + case 7: + item.showHat = buf.readBoolean(); + } + } + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + DefinedPacket.writeEnumSet(this.actions, Action.class, buf); + DefinedPacket.writeVarInt(this.items.length, buf); + + for(PlayerListItem.Item item : this.items) { + DefinedPacket.writeUUID(item.uuid, buf); + + for(Action action : this.actions) { + switch (action.ordinal()) { + case 0: + DefinedPacket.writeString(item.username, buf); + DefinedPacket.writeProperties(item.properties, buf); + break; + case 1: + buf.writeBoolean(item.chatSessionId != null); + if (item.chatSessionId != null) { + writeUUID(item.chatSessionId, buf); + buf.writeLong(item.publicKey.getExpiry()); + writeArray(item.publicKey.getKey(), buf); + writeArray(item.publicKey.getSignature(), buf); + } + break; + case 2: + DefinedPacket.writeVarInt(item.gamemode, buf); + break; + case 3: + buf.writeBoolean(item.listed); + break; + case 4: + DefinedPacket.writeVarInt(item.ping, buf); + break; + case 5: + buf.writeBoolean(item.displayName != null); + if (item.displayName != null) { + DefinedPacket.writeBaseComponent(item.displayName, buf, protocolVersion); + } + break; + case 6: + DefinedPacket.writeVarInt(item.listOrder, buf); + break; + case 7: + buf.writeBoolean(item.showHat); + } + } + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public EnumSet getActions() { + return this.actions; + } + + @Generated + public PlayerListItem.Item[] getItems() { + return this.items; + } + + @Generated + public void setActions(EnumSet actions) { + this.actions = actions; + } + + @Generated + public void setItems(PlayerListItem.Item[] items) { + this.items = items; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getActions()); + return "PlayerListItemUpdate(actions=" + var10000 + ", items=" + Arrays.deepToString(this.getItems()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PlayerListItemUpdate)) { + return false; + } else { + PlayerListItemUpdate other = (PlayerListItemUpdate)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$actions = this.getActions(); + Object other$actions = other.getActions(); + if (this$actions == null) { + if (other$actions != null) { + return false; + } + } else if (!this$actions.equals(other$actions)) { + return false; + } + + if (!Arrays.deepEquals(this.getItems(), other.getItems())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PlayerListItemUpdate; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $actions = this.getActions(); + result = result * 59 + ($actions == null ? 43 : $actions.hashCode()); + result = result * 59 + Arrays.deepHashCode(this.getItems()); + return result; + } + + public static enum Action { + ADD_PLAYER, + INITIALIZE_CHAT, + UPDATE_GAMEMODE, + UPDATE_LISTED, + UPDATE_LATENCY, + UPDATE_DISPLAY_NAME, + UPDATE_LIST_ORDER, + UPDATE_HAT; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/PluginMessage.java b/src/main/java/net/md_5/bungee/protocol/packet/PluginMessage.java new file mode 100644 index 0000000..2c33b91 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/PluginMessage.java @@ -0,0 +1,175 @@ +package net.md_5.bungee.protocol.packet; + +import com.google.common.base.Function; +import com.google.common.base.Preconditions; +import dev._2lstudios.flamecord.FlameCord; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.ByteBufUtil; +import java.io.ByteArrayInputStream; +import java.io.DataInput; +import java.io.DataInputStream; +import java.util.Arrays; +import java.util.Locale; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class PluginMessage extends DefinedPacket { + public static final String BUNGEE_CHANNEL_LEGACY = "BungeeCord"; + public static final String BUNGEE_CHANNEL_MODERN = "bungeecord:main"; + public static final Function MODERNISE = new Function() { + public String apply(String tag) { + if (tag.equals("BungeeCord")) { + return "bungeecord:main"; + } else if (tag.equals("bungeecord:main")) { + return "BungeeCord"; + } else if (tag.indexOf(58) != -1) { + return tag; + } else { + String var10000 = tag.toLowerCase(Locale.ROOT); + return "legacy:" + var10000.replace("|", ""); + } + } + }; + private String tag; + private byte[] data; + private boolean allowExtendedPacket; + + public PluginMessage(String tag, ByteBuf data, boolean allowExtendedPacket) { + this(tag, ByteBufUtil.getBytes(data), allowExtendedPacket); + } + + public void setData(byte[] data) { + this.data = (byte[])Preconditions.checkNotNull(data, "Null data"); + } + + public void setData(ByteBuf buf) { + Preconditions.checkNotNull(buf, "Null buffer"); + this.setData(ByteBufUtil.getBytes(buf)); + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + this.tag = readString(buf); + this.data = v17readArray(buf); + } else { + this.tag = protocolVersion >= 393 ? (String)MODERNISE.apply(readString(buf)) : readString(buf, 20); + int maxSize = direction == ProtocolConstants.Direction.TO_SERVER ? 32767 : 1048576; + boolean largePayloads = FlameCord.getInstance().getFlameCordConfiguration().isLargePayloads(); + Preconditions.checkArgument(largePayloads || buf.readableBytes() <= maxSize, "Payload too large (" + buf.readableBytes() + " bytes)"); + this.data = new byte[buf.readableBytes()]; + buf.readBytes(this.data); + } + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + writeString(this.tag, buf); + v17writeArray(this.data, buf, this.allowExtendedPacket); + } else { + writeString(protocolVersion >= 393 ? (String)MODERNISE.apply(this.tag) : this.tag, buf); + buf.writeBytes(this.data); + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + public DataInput getStream() { + return new DataInputStream(new ByteArrayInputStream(this.data)); + } + + @Generated + public String getTag() { + return this.tag; + } + + @Generated + public byte[] getData() { + return this.data; + } + + @Generated + public boolean isAllowExtendedPacket() { + return this.allowExtendedPacket; + } + + @Generated + public void setTag(String tag) { + this.tag = tag; + } + + @Generated + public void setAllowExtendedPacket(boolean allowExtendedPacket) { + this.allowExtendedPacket = allowExtendedPacket; + } + + @Generated + public String toString() { + String var10000 = this.getTag(); + return "PluginMessage(tag=" + var10000 + ", data=" + Arrays.toString(this.getData()) + ", allowExtendedPacket=" + this.isAllowExtendedPacket() + ")"; + } + + @Generated + public PluginMessage() { + this.allowExtendedPacket = false; + } + + @Generated + public PluginMessage(String tag, byte[] data, boolean allowExtendedPacket) { + this.allowExtendedPacket = false; + this.tag = tag; + this.data = data; + this.allowExtendedPacket = allowExtendedPacket; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof PluginMessage)) { + return false; + } else { + PluginMessage other = (PluginMessage)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isAllowExtendedPacket() != other.isAllowExtendedPacket()) { + return false; + } else { + Object this$tag = this.getTag(); + Object other$tag = other.getTag(); + if (this$tag == null) { + if (other$tag != null) { + return false; + } + } else if (!this$tag.equals(other$tag)) { + return false; + } + + if (!Arrays.equals(this.getData(), other.getData())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof PluginMessage; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isAllowExtendedPacket() ? 79 : 97); + Object $tag = this.getTag(); + result = result * 59 + ($tag == null ? 43 : $tag.hashCode()); + result = result * 59 + Arrays.hashCode(this.getData()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Respawn.java b/src/main/java/net/md_5/bungee/protocol/packet/Respawn.java new file mode 100644 index 0000000..84a6aa0 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Respawn.java @@ -0,0 +1,422 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.nbt.Tag; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.Location; + +public class Respawn extends DefinedPacket { + private Object dimension; + private String worldName; + private long seed; + private short difficulty; + private short gameMode; + private short previousGameMode; + private String levelType; + private boolean debug; + private boolean flat; + private byte copyMeta; + private Location deathLocation; + private int portalCooldown; + private int seaLevel; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 735) { + if (protocolVersion >= 766) { + this.dimension = readVarInt(buf); + } else if (protocolVersion >= 751 && protocolVersion < 759) { + this.dimension = readTag(buf, protocolVersion); + } else { + this.dimension = readString(buf); + } + + this.worldName = readString(buf); + } else { + this.dimension = buf.readInt(); + } + + if (protocolVersion >= 573) { + this.seed = buf.readLong(); + } + + if (protocolVersion < 477) { + this.difficulty = buf.readUnsignedByte(); + } + + if (protocolVersion >= 777) { + this.gameMode = (short)readVarInt(buf); + } else { + this.gameMode = buf.readUnsignedByte(); + } + + if (protocolVersion >= 735) { + if (protocolVersion >= 777) { + this.previousGameMode = readOptionalGameMode(buf); + } else { + this.previousGameMode = buf.readUnsignedByte(); + } + + this.debug = buf.readBoolean(); + this.flat = buf.readBoolean(); + if (protocolVersion < 764) { + this.copyMeta = buf.readByte(); + } + } else { + this.levelType = readString(buf); + } + + if (protocolVersion >= 759 && buf.readBoolean()) { + this.deathLocation = new Location(readString(buf), buf.readLong()); + } + + if (protocolVersion >= 763) { + this.portalCooldown = readVarInt(buf); + } + + if (protocolVersion >= 768) { + this.seaLevel = readVarInt(buf); + } + + if (protocolVersion >= 764) { + this.copyMeta = buf.readByte(); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 735) { + if (protocolVersion >= 766) { + writeVarInt((Integer)this.dimension, buf); + } else if (protocolVersion >= 751 && protocolVersion < 759) { + writeTag((Tag)this.dimension, buf, protocolVersion); + } else { + writeString((String)this.dimension, buf); + } + + writeString(this.worldName, buf); + } else { + buf.writeInt((Integer)this.dimension); + } + + if (protocolVersion >= 573) { + buf.writeLong(this.seed); + } + + if (protocolVersion < 477) { + buf.writeByte(this.difficulty); + } + + if (protocolVersion >= 777) { + writeVarInt(this.gameMode, buf); + } else { + buf.writeByte(this.gameMode); + } + + if (protocolVersion >= 735) { + if (protocolVersion >= 777) { + writeOptionalGameMode(this.previousGameMode, buf); + } else { + buf.writeByte(this.previousGameMode); + } + + buf.writeBoolean(this.debug); + buf.writeBoolean(this.flat); + if (protocolVersion < 764) { + buf.writeByte(this.copyMeta); + } + } else { + writeString(this.levelType, buf); + } + + if (protocolVersion >= 759) { + if (this.deathLocation != null) { + buf.writeBoolean(true); + writeString(this.deathLocation.getDimension(), buf); + buf.writeLong(this.deathLocation.getPos()); + } else { + buf.writeBoolean(false); + } + } + + if (protocolVersion >= 763) { + writeVarInt(this.portalCooldown, buf); + } + + if (protocolVersion >= 768) { + writeVarInt(this.seaLevel, buf); + } + + if (protocolVersion >= 764) { + buf.writeByte(this.copyMeta); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public Object getDimension() { + return this.dimension; + } + + @Generated + public String getWorldName() { + return this.worldName; + } + + @Generated + public long getSeed() { + return this.seed; + } + + @Generated + public short getDifficulty() { + return this.difficulty; + } + + @Generated + public short getGameMode() { + return this.gameMode; + } + + @Generated + public short getPreviousGameMode() { + return this.previousGameMode; + } + + @Generated + public String getLevelType() { + return this.levelType; + } + + @Generated + public boolean isDebug() { + return this.debug; + } + + @Generated + public boolean isFlat() { + return this.flat; + } + + @Generated + public byte getCopyMeta() { + return this.copyMeta; + } + + @Generated + public Location getDeathLocation() { + return this.deathLocation; + } + + @Generated + public int getPortalCooldown() { + return this.portalCooldown; + } + + @Generated + public int getSeaLevel() { + return this.seaLevel; + } + + @Generated + public void setDimension(Object dimension) { + this.dimension = dimension; + } + + @Generated + public void setWorldName(String worldName) { + this.worldName = worldName; + } + + @Generated + public void setSeed(long seed) { + this.seed = seed; + } + + @Generated + public void setDifficulty(short difficulty) { + this.difficulty = difficulty; + } + + @Generated + public void setGameMode(short gameMode) { + this.gameMode = gameMode; + } + + @Generated + public void setPreviousGameMode(short previousGameMode) { + this.previousGameMode = previousGameMode; + } + + @Generated + public void setLevelType(String levelType) { + this.levelType = levelType; + } + + @Generated + public void setDebug(boolean debug) { + this.debug = debug; + } + + @Generated + public void setFlat(boolean flat) { + this.flat = flat; + } + + @Generated + public void setCopyMeta(byte copyMeta) { + this.copyMeta = copyMeta; + } + + @Generated + public void setDeathLocation(Location deathLocation) { + this.deathLocation = deathLocation; + } + + @Generated + public void setPortalCooldown(int portalCooldown) { + this.portalCooldown = portalCooldown; + } + + @Generated + public void setSeaLevel(int seaLevel) { + this.seaLevel = seaLevel; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getDimension()); + return "Respawn(dimension=" + var10000 + ", worldName=" + this.getWorldName() + ", seed=" + this.getSeed() + ", difficulty=" + this.getDifficulty() + ", gameMode=" + this.getGameMode() + ", previousGameMode=" + this.getPreviousGameMode() + ", levelType=" + this.getLevelType() + ", debug=" + this.isDebug() + ", flat=" + this.isFlat() + ", copyMeta=" + this.getCopyMeta() + ", deathLocation=" + String.valueOf(this.getDeathLocation()) + ", portalCooldown=" + this.getPortalCooldown() + ", seaLevel=" + this.getSeaLevel() + ")"; + } + + @Generated + public Respawn() { + } + + @Generated + public Respawn(Object dimension, String worldName, long seed, short difficulty, short gameMode, short previousGameMode, String levelType, boolean debug, boolean flat, byte copyMeta, Location deathLocation, int portalCooldown, int seaLevel) { + this.dimension = dimension; + this.worldName = worldName; + this.seed = seed; + this.difficulty = difficulty; + this.gameMode = gameMode; + this.previousGameMode = previousGameMode; + this.levelType = levelType; + this.debug = debug; + this.flat = flat; + this.copyMeta = copyMeta; + this.deathLocation = deathLocation; + this.portalCooldown = portalCooldown; + this.seaLevel = seaLevel; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Respawn)) { + return false; + } else { + Respawn other = (Respawn)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getSeed() != other.getSeed()) { + return false; + } else if (this.getDifficulty() != other.getDifficulty()) { + return false; + } else if (this.getGameMode() != other.getGameMode()) { + return false; + } else if (this.getPreviousGameMode() != other.getPreviousGameMode()) { + return false; + } else if (this.isDebug() != other.isDebug()) { + return false; + } else if (this.isFlat() != other.isFlat()) { + return false; + } else if (this.getCopyMeta() != other.getCopyMeta()) { + return false; + } else if (this.getPortalCooldown() != other.getPortalCooldown()) { + return false; + } else if (this.getSeaLevel() != other.getSeaLevel()) { + return false; + } else { + Object this$dimension = this.getDimension(); + Object other$dimension = other.getDimension(); + if (this$dimension == null) { + if (other$dimension != null) { + return false; + } + } else if (!this$dimension.equals(other$dimension)) { + return false; + } + + Object this$worldName = this.getWorldName(); + Object other$worldName = other.getWorldName(); + if (this$worldName == null) { + if (other$worldName != null) { + return false; + } + } else if (!this$worldName.equals(other$worldName)) { + return false; + } + + Object this$levelType = this.getLevelType(); + Object other$levelType = other.getLevelType(); + if (this$levelType == null) { + if (other$levelType != null) { + return false; + } + } else if (!this$levelType.equals(other$levelType)) { + return false; + } + + Object this$deathLocation = this.getDeathLocation(); + Object other$deathLocation = other.getDeathLocation(); + if (this$deathLocation == null) { + if (other$deathLocation != null) { + return false; + } + } else if (!this$deathLocation.equals(other$deathLocation)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Respawn; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + long $seed = this.getSeed(); + result = result * 59 + (int)($seed >>> 32 ^ $seed); + result = result * 59 + this.getDifficulty(); + result = result * 59 + this.getGameMode(); + result = result * 59 + this.getPreviousGameMode(); + result = result * 59 + (this.isDebug() ? 79 : 97); + result = result * 59 + (this.isFlat() ? 79 : 97); + result = result * 59 + this.getCopyMeta(); + result = result * 59 + this.getPortalCooldown(); + result = result * 59 + this.getSeaLevel(); + Object $dimension = this.getDimension(); + result = result * 59 + ($dimension == null ? 43 : $dimension.hashCode()); + Object $worldName = this.getWorldName(); + result = result * 59 + ($worldName == null ? 43 : $worldName.hashCode()); + Object $levelType = this.getLevelType(); + result = result * 59 + ($levelType == null ? 43 : $levelType.hashCode()); + Object $deathLocation = this.getDeathLocation(); + result = result * 59 + ($deathLocation == null ? 43 : $deathLocation.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardDisplay.java b/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardDisplay.java new file mode 100644 index 0000000..cea0a31 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardDisplay.java @@ -0,0 +1,115 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class ScoreboardDisplay extends DefinedPacket { + private int position; + private String name; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 764) { + this.position = readVarInt(buf); + } else { + this.position = buf.readByte(); + } + + this.name = readString(buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 764) { + writeVarInt(this.position, buf); + } else { + buf.writeByte(this.position); + } + + writeString(this.name, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getPosition() { + return this.position; + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public void setPosition(int position) { + this.position = position; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public String toString() { + int var10000 = this.getPosition(); + return "ScoreboardDisplay(position=" + var10000 + ", name=" + this.getName() + ")"; + } + + @Generated + public ScoreboardDisplay() { + } + + @Generated + public ScoreboardDisplay(int position, String name) { + this.position = position; + this.name = name; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ScoreboardDisplay)) { + return false; + } else { + ScoreboardDisplay other = (ScoreboardDisplay)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getPosition() != other.getPosition()) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ScoreboardDisplay; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getPosition(); + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardObjective.java b/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardObjective.java new file mode 100644 index 0000000..d618861 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardObjective.java @@ -0,0 +1,233 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Locale; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.NumberFormat; +import net.md_5.bungee.protocol.util.Either; + +public class ScoreboardObjective extends DefinedPacket { + private String name; + private Either value; + private HealthDisplay type; + private byte action; + private NumberFormat numberFormat; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + this.name = readString(buf); + this.value = readEitherBaseComponent(buf, protocolVersion, true); + this.action = buf.readByte(); + } else { + this.name = readString(buf); + this.action = buf.readByte(); + if (this.action == 0 || this.action == 2) { + if (protocolVersion >= 393) { + this.value = readEitherBaseComponent(buf, protocolVersion, false); + this.type = ScoreboardObjective.HealthDisplay.values()[readVarInt(buf)]; + } else { + this.value = readEitherBaseComponent(buf, protocolVersion, true); + this.type = ScoreboardObjective.HealthDisplay.fromString(readString(buf)); + } + + if (protocolVersion >= 765) { + this.numberFormat = (NumberFormat)readNullable((b) -> readNumberFormat(b, protocolVersion), buf); + } + } + + } + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + writeString(this.name, buf); + writeEitherBaseComponent(this.value, buf, protocolVersion); + buf.writeByte(this.action); + } else { + writeString(this.name, buf); + buf.writeByte(this.action); + if (this.action == 0 || this.action == 2) { + writeEitherBaseComponent(this.value, buf, protocolVersion); + if (protocolVersion >= 393) { + writeVarInt(this.type.ordinal(), buf); + } else { + writeString(this.type.toString(), buf); + } + + if (protocolVersion >= 765) { + writeNullable(this.numberFormat, (s, b) -> DefinedPacket.writeNumberFormat(s, b, protocolVersion), buf); + } + } + + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public Either getValue() { + return this.value; + } + + @Generated + public HealthDisplay getType() { + return this.type; + } + + @Generated + public byte getAction() { + return this.action; + } + + @Generated + public NumberFormat getNumberFormat() { + return this.numberFormat; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setValue(Either value) { + this.value = value; + } + + @Generated + public void setType(HealthDisplay type) { + this.type = type; + } + + @Generated + public void setAction(byte action) { + this.action = action; + } + + @Generated + public void setNumberFormat(NumberFormat numberFormat) { + this.numberFormat = numberFormat; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "ScoreboardObjective(name=" + var10000 + ", value=" + String.valueOf(this.getValue()) + ", type=" + String.valueOf(this.getType()) + ", action=" + this.getAction() + ", numberFormat=" + String.valueOf(this.getNumberFormat()) + ")"; + } + + @Generated + public ScoreboardObjective() { + } + + @Generated + public ScoreboardObjective(String name, Either value, HealthDisplay type, byte action, NumberFormat numberFormat) { + this.name = name; + this.value = value; + this.type = type; + this.action = action; + this.numberFormat = numberFormat; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ScoreboardObjective)) { + return false; + } else { + ScoreboardObjective other = (ScoreboardObjective)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getAction() != other.getAction()) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$value = this.getValue(); + Object other$value = other.getValue(); + if (this$value == null) { + if (other$value != null) { + return false; + } + } else if (!this$value.equals(other$value)) { + return false; + } + + Object this$type = this.getType(); + Object other$type = other.getType(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + Object this$numberFormat = this.getNumberFormat(); + Object other$numberFormat = other.getNumberFormat(); + if (this$numberFormat == null) { + if (other$numberFormat != null) { + return false; + } + } else if (!this$numberFormat.equals(other$numberFormat)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ScoreboardObjective; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getAction(); + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $value = this.getValue(); + result = result * 59 + ($value == null ? 43 : $value.hashCode()); + Object $type = this.getType(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + Object $numberFormat = this.getNumberFormat(); + result = result * 59 + ($numberFormat == null ? 43 : $numberFormat.hashCode()); + return result; + } + + public static enum HealthDisplay { + INTEGER, + HEARTS; + + public String toString() { + return super.toString().toLowerCase(Locale.ROOT); + } + + public static HealthDisplay fromString(String s) { + return valueOf(s.toUpperCase(Locale.ROOT)); + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardScore.java b/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardScore.java new file mode 100644 index 0000000..fa2b9bb --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardScore.java @@ -0,0 +1,242 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.data.NumberFormat; + +public class ScoreboardScore extends DefinedPacket { + private String itemName; + private byte action; + private String scoreName; + private int value; + private BaseComponent displayName; + private NumberFormat numberFormat; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + this.itemName = readString(buf); + this.action = buf.readByte(); + if (this.action != 1) { + this.scoreName = readString(buf); + this.value = buf.readInt(); + } + + } else { + this.itemName = readString(buf); + if (protocolVersion >= 765) { + this.action = 0; + } else { + this.action = buf.readByte(); + } + + this.scoreName = readString(buf); + if (this.action != 1) { + this.value = readVarInt(buf); + } + + if (protocolVersion >= 765) { + this.displayName = (BaseComponent)readNullable((b) -> readBaseComponent(b, protocolVersion), buf); + this.numberFormat = (NumberFormat)readNullable((b) -> readNumberFormat(b, protocolVersion), buf); + } + + } + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (ProtocolConstants.isBeforeOrEq(protocolVersion, 5)) { + writeString(this.itemName, buf); + buf.writeByte(this.action); + if (this.action != 1) { + writeString(this.scoreName, buf); + buf.writeInt(this.value); + } + + } else { + writeString(this.itemName, buf); + if (protocolVersion < 765) { + buf.writeByte(this.action); + } + + writeString(this.scoreName, buf); + if (this.action != 1 || protocolVersion >= 765) { + writeVarInt(this.value, buf); + } + + if (protocolVersion >= 765) { + writeNullable(this.displayName, (s, b) -> DefinedPacket.writeBaseComponent(s, b, protocolVersion), buf); + writeNullable(this.numberFormat, (s, b) -> DefinedPacket.writeNumberFormat(s, b, protocolVersion), buf); + } + + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getItemName() { + return this.itemName; + } + + @Generated + public byte getAction() { + return this.action; + } + + @Generated + public String getScoreName() { + return this.scoreName; + } + + @Generated + public int getValue() { + return this.value; + } + + @Generated + public BaseComponent getDisplayName() { + return this.displayName; + } + + @Generated + public NumberFormat getNumberFormat() { + return this.numberFormat; + } + + @Generated + public void setItemName(String itemName) { + this.itemName = itemName; + } + + @Generated + public void setAction(byte action) { + this.action = action; + } + + @Generated + public void setScoreName(String scoreName) { + this.scoreName = scoreName; + } + + @Generated + public void setValue(int value) { + this.value = value; + } + + @Generated + public void setDisplayName(BaseComponent displayName) { + this.displayName = displayName; + } + + @Generated + public void setNumberFormat(NumberFormat numberFormat) { + this.numberFormat = numberFormat; + } + + @Generated + public String toString() { + String var10000 = this.getItemName(); + return "ScoreboardScore(itemName=" + var10000 + ", action=" + this.getAction() + ", scoreName=" + this.getScoreName() + ", value=" + this.getValue() + ", displayName=" + String.valueOf(this.getDisplayName()) + ", numberFormat=" + String.valueOf(this.getNumberFormat()) + ")"; + } + + @Generated + public ScoreboardScore() { + } + + @Generated + public ScoreboardScore(String itemName, byte action, String scoreName, int value, BaseComponent displayName, NumberFormat numberFormat) { + this.itemName = itemName; + this.action = action; + this.scoreName = scoreName; + this.value = value; + this.displayName = displayName; + this.numberFormat = numberFormat; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ScoreboardScore)) { + return false; + } else { + ScoreboardScore other = (ScoreboardScore)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getAction() != other.getAction()) { + return false; + } else if (this.getValue() != other.getValue()) { + return false; + } else { + Object this$itemName = this.getItemName(); + Object other$itemName = other.getItemName(); + if (this$itemName == null) { + if (other$itemName != null) { + return false; + } + } else if (!this$itemName.equals(other$itemName)) { + return false; + } + + Object this$scoreName = this.getScoreName(); + Object other$scoreName = other.getScoreName(); + if (this$scoreName == null) { + if (other$scoreName != null) { + return false; + } + } else if (!this$scoreName.equals(other$scoreName)) { + return false; + } + + Object this$displayName = this.getDisplayName(); + Object other$displayName = other.getDisplayName(); + if (this$displayName == null) { + if (other$displayName != null) { + return false; + } + } else if (!this$displayName.equals(other$displayName)) { + return false; + } + + Object this$numberFormat = this.getNumberFormat(); + Object other$numberFormat = other.getNumberFormat(); + if (this$numberFormat == null) { + if (other$numberFormat != null) { + return false; + } + } else if (!this$numberFormat.equals(other$numberFormat)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ScoreboardScore; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getAction(); + result = result * 59 + this.getValue(); + Object $itemName = this.getItemName(); + result = result * 59 + ($itemName == null ? 43 : $itemName.hashCode()); + Object $scoreName = this.getScoreName(); + result = result * 59 + ($scoreName == null ? 43 : $scoreName.hashCode()); + Object $displayName = this.getDisplayName(); + result = result * 59 + ($displayName == null ? 43 : $displayName.hashCode()); + Object $numberFormat = this.getNumberFormat(); + result = result * 59 + ($numberFormat == null ? 43 : $numberFormat.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardScoreReset.java b/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardScoreReset.java new file mode 100644 index 0000000..e506e07 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ScoreboardScoreReset.java @@ -0,0 +1,114 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class ScoreboardScoreReset extends DefinedPacket { + private String itemName; + private String scoreName; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.itemName = readString(buf); + this.scoreName = (String)readNullable(DefinedPacket::readString, buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.itemName, buf); + writeNullable(this.scoreName, DefinedPacket::writeString, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getItemName() { + return this.itemName; + } + + @Generated + public String getScoreName() { + return this.scoreName; + } + + @Generated + public void setItemName(String itemName) { + this.itemName = itemName; + } + + @Generated + public void setScoreName(String scoreName) { + this.scoreName = scoreName; + } + + @Generated + public String toString() { + String var10000 = this.getItemName(); + return "ScoreboardScoreReset(itemName=" + var10000 + ", scoreName=" + this.getScoreName() + ")"; + } + + @Generated + public ScoreboardScoreReset() { + } + + @Generated + public ScoreboardScoreReset(String itemName, String scoreName) { + this.itemName = itemName; + this.scoreName = scoreName; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ScoreboardScoreReset)) { + return false; + } else { + ScoreboardScoreReset other = (ScoreboardScoreReset)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$itemName = this.getItemName(); + Object other$itemName = other.getItemName(); + if (this$itemName == null) { + if (other$itemName != null) { + return false; + } + } else if (!this$itemName.equals(other$itemName)) { + return false; + } + + Object this$scoreName = this.getScoreName(); + Object other$scoreName = other.getScoreName(); + if (this$scoreName == null) { + if (other$scoreName != null) { + return false; + } + } else if (!this$scoreName.equals(other$scoreName)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ScoreboardScoreReset; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $itemName = this.getItemName(); + result = result * 59 + ($itemName == null ? 43 : $itemName.hashCode()); + Object $scoreName = this.getScoreName(); + result = result * 59 + ($scoreName == null ? 43 : $scoreName.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ServerData.java b/src/main/java/net/md_5/bungee/protocol/packet/ServerData.java new file mode 100644 index 0000000..3d9912b --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ServerData.java @@ -0,0 +1,194 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class ServerData extends DefinedPacket { + private BaseComponent motd; + private Object icon; + private boolean preview; + private boolean enforceSecure; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 762 || buf.readBoolean()) { + this.motd = readBaseComponent(buf, protocolVersion); + } + + if (buf.readBoolean()) { + if (protocolVersion >= 762) { + this.icon = readArray(buf); + } else { + this.icon = readString(buf); + } + } + + if (protocolVersion < 761) { + this.preview = buf.readBoolean(); + } + + if (protocolVersion >= 760 && protocolVersion < 766) { + this.enforceSecure = buf.readBoolean(); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (this.motd != null) { + if (protocolVersion >= 762) { + buf.writeBoolean(true); + } + + writeBaseComponent(this.motd, buf, protocolVersion); + } else { + if (protocolVersion >= 762) { + throw new IllegalArgumentException("MOTD required for this version"); + } + + buf.writeBoolean(false); + } + + if (this.icon != null) { + buf.writeBoolean(true); + if (protocolVersion >= 762) { + writeArray((byte[])this.icon, buf); + } else { + writeString((String)this.icon, buf); + } + } else { + buf.writeBoolean(false); + } + + if (protocolVersion < 761) { + buf.writeBoolean(this.preview); + } + + if (protocolVersion >= 760 && protocolVersion < 766) { + buf.writeBoolean(this.enforceSecure); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public BaseComponent getMotd() { + return this.motd; + } + + @Generated + public Object getIcon() { + return this.icon; + } + + @Generated + public boolean isPreview() { + return this.preview; + } + + @Generated + public boolean isEnforceSecure() { + return this.enforceSecure; + } + + @Generated + public void setMotd(BaseComponent motd) { + this.motd = motd; + } + + @Generated + public void setIcon(Object icon) { + this.icon = icon; + } + + @Generated + public void setPreview(boolean preview) { + this.preview = preview; + } + + @Generated + public void setEnforceSecure(boolean enforceSecure) { + this.enforceSecure = enforceSecure; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getMotd()); + return "ServerData(motd=" + var10000 + ", icon=" + String.valueOf(this.getIcon()) + ", preview=" + this.isPreview() + ", enforceSecure=" + this.isEnforceSecure() + ")"; + } + + @Generated + public ServerData() { + } + + @Generated + public ServerData(BaseComponent motd, Object icon, boolean preview, boolean enforceSecure) { + this.motd = motd; + this.icon = icon; + this.preview = preview; + this.enforceSecure = enforceSecure; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerData)) { + return false; + } else { + ServerData other = (ServerData)o; + if (!other.canEqual(this)) { + return false; + } else if (this.isPreview() != other.isPreview()) { + return false; + } else if (this.isEnforceSecure() != other.isEnforceSecure()) { + return false; + } else { + Object this$motd = this.getMotd(); + Object other$motd = other.getMotd(); + if (this$motd == null) { + if (other$motd != null) { + return false; + } + } else if (!this$motd.equals(other$motd)) { + return false; + } + + Object this$icon = this.getIcon(); + Object other$icon = other.getIcon(); + if (this$icon == null) { + if (other$icon != null) { + return false; + } + } else if (!this$icon.equals(other$icon)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ServerData; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + (this.isPreview() ? 79 : 97); + result = result * 59 + (this.isEnforceSecure() ? 79 : 97); + Object $motd = this.getMotd(); + result = result * 59 + ($motd == null ? 43 : $motd.hashCode()); + Object $icon = this.getIcon(); + result = result * 59 + ($icon == null ? 43 : $icon.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ServerLinks.java b/src/main/java/net/md_5/bungee/protocol/packet/ServerLinks.java new file mode 100644 index 0000000..35d1d68 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ServerLinks.java @@ -0,0 +1,186 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.util.Either; + +public class ServerLinks extends DefinedPacket { + private Link[] links; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + int len = readVarInt(buf); + this.links = new Link[len]; + + for(int i = 0; i < len; ++i) { + Either type; + if (buf.readBoolean()) { + type = Either.left(readVarInt(buf)); + } else { + type = Either.right(readBaseComponent(buf, protocolVersion)); + } + + String url = readString(buf); + this.links[i] = new Link(type, url); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeVarInt(this.links.length, buf); + + for(Link link : this.links) { + Either type = link.getType(); + if (type.isLeft()) { + buf.writeBoolean(true); + writeVarInt((Integer)type.getLeft(), buf); + } else { + buf.writeBoolean(false); + writeBaseComponent(type.getRight(), buf, protocolVersion); + } + + writeString(link.getUrl(), buf); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public Link[] getLinks() { + return this.links; + } + + @Generated + public void setLinks(Link[] links) { + this.links = links; + } + + @Generated + public String toString() { + return "ServerLinks(links=" + Arrays.deepToString(this.getLinks()) + ")"; + } + + @Generated + public ServerLinks() { + } + + @Generated + public ServerLinks(Link[] links) { + this.links = links; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ServerLinks)) { + return false; + } else { + ServerLinks other = (ServerLinks)o; + if (!other.canEqual(this)) { + return false; + } else { + return Arrays.deepEquals(this.getLinks(), other.getLinks()); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ServerLinks; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + Arrays.deepHashCode(this.getLinks()); + return result; + } + + public static class Link { + private final Either type; + private final String url; + + @Generated + public Link(Either type, String url) { + this.type = type; + this.url = url; + } + + @Generated + public Either getType() { + return this.type; + } + + @Generated + public String getUrl() { + return this.url; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Link)) { + return false; + } else { + Link other = (Link)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$type = this.getType(); + Object other$type = other.getType(); + if (this$type == null) { + if (other$type != null) { + return false; + } + } else if (!this$type.equals(other$type)) { + return false; + } + + Object this$url = this.getUrl(); + Object other$url = other.getUrl(); + if (this$url == null) { + if (other$url != null) { + return false; + } + } else if (!this$url.equals(other$url)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Link; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $type = this.getType(); + result = result * 59 + ($type == null ? 43 : $type.hashCode()); + Object $url = this.getUrl(); + result = result * 59 + ($url == null ? 43 : $url.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getType()); + return "ServerLinks.Link(type=" + var10000 + ", url=" + this.getUrl() + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/SetCompression.java b/src/main/java/net/md_5/bungee/protocol/packet/SetCompression.java new file mode 100644 index 0000000..29314b6 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/SetCompression.java @@ -0,0 +1,76 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class SetCompression extends DefinedPacket { + private int threshold; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.threshold = DefinedPacket.readVarInt(buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + DefinedPacket.writeVarInt(this.threshold, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getThreshold() { + return this.threshold; + } + + @Generated + public void setThreshold(int threshold) { + this.threshold = threshold; + } + + @Generated + public String toString() { + return "SetCompression(threshold=" + this.getThreshold() + ")"; + } + + @Generated + public SetCompression() { + } + + @Generated + public SetCompression(int threshold) { + this.threshold = threshold; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SetCompression)) { + return false; + } else { + SetCompression other = (SetCompression)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getThreshold() == other.getThreshold(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof SetCompression; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getThreshold(); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ShowDialog.java b/src/main/java/net/md_5/bungee/protocol/packet/ShowDialog.java new file mode 100644 index 0000000..a88495f --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ShowDialog.java @@ -0,0 +1,117 @@ +package net.md_5.bungee.protocol.packet; + +import com.google.gson.JsonElement; +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.api.dialog.Dialog; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.ChatSerializer; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.util.Either; +import net.md_5.bungee.protocol.util.TagUtil; + +public class ShowDialog extends DefinedPacket { + protected Either dialog; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + int id = readVarInt(buf); + if (id == 0) { + this.dialog = Either.right(readDialog(buf, direction, protocolVersion)); + } else { + this.dialog = Either.left(id); + } + + } + + protected static Dialog readDialog(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + TypedTag nbt = (TypedTag)readTag(buf, protocolVersion); + JsonElement json = TagUtil.toJson(nbt); + return ChatSerializer.forVersion(protocolVersion).getDialogSerializer().deserialize(json); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (this.dialog.isLeft()) { + writeVarInt((Integer)this.dialog.getLeft(), buf); + } else { + writeVarInt(0, buf); + writeDialog(this.dialog.getRight(), buf, direction, protocolVersion); + } + + } + + protected static void writeDialog(Dialog dialog, ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + JsonElement json = ChatSerializer.forVersion(protocolVersion).getDialogSerializer().toJson(dialog); + TypedTag nbt = TagUtil.fromJson(json); + writeTag(nbt, buf, protocolVersion); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public Either getDialog() { + return this.dialog; + } + + @Generated + public void setDialog(Either dialog) { + this.dialog = dialog; + } + + @Generated + public String toString() { + return "ShowDialog(dialog=" + String.valueOf(this.getDialog()) + ")"; + } + + @Generated + public ShowDialog() { + } + + @Generated + public ShowDialog(Either dialog) { + this.dialog = dialog; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ShowDialog)) { + return false; + } else { + ShowDialog other = (ShowDialog)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$dialog = this.getDialog(); + Object other$dialog = other.getDialog(); + if (this$dialog == null) { + if (other$dialog != null) { + return false; + } + } else if (!this$dialog.equals(other$dialog)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ShowDialog; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $dialog = this.getDialog(); + result = result * 59 + ($dialog == null ? 43 : $dialog.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ShowDialogDirect.java b/src/main/java/net/md_5/bungee/protocol/packet/ShowDialogDirect.java new file mode 100644 index 0000000..b3b96a5 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ShowDialogDirect.java @@ -0,0 +1,62 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.api.dialog.Dialog; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.util.Either; + +public class ShowDialogDirect extends ShowDialog { + public ShowDialogDirect(Dialog dialog) { + super(Either.right(dialog)); + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.dialog = Either.right(readDialog(buf, direction, protocolVersion)); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeDialog(this.dialog.getRight(), buf, direction, protocolVersion); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String toString() { + return "ShowDialogDirect()"; + } + + @Generated + public ShowDialogDirect() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ShowDialogDirect)) { + return false; + } else { + ShowDialogDirect other = (ShowDialogDirect)o; + if (!other.canEqual(this)) { + return false; + } else { + return super.equals(o); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ShowDialogDirect; + } + + @Generated + public int hashCode() { + int result = super.hashCode(); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/StartConfiguration.java b/src/main/java/net/md_5/bungee/protocol/packet/StartConfiguration.java new file mode 100644 index 0000000..d9ea603 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/StartConfiguration.java @@ -0,0 +1,52 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.Protocol; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class StartConfiguration extends DefinedPacket { + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + } + + public Protocol nextProtocol() { + return Protocol.CONFIGURATION; + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String toString() { + return "StartConfiguration()"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof StartConfiguration)) { + return false; + } else { + StartConfiguration other = (StartConfiguration)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof StartConfiguration; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/StatusRequest.java b/src/main/java/net/md_5/bungee/protocol/packet/StatusRequest.java new file mode 100644 index 0000000..5b9b985 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/StatusRequest.java @@ -0,0 +1,51 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class StatusRequest extends DefinedPacket { + public void read(ByteBuf buf) { + } + + public void write(ByteBuf buf) { + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + public int expectedMaxLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + return 0; + } + + @Generated + public String toString() { + return "StatusRequest()"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof StatusRequest)) { + return false; + } else { + StatusRequest other = (StatusRequest)o; + return other.canEqual(this); + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof StatusRequest; + } + + @Generated + public int hashCode() { + int result = 1; + return 1; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/StatusResponse.java b/src/main/java/net/md_5/bungee/protocol/packet/StatusResponse.java new file mode 100644 index 0000000..e712bda --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/StatusResponse.java @@ -0,0 +1,86 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; + +public class StatusResponse extends DefinedPacket { + private String response; + + public void read(ByteBuf buf) { + this.response = readString(buf); + } + + public void write(ByteBuf buf) { + writeString(this.response, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getResponse() { + return this.response; + } + + @Generated + public void setResponse(String response) { + this.response = response; + } + + @Generated + public String toString() { + return "StatusResponse(response=" + this.getResponse() + ")"; + } + + @Generated + public StatusResponse() { + } + + @Generated + public StatusResponse(String response) { + this.response = response; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof StatusResponse)) { + return false; + } else { + StatusResponse other = (StatusResponse)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$response = this.getResponse(); + Object other$response = other.getResponse(); + if (this$response == null) { + if (other$response != null) { + return false; + } + } else if (!this$response.equals(other$response)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof StatusResponse; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $response = this.getResponse(); + result = result * 59 + ($response == null ? 43 : $response.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/StoreCookie.java b/src/main/java/net/md_5/bungee/protocol/packet/StoreCookie.java new file mode 100644 index 0000000..b1cbac0 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/StoreCookie.java @@ -0,0 +1,108 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class StoreCookie extends DefinedPacket { + private String key; + private byte[] data; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.key = readString(buf); + this.data = readArray(buf, 5120); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.key, buf); + writeArray(this.data, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getKey() { + return this.key; + } + + @Generated + public byte[] getData() { + return this.data; + } + + @Generated + public void setKey(String key) { + this.key = key; + } + + @Generated + public void setData(byte[] data) { + this.data = data; + } + + @Generated + public String toString() { + String var10000 = this.getKey(); + return "StoreCookie(key=" + var10000 + ", data=" + Arrays.toString(this.getData()) + ")"; + } + + @Generated + public StoreCookie() { + } + + @Generated + public StoreCookie(String key, byte[] data) { + this.key = key; + this.data = data; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof StoreCookie)) { + return false; + } else { + StoreCookie other = (StoreCookie)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$key = this.getKey(); + Object other$key = other.getKey(); + if (this$key == null) { + if (other$key != null) { + return false; + } + } else if (!this$key.equals(other$key)) { + return false; + } + + if (!Arrays.equals(this.getData(), other.getData())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof StoreCookie; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $key = this.getKey(); + result = result * 59 + ($key == null ? 43 : $key.hashCode()); + result = result * 59 + Arrays.hashCode(this.getData()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Subtitle.java b/src/main/java/net/md_5/bungee/protocol/packet/Subtitle.java new file mode 100644 index 0000000..3a354d7 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Subtitle.java @@ -0,0 +1,79 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class Subtitle extends DefinedPacket { + private BaseComponent text; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.text = readBaseComponent(buf, protocolVersion); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeBaseComponent(this.text, buf, protocolVersion); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public BaseComponent getText() { + return this.text; + } + + @Generated + public void setText(BaseComponent text) { + this.text = text; + } + + @Generated + public String toString() { + return "Subtitle(text=" + String.valueOf(this.getText()) + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Subtitle)) { + return false; + } else { + Subtitle other = (Subtitle)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$text = this.getText(); + Object other$text = other.getText(); + if (this$text == null) { + if (other$text != null) { + return false; + } + } else if (!this$text.equals(other$text)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Subtitle; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $text = this.getText(); + result = result * 59 + ($text == null ? 43 : $text.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/SystemChat.java b/src/main/java/net/md_5/bungee/protocol/packet/SystemChat.java new file mode 100644 index 0000000..cec0a70 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/SystemChat.java @@ -0,0 +1,112 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.api.ChatMessageType; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class SystemChat extends DefinedPacket { + private BaseComponent message; + private int position; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.message = readBaseComponent(buf, 262144, protocolVersion); + this.position = protocolVersion >= 760 ? (buf.readBoolean() ? ChatMessageType.ACTION_BAR.ordinal() : 0) : readVarInt(buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeBaseComponent(this.message, buf, protocolVersion); + if (protocolVersion >= 760) { + buf.writeBoolean(this.position == ChatMessageType.ACTION_BAR.ordinal()); + } else { + writeVarInt(this.position, buf); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public BaseComponent getMessage() { + return this.message; + } + + @Generated + public int getPosition() { + return this.position; + } + + @Generated + public void setMessage(BaseComponent message) { + this.message = message; + } + + @Generated + public void setPosition(int position) { + this.position = position; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getMessage()); + return "SystemChat(message=" + var10000 + ", position=" + this.getPosition() + ")"; + } + + @Generated + public SystemChat() { + } + + @Generated + public SystemChat(BaseComponent message, int position) { + this.message = message; + this.position = position; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof SystemChat)) { + return false; + } else { + SystemChat other = (SystemChat)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getPosition() != other.getPosition()) { + return false; + } else { + Object this$message = this.getMessage(); + Object other$message = other.getMessage(); + if (this$message == null) { + if (other$message != null) { + return false; + } + } else if (!this$message.equals(other$message)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof SystemChat; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getPosition(); + Object $message = this.getMessage(); + result = result * 59 + ($message == null ? 43 : $message.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteRequest.java b/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteRequest.java new file mode 100644 index 0000000..1612bcb --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteRequest.java @@ -0,0 +1,181 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class TabCompleteRequest extends DefinedPacket { + private int transactionId; + private String cursor; + private boolean assumeCommand; + private boolean hasPositon; + private long position; + + public TabCompleteRequest(int transactionId, String cursor) { + this.transactionId = transactionId; + this.cursor = cursor; + } + + public TabCompleteRequest(String cursor, boolean assumeCommand, boolean hasPosition, long position) { + this.cursor = cursor; + this.assumeCommand = assumeCommand; + this.hasPositon = hasPosition; + this.position = position; + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 393) { + this.transactionId = readVarInt(buf); + } + + this.cursor = readString(buf, protocolVersion > 393 ? 32500 : (protocolVersion == 393 ? 256 : 32767)); + if (protocolVersion >= 47 && protocolVersion < 393) { + if (protocolVersion >= 107) { + this.assumeCommand = buf.readBoolean(); + } + + if (this.hasPositon = buf.readBoolean()) { + this.position = buf.readLong(); + } + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 393) { + writeVarInt(this.transactionId, buf); + } + + writeString(this.cursor, buf); + if (protocolVersion >= 47 && protocolVersion < 393) { + if (protocolVersion >= 107) { + buf.writeBoolean(this.assumeCommand); + } + + buf.writeBoolean(this.hasPositon); + if (this.hasPositon) { + buf.writeLong(this.position); + } + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getTransactionId() { + return this.transactionId; + } + + @Generated + public String getCursor() { + return this.cursor; + } + + @Generated + public boolean isAssumeCommand() { + return this.assumeCommand; + } + + @Generated + public boolean isHasPositon() { + return this.hasPositon; + } + + @Generated + public long getPosition() { + return this.position; + } + + @Generated + public void setTransactionId(int transactionId) { + this.transactionId = transactionId; + } + + @Generated + public void setCursor(String cursor) { + this.cursor = cursor; + } + + @Generated + public void setAssumeCommand(boolean assumeCommand) { + this.assumeCommand = assumeCommand; + } + + @Generated + public void setHasPositon(boolean hasPositon) { + this.hasPositon = hasPositon; + } + + @Generated + public void setPosition(long position) { + this.position = position; + } + + @Generated + public String toString() { + int var10000 = this.getTransactionId(); + return "TabCompleteRequest(transactionId=" + var10000 + ", cursor=" + this.getCursor() + ", assumeCommand=" + this.isAssumeCommand() + ", hasPositon=" + this.isHasPositon() + ", position=" + this.getPosition() + ")"; + } + + @Generated + public TabCompleteRequest() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TabCompleteRequest)) { + return false; + } else { + TabCompleteRequest other = (TabCompleteRequest)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getTransactionId() != other.getTransactionId()) { + return false; + } else if (this.isAssumeCommand() != other.isAssumeCommand()) { + return false; + } else if (this.isHasPositon() != other.isHasPositon()) { + return false; + } else if (this.getPosition() != other.getPosition()) { + return false; + } else { + Object this$cursor = this.getCursor(); + Object other$cursor = other.getCursor(); + if (this$cursor == null) { + if (other$cursor != null) { + return false; + } + } else if (!this$cursor.equals(other$cursor)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TabCompleteRequest; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getTransactionId(); + result = result * 59 + (this.isAssumeCommand() ? 79 : 97); + result = result * 59 + (this.isHasPositon() ? 79 : 97); + long $position = this.getPosition(); + result = result * 59 + (int)($position >>> 32 ^ $position); + Object $cursor = this.getCursor(); + result = result * 59 + ($cursor == null ? 43 : $cursor.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteResponse.java b/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteResponse.java new file mode 100644 index 0000000..a7c9a10 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/TabCompleteResponse.java @@ -0,0 +1,233 @@ +package net.md_5.bungee.protocol.packet; + +import com.mojang.brigadier.Message; +import com.mojang.brigadier.context.StringRange; +import com.mojang.brigadier.suggestion.Suggestion; +import com.mojang.brigadier.suggestion.Suggestions; +import io.netty.buffer.ByteBuf; +import java.util.LinkedList; +import java.util.List; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class TabCompleteResponse extends DefinedPacket { + private int transactionId; + private Suggestions suggestions; + private List commands; + + public TabCompleteResponse(int transactionId, Suggestions suggestions) { + this.transactionId = transactionId; + this.suggestions = suggestions; + } + + public TabCompleteResponse(List commands) { + this.commands = commands; + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 393) { + this.transactionId = readVarInt(buf); + int start = readVarInt(buf); + int length = readVarInt(buf); + StringRange range = StringRange.between(start, start + length); + int cnt = readVarInt(buf); + List matches = new LinkedList(); + + for(int i = 0; i < cnt; ++i) { + String match = readString(buf); + BaseComponent tooltip = buf.readBoolean() ? readBaseComponent(buf, protocolVersion) : null; + matches.add(new Suggestion(range, match, tooltip != null ? new ComponentMessage(tooltip) : null)); + } + + this.suggestions = new Suggestions(range, matches); + } else { + this.commands = readStringArray(buf); + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 393) { + writeVarInt(this.transactionId, buf); + writeVarInt(this.suggestions.getRange().getStart(), buf); + writeVarInt(this.suggestions.getRange().getLength(), buf); + writeVarInt(this.suggestions.getList().size(), buf); + + for(Suggestion suggestion : this.suggestions.getList()) { + writeString(suggestion.getText(), buf); + buf.writeBoolean(suggestion.getTooltip() != null); + if (suggestion.getTooltip() != null) { + writeBaseComponent(((ComponentMessage)suggestion.getTooltip()).getComponent(), buf, protocolVersion); + } + } + } else { + writeStringArray(this.commands, buf); + } + + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getTransactionId() { + return this.transactionId; + } + + @Generated + public Suggestions getSuggestions() { + return this.suggestions; + } + + @Generated + public List getCommands() { + return this.commands; + } + + @Generated + public void setTransactionId(int transactionId) { + this.transactionId = transactionId; + } + + @Generated + public void setSuggestions(Suggestions suggestions) { + this.suggestions = suggestions; + } + + @Generated + public void setCommands(List commands) { + this.commands = commands; + } + + @Generated + public String toString() { + int var10000 = this.getTransactionId(); + return "TabCompleteResponse(transactionId=" + var10000 + ", suggestions=" + String.valueOf(this.getSuggestions()) + ", commands=" + String.valueOf(this.getCommands()) + ")"; + } + + @Generated + public TabCompleteResponse() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TabCompleteResponse)) { + return false; + } else { + TabCompleteResponse other = (TabCompleteResponse)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getTransactionId() != other.getTransactionId()) { + return false; + } else { + Object this$suggestions = this.getSuggestions(); + Object other$suggestions = other.getSuggestions(); + if (this$suggestions == null) { + if (other$suggestions != null) { + return false; + } + } else if (!this$suggestions.equals(other$suggestions)) { + return false; + } + + Object this$commands = this.getCommands(); + Object other$commands = other.getCommands(); + if (this$commands == null) { + if (other$commands != null) { + return false; + } + } else if (!this$commands.equals(other$commands)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TabCompleteResponse; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getTransactionId(); + Object $suggestions = this.getSuggestions(); + result = result * 59 + ($suggestions == null ? 43 : $suggestions.hashCode()); + Object $commands = this.getCommands(); + result = result * 59 + ($commands == null ? 43 : $commands.hashCode()); + return result; + } + + private static class ComponentMessage implements Message { + private final BaseComponent component; + + public String getString() { + return this.component.toPlainText(); + } + + @Generated + public ComponentMessage(BaseComponent component) { + this.component = component; + } + + @Generated + public BaseComponent getComponent() { + return this.component; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ComponentMessage)) { + return false; + } else { + ComponentMessage other = (ComponentMessage)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$component = this.getComponent(); + Object other$component = other.getComponent(); + if (this$component == null) { + if (other$component != null) { + return false; + } + } else if (!this$component.equals(other$component)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ComponentMessage; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $component = this.getComponent(); + result = result * 59 + ($component == null ? 43 : $component.hashCode()); + return result; + } + + @Generated + public String toString() { + return "TabCompleteResponse.ComponentMessage(component=" + String.valueOf(this.getComponent()) + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Team.java b/src/main/java/net/md_5/bungee/protocol/packet/Team.java new file mode 100644 index 0000000..3edba2d --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Team.java @@ -0,0 +1,449 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import java.util.Arrays; +import java.util.Optional; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; +import net.md_5.bungee.protocol.util.Either; + +public class Team extends DefinedPacket { + private String name; + private byte mode; + private Either displayName; + private Either prefix; + private Either suffix; + private Either nameTagVisibility; + private Either collisionRule; + private Optional color; + private byte friendlyFire; + private String[] players; + + public Team(String name) { + this.name = name; + this.mode = 1; + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.name = readString(buf); + this.mode = buf.readByte(); + if (this.mode == 0 || this.mode == 2) { + if (protocolVersion >= 776) { + this.displayName = readEitherBaseComponent(buf, protocolVersion, false); + this.prefix = readEitherBaseComponent(buf, protocolVersion, false); + this.suffix = readEitherBaseComponent(buf, protocolVersion, false); + this.nameTagVisibility = Either.right(Team.NameTagVisibility.BY_ID[readVarInt(buf)]); + this.collisionRule = Either.right(Team.CollisionRule.BY_ID[readVarInt(buf)]); + this.color = readOptional(DefinedPacket::readVarInt, buf); + this.friendlyFire = buf.readByte(); + } else { + if (protocolVersion < 393) { + this.displayName = readEitherBaseComponent(buf, protocolVersion, true); + this.prefix = readEitherBaseComponent(buf, protocolVersion, true); + this.suffix = readEitherBaseComponent(buf, protocolVersion, true); + } else { + this.displayName = readEitherBaseComponent(buf, protocolVersion, false); + } + + this.friendlyFire = buf.readByte(); + if (protocolVersion >= 770) { + this.nameTagVisibility = Either.right(Team.NameTagVisibility.BY_ID[readVarInt(buf)]); + this.collisionRule = Either.right(Team.CollisionRule.BY_ID[readVarInt(buf)]); + } else { + if (protocolVersion >= 47) { + this.nameTagVisibility = Either.left(readString(buf)); + } + + if (protocolVersion >= 107) { + this.collisionRule = Either.left(readString(buf)); + } + } + + if (protocolVersion >= 47) { + this.color = Optional.of(protocolVersion >= 393 ? readVarInt(buf) : buf.readByte()); + } else { + this.color = Optional.empty(); + } + + if (protocolVersion >= 393) { + this.prefix = readEitherBaseComponent(buf, protocolVersion, false); + this.suffix = readEitherBaseComponent(buf, protocolVersion, false); + } + } + } + + if (this.mode == 0 || this.mode == 3 || this.mode == 4) { + int len = protocolVersion >= 47 ? readVarInt(buf) : buf.readShort(); + this.players = new String[len]; + + for(int i = 0; i < len; ++i) { + this.players[i] = readString(buf); + } + } + + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion <= 5) { + writeString(this.name, buf); + buf.writeByte(this.mode); + if (this.mode == 0 || this.mode == 2) { + writeEitherBaseComponent(this.displayName, buf, protocolVersion); + writeEitherBaseComponent(this.prefix, buf, protocolVersion); + writeEitherBaseComponent(this.suffix, buf, protocolVersion); + buf.writeByte(this.friendlyFire); + } + + if (this.mode == 0 || this.mode == 3 || this.mode == 4) { + buf.writeShort(this.players.length); + + for(String player : this.players) { + writeString(player, buf); + } + } + + } else { + writeString(this.name, buf); + buf.writeByte(this.mode); + if (this.mode == 0 || this.mode == 2) { + if (protocolVersion >= 776) { + writeEitherBaseComponent(this.displayName, buf, protocolVersion); + writeEitherBaseComponent(this.prefix, buf, protocolVersion); + writeEitherBaseComponent(this.suffix, buf, protocolVersion); + writeVarInt(((NameTagVisibility)this.nameTagVisibility.getRight()).ordinal(), buf); + writeVarInt(((CollisionRule)this.collisionRule.getRight()).ordinal(), buf); + writeOptional(this.color, DefinedPacket::writeVarInt, buf); + buf.writeByte(this.friendlyFire); + } else { + writeEitherBaseComponent(this.displayName, buf, protocolVersion); + if (protocolVersion < 393) { + writeEitherBaseComponent(this.prefix, buf, protocolVersion); + writeEitherBaseComponent(this.suffix, buf, protocolVersion); + } + + buf.writeByte(this.friendlyFire); + if (protocolVersion >= 770) { + writeVarInt(((NameTagVisibility)this.nameTagVisibility.getRight()).ordinal(), buf); + writeVarInt(((CollisionRule)this.collisionRule.getRight()).ordinal(), buf); + } else { + writeString(this.nameTagVisibility.getLeft(), buf); + if (protocolVersion >= 107) { + writeString(this.collisionRule.getLeft(), buf); + } + } + + if (protocolVersion >= 393) { + writeVarInt((Integer)this.color.get(), buf); + writeEitherBaseComponent(this.prefix, buf, protocolVersion); + writeEitherBaseComponent(this.suffix, buf, protocolVersion); + } else { + buf.writeByte((Integer)this.color.get()); + } + } + } + + if (this.mode == 0 || this.mode == 3 || this.mode == 4) { + writeVarInt(this.players.length, buf); + + for(String player : this.players) { + writeString(player, buf); + } + } + + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getName() { + return this.name; + } + + @Generated + public byte getMode() { + return this.mode; + } + + @Generated + public Either getDisplayName() { + return this.displayName; + } + + @Generated + public Either getPrefix() { + return this.prefix; + } + + @Generated + public Either getSuffix() { + return this.suffix; + } + + @Generated + public Either getNameTagVisibility() { + return this.nameTagVisibility; + } + + @Generated + public Either getCollisionRule() { + return this.collisionRule; + } + + @Generated + public Optional getColor() { + return this.color; + } + + @Generated + public byte getFriendlyFire() { + return this.friendlyFire; + } + + @Generated + public String[] getPlayers() { + return this.players; + } + + @Generated + public void setName(String name) { + this.name = name; + } + + @Generated + public void setMode(byte mode) { + this.mode = mode; + } + + @Generated + public void setDisplayName(Either displayName) { + this.displayName = displayName; + } + + @Generated + public void setPrefix(Either prefix) { + this.prefix = prefix; + } + + @Generated + public void setSuffix(Either suffix) { + this.suffix = suffix; + } + + @Generated + public void setNameTagVisibility(Either nameTagVisibility) { + this.nameTagVisibility = nameTagVisibility; + } + + @Generated + public void setCollisionRule(Either collisionRule) { + this.collisionRule = collisionRule; + } + + @Generated + public void setColor(Optional color) { + this.color = color; + } + + @Generated + public void setFriendlyFire(byte friendlyFire) { + this.friendlyFire = friendlyFire; + } + + @Generated + public void setPlayers(String[] players) { + this.players = players; + } + + @Generated + public String toString() { + String var10000 = this.getName(); + return "Team(name=" + var10000 + ", mode=" + this.getMode() + ", displayName=" + String.valueOf(this.getDisplayName()) + ", prefix=" + String.valueOf(this.getPrefix()) + ", suffix=" + String.valueOf(this.getSuffix()) + ", nameTagVisibility=" + String.valueOf(this.getNameTagVisibility()) + ", collisionRule=" + String.valueOf(this.getCollisionRule()) + ", color=" + String.valueOf(this.getColor()) + ", friendlyFire=" + this.getFriendlyFire() + ", players=" + Arrays.deepToString(this.getPlayers()) + ")"; + } + + @Generated + public Team() { + } + + @Generated + public Team(String name, byte mode, Either displayName, Either prefix, Either suffix, Either nameTagVisibility, Either collisionRule, Optional color, byte friendlyFire, String[] players) { + this.name = name; + this.mode = mode; + this.displayName = displayName; + this.prefix = prefix; + this.suffix = suffix; + this.nameTagVisibility = nameTagVisibility; + this.collisionRule = collisionRule; + this.color = color; + this.friendlyFire = friendlyFire; + this.players = players; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Team)) { + return false; + } else { + Team other = (Team)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getMode() != other.getMode()) { + return false; + } else if (this.getFriendlyFire() != other.getFriendlyFire()) { + return false; + } else { + Object this$name = this.getName(); + Object other$name = other.getName(); + if (this$name == null) { + if (other$name != null) { + return false; + } + } else if (!this$name.equals(other$name)) { + return false; + } + + Object this$displayName = this.getDisplayName(); + Object other$displayName = other.getDisplayName(); + if (this$displayName == null) { + if (other$displayName != null) { + return false; + } + } else if (!this$displayName.equals(other$displayName)) { + return false; + } + + Object this$prefix = this.getPrefix(); + Object other$prefix = other.getPrefix(); + if (this$prefix == null) { + if (other$prefix != null) { + return false; + } + } else if (!this$prefix.equals(other$prefix)) { + return false; + } + + Object this$suffix = this.getSuffix(); + Object other$suffix = other.getSuffix(); + if (this$suffix == null) { + if (other$suffix != null) { + return false; + } + } else if (!this$suffix.equals(other$suffix)) { + return false; + } + + Object this$nameTagVisibility = this.getNameTagVisibility(); + Object other$nameTagVisibility = other.getNameTagVisibility(); + if (this$nameTagVisibility == null) { + if (other$nameTagVisibility != null) { + return false; + } + } else if (!this$nameTagVisibility.equals(other$nameTagVisibility)) { + return false; + } + + Object this$collisionRule = this.getCollisionRule(); + Object other$collisionRule = other.getCollisionRule(); + if (this$collisionRule == null) { + if (other$collisionRule != null) { + return false; + } + } else if (!this$collisionRule.equals(other$collisionRule)) { + return false; + } + + Object this$color = this.getColor(); + Object other$color = other.getColor(); + if (this$color == null) { + if (other$color != null) { + return false; + } + } else if (!this$color.equals(other$color)) { + return false; + } + + if (!Arrays.deepEquals(this.getPlayers(), other.getPlayers())) { + return false; + } else { + return true; + } + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Team; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getMode(); + result = result * 59 + this.getFriendlyFire(); + Object $name = this.getName(); + result = result * 59 + ($name == null ? 43 : $name.hashCode()); + Object $displayName = this.getDisplayName(); + result = result * 59 + ($displayName == null ? 43 : $displayName.hashCode()); + Object $prefix = this.getPrefix(); + result = result * 59 + ($prefix == null ? 43 : $prefix.hashCode()); + Object $suffix = this.getSuffix(); + result = result * 59 + ($suffix == null ? 43 : $suffix.hashCode()); + Object $nameTagVisibility = this.getNameTagVisibility(); + result = result * 59 + ($nameTagVisibility == null ? 43 : $nameTagVisibility.hashCode()); + Object $collisionRule = this.getCollisionRule(); + result = result * 59 + ($collisionRule == null ? 43 : $collisionRule.hashCode()); + Object $color = this.getColor(); + result = result * 59 + ($color == null ? 43 : $color.hashCode()); + result = result * 59 + Arrays.deepHashCode(this.getPlayers()); + return result; + } + + public static enum NameTagVisibility { + ALWAYS("always"), + NEVER("never"), + HIDE_FOR_OTHER_TEAMS("hideForOtherTeams"), + HIDE_FOR_OWN_TEAM("hideForOwnTeam"); + + private final String key; + private static final NameTagVisibility[] BY_ID = values(); + + @Generated + public String getKey() { + return this.key; + } + + @Generated + private NameTagVisibility(final String key) { + this.key = key; + } + } + + public static enum CollisionRule { + ALWAYS("always"), + NEVER("never"), + PUSH_OTHER_TEAMS("pushOtherTeams"), + PUSH_OWN_TEAM("pushOwnTeam"); + + private final String key; + private static final CollisionRule[] BY_ID = values(); + + @Generated + public String getKey() { + return this.key; + } + + @Generated + private CollisionRule(final String key) { + this.key = key; + } + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Title.java b/src/main/java/net/md_5/bungee/protocol/packet/Title.java new file mode 100644 index 0000000..3adee3a --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Title.java @@ -0,0 +1,204 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class Title extends DefinedPacket { + private Action action; + private BaseComponent text; + private int fadeIn; + private int stay; + private int fadeOut; + + public Title(Action action) { + this.action = action; + } + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 755) { + this.text = readBaseComponent(buf, protocolVersion); + } else { + int index = readVarInt(buf); + if (protocolVersion <= 210 && index >= 2) { + ++index; + } + + this.action = Title.Action.values()[index]; + switch (this.action.ordinal()) { + case 0: + case 1: + case 2: + this.text = readBaseComponent(buf, protocolVersion); + break; + case 3: + this.fadeIn = buf.readInt(); + this.stay = buf.readInt(); + this.fadeOut = buf.readInt(); + } + + } + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + if (protocolVersion >= 755) { + writeBaseComponent(this.text, buf, protocolVersion); + } else { + int index = this.action.ordinal(); + if (protocolVersion <= 210 && index >= 2) { + --index; + } + + writeVarInt(index, buf); + switch (this.action.ordinal()) { + case 0: + case 1: + case 2: + writeBaseComponent(this.text, buf, protocolVersion); + break; + case 3: + buf.writeInt(this.fadeIn); + buf.writeInt(this.stay); + buf.writeInt(this.fadeOut); + } + + } + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public Action getAction() { + return this.action; + } + + @Generated + public BaseComponent getText() { + return this.text; + } + + @Generated + public int getFadeIn() { + return this.fadeIn; + } + + @Generated + public int getStay() { + return this.stay; + } + + @Generated + public int getFadeOut() { + return this.fadeOut; + } + + @Generated + public void setAction(Action action) { + this.action = action; + } + + @Generated + public void setText(BaseComponent text) { + this.text = text; + } + + @Generated + public void setFadeIn(int fadeIn) { + this.fadeIn = fadeIn; + } + + @Generated + public void setStay(int stay) { + this.stay = stay; + } + + @Generated + public void setFadeOut(int fadeOut) { + this.fadeOut = fadeOut; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getAction()); + return "Title(action=" + var10000 + ", text=" + String.valueOf(this.getText()) + ", fadeIn=" + this.getFadeIn() + ", stay=" + this.getStay() + ", fadeOut=" + this.getFadeOut() + ")"; + } + + @Generated + public Title() { + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Title)) { + return false; + } else { + Title other = (Title)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getFadeIn() != other.getFadeIn()) { + return false; + } else if (this.getStay() != other.getStay()) { + return false; + } else if (this.getFadeOut() != other.getFadeOut()) { + return false; + } else { + Object this$action = this.getAction(); + Object other$action = other.getAction(); + if (this$action == null) { + if (other$action != null) { + return false; + } + } else if (!this$action.equals(other$action)) { + return false; + } + + Object this$text = this.getText(); + Object other$text = other.getText(); + if (this$text == null) { + if (other$text != null) { + return false; + } + } else if (!this$text.equals(other$text)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Title; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getFadeIn(); + result = result * 59 + this.getStay(); + result = result * 59 + this.getFadeOut(); + Object $action = this.getAction(); + result = result * 59 + ($action == null ? 43 : $action.hashCode()); + Object $text = this.getText(); + result = result * 59 + ($text == null ? 43 : $text.hashCode()); + return result; + } + + public static enum Action { + TITLE, + SUBTITLE, + ACTIONBAR, + TIMES, + CLEAR, + RESET; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/TitleTimes.java b/src/main/java/net/md_5/bungee/protocol/packet/TitleTimes.java new file mode 100644 index 0000000..cd99f5c --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/TitleTimes.java @@ -0,0 +1,100 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class TitleTimes extends DefinedPacket { + private int fadeIn; + private int stay; + private int fadeOut; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.fadeIn = buf.readInt(); + this.stay = buf.readInt(); + this.fadeOut = buf.readInt(); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + buf.writeInt(this.fadeIn); + buf.writeInt(this.stay); + buf.writeInt(this.fadeOut); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getFadeIn() { + return this.fadeIn; + } + + @Generated + public int getStay() { + return this.stay; + } + + @Generated + public int getFadeOut() { + return this.fadeOut; + } + + @Generated + public void setFadeIn(int fadeIn) { + this.fadeIn = fadeIn; + } + + @Generated + public void setStay(int stay) { + this.stay = stay; + } + + @Generated + public void setFadeOut(int fadeOut) { + this.fadeOut = fadeOut; + } + + @Generated + public String toString() { + int var10000 = this.getFadeIn(); + return "TitleTimes(fadeIn=" + var10000 + ", stay=" + this.getStay() + ", fadeOut=" + this.getFadeOut() + ")"; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof TitleTimes)) { + return false; + } else { + TitleTimes other = (TitleTimes)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getFadeIn() != other.getFadeIn()) { + return false; + } else if (this.getStay() != other.getStay()) { + return false; + } else { + return this.getFadeOut() == other.getFadeOut(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof TitleTimes; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getFadeIn(); + result = result * 59 + this.getStay(); + result = result * 59 + this.getFadeOut(); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/Transfer.java b/src/main/java/net/md_5/bungee/protocol/packet/Transfer.java new file mode 100644 index 0000000..91974ad --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/Transfer.java @@ -0,0 +1,105 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class Transfer extends DefinedPacket { + private String host; + private int port; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.host = readString(buf); + this.port = readVarInt(buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.host, buf); + writeVarInt(this.port, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getHost() { + return this.host; + } + + @Generated + public int getPort() { + return this.port; + } + + @Generated + public void setHost(String host) { + this.host = host; + } + + @Generated + public void setPort(int port) { + this.port = port; + } + + @Generated + public String toString() { + String var10000 = this.getHost(); + return "Transfer(host=" + var10000 + ", port=" + this.getPort() + ")"; + } + + @Generated + public Transfer() { + } + + @Generated + public Transfer(String host, int port) { + this.host = host; + this.port = port; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Transfer)) { + return false; + } else { + Transfer other = (Transfer)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getPort() != other.getPort()) { + return false; + } else { + Object this$host = this.getHost(); + Object other$host = other.getHost(); + if (this$host == null) { + if (other$host != null) { + return false; + } + } else if (!this$host.equals(other$host)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof Transfer; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getPort(); + Object $host = this.getHost(); + result = result * 59 + ($host == null ? 43 : $host.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/UnsignedClientCommand.java b/src/main/java/net/md_5/bungee/protocol/packet/UnsignedClientCommand.java new file mode 100644 index 0000000..8f3f5bd --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/UnsignedClientCommand.java @@ -0,0 +1,87 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; +import net.md_5.bungee.protocol.ProtocolConstants; + +public class UnsignedClientCommand extends DefinedPacket { + private String command; + + public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + this.command = readString(buf); + } + + public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { + writeString(this.command, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public String getCommand() { + return this.command; + } + + @Generated + public void setCommand(String command) { + this.command = command; + } + + @Generated + public String toString() { + return "UnsignedClientCommand(command=" + this.getCommand() + ")"; + } + + @Generated + public UnsignedClientCommand() { + } + + @Generated + public UnsignedClientCommand(String command) { + this.command = command; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof UnsignedClientCommand)) { + return false; + } else { + UnsignedClientCommand other = (UnsignedClientCommand)o; + if (!other.canEqual(this)) { + return false; + } else { + Object this$command = this.getCommand(); + Object other$command = other.getCommand(); + if (this$command == null) { + if (other$command != null) { + return false; + } + } else if (!this$command.equals(other$command)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof UnsignedClientCommand; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $command = this.getCommand(); + result = result * 59 + ($command == null ? 43 : $command.hashCode()); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/packet/ViewDistance.java b/src/main/java/net/md_5/bungee/protocol/packet/ViewDistance.java new file mode 100644 index 0000000..502d64e --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/packet/ViewDistance.java @@ -0,0 +1,75 @@ +package net.md_5.bungee.protocol.packet; + +import io.netty.buffer.ByteBuf; +import lombok.Generated; +import net.md_5.bungee.protocol.AbstractPacketHandler; +import net.md_5.bungee.protocol.DefinedPacket; + +public class ViewDistance extends DefinedPacket { + private int distance; + + public void read(ByteBuf buf) { + this.distance = DefinedPacket.readVarInt(buf); + } + + public void write(ByteBuf buf) { + DefinedPacket.writeVarInt(this.distance, buf); + } + + public void handle(AbstractPacketHandler handler) throws Exception { + handler.handle(this); + } + + @Generated + public int getDistance() { + return this.distance; + } + + @Generated + public void setDistance(int distance) { + this.distance = distance; + } + + @Generated + public String toString() { + return "ViewDistance(distance=" + this.getDistance() + ")"; + } + + @Generated + public ViewDistance() { + } + + @Generated + public ViewDistance(int distance) { + this.distance = distance; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof ViewDistance)) { + return false; + } else { + ViewDistance other = (ViewDistance)o; + if (!other.canEqual(this)) { + return false; + } else { + return this.getDistance() == other.getDistance(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof ViewDistance; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getDistance(); + return result; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/util/Either.java b/src/main/java/net/md_5/bungee/protocol/util/Either.java new file mode 100644 index 0000000..b723405 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/util/Either.java @@ -0,0 +1,98 @@ +package net.md_5.bungee.protocol.util; + +import java.util.function.Function; +import lombok.Generated; + +public final class Either { + private final L left; + private final R right; + + public boolean isLeft() { + return this.left != null; + } + + public boolean isRight() { + return this.right != null; + } + + public static Either left(L left) { + return new Either<>(left, null); + } + + public static Either right(R right) { + return new Either<>(null, right); + } + + public L getLeftOrCompute(Function function) { + return (L)(this.isLeft() ? this.left : function.apply(this.right)); + } + + public R getRightOrCompute(Function function) { + return (R)(this.isRight() ? this.right : function.apply(this.left)); + } + + @Generated + public L getLeft() { + return this.left; + } + + @Generated + public R getRight() { + return this.right; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof Either)) { + return false; + } else { + Either other = (Either)o; + Object this$left = this.getLeft(); + Object other$left = other.getLeft(); + if (this$left == null) { + if (other$left != null) { + return false; + } + } else if (!this$left.equals(other$left)) { + return false; + } + + Object this$right = this.getRight(); + Object other$right = other.getRight(); + if (this$right == null) { + if (other$right != null) { + return false; + } + } else if (!this$right.equals(other$right)) { + return false; + } + + return true; + } + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + Object $left = this.getLeft(); + result = result * 59 + ($left == null ? 43 : $left.hashCode()); + Object $right = this.getRight(); + result = result * 59 + ($right == null ? 43 : $right.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getLeft()); + return "Either(left=" + var10000 + ", right=" + String.valueOf(this.getRight()) + ")"; + } + + @Generated + private Either(L left, R right) { + this.left = left; + this.right = right; + } +} diff --git a/src/main/java/net/md_5/bungee/protocol/util/TagUtil.java b/src/main/java/net/md_5/bungee/protocol/util/TagUtil.java new file mode 100644 index 0000000..d6acd13 --- /dev/null +++ b/src/main/java/net/md_5/bungee/protocol/util/TagUtil.java @@ -0,0 +1,308 @@ +package net.md_5.bungee.protocol.util; + +import com.google.gson.JsonArray; +import com.google.gson.JsonElement; +import com.google.gson.JsonNull; +import com.google.gson.JsonObject; +import com.google.gson.JsonPrimitive; +import java.util.ArrayList; +import java.util.Collections; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import lombok.Generated; +import net.md_5.bungee.nbt.TypedTag; +import net.md_5.bungee.nbt.type.ByteArrayTag; +import net.md_5.bungee.nbt.type.ByteTag; +import net.md_5.bungee.nbt.type.CompoundTag; +import net.md_5.bungee.nbt.type.DoubleTag; +import net.md_5.bungee.nbt.type.EndTag; +import net.md_5.bungee.nbt.type.FloatTag; +import net.md_5.bungee.nbt.type.IntArrayTag; +import net.md_5.bungee.nbt.type.IntTag; +import net.md_5.bungee.nbt.type.ListTag; +import net.md_5.bungee.nbt.type.LongArrayTag; +import net.md_5.bungee.nbt.type.LongTag; +import net.md_5.bungee.nbt.type.ShortTag; +import net.md_5.bungee.nbt.type.StringTag; + +public final class TagUtil { + private static byte nbtTypeOfJson(JsonElement json) { + if (json instanceof JsonPrimitive jsonPrimitive) { + if (jsonPrimitive.isNumber()) { + Number number = json.getAsNumber(); + if (number instanceof Byte) { + return 1; + } + + if (number instanceof Short) { + return 2; + } + + if (number instanceof Integer) { + return 3; + } + + if (number instanceof Long) { + return 4; + } + + if (number instanceof Float) { + return 5; + } + + if (number instanceof Double) { + return 6; + } + } else { + if (jsonPrimitive.isString()) { + return 8; + } + + if (jsonPrimitive.isBoolean()) { + return 1; + } + } + + throw new IllegalArgumentException("Unknown JSON primitive: " + String.valueOf(jsonPrimitive)); + } else if (json instanceof JsonObject) { + return 10; + } else if (!(json instanceof JsonArray)) { + if (json instanceof JsonNull) { + return 0; + } else { + throw new IllegalArgumentException("Unknown JSON element: " + String.valueOf(json)); + } + } else { + JsonArray array = json.getAsJsonArray(); + Byte listType = null; + + for(JsonElement jsonEl : array) { + byte type = nbtTypeOfJson(jsonEl); + if (listType == null) { + listType = type; + } else if (listType != type) { + listType = 10; + break; + } + } + + if (listType == null) { + return 9; + } else { + switch (listType) { + case 1: + return 7; + case 2: + default: + return 9; + case 3: + return 11; + case 4: + return 12; + } + } + } + } + + public static TypedTag fromJson(JsonElement json) { + if (json instanceof JsonPrimitive jsonPrimitive) { + if (jsonPrimitive.isNumber()) { + Number number = json.getAsNumber(); + if (number instanceof Byte) { + return new ByteTag((Byte)number); + } + + if (number instanceof Short) { + return new ShortTag((Short)number); + } + + if (number instanceof Integer) { + return new IntTag((Integer)number); + } + + if (number instanceof Long) { + return new LongTag((Long)number); + } + + if (number instanceof Float) { + return new FloatTag((Float)number); + } + + if (number instanceof Double) { + return new DoubleTag((Double)number); + } + } else { + if (jsonPrimitive.isString()) { + return new StringTag(jsonPrimitive.getAsString()); + } + + if (jsonPrimitive.isBoolean()) { + return new ByteTag((byte)(jsonPrimitive.getAsBoolean() ? 1 : 0)); + } + } + + throw new IllegalArgumentException("Unknown JSON primitive: " + String.valueOf(jsonPrimitive)); + } else if (json instanceof JsonObject) { + CompoundTag compoundTag = new CompoundTag(new LinkedHashMap()); + + for(Map.Entry property : ((JsonObject)json).entrySet()) { + compoundTag.getValue().put((String)property.getKey(), fromJson((JsonElement)property.getValue())); + } + + return compoundTag; + } else if (!(json instanceof JsonArray)) { + if (json instanceof JsonNull) { + return EndTag.INSTANCE; + } else { + throw new IllegalArgumentException("Unknown JSON element: " + String.valueOf(json)); + } + } else { + List jsonArray = ((JsonArray)json).asList(); + Byte listType = null; + + for(JsonElement jsonEl : jsonArray) { + byte type = nbtTypeOfJson(jsonEl); + if (listType == null) { + listType = type; + } else if (listType != type) { + listType = 10; + break; + } + } + + if (listType != null && listType != 0) { + TypedTag listTag; + switch (listType) { + case 1: + byte[] bytes = new byte[jsonArray.size()]; + + for(int i = 0; i < bytes.length; ++i) { + bytes[i] = (Byte)((JsonElement)jsonArray.get(i)).getAsNumber(); + } + + listTag = new ByteArrayTag(bytes); + break; + case 2: + default: + List tagItems = new ArrayList(jsonArray.size()); + + for(JsonElement jsonEl : jsonArray) { + TypedTag subTag = fromJson(jsonEl); + if (listType == 10 && !(subTag instanceof CompoundTag)) { + CompoundTag wrapper = new CompoundTag(new LinkedHashMap()); + wrapper.getValue().put("", subTag); + subTag = wrapper; + } + + tagItems.add(subTag); + } + + listTag = new ListTag(tagItems, listType); + break; + case 3: + int[] ints = new int[jsonArray.size()]; + + for(int i = 0; i < ints.length; ++i) { + ints[i] = (Integer)((JsonElement)jsonArray.get(i)).getAsNumber(); + } + + listTag = new IntArrayTag(ints); + break; + case 4: + long[] longs = new long[jsonArray.size()]; + + for(int i = 0; i < longs.length; ++i) { + longs[i] = (Long)((JsonElement)jsonArray.get(i)).getAsNumber(); + } + + listTag = new LongArrayTag(longs); + } + + return listTag; + } else if (!jsonArray.isEmpty()) { + throw new IllegalArgumentException("Invalid end tag in json array: " + String.valueOf(json)); + } else { + return new ListTag(Collections.emptyList(), (byte)0); + } + } + } + + public static JsonElement toJson(TypedTag tag) { + switch (tag.getId()) { + case 0: + return JsonNull.INSTANCE; + case 1: + return new JsonPrimitive(((ByteTag)tag).getValue()); + case 2: + return new JsonPrimitive(((ShortTag)tag).getValue()); + case 3: + return new JsonPrimitive(((IntTag)tag).getValue()); + case 4: + return new JsonPrimitive(((LongTag)tag).getValue()); + case 5: + return new JsonPrimitive(((FloatTag)tag).getValue()); + case 6: + return new JsonPrimitive(((DoubleTag)tag).getValue()); + case 7: + byte[] byteArray = ((ByteArrayTag)tag).getValue(); + JsonArray jsonByteArray = new JsonArray(byteArray.length); + + for(byte b : byteArray) { + jsonByteArray.add(new JsonPrimitive(b)); + } + + return jsonByteArray; + case 8: + return new JsonPrimitive(((StringTag)tag).getValue()); + case 9: + List items = ((ListTag)tag).getValue(); + JsonArray jsonList = new JsonArray(items.size()); + + for(TypedTag subTag : items) { + if (subTag instanceof CompoundTag compound) { + if (compound.getValue().size() == 1) { + TypedTag first = (TypedTag)compound.getValue().get(""); + if (first != null) { + jsonList.add(toJson(first)); + continue; + } + } + } + + jsonList.add(toJson(subTag)); + } + + return jsonList; + case 10: + JsonObject jsonObject = new JsonObject(); + CompoundTag compoundTag = (CompoundTag)tag; + compoundTag.getValue().forEach((key, value) -> jsonObject.add(key, toJson(value))); + return jsonObject; + case 11: + int[] intArray = ((IntArrayTag)tag).getValue(); + JsonArray jsonIntArray = new JsonArray(intArray.length); + + for(int i : intArray) { + jsonIntArray.add(new JsonPrimitive(i)); + } + + return jsonIntArray; + case 12: + long[] longArray = ((LongArrayTag)tag).getValue(); + JsonArray jsonLongArray = new JsonArray(longArray.length); + + for(long l : longArray) { + jsonLongArray.add(new JsonPrimitive(l)); + } + + return jsonLongArray; + default: + throw new IllegalArgumentException("Unknown NBT tag: " + String.valueOf(tag)); + } + } + + @Generated + private TagUtil() { + } +} diff --git a/src/main/java/net/md_5/bungee/query/QueryHandler.java b/src/main/java/net/md_5/bungee/query/QueryHandler.java new file mode 100644 index 0000000..0bc67c9 --- /dev/null +++ b/src/main/java/net/md_5/bungee/query/QueryHandler.java @@ -0,0 +1,200 @@ +package net.md_5.bungee.query; + +import com.google.common.cache.Cache; +import com.google.common.cache.CacheBuilder; +import io.github.waterfallmc.waterfall.QueryResult; +import io.github.waterfallmc.waterfall.event.ProxyQueryEvent; +import io.github.waterfallmc.waterfall.utils.FastException; +import io.netty.buffer.ByteBuf; +import io.netty.channel.AddressedEnvelope; +import io.netty.channel.ChannelHandlerContext; +import io.netty.channel.SimpleChannelInboundHandler; +import io.netty.channel.socket.DatagramPacket; +import java.net.InetAddress; +import java.net.InetSocketAddress; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Random; +import java.util.concurrent.TimeUnit; +import java.util.logging.Level; +import java.util.stream.Collectors; +import lombok.Generated; +import net.md_5.bungee.api.CommandSender; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.config.ListenerInfo; + +public class QueryHandler extends SimpleChannelInboundHandler { + private final ProxyServer bungee; + private final ListenerInfo listener; + private final Random random = new Random(); + private final Cache sessions; + private static FastException cachedNoSessionException = new FastException("No Session!"); + + private void writeShort(ByteBuf buf, int s) { + buf.writeShortLE(s); + } + + private void writeNumber(ByteBuf buf, int i) { + this.writeString(buf, Integer.toString(i)); + } + + private void writeString(ByteBuf buf, String s) { + for(char c : s.toCharArray()) { + buf.writeByte(c); + } + + buf.writeByte(0); + } + + protected void channelRead0(ChannelHandlerContext ctx, DatagramPacket msg) throws Exception { + try { + this.handleMessage(ctx, msg); + } catch (Throwable t) { + this.bungee.getLogger().log(Level.WARNING, "Error whilst handling query packet from " + String.valueOf(msg.sender()), t); + } + + } + + private void handleMessage(ChannelHandlerContext ctx, DatagramPacket msg) { + ByteBuf in = (ByteBuf)msg.content(); + if (in.readUnsignedByte() == 254 && in.readUnsignedByte() == 253) { + ByteBuf out = ctx.alloc().buffer(); + AddressedEnvelope response = new DatagramPacket(out, (InetSocketAddress)msg.sender()); + byte type = in.readByte(); + int sessionId = in.readInt(); + if (type == 9) { + out.writeByte(9); + out.writeInt(sessionId); + int challengeToken = this.random.nextInt(); + this.sessions.put(((InetSocketAddress)msg.sender()).getAddress(), new QuerySession(challengeToken, System.currentTimeMillis())); + this.writeNumber(out, challengeToken); + } + + if (type == 0) { + int challengeToken = in.readInt(); + QuerySession session = (QuerySession)this.sessions.getIfPresent(((InetSocketAddress)msg.sender()).getAddress()); + if (session == null || session.getToken() != challengeToken) { + throw cachedNoSessionException; + } + + List players = (List)this.bungee.getPlayers().stream().map(CommandSender::getName).collect(Collectors.toList()); + ProxyQueryEvent event = new ProxyQueryEvent(this.listener, new QueryResult(this.listener.getMotd(), "SMP", "FlameCord_Proxy", this.bungee.getOnlineCount(), this.listener.getMaxPlayers(), this.listener.getHost().getPort(), this.listener.getHost().getHostString(), "MINECRAFT", players, this.bungee.getGameVersion())); + QueryResult result = ((ProxyQueryEvent)this.bungee.getPluginManager().callEvent(event)).getResult(); + out.writeByte(0); + out.writeInt(sessionId); + if (in.readableBytes() == 0) { + this.writeString(out, result.getMotd()); + this.writeString(out, result.getGameType()); + this.writeString(out, result.getWorldName()); + this.writeNumber(out, result.getOnlinePlayers()); + this.writeNumber(out, result.getMaxPlayers()); + this.writeShort(out, result.getPort()); + this.writeString(out, result.getAddress()); + } else { + if (in.readableBytes() != 4) { + throw new IllegalStateException("Invalid data request packet"); + } + + out.writeBytes(new byte[]{115, 112, 108, 105, 116, 110, 117, 109, 0, -128, 0}); + Map data = new LinkedHashMap(); + data.put("hostname", result.getMotd()); + data.put("gametype", result.getGameType()); + data.put("game_id", result.getGameId()); + data.put("version", result.getVersion()); + data.put("plugins", ""); + data.put("map", result.getWorldName()); + data.put("numplayers", Integer.toString(result.getOnlinePlayers())); + data.put("maxplayers", Integer.toString(result.getMaxPlayers())); + data.put("hostport", Integer.toString(result.getPort())); + data.put("hostip", result.getAddress()); + + for(Map.Entry entry : data.entrySet()) { + this.writeString(out, (String)entry.getKey()); + this.writeString(out, (String)entry.getValue()); + } + + out.writeByte(0); + this.writeString(out, "\u0001player_\u0000"); + result.getPlayers().stream().forEach((p) -> this.writeString(out, p)); + out.writeByte(0); + } + } + + ctx.writeAndFlush(response); + } else { + this.bungee.getLogger().log(Level.WARNING, "Query - Incorrect magic!: {0}", msg.sender()); + } + } + + public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { + this.bungee.getLogger().log(Level.WARNING, "Error whilst handling query packet from " + String.valueOf(ctx.channel().remoteAddress()), cause); + } + + @Generated + public QueryHandler(ProxyServer bungee, ListenerInfo listener) { + this.sessions = CacheBuilder.newBuilder().expireAfterWrite(30L, TimeUnit.SECONDS).build(); + this.bungee = bungee; + this.listener = listener; + } + + private static class QuerySession { + private final int token; + private final long time; + + @Generated + public QuerySession(int token, long time) { + this.token = token; + this.time = time; + } + + @Generated + public int getToken() { + return this.token; + } + + @Generated + public long getTime() { + return this.time; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof QuerySession)) { + return false; + } else { + QuerySession other = (QuerySession)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getToken() != other.getToken()) { + return false; + } else { + return this.getTime() == other.getTime(); + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof QuerySession; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getToken(); + long $time = this.getTime(); + result = result * 59 + (int)($time >>> 32 ^ $time); + return result; + } + + @Generated + public String toString() { + int var10000 = this.getToken(); + return "QueryHandler.QuerySession(token=" + var10000 + ", time=" + this.getTime() + ")"; + } + } +} diff --git a/src/main/java/net/md_5/bungee/query/RemoteQuery.java b/src/main/java/net/md_5/bungee/query/RemoteQuery.java new file mode 100644 index 0000000..b0c9178 --- /dev/null +++ b/src/main/java/net/md_5/bungee/query/RemoteQuery.java @@ -0,0 +1,35 @@ +package net.md_5.bungee.query; + +import io.netty.bootstrap.Bootstrap; +import io.netty.channel.Channel; +import io.netty.channel.ChannelFactory; +import io.netty.channel.ChannelFutureListener; +import io.netty.channel.EventLoopGroup; +import io.netty.channel.socket.DatagramChannel; +import java.net.InetSocketAddress; +import lombok.Generated; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.config.ListenerInfo; + +public class RemoteQuery { + private final ProxyServer bungee; + private final ListenerInfo listener; + + public void start(Class channel, InetSocketAddress address, EventLoopGroup eventLoop, ChannelFutureListener future) { + this.bind((Bootstrap)(new Bootstrap()).channel(channel), address, eventLoop, future); + } + + public void start(ChannelFactory channelFactory, InetSocketAddress address, EventLoopGroup eventLoop, ChannelFutureListener future) { + this.bind((Bootstrap)(new Bootstrap()).channelFactory(channelFactory), address, eventLoop, future); + } + + private void bind(Bootstrap bootstrap, InetSocketAddress address, EventLoopGroup eventLoop, ChannelFutureListener future) { + ((Bootstrap)((Bootstrap)((Bootstrap)bootstrap.group(eventLoop)).handler(new QueryHandler(this.bungee, this.listener))).localAddress(address)).bind().addListener(future); + } + + @Generated + public RemoteQuery(ProxyServer bungee, ListenerInfo listener) { + this.bungee = bungee; + this.listener = listener; + } +} diff --git a/src/main/java/net/md_5/bungee/scheduler/BungeeScheduler.java b/src/main/java/net/md_5/bungee/scheduler/BungeeScheduler.java new file mode 100644 index 0000000..78b40d6 --- /dev/null +++ b/src/main/java/net/md_5/bungee/scheduler/BungeeScheduler.java @@ -0,0 +1,86 @@ +package net.md_5.bungee.scheduler; + +import com.google.common.base.Preconditions; +import com.google.common.collect.HashMultimap; +import com.google.common.collect.Multimap; +import com.google.common.collect.Multimaps; +import it.unimi.dsi.fastutil.ints.Int2ObjectMap; +import it.unimi.dsi.fastutil.ints.Int2ObjectMaps; +import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap; +import java.util.HashSet; +import java.util.Set; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; +import net.md_5.bungee.api.plugin.Plugin; +import net.md_5.bungee.api.scheduler.ScheduledTask; +import net.md_5.bungee.api.scheduler.TaskScheduler; + +public class BungeeScheduler implements TaskScheduler { + private final Object lock = new Object(); + private final AtomicInteger taskCounter = new AtomicInteger(); + private final Int2ObjectMap tasks = Int2ObjectMaps.synchronize(new Int2ObjectOpenHashMap()); + private final Multimap tasksByPlugin = Multimaps.synchronizedMultimap(HashMultimap.create()); + private final TaskScheduler.Unsafe unsafe = new TaskScheduler.Unsafe() { + public ExecutorService getExecutorService(Plugin plugin) { + return plugin.getExecutorService(); + } + }; + + public void cancel(int id) { + BungeeTask task = (BungeeTask)this.tasks.get(id); + Preconditions.checkArgument(task != null, "No task with id %s", id); + task.cancel(); + } + + void cancel0(BungeeTask task) { + synchronized(this.lock) { + this.tasks.remove(task.getId()); + this.tasksByPlugin.values().remove(task); + } + } + + public void cancel(ScheduledTask task) { + task.cancel(); + } + + public int cancel(Plugin plugin) { + Set toRemove = new HashSet(); + synchronized(this.lock) { + for(ScheduledTask task : this.tasksByPlugin.get(plugin)) { + toRemove.add(task); + } + } + + for(ScheduledTask task : toRemove) { + this.cancel(task); + } + + return toRemove.size(); + } + + public ScheduledTask runAsync(Plugin owner, Runnable task) { + return this.schedule(owner, task, 0L, TimeUnit.MILLISECONDS); + } + + public ScheduledTask schedule(Plugin owner, Runnable task, long delay, TimeUnit unit) { + return this.schedule(owner, task, delay, 0L, unit); + } + + public ScheduledTask schedule(Plugin owner, Runnable task, long delay, long period, TimeUnit unit) { + Preconditions.checkNotNull(owner, "owner"); + Preconditions.checkNotNull(task, "task"); + BungeeTask prepared = new BungeeTask(this, this.taskCounter.getAndIncrement(), owner, task, delay, period, unit); + synchronized(this.lock) { + this.tasks.put(prepared.getId(), prepared); + this.tasksByPlugin.put(owner, prepared); + } + + owner.getExecutorService().execute(prepared); + return prepared; + } + + public TaskScheduler.Unsafe unsafe() { + return this.unsafe; + } +} diff --git a/src/main/java/net/md_5/bungee/scheduler/BungeeTask.java b/src/main/java/net/md_5/bungee/scheduler/BungeeTask.java new file mode 100644 index 0000000..154dd64 --- /dev/null +++ b/src/main/java/net/md_5/bungee/scheduler/BungeeTask.java @@ -0,0 +1,198 @@ +package net.md_5.bungee.scheduler; + +import io.github.waterfallmc.waterfall.event.ProxyExceptionEvent; +import io.github.waterfallmc.waterfall.exception.ProxySchedulerException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.logging.Level; +import lombok.Generated; +import net.md_5.bungee.api.ProxyServer; +import net.md_5.bungee.api.plugin.Plugin; +import net.md_5.bungee.api.scheduler.ScheduledTask; + +public class BungeeTask implements Runnable, ScheduledTask { + private final BungeeScheduler sched; + private final int id; + private final Plugin owner; + private final Runnable task; + private final long delay; + private final long period; + private final AtomicBoolean running = new AtomicBoolean(true); + + public BungeeTask(BungeeScheduler sched, int id, Plugin owner, Runnable task, long delay, long period, TimeUnit unit) { + this.sched = sched; + this.id = id; + this.owner = owner; + this.task = task; + this.delay = unit.toMillis(delay); + this.period = unit.toMillis(period); + } + + public void cancel() { + boolean wasRunning = this.running.getAndSet(false); + if (wasRunning) { + this.sched.cancel0(this); + } + + } + + public void run() { + if (this.delay > 0L) { + try { + Thread.sleep(this.delay); + } catch (InterruptedException var5) { + Thread.currentThread().interrupt(); + } + } + + while(this.running.get()) { + try { + this.task.run(); + } catch (Throwable t) { + String msg = String.format("Task %s encountered an exception", this); + ProxyServer.getInstance().getLogger().log(Level.SEVERE, msg, t); + ProxyServer.getInstance().getPluginManager().callEvent(new ProxyExceptionEvent(new ProxySchedulerException(msg, t, this))); + } + + if (this.period <= 0L) { + break; + } + + try { + Thread.sleep(this.period); + } catch (InterruptedException var3) { + Thread.currentThread().interrupt(); + } + } + + this.cancel(); + } + + @Generated + public BungeeScheduler getSched() { + return this.sched; + } + + @Generated + public int getId() { + return this.id; + } + + @Generated + public Plugin getOwner() { + return this.owner; + } + + @Generated + public Runnable getTask() { + return this.task; + } + + @Generated + public long getDelay() { + return this.delay; + } + + @Generated + public long getPeriod() { + return this.period; + } + + @Generated + public AtomicBoolean getRunning() { + return this.running; + } + + @Generated + public boolean equals(Object o) { + if (o == this) { + return true; + } else if (!(o instanceof BungeeTask)) { + return false; + } else { + BungeeTask other = (BungeeTask)o; + if (!other.canEqual(this)) { + return false; + } else if (this.getId() != other.getId()) { + return false; + } else if (this.getDelay() != other.getDelay()) { + return false; + } else if (this.getPeriod() != other.getPeriod()) { + return false; + } else { + Object this$sched = this.getSched(); + Object other$sched = other.getSched(); + if (this$sched == null) { + if (other$sched != null) { + return false; + } + } else if (!this$sched.equals(other$sched)) { + return false; + } + + Object this$owner = this.getOwner(); + Object other$owner = other.getOwner(); + if (this$owner == null) { + if (other$owner != null) { + return false; + } + } else if (!this$owner.equals(other$owner)) { + return false; + } + + Object this$task = this.getTask(); + Object other$task = other.getTask(); + if (this$task == null) { + if (other$task != null) { + return false; + } + } else if (!this$task.equals(other$task)) { + return false; + } + + Object this$running = this.getRunning(); + Object other$running = other.getRunning(); + if (this$running == null) { + if (other$running != null) { + return false; + } + } else if (!this$running.equals(other$running)) { + return false; + } + + return true; + } + } + } + + @Generated + protected boolean canEqual(Object other) { + return other instanceof BungeeTask; + } + + @Generated + public int hashCode() { + int PRIME = 59; + int result = 1; + result = result * 59 + this.getId(); + long $delay = this.getDelay(); + result = result * 59 + (int)($delay >>> 32 ^ $delay); + long $period = this.getPeriod(); + result = result * 59 + (int)($period >>> 32 ^ $period); + Object $sched = this.getSched(); + result = result * 59 + ($sched == null ? 43 : $sched.hashCode()); + Object $owner = this.getOwner(); + result = result * 59 + ($owner == null ? 43 : $owner.hashCode()); + Object $task = this.getTask(); + result = result * 59 + ($task == null ? 43 : $task.hashCode()); + Object $running = this.getRunning(); + result = result * 59 + ($running == null ? 43 : $running.hashCode()); + return result; + } + + @Generated + public String toString() { + String var10000 = String.valueOf(this.getSched()); + return "BungeeTask(sched=" + var10000 + ", id=" + this.getId() + ", owner=" + String.valueOf(this.getOwner()) + ", task=" + String.valueOf(this.getTask()) + ", delay=" + this.getDelay() + ", period=" + this.getPeriod() + ", running=" + String.valueOf(this.getRunning()) + ")"; + } +} diff --git a/src/main/java/net/md_5/bungee/serializer/dialog/DialogActionSerializer.java b/src/main/java/net/md_5/bungee/serializer/dialog/DialogActionSerializer.java new file mode 100644 index 0000000..5b2c442 --- /dev/null +++ b/src/main/java/net/md_5/bungee/serializer/dialog/DialogActionSerializer.java @@ -0,0 +1,58 @@ +package net.md_5.bungee.serializer.dialog; + +import com.google.common.base.Preconditions; +import com.google.common.collect.BiMap; +import com.google.common.collect.ImmutableBiMap; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonNull; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import net.md_5.bungee.api.chat.ClickEvent; +import net.md_5.bungee.api.dialog.action.Action; +import net.md_5.bungee.api.dialog.action.CustomClickAction; +import net.md_5.bungee.api.dialog.action.RunCommandAction; +import net.md_5.bungee.api.dialog.action.StaticAction; +import net.md_5.bungee.chat.ClickEventSerializer; + +public class DialogActionSerializer implements JsonDeserializer, JsonSerializer { + private static final BiMap> DYNAMIC; + + public Action deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + JsonObject object = json.getAsJsonObject(); + String type = object.get("type").getAsString(); + Class realType = (Class)DYNAMIC.get(type); + if (realType == null) { + ClickEvent click = ClickEventSerializer.DIALOG.deserialize(json.getAsJsonObject(), context); + return new StaticAction(click); + } else { + return (Action)context.deserialize(json, realType); + } + } + + public JsonElement serialize(Action src, Type typeOfSrc, JsonSerializationContext context) { + if (src == null) { + return JsonNull.INSTANCE; + } else if (src instanceof StaticAction) { + return ClickEventSerializer.DIALOG.serialize(((StaticAction)src).clickEvent(), context); + } else { + Class realType = src.getClass(); + String type = (String)DYNAMIC.inverse().get(realType); + Preconditions.checkArgument(type != null, "Unknown type %s", typeOfSrc); + JsonObject object = (JsonObject)context.serialize(src, realType); + object.addProperty("type", type); + return object; + } + } + + static { + ImmutableBiMap.Builder> builder = ImmutableBiMap.builder(); + builder.put("minecraft:dynamic/custom", CustomClickAction.class); + builder.put("minecraft:dynamic/run_command", RunCommandAction.class); + DYNAMIC = builder.build(); + } +} diff --git a/src/main/java/net/md_5/bungee/serializer/dialog/DialogSerializer.java b/src/main/java/net/md_5/bungee/serializer/dialog/DialogSerializer.java new file mode 100644 index 0000000..f4fcc26 --- /dev/null +++ b/src/main/java/net/md_5/bungee/serializer/dialog/DialogSerializer.java @@ -0,0 +1,117 @@ +package net.md_5.bungee.serializer.dialog; + +import com.google.common.base.Preconditions; +import com.google.common.collect.BiMap; +import com.google.common.collect.ImmutableBiMap; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonNull; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonParser; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import java.util.Collections; +import java.util.IdentityHashMap; +import java.util.Set; +import lombok.Generated; +import net.md_5.bungee.api.dialog.ConfirmationDialog; +import net.md_5.bungee.api.dialog.Dialog; +import net.md_5.bungee.api.dialog.DialogBase; +import net.md_5.bungee.api.dialog.DialogListDialog; +import net.md_5.bungee.api.dialog.MultiActionDialog; +import net.md_5.bungee.api.dialog.NoticeDialog; +import net.md_5.bungee.api.dialog.ServerLinksDialog; +import net.md_5.bungee.chat.VersionedComponentSerializer; + +public class DialogSerializer implements JsonDeserializer, JsonSerializer { + private static final ThreadLocal> serializedDialogs = new ThreadLocal(); + private static final BiMap> TYPES; + private final VersionedComponentSerializer serializer; + + public JsonElement toJson(Dialog dialog) { + return this.serializer.getGson().toJsonTree(dialog, Dialog.class); + } + + public String toString(Dialog dialog) { + return this.serializer.getGson().toJson(dialog, Dialog.class); + } + + public Dialog deserialize(JsonElement jsonElement) { + return (Dialog)this.serializer.getGson().fromJson(jsonElement, Dialog.class); + } + + public Dialog deserialize(String json) { + JsonElement jsonElement = JsonParser.parseString(json); + return this.deserialize(jsonElement); + } + + public Dialog deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + JsonObject object = json.getAsJsonObject(); + String type = object.get("type").getAsString(); + if (object.has("base")) { + throw new JsonParseException("Cannot explicitly specify base"); + } else { + Type realType = (Type)TYPES.get(type); + if (realType == null) { + throw new JsonParseException("Unknown type " + type); + } else { + Dialog dialog = (Dialog)context.deserialize(json, realType); + DialogBase base = (DialogBase)context.deserialize(json, DialogBase.class); + dialog.setBase(base); + return dialog; + } + } + } + + public JsonElement serialize(Dialog src, Type typeOfSrc, JsonSerializationContext context) { + if (src == null) { + return JsonNull.INSTANCE; + } else { + boolean first = serializedDialogs.get() == null; + if (first) { + serializedDialogs.set(Collections.newSetFromMap(new IdentityHashMap())); + } + + JsonObject var9; + try { + Preconditions.checkArgument(!((Set)serializedDialogs.get()).contains(src), "Dialog loop"); + ((Set)serializedDialogs.get()).add(src); + Class realType = src.getClass(); + String type = (String)TYPES.inverse().get(realType); + Preconditions.checkArgument(type != null, "Unknown type %s", typeOfSrc); + JsonObject object = (JsonObject)context.serialize(src, realType); + object.addProperty("type", type); + JsonObject base = (JsonObject)context.serialize(src.getBase()); + object.asMap().putAll(base.asMap()); + object.remove("base"); + var9 = object; + } finally { + ((Set)serializedDialogs.get()).remove(src); + if (first) { + serializedDialogs.set(null); + } + + } + + return var9; + } + } + + @Generated + public DialogSerializer(VersionedComponentSerializer serializer) { + this.serializer = serializer; + } + + static { + ImmutableBiMap.Builder> builder = ImmutableBiMap.builder(); + builder.put("minecraft:notice", NoticeDialog.class); + builder.put("minecraft:confirmation", ConfirmationDialog.class); + builder.put("minecraft:multi_action", MultiActionDialog.class); + builder.put("minecraft:server_links", ServerLinksDialog.class); + builder.put("minecraft:dialog_list", DialogListDialog.class); + TYPES = builder.build(); + } +} diff --git a/src/main/java/net/md_5/bungee/serializer/dialog/ShowDialogClickEventSerializer.java b/src/main/java/net/md_5/bungee/serializer/dialog/ShowDialogClickEventSerializer.java new file mode 100644 index 0000000..bf7b2c2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/serializer/dialog/ShowDialogClickEventSerializer.java @@ -0,0 +1,22 @@ +package net.md_5.bungee.serializer.dialog; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonParseException; +import com.google.gson.JsonPrimitive; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import java.lang.reflect.Type; +import net.md_5.bungee.api.dialog.Dialog; +import net.md_5.bungee.api.dialog.chat.ShowDialogClickEvent; + +public class ShowDialogClickEventSerializer implements JsonDeserializer, JsonSerializer { + public ShowDialogClickEvent deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + return json.isJsonPrimitive() && json.getAsJsonPrimitive().isString() ? new ShowDialogClickEvent(json.getAsJsonPrimitive().getAsString()) : new ShowDialogClickEvent((Dialog)context.deserialize(json, Dialog.class)); + } + + public JsonElement serialize(ShowDialogClickEvent src, Type typeOfSrc, JsonSerializationContext context) { + return (JsonElement)(src.getReference() != null ? new JsonPrimitive(src.getReference()) : context.serialize(src.getDialog(), Dialog.class)); + } +} diff --git a/src/main/java/net/md_5/bungee/tab/ServerUnique.java b/src/main/java/net/md_5/bungee/tab/ServerUnique.java new file mode 100644 index 0000000..80435c8 --- /dev/null +++ b/src/main/java/net/md_5/bungee/tab/ServerUnique.java @@ -0,0 +1,113 @@ +package net.md_5.bungee.tab; + +import java.util.Collection; +import java.util.HashSet; +import java.util.UUID; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.protocol.packet.PlayerListItem; +import net.md_5.bungee.protocol.packet.PlayerListItemRemove; +import net.md_5.bungee.protocol.packet.PlayerListItemUpdate; + +public class ServerUnique extends TabList { + private final Collection uuids = new HashSet(); + private final Collection usernames = new HashSet(); + + public ServerUnique(ProxiedPlayer player) { + super(player); + } + + public void onUpdate(PlayerListItem playerListItem) { + PlayerListItem.Action action = playerListItem.getAction(); + if (action == PlayerListItem.Action.ADD_PLAYER) { + for(PlayerListItem.Item item : playerListItem.getItems()) { + if (item.getUuid() != null) { + this.uuids.add(item.getUuid()); + } else { + this.usernames.add(item.getUsername()); + } + } + } else if (action == PlayerListItem.Action.REMOVE_PLAYER) { + for(PlayerListItem.Item item : playerListItem.getItems()) { + if (item.getUuid() != null) { + this.uuids.remove(item.getUuid()); + } else { + this.usernames.remove(item.getUsername()); + } + } + } + + this.player.unsafe().sendPacket(playerListItem); + } + + public void onUpdate(PlayerListItemRemove playerListItem) { + for(UUID uuid : playerListItem.getUuids()) { + this.uuids.remove(uuid); + } + + this.player.unsafe().sendPacket(playerListItem); + } + + public void onUpdate(PlayerListItemUpdate playerListItem) { + if (playerListItem.getActions().contains(PlayerListItemUpdate.Action.ADD_PLAYER)) { + for(PlayerListItem.Item item : playerListItem.getItems()) { + this.uuids.add(item.getUuid()); + } + } + + this.player.unsafe().sendPacket(playerListItem); + } + + public void onPingChange(int ping) { + } + + public void onServerChange() { + if (this.player.getPendingConnection().getVersion() >= 761) { + PlayerListItemRemove packet = new PlayerListItemRemove(); + packet.setUuids((UUID[])this.uuids.toArray(new UUID[0])); + this.player.unsafe().sendPacket(packet); + } else { + PlayerListItem packet = new PlayerListItem(); + packet.setAction(PlayerListItem.Action.REMOVE_PLAYER); + int i = 0; + PlayerListItem.Item[] items; + if (this.player.getPendingConnection().getVersion() <= 5) { + items = new PlayerListItem.Item[this.usernames.size()]; + + for(String username : this.usernames) { + if (i >= items.length) { + break; + } + + PlayerListItem.Item item = items[i++] = new PlayerListItem.Item(); + item.setUsername(username); + item.setDisplayName(TextComponent.fromLegacy(username)); + item.setPing(0); + } + } else { + items = new PlayerListItem.Item[this.uuids.size()]; + + for(UUID uuid : this.uuids) { + if (i >= items.length) { + break; + } + + PlayerListItem.Item item = items[i++] = new PlayerListItem.Item(); + item.setUuid(uuid); + } + } + + packet.setItems(items); + this.player.unsafe().sendPacket(packet); + } + + this.uuids.clear(); + this.usernames.clear(); + } + + public void onConnect() { + } + + public void onDisconnect() { + } +} diff --git a/src/main/java/net/md_5/bungee/tab/TabList.java b/src/main/java/net/md_5/bungee/tab/TabList.java new file mode 100644 index 0000000..525f80f --- /dev/null +++ b/src/main/java/net/md_5/bungee/tab/TabList.java @@ -0,0 +1,93 @@ +package net.md_5.bungee.tab; + +import lombok.Generated; +import net.md_5.bungee.BungeeCord; +import net.md_5.bungee.UserConnection; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.connection.LoginResult; +import net.md_5.bungee.protocol.data.Property; +import net.md_5.bungee.protocol.packet.PlayerListItem; +import net.md_5.bungee.protocol.packet.PlayerListItemRemove; +import net.md_5.bungee.protocol.packet.PlayerListItemUpdate; + +public abstract class TabList { + protected final ProxiedPlayer player; + + public abstract void onUpdate(PlayerListItem var1); + + public abstract void onUpdate(PlayerListItemRemove var1); + + public abstract void onUpdate(PlayerListItemUpdate var1); + + public abstract void onPingChange(int var1); + + public abstract void onServerChange(); + + public abstract void onConnect(); + + public abstract void onDisconnect(); + + public static PlayerListItem rewrite(PlayerListItem playerListItem) { + for(PlayerListItem.Item item : playerListItem.getItems()) { + rewrite(item); + } + + return playerListItem; + } + + public static PlayerListItemRemove rewrite(PlayerListItemRemove playerListItem) { + for(int i = 0; i < playerListItem.getUuids().length; ++i) { + UserConnection player = BungeeCord.getInstance().getPlayerByOfflineUUID(playerListItem.getUuids()[i]); + if (player != null) { + playerListItem.getUuids()[i] = player.getRewriteId(); + } + } + + return playerListItem; + } + + public static PlayerListItemUpdate rewrite(PlayerListItemUpdate playerListItem) { + for(PlayerListItem.Item item : playerListItem.getItems()) { + rewrite(item); + } + + return playerListItem; + } + + private static void rewrite(PlayerListItem.Item item) { + if (item.getUuid() != null) { + UserConnection player = BungeeCord.getInstance().getPlayerByOfflineUUID(item.getUuid()); + if (player != null) { + item.setUuid(player.getRewriteId()); + if (item.getProperties() != null) { + LoginResult loginResult = player.getPendingConnection().getLoginProfile(); + if (loginResult != null && loginResult.getProperties() != null) { + Property[] props = new Property[loginResult.getProperties().length]; + + for(int i = 0; i < props.length; ++i) { + props[i] = new Property(loginResult.getProperties()[i].getName(), loginResult.getProperties()[i].getValue(), loginResult.getProperties()[i].getSignature()); + } + + item.setProperties(props); + } else { + item.setProperties(new Property[0]); + } + } + + if (item.getGamemode() != null) { + player.setGamemode(item.getGamemode()); + } + + if (item.getPing() != null) { + player.setPing(item.getPing()); + } + } + + } + } + + @Generated + public TabList(ProxiedPlayer player) { + this.player = player; + } +} diff --git a/src/main/java/net/md_5/bungee/util/AddressUtil.java b/src/main/java/net/md_5/bungee/util/AddressUtil.java new file mode 100644 index 0000000..ccba81a --- /dev/null +++ b/src/main/java/net/md_5/bungee/util/AddressUtil.java @@ -0,0 +1,23 @@ +package net.md_5.bungee.util; + +import com.google.common.base.Preconditions; +import java.net.Inet6Address; +import java.net.InetSocketAddress; +import lombok.Generated; + +public class AddressUtil { + public static String sanitizeAddress(InetSocketAddress addr) { + Preconditions.checkArgument(!addr.isUnresolved(), "Unresolved address"); + String string = addr.getAddress().getHostAddress(); + if (addr.getAddress() instanceof Inet6Address) { + int strip = string.indexOf(37); + return strip == -1 ? string : string.substring(0, strip); + } else { + return string; + } + } + + @Generated + private AddressUtil() { + } +} diff --git a/src/main/java/net/md_5/bungee/util/AllowedCharacters.java b/src/main/java/net/md_5/bungee/util/AllowedCharacters.java new file mode 100644 index 0000000..6e5598a --- /dev/null +++ b/src/main/java/net/md_5/bungee/util/AllowedCharacters.java @@ -0,0 +1,37 @@ +package net.md_5.bungee.util; + +import lombok.Generated; + +public final class AllowedCharacters { + public static boolean isChatAllowedCharacter(char character) { + return character != 167 && character >= ' ' && character != 127; + } + + private static boolean isNameAllowedCharacter(char c, boolean onlineMode) { + if (onlineMode) { + return c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c >= 'A' && c <= 'Z' || c == '_'; + } else { + return isChatAllowedCharacter(c) && c != ' ' && c != '.'; + } + } + + public static boolean isValidName(String name, boolean onlineMode) { + if (!name.isEmpty() && name.length() <= 16) { + int index = 0; + + for(int len = name.length(); index < len; ++index) { + if (!isNameAllowedCharacter(name.charAt(index), onlineMode)) { + return false; + } + } + + return true; + } else { + return false; + } + } + + @Generated + private AllowedCharacters() { + } +} diff --git a/src/main/java/net/md_5/bungee/util/BufUtil.java b/src/main/java/net/md_5/bungee/util/BufUtil.java new file mode 100644 index 0000000..e8e8a87 --- /dev/null +++ b/src/main/java/net/md_5/bungee/util/BufUtil.java @@ -0,0 +1,11 @@ +package net.md_5.bungee.util; + +import io.netty.buffer.ByteBuf; +import io.netty.buffer.ByteBufUtil; +import lombok.Generated; + +public class BufUtil { + public static String dump(ByteBuf buf, int maxLen) { + return ByteBufUtil.hexDump(buf, 0, Math.min(buf.writerIndex(), maxLen)); + } +} diff --git a/src/main/java/net/md_5/bungee/util/CaseInsensitiveHashingStrategy.java b/src/main/java/net/md_5/bungee/util/CaseInsensitiveHashingStrategy.java new file mode 100644 index 0000000..264c9d2 --- /dev/null +++ b/src/main/java/net/md_5/bungee/util/CaseInsensitiveHashingStrategy.java @@ -0,0 +1,22 @@ +package net.md_5.bungee.util; + +import it.unimi.dsi.fastutil.Hash; +import java.util.Locale; + +class CaseInsensitiveHashingStrategy implements Hash.Strategy { + static final CaseInsensitiveHashingStrategy INSTANCE = new CaseInsensitiveHashingStrategy(); + + public int hashCode(String object) { + return object == null ? 0 : object.toLowerCase(Locale.ROOT).hashCode(); + } + + public boolean equals(String o1, String o2) { + if (o1 == o2) { + return true; + } else if (o1 != null && o2 != null) { + return o1.equals(o2) || o1.toLowerCase(Locale.ROOT).equals(o2.toLowerCase(Locale.ROOT)); + } else { + return false; + } + } +} diff --git a/src/main/java/net/md_5/bungee/util/CaseInsensitiveMap.java b/src/main/java/net/md_5/bungee/util/CaseInsensitiveMap.java new file mode 100644 index 0000000..7f1a154 --- /dev/null +++ b/src/main/java/net/md_5/bungee/util/CaseInsensitiveMap.java @@ -0,0 +1,14 @@ +package net.md_5.bungee.util; + +import it.unimi.dsi.fastutil.objects.Object2ObjectOpenCustomHashMap; +import java.util.Map; + +public class CaseInsensitiveMap extends Object2ObjectOpenCustomHashMap { + public CaseInsensitiveMap() { + super(CaseInsensitiveHashingStrategy.INSTANCE); + } + + public CaseInsensitiveMap(Map map) { + super(map, CaseInsensitiveHashingStrategy.INSTANCE); + } +} diff --git a/src/main/java/net/md_5/bungee/util/CaseInsensitiveSet.java b/src/main/java/net/md_5/bungee/util/CaseInsensitiveSet.java new file mode 100644 index 0000000..4332830 --- /dev/null +++ b/src/main/java/net/md_5/bungee/util/CaseInsensitiveSet.java @@ -0,0 +1,14 @@ +package net.md_5.bungee.util; + +import it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet; +import java.util.Collection; + +public class CaseInsensitiveSet extends ObjectOpenCustomHashSet { + public CaseInsensitiveSet() { + super(CaseInsensitiveHashingStrategy.INSTANCE); + } + + public CaseInsensitiveSet(Collection collection) { + super(collection, CaseInsensitiveHashingStrategy.INSTANCE); + } +} diff --git a/src/main/java/net/md_5/bungee/util/ChatComponentTransformer.java b/src/main/java/net/md_5/bungee/util/ChatComponentTransformer.java new file mode 100644 index 0000000..9eb5b2e --- /dev/null +++ b/src/main/java/net/md_5/bungee/util/ChatComponentTransformer.java @@ -0,0 +1,90 @@ +package net.md_5.bungee.util; + +import com.google.common.base.Preconditions; +import java.util.List; +import java.util.regex.Pattern; +import java.util.stream.Collectors; +import lombok.Generated; +import net.md_5.bungee.api.chat.BaseComponent; +import net.md_5.bungee.api.chat.ScoreComponent; +import net.md_5.bungee.api.chat.TextComponent; +import net.md_5.bungee.api.chat.hover.content.Content; +import net.md_5.bungee.api.connection.ProxiedPlayer; +import net.md_5.bungee.api.score.Score; + +public final class ChatComponentTransformer { + private static final ChatComponentTransformer INSTANCE = new ChatComponentTransformer(); + private static final Pattern SELECTOR_PATTERN = Pattern.compile("^@([pares])(?:\\[([^ ]*)\\])?$"); + + public BaseComponent legacyHoverTransform(ProxiedPlayer player, BaseComponent next) { + if (player.getPendingConnection().getVersion() < 735) { + if (next.getHoverEvent() == null || next.getHoverEvent().isLegacy()) { + return next; + } + + next = next.duplicate(); + next.getHoverEvent().setLegacy(true); + if (next.getHoverEvent().getContents().size() > 1) { + Content exception = (Content)next.getHoverEvent().getContents().get(0); + next.getHoverEvent().getContents().clear(); + next.getHoverEvent().getContents().add(exception); + } + } + + return next; + } + + public static ChatComponentTransformer getInstance() { + return INSTANCE; + } + + public BaseComponent transform(ProxiedPlayer player, BaseComponent components) { + return this.transform(player, false, components); + } + + public BaseComponent transform(ProxiedPlayer player, boolean transformHover, BaseComponent root) { + if (root == null) { + return new TextComponent(""); + } else { + if (transformHover) { + root = this.legacyHoverTransform(player, root); + } + + if (root.getExtra() != null && !root.getExtra().isEmpty()) { + List list = (List)root.getExtra().stream().map((extra) -> this.transform(player, transformHover, extra)).collect(Collectors.toList()); + root.setExtra(list); + } + + if (root instanceof ScoreComponent) { + this.transformScoreComponent(player, (ScoreComponent)root); + } + + return root; + } + } + + private void transformScoreComponent(ProxiedPlayer player, ScoreComponent component) { + Preconditions.checkArgument(!this.isSelectorPattern(component.getName()), "Cannot transform entity selector patterns"); + if (component.getValue() == null || component.getValue().isEmpty()) { + if (component.getName().equals("*")) { + component.setName(player.getName()); + } + + if (player.getScoreboard().getObjective(component.getObjective()) != null) { + Score score = player.getScoreboard().getScore(component.getName()); + if (score != null) { + component.setValue(Integer.toString(score.getValue())); + } + } + + } + } + + public boolean isSelectorPattern(String pattern) { + return SELECTOR_PATTERN.matcher(pattern).matches(); + } + + @Generated + private ChatComponentTransformer() { + } +} diff --git a/src/main/java/net/md_5/bungee/util/PacketLimiter.java b/src/main/java/net/md_5/bungee/util/PacketLimiter.java new file mode 100644 index 0000000..bb32b2a --- /dev/null +++ b/src/main/java/net/md_5/bungee/util/PacketLimiter.java @@ -0,0 +1,44 @@ +package net.md_5.bungee.util; + +import lombok.Generated; + +public class PacketLimiter { + private final int limit; + private final int dataLimit; + private int counter; + private int dataCounter; + private long nextSecond; + + public boolean incrementAndCheck(int size) { + ++this.counter; + this.dataCounter += size; + if (this.limit > 0 && this.counter > this.limit || this.dataLimit > 0 && this.dataCounter > this.dataLimit) { + long now = System.currentTimeMillis(); + if (this.nextSecond > now) { + return false; + } + + this.nextSecond = now + 1000L; + this.counter = 0; + this.dataCounter = 0; + } + + return true; + } + + @Generated + public PacketLimiter(int limit, int dataLimit) { + this.limit = limit; + this.dataLimit = dataLimit; + } + + @Generated + public int getCounter() { + return this.counter; + } + + @Generated + public int getDataCounter() { + return this.dataCounter; + } +} diff --git a/src/main/java/net/md_5/bungee/util/QuietException.java b/src/main/java/net/md_5/bungee/util/QuietException.java new file mode 100644 index 0000000..6039033 --- /dev/null +++ b/src/main/java/net/md_5/bungee/util/QuietException.java @@ -0,0 +1,15 @@ +package net.md_5.bungee.util; + +public class QuietException extends RuntimeException { + public QuietException(String message) { + super(message); + } + + public Throwable initCause(Throwable cause) { + return this; + } + + public Throwable fillInStackTrace() { + return this; + } +} diff --git a/src/main/java/se/llbit/nbt/ByteArrayTag.java b/src/main/java/se/llbit/nbt/ByteArrayTag.java new file mode 100644 index 0000000..597c934 --- /dev/null +++ b/src/main/java/se/llbit/nbt/ByteArrayTag.java @@ -0,0 +1,79 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.Arrays; + +public class ByteArrayTag extends SpecificTag { + public final byte[] value; + + public static SpecificTag read(DataInputStream in) { + try { + int length = in.readInt(); + byte[] data = new byte[length]; + in.readFully(data, 0, length); + return new ByteArrayTag(data); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_Byte_Array:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeInt(this.getData().length); + out.write(this.getData()); + } + + static void skip(DataInputStream in) { + try { + int length = in.readInt(); + in.skipBytes(length); + } catch (IOException var2) { + } + + } + + public ByteArrayTag(byte[] value) { + this.value = value; + } + + public byte[] getData() { + return this.value; + } + + public String extraInfo() { + return ": " + this.value.length; + } + + public String type() { + return "TAG_Byte_Array"; + } + + public String tagName() { + return "TAG_Byte_Array"; + } + + public int tagType() { + return 7; + } + + public byte[] byteArray() { + return this.getData(); + } + + public byte[] byteArray(byte[] defaultValue) { + return this.getData(); + } + + public boolean isByteArray(int size) { + return this.getData().length >= size; + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof ByteArrayTag && Arrays.equals(((ByteArrayTag)obj).value, this.value); + } + + public int hashCode() { + return Arrays.hashCode(this.value); + } +} diff --git a/src/main/java/se/llbit/nbt/ByteTag.java b/src/main/java/se/llbit/nbt/ByteTag.java new file mode 100644 index 0000000..a020c30 --- /dev/null +++ b/src/main/java/se/llbit/nbt/ByteTag.java @@ -0,0 +1,69 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +public class ByteTag extends SpecificTag { + public final int value; + + public static SpecificTag read(DataInputStream in) { + try { + return new ByteTag(in.readByte()); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_Byte:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeByte(this.getData()); + } + + public ByteTag(int value) { + this.value = value; + } + + public int getData() { + return this.value; + } + + public String extraInfo() { + return ": " + this.getData(); + } + + public String type() { + return "TAG_Byte"; + } + + public String tagName() { + return "TAG_Byte"; + } + + public int tagType() { + return 1; + } + + public boolean boolValue() { + return this.getData() != 0; + } + + public boolean boolValue(boolean defaultValue) { + return this.getData() != 0; + } + + public int byteValue() { + return this.getData(); + } + + public int byteValue(int defaultValue) { + return this.getData(); + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof ByteTag && ((ByteTag)obj).value == this.value; + } + + public int hashCode() { + return this.value; + } +} diff --git a/src/main/java/se/llbit/nbt/CompoundTag.java b/src/main/java/se/llbit/nbt/CompoundTag.java new file mode 100644 index 0000000..06807f8 --- /dev/null +++ b/src/main/java/se/llbit/nbt/CompoundTag.java @@ -0,0 +1,173 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.Iterator; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; + +public class CompoundTag extends SpecificTag implements Iterable { + final Map items = new LinkedHashMap(); + + public void add(String name, SpecificTag tag) { + this.items.put(name, new NamedTag(name, tag)); + } + + public static SpecificTag read(DataInputStream in) { + CompoundTag tagThis = new CompoundTag(); + + while(true) { + Tag last = NamedTag.read(in); + if (last.isEnd()) { + return tagThis; + } + + tagThis.add((NamedTag)last); + } + } + + public void write(DataOutputStream out) throws IOException { + for(NamedTag tag : this.items.values()) { + tag.write(out); + } + + out.writeByte(0); + } + + static Map partialParse(DataInputStream in, String prefix, Map result, Set request, Set prefixes) { + try { + while(true) { + byte type = in.readByte(); + if (type != 0) { + SpecificTag name = StringTag.read(in); + String tag = prefix + "." + name.stringValue(); + boolean parsed = NamedTag.partiallyParseTag(in, result, request, prefixes, type, tag); + if (parsed) { + if (!request.isEmpty()) { + continue; + } + + return result; + } + + SpecificTag.skip(type, in); + continue; + } + } + } catch (IOException var9) { + } + + return result; + } + + static void skip(DataInputStream in) { + try { + while(true) { + byte itemType = in.readByte(); + if (itemType != 0) { + StringTag.skip(in); + SpecificTag.skip(itemType, in); + continue; + } + } + } catch (IOException var2) { + } + + } + + public void printTag(StringBuilder buff, String indent) { + buff.append(indent); + this.printTagInfo(buff); + + for(NamedTag tag : this.items.values()) { + buff.append(String.format("%s %s:\n", indent, tag.name())); + tag.tag.printTag(buff, indent + " "); + } + + } + + public CompoundTag() { + } + + public CompoundTag(List items) { + for(NamedTag tag : items) { + this.items.put(tag.name, tag); + } + + } + + public int size() { + return this.items.size(); + } + + public void add(NamedTag node) { + this.items.put(node.name, node); + } + + public String toString() { + return this.dumpTree(); + } + + public String type() { + return "TAG_Compound"; + } + + public String tagName() { + return "TAG_Compound"; + } + + public int tagType() { + return 10; + } + + public boolean isCompoundTag() { + return true; + } + + public Tag get(String name) { + return (Tag)(this.items.containsKey(name) ? ((NamedTag)this.items.get(name)).unpack() : new ErrorTag("No item named \"" + name + "\" in this compound tag.")); + } + + public Iterator iterator() { + return this.items.values().iterator(); + } + + public CompoundTag asCompound() { + return this; + } + + public boolean isEmpty() { + return this.items.isEmpty(); + } + + public boolean equals(Object obj) { + if (obj == this) { + return true; + } else if (!(obj instanceof CompoundTag)) { + return false; + } else { + CompoundTag other = (CompoundTag)obj; + + for(NamedTag tag : this.items.values()) { + if (!other.get(tag.name()).equals(tag.tag)) { + return false; + } + } + + for(NamedTag tag : other.items.values()) { + if (!this.get(tag.name()).equals(tag.tag)) { + return false; + } + } + + return true; + } + } + + public int hashCode() { + return this.items.hashCode(); + } +} diff --git a/src/main/java/se/llbit/nbt/DoubleTag.java b/src/main/java/se/llbit/nbt/DoubleTag.java new file mode 100644 index 0000000..bd046db --- /dev/null +++ b/src/main/java/se/llbit/nbt/DoubleTag.java @@ -0,0 +1,62 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +public class DoubleTag extends SpecificTag { + public final double value; + + public static SpecificTag read(DataInputStream in) { + try { + return new DoubleTag(in.readDouble()); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_Double:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeDouble(this.getData()); + } + + public DoubleTag(double value) { + this.value = value; + } + + public double getData() { + return this.value; + } + + public String extraInfo() { + return ": " + this.getData(); + } + + public String type() { + return "TAG_Double"; + } + + public String tagName() { + return "TAG_Double"; + } + + public int tagType() { + return 6; + } + + public double doubleValue() { + return this.getData(); + } + + public double doubleValue(double defaultValue) { + return this.getData(); + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof DoubleTag && ((DoubleTag)obj).value == this.value; + } + + public int hashCode() { + long x = Double.doubleToRawLongBits(this.value); + return (int)(x >> 32 ^ x); + } +} diff --git a/src/main/java/se/llbit/nbt/DumpNBT.java b/src/main/java/se/llbit/nbt/DumpNBT.java new file mode 100644 index 0000000..26690bb --- /dev/null +++ b/src/main/java/se/llbit/nbt/DumpNBT.java @@ -0,0 +1,61 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.FileInputStream; +import java.io.IOException; +import java.util.zip.GZIPInputStream; + +public class DumpNBT { + public static void main(String[] args) throws IOException { + if (args.length > 0) { + FileInputStream fin = new FileInputStream(args[0]); + + try { + GZIPInputStream gzin = new GZIPInputStream(fin); + + try { + DataInputStream in = new DataInputStream(gzin); + + try { + Tag root = NamedTag.read(in); + System.out.println(root.dumpTree()); + } catch (Throwable var9) { + try { + in.close(); + } catch (Throwable var8) { + var9.addSuppressed(var8); + } + + throw var9; + } + + in.close(); + } catch (Throwable var10) { + try { + gzin.close(); + } catch (Throwable var7) { + var10.addSuppressed(var7); + } + + throw var10; + } + + gzin.close(); + } catch (Throwable var11) { + try { + fin.close(); + } catch (Throwable var6) { + var11.addSuppressed(var6); + } + + throw var11; + } + + fin.close(); + } else { + System.err.println("Missing filename argument."); + System.err.println("Usage: DumpNBT "); + } + + } +} diff --git a/src/main/java/se/llbit/nbt/ErrorTag.java b/src/main/java/se/llbit/nbt/ErrorTag.java new file mode 100644 index 0000000..bf30a6d --- /dev/null +++ b/src/main/java/se/llbit/nbt/ErrorTag.java @@ -0,0 +1,51 @@ +package se.llbit.nbt; + +import java.io.DataOutputStream; + +public class ErrorTag extends SpecificTag { + public final String message; + + public void write(DataOutputStream out) { + throw new RuntimeException("Cannot write an error tag to NBT stream (" + this.getError() + ")"); + } + + public ErrorTag(String message) { + this.message = message; + } + + public String getError() { + return this.message != null ? this.message : ""; + } + + public String extraInfo() { + return ": \"" + this.getError() + "\""; + } + + public String type() { + return "Tag.Error"; + } + + public int tagType() { + throw new Error("Cannot write an error tag to NBT stream (" + this.getError() + ")"); + } + + public String tagName() { + return "Tag.Error"; + } + + public boolean isEnd() { + return true; + } + + public boolean isError() { + return true; + } + + public String error() { + return this.getError(); + } + + public boolean equals(Object obj) { + return false; + } +} diff --git a/src/main/java/se/llbit/nbt/FloatTag.java b/src/main/java/se/llbit/nbt/FloatTag.java new file mode 100644 index 0000000..90ab2c3 --- /dev/null +++ b/src/main/java/se/llbit/nbt/FloatTag.java @@ -0,0 +1,61 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +public class FloatTag extends SpecificTag { + public final float value; + + public static SpecificTag read(DataInputStream in) { + try { + return new FloatTag(in.readFloat()); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_Float:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeFloat(this.getData()); + } + + public FloatTag(float value) { + this.value = value; + } + + public float getData() { + return this.value; + } + + public String extraInfo() { + return ": " + this.getData(); + } + + public String type() { + return "TAG_Float"; + } + + public String tagName() { + return "TAG_Float"; + } + + public int tagType() { + return 5; + } + + public float floatValue() { + return this.getData(); + } + + public float floatValue(float defaultValue) { + return this.getData(); + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof FloatTag && ((FloatTag)obj).value == this.value; + } + + public int hashCode() { + return Float.floatToRawIntBits(this.value); + } +} diff --git a/src/main/java/se/llbit/nbt/IntArrayTag.java b/src/main/java/se/llbit/nbt/IntArrayTag.java new file mode 100644 index 0000000..4d291b1 --- /dev/null +++ b/src/main/java/se/llbit/nbt/IntArrayTag.java @@ -0,0 +1,87 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.Arrays; + +public class IntArrayTag extends SpecificTag { + public final int[] value; + + public static SpecificTag read(DataInputStream in) { + try { + int length = in.readInt(); + int[] data = new int[length]; + + for(int i = 0; i < length; ++i) { + data[i] = in.readInt(); + } + + return new IntArrayTag(data); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_Int_Array:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeInt(this.value.length); + + for(int i = 0; i < this.value.length; ++i) { + out.writeInt(this.value[i]); + } + + } + + static void skip(DataInputStream in) { + try { + int length = in.readInt(); + in.skipBytes(length * 4); + } catch (IOException var2) { + } + + } + + public IntArrayTag(int[] data) { + this.value = data; + } + + public int[] getData() { + return this.value; + } + + public String extraInfo() { + return ": " + this.value.length; + } + + public String tagName() { + return "TAG_Int_Array"; + } + + public String type() { + return "TAG_Int_Array"; + } + + public int tagType() { + return 11; + } + + public int[] intArray() { + return this.value; + } + + public int[] intArray(int[] defaultValue) { + return this.value; + } + + public boolean isIntArray(int size) { + return this.value.length >= size; + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof IntArrayTag && Arrays.equals(((IntArrayTag)obj).value, this.value); + } + + public int hashCode() { + return Arrays.hashCode(this.value); + } +} diff --git a/src/main/java/se/llbit/nbt/IntTag.java b/src/main/java/se/llbit/nbt/IntTag.java new file mode 100644 index 0000000..b7bac08 --- /dev/null +++ b/src/main/java/se/llbit/nbt/IntTag.java @@ -0,0 +1,73 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +public class IntTag extends SpecificTag { + public final int value; + + public static SpecificTag read(DataInputStream in) { + try { + return new IntTag(in.readInt()); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_Int:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeInt(this.value); + } + + public IntTag(boolean boolValue) { + this(boolValue ? 1 : 0); + } + + public IntTag(int value) { + this.value = value; + } + + public int getData() { + return this.value; + } + + public String extraInfo() { + return ": " + this.getData(); + } + + public String type() { + return "TAG_Int"; + } + + public String tagName() { + return "TAG_Int"; + } + + public int tagType() { + return 3; + } + + public boolean boolValue() { + return this.getData() != 0; + } + + public boolean boolValue(boolean defaultValue) { + return this.getData() != 0; + } + + public int intValue() { + return this.getData(); + } + + public int intValue(int defaultValue) { + return this.getData(); + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof IntTag && ((IntTag)obj).value == this.value; + } + + public int hashCode() { + return this.value; + } +} diff --git a/src/main/java/se/llbit/nbt/ListTag.java b/src/main/java/se/llbit/nbt/ListTag.java new file mode 100644 index 0000000..4a0096f --- /dev/null +++ b/src/main/java/se/llbit/nbt/ListTag.java @@ -0,0 +1,174 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Set; + +public class ListTag extends SpecificTag implements Iterable { + public final int type; + public final List items; + + public static SpecificTag read(DataInputStream in) { + try { + byte itemType = in.readByte(); + int numItems = in.readInt(); + if (itemType == 0 && numItems > 0) { + return new ErrorTag("Cannot create list of TAG_End"); + } else { + ListTag tagThis = new ListTag(itemType, Collections.emptyList()); + + for(int i = 0; i < numItems; ++i) { + SpecificTag last = SpecificTag.read(itemType, in); + tagThis.add(last); + } + + return tagThis; + } + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_List:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeByte(this.getType()); + out.writeInt(this.size()); + + for(SpecificTag item : this.items) { + item.write(out); + } + + } + + static Map partialParse(DataInputStream in, String prefix, Map result, Set request, Set prefixes) { + try { + byte itemType = in.readByte(); + int numItems = in.readInt(); + if (itemType == 0 && numItems > 0) { + return result; + } + + for(int i = 0; i < numItems; ++i) { + String tag = prefix + "." + i; + boolean parsed = NamedTag.partiallyParseTag(in, result, request, prefixes, itemType, tag); + if (parsed) { + if (request.isEmpty()) { + return result; + } + } else { + SpecificTag.skip(itemType, in); + } + } + } catch (IOException var10) { + } + + return result; + } + + static void skip(DataInputStream in) { + try { + byte itemType = in.readByte(); + int numItems = in.readInt(); + if (itemType == 0) { + return; + } + + for(int i = 0; i < numItems; ++i) { + SpecificTag.skip(itemType, in); + } + } catch (IOException var4) { + } + + } + + public ListTag(int type, List items) { + this.type = type; + this.items = new ArrayList(items); + } + + public int getType() { + return this.type; + } + + public int size() { + return this.items.size(); + } + + public void add(SpecificTag node) { + this.items.add(node); + } + + public void set(int i, SpecificTag node) { + this.items.set(i, node); + } + + public String toString() { + return this.dumpTree(); + } + + public String type() { + return "TAG_List"; + } + + public void printTag(StringBuilder buff, String indent) { + buff.append(indent); + this.printTagInfo(buff); + + for(Tag item : this.items) { + item.printTag(buff, indent + " "); + } + + } + + public String tagName() { + return "TAG_List"; + } + + public int tagType() { + return 9; + } + + public boolean isList() { + return true; + } + + public Tag get(int i) { + return (Tag)this.items.get(i); + } + + public Iterator iterator() { + return this.items.iterator(); + } + + public ListTag asList() { + return this; + } + + public boolean isEmpty() { + return this.items.isEmpty(); + } + + public boolean equals(Object obj) { + if (obj == this) { + return true; + } else { + return !(obj instanceof ListTag) ? false : this.items.equals(((ListTag)obj).items); + } + } + + public int hashCode() { + int code = 0; + + for(SpecificTag tag : this.items) { + code *= 31; + code ^= tag.hashCode(); + } + + return code; + } +} diff --git a/src/main/java/se/llbit/nbt/LongArrayTag.java b/src/main/java/se/llbit/nbt/LongArrayTag.java new file mode 100644 index 0000000..ab5ab11 --- /dev/null +++ b/src/main/java/se/llbit/nbt/LongArrayTag.java @@ -0,0 +1,87 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.Arrays; + +public class LongArrayTag extends SpecificTag { + public final long[] value; + + public static SpecificTag read(DataInputStream in) { + try { + int length = in.readInt(); + long[] data = new long[length]; + + for(int i = 0; i < length; ++i) { + data[i] = in.readLong(); + } + + return new LongArrayTag(data); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_Long_Array:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeInt(this.value.length); + + for(int i = 0; i < this.value.length; ++i) { + out.writeLong(this.value[i]); + } + + } + + static void skip(DataInputStream in) { + try { + int length = in.readInt(); + in.skipBytes(length * 8); + } catch (IOException var2) { + } + + } + + public LongArrayTag(long[] data) { + this.value = data; + } + + public long[] getData() { + return this.value; + } + + public String extraInfo() { + return ": " + this.value.length; + } + + public String tagName() { + return "TAG_Long_Array"; + } + + public String type() { + return "TAG_Long_Array"; + } + + public int tagType() { + return 12; + } + + public long[] longArray() { + return this.value; + } + + public long[] longArray(long[] defaultValue) { + return this.value; + } + + public boolean isLongArray(int size) { + return this.value.length >= size; + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof LongArrayTag && Arrays.equals(((LongArrayTag)obj).value, this.value); + } + + public int hashCode() { + return Arrays.hashCode(this.value); + } +} diff --git a/src/main/java/se/llbit/nbt/LongTag.java b/src/main/java/se/llbit/nbt/LongTag.java new file mode 100644 index 0000000..afab294 --- /dev/null +++ b/src/main/java/se/llbit/nbt/LongTag.java @@ -0,0 +1,69 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +public class LongTag extends SpecificTag { + public final long value; + + public static SpecificTag read(DataInputStream in) { + try { + return new LongTag(in.readLong()); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_Long:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeLong(this.getData()); + } + + public LongTag(long value) { + this.value = value; + } + + public long getData() { + return this.value; + } + + public String extraInfo() { + return ": " + this.getData(); + } + + public String type() { + return "TAG_Long"; + } + + public String tagName() { + return "TAG_Long"; + } + + public int tagType() { + return 4; + } + + public boolean boolValue() { + return this.getData() != 0L; + } + + public boolean boolValue(boolean defaultValue) { + return this.getData() != 0L; + } + + public long longValue() { + return this.getData(); + } + + public long longValue(long defaultValue) { + return this.getData(); + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof LongTag && ((LongTag)obj).value == this.value; + } + + public int hashCode() { + return (int)this.value; + } +} diff --git a/src/main/java/se/llbit/nbt/NamedTag.java b/src/main/java/se/llbit/nbt/NamedTag.java new file mode 100644 index 0000000..5f77268 --- /dev/null +++ b/src/main/java/se/llbit/nbt/NamedTag.java @@ -0,0 +1,148 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Set; + +public class NamedTag extends Tag { + public final String name; + public final SpecificTag tag; + + public NamedTag(String name, SpecificTag tag) { + this.name = name; + this.tag = tag; + } + + public static Tag read(DataInputStream in) { + try { + byte type = in.readByte(); + if (type == 0) { + return Tag.END; + } else { + SpecificTag name = StringTag.read(in); + SpecificTag payload = SpecificTag.read(type, in); + return new NamedTag(name.stringValue(), payload); + } + } catch (IOException e) { + return new ErrorTag("IOException while reading tag type:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + this.getTag().writeType(out); + StringTag.write(out, this.name); + this.getTag().write(out); + } + + public static Map quickParse(DataInputStream in, Set request) { + Map result = new HashMap(); + Set prefixes = new HashSet(); + + for(String tag : request) { + String[] parts = tag.split("\\."); + String prefix = ""; + + for(int i = 0; i < parts.length - 1; ++i) { + if (i > 0) { + prefix = prefix + "."; + } + + prefix = prefix + parts[i]; + prefixes.add(prefix); + } + } + + for(String tag : request) { + result.put(tag, new ErrorTag("[not loaded]")); + } + + return partialParse(in, result, request, prefixes); + } + + private static Map partialParse(DataInputStream in, Map result, Set request, Set prefixes) { + try { + byte type = in.readByte(); + if (type != 0) { + SpecificTag name = StringTag.read(in); + String tag = name.stringValue(); + partiallyParseTag(in, result, request, prefixes, type, tag); + } + } catch (IOException var7) { + } + + return result; + } + + static boolean partiallyParseTag(DataInputStream in, Map result, Set request, Set prefixes, byte type, String tag) { + if (request.contains(tag)) { + SpecificTag payload = SpecificTag.read(type, in); + result.put(tag, payload); + request.remove(tag); + return true; + } else if (prefixes.contains(tag)) { + if (type == 9) { + ListTag.partialParse(in, tag, result, request, prefixes); + } else if (type == 10) { + CompoundTag.partialParse(in, tag, result, request, prefixes); + } + + return true; + } else { + return false; + } + } + + public String name() { + return this.name; + } + + public SpecificTag getTag() { + return this.tag; + } + + public String tagName() { + return "TAG:named"; + } + + public Tag unpack() { + return this.getTag(); + } + + public boolean isNamed(String name) { + return this.name.equals(name); + } + + public void printTag(StringBuilder buff, String indent) { + buff.append(indent); + this.printTagInfo(buff); + buff.append(indent).append(" ").append("TAG_String: \"").append(this.name).append("\"\n"); + this.tag.printTag(buff, indent + " "); + } + + public ListTag asList() { + return this.tag.asList(); + } + + public CompoundTag asCompound() { + return this.tag.asCompound(); + } + + public boolean equals(Object obj) { + if (obj == this) { + return true; + } else if (!(obj instanceof NamedTag)) { + return false; + } else { + NamedTag other = (NamedTag)obj; + return this.name.equals(other.name) && this.tag.equals(other.tag); + } + } + + public int hashCode() { + return this.name.hashCode() * 31 ^ this.tag.hashCode(); + } +} diff --git a/src/main/java/se/llbit/nbt/ShortTag.java b/src/main/java/se/llbit/nbt/ShortTag.java new file mode 100644 index 0000000..ee2ac04 --- /dev/null +++ b/src/main/java/se/llbit/nbt/ShortTag.java @@ -0,0 +1,69 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +public class ShortTag extends SpecificTag { + public final short value; + + public static SpecificTag read(DataInputStream in) { + try { + return new ShortTag(in.readShort()); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_Short:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + out.writeShort(this.getData()); + } + + public ShortTag(short value) { + this.value = value; + } + + public short getData() { + return this.value; + } + + public String extraInfo() { + return ": " + this.getData(); + } + + public String type() { + return "TAG_Short"; + } + + public String tagName() { + return "TAG_Short"; + } + + public int tagType() { + return 2; + } + + public boolean boolValue() { + return this.getData() != 0; + } + + public boolean boolValue(boolean defaultValue) { + return this.getData() != 0; + } + + public short shortValue() { + return this.getData(); + } + + public short shortValue(short defaultValue) { + return this.getData(); + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof ShortTag && ((ShortTag)obj).value == this.value; + } + + public int hashCode() { + return this.value; + } +} diff --git a/src/main/java/se/llbit/nbt/SpecificTag.java b/src/main/java/se/llbit/nbt/SpecificTag.java new file mode 100644 index 0000000..1f0b55f --- /dev/null +++ b/src/main/java/se/llbit/nbt/SpecificTag.java @@ -0,0 +1,83 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +public abstract class SpecificTag extends Tag { + public static SpecificTag read(byte type, DataInputStream in) { + switch (type) { + case 1 -> { + return ByteTag.read(in); + } + case 2 -> { + return ShortTag.read(in); + } + case 3 -> { + return IntTag.read(in); + } + case 4 -> { + return LongTag.read(in); + } + case 5 -> { + return FloatTag.read(in); + } + case 6 -> { + return DoubleTag.read(in); + } + case 7 -> { + return ByteArrayTag.read(in); + } + case 8 -> { + return StringTag.read(in); + } + case 9 -> { + return ListTag.read(in); + } + case 10 -> { + return CompoundTag.read(in); + } + case 11 -> { + return IntArrayTag.read(in); + } + case 12 -> { + return LongArrayTag.read(in); + } + default -> { + return new ErrorTag("Unknown tag type: " + type); + } + } + } + + public void writeType(DataOutputStream out) throws IOException { + out.writeByte(this.tagType()); + } + + static void skip(byte type, DataInputStream in) { + try { + switch (type) { + case 1 -> in.skipBytes(1); + case 2 -> in.skipBytes(2); + case 3 -> in.skipBytes(4); + case 4 -> in.skipBytes(8); + case 5 -> in.skipBytes(4); + case 6 -> in.skipBytes(8); + case 7 -> ByteArrayTag.skip(in); + case 8 -> StringTag.skip(in); + case 9 -> ListTag.skip(in); + case 10 -> CompoundTag.skip(in); + case 11 -> IntArrayTag.skip(in); + case 12 -> LongArrayTag.skip(in); + } + } catch (IOException var3) { + } + + } + + public SpecificTag clone() throws CloneNotSupportedException { + SpecificTag node = (SpecificTag)super.clone(); + return node; + } + + public abstract int tagType(); +} diff --git a/src/main/java/se/llbit/nbt/StringTag.java b/src/main/java/se/llbit/nbt/StringTag.java new file mode 100644 index 0000000..226cc86 --- /dev/null +++ b/src/main/java/se/llbit/nbt/StringTag.java @@ -0,0 +1,78 @@ +package se.llbit.nbt; + +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +public class StringTag extends SpecificTag { + public final String value; + + public static SpecificTag read(DataInputStream in) { + try { + return new StringTag(in.readUTF()); + } catch (IOException e) { + return new ErrorTag("IOException while reading TAG_String:\n" + e.getMessage()); + } + } + + public void write(DataOutputStream out) throws IOException { + write(out, this.value); + } + + static void write(DataOutputStream out, String data) throws IOException { + out.writeUTF(data); + } + + static void skip(DataInputStream in) { + try { + short length = in.readShort(); + in.skipBytes(length); + } catch (IOException var2) { + } + + } + + public StringTag(String value) { + this.value = value; + } + + public String getData() { + return this.value != null ? this.value : ""; + } + + public String extraInfo() { + return ": \"" + this.getData() + "\""; + } + + public String type() { + return "TAG_String"; + } + + public String tagName() { + return "TAG_String"; + } + + public int tagType() { + return 8; + } + + public String stringValue() { + return this.getData(); + } + + public String stringValue(String defaultValue) { + return this.getData(); + } + + public boolean same(String name) { + return this.getData().equals(name); + } + + public boolean equals(Object obj) { + return this == obj || obj instanceof StringTag && ((StringTag)obj).value.equals(this.value); + } + + public int hashCode() { + return this.value.hashCode(); + } +} diff --git a/src/main/java/se/llbit/nbt/Tag.java b/src/main/java/se/llbit/nbt/Tag.java new file mode 100644 index 0000000..f5e89cb --- /dev/null +++ b/src/main/java/se/llbit/nbt/Tag.java @@ -0,0 +1,223 @@ +package se.llbit.nbt; + +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.Collections; + +public abstract class Tag { + public static final int TAG_END = 0; + public static final int TAG_BYTE = 1; + public static final int TAG_SHORT = 2; + public static final int TAG_INT = 3; + public static final int TAG_LONG = 4; + public static final int TAG_FLOAT = 5; + public static final int TAG_DOUBLE = 6; + public static final int TAG_BYTE_ARRAY = 7; + public static final int TAG_STRING = 8; + public static final int TAG_LIST = 9; + public static final int TAG_COMPOUND = 10; + public static final int TAG_INT_ARRAY = 11; + public static final int TAG_LONG_ARRAY = 12; + private static final ListTag EMPTY_LIST = new ListTag(0, Collections.emptyList()); + private static final CompoundTag EMPTY_COMPOUND = new CompoundTag(); + public static final SpecificTag END = new SpecificTag() { + public void write(DataOutputStream out) throws IOException { + this.writeType(out); + } + + public String tagName() { + return "TAG_End"; + } + + public int tagType() { + return 0; + } + + public boolean isEnd() { + return true; + } + }; + + protected Tag() { + } + + public abstract String tagName(); + + public boolean isError() { + return false; + } + + public boolean isNamed(String name) { + return false; + } + + public boolean same(String name) { + return false; + } + + public String dumpTree() { + StringBuilder buff = new StringBuilder(4096); + this.printTag(buff, ""); + return buff.toString(); + } + + public void printTagInfo(StringBuilder buff) { + buff.append(this.tagName()).append(this.extraInfo()).append('\n'); + } + + public void printTag(StringBuilder buff, String indent) { + buff.append(indent); + this.printTagInfo(buff); + } + + public String extraInfo() { + return ""; + } + + public abstract void write(DataOutputStream var1) throws IOException; + + public String toString() { + String var10000 = this.tagName(); + return var10000 + this.extraInfo(); + } + + public boolean isEnd() { + return false; + } + + public Tag unpack() { + return this; + } + + public String error() { + return ""; + } + + public boolean boolValue() { + return false; + } + + public boolean boolValue(boolean defaultValue) { + return defaultValue; + } + + public int byteValue() { + return 0; + } + + public int byteValue(int defaultValue) { + return defaultValue; + } + + public short shortValue() { + return 0; + } + + public short shortValue(short defaultValue) { + return defaultValue; + } + + public int intValue() { + return 0; + } + + public int intValue(int defaultValue) { + return defaultValue; + } + + public long longValue() { + return 0L; + } + + public long longValue(long defaultValue) { + return defaultValue; + } + + public float floatValue() { + return 0.0F; + } + + public float floatValue(float defaultValue) { + return defaultValue; + } + + public double doubleValue() { + return (double)0.0F; + } + + public double doubleValue(double defaultValue) { + return defaultValue; + } + + public String stringValue() { + return ""; + } + + public String stringValue(String defaultValue) { + return defaultValue; + } + + public byte[] byteArray() { + return new byte[0]; + } + + public byte[] byteArray(byte[] defaultValue) { + return defaultValue; + } + + public int[] intArray() { + return new int[0]; + } + + public int[] intArray(int[] defaultValue) { + return defaultValue; + } + + public long[] longArray() { + return new long[0]; + } + + public long[] longArray(long[] defaultValue) { + return defaultValue; + } + + public boolean isCompoundTag() { + return false; + } + + public boolean isList() { + return false; + } + + public boolean isByteArray(int size) { + return false; + } + + public boolean isIntArray(int size) { + return false; + } + + public boolean isLongArray(int size) { + return false; + } + + public Tag get(String name) { + return new ErrorTag("Cannot index-by-name in a non-CompoundTag"); + } + + public void set(int i, SpecificTag tag) { + throw new Error("Cannot set item in non-list tag."); + } + + public Tag get(int i) { + return new ErrorTag("Cannot index a non-ListTag"); + } + + public ListTag asList() { + return EMPTY_LIST; + } + + public CompoundTag asCompound() { + return EMPTY_COMPOUND; + } +} diff --git a/src/main/resources/CONTRIBUTING.md b/src/main/resources/CONTRIBUTING.md new file mode 100644 index 0000000..5a0111a --- /dev/null +++ b/src/main/resources/CONTRIBUTING.md @@ -0,0 +1,63 @@ +# Contributing + +We welcome your code contributions. Before submitting code via a GitHub pull request or by filing a bug in [bugs.mysql.com](https://bugs.mysql.com), you will need to have signed the Oracle Contributor Agreement. Consult the [OCA Page](https://oca.opensource.oracle.com) for additional information. + +**Only pull requests from committers that can be verified as having signed the OCA can be accepted.** + +## Submitting Code Contributions + +1. Make sure you have a user account at [bugs.mysql.com](https://bugs.mysql.com). You'll need to reference this user account when you submit your OCA (Oracle Contributor Agreement). +2. Sign the Oracle OCA. You can find instructions for doing that at the [OCA Page](https://oca.opensource.oracle.com). +3. Validate your contribution by including tests that sufficiently cover the functionality. +4. Verify that the entire test suite passes with your code applied. +5. Submit your pull request via [GitHub](https://github.com/mysql/mysql-connector-j/pulls/) or uploading it to a bug record in [bugs.mysql.com](https://bugs.mysql.com) using the _Contributions_ tab. + +## None-Code Contributions + +Submissions Other than Code. These terms apply to all of Your Submissions other than code contributions. + +"You" means you personally, as well as any person or entity on whose behalf you are Using the Site. "You" does not include Oracle or its employees using the Site on Oracle's behalf. "Use" and its variants are to be interpreted in their broadest sense and include, without limitation, the acts of using, accessing, receiving, browsing, downloading from, and uploading to. A "User" is a person or entity who Uses the site. "Submissions" means any materials (other than code contributions), including but not limited to technology specifications, technical materials, documentation, discussion thread postings, blogs, wikis, data, and any other content, information, technology or services submitted to by You to the site. + +You hereby grant to Oracle and all Users a royalty-free, perpetual, irrevocable, worldwide, non-exclusive and fully sub-licensable right and license under Your intellectual property rights to reproduce, modify, adapt, publish, translate, create derivative works from, distribute, perform, display and use Your Submissions (in whole or part) and to incorporate or implement them in other works in any form, media, or technology now known or later developed. This includes, without limitation, the right to incorporate or implement the Submission into any product or service, and to display, market, sublicense and distribute the Submissions as incorporated or embedded in any product or service distributed or offered by Oracle without compensation to you. + +All Users, Oracle, and their sublicensees are responsible for any modifications they make to the Submissions of others. + +## Contributing Guidelines + +We greatly appreciate feedback from our users, including bug reports and code contributions. Your input helps us improve, and we thank you for any issues you report or code you contribute. + +### Reporting Issues + +Before submitting a new bug report, please [check here](https://bugs.mysql.com/search.php) to see if the issue has already been reported. + +When reporting a bug, ensure your report is as detailed as possible. Please include the following: + +* Clear, reproducible steps to demonstrate the issue. +* Relevant platform and environment information. +* The specific version of the product in use. +* The version of the MySQL Server in use. +* Sample code that can help reproduce the issue, if applicable. + +### Setting Up a Development Environment + +You can use your preferred Java IDE to view, edit, and compile the MySQL Connector/J source code. For project configuration, please refer to the instructions in [Installing from Source](https://dev.mysql.com/doc/connector-j/en/connector-j-installing-source.html). + +To run the full test suite or individual test cases, configure the necessary Ant properties within your IDE preferences. For further details, see [Testing Connector/J](https://dev.mysql.com/doc/connector-j/en/connector-j-testing.html). + +### Getting Help + +If you need assistance or would like to reach out to the community, please use the following resources: + +* [MySQL Connector/J Developer Guide](https://dev.mysql.com/doc/connector-j/en/). +* [MySQL Connector/J X DevAPI Reference](https://dev.mysql.com/doc/dev/connector-j/). +* [MySQL Connector/J, JDBC and Java Forum](https://forums.mysql.com/list.php?39). +* [`#connectors` channel on MySQL Community Slack](https://mysqlcommunity.slack.com/messages/connectors/) ([Sign-up](https://lefred.be/mysql-community-on-slack/) required if you do not have an Oracle account.) +* [@MySQL on X](https://x.com/MySQL/). +* [MySQL Blog](https://blogs.oracle.com/mysql/). +* [MySQL Connectors Blog archive](https://dev.mysql.com/blog-archive/?cat=Connectors%20%2F%20Languages). +* [MySQL Newsletter](https://www.mysql.com/news-and-events/newsletter/). +* [MySQL Bugs Tracking System](https://bugs.mysql.com). + +We look forward to hearing from you and encourage you to get involved. Happy coding! + +[![X Follow](https://img.shields.io/twitter/follow/MySQL?style=social)](https://x.com/intent/follow?screen_name=MySQL) diff --git a/src/main/resources/INFO_BIN b/src/main/resources/INFO_BIN new file mode 100644 index 0000000..bc76b5d --- /dev/null +++ b/src/main/resources/INFO_BIN @@ -0,0 +1,4 @@ +build-date: 2026-07-06 06:46:54 +0000 +os-info: Linux amd64 6.12.0-203.76.7.3.el9uek.x86_64 +compiler: javac 1.8.0_461 +build-tool: Apache Ant(TM) version 1.10.14 compiled on August 16 2023 diff --git a/src/main/resources/INFO_SRC b/src/main/resources/INFO_SRC new file mode 100644 index 0000000..8a148b6 --- /dev/null +++ b/src/main/resources/INFO_SRC @@ -0,0 +1,5 @@ +version: 26.7.0 +branch: release/26.7.0 +date: 2026-06-23 12:42:44 +0100 +commit: 559f62df01d4f618440da174ff45ba87f7b3b2a8 +short: 559f62df diff --git a/src/main/resources/LICENSE b/src/main/resources/LICENSE new file mode 100644 index 0000000..36e48ec --- /dev/null +++ b/src/main/resources/LICENSE @@ -0,0 +1,29 @@ +Copyright (c) 2012, md_5. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +The name of the author may not be used to endorse or promote products derived +from this software without specific prior written permission. + +You may not use the software for commercial software hosting services without +written permission from the author. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/main/resources/LICENSE.txt b/src/main/resources/LICENSE.txt new file mode 100644 index 0000000..e43a8af --- /dev/null +++ b/src/main/resources/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2015-2019 Waterfall Team + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/main/resources/Log4j-charsets.properties b/src/main/resources/Log4j-charsets.properties new file mode 100644 index 0000000..d5d615a --- /dev/null +++ b/src/main/resources/Log4j-charsets.properties @@ -0,0 +1,50 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to you under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Mapping based on https://msdn.microsoft.com/en-us/en-en/library/windows/desktop/dd317756(v=vs.85).aspx +# Reference for supported Java encodings: https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html +cp65001 = UTF-8 +cp20127 = US-ASCII +cp54936 = gb18030 +cp28592 = iso-8859-2 +cp28593 = iso-8859-3 +cp28594 = iso-8859-4 +cp28595 = iso-8859-5 +cp28596 = iso-8859-6 +cp28597 = iso-8859-7 +cp28598 = iso-8859-8 +cp28599 = iso-8859-9 +cp28603 = iso-8859-13 +cp28605 = iso-8859-15 +cp51949 = euc-kr +cp20866 = koi8-r +cp21866 = koi8-u +cp10000 = x-MacRoman +cp10006 = x-MacGreek +cp10007 = x-MacCyrillic +cp10029 = x-MacCentralEurope +cp10081 = x-MacTurkish +cp57002 = x-ISCII91 +cp57003 = x-ISCII91 +cp57011 = x-ISCII91 +cp57010 = x-ISCII91 +cp57007 = x-ISCII91 +cp57004 = x-ISCII91 +cp57005 = x-ISCII91 +cp57008 = x-ISCII91 +cp57009 = x-ISCII91 +cp708 = ISO-8859-6 diff --git a/src/main/resources/Log4j-events.dtd b/src/main/resources/Log4j-events.dtd new file mode 100644 index 0000000..a7c6a22 --- /dev/null +++ b/src/main/resources/Log4j-events.dtd @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/Log4j-events.xsd b/src/main/resources/Log4j-events.xsd new file mode 100644 index 0000000..529e21a --- /dev/null +++ b/src/main/resources/Log4j-events.xsd @@ -0,0 +1,81 @@ + + + + + + Log4J 2.0 XML Schema for XML log event files. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/Log4j-levels.xsd b/src/main/resources/Log4j-levels.xsd new file mode 100644 index 0000000..3ca10bb --- /dev/null +++ b/src/main/resources/Log4j-levels.xsd @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + diff --git a/src/main/resources/META-INF/DEPENDENCIES b/src/main/resources/META-INF/DEPENDENCIES new file mode 100644 index 0000000..26e8539 --- /dev/null +++ b/src/main/resources/META-INF/DEPENDENCIES @@ -0,0 +1,119 @@ +// ------------------------------------------------------------------ +// Transitive dependencies of this project determined from the +// maven pom organized by organization. +// ------------------------------------------------------------------ + +Apache Log4j Core + + +From: 'an unknown organization' + + - Disruptor Framework (http://lmax-exchange.github.com/disruptor) com.lmax:disruptor:jar:3.4.4 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + + - eu.neilalexander:jnacl (https://github.com/neilalexander/jnacl) eu.neilalexander:jnacl:jar:1.0.0 + License: The BSD 2-Clause License (http://opensource.org/licenses/bsd-license.php) + + - JavaBeans Activation Framework (JAF) (http://java.sun.com/products/javabeans/jaf/index.jsp) javax.activation:activation:jar:1.1 + License: Common Development and Distribution License (CDDL) v1.0 (https://glassfish.dev.java.net/public/CDDLv1.0.html) + + - Apache Kafka (https://kafka.apache.org) org.apache.kafka:kafka-clients:jar:3.9.1 + License: The Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + + - Java Concurrency Tools Core Library (https://github.com/JCTools) org.jctools:jctools-core:bundle:4.0.5 + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + + - LZ4 and xxHash (https://github.com/lz4/lz4-java) org.lz4:lz4-java:jar:1.8.0 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + + - SnakeYAML (https://bitbucket.org/snakeyaml/snakeyaml) org.yaml:snakeyaml:bundle:2.4 + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + + - JeroMQ (https://github.com/zeromq/jeromq) org.zeromq:jeromq:jar:0.6.0 + License: Mozilla Public License version 2.0 (https://www.mozilla.org/en-US/MPL/2.0) + + +From: 'com.github.luben' + + - zstd-jni (https://github.com/luben/zstd-jni) com.github.luben:zstd-jni:jar:1.5.7-4 + License: BSD 2-Clause License (https://opensource.org/licenses/BSD-2-Clause) + + +From: 'Conversant Engineering' (http://engineering.conversantmedia.com) + + - com.conversantmedia:disruptor (https://github.com/conversant/disruptor) com.conversantmedia:disruptor:jar:1.2.15 + License: The Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + + +From: 'FasterXML' (http://fasterxml.com) + + - Woodstox (https://github.com/FasterXML/woodstox) com.fasterxml.woodstox:woodstox-core:bundle:7.1.1 + License: The Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + + +From: 'FasterXML' (http://fasterxml.com/) + + - Jackson-annotations (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-annotations:jar:2.19.1 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + - Jackson-core (https://github.com/FasterXML/jackson-core) com.fasterxml.jackson.core:jackson-core:jar:2.19.1 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + - jackson-databind (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-databind:jar:2.19.1 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + - Jackson-dataformat-XML (https://github.com/FasterXML/jackson-dataformat-xml) com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.19.1 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + + - Jackson-dataformat-YAML (https://github.com/FasterXML/jackson-dataformats-text) com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.19.1 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + +From: 'fasterxml.com' (http://fasterxml.com) + + - Stax2 API (http://github.com/FasterXML/stax2-api) org.codehaus.woodstox:stax2-api:bundle:4.2.2 + License: The BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) + + +From: 'Oracle' (http://www.oracle.com) + + - JavaMail API (http://javaee.github.io/javamail/javax.mail) com.sun.mail:javax.mail:jar:1.6.2 + License: CDDL/GPLv2+CE (https://javaee.github.io/javamail/LICENSE) + + +From: 'QOS.ch' (http://www.qos.ch) + + - SLF4J API Module (http://www.slf4j.org) org.slf4j:slf4j-api:jar:1.7.13 + License: MIT License (http://www.opensource.org/licenses/mit-license.php) + + +From: 'The Apache Software Foundation' (https://www.apache.org/) + + - Apache Commons Codec (https://commons.apache.org/proper/commons-codec/) commons-codec:commons-codec:jar:1.18.0 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + - Apache Commons IO (https://commons.apache.org/proper/commons-io/) commons-io:commons-io:jar:2.19.0 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + - Apache Commons Compress (https://commons.apache.org/proper/commons-compress/) org.apache.commons:commons-compress:jar:1.27.1 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + - Apache Commons CSV (https://commons.apache.org/proper/commons-csv/) org.apache.commons:commons-csv:jar:1.14.0 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + - Apache Commons Lang (https://commons.apache.org/proper/commons-lang/) org.apache.commons:commons-lang3:jar:3.17.0 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + - Apache Log4j API (https://logging.apache.org/log4j/2.x/) org.apache.logging.log4j:log4j-api:jar:2.25.3 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + + +From: 'xerial.org' (https://github.com/xerial/snappy-java) + + - snappy-java (https://github.com/xerial/snappy-java) org.xerial.snappy:snappy-java:bundle:1.1.10.5 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.html) + + + + + diff --git a/src/main/resources/META-INF/LICENSE b/src/main/resources/META-INF/LICENSE new file mode 100644 index 0000000..6279e52 --- /dev/null +++ b/src/main/resources/META-INF/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 1999-2005 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/src/main/resources/META-INF/LICENSE.txt b/src/main/resources/META-INF/LICENSE.txt new file mode 100644 index 0000000..ff9ad45 --- /dev/null +++ b/src/main/resources/META-INF/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/src/main/resources/META-INF/MANIFEST.MF b/src/main/resources/META-INF/MANIFEST.MF new file mode 100644 index 0000000..292aeab --- /dev/null +++ b/src/main/resources/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Created-By: Maven JAR Plugin 3.5.1 +Java-Version: 11 +Build-Jdk-Spec: 21 +Enable-Native-Access: ALL-UNNAMED +Implementation-Version: git:Waterfall-Bootstrap:26.1-R0.1-SNAPSHOT:ba067 + 2f:unknown +Main-Class: net.md_5.bungee.Bootstrap +Multi-Release: true +Specification-Version: 20261122 + diff --git a/src/main/resources/META-INF/NOTICE b/src/main/resources/META-INF/NOTICE new file mode 100644 index 0000000..97ccc53 --- /dev/null +++ b/src/main/resources/META-INF/NOTICE @@ -0,0 +1,8 @@ +Apache Log4j Core +Copyright 1999-2012 Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +ResolverUtil.java +Copyright 2005-2006 Tim Fennell \ No newline at end of file diff --git a/src/main/resources/META-INF/NOTICE.txt b/src/main/resources/META-INF/NOTICE.txt new file mode 100644 index 0000000..7af763f --- /dev/null +++ b/src/main/resources/META-INF/NOTICE.txt @@ -0,0 +1,5 @@ +Apache Commons Codec +Copyright 2002-2026 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (https://www.apache.org/). diff --git a/src/main/resources/META-INF/io.netty.versions.properties b/src/main/resources/META-INF/io.netty.versions.properties new file mode 100644 index 0000000..d0c4ed2 --- /dev/null +++ b/src/main/resources/META-INF/io.netty.versions.properties @@ -0,0 +1,9 @@ +#Generated by netty-parent/pom.xml +#Wed, 09 Sep 2026 16:44:31 +0000 + +netty-codec-haproxy.version=4.2.18.Final +netty-codec-haproxy.buildDate=2026-09-09 16\:44\:31 +0000 +netty-codec-haproxy.commitDate=2026-09-09 16\:23\:06 +0000 +netty-codec-haproxy.shortCommitHash=2521f49 +netty-codec-haproxy.longCommitHash=2521f494432e27415a567d3a81a9eb907abf20b3 +netty-codec-haproxy.repoStatus=dirty diff --git a/src/main/resources/META-INF/jline/README.md b/src/main/resources/META-INF/jline/README.md new file mode 100644 index 0000000..33938fc --- /dev/null +++ b/src/main/resources/META-INF/jline/README.md @@ -0,0 +1,68 @@ + + +# JLine Provider Loading Mechanism + +This directory contains provider-specific resource files used for runtime loading of terminal providers. + +## Directory Structure + +``` +META-INF/jline/providers/ +├── exec - ExecTerminalProvider +└── dumb - DumbTerminalProvider +``` + +Additional providers are defined in other modules: +- `terminal-ffm/META-INF/jline/providers/ffm` - FfmTerminalProvider +- `terminal-jni/META-INF/jline/providers/jni` - JniTerminalProvider + +## Purpose + +These files enable loading terminal providers by name without instantiating all available providers. +This is critical because some providers (JNI, FFM) may fail to initialize due to missing native +libraries or platform-specific dependencies. + +## Relationship to META-INF/services + +JLine maintains two parallel service registration mechanisms: + +1. **META-INF/services/org.jline.terminal.spi.TerminalProvider** (Standard Java SPI) + - Used by jlink and JPMS module tools + - Required for proper module dependency resolution + - **NOT used at runtime by JLine** + +2. **META-INF/jline/providers/{name}** (JLine-specific) + - Used at runtime by `TerminalProvider.load(String name)` + - Allows on-demand loading of specific providers + - Avoids instantiation failures from unavailable providers + +## File Format + +Provider files follow standard Java SPI format: +- One fully qualified class name per line +- Comments start with `#` and extend to end of line +- Blank lines and whitespace are ignored + +Example: +``` +# JLine FFM Terminal Provider +org.jline.terminal.impl.ffm.FfmTerminalProvider +``` + +## More Information + +See `TerminalProvider.load()` javadoc for detailed documentation. diff --git a/src/main/resources/META-INF/jline/providers/dumb b/src/main/resources/META-INF/jline/providers/dumb new file mode 100644 index 0000000..5fd16fc --- /dev/null +++ b/src/main/resources/META-INF/jline/providers/dumb @@ -0,0 +1,18 @@ +# +# Copyright (C) 2026 the original author(s). +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# JLine Dumb Terminal Provider +org.jline.terminal.impl.DumbTerminalProvider diff --git a/src/main/resources/META-INF/jline/providers/exec b/src/main/resources/META-INF/jline/providers/exec new file mode 100644 index 0000000..0027d61 --- /dev/null +++ b/src/main/resources/META-INF/jline/providers/exec @@ -0,0 +1,18 @@ +# +# Copyright (C) 2026 the original author(s). +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# JLine Exec Terminal Provider +org.jline.terminal.impl.exec.ExecTerminalProvider diff --git a/src/main/resources/META-INF/jline/providers/ffm b/src/main/resources/META-INF/jline/providers/ffm new file mode 100644 index 0000000..c6c5620 --- /dev/null +++ b/src/main/resources/META-INF/jline/providers/ffm @@ -0,0 +1,18 @@ +# +# Copyright (C) 2026 the original author(s). +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# JLine FFM Terminal Provider +org.jline.terminal.impl.ffm.FfmTerminalProvider diff --git a/src/main/resources/META-INF/jline/providers/jni b/src/main/resources/META-INF/jline/providers/jni new file mode 100644 index 0000000..0c750f0 --- /dev/null +++ b/src/main/resources/META-INF/jline/providers/jni @@ -0,0 +1,18 @@ +# +# Copyright (C) 2026 the original author(s). +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# JLine JNI Terminal Provider +org.jline.terminal.impl.jni.JniTerminalProvider diff --git a/src/main/resources/META-INF/maven/com.google.code.gson/gson/pom.properties b/src/main/resources/META-INF/maven/com.google.code.gson/gson/pom.properties new file mode 100644 index 0000000..2d751d7 --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.code.gson/gson/pom.properties @@ -0,0 +1,3 @@ +artifactId=gson +groupId=com.google.code.gson +version=2.13.2 diff --git a/src/main/resources/META-INF/maven/com.google.code.gson/gson/pom.xml b/src/main/resources/META-INF/maven/com.google.code.gson/gson/pom.xml new file mode 100644 index 0000000..7a15ec7 --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.code.gson/gson/pom.xml @@ -0,0 +1,352 @@ + + + + 4.0.0 + + + com.google.code.gson + gson-parent + 2.13.2 + + + gson + Gson + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + + 2025-09-10T20:37:36Z + + **/Java17* + + + + + + com.google.errorprone + error_prone_annotations + 2.41.0 + + + + junit + junit + test + + + com.google.truth + truth + test + + + com.google.guava + guava-testlib + 33.4.8-jre + test + + + com.google.guava + guava + 33.4.8-jre + test + + + + + + + + org.codehaus.mojo + templating-maven-plugin + 3.0.0 + + + filtering-java-templates + + filter-sources + + + ${project.basedir}/src/main/java-templates + ${project.build.directory}/generated-sources/java-templates + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + default-compile + + + + module-info.java + + + + + + default-testCompile + test-compile + + testCompile + + + + ${excludeTestCompilation} + + + + + + + biz.aQute.bnd + bnd-maven-plugin + 6.4.0 + + + + bnd-process + + + + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + + --illegal-access=deny + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + verify + + + + + + com.coderplus.maven.plugins + copy-rename-maven-plugin + 1.0.1 + + + pre-obfuscate-class + process-test-classes + + rename + + + + + ${project.build.directory}/test-classes/com/google/gson/functional/EnumWithObfuscatedTest.class + ${project.build.directory}/test-classes-obfuscated-injar/com/google/gson/functional/EnumWithObfuscatedTest.class + + + ${project.build.directory}/test-classes/com/google/gson/functional/EnumWithObfuscatedTest$Gender.class + ${project.build.directory}/test-classes-obfuscated-injar/com/google/gson/functional/EnumWithObfuscatedTest$Gender.class + + + + + + + + com.github.wvengen + proguard-maven-plugin + 2.7.0 + + + obfuscate-test-class + process-test-classes + + proguard + + + + + + + com.guardsquare + proguard-base + 7.7.0 + + + com.guardsquare + proguard-core + 9.1.10 + + + + true + test-classes-obfuscated-injar + test-classes-obfuscated-outjar + **/*.class + ${project.basedir}/src/test/resources/testcases-proguard.conf + + ${project.build.directory}/classes + ${java.home}/jmods/java.base.jmod + + + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.1 + + + post-obfuscate-class + process-test-classes + + copy-resources + + + ${project.build.directory}/test-classes/com/google/gson/functional + + + ${project.build.directory}/test-classes-obfuscated-outjar/com/google/gson/functional + + EnumWithObfuscatedTest.class + EnumWithObfuscatedTest$Gender.class + + + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + + + + org.moditect + moditect-maven-plugin + 1.3.0.Final + + + add-module-info + package + + add-module-info + + + 9 + + ${project.build.sourceDirectory}/module-info.java + + + true + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + com.google.gson.internal:com.google.gson.internal.bind + + + + + + + + JDK17 + + [17,) + + + 17 + + + + + diff --git a/src/main/resources/META-INF/maven/com.google.errorprone/error_prone_annotations/pom.properties b/src/main/resources/META-INF/maven/com.google.errorprone/error_prone_annotations/pom.properties new file mode 100644 index 0000000..7d2eb47 --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.errorprone/error_prone_annotations/pom.properties @@ -0,0 +1,3 @@ +artifactId=error_prone_annotations +groupId=com.google.errorprone +version=2.41.0 diff --git a/src/main/resources/META-INF/maven/com.google.errorprone/error_prone_annotations/pom.xml b/src/main/resources/META-INF/maven/com.google.errorprone/error_prone_annotations/pom.xml new file mode 100644 index 0000000..a023913 --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.errorprone/error_prone_annotations/pom.xml @@ -0,0 +1,129 @@ + + + + + 4.0.0 + + + com.google.errorprone + error_prone_parent + 2.41.0 + + + error-prone annotations + error_prone_annotations + + + + junit + junit + ${junit.version} + test + + + + + + Apache 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + + + default-compile + + 1.8 + 1.8 + + module-info.java + + + + + compile-java9 + + compile + + + 9 + 9 + 9 + true + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + + + + /META-INF/versions/9/com/**/*.class + + + + + biz.aQute.bnd + bnd-maven-plugin + 6.4.0 + + + generate-OSGi-manifest + none + + + generate-OSGi-manifest-annotations + + bnd-process + + + + + + + + + + + diff --git a/src/main/resources/META-INF/maven/com.google.guava/failureaccess/pom.properties b/src/main/resources/META-INF/maven/com.google.guava/failureaccess/pom.properties new file mode 100644 index 0000000..711ebd3 --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.guava/failureaccess/pom.properties @@ -0,0 +1,3 @@ +artifactId=failureaccess +groupId=com.google.guava +version=1.0.3 diff --git a/src/main/resources/META-INF/maven/com.google.guava/failureaccess/pom.xml b/src/main/resources/META-INF/maven/com.google.guava/failureaccess/pom.xml new file mode 100644 index 0000000..077a86a --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.guava/failureaccess/pom.xml @@ -0,0 +1,155 @@ + + + 4.0.0 + + com.google.guava + guava-parent + 33.4.0-android + + failureaccess + 1.0.3 + jar + Guava InternalFutureFailureAccess and InternalFutures + + Contains + com.google.common.util.concurrent.internal.InternalFutureFailureAccess and + InternalFutures. Most users will never need to use this artifact. Its + classes are conceptually a part of Guava, but they're in this separate + artifact so that Android libraries can use them without pulling in all of + Guava (just as they can use ListenableFuture by depending on the + listenablefuture artifact). + + + + + maven-compiler-plugin + + + default-compile + + compile + + + 8 + + module-info.java + + + + -sourcepath + doesnotexist + + + + + compile-java9 + + compile + + + 9 + + ${project.basedir}/src + + + + + -sourcepath + ${project.basedir}/src + --add-reads=com.google.common=ALL-UNNAMED + + -XDcompilePolicy=simple + + true + + + + + + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + true + + + + /module-info.class + META-INF/versions/9/com/google/common/util/concurrent/internal/*.class + + + + + maven-source-plugin + + + org.codehaus.mojo + animal-sniffer-maven-plugin + + + true + org.apache.felix + maven-bundle-plugin + 5.1.8 + + + bundle-manifest + process-classes + + manifest + + + + + + + <_fixupmessages>^Classes found in the wrong directory: .* + com.google.common.util.concurrent.internal,!META-INF.* + https://github.com/google/guava/ + + + + + maven-javadoc-plugin + + + attach-docs + + + generate-javadoc-site-report + site + javadoc + + + + + + + + sonatype-oss-release + + + + maven-gpg-plugin + 3.0.1 + + + sign-artifacts + verify + + sign + + + + + + + + + diff --git a/src/main/resources/META-INF/maven/com.google.guava/guava/pom.properties b/src/main/resources/META-INF/maven/com.google.guava/guava/pom.properties new file mode 100644 index 0000000..b987ef1 --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.guava/guava/pom.properties @@ -0,0 +1,3 @@ +groupId=com.google.guava +artifactId=guava +version=33.5.0-jre diff --git a/src/main/resources/META-INF/maven/com.google.guava/guava/pom.xml b/src/main/resources/META-INF/maven/com.google.guava/guava/pom.xml new file mode 100644 index 0000000..a7c256a --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.guava/guava/pom.xml @@ -0,0 +1,250 @@ + + + + 4.0.0 + + com.google.guava + guava-parent + 33.5.0-jre + + guava + bundle + Guava: Google Core Libraries for Java + + Guava is a suite of core and expanded libraries that include + utility classes, Google's collections, I/O classes, and + much more. + + https://github.com/google/guava + + + com.google.guava + failureaccess + 1.0.3 + + + com.google.guava + listenablefuture + 9999.0-empty-to-avoid-conflict-with-guava + + + org.jspecify + jspecify + + + com.google.errorprone + error_prone_annotations + + + com.google.j2objc + j2objc-annotations + + + + + + .. + + LICENSE + proguard/* + + META-INF + + + + + org.mvnsearch + toolchains-maven-plugin + + + maven-toolchains-plugin + + + maven-jar-plugin + + + true + org.apache.felix + maven-bundle-plugin + 5.1.9 + + + bundle-manifest + process-classes + + manifest + + + + + + + <_fixupmessages>^Classes found in the wrong directory: .* + + !com.google.common.base.internal, + !com.google.common.util.concurrent.internal, + !META-INF.*, + com.google.common.* + + + com.google.common.util.concurrent.internal, + org.jspecify.annotations;resolution:=optional, + javax.crypto.*;resolution:=optional, + sun.misc.*;resolution:=optional + + https://github.com/google/guava/ + + + + + maven-compiler-plugin + + + default-compile + + + -XDignore.symbol.file + + + + + compile-java9 + compile + + compile + + + 9 + + ${project.basedir}/src + + + module-info.java + + + + + -sourcepath + ${project.basedir}/src + --add-reads=com.google.common=ALL-UNNAMED + + -XDcompilePolicy=simple + + true + + + + + + maven-source-plugin + + + org.codehaus.mojo + animal-sniffer-maven-plugin + + + maven-javadoc-plugin + + + + + com.azul.tooling.in,com.google.common.base.internal,com.google.common.base.internal.*,com.google.thirdparty.publicsuffix,com.google.thirdparty.publicsuffix.*,com.oracle.*,com.sun.*,java.*,javax.*,jdk,jdk.*,org.*,sun.* + + + + + apiNote + X + + + implNote + X + + + implSpec + X + + + jls + X + + + revised + X + + + spec + X + + + + + + false + + + + https://javadoc.io/doc/com.google.j2objc/j2objc-annotations/latest/ + ${project.basedir}/javadoc-link/j2objc-annotations + + + + https://docs.oracle.com/en/java/javase/21/docs/api/ + https://errorprone.info/api/latest/ + https://jspecify.dev/docs/api/ + + ../overview.html + + + + maven-resources-plugin + + + gradle-module-metadata + compile + + copy-resources + + + target/publish + + + . + + module.json + + true + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-gradle-module-metadata + + attach-artifact + + + + + target/publish/module.json + module + + + + + + + + + diff --git a/src/main/resources/META-INF/maven/com.google.guava/listenablefuture/pom.properties b/src/main/resources/META-INF/maven/com.google.guava/listenablefuture/pom.properties new file mode 100644 index 0000000..77e9e0b --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.guava/listenablefuture/pom.properties @@ -0,0 +1,4 @@ +#Created by Apache Maven 3.5.0 +version=9999.0-empty-to-avoid-conflict-with-guava +groupId=com.google.guava +artifactId=listenablefuture diff --git a/src/main/resources/META-INF/maven/com.google.guava/listenablefuture/pom.xml b/src/main/resources/META-INF/maven/com.google.guava/listenablefuture/pom.xml new file mode 100644 index 0000000..ad3f23e --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.guava/listenablefuture/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + + com.google.guava + guava-parent + 26.0-android + + listenablefuture + 9999.0-empty-to-avoid-conflict-with-guava + Guava ListenableFuture only + + An empty artifact that Guava depends on to signal that it is providing + ListenableFuture -- but is also available in a second "version" that + contains com.google.common.util.concurrent.ListenableFuture class, without + any other Guava classes. The idea is: + + - If users want only ListenableFuture, they depend on listenablefuture-1.0. + + - If users want all of Guava, they depend on guava, which, as of Guava + 27.0, depends on + listenablefuture-9999.0-empty-to-avoid-conflict-with-guava. The 9999.0-... + version number is enough for some build systems (notably, Gradle) to select + that empty artifact over the "real" listenablefuture-1.0 -- avoiding a + conflict with the copy of ListenableFuture in guava itself. If users are + using an older version of Guava or a build system other than Gradle, they + may see class conflicts. If so, they can solve them by manually excluding + the listenablefuture artifact or manually forcing their build systems to + use 9999.0-.... + + + + + maven-source-plugin + + + org.codehaus.mojo + animal-sniffer-maven-plugin + + + maven-javadoc-plugin + + + attach-docs + + + generate-javadoc-site-report + site + javadoc + + + + + + diff --git a/src/main/resources/META-INF/maven/com.google.j2objc/j2objc-annotations/pom.properties b/src/main/resources/META-INF/maven/com.google.j2objc/j2objc-annotations/pom.properties new file mode 100644 index 0000000..395ce9a --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.j2objc/j2objc-annotations/pom.properties @@ -0,0 +1,3 @@ +artifactId=j2objc-annotations +groupId=com.google.j2objc +version=3.1 diff --git a/src/main/resources/META-INF/maven/com.google.j2objc/j2objc-annotations/pom.xml b/src/main/resources/META-INF/maven/com.google.j2objc/j2objc-annotations/pom.xml new file mode 100644 index 0000000..203171c --- /dev/null +++ b/src/main/resources/META-INF/maven/com.google.j2objc/j2objc-annotations/pom.xml @@ -0,0 +1,168 @@ + + + + 4.0.0 + + + 11 + 11 + + + com.google.j2objc + j2objc-annotations + jar + 3.1 + + J2ObjC Annotations + + A set of annotations that provide additional information to the J2ObjC + translator to modify the result of translation. + + https://github.com/google/j2objc/ + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + http://github.com/google/j2objc + scm:git:git://github.com/google/j2objc.git + scm:git:ssh://git@github.com/google/j2objc.git + + + + + tomball + Tom Ball + tball@google.com + Google + https://www.google.com + + + + + + sonatype-nexus-snapshots + Sonatype Nexus Snapshots + https://oss.sonatype.org/content/repositories/snapshots/ + + + sonatype-nexus-staging + Nexus Release Repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.12.1 + + + default-compile + + 1.8 + 1.8 + + module-info.java + + + + + compile-java9 + compile + + compile + + + 9 + true + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + + true + + + + META-INF/versions/9/com/** + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.6.3 + + + generate-docs + package + jar + + + + + org.apache.maven.plugins + maven-source-plugin + 3.3.0 + + + generate-sources + package + jar-no-fork + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.1.0 + + + sign-artifacts + verify + sign + + + + + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 + true + + central + true + + + + + diff --git a/src/main/resources/META-INF/maven/com.maxmind.db/maxmind-db/pom.properties b/src/main/resources/META-INF/maven/com.maxmind.db/maxmind-db/pom.properties new file mode 100644 index 0000000..2a20b3e --- /dev/null +++ b/src/main/resources/META-INF/maven/com.maxmind.db/maxmind-db/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Tue Oct 13 13:42:16 PDT 2020 +groupId=com.maxmind.db +artifactId=maxmind-db +version=2.0.0 diff --git a/src/main/resources/META-INF/maven/com.maxmind.db/maxmind-db/pom.xml b/src/main/resources/META-INF/maven/com.maxmind.db/maxmind-db/pom.xml new file mode 100644 index 0000000..b5b2717 --- /dev/null +++ b/src/main/resources/META-INF/maven/com.maxmind.db/maxmind-db/pom.xml @@ -0,0 +1,151 @@ + + + 4.0.0 + com.maxmind.db + maxmind-db + 2.0.0 + jar + MaxMind DB Reader + Reader for MaxMind DB + http://dev.maxmind.com/ + + + Apache License 2.0 + http://www.apache.org/licenses/LICENSE-2.0.html + repo + + + + MaxMind, Inc. + http://www.maxmind.com/ + + + https://github.com/maxmind/MaxMind-DB-Reader-java + scm:git:git://github.com:maxmind/MaxMind-DB-Reader-java.git + scm:git:git@github.com:maxmind/MaxMind-DB-Reader-java.git + + + https://github.com/maxmind/MaxMind-DB-Reader-java/issues + GitHub + + + + oschwald + Gregory J. Oschwald + goschwald@maxmind.com + + + + + junit + junit + 4.13.1 + test + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + attach-sources + package + + jar + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 8 + 8 + + + + org.eluder.coveralls + coveralls-maven-plugin + 4.3.0 + + travis-ci + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.7 + + xml + 256m + + + + + org.codehaus.mojo + exec-maven-plugin + 3.0.0 + + + initialize + invoke build + + exec + + + + + git + submodule update --init --recursive + + + + org.codehaus.mojo + versions-maven-plugin + 2.8.1 + + + + + org.sonatype.oss + oss-parent + 7 + + + + active-on-jdk-9-plus + + [9,) + + + + + maven-compiler-plugin + + 8 + + + + + + + diff --git a/src/main/resources/META-INF/maven/commons-codec/commons-codec/pom.properties b/src/main/resources/META-INF/maven/commons-codec/commons-codec/pom.properties new file mode 100644 index 0000000..99de72e --- /dev/null +++ b/src/main/resources/META-INF/maven/commons-codec/commons-codec/pom.properties @@ -0,0 +1,3 @@ +artifactId=commons-codec +groupId=commons-codec +version=1.21.0 diff --git a/src/main/resources/META-INF/maven/commons-codec/commons-codec/pom.xml b/src/main/resources/META-INF/maven/commons-codec/commons-codec/pom.xml new file mode 100644 index 0000000..33a8363 --- /dev/null +++ b/src/main/resources/META-INF/maven/commons-codec/commons-codec/pom.xml @@ -0,0 +1,507 @@ + + + + + 4.0.0 + + org.apache.commons + commons-parent + 96 + + commons-codec + commons-codec + 1.21.0 + Apache Commons Codec + 2002 + + The Apache Commons Codec component contains encoders and decoders for + formats such as Base16, Base32, Base64, digest, and Hexadecimal. In addition to these + widely used encoders and decoders, the codec package also maintains a + collection of phonetic encoding utilities. + + https://commons.apache.org/proper/commons-codec/ + + https://issues.apache.org/jira/browse/CODEC + + + scm:git:https://gitbox.apache.org/repos/asf/commons-codec + scm:git:https://gitbox.apache.org/repos/asf/commons-codec + https://github.com/apache/commons-codec + rel/commons-io-2.20.0 + + + + apache.website + Apache Commons Site + scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-codec/ + + + + GitHub + https://github.com/apache/commons-codec/actions + + + + org.apache.commons + commons-lang3 + 3.20.0 + test + + + commons-io + commons-io + 2.21.0 + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + + 1.8 + 1.8 + codec + org.apache.commons.codec + CODEC + 12310464 + + UTF-8 + UTF-8 + UTF-8 + ${basedir}/src/conf/checkstyle-header.txt + ${basedir}/src/conf/checkstyle.xml + + 1.21.0 + 1.20.0 + 1.21.1 + RC1 + true + scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid} + + 2026-01-23T14:14:58Z + + false + true + 0.92 + 0.91 + 0.87 + 0.86 + 0.89 + 0.84 + + + clean verify apache-rat:check japicmp:cmp pmd:check checkstyle:check spotbugs:check javadoc:javadoc + + + + org.apache.maven.plugins + maven-scm-publish-plugin + ${commons.scm-publish.version} + + + archive** + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + ${checkstyle.config.file} + false + true + NOTICE.txt,LICENSE.txt,**/pom.properties,**/sha512.properties + + + + com.github.spotbugs + spotbugs-maven-plugin + + ${basedir}/src/conf/spotbugs-exclude-filter.xml + + + + + + + org.apache.rat + apache-rat-plugin + + + src/test/resources/org/apache/commons/codec/bla.tar + src/test/resources/org/apache/commons/codec/bla.tar.xz + src/test/resources/org/apache/commons/codec/empty.bin + src/test/resources/org/apache/commons/codec/small.bin + + + + + + maven-jar-plugin + + + + + ${commons.module.name} + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + **/*PerformanceTest.java + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + src/assembly/bin.xml + src/assembly/src.xml + + gnu + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + + maven-javadoc-plugin + + ${maven.compiler.source} + + + + org.codehaus.mojo + animal-sniffer-maven-plugin + ${commons.animal-sniffer.version} + + + + java.nio.ByteBuffer + + + + + + + + + org.apache.rat + apache-rat-plugin + + + src/test/resources/org/apache/commons/codec/bla.tar + src/test/resources/org/apache/commons/codec/bla.tar.xz + src/test/resources/org/apache/commons/codec/empty.bin + src/test/resources/org/apache/commons/codec/small.bin + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + + + checkstyle + + + + + + org.apache.maven.plugins + maven-pmd-plugin + ${commons.pmd.version} + + ${maven.compiler.target} + + ${basedir}/src/conf/pmd.xml + + + + + com.github.spotbugs + spotbugs-maven-plugin + + + org.codehaus.mojo + taglist-maven-plugin + + + TODO + NOPMD + NOTE + + + + + org.codehaus.mojo + javancss-maven-plugin + 2.1 + + + + + + + java-8 + + 8 + + + + true + 0.96 + 0.97 + 0.88 + 0.92 + 0.88 + 0.94 + + + + + java-9-24 + + [9,24] + + + + true + 0.96 + 0.97 + 0.92 + 0.92 + 0.89 + 0.95 + + + + + java-25-up + + [25,) + + + + true + 0.96 + 0.97 + 0.93 + 0.92 + 0.90 + 0.95 + + + + + + Henri Yandell + bayard + bayard@apache.org + + + Tim OBrien + tobrien + tobrien@apache.org + -6 + + + Scott Sanders + sanders + sanders@totalsync.com + + + Rodney Waldhoff + rwaldhoff + rwaldhoff@apache.org + + + Daniel Rall + dlr + dlr@finemaltcoding.com + + + Jon S. Stevens + jon + jon@collab.net + + + ggregory + Gary Gregory + ggregory at apache.org + https://www.garygregory.com + The Apache Software Foundation + https://www.apache.org/ + + PMC Member + + America/New_York + + https://people.apache.org/~ggregory/img/garydgregory80.png + + + + David Graham + dgraham + dgraham@apache.org + + + Julius Davies + julius + julius@apache.org + https://juliusdavies.ca/ + -8 + + + Thomas Neidhart + tn + tn@apache.org + + + Rob Tompkins + chtompki + chtompki@apache.org + + + Matt Sicker + mattsicker + mattsicker@apache.org + https://musigma.blog/ + + + + + Christopher O'Brien + siege@preoccupied.net + + hex + md5 + architecture + + + + Martin Redington + + Representing xml-rpc + + + + Jeffery Dever + + Representing http-client + + + + Steve Zimmermann + steve.zimmermann@heii.com + + Documentation + + + + Benjamin Walstrum + ben@walstrum.com + + + Oleg Kalnichevski + oleg@ural.ru + + Representing http-client + + + + Dave Dribin + apache@dave.dribin.org + + DigestUtil + + + + Alex Karasulu + aok123 at bellsouth.net + + Submitted Binary class and test + + + + Matthew Inger + mattinger at yahoo.com + + Submitted DIFFERENCE algorithm for Soundex and RefinedSoundex + + + + Jochen Wiedmann + jochen@apache.org + + Base64 code [CODEC-69] + + + + Sebastian Bazley + sebb@apache.org + + Streaming Base64 + + + + Matthew Pocock + turingatemyhamster@gmail.com + + Beider-Morse phonetic matching + + + + Colm Rice + colm_rice at hotmail dot com + + Submitted Match Rating Approach (MRA) phonetic encoder and tests [CODEC-161] + + + + Adam Retter + Evolved Binary + + Base16 Input and Output Streams + + + + diff --git a/src/main/resources/META-INF/maven/dev._2lstudios/waterfall-flamecord/pom.properties b/src/main/resources/META-INF/maven/dev._2lstudios/waterfall-flamecord/pom.properties new file mode 100644 index 0000000..24b9ec9 --- /dev/null +++ b/src/main/resources/META-INF/maven/dev._2lstudios/waterfall-flamecord/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-flamecord +groupId=dev._2lstudios +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/dev._2lstudios/waterfall-flamecord/pom.xml b/src/main/resources/META-INF/maven/dev._2lstudios/waterfall-flamecord/pom.xml new file mode 100644 index 0000000..48484d0 --- /dev/null +++ b/src/main/resources/META-INF/maven/dev._2lstudios/waterfall-flamecord/pom.xml @@ -0,0 +1,55 @@ + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + dev._2lstudios + waterfall-flamecord + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-FlameCord + FlameCord adds security essentials and new configuration options + + + + io.github.waterfallmc + waterfall-config + ${project.version} + compile + + + io.github.waterfallmc + waterfall-chat + ${project.version} + compile + + + com.maxmind.db + maxmind-db + 2.0.0 + compile + + + io.netty + netty-handler + compile + + + + + ${project.name} + + + true + ${basedir}/src/main/resources + + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-api/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-api/pom.properties new file mode 100644 index 0000000..301aaaf --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-api/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-api +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-api/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-api/pom.xml new file mode 100644 index 0000000..831c04b --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-api/pom.xml @@ -0,0 +1,77 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-api + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-API + API implemented by the Elastic Portal Suite + + + + io.github.waterfallmc + waterfall-chat + ${project.version} + compile + + + io.github.waterfallmc + waterfall-config + ${project.version} + compile + + + io.github.waterfallmc + waterfall-dialog + ${project.version} + compile + + + io.github.waterfallmc + waterfall-event + ${project.version} + compile + + + io.github.waterfallmc + waterfall-protocol + ${project.version} + compile + + + io.netty + netty-transport-native-unix-common + compile + + + io.github.waterfallmc + waterfall-maven-resolver + ${project.version} + + provided + + + org.ow2.asm + asm-commons + 9.10.1 + compile + + + org.yaml + snakeyaml + 2.7 + compile + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-bootstrap/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-bootstrap/pom.properties new file mode 100644 index 0000000..09085c1 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-bootstrap/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-bootstrap +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-bootstrap/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-bootstrap/pom.xml new file mode 100644 index 0000000..82e0fe6 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-bootstrap/pom.xml @@ -0,0 +1,95 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-bootstrap + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Bootstrap + Java 1.6 loader for Waterfall + + + true + true + true + 11 + yyyyMMdd + + + + + io.github.waterfallmc + waterfall-proxy + ${project.version} + compile + + + + + FlameCord + + + org.apache.maven.plugins + maven-jar-plugin + 3.5.1 + + + + net.md_5.bungee.Bootstrap + ${describe} + ${maven.build.timestamp} + ALL-UNNAMED + + true + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.6.2 + + + package + + shade + + + + + + + *:* + + **/*.java + **/*.SF + **/*.DSA + + + + + + + + + + com.github.edwgiz + maven-shade-plugin.log4j2-cachefile-transformer + 2.15 + + + + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-chat/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-chat/pom.properties new file mode 100644 index 0000000..7627388 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-chat/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-chat +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-chat/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-chat/pom.xml new file mode 100644 index 0000000..5e6c202 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-chat/pom.xml @@ -0,0 +1,29 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-chat + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Chat + Minecraft JSON chat API intended for use with Waterfall + + + + com.google.code.gson + gson + 2.13.2 + compile + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-config/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-config/pom.properties new file mode 100644 index 0000000..ddffb73 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-config/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-config +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-config/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-config/pom.xml new file mode 100644 index 0000000..05ad612 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-config/pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-config + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Config + Generic java configuration API intended for use with Waterfall + + + + com.google.code.gson + gson + 2.13.2 + compile + true + + + org.yaml + snakeyaml + 2.7 + compile + true + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-dialog/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-dialog/pom.properties new file mode 100644 index 0000000..4e67b03 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-dialog/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-dialog +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-dialog/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-dialog/pom.xml new file mode 100644 index 0000000..5478217 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-dialog/pom.xml @@ -0,0 +1,36 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-dialog + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Dialog + Minecraft dialog API intended for use with Waterfall + + + BSD-3-Clause + https://github.com/SpigotMC/BungeeCord/blob/master/dialog/LICENSE + repo + + + + + + io.github.waterfallmc + waterfall-chat + ${project.version} + compile + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-event/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-event/pom.properties new file mode 100644 index 0000000..da0540c --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-event/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-event +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-event/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-event/pom.xml new file mode 100644 index 0000000..f15f740 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-event/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-event + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Event + Generic java event dispatching API intended for use with Waterfall. + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-log4j/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-log4j/pom.properties new file mode 100644 index 0000000..50f5ca0 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-log4j/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-log4j +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-log4j/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-log4j/pom.xml new file mode 100644 index 0000000..c469278 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-log4j/pom.xml @@ -0,0 +1,65 @@ + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-log4j + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Log4J + Simplistic and performant Log4j2 based logger and console API designed for use with Waterfall and Minecraft related applications. + + + + + org.apache.logging.log4j + log4j-core + ${log4j2.version} + compile + + + org.apache.logging.log4j + log4j-iostreams + ${log4j2.version} + compile + + + org.apache.logging.log4j + log4j-jul + ${log4j2.version} + compile + + + org.apache.logging.log4j + log4j-slf4j-impl + ${log4j2.version} + runtime + + + org.slf4j + slf4j-api + + + + + org.slf4j + slf4j-api + 1.7.36 + runtime + + + com.lmax + disruptor + 3.4.4 + runtime + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-maven-resolver/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-maven-resolver/pom.properties new file mode 100644 index 0000000..32e27d1 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-maven-resolver/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-maven-resolver +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-maven-resolver/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-maven-resolver/pom.xml new file mode 100644 index 0000000..c33746f --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-maven-resolver/pom.xml @@ -0,0 +1,89 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-maven-resolver + 26.1-R0.1-SNAPSHOT + jar + + BungeeCord-Maven-Resolver + Combines maven-resolver artifacts to manage dependency versions and avoid split packages. + + + + + org.apache.maven + maven-resolver-provider + 3.9.16 + pom + import + + + + + + org.apache.maven + maven-resolver-provider + compile + + + org.apache.maven.resolver + maven-resolver-connector-basic + compile + + + org.apache.maven.resolver + maven-resolver-transport-http + compile + + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.6.2 + + + package + + shade + + + + + + + + org.apache.maven:maven-resolver-provider + + org.apache.maven:maven-artifact + org.apache.maven:maven-repository-metadata + + org.apache.maven:maven-model + org.apache.maven:maven-model-builder + + + true + + + + org.spigotmc.bungee.maven.resolver + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-alert/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-alert/pom.properties new file mode 100644 index 0000000..a9cf8a4 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-alert/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-module-cmd-alert +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-alert/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-alert/pom.xml new file mode 100644 index 0000000..7da71d7 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-alert/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-module + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-module-cmd-alert + 26.1-R0.1-SNAPSHOT + jar + + cmd_alert + Provides the alert and alertraw commands + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-find/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-find/pom.properties new file mode 100644 index 0000000..0826f4c --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-find/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-module-cmd-find +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-find/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-find/pom.xml new file mode 100644 index 0000000..9e4e336 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-find/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-module + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-module-cmd-find + 26.1-R0.1-SNAPSHOT + jar + + cmd_find + Provides the find command + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-list/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-list/pom.properties new file mode 100644 index 0000000..75815c0 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-list/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-module-cmd-list +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-list/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-list/pom.xml new file mode 100644 index 0000000..eb0f7c0 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-list/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-module + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-module-cmd-list + 26.1-R0.1-SNAPSHOT + jar + + cmd_list + Provides the glist command + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-send/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-send/pom.properties new file mode 100644 index 0000000..5a5f4c2 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-send/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-module-cmd-send +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-send/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-send/pom.xml new file mode 100644 index 0000000..059f606 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-send/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-module + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-module-cmd-send + 26.1-R0.1-SNAPSHOT + jar + + cmd_send + Provides the gsend command + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-server/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-server/pom.properties new file mode 100644 index 0000000..1d84a44 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-server/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-module-cmd-server +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-server/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-server/pom.xml new file mode 100644 index 0000000..7aeabfe --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-cmd-server/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-module + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-module-cmd-server + 26.1-R0.1-SNAPSHOT + jar + + cmd_server + Provides the server command + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-reconnect-yaml/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-reconnect-yaml/pom.properties new file mode 100644 index 0000000..59d2a2b --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-reconnect-yaml/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-module-reconnect-yaml +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-reconnect-yaml/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-reconnect-yaml/pom.xml new file mode 100644 index 0000000..0e674f7 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-module-reconnect-yaml/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-module + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-module-reconnect-yaml + 26.1-R0.1-SNAPSHOT + jar + + reconnect_yaml + Provides reconnect location functionality in locations.yml + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-native/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-native/pom.properties new file mode 100644 index 0000000..9938a70 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-native/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-native +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-native/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-native/pom.xml new file mode 100644 index 0000000..ae5a1f6 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-native/pom.xml @@ -0,0 +1,28 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-native + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Native + Optional native code to speed up and enhance Waterfall functionality. + + + + io.netty + netty-transport + compile + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-nbt/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-nbt/pom.properties new file mode 100644 index 0000000..d245dfd --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-nbt/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-nbt +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-nbt/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-nbt/pom.xml new file mode 100644 index 0000000..be74fd4 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-nbt/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-nbt + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-NBT + Minimal implementation of NBT for use in Waterfall + + + BSD-3-Clause + https://github.com/SpigotMC/BungeeCord/blob/master/nbt/LICENSE + repo + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-protocol/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-protocol/pom.properties new file mode 100644 index 0000000..20b9617 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-protocol/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-protocol +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-protocol/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-protocol/pom.xml new file mode 100644 index 0000000..f3bb26e --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-protocol/pom.xml @@ -0,0 +1,61 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-protocol + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Protocol + Minimal implementation of the Minecraft protocol for use in Waterfall + + + + com.mojang + brigadier + 1.2.9 + compile + + + io.github.waterfallmc + waterfall-serializer + ${project.version} + compile + + + io.github.waterfallmc + waterfall-nbt + ${project.version} + compile + + + io.netty + netty-codec + compile + + + it.unimi.dsi + fastutil-core + 8.5.19 + compile + + + + + dev._2lstudios + waterfall-flamecord + ${project.version} + compile + + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-proxy/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-proxy/pom.properties new file mode 100644 index 0000000..6d1440f --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-proxy/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-proxy +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-proxy/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-proxy/pom.xml new file mode 100644 index 0000000..97aa4d6 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-proxy/pom.xml @@ -0,0 +1,246 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-proxy + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Proxy + Proxy component of the Elastic Portal Suite + + + true + true + true + + + + + io.netty + netty-codec-haproxy + compile + + + io.netty + netty-codec-http + compile + + + + io.netty + netty-resolver-dns + compile + + + io.netty + netty-resolver-dns-native-macos + osx-x86_64 + compile + + + + io.netty + netty-handler + compile + + + io.netty + netty-transport-native-epoll + linux-x86_64 + compile + + + io.netty + netty-transport-native-epoll + linux-aarch_64 + compile + + + io.netty + netty-transport-native-io_uring + linux-x86_64 + compile + + + io.netty + netty-transport-native-io_uring + linux-aarch_64 + compile + + + io.github.waterfallmc + waterfall-api + ${project.version} + compile + + + io.github.waterfallmc + waterfall-log4j + ${project.version} + compile + + + io.github.waterfallmc + waterfall-native + ${project.version} + compile + + + io.github.waterfallmc + waterfall-protocol + ${project.version} + compile + + + io.github.waterfallmc + waterfall-query + ${project.version} + compile + + + + net.sf.jopt-simple + jopt-simple + 5.0.4 + compile + + + com.mysql + mysql-connector-j + 26.7.0 + runtime + + + + io.github.waterfallmc + waterfall-maven-resolver + ${project.version} + runtime + + + + org.slf4j + slf4j-jdk14 + 1.7.36 + compile + + + net.minecrell + terminalconsoleappender + 1.3.0 + compile + + + org.apache.logging.log4j + log4j-core + + + org.jline + jline-terminal + + + + + org.jline + jline-terminal-ffm + 4.4.0 + runtime + + + org.jline + jline-terminal-jni + 4.4.0 + runtime + + + + + + dev._2lstudios + waterfall-flamecord + ${project.version} + compile + + + io.github.waterfallmc + waterfall-native + ${project.version} + compile + + + io.github.waterfallmc + waterfall-module-cmd-alert + ${project.version} + compile + + + io.github.waterfallmc + waterfall-module-cmd-find + ${project.version} + compile + + + io.github.waterfallmc + waterfall-module-cmd-list + ${project.version} + compile + + + io.github.waterfallmc + waterfall-module-cmd-send + ${project.version} + compile + + + io.github.waterfallmc + waterfall-module-cmd-server + ${project.version} + compile + + + io.github.waterfallmc + waterfall-module-reconnect-yaml + ${project.version} + compile + + + + + + + + + src/main/resources + + + ../ + + LICENSE + + + + ../../ + + LICENSE.txt + + + + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-query/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-query/pom.properties new file mode 100644 index 0000000..ed0598f --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-query/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-query +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-query/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-query/pom.xml new file mode 100644 index 0000000..7f2bc95 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-query/pom.xml @@ -0,0 +1,34 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-query + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Query + Minecraft query implementation based on the Waterfall API. + + + + io.netty + netty-transport + compile + + + io.github.waterfallmc + waterfall-api + ${project.version} + compile + + + diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-serializer/pom.properties b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-serializer/pom.properties new file mode 100644 index 0000000..5fab2a0 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-serializer/pom.properties @@ -0,0 +1,3 @@ +artifactId=waterfall-serializer +groupId=io.github.waterfallmc +version=26.1-R0.1-SNAPSHOT diff --git a/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-serializer/pom.xml b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-serializer/pom.xml new file mode 100644 index 0000000..58048e8 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.github.waterfallmc/waterfall-serializer/pom.xml @@ -0,0 +1,41 @@ + + + 4.0.0 + + + io.github.waterfallmc + waterfall-parent + 26.1-R0.1-SNAPSHOT + ../pom.xml + + + io.github.waterfallmc + waterfall-serializer + 26.1-R0.1-SNAPSHOT + jar + + Waterfall-Serializer + Minecraft JSON serializer intended for use with Waterfall + + + + com.google.code.gson + gson + 2.13.2 + compile + + + ${project.groupId} + waterfall-chat + ${project.version} + compile + + + ${project.groupId} + waterfall-dialog + ${project.version} + compile + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-buffer/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-buffer/pom.properties new file mode 100644 index 0000000..e12bb45 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-buffer/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-buffer +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-buffer/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-buffer/pom.xml new file mode 100644 index 0000000..5e71ec0 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-buffer/pom.xml @@ -0,0 +1,167 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-buffer + jar + + Netty/Buffer + + + io.netty.buffer + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-jfr-stub + ${project.version} + provided + + + ${project.groupId} + netty-varhandle-stub + ${project.version} + provided + + + org.graalvm.nativeimage + svm + + true + + + org.mockito + mockito-core + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ch.qos.logback + logback-classic + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + java24 + + [24,) + + + + + maven-surefire-plugin + + + test-java24-native-access + + test + + + random + + ${logging.config} + warn + + + --enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=deny + + false + + + + + + + + + + + + + org.apache.felix + maven-bundle-plugin + + + generate-manifest + process-classes + + manifest + + + + + + jdk.jfr;resolution:=optional, + * + + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-base/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-codec-base/pom.properties new file mode 100644 index 0000000..7252fcb --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-base/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-codec-base +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-base/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-codec-base/pom.xml new file mode 100644 index 0000000..67cf6db --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-base/pom.xml @@ -0,0 +1,117 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-codec-base + jar + + Netty/Codec/Base + + + io.netty.codec + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + + org.mockito + mockito-core + + + + + org.apache.commons + commons-compress + test + + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + ${project.groupId} + netty-transport + ${project.version} + test-jar + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-compression/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-codec-compression/pom.properties new file mode 100644 index 0000000..ba84ce1 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-compression/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-codec-compression +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-compression/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-codec-compression/pom.xml new file mode 100644 index 0000000..e87ba8d --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-compression/pom.xml @@ -0,0 +1,189 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-codec-compression + jar + + Netty/Codec/Compression + + + io.netty.codec.compression + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + ${project.groupId} + netty-codec-base + ${project.version} + + + com.jcraft + jzlib + true + + + com.ning + compress-lzf + true + + + at.yawk.lz4 + lz4-java + true + + + com.github.jponge + lzma-java + true + + + com.github.luben + zstd-jni + true + + + com.aayushatharva.brotli4j + brotli4j + true + + + com.aayushatharva.brotli4j + native-linux-x86_64 + true + + + com.aayushatharva.brotli4j + native-linux-aarch64 + true + + + com.aayushatharva.brotli4j + native-linux-riscv64 + true + + + com.aayushatharva.brotli4j + native-osx-x86_64 + true + + + com.aayushatharva.brotli4j + native-osx-aarch64 + true + + + com.aayushatharva.brotli4j + native-windows-x86_64 + true + + + + org.mockito + mockito-core + + + + + org.apache.commons + commons-compress + test + + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + ${project.groupId} + netty-transport + ${project.version} + test-jar + test + + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-dns/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-codec-dns/pom.properties new file mode 100644 index 0000000..7e8da0f --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-dns/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-codec-dns +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-dns/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-codec-dns/pom.xml new file mode 100644 index 0000000..55ffbb0 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-dns/pom.xml @@ -0,0 +1,122 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-codec-dns + jar + + Netty/Codec/DNS + + + io.netty.codec.dns + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + ${project.groupId} + netty-codec-base + ${project.version} + + + + org.apache.directory.server + apacheds-protocol-dns + test + + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + ${project.groupId} + netty-transport + ${project.version} + test-jar + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-haproxy/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-codec-haproxy/pom.properties new file mode 100644 index 0000000..11d2dd0 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-haproxy/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-codec-haproxy +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-haproxy/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-codec-haproxy/pom.xml new file mode 100644 index 0000000..8b3a5b4 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-haproxy/pom.xml @@ -0,0 +1,110 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-codec-haproxy + jar + + Netty/Codec/HAProxy + + + io.netty.codec.haproxy + + + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + ${project.groupId} + netty-codec-base + ${project.version} + + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + ${project.groupId} + netty-transport + ${project.version} + test-jar + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-http/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-codec-http/pom.properties new file mode 100644 index 0000000..38c5008 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-http/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-codec-http +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-http/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-codec-http/pom.xml new file mode 100644 index 0000000..f495462 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-http/pom.xml @@ -0,0 +1,179 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-codec-http + jar + + Netty/Codec/HTTP + + + io.netty.codec.http + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + ${project.groupId} + netty-codec-base + ${project.version} + + + ${project.groupId} + netty-codec-compression + ${project.version} + + + ${project.groupId} + netty-handler + ${project.version} + + + com.jcraft + jzlib + true + + + org.mockito + mockito-core + + + commons-io + commons-io + + + com.aayushatharva.brotli4j + brotli4j + true + + + com.aayushatharva.brotli4j + native-linux-x86_64 + test + + + com.aayushatharva.brotli4j + native-linux-aarch64 + test + + + com.aayushatharva.brotli4j + native-linux-riscv64 + test + + + com.aayushatharva.brotli4j + native-osx-x86_64 + test + + + com.aayushatharva.brotli4j + native-osx-aarch64 + test + + + com.aayushatharva.brotli4j + native-windows-x86_64 + test + + + com.github.luben + zstd-jni + true + + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + ${project.groupId} + netty-transport + ${project.version} + test-jar + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-marshalling/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-codec-marshalling/pom.properties new file mode 100644 index 0000000..0cbbcc8 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-marshalling/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-codec-marshalling +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-marshalling/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-codec-marshalling/pom.xml new file mode 100644 index 0000000..de321fa --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-marshalling/pom.xml @@ -0,0 +1,140 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-codec-marshalling + jar + + Netty/Codec/Marshalling + + + io.netty.codec.marshalling + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + ${project.groupId} + netty-codec-base + ${project.version} + + + org.jboss.marshalling + jboss-marshalling + + + + + org.jboss.marshalling + jboss-marshalling-serial + test + + + org.jboss.marshalling + jboss-marshalling-river + test + + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + ${project.groupId} + netty-transport + ${project.version} + test-jar + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + + jdk8-tests + + true + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-protobuf/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-codec-protobuf/pom.properties new file mode 100644 index 0000000..4c56a94 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-protobuf/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-codec-protobuf +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec-protobuf/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-codec-protobuf/pom.xml new file mode 100644 index 0000000..7ff4cbf --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec-protobuf/pom.xml @@ -0,0 +1,124 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-codec-protobuf + jar + + Netty/Codec/Protobuf + + + io.netty.codec.protobuf + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + ${project.groupId} + netty-codec-base + ${project.version} + + + com.google.protobuf + protobuf-java + + + com.google.protobuf.nano + protobuf-javanano + + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + ${project.groupId} + netty-transport + ${project.version} + test-jar + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-codec/pom.properties new file mode 100644 index 0000000..8ac0d4e --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec/pom.properties @@ -0,0 +1,4 @@ +#Created by Apache Maven 3.9.11 +groupId=io.netty +artifactId=netty-codec +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-codec/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-codec/pom.xml new file mode 100644 index 0000000..5b6df77 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-codec/pom.xml @@ -0,0 +1,153 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-codec + jar + + Netty/Codec + + + io.netty.codec.unused + true + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + ${project.groupId} + netty-codec-base + ${project.version} + + + ${project.groupId} + netty-codec-compression + ${project.version} + + + ${project.groupId} + netty-codec-protobuf + ${project.version} + + + com.google.protobuf + protobuf-java + + + com.google.protobuf.nano + protobuf-javanano + + + + + ${project.groupId} + netty-codec-marshalling + ${project.version} + + + org.jboss.marshalling + jboss-marshalling + + + + + + com.google.protobuf + protobuf-java + true + + + com.google.protobuf.nano + protobuf-javanano + true + + + org.jboss.marshalling + jboss-marshalling + true + + + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + empty-javadoc-jar + package + + jar + + + javadoc + ${basedir}/javadoc + + + + empty-sources-jar + package + + jar + + + sources + ${basedir}/src/main/java + + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-common/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-common/pom.properties new file mode 100644 index 0000000..dd1e638 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-common/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-common +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-common/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-common/pom.xml new file mode 100644 index 0000000..f2c5984 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-common/pom.xml @@ -0,0 +1,272 @@ + + + + + 4.0.0 + + + io.netty + netty-parent + 4.2.18.Final + + + netty-common + jar + + Netty/Common + + + io.netty.common + ${project.basedir}/src/main/templates + ${project.basedir}/src/test/templates + ${project.build.directory}/generated-sources/collections/java + ${project.build.directory}/generated-test-sources/collections/java + + + + + org.graalvm.nativeimage + svm + + true + + + + + org.jboss + jdk-misc + + + + org.jctools + jctools-core + + compile + + + org.jctools + jctools-core-jdk11 + + compile + + + org.jetbrains + annotations + provided + + + + org.slf4j + slf4j-api + true + + + commons-logging + commons-logging + true + + + org.apache.logging.log4j + log4j-1.2-api + true + + + org.apache.logging.log4j + log4j-api + true + + + org.apache.logging.log4j + log4j-core + test + + + io.projectreactor.tools + blockhound + true + + + org.mockito + mockito-core + + + io.netty + netty-jfr-stub + ${project.version} + provided + + + io.netty + netty-varhandle-stub + ${project.version} + provided + + + + + io.netty + netty-dev-tools + test + true + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ch.qos.logback + logback-classic + test + + + + + + + maven-shade-plugin + + + package + + shade + + + + + org.jctools + + + + + org.jctools. + io.netty.util.internal.shaded.org.jctools. + + + true + true + true + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${collection.src.dir} + + + + + add-test-source + generate-test-sources + + add-test-source + + + + ${collection.testsrc.dir} + + + + + + + + + org.codehaus.gmaven + groovy-maven-plugin + + + generate-collections + generate-sources + + execute + + + ${project.basedir}/src/main/script/codegen.groovy + + + + + + org.apache.felix + maven-bundle-plugin + + + generate-manifest + process-classes + + manifest + + + + + * + + + !org.jctools.*, + + jdk.jfr;resolution:=optional, + + sun.misc;resolution:=optional, + sun.nio.ch;resolution:=optional, + * + + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-handler/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-handler/pom.properties new file mode 100644 index 0000000..b671301 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-handler/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-handler +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-handler/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-handler/pom.xml new file mode 100644 index 0000000..a311422 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-handler/pom.xml @@ -0,0 +1,202 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-handler + jar + + + io.netty.handler + + --add-exports java.base/sun.security.x509=ALL-UNNAMED + + + Netty/Handler + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-resolver + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + ${project.groupId} + netty-transport-native-unix-common + ${project.version} + + + ${project.groupId} + netty-codec-base + ${project.version} + + + ${project.groupId} + netty-tcnative-classes + true + + + ${project.groupId} + ${tcnative.artifactId} + ${tcnative.classifier} + true + + + ${project.groupId} + netty-pkitesting + ${project.version} + true + + + org.bouncycastle + bcpkix-jdk18on + true + + + + org.bouncycastle + bctls-jdk18on + true + + + ${conscrypt.groupId} + ${conscrypt.artifactId} + ${conscrypt.classifier} + true + + + org.mockito + mockito-core + + + + software.amazon.cryptools + AmazonCorrettoCryptoProvider + ${corretto.version} + ${corretto.classifier} + test + + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + ${project.groupId} + netty-transport + ${project.version} + test-jar + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ch.qos.logback + logback-classic + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-classes-macos/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-classes-macos/pom.properties new file mode 100644 index 0000000..aa0fdd9 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-classes-macos/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-resolver-dns-classes-macos +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-classes-macos/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-classes-macos/pom.xml new file mode 100644 index 0000000..db32ae6 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-classes-macos/pom.xml @@ -0,0 +1,88 @@ + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + netty-resolver-dns-classes-macos + + Netty/Resolver/DNS/Classes/MacOS + jar + + + io.netty.resolver.dns.classes.macos + + + + + io.netty + netty-common + ${project.version} + + + io.netty + netty-resolver-dns + ${project.version} + + + io.netty + netty-transport-native-unix-common + ${project.version} + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + maven-jar-plugin + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-native-macos/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-native-macos/pom.properties new file mode 100644 index 0000000..fdeaf9c --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-native-macos/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-resolver-dns-native-macos +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-native-macos/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-native-macos/pom.xml new file mode 100644 index 0000000..2eb63ca --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns-native-macos/pom.xml @@ -0,0 +1,520 @@ + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + netty-resolver-dns-native-macos + + Netty/Resolver/DNS/Native/MacOS + jar + + + + mac + + + mac + + + + LDFLAGS=-Wl,-weak_library,${unix.common.lib.unpacked.dir}/lib${unix.common.lib.name}.a -Wl,-platform_version,macos,10.9,10.9 + false + + + + + maven-dependency-plugin + + + + unpack + generate-sources + + unpack-dependencies + + + ${project.groupId} + netty-transport-native-unix-common + ${jni.classifier} + ${unix.common.lib.dir} + META-INF/native/** + false + true + + + + + + + org.fusesource.hawtjni + hawtjni-maven-plugin + + + build-native-lib + + netty_resolver_dns_native_macos_${os.detected.arch} + ${nativeSourceDirectory} + ${project.build.outputDirectory} + + . + + ${jni.compiler.args.ldflags} + ${jni.compiler.args.cflags} + MACOSX_DEPLOYMENT_TARGET=10.9 + + + + generate + build + + + + + + + org.apache.felix + maven-bundle-plugin + + + native-manifest + process-classes + + manifest + + + + META-INF/native/libnetty_resolver_dns_native_macos_${os.detected.arch}.jnilib; osname=MacOSX; processor=${os.detected.arch} + ${maven-symbolicname}.${jni.classifier} + io.netty.resolver-dns-classes-macos + + ${project.build.directory}/${jni.classifier} + + + + + + + maven-jar-plugin + + + + native-jar + + jar + + + + + true + true + + + true + + true + ${project.build.directory}/${jni.classifier}/MANIFEST.MF + + ${jni.classifier} + + + + + + + + + io.netty + netty-transport-native-unix-common + ${project.version} + ${jni.classifier} + + true + + + + + mac-m1-cross-compile + + LDFLAGS=-arch arm64 -Wl,-weak_library,${unix.common.lib.unpacked.dir}/lib${unix.common.lib.name}.a -Wl,-platform_version,macos,11.0,11.0 + CFLAGS=-target arm64-apple-macos11 -O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir} + + + ${os.detected.name}-aarch_64 + ${os.detected.name}.aarch_64 + true + + + + + maven-dependency-plugin + + + + unpack + generate-sources + + unpack-dependencies + + + ${project.groupId} + netty-transport-native-unix-common + ${jni.classifier} + ${unix.common.lib.dir} + META-INF/native/** + false + true + + + + + + + org.fusesource.hawtjni + hawtjni-maven-plugin + + + build-native-lib + + netty_resolver_dns_native_macos_aarch_64 + ${nativeSourceDirectory} + ${project.build.outputDirectory} + + . + + ${jni.compiler.args.ldflags} + ${jni.compiler.args.cflags} + --host=aarch64-apple-darwin + MACOSX_DEPLOYMENT_TARGET=11.0 + + + + generate + build + + + + + + + org.apache.felix + maven-bundle-plugin + + + native-manifest + process-classes + + manifest + + + + META-INF/native/libnetty_resolver_dns_native_macos_aarch_64.jnilib; osname=MacOSX; processor=aarch64 + ${maven-symbolicname}.${jni.classifier} + io.netty.resolver-dns-classes-macos + + ${project.build.directory}/${jni.classifier} + + + + + + + maven-jar-plugin + + + + native-jar + + jar + + + + + true + true + + + true + + true + ${project.build.directory}/${jni.classifier}/MANIFEST.MF + + ${jni.classifier} + + + + + + + + + io.netty + netty-transport-native-unix-common + ${project.version} + ${jni.classifier} + + true + + + + + + mac-intel-cross-compile + + LDFLAGS=-arch x86_64 -Wl,-weak_library,${unix.common.lib.unpacked.dir}/lib${unix.common.lib.name}.a -Wl,-platform_version,macos,10.9,10.9 + CFLAGS=-target x86_64-apple-macos10.9 -O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir} + + + ${os.detected.name}-x86_64 + ${os.detected.name}.x86_64 + true + + + + + maven-dependency-plugin + + + + unpack + generate-sources + + unpack-dependencies + + + ${project.groupId} + netty-transport-native-unix-common + ${jni.classifier} + ${unix.common.lib.dir} + META-INF/native/** + false + true + + + + + + + org.fusesource.hawtjni + hawtjni-maven-plugin + + + build-native-lib + + netty_resolver_dns_native_macos_x86_64 + ${nativeSourceDirectory} + ${project.build.outputDirectory} + + . + + ${jni.compiler.args.ldflags} + ${jni.compiler.args.cflags} + --host=x86_64-apple-darwin + MACOSX_DEPLOYMENT_TARGET=10.9 + + + + generate + build + + + + + + + org.apache.felix + maven-bundle-plugin + + + native-manifest + process-classes + + manifest + + + + META-INF/native/libnetty_resolver_dns_native_macos_x86_64.jnilib; osname=MacOSX; processor=x86_64 + ${maven-symbolicname}.${jni.classifier} + io.netty.resolver-dns-classes-macos + + ${project.build.directory}/${jni.classifier} + + + + + + + maven-jar-plugin + + + + native-jar + + jar + + + + + true + true + + + true + + true + ${project.build.directory}/${jni.classifier}/MANIFEST.MF + + ${jni.classifier} + + + + + + + + + io.netty + netty-transport-native-unix-common + ${project.version} + ${jni.classifier} + + true + + + + + + + ${os.detected.name}.${os.detected.arch} + io.netty.resolver.dns.macos.${javaModuleNameClassifier} + + netty-unix-common + ${project.build.directory}/unix-common-lib + ${unix.common.lib.dir}/META-INF/native/lib + ${unix.common.lib.dir}/META-INF/native/include + CFLAGS=-O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir} + LDFLAGS=-z now -L${unix.common.lib.unpacked.dir} -Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive + ${project.basedir}/src/main/c + + -Xcheck:jni + + + + + io.netty + netty-resolver-dns-classes-macos + ${project.version} + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + generate-sources + + add-source + + + + ${nativeSourceDirectory} + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + maven-jar-plugin + + + + empty-javadoc-jar + package + + jar + + + javadoc + ${basedir}/javadoc + + + + + default-jar + + + META-INF/native/** + + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns/pom.properties new file mode 100644 index 0000000..114a386 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-resolver-dns +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns/pom.xml new file mode 100644 index 0000000..b83ae0a --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-resolver-dns/pom.xml @@ -0,0 +1,140 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-resolver-dns + jar + + Netty/Resolver/DNS + + + io.netty.resolver.dns + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-resolver + ${project.version} + + + ${project.groupId} + netty-transport + ${project.version} + + + ${project.groupId} + netty-codec-base + ${project.version} + + + ${project.groupId} + netty-codec-dns + ${project.version} + + + ${project.groupId} + netty-handler + ${project.version} + + + org.apache.directory.server + apacheds-protocol-dns + test + + + org.jetbrains + annotations + + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + ${project.groupId} + netty-transport + ${project.version} + test-jar + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-resolver/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-resolver/pom.properties new file mode 100644 index 0000000..f471802 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-resolver/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-resolver +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-resolver/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-resolver/pom.xml new file mode 100644 index 0000000..f59551d --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-resolver/pom.xml @@ -0,0 +1,88 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-resolver + jar + + Netty/Resolver + + + io.netty.resolver + + + + + ${project.groupId} + netty-common + ${project.version} + + + org.mockito + mockito-core + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-epoll/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-epoll/pom.properties new file mode 100644 index 0000000..aeb2c6a --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-epoll/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-transport-classes-epoll +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-epoll/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-epoll/pom.xml new file mode 100644 index 0000000..a9e56d1 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-epoll/pom.xml @@ -0,0 +1,89 @@ + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + netty-transport-classes-epoll + + Netty/Transport/Classes/Epoll + jar + + + io.netty.transport.classes.epoll + + + + + io.netty + netty-common + ${project.version} + + + io.netty + netty-buffer + ${project.version} + + + io.netty + netty-transport + ${project.version} + + + io.netty + netty-transport-native-unix-common + ${project.version} + + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + + + + + maven-jar-plugin + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-io_uring/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-io_uring/pom.properties new file mode 100644 index 0000000..7715d06 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-io_uring/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-transport-classes-io_uring +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-io_uring/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-io_uring/pom.xml new file mode 100644 index 0000000..4d26d1b --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-classes-io_uring/pom.xml @@ -0,0 +1,167 @@ + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + netty-transport-classes-io_uring + + Netty/Transport/Classes/io_uring + jar + + + io.netty.transport.classes.io_uring + 1.9 + 1.9 + 9 + + + + + io.netty + netty-common + ${project.version} + + + io.netty + netty-buffer + ${project.version} + + + io.netty + netty-transport + ${project.version} + + + io.netty + netty-transport-native-unix-common + ${project.version} + + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + + + + + maven-compiler-plugin + + + + default-compile + + compile + + + 1.9 + true + ${maven.compiler.source} + ${maven.compiler.target} + ${maven.compiler.release} + true + true + true + true + -Xlint:-options + 256m + 1024m + + **/package-info.java + + + + + compile-jdk8 + + compile + + + 1.8 + true + 1.8 + 1.8 + 8 + true + true + true + true + -Xlint:-options + 256m + 1024m + + **/IoUring.java + + + + + compile-tests-jdk8 + + testCompile + + + 1.8 + true + 1.8 + 1.8 + 8 + true + true + true + true + -Xlint:-options + 256m + 1024m + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + maven-jar-plugin + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-native-epoll/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-epoll/pom.properties new file mode 100644 index 0000000..8074b6e --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-epoll/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-transport-native-epoll +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-native-epoll/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-epoll/pom.xml new file mode 100644 index 0000000..b8e6f83 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-epoll/pom.xml @@ -0,0 +1,776 @@ + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + netty-transport-native-epoll + + Netty/Transport/Native/Epoll + jar + + + ${os.detected.name}.${os.detected.arch} + io.netty.transport.epoll + ${fallbackModuleName}.${javaModuleNameClassifier} + + --add-exports java.base/sun.security.x509=ALL-UNNAMED + + -Xcheck:jni + netty-unix-common + ${project.build.directory}/unix-common-lib + ${unix.common.lib.dir}/META-INF/native/lib + ${unix.common.lib.dir}/META-INF/native/include + CFLAGS=-O2 -pipe -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -I${unix.common.include.unpacked.dir} + LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,--gc-sections -L${unix.common.lib.unpacked.dir} + LIBS=-Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive -ldl -lrt + ${project.basedir}/src/main/c + ${project.build.directory}/fallback-classes + true + + + + + + restricted-release-epoll + + + + + maven-enforcer-plugin + ${enforcer.plugin.version} + + + + com.ceilfors.maven.plugin + enforcer-rules + 1.2.0 + + + + + + + + maven-enforcer-plugin + + + enforce-release-environment + + enforce + + + + + + Release process must be performed on linux-x86_64. + + os.detected.classifier + ^linux-x86_64$ + + + + Release process must be performed on RHEL 6.9 or its derivatives. + + + /etc/redhat-release + + release 6.9 + + + + + + + + + + + linux + + + linux + + + + false + + + + + + maven-dependency-plugin + + + + unpack + generate-sources + + unpack-dependencies + + + ${project.groupId} + netty-transport-native-unix-common + ${jni.classifier} + ${unix.common.lib.dir} + META-INF/native/** + false + true + + + + + + + org.fusesource.hawtjni + hawtjni-maven-plugin + + + build-native-lib + + netty_transport_native_epoll_${os.detected.arch} + ${nativeSourceDirectory} + ${project.build.outputDirectory} + + . + + ${jni.compiler.args.ldflags} + ${jni.compiler.args.libs} + ${jni.compiler.args.cflags} + --libdir=${project.build.directory}/native-build/target/lib + + + + generate + build + + + + + + org.apache.felix + maven-bundle-plugin + + + native-manifest + process-classes + + manifest + + + + META-INF/native/libnetty_transport_native_epoll_${os.detected.arch}.so; osname=Linux; processor=${os.detected.arch},* + ${maven-symbolicname}.${jni.classifier} + io.netty.transport-classes-epoll + + ${project.build.directory}/${jni.classifier} + + + + + + maven-jar-plugin + + + + native-jar + + jar + + + + + true + true + + + true + + true + ${project.build.directory}/${jni.classifier}/MANIFEST.MF + + ${jni.classifier} + + + + + + + + + + io.netty + netty-transport-native-unix-common + ${project.version} + ${jni.classifier} + + true + + + + + linux-aarch64 + + + ${os.detected.name}-aarch_64 + ${os.detected.name}.aarch_64 + + + + + + maven-enforcer-plugin + ${enforcer.plugin.version} + + + + com.ceilfors.maven.plugin + enforcer-rules + 1.2.0 + + + + + + + + maven-enforcer-plugin + + + enforce-release-environment + + enforce + + + + + + Cross compile and Release process must be performed on linux-x86_64. + + os.detected.classifier + ^linux-x86_64.* + + + + Cross compile and Release process must be performed on RHEL 7.9 or its derivatives. + + + /etc/redhat-release + + release 7.9 + + + + + + + + maven-dependency-plugin + + + + unpack + generate-sources + + unpack-dependencies + + + ${project.groupId} + netty-transport-native-unix-common + ${jni.classifier} + ${unix.common.lib.dir} + META-INF/native/** + false + true + + + + + + + org.fusesource.hawtjni + hawtjni-maven-plugin + + + build-native-lib + + netty_transport_native_epoll_aarch_64 + ${nativeSourceDirectory} + ${project.build.outputDirectory} + + . + + ${jni.compiler.args.ldflags} + ${jni.compiler.args.libs} + ${jni.compiler.args.cflags} + --libdir=${project.build.directory}/native-build/target/lib + --host=aarch64-linux-gnu + CC=aarch64-none-linux-gnu-gcc + + + + generate + build + + + + + + org.apache.felix + maven-bundle-plugin + + + native-manifest + process-classes + + manifest + + + + META-INF/native/libnetty_transport_native_epoll_aarch_64.so; osname=Linux; processor=aarch64,* + ${maven-symbolicname}.${jni.classifier} + io.netty.transport-classes-epoll + + ${project.build.directory}/${jni.classifier} + + + + + + maven-jar-plugin + + + + native-jar + + jar + + + + + true + true + + + true + + true + ${project.build.directory}/${jni.classifier}/MANIFEST.MF + + ${jni.classifier} + + + + + + + + + + io.netty + netty-transport-native-unix-common + ${project.version} + ${jni.classifier} + + true + + + + + linux-riscv64 + + + ${os.detected.name}-riscv64 + ${os.detected.name}.riscv64 + + + + + + maven-enforcer-plugin + ${enforcer.plugin.version} + + + + com.ceilfors.maven.plugin + enforcer-rules + 1.2.0 + + + + + + + + maven-enforcer-plugin + + + enforce-release-environment + + enforce + + + + + + Cross compile and Release process must be performed on linux-x86_64. + + os.detected.classifier + ^linux-x86_64.* + + + + + Cross compile and Release process must be performed on Debian Bullseye or derivative + + + /etc/debian_version + + bullseye/sid + + + + + + + + maven-dependency-plugin + + + + unpack + generate-sources + + unpack-dependencies + + + ${project.groupId} + netty-transport-native-unix-common + ${jni.classifier} + ${unix.common.lib.dir} + META-INF/native/** + false + true + + + + + + + org.fusesource.hawtjni + hawtjni-maven-plugin + + + build-native-lib + + netty_transport_native_epoll_riscv64 + ${nativeSourceDirectory} + ${project.build.outputDirectory} + + . + + ${jni.compiler.args.ldflags} + ${jni.compiler.args.libs} + ${jni.compiler.args.cflags} + --libdir=${project.build.directory}/native-build/target/lib + --host=riscv64-linux-gnu + CC=riscv64-linux-gnu-gcc + + + + generate + build + + + + + + org.apache.felix + maven-bundle-plugin + + + native-manifest + process-classes + + manifest + + + + META-INF/native/libnetty_transport_native_epoll_riscv64.so; osname=Linux; processor=riscv64,* + ${maven-symbolicname}.${jni.classifier} + io.netty.transport-classes-epoll + + ${project.build.directory}/${jni.classifier} + + + + + + maven-jar-plugin + + + + native-jar + + jar + + + + + true + true + + + true + + true + ${project.build.directory}/${jni.classifier}/MANIFEST.MF + + ${jni.classifier} + + + + + + + + + + io.netty + netty-transport-native-unix-common + ${project.version} + ${jni.classifier} + + true + + + + + oss-fuzz + + CFLAGS=${env.CFLAGS} -I${unix.common.include.unpacked.dir} + + + + + + + io.netty + netty-common + ${project.version} + + + io.netty + netty-buffer + ${project.version} + + + io.netty + netty-transport + ${project.version} + + + io.netty + netty-transport + ${project.version} + test-jar + test + + + io.netty + netty-transport-native-unix-common + ${project.version} + + + io.netty + netty-transport-classes-epoll + ${project.version} + + + io.netty + netty-testsuite + ${project.version} + test + + + io.netty + netty-transport-native-unix-common-tests + ${project.version} + test + + + ${project.groupId} + ${tcnative.artifactId} + ${tcnative.classifier} + test + + + io.github.artsok + rerunner-jupiter + test + + + + org.bouncycastle + bcpkix-jdk18on + true + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + generate-sources + + add-source + + + + ${nativeSourceDirectory} + + + + + + + maven-antrun-plugin + + + + copy-to-native-output + process-test-resources + + run + + + + + + + + + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + fallback-module-info + process-classes + + ${fallbackModuleName} + ${fallbackOutputDirectory}/META-INF/versions/11/ + + + generate + + + + + + maven-jar-plugin + + + + empty-javadoc-jar + package + + jar + + + javadoc + ${basedir}/javadoc + + + + + default-jar + + ${fallbackOutputDirectory} + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-native-io_uring/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-io_uring/pom.properties new file mode 100644 index 0000000..b587b79 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-io_uring/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-transport-native-io_uring +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-native-io_uring/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-io_uring/pom.xml new file mode 100644 index 0000000..bf5b4df --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-io_uring/pom.xml @@ -0,0 +1,505 @@ + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + netty-transport-native-io_uring + + Netty/Transport/Native/io_uring + jar + + + ${os.detected.name}.${os.detected.arch} + io.netty.transport.io_uring + ${fallbackModuleName}.${javaModuleNameClassifier} + netty-unix-common + ${project.build.directory}/unix-common-lib + ${unix.common.lib.dir}/META-INF/native/lib + ${unix.common.lib.dir}/META-INF/native/include + CFLAGS=-O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir} + LDFLAGS=-L${unix.common.lib.unpacked.dir} -Wl,--no-as-needed -lrt -ldl -Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive + ${project.basedir}/src/main/c + ${project.build.directory}/fallback-classes + true + ${os.detected.arch} + ${os.detected.name}-${jniArch} + netty_transport_native_io_uring42_${jniArch} + ${project.build.directory}/native-lib-only + + + + -Xcheck:jni + -D_ + + + + + linux + + + linux + + + + + false + + + + + + maven-antrun-plugin + + + + copy-native-lib + process-test-resources + + run + + + + + + + + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + unpack + generate-sources + + unpack-dependencies + + + ${project.groupId} + netty-transport-native-unix-common + ${jni.classifier} + ${unix.common.lib.dir} + META-INF/native/** + false + true + + + + + + + org.fusesource.hawtjni + hawtjni-maven-plugin + + + build-native-lib + + ${jniLibName} + ${nativeSourceDirectory} + ${nativeLibOnlyDir} + + ${jni.compiler.args.ldflags} + ${jni.compiler.args.cflags} + --libdir=${project.build.directory}/native-build/target/lib + ${extraConfigureArg} + ${extraConfigureArg2} + + + + generate + build + + + + + + org.apache.felix + maven-bundle-plugin + + + native-manifest + process-classes + + manifest + + + + META-INF/native/libnetty_transport_native_io_uring42_${os.detected.arch}.so; osname=Linux; processor=${os.detected.arch},* + ${maven-symbolicname}.${jni.classifier} + io.netty.transport-classes-io_uring + + ${project.build.directory}/${jni.classifier} + + + + + + maven-jar-plugin + + + + native-jar + + jar + + + + + true + true + + + true + + true + ${project.build.directory}/${jni.classifier}/MANIFEST.MF + + ${jni.classifier} + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + io_uring-epoll-combination + test + + test + + + + **/CombinationOfIOUringAndEpollTest.java + + false + + + + epoll-io_uring-combination + test + + test + + + + **/CombinationOfEpollAndIOUringTest.java + + random + + src/test/resources/logback-test.xml + debug + + + false + ${test.argLine} + + 1 + false + + + + default-test + test + + test + + + + **/*Test*.java + + + **/Abstract* + **/CombinationOf* + + random + + src/test/resources/logback-test.xml + debug + + + false + ${test.argLine} + + + + + + + + + + io.netty + netty-transport-native-unix-common + ${project.version} + ${jni.classifier} + + true + + + + io.netty + netty-transport-native-epoll + ${project.version} + test + ${jni.classifier} + + + + + linux-aarch64 + + + aarch_64 + + true + --host=aarch64-linux-gnu + CC=aarch64-none-linux-gnu-gcc + + + + linux-riscv64 + + + riscv64 + + true + --host=riscv64-linux-gnu + CC=riscv64-linux-gnu-gcc + + + + leak + + -Dio.netty.leakDetection.level=paranoid -Dio.netty.leakDetection.targetRecords=32 + + + + oss-fuzz + + CFLAGS=${env.CFLAGS} -I${unix.common.include.unpacked.dir} + + + + jdk8-tests + + true + + + + + + + io.netty + netty-common + ${project.version} + + + io.netty + netty-buffer + ${project.version} + + + io.netty + netty-transport + ${project.version} + + + io.netty + netty-transport + ${project.version} + test-jar + test + + + io.netty + netty-transport-native-unix-common + ${project.version} + + + io.netty + netty-transport-classes-io_uring + ${project.version} + + + io.netty + netty-testsuite + ${project.version} + test + + + io.netty + netty-transport-native-unix-common-tests + ${project.version} + test + + + io.netty + netty-transport-classes-epoll + ${project.version} + test + + + org.bouncycastle + bcpkix-jdk18on + test + + + ${project.groupId} + ${tcnative.artifactId} + ${tcnative.classifier} + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + generate-sources + + add-source + + + + ${nativeSourceDirectory} + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + fallback-module-info + process-classes + + ${fallbackModuleName} + ${fallbackOutputDirectory}/META-INF/versions/11/ + + + generate + + + + + + maven-jar-plugin + + + + empty-javadoc-jar + package + + jar + + + javadoc + ${basedir}/javadoc + + + + + default-jar + + ${fallbackOutputDirectory} + + + true + true + + + true + + true + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + + + + maven-antrun-plugin + + + + copy-to-native-output + process-test-resources + + run + + + + + + + + + + + + + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-native-unix-common/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-unix-common/pom.properties new file mode 100644 index 0000000..6846c23 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-unix-common/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-transport-native-unix-common +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport-native-unix-common/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-unix-common/pom.xml new file mode 100644 index 0000000..7345de8 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport-native-unix-common/pom.xml @@ -0,0 +1,729 @@ + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + netty-transport-native-unix-common + + Netty/Transport/Native/Unix/Common + jar + + Static library which contains common unix utilities. + + + + io.netty.transport.unix.common + + make + gcc + ar + libnetty-unix-common + ${project.basedir}/src/main/c + ${project.build.directory}/netty-jni-util/ + ${project.build.directory}/native-jar-work + ${project.build.directory}/native-objs-only + ${project.build.directory}/native-lib-only + ${project.build.directory}/${project.build.finalName}.jar + ${project.build.directory}/${project.build.finalName}-${jni.classifier}.jar + + -Xcheck:jni + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + unpack + generate-sources + + unpack-dependencies + + + io.netty + netty-jni-util + sources + ${jniUtilIncludeDir} + **.h,**.c + false + true + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + generate-sources + + add-source + + + + ${nativeIncludeDir} + + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + + mac + + + mac + + + + clang + darwin + + + + + maven-antrun-plugin + + + + native-jar + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + build-native-lib + generate-sources + + run + + + + + + + + + + + + + + + + + + + + + + + + + mac-m1-cross-compile + + clang + darwin + + ${os.detected.name}-aarch_64 + + + + + maven-antrun-plugin + + + + native-jar + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + build-native-lib + generate-sources + + run + + + + + + + + + + + + + + + + + + + + + + + + mac-intel-cross-compile + + clang + darwin + + ${os.detected.name}-x86_64 + + + + + maven-antrun-plugin + + + + native-jar + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + build-native-lib + generate-sources + + run + + + + + + + + + + + + + + + + + + + + + + + + linux + + + linux + + + + linux + + + + + maven-antrun-plugin + + + + native-jar + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + build-native-lib + generate-sources + + run + + + + + + + + + + + + + + + + + + + + + + + linux-aarch64 + + + ${os.detected.name}-aarch_64 + linux + aarch64-none-linux-gnu-gcc + aarch64-none-linux-gnu-ar + + + + + maven-antrun-plugin + + + + native-jar + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + build-native-lib + generate-sources + + run + + + + + + + + + + + + + + + + + + + + + + + linux-riscv64 + + + ${os.detected.name}-riscv64 + linux + riscv64-linux-gnu-gcc + riscv64-linux-gnu-ar + + + + + maven-antrun-plugin + + + + native-jar + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + build-native-lib + generate-sources + + run + + + + + + + + + + + + + + + + + + + + + + + freebsd + + + unix + freebsd + + + + clang + gmake + freebsd + + + + + maven-antrun-plugin + + + + native-jar + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + build-native-lib + generate-sources + + run + + + + + + + + + + + + + + + + + + + + + + + openbsd + + + unix + openbsd + + + + clang + gmake + openbsd + + + + + maven-antrun-plugin + + + + native-jar + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + build-native-lib + generate-sources + + run + + + + + + + + + + + + + + + + + + + + + + + + + + io.netty + netty-jni-util + sources + true + + + io.netty + netty-common + ${project.version} + + + io.netty + netty-buffer + ${project.version} + + + io.netty + netty-transport + ${project.version} + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + + diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport/pom.properties b/src/main/resources/META-INF/maven/io.netty/netty-transport/pom.properties new file mode 100644 index 0000000..bbf8c91 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport/pom.properties @@ -0,0 +1,3 @@ +artifactId=netty-transport +groupId=io.netty +version=4.2.18.Final diff --git a/src/main/resources/META-INF/maven/io.netty/netty-transport/pom.xml b/src/main/resources/META-INF/maven/io.netty/netty-transport/pom.xml new file mode 100644 index 0000000..71f9466 --- /dev/null +++ b/src/main/resources/META-INF/maven/io.netty/netty-transport/pom.xml @@ -0,0 +1,112 @@ + + + + + 4.0.0 + + io.netty + netty-parent + 4.2.18.Final + + + netty-transport + jar + + Netty/Transport + + + io.netty.transport + + + + + ${project.groupId} + netty-common + ${project.version} + + + ${project.groupId} + netty-buffer + ${project.version} + + + ${project.groupId} + netty-resolver + ${project.version} + + + org.mockito + mockito-core + + + + org.reflections + reflections + + + com.google.code.gson + gson + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.assertj + assertj-core + test + + + ch.qos.logback + logback-classic + test + + + ${project.groupId} + netty-testsuite-common + ${project.version} + test + + + + + + + io.github.dmlloyd.module-info + module-info + + + module-info + + + + + + + + diff --git a/src/main/resources/META-INF/maven/net.sf.jopt-simple/jopt-simple/pom.properties b/src/main/resources/META-INF/maven/net.sf.jopt-simple/jopt-simple/pom.properties new file mode 100644 index 0000000..f1c0829 --- /dev/null +++ b/src/main/resources/META-INF/maven/net.sf.jopt-simple/jopt-simple/pom.properties @@ -0,0 +1,5 @@ +#Generated by org.apache.felix.bundleplugin +#Thu Jul 13 10:12:08 CDT 2017 +version=5.0.4 +groupId=net.sf.jopt-simple +artifactId=jopt-simple diff --git a/src/main/resources/META-INF/maven/net.sf.jopt-simple/jopt-simple/pom.xml b/src/main/resources/META-INF/maven/net.sf.jopt-simple/jopt-simple/pom.xml new file mode 100644 index 0000000..e10df8a --- /dev/null +++ b/src/main/resources/META-INF/maven/net.sf.jopt-simple/jopt-simple/pom.xml @@ -0,0 +1,342 @@ + + 4.0.0 + + org.sonatype.oss + oss-parent + 7 + + net.sf.jopt-simple + jopt-simple + 5.0.4 + jar + JOpt Simple + http://jopt-simple.github.io/jopt-simple + A Java library for parsing command line options + + + The MIT License + http://www.opensource.org/licenses/mit-license.php + repo + + + + scm:git:git://github.com/jopt-simple/jopt-simple.git + scm:git:ssh://git@github.com/jopt-simple/jopt-simple.git + https://github.com/jopt-simple/jopt-simple + + + GitHub + https://github.com/jopt-simple/jopt-simple/issues + + + + pholser + Paul Holser + pholser@alumni.rice.edu + http://www.pholser.com + + + + UTF-8 + UTF-8 + UTF-8 + + + + joda-time + joda-time + 2.3 + test + + + org.apache.ant + ant + 1.8.4 + test + + + org.hamcrest + hamcrest-all + 1.3 + test + + + junit + junit + 4.12 + test + + + org.infinitest + continuous-testing-toolkit + 1.0 + test + + + org.hamcrest + hamcrest-all + + + + + + + + org.apache.maven.scm + maven-scm-provider-gitexe + 1.9.2 + + + org.apache.maven.scm + maven-scm-manager-plexus + 1.9.2 + + + org.kathrynhuxtable.maven.wagon + wagon-gitsite + 0.3.1 + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.2 + + 1.7 + 1.7 + + + + org.codehaus.mojo + animal-sniffer-maven-plugin + 1.13 + + + org.codehaus.mojo.signature + java17 + 1.0 + + + + + check-signature + + check + + + + + + + org.apache.felix + maven-bundle-plugin + 2.3.7 + true + + + ${project.groupId}.${project.artifactId} + ${project.artifactId} + ${project.version} + ${project.name} + joptsimple,joptsimple.util + joptsimple.internal + + + + + package + + bundle + + + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.6 + + + true + 96 + 99 + + + + + + clean + check + + + + + + org.apache.maven.plugins + maven-pmd-plugin + 3.4 + + 40 + 1.7 + + + + compile + + cpd-check + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.8 + + + paste-examples + post-site + + + + + + + + + + + run + + + + + + maven-site-plugin + 3.3 + + UTF-8 + + + + org.pitest + pitest-maven + 1.1.9 + + + joptsimple* + + + *Test + + + equals + hashCode + + + joptsimple.examples* + *EqualsHash*Test + *TestCase + *Fixture + *Harness + *Matchers + *Ctor + *Problematic + *ValueOfHaver + + + + + org.apache.maven.plugins + maven-source-plugin + 2.4 + + + attach-sources + package + + jar + + + + + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.8 + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + 1.7 + public + joptsimple.examples:joptsimple.internal:joptsimple.internal.* + + https://docs.oracle.com/javase/8/docs/api + + © Copyright 2004-2015 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu]]> + + + + + javadoc + + + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.6 + + + true + 97 + 99 + + + xml + html + + + + + org.codehaus.mojo + findbugs-maven-plugin + 3.0.0 + + Low + + + + org.apache.maven.plugins + maven-pmd-plugin + 3.4 + + 40 + 1.7 + + + + + + + github-project-site + gitsite:git@github.com/jopt-simple/jopt-simple.git + + + diff --git a/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpclient/pom.properties b/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpclient/pom.properties new file mode 100644 index 0000000..8d4178f --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpclient/pom.properties @@ -0,0 +1,4 @@ +#Created by Apache Maven 3.8.6 +version=4.5.14 +groupId=org.apache.httpcomponents +artifactId=httpclient diff --git a/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpclient/pom.xml b/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpclient/pom.xml new file mode 100644 index 0000000..44fac92 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpclient/pom.xml @@ -0,0 +1,207 @@ + + + 4.0.0 + + org.apache.httpcomponents + httpcomponents-client + 4.5.14 + + httpclient + Apache HttpClient + + Apache HttpComponents Client + + http://hc.apache.org/httpcomponents-client-ga + jar + + + + org.apache.httpcomponents + httpcore + compile + + + commons-logging + commons-logging + compile + + + commons-codec + commons-codec + compile + + + junit + junit + test + + + org.mockito + mockito-core + test + + + + + + + src/main/resources + true + + **/*.properties + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + src/main/java-deprecated + + + + + + + com.googlecode.maven-download-plugin + download-maven-plugin + 1.2.1 + + + download-public-suffix-list + generate-sources + + wget + + + https://publicsuffix.org/list/effective_tld_names.dat + ${project.build.outputDirectory}/mozilla + public-suffix-list.txt + + + + + + maven-jar-plugin + + + default-jar + package + + jar + test-jar + + + + + org.apache.httpcomponents.httpclient + + + + + + + + + + + + + + maven-javadoc-plugin + ${hc.javadoc.version} + + + true + ${maven.compiler.source} + + http://docs.oracle.com/javase/6/docs/api/ + https://hc.apache.org/httpcomponents-core-4.4.x/current/httpcore/apidocs/ + + + + + + javadoc + + + + + + + maven-project-info-reports-plugin + false + + + + dependencies + dependency-info + summary + + + + + + + maven-jxr-plugin + + + + maven-surefire-report-plugin + + + + + + + + release + + + + com.googlecode.maven-download-plugin + download-maven-plugin + + true + true + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpcore/pom.properties b/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpcore/pom.properties new file mode 100644 index 0000000..1ce4caf --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpcore/pom.properties @@ -0,0 +1,4 @@ +#Created by Apache Maven 3.8.6 +version=4.4.16 +groupId=org.apache.httpcomponents +artifactId=httpcore diff --git a/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpcore/pom.xml b/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpcore/pom.xml new file mode 100644 index 0000000..e0f720e --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.httpcomponents/httpcore/pom.xml @@ -0,0 +1,157 @@ + + + 4.0.0 + + org.apache.httpcomponents + httpcomponents-core + 4.4.16 + + httpcore + Apache HttpCore + 2005 + + Apache HttpComponents Core (blocking I/O) + + http://hc.apache.org/httpcomponents-core-ga + jar + + + + junit + junit + test + + + org.mockito + mockito-core + test + + + commons-logging + commons-logging + test + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + src/main/java-deprecated + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + test-jar + + + + + + + org.apache.httpcomponents.httpcore + + + + + + + + src/main/resources + true + + **/*.properties + + + + + + + + + + maven-javadoc-plugin + + + true + ${maven.compiler.source} + + http://docs.oracle.com/javase/6/docs/api/ + + + + + + javadoc + + + + + + + maven-project-info-reports-plugin + false + + + + dependencies + dependency-info + summary + + + + + + + maven-jxr-plugin + + + + maven-surefire-report-plugin + + + + + + \ No newline at end of file diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-api/pom.properties b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-api/pom.properties new file mode 100644 index 0000000..fb63868 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-api/pom.properties @@ -0,0 +1,3 @@ +artifactId=log4j-api +groupId=org.apache.logging.log4j +version=2.25.3 diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-api/pom.xml b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-api/pom.xml new file mode 100644 index 0000000..7430b25 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-api/pom.xml @@ -0,0 +1,117 @@ + + + + 4.0.0 + + org.apache.logging.log4j + log4j + 2.25.3 + ../log4j-parent + + log4j-api + 2.25.3 + Apache Log4j API + The logging API of the Log4j project. + Library and application code can log through this API. + It contains a simple built-in implementation (`SimpleLogger`) for trivial use cases. + Production applications are recommended to use Log4j API in combination with a fully-fledged implementation, such as Log4j Core. + https://logging.apache.org/log4j/2.x/ + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + true + java.sql;static=true, + + java.management;static=true, + + org.jspecify;transitive=false + !sun.reflect, + + org.jspecify.*;resolution:=optional + false + org.apache.logging.log4j + + + + org.jspecify + jspecify + provided + + + org.osgi + org.osgi.core + provided + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${project.build.directory}/log4j-api-java9 + + + + + + + maven-dependency-plugin + + + unpack-classes + prepare-package + + unpack + + + + + org.apache.logging.log4j + log4j-api-java9 + ${project.version} + zip + false + + + **/*.class + **/*.java + ${project.build.directory} + false + true + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-core/pom.properties b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-core/pom.properties new file mode 100644 index 0000000..7c81886 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-core/pom.properties @@ -0,0 +1,3 @@ +artifactId=log4j-core +groupId=org.apache.logging.log4j +version=2.25.3 diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-core/pom.xml b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-core/pom.xml new file mode 100644 index 0000000..fcb1039 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-core/pom.xml @@ -0,0 +1,243 @@ + + + + 4.0.0 + + org.apache.logging.log4j + log4j + 2.25.3 + ../log4j-parent + + log4j-core + 2.25.3 + Apache Log4j Core + A versatile, industrial-grade, and reference implementation of the Log4j API. + It bundles a rich set of components to assist various use cases: + Appenders targeting files, network sockets, databases, SMTP servers; + Layouts that can render CSV, HTML, JSON, Syslog, etc. formatted outputs; + Filters that can be configured using log event rates, regular expressions, scripts, time, etc. + It contains several extension points to introduce custom components, if needed. + https://logging.apache.org/log4j/2.x/ + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + true + [3.4,5) + org.jspecify.*;resolution:=optional, + + com.conversantmedia.util.concurrent;resolution:=optional; + com.fasterxml.jackson.*;resolution:=optional, + com.lmax.disruptor.*;version="${disruptor.support.range}";resolution:=optional, + javax.activation;resolution:=optional, + javax.jms;version="[1.1,3)";resolution:=optional, + javax.mail.*;version="[1.6,2)";resolution:=optional, + org.apache.commons.compress.*;resolution:=optional, + org.apache.commons.csv;resolution:=optional, + org.apache.kafka.*;resolution:=optional, + org.codehaus.stax2;resolution:=optional, + org.jctools.*;resolution:=optional, + org.zeromq;resolution:=optional, + javax.lang.model.*;resolution:=optional, + javax.tools;resolution:=optional, + + java.sql;resolution:=optional, + javax.sql;resolution:=optional, + java.util.logging;resolution:=optional, + + java.lang.management;resolution:=optional, + javax.management.*;resolution:=optional, + + javax.naming;resolution:=optional + false + ${log4j.docgen.pluginDescriptorsDir.phase1} + true + org.osgi.core;static=true;transitive=false, + + java.logging;static=true, + java.sql;static=true, + + com.fasterxml.jackson.annotation;transitive=false, + com.lmax.disruptor;transitive=false, + com.fasterxml.jackson.core;transitive=false, + com.fasterxml.jackson.databind;transitive=false, + com.fasterxml.jackson.dataformat.xml;transitive=false, + com.fasterxml.jackson.dataformat.yaml;transitive=false, + java.management;transitive=false;static=true, + java.naming;transitive=false, + org.apache.commons.csv;transitive=false, + org.jspecify;transitive=false, + org.zeromq.jeromq;transitive=false, + + com.conversantmedia.disruptor;substitute="disruptor";transitive=false;static=true, + + kafka.clients;substitute="kafka-clients";transitive=false;static=true, + javax.jms.api;substitute="javax.jms-api";transitive=false;static=true, + javax.mail.api;substitute="javax.mail-api";transitive=false;static=true + + + + javax.activation + javax.activation-api + provided + true + + + javax.jms + javax.jms-api + provided + true + + + javax.mail + javax.mail-api + provided + true + + + org.jspecify + jspecify + provided + + + org.osgi + org.osgi.core + provided + + + org.apache.logging.log4j + log4j-api + + + org.apache.commons + commons-compress + true + + + org.apache.commons + commons-csv + true + + + com.conversantmedia + disruptor + true + + + com.lmax + disruptor + true + + + com.fasterxml.jackson.core + jackson-core + true + + + com.fasterxml.jackson.core + jackson-databind + true + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + true + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + true + + + org.jctools + jctools-core + true + + + org.zeromq + jeromq + true + + + org.apache.kafka + kafka-clients + true + + + com.sun.mail + javax.mail + runtime + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${project.build.directory}/log4j-core-java9 + + + + + + + maven-dependency-plugin + + + unpack-classes + prepare-package + + unpack + + + + + org.apache.logging.log4j + log4j-core-java9 + ${project.version} + zip + false + + + **/*.class + **/*.java + ${project.build.directory} + false + true + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-iostreams/pom.properties b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-iostreams/pom.properties new file mode 100644 index 0000000..dbf5aba --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-iostreams/pom.properties @@ -0,0 +1,3 @@ +artifactId=log4j-iostreams +groupId=org.apache.logging.log4j +version=2.25.3 diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-iostreams/pom.xml b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-iostreams/pom.xml new file mode 100644 index 0000000..a19a221 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-iostreams/pom.xml @@ -0,0 +1,80 @@ + + + + 4.0.0 + + org.apache.logging.log4j + log4j + 2.25.3 + ../log4j-parent + + log4j-iostreams + 2.25.3 + Apache Log4j Streaming Interface + The Apache Log4j streams to log event converters + https://logging.apache.org/log4j/2.x/ + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + org.apache.logging.log4j + log4j-api + + + org.apache.logging.log4j + log4j-core + test + + + org.apache.logging.log4j + log4j-core-test + test + + + com.h2database + h2 + test + + + org.hamcrest + hamcrest + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.vintage + junit-vintage-engine + test + + + org.mockito + mockito-core + test + + + diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-jul/pom.properties b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-jul/pom.properties new file mode 100644 index 0000000..bfe88df --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-jul/pom.properties @@ -0,0 +1,3 @@ +artifactId=log4j-jul +groupId=org.apache.logging.log4j +version=2.25.3 diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-jul/pom.xml b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-jul/pom.xml new file mode 100644 index 0000000..0107646 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-jul/pom.xml @@ -0,0 +1,176 @@ + + + + 4.0.0 + + org.apache.logging.log4j + log4j + 2.25.3 + ../log4j-parent + + log4j-jul + 2.25.3 + Apache Log4j JUL Adapter + The Apache Log4j implementation of java.util.logging + https://logging.apache.org/log4j/2.x/ + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + false + org.apache.logging.log4j.core.*;resolution:=optional + + + + org.apache.logging.log4j + log4j-api + + + org.apache.logging.log4j + log4j-core + true + + + org.apache.logging.log4j + log4j-core-test + test + + + org.assertj + assertj-core + test + + + com.lmax + disruptor + test + + + org.hamcrest + hamcrest + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + + + + maven-surefire-plugin + + + default-test + test + + test + + + + DefaultLevelConverterCustomJulLevelsTest.java + DefaultLevelConverterTest.java + JavaLevelTranslatorTest.java + Log4jLevelTranslatorTest.java + + + + + bridgeHandler-test + test + + test + + + + Log4jBridgeHandlerTest.java + + + src/test/resources/logging-test.properties + log4j2-julBridge-test.xml + + + + + async-logger-test + test + + test + + + + **/AsyncLoggerThreadsTest.java + + + org.apache.logging.log4j.jul.LogManager + org.apache.logging.log4j.core.async.AsyncLoggerContextSelector + + + + + log-manager + test + + test + + + + **/*ApiLoggerTest.java + **/*BracketInNotInterpolatedMessageTest.java + **/*CallerInformationTest.java + + + org.apache.logging.log4j.jul.LogManager + + + + + core-logger-test + test + + test + + + + **/CoreLoggerTest.java + + + org.apache.logging.log4j.jul.LogManager + org.apache.logging.log4j.jul.CoreLoggerAdapter + + + + + + + true + + -Xms256m -Xmx1024m + 1 + false + + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-slf4j-impl/pom.properties b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-slf4j-impl/pom.properties new file mode 100644 index 0000000..2e1bff6 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-slf4j-impl/pom.properties @@ -0,0 +1,3 @@ +artifactId=log4j-slf4j-impl +groupId=org.apache.logging.log4j +version=2.25.3 diff --git a/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-slf4j-impl/pom.xml b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-slf4j-impl/pom.xml new file mode 100644 index 0000000..d91a762 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.logging.log4j/log4j-slf4j-impl/pom.xml @@ -0,0 +1,154 @@ + + + + 4.0.0 + + org.apache.logging.log4j + log4j + 2.25.3 + ../log4j-parent + + log4j-slf4j-impl + 2.25.3 + SLF4J 1 Binding for Log4j API + SLF4J 1 binding (provider) for the Log4j API. + It forwards SLF4J 1 calls to the Log4j API. + (Refer to the `log4j-to-slf4j` artifact for forwarding the Log4j API to SLF4J.) + https://logging.apache.org/log4j/2.x/ + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + 1.7.36 + + + + + org.slf4j + slf4j-api + ${slf4j1.version} + + + + + + org.osgi + org.osgi.core + provided + + + org.apache.logging.log4j + log4j-api + + + org.slf4j + slf4j-api + + + org.apache.logging.log4j + log4j-core + runtime + + + org.apache.logging.log4j + log4j-api-test + test + + + org.slf4j + slf4j-api + + + + + org.apache.logging.log4j + log4j-core-test + test + + + org.apache.logging.log4j + log4j-to-slf4j + test + + + org.slf4j + slf4j-api + + + + + org.apache.commons + commons-csv + test + + + org.apache.commons + commons-lang3 + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + + + + maven-surefire-plugin + + + loop-test + test + + test + + + + **/OverflowTest.java + + + + + default-test + test + + test + + + + **/*Test.java + + + **/OverflowTest.java + + + org.apache.logging.log4j:log4j-to-slf4j + + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-api/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-api/pom.properties new file mode 100644 index 0000000..fdaf821 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-api/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-resolver-api +groupId=org.apache.maven.resolver +version=1.9.27 diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-api/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-api/pom.xml new file mode 100644 index 0000000..b913af4 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-api/pom.xml @@ -0,0 +1,66 @@ + + + + 4.0.0 + + + org.apache.maven.resolver + maven-resolver + 1.9.27 + + + maven-resolver-api + + Maven Artifact Resolver API + The application programming interface for the repository system. + + + + + + + + junit + junit + test + + + org.hamcrest + hamcrest-core + test + + + org.mockito + mockito-core + test + + + + + + + com.github.siom79.japicmp + japicmp-maven-plugin + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-connector-basic/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-connector-basic/pom.properties new file mode 100644 index 0000000..36868f3 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-connector-basic/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-resolver-connector-basic +groupId=org.apache.maven.resolver +version=1.9.27 diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-connector-basic/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-connector-basic/pom.xml new file mode 100644 index 0000000..93eea10 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-connector-basic/pom.xml @@ -0,0 +1,93 @@ + + + + 4.0.0 + + + org.apache.maven.resolver + maven-resolver + 1.9.27 + + + maven-resolver-connector-basic + + Maven Artifact Resolver Connector Basic + A repository connector implementation for repositories using URI-based layouts. + + + + org.apache.maven.resolver + maven-resolver-api + + + org.apache.maven.resolver + maven-resolver-spi + + + org.apache.maven.resolver + maven-resolver-util + + + javax.inject + javax.inject + provided + true + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-simple + test + + + com.google.inject + guice + classes + test + + + junit + junit + test + + + org.hamcrest + hamcrest-core + test + + + org.apache.maven.resolver + maven-resolver-test-util + test + + + + + + + org.eclipse.sisu + sisu-maven-plugin + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-impl/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-impl/pom.properties new file mode 100644 index 0000000..dd5e848 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-impl/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-resolver-impl +groupId=org.apache.maven.resolver +version=1.9.27 diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-impl/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-impl/pom.xml new file mode 100644 index 0000000..8db2132 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-impl/pom.xml @@ -0,0 +1,127 @@ + + + + 4.0.0 + + + org.apache.maven.resolver + maven-resolver + 1.9.27 + + + maven-resolver-impl + + Maven Artifact Resolver Implementation + An implementation of the repository system. + + + + + + + + org.apache.maven.resolver + maven-resolver-api + + + org.apache.maven.resolver + maven-resolver-spi + + + org.apache.maven.resolver + maven-resolver-named-locks + + + org.apache.maven.resolver + maven-resolver-util + + + javax.inject + javax.inject + provided + true + + + org.eclipse.sisu + org.eclipse.sisu.inject + provided + true + + + com.google.inject + guice + classes + provided + true + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-simple + test + + + junit + junit + test + + + org.hamcrest + hamcrest + test + + + org.hamcrest + hamcrest-core + test + + + org.mockito + mockito-core + test + + + org.apache.maven.resolver + maven-resolver-test-util + test + + + + + + + org.eclipse.sisu + sisu-maven-plugin + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-named-locks/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-named-locks/pom.properties new file mode 100644 index 0000000..bb30d37 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-named-locks/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-resolver-named-locks +groupId=org.apache.maven.resolver +version=1.9.27 diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-named-locks/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-named-locks/pom.xml new file mode 100644 index 0000000..0085709 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-named-locks/pom.xml @@ -0,0 +1,79 @@ + + + + 4.0.0 + + + org.apache.maven.resolver + maven-resolver + 1.9.27 + + + maven-resolver-named-locks + + Maven Artifact Resolver Named Locks + A synchronization utility implementation using Named locks. + + + + org.slf4j + slf4j-api + + + javax.inject + javax.inject + true + + + junit + junit + test + + + org.hamcrest + hamcrest + test + + + org.hamcrest + hamcrest-core + test + + + org.mockito + mockito-core + test + + + org.slf4j + slf4j-simple + test + + + + + + + org.eclipse.sisu + sisu-maven-plugin + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-spi/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-spi/pom.properties new file mode 100644 index 0000000..24e1f9a --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-spi/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-resolver-spi +groupId=org.apache.maven.resolver +version=1.9.27 diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-spi/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-spi/pom.xml new file mode 100644 index 0000000..2cadaf3 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-spi/pom.xml @@ -0,0 +1,59 @@ + + + + 4.0.0 + + + org.apache.maven.resolver + maven-resolver + 1.9.27 + + + maven-resolver-spi + + Maven Artifact Resolver SPI + The service provider interface for repository system implementations and repository connectors. + + + + org.apache.maven.resolver + maven-resolver-api + + + junit + junit + test + + + org.hamcrest + hamcrest-core + test + + + + + + + com.github.siom79.japicmp + japicmp-maven-plugin + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-transport-http/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-transport-http/pom.properties new file mode 100644 index 0000000..58f57bf --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-transport-http/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-resolver-transport-http +groupId=org.apache.maven.resolver +version=1.9.27 diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-transport-http/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-transport-http/pom.xml new file mode 100644 index 0000000..bef568a --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-transport-http/pom.xml @@ -0,0 +1,161 @@ + + + + 4.0.0 + + + org.apache.maven.resolver + maven-resolver + 1.9.27 + + + maven-resolver-transport-http + + Maven Artifact Resolver Transport HTTP + A transport implementation for repositories using http:// and https:// URLs based on Apache HTTP Client 4.5. + + + 9.4.58.v20250814 + + + + + org.apache.maven.resolver + maven-resolver-api + + + org.apache.maven.resolver + maven-resolver-spi + + + org.apache.maven.resolver + maven-resolver-util + + + com.google.code.gson + gson + 2.13.2 + + + org.apache.httpcomponents + httpclient + 4.5.14 + + + + commons-logging + commons-logging + + + + commons-codec + commons-codec + + + + + org.apache.httpcomponents + httpcore + 4.4.16 + + + commons-codec + commons-codec + 1.21.0 + runtime + + + org.slf4j + jcl-over-slf4j + ${slf4jVersion} + runtime + + + javax.inject + javax.inject + provided + true + + + com.google.inject + guice + classes + test + + + junit + junit + test + + + org.hamcrest + hamcrest-core + test + + + org.apache.maven.resolver + maven-resolver-test-util + test + + + org.eclipse.jetty + jetty-server + ${jettyVersion} + test + + + org.eclipse.jetty + jetty-util + ${jettyVersion} + test + + + org.eclipse.jetty + jetty-http + ${jettyVersion} + test + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-simple + ${slf4jVersion} + test + + + javax.servlet + javax.servlet-api + 3.1.0 + test + + + + + + + org.eclipse.sisu + sisu-maven-plugin + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-util/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-util/pom.properties new file mode 100644 index 0000000..a3baa23 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-util/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-resolver-util +groupId=org.apache.maven.resolver +version=1.9.27 diff --git a/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-util/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-util/pom.xml new file mode 100644 index 0000000..668b2ee --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven.resolver/maven-resolver-util/pom.xml @@ -0,0 +1,64 @@ + + + + 4.0.0 + + + org.apache.maven.resolver + maven-resolver + 1.9.27 + + + maven-resolver-util + + Maven Artifact Resolver Utilities + A collection of utility classes to ease usage of the repository system. + + + + org.apache.maven.resolver + maven-resolver-api + + + org.apache.maven.resolver + maven-resolver-test-util + test + + + junit + junit + test + + + org.hamcrest + hamcrest-core + test + + + + + + + com.github.siom79.japicmp + japicmp-maven-plugin + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-artifact/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven/maven-artifact/pom.properties new file mode 100644 index 0000000..5d8d68f --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-artifact/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-artifact +groupId=org.apache.maven +version=3.9.16 diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-artifact/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven/maven-artifact/pom.xml new file mode 100644 index 0000000..dea7050 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-artifact/pom.xml @@ -0,0 +1,72 @@ + + + + 4.0.0 + + + org.apache.maven + maven + 3.9.16 + + + maven-artifact + + Maven Artifact + + + + org.codehaus.plexus + plexus-utils + + + org.junit.jupiter + junit-jupiter-api + test + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + org.apache.maven.artifact.versioning.ComparableVersion + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + verify + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-builder-support/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven/maven-builder-support/pom.properties new file mode 100644 index 0000000..6456880 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-builder-support/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-builder-support +groupId=org.apache.maven +version=3.9.16 diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-builder-support/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven/maven-builder-support/pom.xml new file mode 100644 index 0000000..8911744 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-builder-support/pom.xml @@ -0,0 +1,41 @@ + + + + 4.0.0 + + + org.apache.maven + maven + 3.9.16 + + + maven-builder-support + + Maven Builder Support + Support for descriptor builders (model, setting, toolchains) + + + + org.junit.jupiter + junit-jupiter-api + test + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-model-builder/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven/maven-model-builder/pom.properties new file mode 100644 index 0000000..ec57eff --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-model-builder/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-model-builder +groupId=org.apache.maven +version=3.9.16 diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-model-builder/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven/maven-model-builder/pom.xml new file mode 100644 index 0000000..dee9659 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-model-builder/pom.xml @@ -0,0 +1,125 @@ + + + + 4.0.0 + + + org.apache.maven + maven + 3.9.16 + + + maven-model-builder + + Maven Model Builder + The effective model builder, with inheritance, profile activation, interpolation, ... + + + + org.codehaus.plexus + plexus-interpolation + + + javax.inject + javax.inject + + + org.apache.maven + maven-model + + + org.apache.maven + maven-artifact + + + org.apache.maven + maven-builder-support + + + org.eclipse.sisu + org.eclipse.sisu.inject + + + org.ow2.asm + asm + + + org.eclipse.sisu + org.eclipse.sisu.plexus + test + + + + com.google.inject + guice + classes + test + + + com.google.guava + guava + test + + + com.google.guava + failureaccess + test + + + org.xmlunit + xmlunit-core + test + + + org.xmlunit + xmlunit-matchers + test + + + org.powermock + powermock-reflect + test + + + org.junit.jupiter + junit-jupiter-api + test + + + org.hamcrest + hamcrest + test + + + + + + + org.codehaus.plexus + plexus-component-metadata + + + org.eclipse.sisu + sisu-maven-plugin + + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-model/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven/maven-model/pom.properties new file mode 100644 index 0000000..ff4ade4 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-model/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-model +groupId=org.apache.maven +version=3.9.16 diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-model/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven/maven-model/pom.xml new file mode 100644 index 0000000..682fdc6 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-model/pom.xml @@ -0,0 +1,88 @@ + + + + 4.0.0 + + + org.apache.maven + maven + 3.9.16 + + + maven-model + + Maven Model + Model for Maven POM (Project Object Model) + + + FileLength + + + + + org.codehaus.plexus + plexus-utils + + + org.junit.jupiter + junit-jupiter-api + test + + + + + + + org.codehaus.modello + modello-maven-plugin + + 4.0.0 + + src/main/mdo/maven.mdo + + + + + modello + + java + xpp3-reader + xpp3-extended-reader + xpp3-writer + xpp3-extended-writer + + + + + + org.apache.maven.plugins + maven-site-plugin + + + + navigation.xml + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-repository-metadata/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven/maven-repository-metadata/pom.properties new file mode 100644 index 0000000..ccc34f7 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-repository-metadata/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-repository-metadata +groupId=org.apache.maven +version=3.9.16 diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-repository-metadata/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven/maven-repository-metadata/pom.xml new file mode 100644 index 0000000..f5ef0ec --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-repository-metadata/pom.xml @@ -0,0 +1,65 @@ + + + + 4.0.0 + + + org.apache.maven + maven + 3.9.16 + + + maven-repository-metadata + + Maven Repository Metadata Model + Per-directory local and remote repository metadata. + + + + org.codehaus.plexus + plexus-utils + + + org.apache.maven.resolver + maven-resolver-api + test + + + org.junit.jupiter + junit-jupiter-api + test + + + + + + + org.codehaus.modello + modello-maven-plugin + + 1.1.0 + + src/main/mdo/metadata.mdo + + + + + + diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-resolver-provider/pom.properties b/src/main/resources/META-INF/maven/org.apache.maven/maven-resolver-provider/pom.properties new file mode 100644 index 0000000..7f1dcea --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-resolver-provider/pom.properties @@ -0,0 +1,3 @@ +artifactId=maven-resolver-provider +groupId=org.apache.maven +version=3.9.16 diff --git a/src/main/resources/META-INF/maven/org.apache.maven/maven-resolver-provider/pom.xml b/src/main/resources/META-INF/maven/org.apache.maven/maven-resolver-provider/pom.xml new file mode 100644 index 0000000..0fa3ae8 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.apache.maven/maven-resolver-provider/pom.xml @@ -0,0 +1,144 @@ + + + + 4.0.0 + + + org.apache.maven + maven + 3.9.16 + + + maven-resolver-provider + + Maven Artifact Resolver Provider + Extensions to Maven Resolver for utilizing Maven POM and repository metadata. + + + + org.apache.maven + maven-model + + + org.apache.maven + maven-model-builder + + + org.apache.maven + maven-repository-metadata + + + org.apache.maven.resolver + maven-resolver-api + + + org.apache.maven.resolver + maven-resolver-spi + + + org.apache.maven.resolver + maven-resolver-util + + + org.apache.maven.resolver + maven-resolver-impl + + + org.codehaus.plexus + plexus-utils + + + javax.inject + javax.inject + + + com.google.inject + guice + classes + true + + + aopalliance + aopalliance + + + com.google.guava + guava + + + + + com.google.guava + guava + true + + + com.google.guava + failureaccess + true + + + + org.apache.maven.resolver + maven-resolver-connector-basic + test + + + org.apache.maven.resolver + maven-resolver-transport-file + test + + + org.apache.maven.resolver + maven-resolver-transport-http + test + + + org.eclipse.sisu + org.eclipse.sisu.plexus + test + + + org.mockito + mockito-core + test + + + org.slf4j + slf4j-simple + test + + + org.codehaus.plexus + plexus-testing + test + + + + + + + org.eclipse.sisu + sisu-maven-plugin + + + + + diff --git a/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-interpolation/pom.properties b/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-interpolation/pom.properties new file mode 100644 index 0000000..e08c79d --- /dev/null +++ b/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-interpolation/pom.properties @@ -0,0 +1,3 @@ +artifactId=plexus-interpolation +groupId=org.codehaus.plexus +version=1.29 diff --git a/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-interpolation/pom.xml b/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-interpolation/pom.xml new file mode 100644 index 0000000..39bad1d --- /dev/null +++ b/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-interpolation/pom.xml @@ -0,0 +1,145 @@ + + + 4.0.0 + + + org.codehaus.plexus + plexus + 24 + + + plexus-interpolation + 1.29 + bundle + + Plexus Interpolation API + + + scm:git:https://github.com/codehaus-plexus/plexus-interpolation.git + scm:git:https://github.com/codehaus-plexus/plexus-interpolation.git + plexus-interpolation-1.29 + http://github.com/codehaus-plexus/plexus-interpolation/tree/${project.scm.tag}/ + + + + Github + https://github.com/codehaus-plexus/plexus-interpolation/issues + + + + github:gh-pages + ${project.scm.developerConnection} + + + + + 2025-11-07T17:42:35Z + + + + + org.junit.jupiter + junit-jupiter-api + test + + + + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.9.0 + + + + + + org.apache.felix + maven-bundle-plugin + 5.1.9 + true + + + org.codehaus.plexus.* + + + + + org.apache.maven.plugins + maven-scm-publish-plugin + + ${project.reporting.outputDirectory} + + + + + scm-publish + + + publish-scm + + site-deploy + + + + + org.apache.maven.plugins + maven-release-plugin + + + + **/src/test/resources/utf8/** + + + + + + + + + java9+ + + [9,) + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + compile-java9 + + compile + + compile + + 9 + + ${project.basedir}/src/main/java9 + + true + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + + + + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-utils/pom.properties b/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-utils/pom.properties new file mode 100644 index 0000000..7fc8091 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-utils/pom.properties @@ -0,0 +1,3 @@ +artifactId=plexus-utils +groupId=org.codehaus.plexus +version=3.6.1 diff --git a/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-utils/pom.xml b/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-utils/pom.xml new file mode 100644 index 0000000..6e18a49 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.codehaus.plexus/plexus-utils/pom.xml @@ -0,0 +1,247 @@ + + + + 4.0.0 + + + org.codehaus.plexus + plexus + 25 + + + plexus-utils + 3.6.1 + + Plexus Common Utilities + A collection of various utility classes to ease working with strings, files, command lines, XML and + more. + https://codehaus-plexus.github.io/plexus-utils/ + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/codehaus-plexus/plexus-utils.git + ${project.scm.connection} + plexus-utils-3.6.1 + https://github.com/codehaus-plexus/plexus-utils/tree/${project.scm.tag}/ + + + github + https://github.com/codehaus-plexus/plexus-utils/issues + + + + github:gh-pages + ${project.scm.developerConnection} + + + + + 1.37 + 2026-04-01T16:36:22Z + + + + + org.openjdk.jmh + jmh-core + ${jmhVersion} + test + + + org.openjdk.jmh + jmh-generator-annprocess + ${jmhVersion} + test + + + org.junit.jupiter + junit-jupiter-api + test + + + + + + + org.apache.maven.plugins + maven-scm-publish-plugin + + ${project.reporting.outputDirectory} + + + + + scm-publish + + + publish-scm + + site-deploy + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + true + + org/codehaus/plexus/util/FileBasedTestCase.java + **/Test*.java + + + + + maven-jar-plugin + + + + true + org.codehaus.plexus.util + + + + + + + + + + jdk9+ + + [9,) + + + + + + maven-compiler-plugin + + + compile-java-9 + + compile + + + 9 + + ${project.basedir}/src/main/java9 + + true + + + + + + + + + + jdk10+ + + [10,) + + + + + + maven-compiler-plugin + + + compile-java-10 + + compile + + + 10 + + ${project.basedir}/src/main/java10 + + true + + + + + + + + + + jdk11+ + + [11,) + + + + + + maven-compiler-plugin + + + compile-java-11 + + compile + + + 11 + + ${project.basedir}/src/main/java11 + + true + + + + + + + + + + plexus-release + + + + maven-enforcer-plugin + + + enforce-java + + enforce + + + + + 11 + + + + + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.eclipse.sisu/org.eclipse.sisu.inject/pom.properties b/src/main/resources/META-INF/maven/org.eclipse.sisu/org.eclipse.sisu.inject/pom.properties new file mode 100644 index 0000000..eb9d464 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.eclipse.sisu/org.eclipse.sisu.inject/pom.properties @@ -0,0 +1,3 @@ +artifactId=org.eclipse.sisu.inject +groupId=org.eclipse.sisu +version=1.0.0 diff --git a/src/main/resources/META-INF/maven/org.eclipse.sisu/org.eclipse.sisu.inject/pom.xml b/src/main/resources/META-INF/maven/org.eclipse.sisu/org.eclipse.sisu.inject/pom.xml new file mode 100644 index 0000000..2ffe383 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.eclipse.sisu/org.eclipse.sisu.inject/pom.xml @@ -0,0 +1,445 @@ + + + + 4.0.0 + + + org.eclipse.sisu + sisu-inject + 1.0.0 + + + org.eclipse.sisu.inject + jar + + ${project.groupId}:${project.artifactId} + JSR330-based container; supports classpath scanning, auto-binding, and dynamic auto-wiring + + + + + com.google.inject + guice + classes + provided + + + + + org.ow2.asm + asm + + + + + org.slf4j + slf4j-api + provided + true + + + org.osgi + osgi.core + provided + true + + + javax.annotation + javax.annotation-api + provided + true + + + javax.enterprise + cdi-api + provided + true + + + javax.servlet + servlet-api + provided + true + + + com.google.inject.extensions + guice-servlet + provided + true + + + junit + junit + provided + true + + + org.junit.jupiter + junit-jupiter-api + provided + true + + + + org.testng + testng + provided + true + + + org.slf4j + slf4j-simple + test + + + com.google.inject.extensions + guice-assistedinject + test + + + org.apache.felix + org.apache.felix.framework + test + + + + + + + . + + META-INF/** + overview.html + + + + + + biz.aQute.bnd + bnd-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + true + + + + guice3 + + copy + + test + + + + com.google.inject + guice + 3.0 + + + com.google.inject.extensions + guice-assistedinject + 3.0 + + + com.google.inject.extensions + guice-servlet + 3.0 + + + ${project.build.directory}/guice3 + + + + guice4 + + copy + + test + + + + com.google.guava + failureaccess + 1.0.1 + + + com.google.guava + guava + 27.1-jre + + + org.ow2.asm + asm + ${asmVersion} + + + cglib + cglib + 3.3.0 + + + com.google.inject + guice + classes + 4.2.3 + + + com.google.inject.extensions + guice-assistedinject + 4.2.3 + + + com.google.inject.extensions + guice-servlet + 4.2.3 + + + ${project.build.directory}/guice4 + + + + guice5 + + copy + + test + + + + com.google.guava + failureaccess + 1.0.1 + + + com.google.guava + guava + 30.1-jre + + + org.ow2.asm + asm + ${asmVersion} + + + com.google.inject + guice + classes + 5.1.0 + + + com.google.inject.extensions + guice-assistedinject + 5.1.0 + + + com.google.inject.extensions + guice-servlet + 5.1.0 + + + ${project.build.directory}/guice5 + + + + guice6 + + copy + + test + + + + jakarta.inject + jakarta.inject-api + 2.0.1 + + + com.google.guava + failureaccess + 1.0.1 + + + com.google.guava + guava + 31.0.1-jre + + + org.ow2.asm + asm + ${asmVersion} + + + com.google.inject + guice + classes + 6.0.0 + + + com.google.inject.extensions + guice-assistedinject + 6.0.0 + + + com.google.inject.extensions + guice-servlet + 6.0.0 + + + ${project.build.directory}/guice6 + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + true + -Xmx64m --add-opens java.base/java.lang=ALL-UNNAMED @{argLine} + + com.google.guava:guava + com.google.inject:guice + com.google.inject.extensions:guice-assistedinject + com.google.inject.extensions:guice-servlet + org.osgi:osgi.core + + + + + default-test + + true + + + + base + + test + + + base + + ${project.build.directory}/guice3/guice.jar + + + + + guice3 + + test + + + guice3 + base + + ${project.build.directory}/guice3/guava.jar + ${project.build.directory}/guice3/guice.jar + ${project.build.directory}/guice3/guice-assistedinject.jar + ${project.build.directory}/guice3/guice-servlet.jar + + + guice3 + + + + + guice4 + + test + + + guice4 + base + + ${project.build.directory}/guice4/failureaccess.jar + ${project.build.directory}/guice4/guava.jar + ${project.build.directory}/guice4/asm.jar + ${project.build.directory}/guice4/cglib.jar + ${project.build.directory}/guice4/guice-classes.jar + ${project.build.directory}/guice4/guice-assistedinject.jar + ${project.build.directory}/guice4/guice-servlet.jar + + + guice4 + + + + + guice5 + + test + + + guice5 + base + + ${project.build.directory}/guice5/failureaccess.jar + ${project.build.directory}/guice5/guava.jar + ${project.build.directory}/guice5/asm.jar + ${project.build.directory}/guice5/guice-classes.jar + ${project.build.directory}/guice5/guice-assistedinject.jar + ${project.build.directory}/guice5/guice-servlet.jar + + + guice5 + + + + + guice6 + + test + + + guice6 + base + + ${project.build.directory}/guice6/jakarta.inject-api.jar + ${project.build.directory}/guice6/failureaccess.jar + ${project.build.directory}/guice6/guava.jar + ${project.build.directory}/guice6/asm.jar + ${project.build.directory}/guice6/guice-classes.jar + ${project.build.directory}/guice6/guice-assistedinject.jar + ${project.build.directory}/guice6/guice-servlet.jar + + + guice6 + + + + + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + + diff --git a/src/main/resources/META-INF/maven/org.jctools/jctools-core-jdk11/pom.properties b/src/main/resources/META-INF/maven/org.jctools/jctools-core-jdk11/pom.properties new file mode 100644 index 0000000..9572d8f --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jctools/jctools-core-jdk11/pom.properties @@ -0,0 +1,3 @@ +groupId=org.jctools +artifactId=jctools-core-jdk11 +version=4.0.7 diff --git a/src/main/resources/META-INF/maven/org.jctools/jctools-core-jdk11/pom.xml b/src/main/resources/META-INF/maven/org.jctools/jctools-core-jdk11/pom.xml new file mode 100644 index 0000000..29e23c3 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jctools/jctools-core-jdk11/pom.xml @@ -0,0 +1,333 @@ + + 4.0.0 + + jctools-core-jdk11 + org.jctools + 4.0.7 + Java Concurrency Tools Core Library + Java Concurrency Tools Core Library + bundle + + + UTF-8 + 11 + 11 + + ${java.version} + ${java.version} + ${java.test.version} + ${java.test.version} + + 6.3.1 + 5.1.8 + 8.0.0 + + 1.3 + 4.13.2 + 31.1-jre + 2.14.1 + + + + + org.jctools + jctools-core + ${project.version} + + + org.jctools + jctools-core + ${project.version} + test-jar + test + + + org.osgi + osgi.annotation + ${osgi.version} + provided + + + + org.hamcrest + hamcrest-all + ${hamcrest.version} + test + + + + junit + junit + ${junit.version} + test + + + + + + + + + + + + + + + + + + + + + + + org.apache.maven.plugins + maven-clean-plugin + 3.2.0 + + + org.apache.maven.plugins + maven-deploy-plugin + 3.0.0-M2 + + + org.apache.maven.plugins + maven-install-plugin + 3.0.0-M1 + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.2 + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.4.0 + + + org.apache.maven.plugins + maven-resources-plugin + 3.2.0 + + + org.apache.maven.plugins + maven-shade-plugin + 3.3.0 + + + org.apache.maven.plugins + maven-site-plugin + 4.0.0-M1 + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M7 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.10.1 + + ${maven.compiler.source} + ${maven.compiler.target} + ${maven.compiler.testSource} + ${maven.compiler.testTarget} + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0 + + + enforce-java + + enforce + + + + + ${java.test.version} + + + 3.5.0 + + + + + + + + + org.apache.felix + maven-bundle-plugin + 5.1.6 + + + org.codehaus.mojo + exec-maven-plugin + 3.0.0 + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + * + + + + + org.apache.felix + maven-bundle-plugin + true + + + sun.misc;resolution:=optional,org.jctools.queues,org.jctools.util + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + verify + + jar-no-fork + + + + + + + + + + + + + + + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.1.0 + + + sign-artifacts + verify + + sign + + + + + 0xC8C127A0EC7665D6 + + --pinentry-mode + loopback + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.7.0 + true + + ossrh + https://ossrh-staging-api.central.sonatype.com/ + false + + + + org.apache.felix + maven-bundle-plugin + ${bundle-plugin.version} + + + + biz.aQute.bnd + biz.aQute.bndlib + ${bnd.version} + + + + + + <_jpms-module-info>${replace;$[maven-symbolicname];-;.};access=0 + + <_jpms-module-info-options>org.jctools.core;substitute="jctools-core" + + <_exportcontents>$[packages;ANNOTATED;org.osgi.annotation.bundle.Export] + + + + + + + + + ossrh + https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots + + + ossrh + https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/ + + + + https://github.com/JCTools + 2013 + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + https://github.com/JCTools/JCTools + scm:git:https://github.com/JCTools/JCTools + HEAD + + + + + https://github.com/nitsanw + + + https://github.com/mjpt777 + + + https://github.com/RichardWarburton + + + https://github.com/kay + + + https://github.com/franz1981 + + + diff --git a/src/main/resources/META-INF/maven/org.jctools/jctools-core/pom.properties b/src/main/resources/META-INF/maven/org.jctools/jctools-core/pom.properties new file mode 100644 index 0000000..09748f2 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jctools/jctools-core/pom.properties @@ -0,0 +1,3 @@ +version=4.0.7 +groupId=org.jctools +artifactId=jctools-core diff --git a/src/main/resources/META-INF/maven/org.jctools/jctools-core/pom.xml b/src/main/resources/META-INF/maven/org.jctools/jctools-core/pom.xml new file mode 100644 index 0000000..86fc4c1 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jctools/jctools-core/pom.xml @@ -0,0 +1,343 @@ + + 4.0.0 + + jctools-core + org.jctools + 4.0.7 + Java Concurrency Tools Core Library + Java Concurrency Tools Core Library + bundle + + + UTF-8 + 1.6 + 1.8 + + ${java.version} + ${java.version} + ${java.test.version} + ${java.test.version} + + 6.3.1 + 5.1.8 + 8.0.0 + + 1.3 + 4.13.2 + 31.1-jre + 2.14.1 + + + + + org.osgi + osgi.annotation + ${osgi.version} + provided + + + + org.hamcrest + hamcrest-all + ${hamcrest.version} + test + + + + junit + junit + ${junit.version} + test + + + + com.google.guava + guava-testlib + ${guava-testlib.version} + test + + + + org.jetbrains.kotlinx + lincheck-jvm + ${lincheck.version} + test + + + + + + + + + org.apache.maven.plugins + maven-clean-plugin + 3.2.0 + + + org.apache.maven.plugins + maven-deploy-plugin + 3.0.0-M2 + + + org.apache.maven.plugins + maven-install-plugin + 3.0.0-M1 + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.2 + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.4.0 + + + org.apache.maven.plugins + maven-resources-plugin + 3.2.0 + + + org.apache.maven.plugins + maven-shade-plugin + 3.3.0 + + + org.apache.maven.plugins + maven-site-plugin + 4.0.0-M1 + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M7 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.10.1 + + ${maven.compiler.source} + ${maven.compiler.target} + ${maven.compiler.testSource} + ${maven.compiler.testTarget} + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0 + + + enforce-java + + enforce + + + + + ${java.test.version} + + + 3.5.0 + + + + + + + + + org.apache.felix + maven-bundle-plugin + 5.1.6 + + + org.codehaus.mojo + exec-maven-plugin + 3.0.0 + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + * + + + + + org.apache.felix + maven-bundle-plugin + true + + + sun.misc;resolution:=optional + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + verify + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + -Xdoclint:none + + 8 + + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + test-jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.1.0 + + + sign-artifacts + verify + + sign + + + + + 0xC8C127A0EC7665D6 + + --pinentry-mode + loopback + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.7.0 + true + + ossrh + https://ossrh-staging-api.central.sonatype.com/ + false + + + + org.apache.felix + maven-bundle-plugin + ${bundle-plugin.version} + + + + biz.aQute.bnd + biz.aQute.bndlib + ${bnd.version} + + + + + + <_jpms-module-info>${replace;$[maven-symbolicname];-;.};access=0 + + <_jpms-module-info-options>org.jctools.core;substitute="jctools-core" + + <_exportcontents>$[packages;ANNOTATED;org.osgi.annotation.bundle.Export] + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.6 + 1.6 + + + + + + + + ossrh + https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots + + + ossrh + https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/ + + + + https://github.com/JCTools + 2013 + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + https://github.com/JCTools/JCTools + scm:git:https://github.com/JCTools/JCTools + HEAD + + + + + https://github.com/nitsanw + + + https://github.com/mjpt777 + + + https://github.com/RichardWarburton + + + https://github.com/kay + + + https://github.com/franz1981 + + + diff --git a/src/main/resources/META-INF/maven/org.jline/jline-native/pom.properties b/src/main/resources/META-INF/maven/org.jline/jline-native/pom.properties new file mode 100644 index 0000000..3886112 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-native/pom.properties @@ -0,0 +1,3 @@ +artifactId=jline-native +groupId=org.jline +version=4.4.0 diff --git a/src/main/resources/META-INF/maven/org.jline/jline-native/pom.xml b/src/main/resources/META-INF/maven/org.jline/jline-native/pom.xml new file mode 100644 index 0000000..49cfeef --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-native/pom.xml @@ -0,0 +1,114 @@ + + + + + 4.0.0 + + + org.jline + jline-parent + 4.4.0 + + jline-native + + jar + JLine Native Library + + + org.jline.nativ + + + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-params + test + + + info.picocli + picocli-codegen + 4.7.7 + test + + + + + + + true + src/main/resources + + **/*.properties + + + + false + src/main/resources + + **/*.properties + + + + + + + org.codehaus.mojo + exec-maven-plugin + 3.6.3 + + + info.picocli + picocli-codegen + 4.7.7 + + + + + generate-graalvm-info + + java + + process-classes + + true + test + + info.picocli + picocli-codegen + + picocli.codegen.aot.graalvm.JniConfigGenerator + + org.jline.nativ.JLineLibrary + -o=target/classes/META-INF/native-image/jlinenative/jni-config.json + + + + + + + org.apache.felix + maven-bundle-plugin + + + org.jline.nativ;-noimport:=true + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.jline/jline-reader/pom.properties b/src/main/resources/META-INF/maven/org.jline/jline-reader/pom.properties new file mode 100644 index 0000000..f2f9a6b --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-reader/pom.properties @@ -0,0 +1,3 @@ +artifactId=jline-reader +groupId=org.jline +version=3.20.0 diff --git a/src/main/resources/META-INF/maven/org.jline/jline-reader/pom.xml b/src/main/resources/META-INF/maven/org.jline/jline-reader/pom.xml new file mode 100644 index 0000000..09bae14 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-reader/pom.xml @@ -0,0 +1,42 @@ + + + + + 4.0.0 + + + org.jline + jline-parent + 3.20.0 + + + jline-reader + JLine Reader + + + org.jline.reader + + + + + org.jline + jline-terminal + + + + junit + junit + test + + + + diff --git a/src/main/resources/META-INF/maven/org.jline/jline-terminal-ffm/pom.properties b/src/main/resources/META-INF/maven/org.jline/jline-terminal-ffm/pom.properties new file mode 100644 index 0000000..99a8ef4 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-terminal-ffm/pom.properties @@ -0,0 +1,3 @@ +artifactId=jline-terminal-ffm +groupId=org.jline +version=4.4.0 diff --git a/src/main/resources/META-INF/maven/org.jline/jline-terminal-ffm/pom.xml b/src/main/resources/META-INF/maven/org.jline/jline-terminal-ffm/pom.xml new file mode 100644 index 0000000..898e742 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-terminal-ffm/pom.xml @@ -0,0 +1,79 @@ + + + + + 4.0.0 + + + org.jline + jline-parent + 4.4.0 + + + jline-terminal-ffm + JLine FFM Terminal + + + 22 + org.jline.terminal.ffm + + + + + org.jline + jline-terminal + + + + org.junit.jupiter + junit-jupiter-api + test + + + + + + + org.apache.felix + maven-bundle-plugin + + + *;-noimport:=true + org.jline.terminal + + + + + org.apache.maven.plugins + maven-compiler-plugin + + ${java.release.version} + + + + org.apache.maven.plugins + maven-surefire-plugin + + --enable-native-access=org.jline.terminal.ffm + + + + org.apache.maven.plugins + maven-javadoc-plugin + + --release ${java.release.version} + + + + + + diff --git a/src/main/resources/META-INF/maven/org.jline/jline-terminal-jni/pom.properties b/src/main/resources/META-INF/maven/org.jline/jline-terminal-jni/pom.properties new file mode 100644 index 0000000..7d3fd72 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-terminal-jni/pom.properties @@ -0,0 +1,3 @@ +artifactId=jline-terminal-jni +groupId=org.jline +version=4.4.0 diff --git a/src/main/resources/META-INF/maven/org.jline/jline-terminal-jni/pom.xml b/src/main/resources/META-INF/maven/org.jline/jline-terminal-jni/pom.xml new file mode 100644 index 0000000..bbc029e --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-terminal-jni/pom.xml @@ -0,0 +1,69 @@ + + + + + 4.0.0 + + + org.jline + jline-parent + 4.4.0 + + + jline-terminal-jni + JLine JNI Terminal + + + org.jline.terminal.jni + + + + + org.jline + jline-native + + + + org.jline + jline-terminal + + + + org.junit.jupiter + junit-jupiter-api + test + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + --enable-native-access=org.jline.terminal.jni + + + + org.apache.felix + maven-bundle-plugin + + + *;-noimport:=true + org.jline.terminal + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.jline/jline-terminal/pom.properties b/src/main/resources/META-INF/maven/org.jline/jline-terminal/pom.properties new file mode 100644 index 0000000..0d52986 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-terminal/pom.properties @@ -0,0 +1,3 @@ +artifactId=jline-terminal +groupId=org.jline +version=4.4.0 diff --git a/src/main/resources/META-INF/maven/org.jline/jline-terminal/pom.xml b/src/main/resources/META-INF/maven/org.jline/jline-terminal/pom.xml new file mode 100644 index 0000000..0c85dc0 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.jline/jline-terminal/pom.xml @@ -0,0 +1,104 @@ + + + + + 4.0.0 + + + org.jline + jline-parent + 4.4.0 + + + jline-terminal + JLine Terminal + + + org.jline.terminal + --add-opens java.base/java.io=org.jline.nativ --add-opens java.base/java.io=org.jline.terminal --add-modules java.logging --add-reads org.jline.terminal=java.logging + + + + + org.jline + jline-native + + + + org.easymock + easymock + test + + + + org.junit.jupiter + junit-jupiter-api + test + + + + org.junit.jupiter + junit-jupiter-params + test + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + default-testCompile + + + --add-modules + java.logging + --add-reads + org.jline.terminal=java.logging + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + test-jar + + + + **/VirtualTerminal*.class + + + + + + + org.apache.felix + maven-bundle-plugin + + + *;-noimport:=true + sun.misc;resolution:=optional, + * + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.slf4j/jcl-over-slf4j/pom.properties b/src/main/resources/META-INF/maven/org.slf4j/jcl-over-slf4j/pom.properties new file mode 100644 index 0000000..7a2ae21 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.slf4j/jcl-over-slf4j/pom.properties @@ -0,0 +1,3 @@ +artifactId=jcl-over-slf4j +groupId=org.slf4j +version=1.7.36 diff --git a/src/main/resources/META-INF/maven/org.slf4j/jcl-over-slf4j/pom.xml b/src/main/resources/META-INF/maven/org.slf4j/jcl-over-slf4j/pom.xml new file mode 100644 index 0000000..c7b7dc9 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.slf4j/jcl-over-slf4j/pom.xml @@ -0,0 +1,40 @@ + + + + + org.slf4j + slf4j-parent + 1.7.36 + + + 4.0.0 + + jcl-over-slf4j + jar + JCL 1.2 implemented over SLF4J + JCL 1.2 implemented over SLF4J + http://www.slf4j.org + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-jdk14 + test + + + + + diff --git a/src/main/resources/META-INF/maven/org.slf4j/slf4j-api/pom.properties b/src/main/resources/META-INF/maven/org.slf4j/slf4j-api/pom.properties new file mode 100644 index 0000000..4192756 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.slf4j/slf4j-api/pom.properties @@ -0,0 +1,3 @@ +artifactId=slf4j-api +groupId=org.slf4j +version=1.7.36 diff --git a/src/main/resources/META-INF/maven/org.slf4j/slf4j-api/pom.xml b/src/main/resources/META-INF/maven/org.slf4j/slf4j-api/pom.xml new file mode 100644 index 0000000..a3fb97c --- /dev/null +++ b/src/main/resources/META-INF/maven/org.slf4j/slf4j-api/pom.xml @@ -0,0 +1,85 @@ + + + + 4.0.0 + + + org.slf4j + slf4j-parent + 1.7.36 + + + slf4j-api + + jar + SLF4J API Module + The slf4j API + + http://www.slf4j.org + + + + + org.codehaus.mojo + animal-sniffer-maven-plugin + + + + org.slf4j.impl.StaticMDCBinder + org.slf4j.impl.StaticLoggerBinder + org.slf4j.impl.StaticMarkerBinder + + + + + org.apache.maven.plugins + maven-surefire-plugin + + once + plain + false + + **/AllTest.java + **/PackageTest.java + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + bundle-test-jar + package + + test-jar + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + process-classes + + run + + + + + + Removing slf4j-api's dummy StaticLoggerBinder and StaticMarkerBinder + + + + + + + + diff --git a/src/main/resources/META-INF/maven/org.slf4j/slf4j-jdk14/pom.properties b/src/main/resources/META-INF/maven/org.slf4j/slf4j-jdk14/pom.properties new file mode 100644 index 0000000..75f0cb0 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.slf4j/slf4j-jdk14/pom.properties @@ -0,0 +1,3 @@ +artifactId=slf4j-jdk14 +groupId=org.slf4j +version=1.7.36 diff --git a/src/main/resources/META-INF/maven/org.slf4j/slf4j-jdk14/pom.xml b/src/main/resources/META-INF/maven/org.slf4j/slf4j-jdk14/pom.xml new file mode 100644 index 0000000..3f98ad5 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.slf4j/slf4j-jdk14/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + + org.slf4j + slf4j-parent + 1.7.36 + + + slf4j-jdk14 + jar + SLF4J JDK14 Binding + SLF4J JDK14 Binding + http://www.slf4j.org + + + + org.slf4j + slf4j-api + + + + org.slf4j + slf4j-api + test-jar + ${project.version} + test + + + + + diff --git a/src/main/resources/META-INF/maven/org.yaml/snakeyaml/pom.properties b/src/main/resources/META-INF/maven/org.yaml/snakeyaml/pom.properties new file mode 100644 index 0000000..c1987c5 --- /dev/null +++ b/src/main/resources/META-INF/maven/org.yaml/snakeyaml/pom.properties @@ -0,0 +1,3 @@ +groupId=org.yaml +artifactId=snakeyaml +version=2.7 diff --git a/src/main/resources/META-INF/maven/org.yaml/snakeyaml/pom.xml b/src/main/resources/META-INF/maven/org.yaml/snakeyaml/pom.xml new file mode 100644 index 0000000..f81f55d --- /dev/null +++ b/src/main/resources/META-INF/maven/org.yaml/snakeyaml/pom.xml @@ -0,0 +1,518 @@ + + + 4.0.0 + org.yaml + snakeyaml + 2.7 + bundle + + UTF-8 + codeberg + 8 + 8 + 8 + false + 5.1.8 + 3.1.0 + 3.12.1 + 3.0.0-M7 + deny + 1.36 + + SnakeYAML + YAML 1.1 parser and emitter for Java + 2008 + https://codeberg.org/snakeyaml/snakeyaml + + codeberg + https://codeberg.org/snakeyaml/snakeyaml/issues + + + + SnakeYAML developers and users List + snakeyaml-core@googlegroups.com + + + + scm:git:https://codeberg.org/snakeyaml/snakeyaml + scm:git:ssh://git@codeberg.org/snakeyaml/snakeyaml + https://codeberg.org/snakeyaml/snakeyaml/src + snakeyaml-2.7 + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + asomov + Andrey Somov + public.somov@gmail.com + + + maslovalex + Alexander Maslov + alexander.maslov@gmail.com + + + + + junit + junit + 4.13.2 + test + + + org.apache.velocity + velocity-engine-core + 2.3 + test + + + joda-time + joda-time + 2.11.1 + test + + + org.projectlombok + lombok + 1.18.42 + test + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + 2.18.1 + + + org.yaml + snakeyaml + + + test + + + org.openjdk.jmh + jmh-core + ${jmh.version} + test + + + org.openjdk.jmh + jmh-generator-annprocess + ${jmh.version} + test + + + + + + ${basedir}/src/test/resources + true + + + + + + org.apache.maven.plugins + maven-resources-plugin + ${maven-resources-plugin.version} + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.4.1 + + org.yaml.snakeyaml.external.* + + + + org.apache.maven.plugins + maven-site-plugin + ${maven-site-plugin.version} + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.2 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.10.1 + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + EnvironmentValue1 + + + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.1.0 + + + enforce-maven + + enforce + + + + + 3.3.0 + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + ${project.build.sourceEncoding} + + + + module-info-compile + compile + + 9 + ${project.basedir}/src/main/java9 + true + + [11,) + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + -Xmx512m + + **/*Test.java + + + **/StressTest.java + **/ParallelTest.java + + + + + org.apache.maven.plugins + maven-eclipse-plugin + 2.10 + + bin + + + + org.apache.maven.plugins + maven-changes-plugin + 2.12.1 + + + validate-changes + pre-site + + changes-validate + + + true + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.4.1 + + + attach-javadocs + + jar + + + + + + pw.krejci + jmh-maven-plugin + 0.2.2 + + json + ${project.build.directory}/jmh-result.json + + + + com.mycila.maven-license-plugin + maven-license-plugin + 1.10.b1 + +
src/etc/header.txt
+ false + true + false + + src/**/*.java + + + src/main/java/org/yaml/snakeyaml/external/** + + true + true + true + UTF-8 +
+ + + site + + format + + + +
+ + org.apache.felix + maven-bundle-plugin + ${maven-bundle-plugin.version} + true + + + <_nouses>true + + !org.yaml.snakeyaml.external*, + org.yaml.snakeyaml.*;version=${project.version} + + true + + + + + maven-site-plugin + ${maven-site-plugin.version} + + + attach-descriptor + + attach-descriptor + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.3 + + true + false + release + deploy + + + + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 + true + + snakeyaml-central + + + + net.revelc.code.formatter + formatter-maven-plugin + 2.20.0 + + + + format + + + src/etc/eclipse-java-google-style.xml + UTF-8 + + + + +
+
+ + + + org.apache.maven.plugins + maven-changes-plugin + 2.12.1 + + + + changes-report + + + + + + org.apache.maven.plugins + maven-surefire-report-plugin + ${maven-surefire-plugin.version} + + true + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + html + + API for ${project.name} ${project.version} + API for ${project.name} ${project.version} + Test API for ${project.name} ${project.version} + Test API for ${project.name} ${project.version} + + + javadoc + + + + + + + + + + jdk21-annotation-processing + + [21,) + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + default-testCompile + + full + + + + + + + + + with-java11-tests + + 11 + 11 + 11 + + + + + org.apache.maven.plugins + maven-surefire-plugin + + --illegal-access=${jdk11-illegal-access-level} -Xmx512m + + + + org.apache.maven.plugins + maven-compiler-plugin + + + -Xlint:deprecation + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-java11-test-source + generate-test-sources + + add-test-source + + + + ${basedir}/src/test/java8/ + ${basedir}/src/test/java11/ + + + + + + + + + + release + + + performRelease + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.0.1 + + + sign-artifacts + verify + + sign + + + + + + + + +
diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-buffer/native-image.properties b/src/main/resources/META-INF/native-image/io.netty/netty-buffer/native-image.properties new file mode 100644 index 0000000..52dbdc4 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-buffer/native-image.properties @@ -0,0 +1,15 @@ +# Copyright 2019 The Netty Project +# +# The Netty Project licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +Args = --initialize-at-run-time=io.netty.buffer.PooledByteBufAllocator,io.netty.buffer.AdaptiveByteBufAllocator,io.netty.buffer.ByteBufAllocator,io.netty.buffer.ByteBufUtil,io.netty.buffer.AbstractReferenceCountedByteBuf diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-buffer/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-buffer/reflect-config.json new file mode 100644 index 0000000..b847545 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-buffer/reflect-config.json @@ -0,0 +1,74 @@ +[ + { + "name": "io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields", + "fields": [ + { + "name": "producerLimit" + } + ] + }, + { + "name": "io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields", + "fields": [ + { + "name": "consumerIndex" + } + ] + }, + { + "name": "io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueProducerFields", + "fields": [ + { + "name": "producerIndex" + } + ] + }, + { + "name": "io.netty.util.internal.shaded.org.jctools.queues.MpmcArrayQueueConsumerIndexField", + "fields": [ + { + "name": "consumerIndex" + } + ] + }, + { + "name": "io.netty.util.internal.shaded.org.jctools.queues.MpmcArrayQueueProducerIndexField", + "fields": [ + { + "name": "producerIndex" + } + ] + }, + { + "name": "io.netty.buffer.AbstractByteBufAllocator", + "queryAllDeclaredMethods": true + }, + { + "name": "io.netty.buffer.AbstractReferenceCountedByteBuf", + "fields": [ + { + "name": "refCnt" + } + ] + }, + { + "name": "io.netty.buffer.AdaptivePoolingAllocator$Chunk", + "fields": [ + { + "name": "refCnt" + } + ] + }, + { + "name": "io.netty.buffer.AdaptivePoolingAllocator$Magazine", + "fields": [ + { + "name": "nextInLine" + } + ] + }, + { + "name":"io.netty.util.ReferenceCountUtil", + "queryAllDeclaredMethods":true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-codec-base/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-codec-base/generated/handlers/reflect-config.json new file mode 100644 index 0000000..a5feac2 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-codec-base/generated/handlers/reflect-config.json @@ -0,0 +1,212 @@ +[ + { + "name": "io.netty.handler.codec.base64.Base64Decoder", + "condition": { + "typeReachable": "io.netty.handler.codec.base64.Base64Decoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.base64.Base64Encoder", + "condition": { + "typeReachable": "io.netty.handler.codec.base64.Base64Encoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.bytes.ByteArrayDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.bytes.ByteArrayDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.bytes.ByteArrayEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.bytes.ByteArrayEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ByteToMessageCodec", + "condition": { + "typeReachable": "io.netty.handler.codec.ByteToMessageCodec" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ByteToMessageCodec$1", + "condition": { + "typeReachable": "io.netty.handler.codec.ByteToMessageCodec$1" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ByteToMessageCodec$Encoder", + "condition": { + "typeReachable": "io.netty.handler.codec.ByteToMessageCodec$Encoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ByteToMessageDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.ByteToMessageDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.DatagramPacketDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.DatagramPacketDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.DatagramPacketEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.DatagramPacketEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.DelimiterBasedFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.DelimiterBasedFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.FixedLengthFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.FixedLengthFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.json.JsonObjectDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.json.JsonObjectDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.LengthFieldBasedFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.LengthFieldBasedFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.LengthFieldPrepender", + "condition": { + "typeReachable": "io.netty.handler.codec.LengthFieldPrepender" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.LineBasedFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.LineBasedFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageAggregator", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageAggregator" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToByteEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToByteEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageCodec", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageCodec" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageCodec$1", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageCodec$1" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageCodec$2", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageCodec$2" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ReplayingDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.ReplayingDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.serialization.CompatibleObjectEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.serialization.CompatibleObjectEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.serialization.ObjectDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.serialization.ObjectDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.serialization.ObjectEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.serialization.ObjectEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.string.LineEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.string.LineEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.string.StringDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.string.StringDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.string.StringEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.string.StringEncoder" + }, + "queryAllPublicMethods": true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-codec-compression/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-codec-compression/generated/handlers/reflect-config.json new file mode 100644 index 0000000..e2e6eb0 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-codec-compression/generated/handlers/reflect-config.json @@ -0,0 +1,163 @@ +[ + { + "name": "io.netty.handler.codec.compression.BrotliDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.BrotliDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.BrotliEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.BrotliEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.Bzip2Decoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.Bzip2Decoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.Bzip2Encoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.Bzip2Encoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.FastLzFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.FastLzFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.FastLzFrameEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.FastLzFrameEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.JdkZlibDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.JdkZlibDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.JdkZlibEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.JdkZlibEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.JZlibDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.JZlibDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.JZlibEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.JZlibEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.Lz4FrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.Lz4FrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.Lz4FrameEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.Lz4FrameEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.LzfDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.LzfDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.LzfEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.LzfEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.LzmaFrameEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.LzmaFrameEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.SnappyFramedDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.SnappyFramedDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.SnappyFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.SnappyFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.SnappyFramedEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.SnappyFramedEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.SnappyFrameEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.SnappyFrameEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.ZlibDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.ZlibDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.ZlibEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.ZlibEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.ZstdEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.ZstdEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.compression.ZstdDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.compression.ZstdDecoder" + }, + "queryAllPublicMethods": true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-codec-compression/native-image.properties b/src/main/resources/META-INF/native-image/io.netty/netty-codec-compression/native-image.properties new file mode 100644 index 0000000..f428bd9 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-codec-compression/native-image.properties @@ -0,0 +1,15 @@ +# Copyright 2022 The Netty Project +# +# The Netty Project licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +Args = --initialize-at-run-time=io.netty.handler.codec.compression.BrotliDecoder diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-codec-dns/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-codec-dns/generated/handlers/reflect-config.json new file mode 100644 index 0000000..a160b19 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-codec-dns/generated/handlers/reflect-config.json @@ -0,0 +1,58 @@ +[ + { + "name": "io.netty.handler.codec.dns.DatagramDnsQueryDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.dns.DatagramDnsQueryDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.dns.DatagramDnsQueryEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.dns.DatagramDnsQueryEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.dns.DatagramDnsResponseDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.dns.DatagramDnsResponseDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.dns.DatagramDnsResponseEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.dns.DatagramDnsResponseEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.dns.TcpDnsQueryDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.dns.TcpDnsQueryDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.dns.TcpDnsQueryEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.dns.TcpDnsQueryEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.dns.TcpDnsResponseDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.dns.TcpDnsResponseDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.dns.TcpDnsResponseEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.dns.TcpDnsResponseEncoder" + }, + "queryAllPublicMethods": true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-codec-haproxy/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-codec-haproxy/generated/handlers/reflect-config.json new file mode 100644 index 0000000..0dad222 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-codec-haproxy/generated/handlers/reflect-config.json @@ -0,0 +1,16 @@ +[ + { + "name": "io.netty.handler.codec.haproxy.HAProxyMessageDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.haproxy.HAProxyMessageDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.haproxy.HAProxyMessageEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.haproxy.HAProxyMessageEncoder" + }, + "queryAllPublicMethods": true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-codec-http/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-codec-http/generated/handlers/reflect-config.json new file mode 100644 index 0000000..d17021c --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-codec-http/generated/handlers/reflect-config.json @@ -0,0 +1,478 @@ +[ + { + "name": "io.netty.handler.codec.http.cors.CorsHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.cors.CorsHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpClientCodec", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpClientCodec" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpClientCodec$Decoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpClientCodec$Decoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpClientCodec$Encoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpClientCodec$Encoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpClientUpgradeHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpClientUpgradeHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpContentCompressor", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpContentCompressor" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpContentDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpContentDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpContentDecoder$ByteBufForwarder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpContentDecoder$ByteBufForwarder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpContentDecompressor", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpContentDecompressor" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpContentEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpContentEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpObjectAggregator", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpObjectAggregator" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpObjectDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpObjectDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpObjectEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpObjectEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpRequestDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpRequestDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpRequestEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpRequestEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpResponseDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpResponseDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpResponseEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpResponseEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpServerCodec", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpServerCodec" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpServerCodec$HttpServerRequestDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpServerCodec$HttpServerRequestDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpServerCodec$HttpServerResponseEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpServerCodec$HttpServerResponseEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpServerExpectContinueHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpServerExpectContinueHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpServerKeepAliveHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpServerKeepAliveHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.HttpServerUpgradeHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.HttpServerUpgradeHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.compression.DeflateDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.compression.DeflateDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.compression.DeflateEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.compression.DeflateEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.compression.PerFrameDeflateDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.compression.PerFrameDeflateDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.compression.PerFrameDeflateEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.compression.PerFrameDeflateEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientCompressionHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientCompressionHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketServerCompressionHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketServerCompressionHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.WebSocketClientExtensionHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.WebSocketClientExtensionHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.Utf8FrameValidator", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.Utf8FrameValidator" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocket00FrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocket00FrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocket07FrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocket07FrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocket07FrameEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocket07FrameEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocket13FrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocket13FrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocket13FrameEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocket13FrameEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$3", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$3" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketFrameAggregator", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketFrameAggregator" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketFrameEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketFrameEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketProtocolHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketProtocolHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker$1", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker$1" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandshakeHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandshakeHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.rtsp.RtspDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.rtsp.RtspDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.rtsp.RtspEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.rtsp.RtspEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.rtsp.RtspObjectDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.rtsp.RtspObjectDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.rtsp.RtspObjectEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.rtsp.RtspObjectEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.rtsp.RtspRequestDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.rtsp.RtspRequestDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.rtsp.RtspRequestEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.rtsp.RtspRequestEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.rtsp.RtspResponseDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.rtsp.RtspResponseDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.rtsp.RtspResponseEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.rtsp.RtspResponseEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.spdy.SpdyFrameCodec", + "condition": { + "typeReachable": "io.netty.handler.codec.spdy.SpdyFrameCodec" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.spdy.SpdyHttpCodec", + "condition": { + "typeReachable": "io.netty.handler.codec.spdy.SpdyHttpCodec" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.spdy.SpdyHttpDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.spdy.SpdyHttpDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.spdy.SpdyHttpEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.spdy.SpdyHttpEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.spdy.SpdyHttpResponseStreamIdHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.spdy.SpdyHttpResponseStreamIdHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.spdy.SpdySessionHandler", + "condition": { + "typeReachable": "io.netty.handler.codec.spdy.SpdySessionHandler" + }, + "queryAllPublicMethods": true + } +] diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-codec-http/native-image.properties b/src/main/resources/META-INF/native-image/io.netty/netty-codec-http/native-image.properties new file mode 100644 index 0000000..4166af4 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-codec-http/native-image.properties @@ -0,0 +1,16 @@ +# Copyright 2019 The Netty Project +# +# The Netty Project licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +Args = --initialize-at-build-time=io.netty \ + --initialize-at-run-time=io.netty.handler.codec.http.HttpObjectEncoder,io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder,io.netty.handler.codec.http.websocketx.extensions.compression.DeflateDecoder diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-codec-marshalling/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-codec-marshalling/generated/handlers/reflect-config.json new file mode 100644 index 0000000..234eaf7 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-codec-marshalling/generated/handlers/reflect-config.json @@ -0,0 +1,30 @@ +[ + { + "name": "io.netty.handler.codec.marshalling.CompatibleMarshallingDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.marshalling.CompatibleMarshallingDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.marshalling.CompatibleMarshallingEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.marshalling.CompatibleMarshallingEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.marshalling.MarshallingDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.marshalling.MarshallingDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.marshalling.MarshallingEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.marshalling.MarshallingEncoder" + }, + "queryAllPublicMethods": true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-codec-protobuf/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-codec-protobuf/generated/handlers/reflect-config.json new file mode 100644 index 0000000..0088388 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-codec-protobuf/generated/handlers/reflect-config.json @@ -0,0 +1,44 @@ +[ + { + "name": "io.netty.handler.codec.protobuf.ProtobufDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.protobuf.ProtobufDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.protobuf.ProtobufDecoderNano", + "condition": { + "typeReachable": "io.netty.handler.codec.protobuf.ProtobufDecoderNano" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.protobuf.ProtobufEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.protobuf.ProtobufEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.protobuf.ProtobufEncoderNano", + "condition": { + "typeReachable": "io.netty.handler.codec.protobuf.ProtobufEncoderNano" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.protobuf.ProtobufVarint32FrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.protobuf.ProtobufVarint32FrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.protobuf.ProtobufVarint32LengthFieldPrepender", + "condition": { + "typeReachable": "io.netty.handler.codec.protobuf.ProtobufVarint32LengthFieldPrepender" + }, + "queryAllPublicMethods": true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-common/native-image.properties b/src/main/resources/META-INF/native-image/io.netty/netty-common/native-image.properties new file mode 100644 index 0000000..9c5b4c9 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-common/native-image.properties @@ -0,0 +1,22 @@ +# Copyright 2019 The Netty Project +# +# The Netty Project licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +# Note: This file is overridden by graalvm-reachability-metadata + +Args = --initialize-at-run-time=io.netty.util.AbstractReferenceCounted,io.netty.util.concurrent.GlobalEventExecutor,io.netty.util.concurrent.ImmediateEventExecutor,io.netty.util.concurrent.ScheduledFutureTask,io.netty.util.internal.ThreadLocalRandom \ + --initialize-at-run-time=io.netty.util.NetUtilSubstitutions$NetUtilLocalhost4LazyHolder \ + --initialize-at-run-time=io.netty.util.NetUtilSubstitutions$NetUtilLocalhost6LazyHolder \ + --initialize-at-run-time=io.netty.util.NetUtilSubstitutions$NetUtilLocalhostLazyHolder \ + --initialize-at-run-time=io.netty.util.NetUtilSubstitutions$NetUtilNetworkInterfacesLazyHolder \ + --initialize-at-build-time=io.netty.util.internal.CleanerJava25 diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-common/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-common/reflect-config.json new file mode 100644 index 0000000..691a31d --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-common/reflect-config.json @@ -0,0 +1,73 @@ +[ + { + "name":"java.nio.ByteBuffer", + "methods": [ + {"name": "alignedSlice", "parameterTypes": ["int"]} + ] + }, + { + "name": "java.nio.DirectByteBuffer", + "allDeclaredConstructors": true + }, + { + "condition": { + "typeReachable": "sun.misc.Unsafe" + }, + "name": "sun.misc.Unsafe", + "allDeclaredFields": true, + "allPublicMethods": true + }, + { + "condition": { + "typeReachable": "jdk.internal.misc.Unsafe" + }, + "name": "jdk.internal.misc.Unsafe", + "methods": [ + {"name": "copyMemory", "parameterTypes": ["java.lang.Object", "long", "java.lang.Object", "long", "long"]}, + {"name": "objectFieldOffset", "parameterTypes": ["java.lang.reflect.Field"]}, + {"name": "staticFieldOffset", "parameterTypes": ["java.lang.reflect.Field"]}, + {"name": "staticFieldBase", "parameterTypes": ["java.lang.reflect.Field"]}, + {"name": "arrayBaseOffset", "parameterTypes": ["java.lang.Class"]}, + {"name": "arrayIndexScale", "parameterTypes": ["java.lang.Class"]}, + {"name": "allocateMemory", "parameterTypes": ["long"]}, + {"name": "reallocateMemory", "parameterTypes": ["long", "long"]}, + {"name": "freeMemory", "parameterTypes": ["long"]}, + {"name": "setMemory", "parameterTypes": ["long", "long", "byte"]}, + {"name": "setMemory", "parameterTypes": ["java.lang.Object", "long", "long", "byte"]}, + {"name": "getBoolean", "parameterTypes": ["java.lang.Object", "long"]}, + {"name": "getByte", "parameterTypes": ["long"]}, + {"name": "getByte", "parameterTypes": ["java.lang.Object", "long"]}, + {"name": "getInt", "parameterTypes": ["long"]}, + {"name": "getInt", "parameterTypes": ["java.lang.Object", "long"]}, + {"name": "getLong", "parameterTypes": ["long"]}, + {"name": "getLong", "parameterTypes": ["java.lang.Object", "long"]}, + {"name": "putByte", "parameterTypes": ["long", "byte"]}, + {"name": "putByte", "parameterTypes": ["java.lang.Object", "long", "byte"]}, + {"name": "putInt", "parameterTypes": ["long", "int"]}, + {"name": "putInt", "parameterTypes": ["java.lang.Object", "long", "int"]}, + {"name": "putLong", "parameterTypes": ["long", "long"]}, + {"name": "putLong", "parameterTypes": ["java.lang.Object", "long", "long"]}, + {"name": "addressSize", "parameterTypes": []}, + {"name": "allocateMemory", "parameterTypes": ["long"]}, + {"name": "freeMemory", "parameterTypes": ["long"]} + ] + }, + { + "condition": { + "typeReachable": "java.lang.management.ManagementFactory" + }, + "name": "java.lang.management.ManagementFactory", + "methods": [ + {"name": "getRuntimeMXBean", "parameterTypes": []} + ] + }, + { + "condition": { + "typeReachable": "java.lang.management.RuntimeMXBean" + }, + "name": "java.lang.management.RuntimeMXBean", + "methods": [ + {"name": "getInputArguments", "parameterTypes": []} + ] + } +] diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-handler/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-handler/generated/handlers/reflect-config.json new file mode 100644 index 0000000..e9c00cc --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-handler/generated/handlers/reflect-config.json @@ -0,0 +1,395 @@ +[ + + { + "name": "io.netty.handler.address.DynamicAddressConnectHandler", + "condition": { + "typeReachable": "io.netty.handler.address.DynamicAddressConnectHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.address.ResolveAddressHandler", + "condition": { + "typeReachable": "io.netty.handler.address.ResolveAddressHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.base64.Base64Decoder", + "condition": { + "typeReachable": "io.netty.handler.codec.base64.Base64Decoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.base64.Base64Encoder", + "condition": { + "typeReachable": "io.netty.handler.codec.base64.Base64Encoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.bytes.ByteArrayDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.bytes.ByteArrayDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.bytes.ByteArrayEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.bytes.ByteArrayEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ByteToMessageCodec", + "condition": { + "typeReachable": "io.netty.handler.codec.ByteToMessageCodec" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ByteToMessageCodec$1", + "condition": { + "typeReachable": "io.netty.handler.codec.ByteToMessageCodec$1" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ByteToMessageCodec$Encoder", + "condition": { + "typeReachable": "io.netty.handler.codec.ByteToMessageCodec$Encoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ByteToMessageDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.ByteToMessageDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.DatagramPacketDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.DatagramPacketDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.DatagramPacketEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.DatagramPacketEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.DelimiterBasedFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.DelimiterBasedFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.FixedLengthFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.FixedLengthFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.json.JsonObjectDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.json.JsonObjectDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.LengthFieldBasedFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.LengthFieldBasedFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.LengthFieldPrepender", + "condition": { + "typeReachable": "io.netty.handler.codec.LengthFieldPrepender" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.LineBasedFrameDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.LineBasedFrameDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageAggregator", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageAggregator" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToByteEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToByteEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageCodec", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageCodec" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageCodec$1", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageCodec$1" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageCodec$2", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageCodec$2" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.MessageToMessageEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.MessageToMessageEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.ReplayingDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.ReplayingDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.serialization.CompatibleObjectEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.serialization.CompatibleObjectEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.serialization.ObjectDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.serialization.ObjectDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.serialization.ObjectEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.serialization.ObjectEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.string.LineEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.string.LineEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.string.StringDecoder", + "condition": { + "typeReachable": "io.netty.handler.codec.string.StringDecoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.codec.string.StringEncoder", + "condition": { + "typeReachable": "io.netty.handler.codec.string.StringEncoder" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.flow.FlowControlHandler", + "condition": { + "typeReachable": "io.netty.handler.flow.FlowControlHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.flush.FlushConsolidationHandler", + "condition": { + "typeReachable": "io.netty.handler.flush.FlushConsolidationHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ipfilter.AbstractRemoteAddressFilter", + "condition": { + "typeReachable": "io.netty.handler.ipfilter.AbstractRemoteAddressFilter" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ipfilter.IpSubnetFilter", + "condition": { + "typeReachable": "io.netty.handler.ipfilter.IpSubnetFilter" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ipfilter.RuleBasedIpFilter", + "condition": { + "typeReachable": "io.netty.handler.ipfilter.RuleBasedIpFilter" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ipfilter.UniqueIpFilter", + "condition": { + "typeReachable": "io.netty.handler.ipfilter.UniqueIpFilter" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.logging.LoggingHandler", + "condition": { + "typeReachable": "io.netty.handler.logging.LoggingHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.pcap.PcapWriteHandler", + "condition": { + "typeReachable": "io.netty.handler.pcap.PcapWriteHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ssl.AbstractSniHandler", + "condition": { + "typeReachable": "io.netty.handler.ssl.AbstractSniHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ssl.ApplicationProtocolNegotiationHandler", + "condition": { + "typeReachable": "io.netty.handler.ssl.ApplicationProtocolNegotiationHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ssl.OptionalSslHandler", + "condition": { + "typeReachable": "io.netty.handler.ssl.OptionalSslHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ssl.SniHandler", + "condition": { + "typeReachable": "io.netty.handler.ssl.SniHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ssl.SslClientHelloHandler", + "condition": { + "typeReachable": "io.netty.handler.ssl.SslClientHelloHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ssl.SslHandler", + "condition": { + "typeReachable": "io.netty.handler.ssl.SslHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ssl.SslMasterKeyHandler", + "condition": { + "typeReachable": "io.netty.handler.ssl.SslMasterKeyHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.ssl.SslMasterKeyHandler$WiresharkSslMasterKeyHandler", + "condition": { + "typeReachable": "io.netty.handler.ssl.SslMasterKeyHandler$WiresharkSslMasterKeyHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.stream.ChunkedWriteHandler", + "condition": { + "typeReachable": "io.netty.handler.stream.ChunkedWriteHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.timeout.IdleStateHandler", + "condition": { + "typeReachable": "io.netty.handler.timeout.IdleStateHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.timeout.ReadTimeoutHandler", + "condition": { + "typeReachable": "io.netty.handler.timeout.ReadTimeoutHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.timeout.WriteTimeoutHandler", + "condition": { + "typeReachable": "io.netty.handler.timeout.WriteTimeoutHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.traffic.AbstractTrafficShapingHandler", + "condition": { + "typeReachable": "io.netty.handler.traffic.AbstractTrafficShapingHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.traffic.ChannelTrafficShapingHandler", + "condition": { + "typeReachable": "io.netty.handler.traffic.ChannelTrafficShapingHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.traffic.GlobalChannelTrafficShapingHandler", + "condition": { + "typeReachable": "io.netty.handler.traffic.GlobalChannelTrafficShapingHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.handler.traffic.GlobalTrafficShapingHandler", + "condition": { + "typeReachable": "io.netty.handler.traffic.GlobalTrafficShapingHandler" + }, + "queryAllPublicMethods": true + } +] diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-handler/native-image.properties b/src/main/resources/META-INF/native-image/io.netty/netty-handler/native-image.properties new file mode 100644 index 0000000..8a57474 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-handler/native-image.properties @@ -0,0 +1,15 @@ +# Copyright 2019 The Netty Project +# +# The Netty Project licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +Args = --initialize-at-run-time=io.netty.handler.ssl.util.ThreadLocalInsecureRandom diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-handler/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-handler/reflect-config.json new file mode 100644 index 0000000..772f87e --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-handler/reflect-config.json @@ -0,0 +1,28 @@ +[ + { + "name": "org.bouncycastle.jce.provider.BouncyCastleProvider", + "condition": { + "typeReachable": "org.bouncycastle.jcajce.provider.BouncyCastleProvider" + }, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + } + ] + }, + { + "name": "org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider", + "condition": { + "typeReachable": "org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider" + }, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + } + ] + } +] diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-resolver-dns/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-resolver-dns/generated/handlers/reflect-config.json new file mode 100644 index 0000000..51befc0 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-resolver-dns/generated/handlers/reflect-config.json @@ -0,0 +1,37 @@ +[ + { + "name": "io.netty.resolver.dns.DnsNameResolver$1", + "condition": { + "typeReachable": "io.netty.resolver.dns.DnsNameResolver$1" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.resolver.dns.DnsNameResolver$2", + "condition": { + "typeReachable": "io.netty.resolver.dns.DnsNameResolver$2" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.resolver.dns.DnsNameResolver$3", + "condition": { + "typeReachable": "io.netty.resolver.dns.DnsNameResolver$3" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler", + "condition": { + "typeReachable": "io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.resolver.dns.DnsQueryContext$4", + "condition": { + "typeReachable": "io.netty.resolver.dns.DnsQueryContext$4" + }, + "queryAllPublicMethods": true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-resolver-dns/native-image.properties b/src/main/resources/META-INF/native-image/io.netty/netty-resolver-dns/native-image.properties new file mode 100644 index 0000000..68a912d --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-resolver-dns/native-image.properties @@ -0,0 +1,21 @@ +# Copyright 2020 The Netty Project +# +# The Netty Project licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +Args = --initialize-at-run-time=io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider \ + --initialize-at-run-time=io.netty.resolver.dns.DnsServerAddressStreamProviders$DefaultProviderHolder \ + --initialize-at-run-time=io.netty.resolver.dns.DnsNameResolver \ + --initialize-at-run-time=io.netty.resolver.dns.DnsNameResolverBuilder \ + --initialize-at-run-time=io.netty.resolver.HostsFileEntriesResolver \ + --initialize-at-run-time=io.netty.resolver.dns.ResolvConf$ResolvConfLazy \ + --initialize-at-run-time=io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/jni-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/jni-config.json new file mode 100644 index 0000000..493b2ed --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/jni-config.json @@ -0,0 +1,170 @@ +[ + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.ChannelException" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.DefaultFileRegion", + "allDeclaredFields": true + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.epoll.LinuxSocket" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.epoll.Native" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket", + "allDeclaredFields": true + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.epoll.NativeStaticallyReferencedJniMethods" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.unix.Buffer" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.unix.DatagramSocketAddress", + "methods":[{"name":"","parameterTypes":["byte[]","int","int","int","io.netty.channel.unix.DatagramSocketAddress"] }] + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.unix.DomainDatagramSocketAddress", + "methods":[{"name":"","parameterTypes":["byte[]","int","io.netty.channel.unix.DomainDatagramSocketAddress"] }] + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.unix.FileDescriptor" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.unix.LimitsStaticallyReferencedJniMethods" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.unix.PeerCredentials", + "methods":[{"name":"","parameterTypes":["int","int","int[]"] }] + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.unix.Socket" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.io.FileDescriptor", + "fields":[{"name":"fd"}] + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.io.IOException" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.lang.Boolean", + "methods":[{"name":"getBoolean","parameterTypes":["java.lang.String"] }] + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.lang.OutOfMemoryError" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.lang.RuntimeException" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.net.InetSocketAddress", + "methods":[{"name":"","parameterTypes":["java.lang.String","int"] }] + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.net.PortUnreachableException" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.nio.Buffer", + "fields":[ + {"name":"limit"}, + {"name":"position"} + ], + "methods":[ + {"name":"limit","parameterTypes":[] }, + {"name":"position","parameterTypes":[] } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.nio.DirectByteBuffer" + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"java.nio.channels.ClosedChannelException", + "methods":[{"name":"","parameterTypes":[] }] + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"sun.nio.ch.FileChannelImpl", + "fields":[{"name":"fd"}] + } +] diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/native-image.properties b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/native-image.properties new file mode 100644 index 0000000..ff444c8 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/native-image.properties @@ -0,0 +1,15 @@ +# Copyright 2023 The Netty Project +# +# The Netty Project licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +Args = --initialize-at-run-time=io.netty.channel.epoll,io.netty.channel.unix.Limits,io.netty.channel.unix.IovArray,io.netty.channel.unix.Errors diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/reflect-config.json new file mode 100644 index 0000000..1bc7ee3 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/reflect-config.json @@ -0,0 +1,44 @@ +[ + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.epoll.EpollServerSocketChannel", + "allDeclaredConstructors": true + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.epoll.EpollDomainSocketChannel", + "allDeclaredConstructors": true + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.epoll.EpollServerDomainSocketChannel", + "allDeclaredConstructors": true + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.epoll.EpollSocketChannel", + "allDeclaredConstructors": true + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name":"io.netty.channel.epoll.EpollDatagramChannel", + "allDeclaredConstructors": true + }, + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "name": "io.netty.util.internal.NativeLibraryUtil", + "allDeclaredMethods": true + } +] diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/resource-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/resource-config.json new file mode 100644 index 0000000..4998b6e --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classes-epoll/resource-config.json @@ -0,0 +1,13 @@ +{ + "resources":{ + "includes":[ + { + "condition": { + "typeReachable": "io.netty.channel.epoll.Native" + }, + "pattern":".*libnetty_transport_native_epoll_.*\\.so" + } + ]}, + "bundles":[] +} + diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/jni-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/jni-config.json new file mode 100644 index 0000000..b4b5a96 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/jni-config.json @@ -0,0 +1,252 @@ +[ + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.ChannelException" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.nio.channels.ClosedChannelException", + "methods":[{"name":"","parameterTypes":[] }] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "[J" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.unix.LimitsStaticallyReferencedJniMethods" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.DefaultFileRegion", + "allDeclaredFields": true, + "fields": [ + { + "name": "file" + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.io.FileDescriptor", + "fields": [ + { + "name": "fd" + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.unix.FileDescriptor", + "fields": [ + { + "name": "state" + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.unix.Buffer" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.unix.PeerCredentials", + "methods": [ + { + "name": "", + "parameterTypes": [ + "int", + "int", + "int[]" + ] + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.uring.LinuxSocket" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.uring.Native" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.uring.NativeStaticallyReferencedJniMethods" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.unix.DomainDatagramSocketAddress", + "methods": [ + { + "name": "", + "parameterTypes": [ + "byte[]", + "int", + "io.netty.channel.unix.DomainDatagramSocketAddress" + ] + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.unix.DatagramSocketAddress", + "methods": [ + { + "name": "", + "parameterTypes": [ + "byte[]", + "int", + "int", + "int", + "io.netty.channel.unix.DatagramSocketAddress" + ] + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "io.netty.channel.unix.Socket" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.lang.OutOfMemoryError" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.lang.RuntimeException" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.net.InetSocketAddress", + "methods": [ + { + "name": "", + "parameterTypes": [ + "java.lang.String", + "int" + ] + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.io.IOException" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.lang.Boolean", + "methods": [ + { + "name": "getBoolean", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.net.PortUnreachableException" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.nio.DirectByteBuffer" + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.nio.Buffer", + "fields": [ + { + "name": "limit" + }, + { + "name": "position" + } + ], + "methods": [ + { + "name": "limit", + "parameterTypes": [] + }, + { + "name": "position", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "sun.nio.ch.FileChannelImpl", + "fields": [ + { + "name": "fd" + } + ] + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name": "java.nio.channels.FileChannel", + "fields": [ + { + "name": "file" + } + ] + } +] diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/native-image.properties b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/native-image.properties new file mode 100644 index 0000000..8a3a68f --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/native-image.properties @@ -0,0 +1,15 @@ +# Copyright 2023 The Netty Project +# +# The Netty Project licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +Args = --initialize-at-run-time=io.netty.channel.uring,io.netty.channel.unix.Limits,io.netty.channel.unix.IovArray,io.netty.channel.unix.Errors diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/reflect-config.json new file mode 100644 index 0000000..9e9cc56 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/reflect-config.json @@ -0,0 +1,23 @@ +[ + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name":"io.netty.channel.uring.IoUringServerSocketChannel", + "allDeclaredConstructors": true + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name":"io.netty.channel.uring.IoUringSocketChannel", + "allDeclaredConstructors": true + }, + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "name":"io.netty.channel.uring.IoUringDatagramChannel", + "methods":[{"name":"","parameterTypes":[] }] + } +] diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/resource-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/resource-config.json new file mode 100644 index 0000000..6faa011 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport-classess-io_uring/resource-config.json @@ -0,0 +1,13 @@ +{ + "resources":{ + "includes":[ + { + "condition": { + "typeReachable": "io.netty.channel.uring.Native" + }, + "pattern":".*libnetty_transport_native_io_uring42_.*\\.so" + } + ]}, + "bundles":[] +} + diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport/generated/handlers/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-transport/generated/handlers/reflect-config.json new file mode 100644 index 0000000..095ff36 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport/generated/handlers/reflect-config.json @@ -0,0 +1,121 @@ +[ + { + "name": "io.netty.bootstrap.ServerBootstrap$1", + "condition": { + "typeReachable": "io.netty.bootstrap.ServerBootstrap$1" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.bootstrap.ServerBootstrap$ServerBootstrapAcceptor", + "condition": { + "typeReachable": "io.netty.bootstrap.ServerBootstrap$ServerBootstrapAcceptor" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.ChannelDuplexHandler", + "condition": { + "typeReachable": "io.netty.channel.ChannelDuplexHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.ChannelHandler", + "condition": { + "typeReachable": "io.netty.channel.ChannelHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.ChannelHandlerAdapter", + "condition": { + "typeReachable": "io.netty.channel.ChannelHandlerAdapter" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.ChannelInboundHandler", + "condition": { + "typeReachable": "io.netty.channel.ChannelInboundHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.ChannelInboundHandlerAdapter", + "condition": { + "typeReachable": "io.netty.channel.ChannelInboundHandlerAdapter" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.ChannelInitializer", + "condition": { + "typeReachable": "io.netty.channel.ChannelInitializer" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.ChannelOutboundHandler", + "condition": { + "typeReachable": "io.netty.channel.ChannelOutboundHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.ChannelOutboundHandlerAdapter", + "condition": { + "typeReachable": "io.netty.channel.ChannelOutboundHandlerAdapter" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.CombinedChannelDuplexHandler", + "condition": { + "typeReachable": "io.netty.channel.CombinedChannelDuplexHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.DefaultChannelPipeline$HeadContext", + "condition": { + "typeReachable": "io.netty.channel.DefaultChannelPipeline$HeadContext" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.DefaultChannelPipeline$TailContext", + "condition": { + "typeReachable": "io.netty.channel.DefaultChannelPipeline$TailContext" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.embedded.EmbeddedChannel$1", + "condition": { + "typeReachable": "io.netty.channel.embedded.EmbeddedChannel$1" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.pool.SimpleChannelPool$1", + "condition": { + "typeReachable": "io.netty.channel.pool.SimpleChannelPool$1" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.SimpleChannelInboundHandler", + "condition": { + "typeReachable": "io.netty.channel.SimpleChannelInboundHandler" + }, + "queryAllPublicMethods": true + }, + { + "name": "io.netty.channel.SimpleUserEventChannelHandler", + "condition": { + "typeReachable": "io.netty.channel.SimpleUserEventChannelHandler" + }, + "queryAllPublicMethods": true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/io.netty/netty-transport/reflect-config.json b/src/main/resources/META-INF/native-image/io.netty/netty-transport/reflect-config.json new file mode 100644 index 0000000..459d305 --- /dev/null +++ b/src/main/resources/META-INF/native-image/io.netty/netty-transport/reflect-config.json @@ -0,0 +1,47 @@ +[ + { + "name": "io.netty.channel.socket.nio.NioServerSocketChannel", + "methods": [ + { "name": "", "parameterTypes": [] } + ] + }, + { + "name": "io.netty.channel.socket.nio.NioSocketChannel", + "methods": [ + { "name": "", "parameterTypes": [] } + ] + }, + { + "name": "sun.nio.ch.SelectorImpl", + "fields": [ + { "name": "selectedKeys", "allowUnsafeAccess" : true}, + { "name": "publicSelectedKeys", "allowUnsafeAccess" : true} + ] + }, + { + "name": "java.lang.management.ManagementFactory", + "methods": [ + { + "name": "getRuntimeMXBean", + "parameterTypes": [] + } + ] + }, + { + "name": "java.lang.management.RuntimeMXBean", + "methods": [ + { + "name": "getName", + "parameterTypes": [] + } + ] + }, + { + "name": "io.netty.channel.socket.nio.NioDatagramChannel", + "methods": [ + { + "name": "", "parameterTypes": [] + } + ] + } +] diff --git a/src/main/resources/META-INF/native-image/log4j-generated/6e1db6c8/reflect-config.json b/src/main/resources/META-INF/native-image/log4j-generated/6e1db6c8/reflect-config.json new file mode 100644 index 0000000..7be39ea --- /dev/null +++ b/src/main/resources/META-INF/native-image/log4j-generated/6e1db6c8/reflect-config.json @@ -0,0 +1 @@ +[{"name":"io.github.waterfallmc.waterfall.console.HexFormattingConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]}] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/log4j-generated/org.apache.logging.log4j/log4j-core/reflect-config.json b/src/main/resources/META-INF/native-image/log4j-generated/org.apache.logging.log4j/log4j-core/reflect-config.json new file mode 100644 index 0000000..494af18 --- /dev/null +++ b/src/main/resources/META-INF/native-image/log4j-generated/org.apache.logging.log4j/log4j-core/reflect-config.json @@ -0,0 +1 @@ +[{"name":"org.apache.logging.log4j.core.appender.AbstractAppender$Builder","methods":[],"fields":[{"name":"configuration"},{"name":"ignoreExceptions"},{"name":"layout"},{"name":"name"}]},{"name":"org.apache.logging.log4j.core.appender.AbstractFileAppender$Builder","methods":[],"fields":[{"name":"advertise"},{"name":"advertiseUri"},{"name":"append"},{"name":"createOnDemand"},{"name":"fileGroup"},{"name":"fileName"},{"name":"fileOwner"},{"name":"filePermissions"},{"name":"locking"}]},{"name":"org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender$Builder","methods":[],"fields":[{"name":"bufferSize"},{"name":"bufferedIo"},{"name":"immediateFlush"}]},{"name":"org.apache.logging.log4j.core.appender.AppenderSet","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.AppenderSet$Builder","methods":[],"fields":[{"name":"configuration"},{"name":"node"}]},{"name":"org.apache.logging.log4j.core.appender.AsyncAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.AsyncAppender$Builder","methods":[],"fields":[{"name":"appenderRefs"},{"name":"blocking"},{"name":"blockingQueueFactory"},{"name":"bufferSize"},{"name":"configuration"},{"name":"errorRef"},{"name":"ignoreExceptions"},{"name":"includeLocation"},{"name":"name"},{"name":"shutdownTimeout"}]},{"name":"org.apache.logging.log4j.core.appender.ConsoleAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.ConsoleAppender$Builder","methods":[],"fields":[{"name":"direct"},{"name":"follow"},{"name":"target"}]},{"name":"org.apache.logging.log4j.core.appender.CountingNoOpAppender","methods":[{"name":"","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.Layout"]},{"name":"createAppender","parameterTypes":["java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.FailoverAppender","methods":[{"name":"createAppender","parameterTypes":["java.lang.String","java.lang.String","java.lang.String[]","java.lang.String","org.apache.logging.log4j.core.config.Configuration","org.apache.logging.log4j.core.Filter","java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.FailoversPlugin","methods":[{"name":"createFailovers","parameterTypes":["org.apache.logging.log4j.core.config.AppenderRef[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.FileAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.FileAppender$Builder","methods":[],"fields":[{"name":"advertise"},{"name":"advertiseUri"},{"name":"append"},{"name":"createOnDemand"},{"name":"fileGroup"},{"name":"fileName"},{"name":"fileOwner"},{"name":"filePermissions"},{"name":"locking"}]},{"name":"org.apache.logging.log4j.core.appender.HttpAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.HttpAppender$Builder","methods":[],"fields":[{"name":"connectTimeoutMillis"},{"name":"headers"},{"name":"method"},{"name":"readTimeoutMillis"},{"name":"sslConfiguration"},{"name":"url"},{"name":"verifyHostname"}]},{"name":"org.apache.logging.log4j.core.appender.MemoryMappedFileAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.MemoryMappedFileAppender$Builder","methods":[],"fields":[{"name":"advertise"},{"name":"advertiseURI"},{"name":"append"},{"name":"fileName"},{"name":"regionLength"}]},{"name":"org.apache.logging.log4j.core.appender.NullAppender","methods":[{"name":"createAppender","parameterTypes":["java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.OutputStreamAppender","methods":[{"name":"createAppender","parameterTypes":["org.apache.logging.log4j.core.Layout","org.apache.logging.log4j.core.Filter","java.io.OutputStream","java.lang.String","boolean","boolean"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.RandomAccessFileAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.RandomAccessFileAppender$Builder","methods":[],"fields":[{"name":"advertise"},{"name":"advertiseURI"},{"name":"append"},{"name":"fileName"}]},{"name":"org.apache.logging.log4j.core.appender.RollingFileAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.RollingFileAppender$Builder","methods":[],"fields":[{"name":"advertise"},{"name":"advertiseUri"},{"name":"append"},{"name":"createOnDemand"},{"name":"fileGroup"},{"name":"fileName"},{"name":"fileOwner"},{"name":"filePattern"},{"name":"filePermissions"},{"name":"locking"},{"name":"policy"},{"name":"strategy"}]},{"name":"org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder","methods":[],"fields":[{"name":"advertise"},{"name":"advertiseURI"},{"name":"append"},{"name":"fileGroup"},{"name":"fileName"},{"name":"fileOwner"},{"name":"filePattern"},{"name":"filePermissions"},{"name":"policy"},{"name":"strategy"}]},{"name":"org.apache.logging.log4j.core.appender.ScriptAppenderSelector","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.ScriptAppenderSelector$Builder","methods":[],"fields":[{"name":"appenderSet"},{"name":"configuration"},{"name":"name"},{"name":"script"}]},{"name":"org.apache.logging.log4j.core.appender.SmtpAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.SmtpAppender$Builder","methods":[],"fields":[{"name":"bcc"},{"name":"bufferSize"},{"name":"cc"},{"name":"from"},{"name":"replyTo"},{"name":"smtpDebug"},{"name":"smtpHost"},{"name":"smtpPassword"},{"name":"smtpPort"},{"name":"smtpProtocol"},{"name":"smtpUsername"},{"name":"sslConfiguration"},{"name":"subject"},{"name":"to"}]},{"name":"org.apache.logging.log4j.core.appender.SocketAppender","methods":[{"name":"createAppender","parameterTypes":["java.lang.String","int","org.apache.logging.log4j.core.net.Protocol","org.apache.logging.log4j.core.net.ssl.SslConfiguration","int","int","boolean","java.lang.String","boolean","boolean","org.apache.logging.log4j.core.Layout","org.apache.logging.log4j.core.Filter","boolean","org.apache.logging.log4j.core.config.Configuration"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.SocketAppender$AbstractBuilder","methods":[],"fields":[{"name":"advertise"},{"name":"connectTimeoutMillis"},{"name":"host"},{"name":"immediateFail"},{"name":"port"},{"name":"protocol"},{"name":"reconnectDelayMillis"},{"name":"socketOptions"},{"name":"sslConfiguration"}]},{"name":"org.apache.logging.log4j.core.appender.SyslogAppender","methods":[{"name":"newSyslogAppenderBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.SyslogAppender$Builder","methods":[],"fields":[{"name":"appName"},{"name":"charsetName"},{"name":"enterpriseNumber"},{"name":"escapeNL"},{"name":"eventPrefix"},{"name":"exceptionPattern"},{"name":"excludes"},{"name":"facility"},{"name":"format"},{"name":"id"},{"name":"includeMdc"},{"name":"includes"},{"name":"loggerFields"},{"name":"mdcId"},{"name":"mdcPrefix"},{"name":"msgId"},{"name":"newLine"},{"name":"required"}]},{"name":"org.apache.logging.log4j.core.appender.WriterAppender","methods":[{"name":"createAppender","parameterTypes":["org.apache.logging.log4j.core.StringLayout","org.apache.logging.log4j.core.Filter","java.io.Writer","java.lang.String","boolean","boolean"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.db.ColumnMapping","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.db.ColumnMapping$Builder","methods":[],"fields":[{"name":"columnType"},{"name":"configuration"},{"name":"layout"},{"name":"literal"},{"name":"name"},{"name":"parameter"},{"name":"pattern"},{"name":"source"},{"name":"type"}]},{"name":"org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource$Builder","methods":[],"fields":[{"name":"connectionString"},{"name":"driverClassName"},{"name":"password"},{"name":"properties"},{"name":"userName"}]},{"name":"org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig$Builder","methods":[],"fields":[{"name":"configuration"},{"name":"isClob"},{"name":"isEventTimestamp"},{"name":"isUnicode"},{"name":"literal"},{"name":"name"},{"name":"pattern"}]},{"name":"org.apache.logging.log4j.core.appender.db.jdbc.DataSourceConnectionSource","methods":[{"name":"createConnectionSource","parameterTypes":["java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.db.jdbc.DriverManagerConnectionSource","methods":[{"name":"","parameterTypes":["java.lang.String","java.lang.String","java.lang.String","char[]","char[]","org.apache.logging.log4j.core.config.Property[]"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.db.jdbc.FactoryMethodConnectionSource","methods":[{"name":"createConnectionSource","parameterTypes":["java.lang.String","java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender$Builder","methods":[],"fields":[{"name":"bufferSize"},{"name":"columnConfigs"},{"name":"columnMappings"},{"name":"connectionSource"},{"name":"immediateFail"},{"name":"reconnectIntervalMillis"},{"name":"tableName"},{"name":"truncateStrings"}]},{"name":"org.apache.logging.log4j.core.appender.mom.JmsAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.mom.JmsAppender$Builder","methods":[],"fields":[{"name":"destinationBindingName"},{"name":"factoryBindingName"},{"name":"factoryName"},{"name":"immediateFail"},{"name":"password"},{"name":"providerUrl"},{"name":"reconnectIntervalMillis"},{"name":"securityCredentials"},{"name":"securityPrincipalName"},{"name":"urlPkgPrefixes"},{"name":"userName"}]},{"name":"org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqAppender","methods":[{"name":"createAppender","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.Layout","org.apache.logging.log4j.core.Filter","org.apache.logging.log4j.core.config.Property[]","boolean","long","long","boolean","byte[]","boolean","long","long","long","long","int","long","long","long","int","long","int","long","long","long","boolean"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.nosql.NoSqlAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.nosql.NoSqlAppender$Builder","methods":[],"fields":[{"name":"additionalFields"},{"name":"bufferSize"},{"name":"provider"}]},{"name":"org.apache.logging.log4j.core.appender.rewrite.LoggerNameLevelRewritePolicy","methods":[{"name":"createPolicy","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.util.KeyValuePair[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy","methods":[{"name":"createPolicy","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.util.KeyValuePair[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rewrite.PropertiesRewritePolicy","methods":[{"name":"createPolicy","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","org.apache.logging.log4j.core.config.Property[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rewrite.RewriteAppender","methods":[{"name":"createAppender","parameterTypes":["java.lang.String","java.lang.String","org.apache.logging.log4j.core.config.AppenderRef[]","org.apache.logging.log4j.core.config.Configuration","org.apache.logging.log4j.core.appender.rewrite.RewritePolicy","org.apache.logging.log4j.core.Filter"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy","methods":[{"name":"createPolicy","parameterTypes":["org.apache.logging.log4j.core.appender.rolling.TriggeringPolicy[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.CronTriggeringPolicy","methods":[{"name":"createPolicy","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String","java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy","methods":[{"name":"createStrategy","parameterTypes":["java.lang.String","java.lang.String","java.lang.String","java.lang.String","org.apache.logging.log4j.core.appender.rolling.action.Action[]","boolean","org.apache.logging.log4j.core.config.Configuration"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy$Builder","methods":[],"fields":[{"name":"compressionLevelStr"},{"name":"config"},{"name":"customActions"},{"name":"fileIndex"},{"name":"max"},{"name":"min"},{"name":"stopCustomActionsOnError"},{"name":"tempCompressedFilePattern"}]},{"name":"org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy","methods":[{"name":"createStrategy","parameterTypes":["java.lang.String","java.lang.String","org.apache.logging.log4j.core.appender.rolling.action.Action[]","boolean","org.apache.logging.log4j.core.config.Configuration"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy$Builder","methods":[],"fields":[{"name":"compressionLevelStr"},{"name":"config"},{"name":"customActions"},{"name":"maxFiles"},{"name":"stopCustomActionsOnError"},{"name":"tempCompressedFilePattern"}]},{"name":"org.apache.logging.log4j.core.appender.rolling.NoOpTriggeringPolicy","methods":[{"name":"","parameterTypes":[]},{"name":"createPolicy","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy","methods":[{"name":"createPolicy","parameterTypes":["long"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy","methods":[{"name":"createPolicy","parameterTypes":["java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy$Builder","methods":[],"fields":[{"name":"interval"},{"name":"maxRandomDelay"},{"name":"modulate"}]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.DeleteAction","methods":[{"name":"createDeleteAction","parameterTypes":["java.lang.String","boolean","int","boolean","org.apache.logging.log4j.core.appender.rolling.action.PathSorter","org.apache.logging.log4j.core.appender.rolling.action.PathCondition[]","org.apache.logging.log4j.core.appender.rolling.action.ScriptCondition","org.apache.logging.log4j.core.config.Configuration"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileCount","methods":[{"name":"createFileCountCondition","parameterTypes":["int","org.apache.logging.log4j.core.appender.rolling.action.PathCondition[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileSize","methods":[{"name":"createFileSizeCondition","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.appender.rolling.action.PathCondition[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.IfAll","methods":[{"name":"createAndCondition","parameterTypes":["org.apache.logging.log4j.core.appender.rolling.action.PathCondition[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.IfAny","methods":[{"name":"createOrCondition","parameterTypes":["org.apache.logging.log4j.core.appender.rolling.action.PathCondition[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.IfFileName","methods":[{"name":"createNameCondition","parameterTypes":["java.lang.String","java.lang.String","org.apache.logging.log4j.core.appender.rolling.action.PathCondition[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.IfLastModified","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.IfLastModified$Builder","methods":[],"fields":[{"name":"age"},{"name":"nestedConditions"}]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.IfNot","methods":[{"name":"createNotCondition","parameterTypes":["org.apache.logging.log4j.core.appender.rolling.action.PathCondition"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.PathSortByModificationTime","methods":[{"name":"","parameterTypes":["boolean"]},{"name":"createSorter","parameterTypes":["boolean"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction$Builder","methods":[],"fields":[{"name":"basePath"},{"name":"configuration"},{"name":"fileGroup"},{"name":"fileOwner"},{"name":"filePermissionsString"},{"name":"followLinks"},{"name":"maxDepth"},{"name":"pathConditions"}]},{"name":"org.apache.logging.log4j.core.appender.rolling.action.ScriptCondition","methods":[{"name":"","parameterTypes":["org.apache.logging.log4j.core.script.AbstractScript","org.apache.logging.log4j.core.config.Configuration"]},{"name":"createCondition","parameterTypes":["org.apache.logging.log4j.core.script.AbstractScript","org.apache.logging.log4j.core.config.Configuration"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy","methods":[{"name":"","parameterTypes":["long","long","org.apache.logging.log4j.core.config.ConfigurationScheduler"]},{"name":"createPurgePolicy","parameterTypes":["java.lang.String","java.lang.String","java.lang.String","org.apache.logging.log4j.core.config.Configuration"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.routing.Route","methods":[{"name":"createRoute","parameterTypes":["java.lang.String","java.lang.String","org.apache.logging.log4j.core.config.Node"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.routing.Routes","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.routing.Routes$Builder","methods":[],"fields":[{"name":"configuration"},{"name":"patternScript"},{"name":"routes"}]},{"name":"org.apache.logging.log4j.core.appender.routing.RoutingAppender","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.appender.routing.RoutingAppender$Builder","methods":[],"fields":[{"name":"defaultRouteScript"},{"name":"purgePolicy"},{"name":"rewritePolicy"},{"name":"routes"}]},{"name":"org.apache.logging.log4j.core.async.ArrayBlockingQueueFactory","methods":[{"name":"","parameterTypes":[]},{"name":"createFactory","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.async.AsyncLoggerConfig","methods":[{"name":"newAsyncBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.async.AsyncLoggerConfig$RootLogger","methods":[{"name":"","parameterTypes":[]},{"name":"newAsyncRootBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig","methods":[{"name":"","parameterTypes":["java.lang.String"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig$Builder","methods":[],"fields":[{"name":"factoryClassName"}]},{"name":"org.apache.logging.log4j.core.async.DisruptorBlockingQueueFactory","methods":[{"name":"createFactory","parameterTypes":["com.conversantmedia.util.concurrent.SpinPolicy"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory","methods":[{"name":"createFactory","parameterTypes":["org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory$WaitStrategy"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.async.LinkedTransferQueueFactory","methods":[{"name":"","parameterTypes":[]},{"name":"createFactory","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.AppenderRef","methods":[{"name":"createAppenderRef","parameterTypes":["java.lang.String","org.apache.logging.log4j.Level","org.apache.logging.log4j.core.Filter"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.AppendersPlugin","methods":[{"name":"createAppenders","parameterTypes":["org.apache.logging.log4j.core.Appender[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.CustomLevelConfig","methods":[{"name":"createLevel","parameterTypes":["java.lang.String","int"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.CustomLevels","methods":[{"name":"createCustomLevels","parameterTypes":["org.apache.logging.log4j.core.config.CustomLevelConfig[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.DefaultAdvertiser","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.HttpWatcher","methods":[{"name":"","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","org.apache.logging.log4j.core.config.Reconfigurable","java.util.List","long"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.LoggerConfig","methods":[{"name":"","parameterTypes":[]},{"name":"","parameterTypes":["java.lang.String","org.apache.logging.log4j.Level","boolean"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.LoggerConfig$Builder","methods":[],"fields":[{"name":"additivity"},{"name":"config"},{"name":"filter"},{"name":"includeLocation"},{"name":"level"},{"name":"levelAndRefs"},{"name":"loggerName"},{"name":"properties"},{"name":"refs"}]},{"name":"org.apache.logging.log4j.core.config.LoggerConfig$RootLogger","methods":[{"name":"","parameterTypes":[]},{"name":"newRootBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.LoggerConfig$RootLogger$Builder","methods":[],"fields":[{"name":"additivity"},{"name":"config"},{"name":"filter"},{"name":"includeLocation"},{"name":"level"},{"name":"levelAndRefs"},{"name":"properties"},{"name":"refs"}]},{"name":"org.apache.logging.log4j.core.config.LoggersPlugin","methods":[{"name":"createLoggers","parameterTypes":["org.apache.logging.log4j.core.config.LoggerConfig[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.MonitorResource","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.MonitorResource$Builder","methods":[],"fields":[{"name":"uri"}]},{"name":"org.apache.logging.log4j.core.config.MonitorResources","methods":[{"name":"createMonitorResources","parameterTypes":["org.apache.logging.log4j.core.config.MonitorResource[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.PropertiesPlugin","methods":[{"name":"configureSubstitutor","parameterTypes":["org.apache.logging.log4j.core.config.Property[]","org.apache.logging.log4j.core.config.Configuration"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.Property","methods":[{"name":"createProperty","parameterTypes":["java.lang.String","java.lang.String","org.apache.logging.log4j.core.config.Configuration"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.ScriptsPlugin","methods":[{"name":"createScripts","parameterTypes":["org.apache.logging.log4j.core.script.AbstractScript[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.arbiters.ClassArbiter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.arbiters.ClassArbiter$Builder","methods":[],"fields":[{"name":"className"}]},{"name":"org.apache.logging.log4j.core.config.arbiters.DefaultArbiter","methods":[{"name":"","parameterTypes":[]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter$Builder","methods":[],"fields":[{"name":"propertyName"},{"name":"propertyValue"}]},{"name":"org.apache.logging.log4j.core.config.arbiters.ScriptArbiter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.arbiters.ScriptArbiter$Builder","methods":[],"fields":[{"name":"configuration"},{"name":"node"}]},{"name":"org.apache.logging.log4j.core.config.arbiters.SelectArbiter","methods":[{"name":"","parameterTypes":[]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter$Builder","methods":[],"fields":[{"name":"propertyName"},{"name":"propertyValue"}]},{"name":"org.apache.logging.log4j.core.config.json.JsonConfigurationFactory","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$BigDecimalConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$BigIntegerConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$BooleanConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$ByteArrayConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$ByteConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$CharArrayConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$CharacterConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$CharsetConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$ClassConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$CronExpressionConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$DoubleConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$DurationConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$FileConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$FloatConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$InetAddressConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$IntegerConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$LevelConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$LongConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$PathConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$PatternConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$SecurityProviderConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$ShortConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$StringConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$UriConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$UrlConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$UuidConverter","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.validation.validators.NotBlankValidator","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.validation.validators.RequiredValidator","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.validation.validators.ValidHostValidator","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.validation.validators.ValidPortValidator","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.visitors.PluginAttributeVisitor","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.visitors.PluginBuilderAttributeVisitor","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.visitors.PluginConfigurationVisitor","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.visitors.PluginElementVisitor","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.visitors.PluginLoggerContextVisitor","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.visitors.PluginNodeVisitor","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.plugins.visitors.PluginValueVisitor","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.properties.PropertiesConfigurationFactory","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.AbstractFilter$AbstractFilterBuilder","methods":[],"fields":[{"name":"onMatch"},{"name":"onMismatch"}]},{"name":"org.apache.logging.log4j.core.filter.AbstractFilterable","methods":[],"fields":[{"name":"propertyArray"}]},{"name":"org.apache.logging.log4j.core.filter.AbstractFilterable$Builder","methods":[],"fields":[{"name":"filter"},{"name":"propertyArray"}]},{"name":"org.apache.logging.log4j.core.filter.BurstFilter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.BurstFilter$Builder","methods":[],"fields":[{"name":"level"},{"name":"maxBurst"},{"name":"rate"}]},{"name":"org.apache.logging.log4j.core.filter.CompositeFilter","methods":[{"name":"createFilters","parameterTypes":["org.apache.logging.log4j.core.Filter[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.DenyAllFilter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.DynamicThresholdFilter","methods":[{"name":"createFilter","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.util.KeyValuePair[]","org.apache.logging.log4j.Level","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.LevelMatchFilter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.LevelMatchFilter$Builder","methods":[],"fields":[{"name":"level"}]},{"name":"org.apache.logging.log4j.core.filter.LevelRangeFilter","methods":[{"name":"createFilter","parameterTypes":["org.apache.logging.log4j.Level","org.apache.logging.log4j.Level","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.MapFilter","methods":[{"name":"createFilter","parameterTypes":["org.apache.logging.log4j.core.util.KeyValuePair[]","java.lang.String","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.MarkerFilter","methods":[{"name":"createFilter","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter$Builder","methods":[],"fields":[{"name":"configLocation"},{"name":"configuration"},{"name":"pollInterval"}]},{"name":"org.apache.logging.log4j.core.filter.NoMarkerFilter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.RegexFilter","methods":[{"name":"createFilter","parameterTypes":["java.lang.String","java.lang.String[]","java.lang.Boolean","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.ScriptFilter","methods":[{"name":"createFilter","parameterTypes":["org.apache.logging.log4j.core.script.AbstractScript","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.config.Configuration"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.StringMatchFilter","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.StringMatchFilter$Builder","methods":[],"fields":[{"name":"text"}]},{"name":"org.apache.logging.log4j.core.filter.StructuredDataFilter","methods":[{"name":"createFilter","parameterTypes":["org.apache.logging.log4j.core.util.KeyValuePair[]","java.lang.String","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.ThreadContextMapFilter","methods":[{"name":"","parameterTypes":["java.util.Map","boolean","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]},{"name":"createFilter","parameterTypes":["org.apache.logging.log4j.core.util.KeyValuePair[]","java.lang.String","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.ThresholdFilter","methods":[{"name":"createFilter","parameterTypes":["org.apache.logging.log4j.Level","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.filter.TimeFilter","methods":[{"name":"createFilter","parameterTypes":["java.lang.String","java.lang.String","java.lang.String","org.apache.logging.log4j.core.Filter$Result","org.apache.logging.log4j.core.Filter$Result"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.AbstractJacksonLayout$Builder","methods":[],"fields":[{"name":"additionalFields"},{"name":"compact"},{"name":"complete"},{"name":"endOfLine"},{"name":"eventEol"},{"name":"includeNullDelimiter"},{"name":"includeStacktrace"},{"name":"includeTimeMillis"},{"name":"locationInfo"},{"name":"properties"},{"name":"stacktraceAsString"}]},{"name":"org.apache.logging.log4j.core.layout.AbstractLayout$Builder","methods":[],"fields":[{"name":"configuration"},{"name":"footer"},{"name":"header"}]},{"name":"org.apache.logging.log4j.core.layout.AbstractStringLayout$Builder","methods":[],"fields":[{"name":"charset"},{"name":"footerSerializer"},{"name":"headerSerializer"}]},{"name":"org.apache.logging.log4j.core.layout.CsvLogEventLayout","methods":[{"name":"createLayout","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String","java.lang.Character","java.lang.Character","java.lang.Character","org.apache.commons.csv.QuoteMode","java.lang.String","java.lang.String","java.nio.charset.Charset","java.lang.String","java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.CsvParameterLayout","methods":[{"name":"","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.nio.charset.Charset","org.apache.commons.csv.CSVFormat","java.lang.String","java.lang.String"]},{"name":"createLayout","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String","java.lang.Character","java.lang.Character","java.lang.Character","org.apache.commons.csv.QuoteMode","java.lang.String","java.lang.String","java.nio.charset.Charset","java.lang.String","java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.GelfLayout","methods":[{"name":"","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.util.KeyValuePair[]","org.apache.logging.log4j.core.layout.GelfLayout$CompressionType","int","boolean"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.GelfLayout$Builder","methods":[],"fields":[{"name":"additionalFields"},{"name":"compressionThreshold"},{"name":"compressionType"},{"name":"host"},{"name":"includeMapMessage"},{"name":"includeNewLineDelimiter"},{"name":"includeNullDelimiter"},{"name":"includeStacktrace"},{"name":"includeThreadContext"},{"name":"mapMessageExcludes"},{"name":"mapMessageIncludes"},{"name":"mapPrefix"},{"name":"messagePattern"},{"name":"omitEmptyFields"},{"name":"patternSelector"},{"name":"threadContextExcludes"},{"name":"threadContextIncludes"},{"name":"threadContextPrefix"}]},{"name":"org.apache.logging.log4j.core.layout.HtmlLayout","methods":[{"name":"createLayout","parameterTypes":["boolean","java.lang.String","java.lang.String","java.nio.charset.Charset","java.lang.String","java.lang.String"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.HtmlLayout$Builder","methods":[],"fields":[{"name":"charset"},{"name":"contentType"},{"name":"datePattern"},{"name":"fontName"},{"name":"fontSize"},{"name":"locationInfo"},{"name":"timezone"},{"name":"title"}]},{"name":"org.apache.logging.log4j.core.layout.JsonLayout","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.JsonLayout$Builder","methods":[],"fields":[{"name":"additionalFields"},{"name":"objectMessageAsJsonObject"},{"name":"propertiesAsList"}]},{"name":"org.apache.logging.log4j.core.layout.LevelPatternSelector","methods":[{"name":"","parameterTypes":["org.apache.logging.log4j.core.layout.PatternMatch[]","java.lang.String","boolean","boolean","org.apache.logging.log4j.core.config.Configuration"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.LevelPatternSelector$Builder","methods":[],"fields":[{"name":"alwaysWriteExceptions"},{"name":"configuration"},{"name":"defaultPattern"},{"name":"disableAnsi"},{"name":"noConsoleNoAnsi"},{"name":"properties"}]},{"name":"org.apache.logging.log4j.core.layout.LoggerFields","methods":[{"name":"createLoggerFields","parameterTypes":["org.apache.logging.log4j.core.util.KeyValuePair[]","java.lang.String","java.lang.String","boolean"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.MarkerPatternSelector","methods":[{"name":"","parameterTypes":["org.apache.logging.log4j.core.layout.PatternMatch[]","java.lang.String","boolean","boolean","org.apache.logging.log4j.core.config.Configuration"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.MarkerPatternSelector$Builder","methods":[],"fields":[{"name":"alwaysWriteExceptions"},{"name":"configuration"},{"name":"defaultPattern"},{"name":"disableAnsi"},{"name":"noConsoleNoAnsi"},{"name":"properties"}]},{"name":"org.apache.logging.log4j.core.layout.MessageLayout","methods":[{"name":"","parameterTypes":[]},{"name":"","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","byte[]","byte[]"]},{"name":"createLayout","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.PatternLayout","methods":[{"name":"createLayout","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.layout.PatternSelector","org.apache.logging.log4j.core.config.Configuration","org.apache.logging.log4j.core.pattern.RegexReplacement","java.nio.charset.Charset","boolean","boolean","java.lang.String","java.lang.String"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.PatternLayout$Builder","methods":[],"fields":[{"name":"alwaysWriteExceptions"},{"name":"charset"},{"name":"configuration"},{"name":"disableAnsi"},{"name":"footer"},{"name":"header"},{"name":"noConsoleNoAnsi"},{"name":"pattern"},{"name":"patternSelector"},{"name":"regexReplacement"}]},{"name":"org.apache.logging.log4j.core.layout.PatternMatch","methods":[{"name":"","parameterTypes":["java.lang.String","java.lang.String"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.PatternMatch$Builder","methods":[],"fields":[{"name":"key"},{"name":"pattern"}]},{"name":"org.apache.logging.log4j.core.layout.Rfc5424Layout","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.Rfc5424Layout$Rfc5424LayoutBuilder","methods":[],"fields":[{"name":"appName"},{"name":"ein"},{"name":"enterpriseNumber"},{"name":"escapeNL"},{"name":"eventPrefix"},{"name":"exceptionPattern"},{"name":"excludes"},{"name":"facility"},{"name":"id"},{"name":"includeMDC"},{"name":"includeNL"},{"name":"includes"},{"name":"loggerFields"},{"name":"mdcId"},{"name":"mdcPrefix"},{"name":"messageId"},{"name":"required"},{"name":"useTLSMessageFormat"}]},{"name":"org.apache.logging.log4j.core.layout.ScriptPatternSelector","methods":[{"name":"","parameterTypes":["org.apache.logging.log4j.core.script.AbstractScript","org.apache.logging.log4j.core.layout.PatternMatch[]","java.lang.String","boolean","boolean","boolean","org.apache.logging.log4j.core.config.Configuration"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.ScriptPatternSelector$Builder","methods":[],"fields":[{"name":"alwaysWriteExceptions"},{"name":"configuration"},{"name":"defaultPattern"},{"name":"disableAnsi"},{"name":"noConsoleNoAnsi"},{"name":"properties"},{"name":"script"}]},{"name":"org.apache.logging.log4j.core.layout.SerializedLayout","methods":[{"name":"createLayout","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.SyslogLayout","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.SyslogLayout$Builder","methods":[],"fields":[{"name":"escapeNL"},{"name":"facility"},{"name":"includeNewLine"}]},{"name":"org.apache.logging.log4j.core.layout.XmlLayout","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.layout.YamlLayout","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.ContextMapLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.DateLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.EnvironmentLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.EventLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.JavaLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup","methods":[{"name":"","parameterTypes":[]},{"name":"","parameterTypes":["java.util.Map"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.JndiLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.Log4jLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.LowerLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.MainMapLookup","methods":[{"name":"","parameterTypes":[]},{"name":"","parameterTypes":["java.util.Map"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.MapLookup","methods":[{"name":"","parameterTypes":[]},{"name":"","parameterTypes":["java.util.Map"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.MarkerLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.ResourceBundleLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.StructuredDataLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.SystemPropertiesLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.lookup.UpperLookup","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.net.MulticastDnsAdvertiser","methods":[{"name":"","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.net.SocketAddress","methods":[{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.net.SocketAddress$Builder","methods":[],"fields":[{"name":"host"},{"name":"port"}]},{"name":"org.apache.logging.log4j.core.net.SocketOptions","methods":[{"name":"","parameterTypes":[]},{"name":"newBuilder","parameterTypes":[]}],"fields":[{"name":"keepAlive"},{"name":"oobInline"},{"name":"performancePreferences"},{"name":"receiveBufferSize"},{"name":"reuseAddress"},{"name":"rfc1349TrafficClass"},{"name":"sendBufferSize"},{"name":"soLinger"},{"name":"soTimeout"},{"name":"tcpNoDelay"},{"name":"trafficClass"}]},{"name":"org.apache.logging.log4j.core.net.SocketPerformancePreferences","methods":[{"name":"","parameterTypes":[]},{"name":"newBuilder","parameterTypes":[]}],"fields":[{"name":"bandwidth"},{"name":"connectionTime"},{"name":"latency"}]},{"name":"org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration","methods":[{"name":"","parameterTypes":["java.lang.String","char[]","java.lang.String","java.lang.String"]},{"name":"","parameterTypes":["java.lang.String","java.lang.String","java.lang.String","java.lang.String"]},{"name":"","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.net.ssl.PasswordProvider","java.lang.String","java.lang.String"]},{"name":"createKeyStoreConfiguration","parameterTypes":["java.lang.String","char[]","java.lang.String","java.lang.String","java.lang.String","java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.net.ssl.SslConfiguration","methods":[{"name":"createSSLConfiguration","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration","org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration","methods":[{"name":"","parameterTypes":["java.lang.String","char[]","java.lang.String","java.lang.String"]},{"name":"","parameterTypes":["java.lang.String","java.lang.String","java.lang.String","java.lang.String"]},{"name":"","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.net.ssl.PasswordProvider","java.lang.String","java.lang.String"]},{"name":"createKeyStoreConfiguration","parameterTypes":["java.lang.String","char[]","java.lang.String","java.lang.String","java.lang.String","java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter$Black","methods":[{"name":"","parameterTypes":["java.util.List","java.lang.String"]},{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter$Blue","methods":[{"name":"","parameterTypes":["java.util.List","java.lang.String"]},{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter$Cyan","methods":[{"name":"","parameterTypes":["java.util.List","java.lang.String"]},{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter$Green","methods":[{"name":"","parameterTypes":["java.util.List","java.lang.String"]},{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter$Magenta","methods":[{"name":"","parameterTypes":["java.util.List","java.lang.String"]},{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter$Red","methods":[{"name":"","parameterTypes":["java.util.List","java.lang.String"]},{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter$White","methods":[{"name":"","parameterTypes":["java.util.List","java.lang.String"]},{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter$Yellow","methods":[{"name":"","parameterTypes":["java.util.List","java.lang.String"]},{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.ClassNamePatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.DatePatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.EncodingPatternConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.EndOfBatchPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.EqualsIgnoreCaseReplacementConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.EqualsReplacementConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.FileDatePatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.FileLocationPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.FullLocationPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.HighlightConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.IntegerPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.LevelPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.LineLocationPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.LineSeparatorPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.LoggerFqcnPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.LoggerPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.MapPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]},{"name":"newInstance","parameterTypes":["java.lang.String[]","org.apache.logging.log4j.message.MapMessage$MapFormat"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.MarkerPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.MarkerSimpleNamePatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.MaxLengthConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.MdcPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.MessagePatternConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.MethodLocationPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.NanoTimePatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.NdcPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.ProcessIdPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.RegexReplacement","methods":[{"name":"createRegexReplacement","parameterTypes":["java.util.regex.Pattern","java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.RegexReplacementConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.RelativeTimePatternConverter","methods":[{"name":"","parameterTypes":[]},{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.RepeatPatternConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.RootThrowablePatternConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.SequenceNumberPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.StyleConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.ThreadIdPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.ThreadNamePatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.ThreadPriorityPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.ThrowablePatternConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.UuidPatternConverter","methods":[{"name":"newInstance","parameterTypes":["java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.pattern.VariablesNotEmptyReplacementConverter","methods":[{"name":"newInstance","parameterTypes":["org.apache.logging.log4j.core.config.Configuration","java.lang.String[]"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.script.Script","methods":[{"name":"","parameterTypes":["java.lang.String","java.lang.String","java.lang.String"]},{"name":"createScript","parameterTypes":["java.lang.String","java.lang.String","java.lang.String"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.script.ScriptFile","methods":[{"name":"","parameterTypes":["java.lang.String","java.nio.file.Path","java.lang.String","boolean","java.lang.String"]},{"name":"createScript","parameterTypes":["java.lang.String","java.lang.String","java.lang.String","java.lang.Boolean","java.nio.charset.Charset"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.script.ScriptRef","methods":[{"name":"","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.script.ScriptManager"]},{"name":"createReference","parameterTypes":["java.lang.String","org.apache.logging.log4j.core.config.Configuration"]}],"fields":[]},{"name":"org.apache.logging.log4j.core.util.KeyValuePair","methods":[{"name":"","parameterTypes":["java.lang.String","java.lang.String"]},{"name":"newBuilder","parameterTypes":[]}],"fields":[]},{"name":"org.apache.logging.log4j.core.util.KeyValuePair$Builder","methods":[],"fields":[{"name":"key"},{"name":"value"}]}] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-api/resource-config.json b/src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-api/resource-config.json new file mode 100644 index 0000000..9b4eb75 --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-api/resource-config.json @@ -0,0 +1,9 @@ +{ + "resources": { + "includes": [ + { + "pattern": "log4j2\\.(component|simplelog|StatusLogger)\\.properties" + } + ] + } +} diff --git a/src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-core/reflect-config.json b/src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-core/reflect-config.json new file mode 100644 index 0000000..5411a85 --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-core/reflect-config.json @@ -0,0 +1,120 @@ +[ + { + "name": "org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.apache.logging.log4j.core.LoggerContext", + "org.apache.logging.log4j.core.config.ConfigurationSource", + "org.apache.logging.log4j.core.config.builder.api.Component" + ] + } + ], + "fields": [] + }, + { + "name": "org.apache.logging.log4j.core.config.properties.PropertiesConfiguration", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.apache.logging.log4j.core.LoggerContext", + "org.apache.logging.log4j.core.config.ConfigurationSource", + "org.apache.logging.log4j.core.config.builder.api.Component" + ] + } + ], + "fields": [] + }, + { + "name": "org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.apache.logging.log4j.core.selector.BasicContextSelector", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.apache.logging.log4j.core.selector.JndiContextSelector", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.apache.logging.log4j.core.selector.ClassLoaderContextSelector", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.apache.logging.log4j.core.async.AsyncLoggerContextSelector", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.apache.logging.log4j.core.osgi.BundleContextSelector", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.apache.logging.log4j.core.config.LockingReliabilityStrategy", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.apache.logging.log4j.core.config.AwaitUnconditionallyReliabilityStrategy", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.apache.logging.log4j.core.config.DefaultReliabilityStrategy", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + } +] diff --git a/src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-core/resource-config.json b/src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-core/resource-config.json new file mode 100644 index 0000000..9f1049e --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.apache.logging.log4j/log4j-core/resource-config.json @@ -0,0 +1,12 @@ +{ + "resources": { + "includes": [ + { + "pattern": "log4j2.*" + }, + { + "pattern": "META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat" + } + ] + } +} diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-native/jni-config.json b/src/main/resources/META-INF/native-image/org.jline/jline-native/jni-config.json new file mode 100644 index 0000000..ddc62f1 --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-native/jni-config.json @@ -0,0 +1,184 @@ +[ + { + "name": "org.jline.nativ.CLibrary", + "fields": [ + { "name": "TCSANOW" }, + { "name": "TCSADRAIN" }, + { "name": "TCSAFLUSH" }, + { "name": "TIOCGWINSZ" }, + { "name": "TIOCSWINSZ" } + ] + }, + { + "name": "org.jline.nativ.CLibrary$Termios", + "fields": [ + { "name": "SIZEOF" }, + { "name": "c_iflag" }, + { "name": "c_oflag" }, + { "name": "c_cflag" }, + { "name": "c_lflag" }, + { "name": "c_cc" }, + { "name": "c_ispeed" }, + { "name": "c_ospeed" } + ] + }, + { + "name": "org.jline.nativ.CLibrary$WinSize", + "fields": [ + { "name": "SIZEOF" }, + { "name": "ws_row" }, + { "name": "ws_col" }, + { "name": "ws_xpixel" }, + { "name": "ws_ypixel" } + ] + }, + { + "name": "org.jline.nativ.Kernel32", + "fields": [ + { "name": "FOREGROUND_BLUE" }, + { "name": "FOREGROUND_GREEN" }, + { "name": "FOREGROUND_RED" }, + { "name": "FOREGROUND_INTENSITY" }, + { "name": "BACKGROUND_BLUE" }, + { "name": "BACKGROUND_GREEN" }, + { "name": "BACKGROUND_RED" }, + { "name": "BACKGROUND_INTENSITY" }, + { "name": "COMMON_LVB_LEADING_BYTE" }, + { "name": "COMMON_LVB_TRAILING_BYTE" }, + { "name": "COMMON_LVB_GRID_HORIZONTAL" }, + { "name": "COMMON_LVB_GRID_LVERTICAL" }, + { "name": "COMMON_LVB_GRID_RVERTICAL" }, + { "name": "COMMON_LVB_REVERSE_VIDEO" }, + { "name": "COMMON_LVB_UNDERSCORE" }, + { "name": "FORMAT_MESSAGE_FROM_SYSTEM" }, + { "name": "STD_INPUT_HANDLE" }, + { "name": "STD_OUTPUT_HANDLE" }, + { "name": "STD_ERROR_HANDLE" }, + { "name": "INVALID_HANDLE_VALUE" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$SMALL_RECT", + "fields": [ + { "name": "SIZEOF" }, + { "name": "left" }, + { "name": "top" }, + { "name": "right" }, + { "name": "bottom" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$COORD", + "fields": [ + { "name": "SIZEOF" }, + { "name": "x" }, + { "name": "y" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$CONSOLE_SCREEN_BUFFER_INFO", + "fields": [ + { "name": "SIZEOF" }, + { "name": "size" }, + { "name": "cursorPosition" }, + { "name": "attributes" }, + { "name": "window" }, + { "name": "maximumWindowSize" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$CHAR_INFO", + "fields": [ + { "name": "SIZEOF" }, + { "name": "attributes" }, + { "name": "unicodeChar" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$KEY_EVENT_RECORD", + "fields": [ + { "name": "SIZEOF" }, + { "name": "CAPSLOCK_ON" }, + { "name": "NUMLOCK_ON" }, + { "name": "SCROLLLOCK_ON" }, + { "name": "ENHANCED_KEY" }, + { "name": "LEFT_ALT_PRESSED" }, + { "name": "LEFT_CTRL_PRESSED" }, + { "name": "RIGHT_ALT_PRESSED" }, + { "name": "RIGHT_CTRL_PRESSED" }, + { "name": "SHIFT_PRESSED" }, + { "name": "keyDown" }, + { "name": "repeatCount" }, + { "name": "keyCode" }, + { "name": "scanCode" }, + { "name": "uchar" }, + { "name": "controlKeyState" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$MOUSE_EVENT_RECORD", + "fields": [ + { "name": "SIZEOF" }, + { "name": "FROM_LEFT_1ST_BUTTON_PRESSED" }, + { "name": "FROM_LEFT_2ND_BUTTON_PRESSED" }, + { "name": "FROM_LEFT_3RD_BUTTON_PRESSED" }, + { "name": "FROM_LEFT_4TH_BUTTON_PRESSED" }, + { "name": "RIGHTMOST_BUTTON_PRESSED" }, + { "name": "CAPSLOCK_ON" }, + { "name": "NUMLOCK_ON" }, + { "name": "SCROLLLOCK_ON" }, + { "name": "ENHANCED_KEY" }, + { "name": "LEFT_ALT_PRESSED" }, + { "name": "LEFT_CTRL_PRESSED" }, + { "name": "RIGHT_ALT_PRESSED" }, + { "name": "RIGHT_CTRL_PRESSED" }, + { "name": "SHIFT_PRESSED" }, + { "name": "DOUBLE_CLICK" }, + { "name": "MOUSE_HWHEELED" }, + { "name": "MOUSE_MOVED" }, + { "name": "MOUSE_WHEELED" }, + { "name": "mousePosition" }, + { "name": "buttonState" }, + { "name": "controlKeyState" }, + { "name": "eventFlags" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$WINDOW_BUFFER_SIZE_RECORD", + "fields": [ + { "name": "SIZEOF" }, + { "name": "size" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$FOCUS_EVENT_RECORD", + "fields": [ + { "name": "SIZEOF" }, + { "name": "setFocus" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$MENU_EVENT_RECORD", + "fields": [ + { "name": "SIZEOF" }, + { "name": "commandId" } + ] + }, + { + "name": "org.jline.nativ.Kernel32$INPUT_RECORD", + "fields": [ + { "name": "SIZEOF" }, + { "name": "KEY_EVENT" }, + { "name": "MOUSE_EVENT" }, + { "name": "WINDOW_BUFFER_SIZE_EVENT" }, + { "name": "FOCUS_EVENT" }, + { "name": "MENU_EVENT" }, + { "name": "eventType" }, + { "name": "keyEvent" }, + { "name": "mouseEvent" }, + { "name": "windowBufferSizeEvent" }, + { "name": "menuEvent" }, + { "name": "focusEvent" } + ] + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-native/native-image.properties b/src/main/resources/META-INF/native-image/org.jline/jline-native/native-image.properties new file mode 100644 index 0000000..a95376f --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-native/native-image.properties @@ -0,0 +1,4 @@ +Args = -H:+UnlockExperimentalVMOptions \ + -H:ResourceConfigurationResources=${.}/resource-config.json \ + -H:ReflectionConfigurationResources=${.}/reflection-config.json \ + -H:JNIConfigurationResources=${.}/jni-config.json diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-native/reflection-config.json b/src/main/resources/META-INF/native-image/org.jline/jline-native/reflection-config.json new file mode 100644 index 0000000..f41b0af --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-native/reflection-config.json @@ -0,0 +1,11 @@ +[ + { + "name" : "org.jline.nativ.CLibrary", + "allDeclaredConstructors" : false, + "allPublicConstructors" : false, + "allDeclaredMethods" : false, + "allPublicMethods" : false, + "allDeclaredFields" : true, + "allPublicFields" : true + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-native/resource-config.json b/src/main/resources/META-INF/native-image/org.jline/jline-native/resource-config.json new file mode 100644 index 0000000..e7a6b0c --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-native/resource-config.json @@ -0,0 +1,5 @@ +{ + "resources": [ + {"pattern": "org/jline/nativ/.*"} + ] +} \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-terminal-ffm/reachability-metadata.json b/src/main/resources/META-INF/native-image/org.jline/jline-terminal-ffm/reachability-metadata.json new file mode 100644 index 0000000..a20d30b --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-terminal-ffm/reachability-metadata.json @@ -0,0 +1,107 @@ +{ + "reflection": [ + { + "type": "org.jline.terminal.impl.ffm.FfmTerminalProvider", + "allDeclaredConstructors": true, + "allPublicConstructors": true + } + ], + "resources": [ + {"glob": "META-INF/services/org.jline.terminal.spi.TerminalProvider"}, + {"glob": "META-INF/jline/providers/ffm"} + ], + "foreign": { + "downcalls": [ + { + "returnType": "int", + "parameterTypes": ["int", "long long", "void*"], + "options": { + "firstVariadicArg": 2 + } + }, + { + "returnType": "int", + "parameterTypes": ["int"] + }, + { + "returnType": "int", + "parameterTypes": ["int", "int", "void*"] + }, + { + "returnType": "int", + "parameterTypes": ["int", "void*"] + }, + { + "returnType": "int", + "parameterTypes": ["int", "void*", "long long"] + }, + { + "returnType": "int", + "parameterTypes": ["void*", "void*", "void*", "void*", "void*"] + }, + { + "returnType": "int", + "parameterTypes": ["int", "void*", "void*"] + }, + { + "returnType": "int", + "parameterTypes": ["void*", "int"] + }, + { + "returnType": "void*", + "parameterTypes": ["int"] + }, + { + "returnType": "int", + "parameterTypes": ["int", "void*", "int", "int", "void*", "int", "void*"] + }, + { + "returnType": "int", + "parameterTypes": ["void*", "short"] + }, + { + "returnType": "int", + "parameterTypes": ["void*", "void*"] + }, + { + "returnType": "int", + "parameterTypes": [] + }, + { + "returnType": "int", + "parameterTypes": ["void*"] + }, + { + "returnType": "int", + "parameterTypes": ["void*", "void*", "int", "void*", "void*"] + }, + { + "returnType": "int", + "parameterTypes": ["void*", "void*", "int", "void*"] + }, + { + "returnType": "long long", + "parameterTypes": ["int", "void*", "long long"] + }, + { + "returnType": "void*", + "parameterTypes": ["void*", "long long", "int", "int", "int", "long long"] + }, + { + "returnType": "int", + "parameterTypes": ["void*", "long long", "int"] + }, + { + "returnType": "int", + "parameterTypes": ["void*", "long long"] + }, + { + "returnType": "int", + "parameterTypes": ["int", "int", "int"], + "options": { + "firstVariadicArg": 2 + } + } + ] + } +} diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/native-image.properties b/src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/native-image.properties new file mode 100644 index 0000000..965bc2f --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/native-image.properties @@ -0,0 +1,3 @@ +Args = -H:+UnlockExperimentalVMOptions \ + -H:ResourceConfigurationResources=${.}/resource-config.json \ + -H:ReflectionConfigurationResources=${.}/reflection-config.json diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/reflection-config.json b/src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/reflection-config.json new file mode 100644 index 0000000..d769687 --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/reflection-config.json @@ -0,0 +1,11 @@ +[ + { + "name" : "org.jline.terminal.impl.jni.JniTerminalProvider", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : false, + "allPublicMethods" : false, + "allDeclaredFields" : false, + "allPublicFields" : false + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/resource-config.json b/src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/resource-config.json new file mode 100644 index 0000000..e8b6d53 --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-terminal-jni/resource-config.json @@ -0,0 +1,6 @@ +{ + "resources": [ + {"pattern": "META-INF/services/org.jline.terminal.spi.TerminalProvider"}, + {"pattern": "META-INF/jline/providers/jni"} + ] +} \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-terminal/native-image.properties b/src/main/resources/META-INF/native-image/org.jline/jline-terminal/native-image.properties new file mode 100644 index 0000000..965bc2f --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-terminal/native-image.properties @@ -0,0 +1,3 @@ +Args = -H:+UnlockExperimentalVMOptions \ + -H:ResourceConfigurationResources=${.}/resource-config.json \ + -H:ReflectionConfigurationResources=${.}/reflection-config.json diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-terminal/reflection-config.json b/src/main/resources/META-INF/native-image/org.jline/jline-terminal/reflection-config.json new file mode 100644 index 0000000..d2de90a --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-terminal/reflection-config.json @@ -0,0 +1,11 @@ +[ + { + "name" : "org.jline.terminal.impl.exec.ExecTerminalProvider", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : false, + "allPublicMethods" : false, + "allDeclaredFields" : false, + "allPublicFields" : false + } +] \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/org.jline/jline-terminal/resource-config.json b/src/main/resources/META-INF/native-image/org.jline/jline-terminal/resource-config.json new file mode 100644 index 0000000..1a7d290 --- /dev/null +++ b/src/main/resources/META-INF/native-image/org.jline/jline-terminal/resource-config.json @@ -0,0 +1,7 @@ +{ + "resources": [ + {"pattern": "org/jline/utils/.*"}, + {"pattern": "META-INF/services/org.jline.terminal.spi.TerminalProvider"}, + {"pattern": "META-INF/jline/providers/.*"} + ] +} \ No newline at end of file diff --git a/src/main/resources/META-INF/native/libnetty_resolver_dns_native_macos_x86_64.jnilib b/src/main/resources/META-INF/native/libnetty_resolver_dns_native_macos_x86_64.jnilib new file mode 100644 index 0000000000000000000000000000000000000000..cd5bbfcc8c4d3341525676e7bcae7e72f8b43aa4 GIT binary patch literal 42160 zcmeHwdtg-6)$f@+0C`PNQo#p~3K&2jQDadaW?)8UWCGzODAGwtCL|b=aWaEY#SRT= zIp1_@wA$L2O~1aVmanm2)rbNUK?22Md=#jtL_ex01~sh~@x|QV+IyXuGba;}-rhg% zy&O2R_gZ`Hwf0_n?bkZ{oV@VqdnfxViX~G~lzzB};GTj=qmqM|qKw3ym!T+L?;_{Y zMFN%j<4*+@hO>dDn|RXY^#*-wgEB7RRDMlNSmcp31ZO452?!fOueUxJT2Y@snakI) zKqeh$3LVxn3}AlA@)198m9NI{3xLSXZ}&o(^AU>-by(-uyL{#K!9aEGN+vM#^DmYO zADkmY9oG3ls= z=lT+CE|ZZZ*~uZ$dc6+&BD*0)w-0Gfif$ilUJBVA-DE3tdA%#^lC|ucU!Eiv{3ySE zQG1Tl0ffEvmRi1iF5hN01cFbkx0*6<{kqjF>T10HV4zoh53P~HU92~PjpajMQzoU9 zuc9nimPDBKXIm@N1~3W1Mt;ehGUoNJs89Ba-ula9eocmqMt)rEL@Kqb3%A$nanGIO zbhz~~Aj~BB95UQ8TEfJ~$cx66J-A1h@RJwU`vUco1EJblUtsc`b%EO_*ZP9Nb^PlO z`21x7-^75g##dJFn@9xp{<3o4UZ&?xMJj_5m>EI&rU}EJ?vg;6el>XHwUJmhK7pbHBZ2!>q{*4_-~pkwYZs3>5cx z9VQ&E!MLa3ro6I$&qi0YD3e3=0a6v+3)j^LeXA$UoK&%nR3NUg_$9s%p`I-Wsm~Ei z_59zt7Q58HxuUs$nG06YAw$7xdDmLEqF67Hj49o|#D24V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AL%igm{Qf#rE{pK0R|r$XWs-Q?MeDoyq>Voc8DjRefxC! gALDxf_K!x32z@t7+FlX0tR3IbOyg_jbA0`O0O}+GP5=M^ literal 0 HcmV?d00001 diff --git a/src/main/resources/META-INF/native/libnetty_transport_native_epoll_x86_64.so b/src/main/resources/META-INF/native/libnetty_transport_native_epoll_x86_64.so new file mode 100644 index 0000000000000000000000000000000000000000..f02a478d2bdae5f815c62b409d7a508e75b07be5 GIT binary patch literal 106584 zcmeEv3wTu3)%FP&2{$JwXuQ>Eu_oR~6#POJ&B%Lv=YTjymH2%q}~XK%>S;n_nA4flc-<6|MEQl zV_KQB-@W$QYp=cb+V^vA@%qjkmX@a3f5Wx2Gzw+R7D$1N=>Bz*ra;TrMr#Gy;o4zL zJ3`V7_LDwSp!TnpA;QFMBs~_3u=@M_Zv}4uI@57}eKMW$JM}Dq+rQ3q2Oz5N3{j50 z3sQeGCW>^qlO$g$=P(2*U6Z75x?H5Qe=~>xfA(*>2x=rF{g*G})!)gI&i*A@`YZm> zKcAjEM~ZyZ-w~sjOiTQVpmq_`k(}T6PZm$RSmyU#da?B*q!MK#l?}&#=UrH$z2v$n zbklFW7lpn#dgA2GU5D@AasL96h2qHsC>_Z+BA{sxjwnkb%!B{V#eW}e>iqfq8DZb5 z@V^ec_2g?W`S_Jx2fqK~Tkk~Fkblo1=Ac1h$s7j5PeMHmhR+*e1ggx;pIc{Uo-@tRYTCfIt0E06*rjtGl#&>9U@dAE z$0Bd_FK-C?$|3O4L&)>!5cF>#!@8@vmy9@IRu|O zhoHBHphvb^7XDNJ4jV$AGl#%e4w3H`Fdj_L?+$_AHw2%vhrmxC0zZEUIkygh*9{@h zJwxDM55Z?2=(F&j`jFCGF948i|);Dh}$ zv=~gm@|sdaP|8Gdh`{0VFDxwmS&eVey!oXyfR>i}>*m!gu3ZGB*FZ1VRg|(cnxHGG zss5gn#4#li6k0RCasjG{WQ0guEeK%{;BepYmQ0ysj_a-LamxCqefd?Rqvm_==vHvPpZu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arch_64.so b/src/main/resources/META-INF/native/libnetty_transport_native_io_uring42_aarch_64.so new file mode 100644 index 0000000000000000000000000000000000000000..27ec1731d24ace07ba988c4a5db0809f1b94bac3 GIT binary patch literal 112848 zcmdSC4Sdwqoi2W6CXgsrBd-yyOoA^VZ8cg{sBM`fyb5Xxv1PTpnUD-53Q0%;264-P zwq=)YZ)T;HZM(~W+RJ3yZnok|cH4CT+p=x%HpSM`m%UD2c-h)*(}I#{Y5vc1UM9c! zk^#K8_kQkwbokAA&N>3RdQghUJ z6;eg2P=_67!;JN~?hX^rJ(Z4O{vD49!MVmiIM=VEyJx(>u+?AVSWP&FV!Zgh#vQ-c z#B)z&oXS1(Z1l?GZFM>LeS=M3K3}#0-IHPY`3T}My-WS%+kne$dfCdCnrZ^Nrzwq6 zHv%rl_Xd3L!Z&~~KX;gi{`dX(w+LUR^&xz(z;`abAIA3s_`Vn4nfQkAEy4Fa_`VO{ z+wtYcR;{`XzpumhPJHL!do{kZ@h!%e)&4ZU#1;p7_ke_a^;IDO>gGO1N*ux76a- z+UF!Zug7;5zPI3e6~6pjZXWtywhQZu`KxKvfzJ_1%Ck97>obA zS;A9BgWe3<-+5Vhj)RACC_n46@GnHbA{iL&8Cm%60zMZ1P!|4^;2NvEKgxppvZVW` zS;GG~3r@8*R=NkXCZCI5ex1^*K8vGVirEbYE2OS=2B;D3_^Uzmme zXIb)jLzeJg&ca`sCH$-`ILE3WzVcHKV666yXTcxHg8zM%a;?sSe>h7%f0l*+BbsM| z%ArEWhhs56zs7f>nxJ|WI@T$6c&AO(>>ejZJmbU6@RlTI@ z-s-wYOJq$$Yg?qH>fVaAO^uPNnpJBf#&2w&>e}|2>eUU6HESCli>TI3t+h34*Q(Y? zTWeG8BTdb1NG8(K(%4kJwyCzJt)Zz=t*&isTdNqXsaCCvtgCI_q*k{?5V@_TZbP$L zx1n)eO|#n2ShFsoA{!%(ZL905A8l!9LkMt2+SHmzTXW5tNGnrZ$FMe(THVwfK?3k^ zC0kq5T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+(d<& zGrad+TdY=oWF>8n-G^fj$EOYsA1D6)8<3oTX_wc5OWna{@-y*y9si)werTFBQ{O?& R6#wQ|w59QygS2z?e*pVXY+L{U literal 0 HcmV?d00001 diff --git a/src/main/resources/META-INF/native/libnetty_transport_native_io_uring42_x86_64.so b/src/main/resources/META-INF/native/libnetty_transport_native_io_uring42_x86_64.so new file mode 100644 index 0000000000000000000000000000000000000000..e22ea9fa37141799d0e85035a64e2ecc9bdda06b GIT binary patch literal 113496 zcmeFa3tU{)**?0-#b9C_qDJvnM;jHq1+1||O=S{BH#%4}!KTp&2t$GrKo}IQ(TPB1 zcbs;trll8KT5C(Ie&wq-5>1?3Azq1EMPn4N*(0gJOAW>}oabGanLRI1^L_oD^FP0H zLL2v9&wBT>)_T{w-gVu3Zuj~w8kdq{=)dvCcMJ+e$|RDjBHA8J$mAM1#=%CeajbES zke#4pM!Vz|N>pEsG#MtgiF8{+|G{60_;39B$=x!nug>RWdOAPJ*M6^jPG6nR9fYV( zQ_6QPOunWct)5d?{oFXf^jz0sDc`j$`8p_rhQ6js8iVpk|8j_6l&y(O8EkD#<9%f82 z`hO-9KSW+cH+dLF1M&V_;r|poQ;dj`KV0EQ3j7em{zL)l;#T~fjK4tPQO08w7cW^> zQ(asiD6I<=7aPTu)s+FGxB?fWIDbJwak;5Zin8iJl|f=P zWkyAvAN0sjU3o*Tv8AE+%|;;*N~ zmXWNIGAe3n{oqD?y#cmBO%)QVs;T!Imt2-#{M~9_O=)>?wLcKJxj0Z)T3ugT0}WIo zM>qP5D{G1y>ME<3DAA(os{I!x-lXR!ig$bbE33<) zqU!Qx^-GL8f7y+6rEs9eC@m}V*9Oi}R}m|s#9c*Q%`&5k>ZjVMU)m5TueqsOsKoED z6X~h6N$-`_=a!b2*AIf@_j){@TTZEB98Zo6e;PLw9%Z-= z_cQ$OYOZ86{5^#aGQ4n^NX{5ycudc^zMq_*-3m`-xN)82Nn`k4C7;glgU3l;H^YNB zNuCUbAFkxH817bh4##hmJh==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vLAm^&cuZTqA%?7`|NjOuBW>vb literal 0 HcmV?d00001 diff --git a/src/main/resources/META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat b/src/main/resources/META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat new file mode 100644 index 0000000000000000000000000000000000000000..1673a57d8323924584cc5cca0ef21f29b84d4f98 GIT binary patch literal 22161 zcmcIsZFAhXk;cZ-=*5!lwPjgyysk>sR^>x#nOx${-Q{w*(~G?;uOurPd7V`1K5$6R zh%#TsBuCcVFSwt5PXi5dM&Jyf-N}btivap*ymh0y(HJ4bir5PBtRD|XgST^h@G)N zgRR>N5V`kv{I8Yq&deGi)-c#>tUy#?EBsC@_Yyz&DBjE;?9i`3ka>H(vMR95-D;df zr+ylNy#o7sU*a$vHd!wjMdI}WU;(4RgxC!dzbrHG7>jCAOL|e?0OOc3jBdP`TT49{CCSh30WjwDU|y{d%Y!0{ zvIS_v?<5YxLFrz`gUbZ}RpQ^=7WI2g(CpR;5FsAah*44Gh4?m$Dld(*C@7*N@u02o z;nT@h=1Jt$aIdL#gW15y3hc|LNpu}0#`^z$_D}D@&*(*M` zR*0{t2PI?=R#ILV!#;2vHbA->#2Efp)Q8#C(57T+MMeKpkQqI2)N;oX;SCTB_Rr_k z39+qs8+`xlIC9C?;JK}M8s)G{Q-1&@?2GT+7|by_P8g|%6yizh4~?PxyBntye`xgg zNn0TnEcJ_zFo@bL5l2(%L?U$Kbf_#TgY|ROqSaWzvZ)>zV|83Mg>CTMo>2}BmijkI zlnts&R}FUJ-yBPVM%xgGDubeVl7@lNeb=Q51EcRxPFf0K-=|SoVxt(W{?l<+C~||{ zvy&MWaB|Y9y3E6wdhO7aGoj4XY%fnFmzni6!_YfH;rFY4UZgO1Vbh5}%|9qkGzqpb zlQiqs05-K)$(_v4@+xkz${h{PQ_x?4-k9W_nKc+)_S5&zY0Fl5(pD(MDux!N!)h#k za9g$?{URoFt~|}F*F@NA5)!PerTH8B@QK?N>o0Nc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hXs^G!cYgnxwY6g&PvRD@*+hn0OOqS@A_C-I*@sxfc`{E5j zH7u6pH+bB~&sUvm-^~~Kb&S{1;(r#g>AH-HfQv+Jct5&bg-$FZ98oMtu(|}*uv?bj;L%aRxW#BZ z6`*UlbW{P@+{0wr0+oT2R()T@4TF2{&yN&(vM6+lS+aKw^kbke(GLkMW?Rz_2sHRh v@82ICg24(h6z~JCSo_Bm;S`C6|%rd; +} diff --git a/src/main/resources/META-INF/proguard/collect.pro b/src/main/resources/META-INF/proguard/collect.pro new file mode 100644 index 0000000..11b6e92 --- /dev/null +++ b/src/main/resources/META-INF/proguard/collect.pro @@ -0,0 +1,32 @@ +# The nested FieldSettersHolder class looks these up. +# +# We use -keepclassmembernames because we want for ImmutableMultimap and its +# fields to be stripped if it's unused: -keepclassmembernames says that, *if* +# you're keeping the fields, you need to leave their names untouched. (Anyone +# who is using ImmutableMultimap will certainly be using its fields. So we +# don't need to worry that an ImmutableMultimap user will have the fields +# optimized away.) +# +# This configuration is untested.... +-keepclassmembernames class com.google.common.collect.ImmutableMultimap { + *** map; + *** size; +} +# similarly: +-keepclassmembernames class com.google.common.collect.ConcurrentHashMultiset { + *** countMap; +} +# similarly: +-keepclassmembernames class com.google.common.collect.ImmutableSetMultimap { + *** emptySet; +} +# similarly: +-keepclassmembernames class com.google.common.collect.AbstractSortedMultiset { + *** comparator; +} +# similarly: +-keepclassmembernames class com.google.common.collect.TreeMultiset { + *** range; + *** rootReference; + *** header; +} diff --git a/src/main/resources/META-INF/proguard/concurrent.pro b/src/main/resources/META-INF/proguard/concurrent.pro new file mode 100644 index 0000000..bb7b934 --- /dev/null +++ b/src/main/resources/META-INF/proguard/concurrent.pro @@ -0,0 +1,49 @@ +# Futures.getChecked, in both of its variants, is incompatible with proguard. + +# Used by AtomicReferenceFieldUpdater, sun.misc.Unsafe, and VarHandle. +# We could be more precise about which classes these are defined in, but that feels error-prone. +-keepclassmembers class com.google.common.util.concurrent.AbstractFuture** { + *** waitersField; + *** valueField; + *** listenersField; + *** thread; + *** next; +} +-keepclassmembers class com.google.common.util.concurrent.AbstractFutureState** { + *** waitersField; + *** valueField; + *** listenersField; + *** thread; + *** next; +} +-keepclassmembers class com.google.common.util.concurrent.AtomicDouble { + *** value; +} +-keepclassmembers class com.google.common.util.concurrent.AggregateFutureState { + *** remainingField; + *** seenExceptionsField; +} + +# Since Unsafe is using the field offsets of these inner classes, we don't want +# to have class merging or similar tricks applied to these classes and their +# fields. It's safe to allow obfuscation, since the by-name references are +# already preserved in the -keep statement above. +-keep,allowshrinking,allowobfuscation class com.google.common.util.concurrent.AbstractFuture** { + ; +} +-keep,allowshrinking,allowobfuscation class com.google.common.util.concurrent.AbstractFutureState** { + ; +} + +# AbstractFuture uses this +-dontwarn sun.misc.Unsafe + +# MoreExecutors references AppEngine +-dontnote com.google.appengine.api.ThreadManager +-keep class com.google.appengine.api.ThreadManager { + static *** currentRequestThreadFactory(...); +} +-dontnote com.google.apphosting.api.ApiProxy +-keep class com.google.apphosting.api.ApiProxy { + static *** getCurrentEnvironment (...); +} diff --git a/src/main/resources/META-INF/proguard/gson.pro b/src/main/resources/META-INF/proguard/gson.pro new file mode 100644 index 0000000..8f5a69b --- /dev/null +++ b/src/main/resources/META-INF/proguard/gson.pro @@ -0,0 +1,72 @@ +### Gson ProGuard and R8 rules which are relevant for all users +### This file is automatically recognized by ProGuard and R8, see https://developer.android.com/build/shrink-code#configuration-files +### +### IMPORTANT: +### - These rules are additive; don't include anything here which is not specific to Gson (such as completely +### disabling obfuscation for all classes); the user would be unable to disable that then +### - These rules are not complete; users will most likely have to add additional rules for their specific +### classes, for example to disable obfuscation for certain fields or to keep no-args constructors +### + +# Keep generic signatures; needed for correct type resolution +-keepattributes Signature + +# Keep Gson annotations +# Note: Cannot perform finer selection here to only cover Gson annotations, see also https://stackoverflow.com/q/47515093 +-keepattributes RuntimeVisibleAnnotations,AnnotationDefault + +### The following rules are needed for R8 in "full mode" which only adheres to `-keepattribtues` if +### the corresponding class or field is matches by a `-keep` rule as well, see +### https://r8.googlesource.com/r8/+/refs/heads/main/compatibility-faq.md#r8-full-mode + +# Keep class TypeToken (respectively its generic signature) if present +-if class com.google.gson.reflect.TypeToken +-keep,allowobfuscation class com.google.gson.reflect.TypeToken + +# Keep any (anonymous) classes extending TypeToken +-keep,allowobfuscation class * extends com.google.gson.reflect.TypeToken + +# Keep classes with @JsonAdapter annotation +-keep,allowobfuscation,allowoptimization @com.google.gson.annotations.JsonAdapter class * + +# Keep fields with any other Gson annotation +# Also allow obfuscation, assuming that users will additionally use @SerializedName or +# other means to preserve the field names +-keepclassmembers,allowobfuscation class * { + @com.google.gson.annotations.Expose ; + @com.google.gson.annotations.JsonAdapter ; + @com.google.gson.annotations.Since ; + @com.google.gson.annotations.Until ; +} + +# Keep no-args constructor of classes which can be used with @JsonAdapter +# By default their no-args constructor is invoked to create an adapter instance +-keepclassmembers class * extends com.google.gson.TypeAdapter { + (); +} +-keepclassmembers class * implements com.google.gson.TypeAdapterFactory { + (); +} +-keepclassmembers class * implements com.google.gson.JsonSerializer { + (); +} +-keepclassmembers class * implements com.google.gson.JsonDeserializer { + (); +} + +# Keep fields annotated with @SerializedName for classes which are referenced. +# If classes with fields annotated with @SerializedName have a no-args +# constructor keep that as well. Based on +# https://issuetracker.google.com/issues/150189783#comment11. +# See also https://github.com/google/gson/pull/2420#discussion_r1241813541 +# for a more detailed explanation. +-if class * +-keepclasseswithmembers,allowobfuscation class <1> { + @com.google.gson.annotations.SerializedName ; +} +-if class * { + @com.google.gson.annotations.SerializedName ; +} +-keepclassmembers,allowobfuscation,allowoptimization class <1> { + (); +} diff --git a/src/main/resources/META-INF/proguard/hash.pro b/src/main/resources/META-INF/proguard/hash.pro new file mode 100644 index 0000000..bc6f0ad --- /dev/null +++ b/src/main/resources/META-INF/proguard/hash.pro @@ -0,0 +1,12 @@ +# LittleEndianByteArray uses this +-dontwarn sun.misc.Unsafe + +# Striped64 appears to make some assumptions about object layout that +# really might not be safe. This should be investigated. +-keepclassmembers class com.google.common.hash.Striped64 { + *** base; + *** busy; +} +-keepclassmembers class com.google.common.hash.Striped64$Cell { + ; +} diff --git a/src/main/resources/META-INF/proguard/primitives.pro b/src/main/resources/META-INF/proguard/primitives.pro new file mode 100644 index 0000000..6968e0f --- /dev/null +++ b/src/main/resources/META-INF/proguard/primitives.pro @@ -0,0 +1,2 @@ +# UnsignedBytes uses this +-dontwarn sun.misc.Unsafe diff --git a/src/main/resources/META-INF/services/java.sql.Driver b/src/main/resources/META-INF/services/java.sql.Driver new file mode 100644 index 0000000..73ac57b --- /dev/null +++ b/src/main/resources/META-INF/services/java.sql.Driver @@ -0,0 +1 @@ +com.mysql.cj.jdbc.Driver \ No newline at end of file diff --git a/src/main/resources/META-INF/services/javax.annotation.processing.Processor b/src/main/resources/META-INF/services/javax.annotation.processing.Processor new file mode 100644 index 0000000..eebe1da --- /dev/null +++ b/src/main/resources/META-INF/services/javax.annotation.processing.Processor @@ -0,0 +1,3 @@ +# Generated by bnd +org.apache.logging.log4j.core.config.plugins.processor.GraalVmProcessor +org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor \ No newline at end of file diff --git a/src/main/resources/META-INF/services/org.apache.commons.logging.LogFactory b/src/main/resources/META-INF/services/org.apache.commons.logging.LogFactory new file mode 100644 index 0000000..50a7c3b --- /dev/null +++ b/src/main/resources/META-INF/services/org.apache.commons.logging.LogFactory @@ -0,0 +1,5 @@ +org.apache.commons.logging.impl.SLF4JLogFactory + +# Axis gets at JCL through its own mechanism as defined by Commons Discovery, which +# in turn follows the instructions found at: +# http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service Provider diff --git a/src/main/resources/META-INF/services/org.apache.logging.log4j.core.util.ContextDataProvider b/src/main/resources/META-INF/services/org.apache.logging.log4j.core.util.ContextDataProvider new file mode 100644 index 0000000..d4edd81 --- /dev/null +++ b/src/main/resources/META-INF/services/org.apache.logging.log4j.core.util.ContextDataProvider @@ -0,0 +1,2 @@ +# Generated by bnd +org.apache.logging.log4j.core.impl.ThreadContextDataProvider \ No newline at end of file diff --git a/src/main/resources/META-INF/services/org.apache.logging.log4j.message.ThreadDumpMessage$ThreadInfoFactory b/src/main/resources/META-INF/services/org.apache.logging.log4j.message.ThreadDumpMessage$ThreadInfoFactory new file mode 100644 index 0000000..3247928 --- /dev/null +++ b/src/main/resources/META-INF/services/org.apache.logging.log4j.message.ThreadDumpMessage$ThreadInfoFactory @@ -0,0 +1,2 @@ +# Generated by bnd +org.apache.logging.log4j.core.message.ExtendedThreadInfoFactory \ No newline at end of file diff --git a/src/main/resources/META-INF/services/org.apache.logging.log4j.spi.Provider b/src/main/resources/META-INF/services/org.apache.logging.log4j.spi.Provider new file mode 100644 index 0000000..d25957f --- /dev/null +++ b/src/main/resources/META-INF/services/org.apache.logging.log4j.spi.Provider @@ -0,0 +1,2 @@ +# Generated by bnd +org.apache.logging.log4j.core.impl.Log4jProvider \ No newline at end of file diff --git a/src/main/resources/META-INF/services/org.apache.logging.log4j.util.PropertySource b/src/main/resources/META-INF/services/org.apache.logging.log4j.util.PropertySource new file mode 100644 index 0000000..97fdecf --- /dev/null +++ b/src/main/resources/META-INF/services/org.apache.logging.log4j.util.PropertySource @@ -0,0 +1,3 @@ +# Generated by bnd +org.apache.logging.log4j.util.EnvironmentPropertySource +org.apache.logging.log4j.util.SystemPropertiesPropertySource \ No newline at end of file diff --git a/src/main/resources/META-INF/services/org.jline.terminal.spi.TerminalProvider b/src/main/resources/META-INF/services/org.jline.terminal.spi.TerminalProvider new file mode 100644 index 0000000..7921490 --- /dev/null +++ b/src/main/resources/META-INF/services/org.jline.terminal.spi.TerminalProvider @@ -0,0 +1,25 @@ +# +# Copyright (C) 2026 the original author(s). +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Standard Java SPI file for jlink and JPMS module tools. +# +# This file is used by jlink and other JPMS tools to discover service +# implementations and establish proper module dependencies. It is NOT +# used at runtime by JLine - runtime loading uses the provider-specific +# files in META-INF/jline/providers/{name} instead. +# +# See TerminalProvider.load() javadoc for details. +org.jline.terminal.impl.ffm.FfmTerminalProvider diff --git a/src/main/resources/META-INF/services/reactor.blockhound.integration.BlockHoundIntegration b/src/main/resources/META-INF/services/reactor.blockhound.integration.BlockHoundIntegration new file mode 100644 index 0000000..e33bea7 --- /dev/null +++ b/src/main/resources/META-INF/services/reactor.blockhound.integration.BlockHoundIntegration @@ -0,0 +1,14 @@ +# Copyright 2019 The Netty Project +# +# The Netty Project licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +io.netty.util.internal.Hidden$NettyBlockHoundIntegration \ No newline at end of file diff --git a/src/main/resources/META-INF/sisu/javax.inject.Named b/src/main/resources/META-INF/sisu/javax.inject.Named new file mode 100644 index 0000000..428e573 --- /dev/null +++ b/src/main/resources/META-INF/sisu/javax.inject.Named @@ -0,0 +1,7 @@ +org.apache.maven.repository.internal.DefaultArtifactDescriptorReader +org.apache.maven.repository.internal.DefaultModelCacheFactory +org.apache.maven.repository.internal.DefaultVersionRangeResolver +org.apache.maven.repository.internal.DefaultVersionResolver +org.apache.maven.repository.internal.PluginsMetadataGeneratorFactory +org.apache.maven.repository.internal.SnapshotMetadataGeneratorFactory +org.apache.maven.repository.internal.VersionsMetadataGeneratorFactory diff --git a/src/main/resources/META-INF/versions/9/OSGI-INF/MANIFEST.MF b/src/main/resources/META-INF/versions/9/OSGI-INF/MANIFEST.MF new file mode 100644 index 0000000..ffa3bd1 --- /dev/null +++ b/src/main/resources/META-INF/versions/9/OSGI-INF/MANIFEST.MF @@ -0,0 +1,4 @@ +Manifest-Version: 1.0 +Import-Package: java.lang,java.lang.annotation +Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))" + diff --git a/src/main/resources/README b/src/main/resources/README new file mode 100644 index 0000000..03eb567 --- /dev/null +++ b/src/main/resources/README @@ -0,0 +1,42 @@ +Copyright (c) 2000, 2026, Oracle and/or its affiliates. + +This is a release of MySQL Connector/J, a JDBC Type 4 driver for MySQL that also +supports the new X DevAPI. + +License information can be found in the LICENSE file. This distribution may +include materials developed by third parties. For license and attribution +notices for these materials, please refer to the LICENSE file. + +For more information on MySQL Connector/J, visit +https://dev.mysql.com/doc/connector-j/en/. + +For additional downloads and the source of MySQL Connector/J, +visit https://dev.mysql.com/downloads/. + +Contributing information for code and non-code submissions can be found in the +CONTRIBUTING.md file. + +MySQL Connector/J is brought to you by the MySQL team at Oracle. + +Notice: +- In order to use the logging capabilities provided by the default + implementation com.mysql.cj.log.Slf4JLogger, it is required to add one or more + jars for Simple Logging Facade for Java (SLF4J) to your CLASSPATH. +- To use the X DevAPI features in Connector/J, you also need the external + library protobuf-java, which you can download manually from the official Maven + repository and add it to the CLASSPATH, or use Maven's automatic dependency + resolution features by adding a dependency to "GroupId: com.mysql" and + "ArtifactId: mysql-connector-j" to your project's pom.xml file. +- To use OCI AIM authentication, you will need to add the external library + oci-java-sdk-common, which you can download manually from the official Maven + repository and add it to the CLASSPATH, or use Maven's automatic dependency + resolution features by adding a dependency to "GroupId: com.oracle.oci.sdk" + and "ArtifactId: oci-java-sdk-common" to your project's pom.xml file. +- In order to enable OpenTelemtry native instrumentation, it is required to use + the OpenTelemetry libraries opentelemetry-api and opentelemetry-context, and + an OpenTelemetry implementation, typically the library opentelemetry-sdk or + the Java agent opentelemetry-javaagent, which you can download manually from + the official Maven repository and add it to the CLASSPATH, or use Maven's + automatic dependency resolution features, by adding a dependency to + "GroupId: io.opentelemetry" and the corresponding artifacts to your project's + pom.xml file. diff --git a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties new file mode 100644 index 0000000..ba2022b --- /dev/null +++ b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties @@ -0,0 +1,1288 @@ +# Copyright (c) 2007, 2026, Oracle and/or its affiliates. +# +# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by +# the Free Software Foundation. +# +# This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in +# included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the +# separately licensed software that they have either included with the program or referenced in the documentation. +# +# Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, +# version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. +# +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. +# +# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# +# Common +# +Common.UnableToUnwrap=Unable to unwrap to {0} +Nanoseconds=ns +Milliseconds=ms + +# +# Classes +# +AuthenticationKerberosClientPlugin.InvalidLoginModuleDetected=Invalid login module detected ''{0}''. +AuthenticationKerberosClientPlugin.FailAuthenticateUser=No cached TGT found in the system or failed authenticating the user in the Kerberos server. +AuthenticationKerberosClientPlugin.FailCreateSaslClient=Failed creating a SASL client for the authentication mechanism ''{0}''. +AuthenticationKerberosClientPlugin.ErrProcessingAuthIter=Error while processing an authentication iteration for the authentication mechanism ''{0}''. + +AuthenticationLdapSaslClientPlugin.UnsupportedAuthMech=Unsupported SASL authentication mechanism ''{0}''. +AuthenticationLdapSaslClientPlugin.MissingLdapServerHostname=An LDAP Server hostname could not be acquired. One must be provided by either using the connection option ''ldapServerHostname'' or by setting the system property ''java.security.krb5.kdc''. +AuthenticationLdapSaslClientPlugin.InvalidLoginModuleDetected=Invalid login module detected ''{0}''. +AuthenticationLdapSaslClientPlugin.FailCreateSaslClient=Failed creating a SASL client for the authentication mechanism ''{0}''. +AuthenticationLdapSaslClientPlugin.ErrProcessingAuthIter=Error while processing an authentication iteration for the authentication mechanism ''{0}''. + +AuthenticationOpenidConnect.EmptyIdentityToken=The OpenID Identity Token supplied is empty. +AuthenticationOpenidConnect.MissingIdTokenFileOption=A path to a file containing an OpenID Identity Token must be specified in the connection property ''idTokenFile''. +AuthenticationOpenidConnect.FailReadIdTokenFile=Failed reading the OpenID Identity Token file specified in the connection property ''idTokenFile''. +AuthenticationOpenidConnect.InvalidIdTokenFile=The file specified in the connection property ''idTokenFile'' contains an invalid OpenID Identity Token. + +AuthenticationOciClientPlugin.ConfigFileNotFound=OCI configuration file not found. +AuthenticationOciClientPlugin.OciSdkNotFound=The OCI SDK cannot be found or it is not installed. +AuthenticationOciClientPlugin.OciConfigFileError=The OCI configuration file cannot be read. +AuthenticationOciClientPlugin.ProfileNotFound=The specified profile is not found in the OCI configuration file. +AuthenticationOciClientPlugin.OciConfigFileMissingEntry=The OCI configuration file does not contain a ''fingerprint'' or ''key_file'' entry. +AuthenticationOciClientPlugin.PrivateKeyNotFound=The private key cannot be found at the location referenced in the OCI configuration entry ''key_file''. +AuthenticationOciClientPlugin.FailedReadingPrivateKey=Failed reading the private key file referenced in the OCI configuration entry ''key_file''. +AuthenticationOciClientPlugin.PrivateKeyNotValid=The OCI configuration entry ''key_file'' does not reference a valid key file. +AuthenticationOciClientPlugin.SecurityTokenFileNotFound=The security token file cannot be found at the location referenced in the OCI configuration entry ''security_token_file''. +AuthenticationOciClientPlugin.SecurityTokenTooBig=Invalid security token file. File size above 10 KB. +AuthenticationOciClientPlugin.FailedReadingSecurityTokenFile=Failed reading the security token file referenced in the OCI configuration entry ''security_token_file''. + +AuthenticationProvider.BadAuthenticationPlugin=Unable to load authentication plugin ''{0}''. +AuthenticationProvider.BadDefaultAuthenticationPlugin=Improper value "{0}" for property ''defaultAuthenticationPlugin''. +AuthenticationProvider.DefaultAuthenticationPluginIsNotListed=Default authentication plugin "{0}" is neither one of the built-in plugins nor one of the plugins listed in ''authenticationPlugins''. +AuthenticationProvider.BadDisabledAuthenticationPlugin=Can''t disable the default authentication plugin. Either remove "{0}" from the disabled authentication plugins list, or choose a different default authentication plugin. +AuthenticationProvider.AuthenticationPluginRequiresSSL=SSL connection required for plugin "{0}". Check if ''sslMode'' is enabled. +AuthenticationProvider.UnexpectedAuthenticationApproval=Unexpected authentication approval. Authentication plugin "{0}" did not report "done" state but server has approved the connection. + +AuthenticationWebAuthnClientPlugin.MissingCallbackHandler=A callback handler was not specified. Consult the description of the connection property ''authenticationWebAuthnCallbackHandler''. +AuthenticationWebAuthnClientPlugin.IncompleteRegistration=FIDO device registration process not completed. +AuthenticationWebAuthnClientPlugin.FaileMessageDigestSha256=Failed getting an instance of a MessageDigest for the SHA-256 digest algorithm. +AuthenticationWebAuthnClientPlugin.InvalidAuthenticatorData=Missing or invalid FIDO authenticator data. +AuthenticationWebAuthnClientPlugin.InvalidSignature=Missing or invalid FIDO signature. +AuthenticationWebAuthnClientPlugin.AuthenticationFactorComplete=No more data expected. FIDO authentication factor is complete. + +Blob.0=indexToWriteAt must be >= 1 +Blob.1=IO Error while writing bytes to blob +Blob.2="pos" argument can not be < 1. +Blob.3="pos" argument can not be larger than the BLOB''s length. +Blob.4="pos" + "length" arguments can not be larger than the BLOB''s length. +Blob.5="len" argument can not be < 1. +Blob.6="len" argument can not be larger than the BLOB''s length. +Blob.7=Invalid operation on closed BLOB +Blob.invalidStreamLength=Requested stream length of {2} is out of range, given blob length of {0} and starting position of {1}. +Blob.invalidStreamPos=Position ''pos'' can not be < 1 or > blob length. +Blob.8=Emulated BLOB locators must come from a ResultSet with only one table selected, and all primary keys selected +Blob.9=BLOB data not found! Did primary keys change? + +Buffer.0=Payload length can not be larger than buffer size. +Buffer.1=Buffer length is less than expected payload length. + +CallableStatement.1=Unable to retrieve metadata for procedure. +CallableStatement.2=Parameter name can not be NULL or zero-length. +CallableStatement.3=No parameter named ''{0}'' +CallableStatement.5=Parameter named ''{0}'' is not an OUT parameter +CallableStatement.6=Can''t find local placeholder mapping for parameter named ''{0}''. +CallableStatement.7=No output parameters registered. +CallableStatement.8=No output parameters returned by procedure. +CallableStatement.9=Parameter number {0} is not an OUT parameter +CallableStatement.11=Parameter index of {0} is out of range (1, {1}) +CallableStatement.12=Number of procedure parameters in the query ({0}) is higher than the number of procedure parameters in the database ({1}) +CallableStatement.14=Can not use streaming result sets with callable statements that have output parameters +CallableStatement.21=Parameter {0} is not registered as an output parameter +CallableStatement.23=No access to parameters by name when connection has been configured not to access procedure bodies +CallableStatement.24=Can''t set out parameters +CallableStatement.25=Can''t call executeBatch() on CallableStatement with OUTPUT parameters + +Clob.0=indexToWriteAt must be >= 1 +Clob.1=indexToWriteAt must be >= 1 +Clob.2=Starting position can not be < 1 +Clob.3=String to set can not be NULL +Clob.4=Starting position can not be < 1 +Clob.5=String to set can not be NULL +Clob.6=CLOB start position can not be < 1 +Clob.7=CLOB start position + length can not be > length of CLOB +Clob.8=Illegal starting position for search, ''{0}'' +Clob.10=Starting position for search is past end of CLOB +Clob.11=Cannot truncate CLOB of length +Clob.12=\ to length of +Clob.13=. + +Collection.DocIdMismatch=Replacement document has an _id that is different than the matched document. + +ColumnDefinition.0={0} is not applicable to the {1} type of column ''{2}''. +ColumnDefinition.1=Length must be specified before decimals for column ''{0}''. + +Connection.0=Unable to connect to database. +Connection.1=Cannot connect to MySQL server on {0}:{1}.\n\nMake sure that there is a MySQL server running on the machine/port you are trying to connect to and that the machine this software is running on is able to connect to this host/port (i.e. not firewalled). Also make sure that the server has not been started with the --skip-networking flag.\n\n +Connection.2=No operations allowed after connection closed. +Connection.3=Can''t call commit when autocommit=true +Connection.4=Communications link failure during commit(). Transaction resolution unknown. +Connection.5=Unknown Java encoding for the character set with index ''{0}''. Use the ''customCharsetMapping'' property to force it. +Connection.6=Unknown character set index ''{0}'' received from server. The appropriate client character set can be forced via the ''characterEncoding'' property. +Connection.7=Can''t map {0} given for characterSetResults to a supported MySQL encoding. +Connection.8=Unable to use encoding: {0} +Connection.9=No timezone mapping entry for ''{0}'' +Connection.10=Illegal connection port value ''{0}'' +Connection.12=Could not map transaction isolation ''{0}'' to a valid JDBC level. +Connection.13=Could not retrieve transaction isolation level from server +Connection.15=Connection setting too low for ''maxAllowedPacket''. When ''useServerPrepStmts=true'', ''maxAllowedPacket'' must be higher than {0}. Check also ''max_allowed_packet'' in MySQL configuration files. +Connection.16=Could not retrieve transaction read-only status from server +Connection.17.1=Holdability ''{0}'' is not supported +Connection.17.2=Unknown holdability constant ''{0}'' +Connection.18=Connection implicitly closed by Driver. You should call Connection.close() from your code to free resources more efficiently and avoid resource leaks. +Connection.19=Connection lifetime of < .5 seconds. You might be un-necessarily creating short-lived connections and should investigate connection pooling to be more efficient. +Connection.20=Can''t call rollback when autocommit=true +Connection.21=Communications link failure during rollback(). Transaction resolution unknown. +Connection.22=Savepoint ''{0}'' does not exist +Connection.23=Communications link failure during rollback(). Transaction resolution unknown. +Connection.24=Transaction isolation level NONE not supported by MySQL +Connection.25=Unsupported transaction isolation level ''{0}'' +Connection.26=Executor can not be null. +Connection.27=Network timeout value must be greater than or equal to 0. +Connection.UnableToConnect=Could not create connection to database server. +Connection.UnableToConnectWithRetries=Could not create connection to database server. \ +Attempted reconnect {0} times. Giving up. +Connection.UnexpectedException=Unexpected exception encountered during query. +Connection.UnhandledExceptionDuringShutdown=Unexpected exception during server shutdown. +Connection.BadValueInServerVariables=Invalid value ''{1}'' for server variable named ''{0}'', falling back to sane default of ''{2}''. +Connection.exceededConnectionLifetime=Ping or validation failed because configured connection lifetime exceeded. +Connection.badLifecycleInterceptor=Unable to load connection lifecycle interceptor. +Connection.BadExceptionInterceptor=Unable to load exception interceptor. +Connection.CantDetectLocalConnect=Unable to determine if hostname ''{0}'' is local to this box because of exception, assuming it''s not. +Connection.NoMetadataOnSocketFactory=Configured socket factory does not implement SocketMetadata, can not determine whether server is locally-connected, assuming not" +Connection.LoginTimeout=Connection attempt exceeded defined timeout. +Connection.OtelApiNotFound=The OpenTelemetry API library cannot be found or it is not installed. +Connection.NullIdentifier=Value ''null'' is not a valid identifier. + +ConnectionGroup.0=Cannot remove host, only one configured host active. +ConnectionGroup.1=Host is not configured: {0} + +ConnectionProperties.unableToInitDriverProperties=Unable to initialize driver properties due to +ConnectionProperties.errorNotExpected=Huh? +ConnectionProperties.dynamicChangeIsNotAllowed=Dynamic change of ''{0}'' is not allowed. + +ConnectionString.0=The database URL cannot be null. +ConnectionString.1=Malformed database URL, failed to parse the main URL sections. +ConnectionString.2=Malformed database URL, failed to parse the URL authority segment ''{0}''. +ConnectionString.3=Failed to parse the host:port pair ''{0}''. +ConnectionString.4=Malformed database URL, failed to parse the connection string near ''{0}''. +ConnectionString.5=Connector/J cannot handle a database URL of type ''{0}''. +ConnectionString.6=Connector/J cannot handle a database URL of type ''{0}'' that takes {1} hosts. +ConnectionString.7=Malformed database URL, failed to parse the port ''{0}'' as a number. +ConnectionString.8=Illegal transformation to the ''{0}'' property. The value ''{1}'' is not a valid number. +ConnectionString.9=Unable to create an instance of the specified properties transform class. +ConnectionString.10=Can''t find configuration template named ''{0}'' +ConnectionString.11=Unable to load configuration template ''{0}'' due to underlying IOException +ConnectionString.12=Illegal database URL, host ''{0}'' is duplicated but ''{1}'' connections can only handle one instance of each host:port pair. +ConnectionString.13=Illegal database URL, Host ''{0}'' is duplicated in the combined hosts list (sources & replicas) but ''{1}'' connections can only handle one instance of each host:port pair. +ConnectionString.14=Illegal database URL, the option ''{0}'' cannot be set in ''{1}'' connections. +ConnectionString.15=Illegal database URL, in a ''{0}'' multi-host connection it is required the same credentials in all hosts. +ConnectionString.16=Illegal database URL, in a ''{0}'' multi-host connection it is required that all or none of the hosts set a "priority" value. +ConnectionString.17=Illegal database URL, in a ''{0}'' multi-host connection the "priority" setting must be a value between 0 and 100. +ConnectionString.18=Connector/J cannot handle a connection string ''{0}''. +ConnectionString.19=A host name is required for DNS SRV lookup enabled connections. +ConnectionString.20=Specifying multiple host names with DNS SRV lookup is not allowed. +ConnectionString.21=Exactly two host names of different types are required for DNS SRV lookup enabled replication connections. +ConnectionString.22=Specifying multiple host names for the same type with DNS SRV lookup is not allowed. +ConnectionString.23=Specifying a port number with DNS SRV lookup is not allowed. +ConnectionString.24=''{0}'' cannot be set to false with DNS SRV lookup enabled. +ConnectionString.25=Using named pipes with DNS SRV lookup is not allowed. +ConnectionString.26=The option ''{0}'' cannot be set. Live management of connections is not supported with DNS SRV lookup. +ConnectionString.27=Unable to locate any hosts for {0}. + +ConnectionWrapper.0=Can''t set autocommit to ''true'' on an XAConnection +ConnectionWrapper.1=Can''t call setSavepoint() on an XAConnection associated with a global transaction +ConnectionWrapper.2=Can''t call commit() on an XAConnection associated with a global transaction +ConnectionWrapper.3=Can''t call rollback() on an XAConnection associated with a global transaction + +CreateIndexParams.0=Parameter ''{0}'' must not be null or empty. + +CreateTableStatement.0=Parameter ''{0}'' must not be null. +CreateTableStatement.1=Parameter ''{0}'' must not contain null values. + +DatabaseMetaData.0=NULL typeinfo not supported. +DatabaseMetaData.1=Internal error while parsing stored routine metadata (unknown nullability value found) +DatabaseMetaData.2=Table not specified. +DatabaseMetaData.4=User does not have access to metadata required to determine stored procedure parameter types. If rights can not be granted, configure connection with "noAccessToProcedureBodies=true" to have driver generate parameters that represent INOUT strings irregardless of actual parameter types. +DatabaseMetaData.5=Internal error when parsing stored routine metadata +DatabaseMetaData.6=Internal error when parsing stored routine metadata (missing parameter name) +DatabaseMetaData.7=Internal error when parsing stored routine metadata (missing parameter type) +DatabaseMetaData.8=Internal error when parsing stored routine metadata (unknown output from ''SHOW CREATE FUNCTION/PROCEDURE'') +DatabaseMetaData.10=Can not find column in full column list to determine true ordinal position. +DatabaseMetaData.12=Error parsing foreign keys definition, number of local and referenced columns is not the same. +DatabaseMetaData.14=Error parsing foreign keys definition, couldn''t find start of local columns list. +DatabaseMetaData.15=Error parsing foreign keys definition, couldn''t find end of local columns list. +DatabaseMetaData.16=Error parsing foreign keys definition, couldn''t find start of referenced table. +DatabaseMetaData.17=Error parsing foreign keys definition, couldn''t find start of referenced columns list. +DatabaseMetaData.18=Error parsing foreign keys definition, couldn''t find end of referenced columns list. +DatabaseMetaData.20=Illegal arguments to supportsResultSetConcurrency() + +EscapeProcessor.0=Not a valid escape sequence: {0} +EscapeProcessor.1=Syntax error for DATE escape sequence ''{0}'' +EscapeProcessor.2=Syntax error for TIMESTAMP escape sequence ''{0}''. +EscapeProcessor.3=Syntax error for escape sequence ''{0}'' +EscapeProcessor.4=Syntax error while processing '{'fn convert (... , ...)'}' token, missing opening parenthesis in token ''{0}''. +EscapeProcessor.5=Syntax error while processing '{'fn convert (... , ...)'}' token, missing comma in token ''{0}''. +EscapeProcessor.6=Syntax error while processing '{'fn convert (... , ...)'}' token, missing closing parenthesis in token ''{0}''. +EscapeProcessor.7=Unsupported conversion type ''{0}'' found while processing escape token. + +Field.12=Unsupported character encoding ''{0}'' + +JdbcUtil.0=Can''t instantiate required class + +JsonParser.0=Invalid value was found after key ''{0}''. +JsonParser.1=Invalid whitespace character ''{0}''. +JsonParser.2=No valid JSON document was found. +JsonParser.3=Missed closing ''{0}''. +JsonParser.4=Colon is missed after key ''{0}''. +JsonParser.5=No valid value was found. +JsonParser.6=Attempt to add character ''{0}'' to unopened string. +JsonParser.7=Unknown escape sequence ''\\{0}''. +JsonParser.8=Wrong ''{0}'' position after ''{1}''. +JsonParser.10=Wrong ''{0}'' occurrence after ''{1}'', it is allowed only once per number. +JsonParser.11=''.'' is not allowed in the exponent. +JsonParser.12=Wrong literal ''{0}''. +JsonParser.13=Invalid Unicode code point ''{0}''. + +LoadBalanceConnectionGroupManager.0=Unable to register load-balance management bean with JMX + +LoadBalancedConnectionProxy.0=Cannot remove only configured host. +LoadBalancedConnectionProxy.badValueForRetriesAllDown=Bad value ''{0}'' for property "retriesAllDown". +LoadBalancedConnectionProxy.badValueForLoadBalanceBlocklistTimeout=Bad value ''{0}'' for property "loadBalanceBlocklistTimeout". +LoadBalancedConnectionProxy.badValueForLoadBalanceHostRemovalGracePeriod=Bad value ''{0}'' for property "loadBalanceHostRemovalGracePeriod". +LoadBalancedConnectionProxy.badValueForLoadBalanceAutoCommitStatementThreshold=Invalid numeric value ''{0}'' for property "loadBalanceAutoCommitStatementThreshold". +LoadBalancedConnectionProxy.badValueForLoadBalanceAutoCommitStatementRegex=Bad value ''{0}'' for property "loadBalanceAutoCommitStatementRegex". +LoadBalancedConnectionProxy.unusableConnection=The connection is unusable at the current state. There may be no hosts to connect to or all hosts this connection knows may be down at the moment. + +MiniAdmin.0=Conection can not be null. +MiniAdmin.1=MiniAdmin can only be used with MySQL connections + +ModifyStatement.0=Parameter ''{0}'' must not be null or empty. + +MultihostConnection.badValueForHaEnableJMX=Bad value ''{0}'' for property "ha.enableJMX". + +MysqlDataSource.0=Can not load Driver class com.mysql.cj.jdbc.Driver +MysqlDataSource.BadUrl=Failed to get a connection using the URL ''{0}''. + +MysqlIO.15=SSL Connection required, but not provided by server. +MysqlIO.17=Attempt to close streaming result set +MysqlIO.18=\ when no streaming result set was registered. This is an internal error. +MysqlIO.23=Can not use streaming results with multiple result statements +MysqlIO.25=\ ... (truncated) +MysqlIO.39=Streaming result set {0} is still active. No statements may be issued when any streaming result sets are open and in use on a given connection. Ensure that you have called .close() on any active streaming result sets before attempting more queries. +MysqlIO.43=Unexpected end of input stream +MysqlIO.48=Unexpected end of input stream +MysqlIO.57=send() compressed packet:\n +MysqlIO.58=\n\nOriginal packet (uncompressed):\n +MysqlIO.59=send() packet payload:\n +MysqlIO.60=The path ''{0}'' specified in ''{1}'' does not exist. +MysqlIO.61=The file ''{0}'' is not under the safe path ''{1}''. +MysqlIO.62=Unable to open file +MysqlIO.63=for "LOAD DATA LOCAL INFILE" command. +MysqlIO.64=Due to underlying IOException: +MysqlIO.65=Unable to close local file during "LOAD DATA LOCAL INFILE" command +MysqlIO.66=Unsupported protocol ''{0}''. Only protocol ''file'' is supported for "LOAD DATA LOCAL INFILE" URLs. +MysqlIO.67=Cannot read from host ''{0}''. Only local host names are supported for "LOAD DATA LOCAL INFILE" URLs. Consider using the loopback network interface (''localhost''). +MysqlIO.68=Cannot read from ''{0}''. Only local host names are supported for "LOAD DATA LOCAL INFILE" URLs. Consider using the loopback network interface (''localhost''). +MysqlIO.70=Unknown column +MysqlIO.72=\ message from server: " +MysqlIO.79=Unexpected end of input stream +MysqlIO.80=Unexpected end of input stream +MysqlIO.81=Unexpected end of input stream +MysqlIO.82=Unexpected end of input stream +MysqlIO.83=Packets received out of order +MysqlIO.84=Packets received out of order +MysqlIO.85=Unexpected end of input stream +MysqlIO.86=Unexpected end of input stream +MysqlIO.87=Unexpected end of input stream +MysqlIO.88=Packets received out of order +MysqlIO.89=Packets received out of order +MysqlIO.97=Unknown type ''{0}'' in column ''{1}'' of ''{2}'' in binary-encoded result set. +MysqlIO.102=, underlying cause: +MysqlIO.103=Unexpected packet length +MysqlIO.105=Negative skip length not allowed +MysqlIO.106=Value ''0000-00-00'' can not be represented as java.sql.Date +MysqlIO.107=Value ''0000-00-00'' can not be represented as java.sql.Timestamp +MysqlIO.111=Could not allocate packet of {0} bytes required for "LOAD DATA LOCAL INFILE" operation. Try increasing max heap allocation for JVM or decreasing server variable ''max_allowed_packet'' +MysqlIO.113=Invalid character set index {0} for handshake, only values 1-255 are allowed. +MysqlIO.EOF=Can not read response from server. Expected to read {0} bytes, read {1} bytes before connection was unexpectedly lost. +MysqlIO.NoInnoDBStatusFound=No InnoDB status output returned by server. +MysqlIO.InnoDBStatusFailed=Couldn''t retrieve InnoDB status due to underlying exception: +MysqlIO.LoadDataLocalNotAllowed=Server asked for stream in response to "LOAD DATA LOCAL INFILE" but functionality is not enabled at client by setting "allowLoadLocalInfile=true" or specifying a path with ''allowLoadLocalInfileInPath''. +MysqlIo.BadQueryInterceptor=Unable to load query interceptor ''{0}''. + +MysqlParameterMetadata.0=Parameter metadata not available for the given statement +MysqlParameterMetadata.1=Parameter index of ''{0}'' is invalid. +MysqlParameterMetadata.2=Parameter index of ''{0}'' is greater than number of parameters, which is ''{1}''. + +MysqlPooledConnection.0=Physical Connection doesn''t exist + +MysqlSavepoint.0=Savepoint name can not be NULL or empty +MysqlSavepoint.1=Only named savepoints are supported. + +MysqlSQLXML.0=SQLXMLInstance has been free()d +MysqlSQLXML.1=Can''t perform requested operation after getResult() has been called to write XML data +MysqlSQLXML.2=XML Source of type ''{0}'' Not supported. +MysqlSQLXML.3=XML Result of type ''{0}'' Not supported. + +MysqlXAConnection.001=Invalid flag, must use TMNOFLAGS, or any combination of TMSTARTRSCAN and TMENDRSCAN +MysqlXAConnection.002=Error while recovering XIDs from RM. GTRID and BQUAL are wrong sizes +MysqlXAConnection.003=Undetermined error occurred in the underlying Connection - check your data for consistency + +NamedPipeSocketFactory.2=Can not specify NULL or empty value for property '' +NamedPipeSocketFactory.3=''. +NamedPipeSocketFactory.4=Named pipe path can not be null or empty + +NativeCapabilites.001=Unsupported protocol version: {0}. Likely connecting to an X Protocol port. + +NativeSession.ThreadNameComment=Java thread: {0} + +NonRegisteringDriver.3=Hostname of MySQL Server +NonRegisteringDriver.7=Port number of MySQL Server +NonRegisteringDriver.10=Database name; +NonRegisteringDriver.13=Username to authenticate as +NonRegisteringDriver.16=Password to use for authentication +NonRegisteringDriver.17=Cannot load connection class because of underlying exception: {0} +NonRegisteringDriver.37=Must specify port after '':'' in connection string +NonRegisteringDriver.41=Must specify at least one replica host to connect to for source/replica replication load-balancing functionality + +OperationNotSupportedException.0=Operation not supported. + +PacketReader.1=Short read from server, expected {0} bytes, received only {1} +PacketReader.3=Reading packet of length +PacketReader.4=\nPacket header:\n +PacketReader.5=reuseAndReadPacket() payload:\n +PacketReader.6=readPacket() payload:\n +PacketReader.7=\n\nLarge packet dump truncated at +PacketReader.8=\ bytes. +PacketReader.9=Packets out of order, expected packet # {0} or # {1}, but received packet # {2} +PacketReader.10=Packets received out of order + +PreparedQuery.0=SQL String cannot be NULL +PreparedQuery.1=SQL String cannot be empty + +PreparedStatement.0=SQL String cannot be NULL +PreparedStatement.1=SQL String cannot be NULL +PreparedStatement.2=Parameter index out of range ( +PreparedStatement.3=\ > +PreparedStatement.4=) +PreparedStatement.16=Unknown Types value +PreparedStatement.17=Cannot convert +PreparedStatement.18=\ to SQL type requested due to +PreparedStatement.19=\ - +PreparedStatement.20=Connection is read-only. +PreparedStatement.21=Queries leading to data modification are not allowed +PreparedStatement.25=Connection is read-only. +PreparedStatement.26=Queries leading to data modification are not allowed +PreparedStatement.34=Connection is read-only. +PreparedStatement.35=Queries leading to data modification are not allowed +PreparedStatement.37=Can not issue executeUpdate() or executeLargeUpdate() with statements that produce result sets +PreparedStatement.40=No value specified for parameter +PreparedStatement.43=PreparedStatement created, but used 1 or fewer times. It is more efficient to prepare statements once, and re-use them many times +PreparedStatement.48=PreparedStatement has been closed. No further operations allowed. +PreparedStatement.49=Parameter index out of range ( +PreparedStatement.50=\ < 1 ). +PreparedStatement.51=Parameter index out of range ( +PreparedStatement.52=\ > number of parameters, which is +PreparedStatement.53=). +PreparedStatement.54=Invalid argument value: +PreparedStatement.62=Parse error for {0} +PreparedStatement.63=Can''t set IN parameter for return value of stored function call. +PreparedStatement.64=''{0}'' is not a valid numeric or approximate numeric value +PreparedStatement.65=Can''t set scale of ''{0}'' for DECIMAL argument ''{1}'' +PreparedStatement.66=No conversion from {0} to Types.BOOLEAN possible. +PreparedStatement.67=Conversion from {0} to {1} is not supported. + +Protocol.0=\ message from server: " +Protocol.2=\ ... (truncated) +Protocol.3=Not issuing EXPLAIN for query of size > {0} bytes. +Protocol.4=The following query was executed with a bad index, use ''EXPLAIN'' for more details: +Protocol.5=The following query was executed using no index, use ''EXPLAIN'' for more details: +Protocol.6=Slow query explain results for '' +Protocol.7='' :\n\n +Protocol.8=Invalid socket timeout value or state +Protocol.SlowQuery=Slow query (exceeded {0} {1}, duration: {2} {1}): {3} +Protocol.ServerSlowQuery=The server processing the query has indicated that the query was marked "slow". +Protocol.DuplicateAttribute=Duplicate key "{0}" used in "xdevapi.connection-attributes". +Protocol.WrongAttributeName=Key names in "xdevapi.connection-attributes" cannot start with "_". +Protocol.Compression.0=Compression requested but the server does not support it. +Protocol.Compression.1=The property "xdevapi.compression-extensions" must be a comma separated list of colon separated triplets. +Protocol.Compression.2=Compression requested but the compression algorithm negotiation failed. +Protocol.Compression.3=Incorrect compression algorithm designation ''{0}''. The compression algorithm must be identified by "name_mode". +Protocol.Compression.4=Unknown or unsupported compression mode ''{0}''. +Protocol.Compression.5=Error loading the class {0}. +Protocol.Compression.6=Failed setting up the connection compression input stream. +Protocol.Compression.7=Failed setting up the connection compression output stream. +Protocol.Compression.8=Compression cannot be enabled with asynchronous variant of X Protocol. +Protocol.Compression.IoFactory.0=Failed creating an instance of {0} to inflate from {1} compressed data. +Protocol.Compression.IoFactory.1=Failed creating an instance of {0} to deflate into {1} compressed data. +Protocol.Compression.Streams.0=Failed reading the packet payload. +Protocol.Compression.Streams.1=Failed parsing the packet payload as a compressed message. + +QueryInfo.NullSql=SQL String cannot be NULL + +RandomBalanceStrategy.0=No hosts configured + +RemoveStatement.0=Parameter ''{0}'' must not be null or empty. + +ReplicationConnectionProxy.badValueForAllowSourceDownConnections=Bad value ''{0}'' for property "allowSourceDownConnections". +ReplicationConnectionProxy.badValueForAllowReplicaDownConnections=Bad value ''{0}'' for property "allowReplicaDownConnections". +ReplicationConnectionProxy.badValueForReadFromSourceWhenNoReplicas=Bad value ''{0}'' for property "readFromSourceWhenNoReplicas". +ReplicationConnectionProxy.initializationWithEmptyHostsLists=A replication connection cannot be initialized without source hosts and replica hosts, simultaneously. +ReplicationConnectionProxy.noHostsInconsistentState=The replication connection is an inconsistent state due to non existing hosts in both its internal hosts lists. + +ReplicationGroupManager.0=Unable to register replication host management bean with JMX + +ResultSet.Retrieved__1=Retrieved +ResultSet.Bad_format_for_BigDecimal=Bad format for BigDecimal ''{0}'' in column {1}. +ResultSet.Bad_format_for_BigInteger=Bad format for BigInteger ''{0}'' in column {1}. +ResultSet.Column_Index_out_of_range_low=Column Index out of range, {0} < 1. +ResultSet.Column_Index_out_of_range_high=Column Index out of range, {0} > {1}. +ResultSet.Value_is_out_of_range=Value ''{0}'' is out of range [{1}, {2}]. +ResultSet.Positioned_Update_not_supported=Positioned Update not supported. +ResultSet.Bad_format_for_Date=Bad format for DATE ''{0}'' in column {1}. +ResultSet.Bad_format_for_Column=Bad format for {0} ''{1}'' in column {2} ({3}). +ResultSet.Bad_format_for_number=Bad format for number ''{0}'' in column {1}. +ResultSet.Illegal_operation_on_empty_result_set=Illegal operation on empty result set. + +ResultSet.Query_generated_no_fields_for_ResultSet_57=Query generated no fields for ResultSet +ResultSet.Illegal_value_for_fetch_direction_64=Illegal value for fetch direction +ResultSet.Unacceptable_value_for_fetch_direction=Fetch direction {0} cannot be set on a ResultSet of type ResultSet.TYPE_FORWARD_ONLY +ResultSet.Value_out_of_range_66=Value out of range. +ResultSet.Query_generated_no_fields_for_ResultSet_99=Query generated no fields for ResultSet +ResultSet.Operation_not_allowed_after_ResultSet_closed_144=Operation not allowed after ResultSet closed +ResultSet.Before_start_of_result_set_146=Before start of result set +ResultSet.After_end_of_result_set_148=After end of result set +ResultSet.Query_generated_no_fields_for_ResultSet_133=Query generated no fields for ResultSet +ResultSet.ResultSet_is_from_UPDATE._No_Data_115=Not a navigable ResultSet. + +ResultSet.Invalid_value_for_getFloat()_-____68=Invalid value for getFloat() - '' +ResultSet.Invalid_value_for_getInt()_-____74=Invalid value for getInt() - '' +ResultSet.Invalid_value_for_getLong()_-____79=Invalid value for getLong() - '' +ResultSet.Invalid_value_for_getFloat()_-____200=Invalid value for getFloat() - '' +ResultSet.___in_column__201='' in column +ResultSet.Invalid_value_for_getInt()_-____206=Invalid value for getInt() - '' +ResultSet.___in_column__207='' in column +ResultSet.Invalid_value_for_getLong()_-____211=Invalid value for getLong() - '' +ResultSet.___in_column__212='' in column +ResultSet.Invalid_value_for_getShort()_-____217=Invalid value for getShort() - '' +ResultSet.___in_column__218='' in column + +ResultSet.Invalid_value_for_getShort()_-____96=Invalid value for getShort() - '' +ResultSet.Unsupported_character_encoding____101=Unsupported character encoding '' + +ResultSet.Malformed_URL____104=Malformed URL '' +ResultSet.Malformed_URL____107=Malformed URL '' +ResultSet.Malformed_URL____141=Malformed URL '' + +ResultSet.Column____112=Column '' +ResultSet.___not_found._113='' not found. + +ResultSet.Unsupported_character_encoding____135=Unsupported character encoding '' +ResultSet.Unsupported_character_encoding____138=Unsupported character encoding '' + +ResultSet.InvalidLengthForType=Invalid length ({0}) for type {1} +ResultSet.InvalidFormatForType=Invalid format for type {0}. Value ''{1}'' +ResultSet.NumberOutOfRange=Value ''{0}'' is outside of valid range for type {1} +ResultSet.UnsupportedConversion=Unsupported conversion from {0} to {1} +ResultSet.PrecisionLostWarning=Precision lost converting DATETIME/TIMESTAMP to {0} +ResultSet.ImplicitDatePartWarning=Date part does not exist in SQL TIME field, thus it is set to January 1, 1970 GMT while converting to {0} +ResultSet.UnableToInterpretString=Cannot determine value type from string ''{0}'' +ResultSet.UnableToConvertString=Cannot convert string ''{0}'' to {1} value +ResultSet.UnknownSourceType=Cannot decode value of unknown source type +ResultSet.InvalidTimeValue=The value ''{0}'' is an invalid TIME value. JDBC Time objects represent a wall-clock time and not a duration as MySQL treats them. If you are treating this type as a duration, consider retrieving this value as a string and dealing with it according to your requirements. +ResultSet.InvalidZeroDate=Zero date value prohibited + +# +# Usage advisor messages for ResultSets +# + +ResultSet.ResultSet_implicitly_closed_by_driver=ResultSet implicitly closed by driver.\n\nYou should close ResultSets explicitly from your code to free up resources in a more efficient manner. +ResultSet.Possible_incomplete_traversal_of_result_set=Possible incomplete traversal of result set. Cursor was left on row {0} of {1} rows when it was closed.\n\nYou should consider re-formulating your query to return only the rows you are interested in using. +ResultSet.The_following_columns_were_never_referenced=The following columns were part of the SELECT statement for this result set, but were never referenced: {0} +ResultSet.Too_Large_Result_Set=Result set size of {0} rows is larger than \"resultSetSizeThreshold\" of {1} rows. Application may be requesting more data than it is using. Consider reformulating the query. +ResultSet.CostlyConversion=ResultSet type conversion via parsing detected when calling {0} for column {1} (column named ''{2}'') in table ''{3}''{4}\n\nJava class of column type is ''{5}'', MySQL field type is ''{6}''.\n\nTypes that could be converted directly without parsing are:\n{7} +ResultSet.CostlyConversionCreatedFromQuery= created from query:\n\n + +ResultSet.Value____173=Value '' +ResultSetMetaData.46=Column index out of range. +ResultSet.___is_out_of_range_[-127,127]_174='' is out of range [-127,127] +ResultSet.Bad_format_for_Date____180=Bad format for Date '' + +ResultSet.Timestamp_too_small_to_convert_to_Time_value_in_column__223=Timestamp too small to convert to Time value in column +ResultSet.Precision_lost_converting_TIMESTAMP_to_Time_with_getTime()_on_column__227=Precision lost converting TIMESTAMP to Time with getTime() on column +ResultSet.Precision_lost_converting_DATETIME_to_Time_with_getTime()_on_column__230=Precision lost converting DATETIME to Time with getTime() on column +ResultSet.Bad_format_for_Time____233=Bad format for Time '' +ResultSet.___in_column__234='' in column +ResultSet.Bad_format_for_Timestamp____244=Bad format for Timestamp '' +ResultSet.___in_column__245='' in column +ResultSet.Cannot_convert_value____249=Cannot convert value '' +ResultSet.___from_column__250='' from column +ResultSet._)_to_TIMESTAMP._252=\ ) to TIMESTAMP. +ResultSet.Timestamp_too_small_to_convert_to_Time_value_in_column__257=Timestamp too small to convert to Time value in column +ResultSet.Precision_lost_converting_TIMESTAMP_to_Time_with_getTime()_on_column__261=Precision lost converting TIMESTAMP to Time with getTime() on column +ResultSet.Precision_lost_converting_DATETIME_to_Time_with_getTime()_on_column__264=Precision lost converting DATETIME to Time with getTime() on column +ResultSet.Bad_format_for_Time____267=Bad format for Time '' +ResultSet.___in_column__268='' in column +ResultSet.Bad_format_for_Timestamp____278=Bad format for Timestamp '' +ResultSet.___in_column__279='' in column +ResultSet.Cannot_convert_value____283=Cannot convert value '' +ResultSet.___from_column__284='' from column +ResultSet._)_to_TIMESTAMP._286=\ ) to TIMESTAMP. + +ResultSet.1=Can''t convert empty string ('''') to numeric +ResultSet.2=Required type conversion not allowed +ResultSet.3=Value ''{0}'' can not be represented as java.sql.Date +ResultSet.4=Type parameter can not be null +ResultSet.5=Conversion not supported for type {0} +ResultSet.6=Value ''{0}'' can not be represented as java.sql.Time +ResultSet.7=Value ''{0}'' can not be represented as java.sql.Timestamp +ResultSet.8=Bad format for Timestamp ''{0}'' in column {1}. +ResultSet.9=Cannot convert value ''{0}'' from column {1} to TIMESTAMP. +ResultSet.10=''{0}'' in column ''{1}'' is outside valid range for the datatype {2}. +ResultSet.11=Can not call getNCharacterStream() when field''s charset isn''t UTF-8 +ResultSet.12=Can not call getNClob() when field''s charset isn''t UTF-8 +ResultSet.13=Unsupported character encoding {0} +ResultSet.14=Can not call getNString() when field''s charset isn''t UTF-8 +ResultSet.15=Internal error - conversion method doesn''t support this type +ResultSet.16=Can not call updateNCharacterStream() when field''s character set isn''t UTF-8 +ResultSet.17=Can not call updateNClob() when field''s character set isn''t UTF-8 +ResultSet.18=Can not call updateNString() when field''s character set isn''t UTF-8 + +ResultSet.ForwardOnly=Operation not allowed for a result set of type ResultSet.TYPE_FORWARD_ONLY. + +ResultSetScannerInterceptor.0=resultSetScannerRegex must be configured, and must be > 0 characters +ResultSetScannerInterceptor.1=Can''t use configured regex due to underlying exception. +ResultSetScannerInterceptor.2=value disallowed by filter + +RowDataDynamic.1=WARN: Possible incomplete traversal of result set. Streaming result set had {0} rows left to read when it was closed.\n\nYou should consider re-formulating your query to return only the rows you are interested in using.\n\nResultSet was created at: {1} +RowDataDynamic.2=Error retrieving record: Unexpected Exception: {0} message given: {1}\n\nNested Stack Trace:\n{2} +RowDataDynamic.3=Operation not supported for streaming result sets + +ServerPreparedStatement.2=Connection is read-only. +ServerPreparedStatement.3=Queries leading to data modification are not allowed +ServerPreparedStatement.6=\ unable to materialize as string due to underlying SQLException: +ServerPreparedStatement.7=Not supported for server-side prepared statements. +ServerPreparedStatement.8=No parameters specified during prepareStatement() or prepareCall() +ServerPreparedStatement.9=Parameter index out of bounds. +ServerPreparedStatement.10=\ is not between valid values of 1 and +ServerPreparedStatement.11=Driver can not re-execute prepared statement when a parameter has been changed +ServerPreparedStatement.12=from a streaming type to an intrinsic data type without calling clearParameters() first. +ServerPreparedStatement.13=Statement parameter +ServerPreparedStatement.14=\ not set. + +ServerPreparedStatement.15=Slow query (exceeded {0} ms, duration: {1} ms) as prepared: {2}\n\n with parameters bound:\n\n{3} + +ServerPreparedStatement.18=Unknown LONG DATA type '' +ServerPreparedStatement.22=Unsupported character encoding '' +ServerPreparedStatement.26=Unknown type when re-binding parameter into batched statement for parameter index {0} +ServerPreparedStatement.27=Unable to prepare batch statement +ServerPreparedStatement.28=Can not call setNCharacterStream() when connection character set isn''t UTF-8 +ServerPreparedStatement.29=Can not call setNClob() when connection character set isn''t UTF-8 +ServerPreparedStatement.30=Can not call setNString() when connection character set isn''t UTF-8 +ServerPreparedStatement.31=Can not send national characters when connection character set isn''t UTF-8 + +Session.Create.Failover.0=Unable to connect to any of the target hosts. + +Sha256PasswordPlugin.0=Unable to read public key {0} +Sha256PasswordPlugin.1=Unable to close public key file +Sha256PasswordPlugin.2=Public Key Retrieval is not allowed + +Schema.CreateCollection=The server doesn't support the requested operation. Please update the MySQL Server and or Client library + +SocketConnection.0=No name specified for socket factory. +SocketConnection.1=Socket is closed. + +SocketMetadata.0=Using ''host'' value of ''{0}'' to determine locality of connection +SocketMetadata.1=Locally connected - HostAddress({0}).equals(whereIconnectedTo({1}) +SocketMetadata.2=Attempted locally connected check failed - ! HostAddress({0}).equals(whereIconnectedTo({1}) +SocketMetadata.3=Remote socket address {0} is not an inet socket address + +Statement.0=Connection is closed. +Statement.2=Unsupported character encoding ''{0}'' +Statement.5=Illegal value for setFetchDirection(). +Statement.7=Illegal value for setFetchSize(). +Statement.11=Illegal value for setMaxFieldSize(). +Statement.13=Can not set max field size > max allowed packet of {0} bytes. +Statement.15=setMaxRows() out of range. +Statement.19=Illegal flag for getMoreResults(int). +Statement.21=Illegal value for setQueryTimeout(). +Statement.27=Connection is read-only. +Statement.28=Queries leading to data modification are not allowed. +Statement.34=Connection is read-only. +Statement.35=Queries leading to data modification are not allowed. +Statement.40=Can not issue INSERT/UPDATE/DELETE with executeQuery(). +Statement.42=Connection is read-only. +Statement.43=Queries leading to data modification are not allowed. +Statement.46=Statement.executeUpdate() or Statement.executeLargeUpdate() cannot issue statements that produce result sets. +Statement.AlreadyClosed=No operations allowed after statement closed. +Statement.57=Statement.executeQuery() cannot issue statements that do not produce result sets. +Statement.59=Can not issue NULL query. +Statement.61=Can not issue empty query. +Statement.63=Statement not closed explicitly. You should call close() on created Statement instances from your code to be more efficient. +Statement.65=Operation not supported. +Statement.GeneratedKeysNotRequested=Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate(), Statement.executeLargeUpdate() or Connection.prepareStatement(). +Statement.ConnectionKilledDueToTimeout=Connection closed to due to statement timeout being reached and "queryTimeoutKillsConnection" being set to "true". +Statement.UnsupportedSQLType=Unsupported SQL type: + +StringInspector.1=The source string must not be null. +StringInspector.2=Illegal argument value {0} for openingMarkers and/or {1} for closingMarkers. These cannot be null and must have the same length. +StringInspector.3=Illegal argument value {0} for overridingMarkers. These cannot be null and must be a sub-set of openingMarkers {1}. +StringInspector.4=The start position must be zero or a positive number. +StringInspector.5=The start position must must not be higher than the stop position. +StringInspector.6=The stop position must be zero or a positive number. +StringInspector.7=The stop position must must not be higher than the length of the source string. +StringInspector.8=The delimiter string must not be null. + +StringUtils.0=Unsupported character encoding ''{0}'' +StringUtils.badIntFormat=Invalid integer format for value ''{0}'' + +TimeUtil.0=Illegal hour value ''{0}'' for java.sql.Time type in value ''{1}''. +TimeUtil.1=Illegal minute value ''{0}'' for java.sql.Time type in value ''{1}''. +TimeUtil.2=Illegal second value ''{0}'' for java.sql.Time type in value ''{1}''. +TimeUtil.UnrecognizedTimeZoneId=The server time zone value ''{0}'' is unrecognized or represents more than one time zone. You must \ +configure either the server or JDBC driver (via the ''connectionTimeZone'' configuration property) to use a \ +more specific time zone value if you want to utilize time zone support. +TimeUtil.LoadTimeZoneMappingError=Failed to load the time zone mapping resource file ''TimeZoneMapping.properties''. + +UpdatableResultSet.1=Can not call deleteRow() when on insert row. +UpdatableResultSet.2=Can not call deleteRow() on empty result set. +UpdatableResultSet.3=Before start of result set. Can not call deleteRow(). +UpdatableResultSet.4=After end of result set. Can not call deleteRow(). +UpdatableResultSet.7=Not on insert row. +UpdatableResultSet.8=Can not call refreshRow() when on insert row. +UpdatableResultSet.9=Can not call refreshRow() on empty result set. +UpdatableResultSet.10=Before start of result set. Can not call refreshRow(). +UpdatableResultSet.11=After end of result set. Can not call refreshRow(). +UpdatableResultSet.12=refreshRow() called on row that has been deleted or had primary key changed. +UpdatableResultSet.34=Updatable result set created, but never updated. You should only create updatable result sets when you want to update/insert/delete values using the updateRow(), deleteRow() and insertRow() methods. +UpdatableResultSet.43=Can not create updatable result sets when there is no currently selected database and MySQL server version < 4.1. +UpdatableResultSet.44=Can not call updateRow() when on insert row. + +Util.1=\n\n** BEGIN NESTED EXCEPTION ** \n\n +Util.2=\nMESSAGE: +Util.3=\n\nSTACKTRACE:\n\n +Util.4=\n\n** END NESTED EXCEPTION **\n\n +Util.5=Error reading from binary stream +Util.6=Error reading from character stream +Util.WrongImplementation=The class ''{0}'' does not implement the interface ''{1}''. +Util.FailLoadClass=Failed loading the class ''{0}''. +Util.FailCreateInstance=Failed creating an instance of ''{0}''. + +# +# Exceptions +# + +AssertionFailedException.0=ASSERTION FAILED: Exception +AssertionFailedException.1=\ that should not be thrown, was thrown +AssertionFailedException.2=ASSERTION FAILED: {0} + +CommunicationsException.2=\ is longer than the server configured value of +CommunicationsException.3=''wait_timeout'' +CommunicationsException.4=''interactive_timeout'' +CommunicationsException.5=may or may not be greater than the server-side timeout +CommunicationsException.6=(the driver was unable to determine the value of either the +CommunicationsException.7=''wait_timeout'' or ''interactive_timeout'' configuration values from +CommunicationsException.8=the server. +CommunicationsException.11=. You should consider either expiring and/or testing connection validity +CommunicationsException.12=before use in your application, increasing the server configured values for client timeouts, +CommunicationsException.13=or using the Connector/J connection property ''autoReconnect=true'' to avoid this problem. +CommunicationsException.TooManyClientConnections=The driver was unable to create a connection due to an inability to establish the client portion of a socket.\n\nThis is usually caused by a limit on the number of sockets imposed by the operating system. This limit is usually configurable. \n\nFor Unix-based platforms, see the manual page for the ''ulimit'' command. Kernel or system reconfiguration may also be required.\n\nFor Windows-based platforms, see Microsoft Knowledge Base Article 196271 (Q196271). +CommunicationsException.LocalSocketAddressNotAvailable=The configuration parameter \"localSocketAddress\" has been set to a network interface not available for use by the JVM. +CommunicationsException.20=Communications link failure +CommunicationsException.ClientWasStreaming=Application was streaming results when the connection failed. Consider raising value of ''net_write_timeout'' on the server. +CommunicationsException.ServerPacketTimingInfoNoRecv=The last packet sent successfully to the server was {0} milliseconds ago. The driver has not received any packets from the server. +CommunicationsException.ServerPacketTimingInfo=The last packet successfully received from the server was {0} milliseconds ago. The last packet sent successfully to the server was {1} milliseconds ago. +CommunicationsException.TooManyAuthenticationPluginNegotiations=Too many authentication plugin negotiations. + +ConnectionFeatureNotAvailableException.0=Feature not available in this distribution of Connector/J + +InvalidLoadBalanceStrategy=Invalid load balancing strategy ''{0}''. + +MySQLStatementCancelledException.0=Statement cancelled due to client request + +MySQLTimeoutException.0=Statement cancelled due to timeout or client request + +NoSubInterceptorWrapper.0=Interceptor to be wrapped can not be NULL + +NotImplemented.0=Feature not implemented + +NotUpdatable.0=Result Set not updatable. +NotUpdatable.1=This result set must come from a statement that was created with a result set type of ResultSet.CONCUR_UPDATABLE, the query must select only one table, can not use functions and must select all primary keys from that table. See the JDBC 2.1 API Specification, section 5.6 for more details. + +NotUpdatableReason.0=Result Set not updatable (references more than one table). +NotUpdatableReason.1=Result Set not updatable (references more than one database). +NotUpdatableReason.3=Result Set not updatable (references computed values or doesn''t reference any columns or tables). +NotUpdatableReason.4=Result Set not updatable (references no primary keys). +NotUpdatableReason.5=Result Set not updatable (referenced table has no primary keys). +NotUpdatableReason.6=Result Set not updatable (references unknown primary key {0}). +NotUpdatableReason.7=Result Set not updatable (does not reference all primary keys). + +PacketTooBigException.0=Packet for query is too large ({0} > {1}). You can change this value on the server by setting the ''max_allowed_packet'' variable. +PacketTooBigException.1=Packet for query is too large ({0} > {1}). You can change this value on the server by setting the ''mysqlx_max_allowed_packet'' variable. + +XSession.0=Parameter ''{0}'' must not be null or empty. + +# +# SQL:2023 SQLSTATE error messages (extracted manually the from specification documents) +# + +# Foundation (SQL/Foundation) +SQLSTATE.00000=Successful completion +SQLSTATE.01000=Warning +SQLSTATE.01001=Warning, cursor operation conflict +SQLSTATE.01002=Warning, disconnect error +SQLSTATE.01003=Warning, null value eliminated in set function +SQLSTATE.01004=Warning, string data, right truncation +SQLSTATE.01005=Warning, insufficient item descriptor areas +SQLSTATE.01006=Warning, privilege not revoked +SQLSTATE.01007=Warning, privilege not granted +SQLSTATE.01009=Warning, search condition too long for information schema +SQLSTATE.0100A=Warning, query expression too long for information schema +SQLSTATE.0100B=Warning, default value too long for information schema +SQLSTATE.0100C=Warning, result sets returned +SQLSTATE.0100E=Warning, attempt to return too many result sets +SQLSTATE.0100F=Warning, statement too long for information schema +SQLSTATE.01012=Warning, invalid number of conditions +SQLSTATE.0102F=Warning, array data, right truncation +SQLSTATE.02000=No data +SQLSTATE.02001=No data, no additional result sets returned +SQLSTATE.07000=Dynamic SQL error +SQLSTATE.07001=Dynamic SQL error, using clause does not match dynamic parameter specifications +SQLSTATE.07002=Dynamic SQL error, using clause does not match target specifications +SQLSTATE.07003=Dynamic SQL error, cursor specification cannot be executed +SQLSTATE.07004=Dynamic SQL error, using clause required for dynamic parameters +SQLSTATE.07005=Dynamic SQL error, prepared statement not a cursor specification +SQLSTATE.07006=Dynamic SQL error, restricted data type attribute violation +SQLSTATE.07007=Dynamic SQL error, using clause required for result fields +SQLSTATE.07008=Dynamic SQL error, invalid descriptor count +SQLSTATE.07009=Dynamic SQL error, invalid descriptor index +SQLSTATE.0700B=Dynamic SQL error, data type transform function violation +SQLSTATE.0700C=Dynamic SQL error, undefined DATA value +SQLSTATE.0700D=Dynamic SQL error, invalid DATA target +SQLSTATE.0700E=Dynamic SQL error, invalid LEVEL value +SQLSTATE.0700F=Dynamic SQL error, invalid DATETIME_INTERVAL_CODE +SQLSTATE.0700G=Dynamic SQL error, invalid pass-through surrogate value +SQLSTATE.0700H=Dynamic SQL error, PIPE ROW not during PTF execution +SQLSTATE.08000=Connection exception +SQLSTATE.08001=Connection exception, SQL-client unable to establish SQL-connection +SQLSTATE.08002=Connection exception, connection name in use +SQLSTATE.08003=Connection exception, connection does not exist +SQLSTATE.08004=Connection exception, SQL-server rejected establishment of SQL-connection +SQLSTATE.08006=Connection exception, connection failure +SQLSTATE.08007=Connection exception, transaction resolution unknown +SQLSTATE.09000=Triggered action exception +SQLSTATE.0A000=Feature not supported +SQLSTATE.0A001=Feature not supported, multiple server transactions +SQLSTATE.0D000=Invalid target type specification +SQLSTATE.0E000=Invalid schema name list specification +SQLSTATE.0F000=Locator exception +SQLSTATE.0F001=Locator exception, invalid specification +SQLSTATE.0M000=Invalid SQL-invoked procedure reference +SQLSTATE.0P000=Invalid role specification +SQLSTATE.0S000=Invalid transform group name specification +SQLSTATE.0T000=target table disagrees with cursor specification +SQLSTATE.0U000=Attempt to assign to non-updatable column +SQLSTATE.0V000=Attempt to assign to ordering column +SQLSTATE.0W000=Prohibited statement encountered during trigger execution +SQLSTATE.0W001=Prohibited statement encountered during trigger execution, modify table modified by data change delta table +SQLSTATE.0Z000=Diagnostics exception +SQLSTATE.0Z001=Diagnostics exception, maximum number of stacked diagnostics areas exceeded +SQLSTATE.11000=Prohibited column reference encountered during trigger execution +SQLSTATE.21000=Cardinality violation +SQLSTATE.22000=Data exception +SQLSTATE.22001=Data exception, string data, right truncation +SQLSTATE.22002=Data exception, null value, no indicator parameter +SQLSTATE.22003=Data exception, numeric value out of range +SQLSTATE.22004=Data exception, null value not allowed +SQLSTATE.22005=Data exception, error in assignment +SQLSTATE.22006=Data exception, invalid interval format +SQLSTATE.22007=Data exception, invalid datetime format +SQLSTATE.22008=Data exception, datetime field overflow +SQLSTATE.22009=Data exception, invalid time zone displacement value +SQLSTATE.2200B=Data exception, escape character conflict +SQLSTATE.2200C=Data exception, invalid use of escape character +SQLSTATE.2200D=Data exception, invalid escape octet +SQLSTATE.2200E=Data exception, null value in array target +SQLSTATE.2200F=Data exception, zero-length character string +SQLSTATE.2200G=Data exception, most specific type mismatch +SQLSTATE.2200H=Data exception, sequence generator limit exceeded +SQLSTATE.2200P=Data exception, interval value out of range +SQLSTATE.2200Q=Data exception, multiset value overflow +SQLSTATE.22010=Data exception, invalid indicator parameter value +SQLSTATE.22011=Data exception, substring error +SQLSTATE.22012=Data exception, division by zero +SQLSTATE.22013=Data exception, invalid preceding or following size in window function +SQLSTATE.22014=Data exception, invalid argument for NTILE function +SQLSTATE.22015=Data exception, interval field overflow +SQLSTATE.22016=Data exception, invalid argument for NTH_VALUE function +SQLSTATE.22018=Data exception, invalid character value for cast +SQLSTATE.22019=Data exception, invalid escape character +SQLSTATE.2201B=Data exception, invalid regular expression +SQLSTATE.2201C=Data exception, null row not permitted in table +SQLSTATE.2201E=Data exception, invalid argument for natural logarithm +SQLSTATE.2201F=Data exception, invalid argument for power function +SQLSTATE.2201G=Data exception, invalid argument for width bucket function +SQLSTATE.2201H=Data exception, invalid row version +SQLSTATE.2201S=Data exception, invalid XQuery regular expression +SQLSTATE.2201T=Data exception, invalid XQuery option flag +SQLSTATE.2201U=Data exception, attempt to replace a zero-length string +SQLSTATE.2201V=Data exception, invalid XQuery replacement string +SQLSTATE.2201W=Data exception, invalid row count in fetch first clause +SQLSTATE.2201X=Data exception, invalid row count in result offset clause +SQLSTATE.2201Y=Data exception, zero-length binary string +SQLSTATE.22020=Data exception, invalid period value +SQLSTATE.22021=Data exception, character not in repertoire +SQLSTATE.22022=Data exception, indicator overflow +SQLSTATE.22023=Data exception, invalid parameter value +SQLSTATE.22024=Data exception, unterminated C string +SQLSTATE.22025=Data exception, invalid escape sequence +SQLSTATE.22027=Data exception, trim error +SQLSTATE.22029=Data exception, non-character in character string +SQLSTATE.2202D=Data exception, null value substituted for mutator subject parameter +SQLSTATE.2202E=Data exception, array element error +SQLSTATE.2202F=Data exception, array data, right truncation +SQLSTATE.2202G=Data exception, invalid repeat argument in a sample clause +SQLSTATE.2202H=Data exception, invalid sample size +SQLSTATE.2202J=Data exception, invalid argument for row pattern navigation function +SQLSTATE.2202K=Data exception, skip to non-existent row +SQLSTATE.2202L=Data exception, skip to first row of match +SQLSTATE.2202V=Data exception, non-Boolean SQL/JSON item +SQLSTATE.2202W=Data exception, non-date SQL/JSON item +SQLSTATE.2202X=Data exception, non-string SQL/JSON item +SQLSTATE.2202Y=Data exception, non-time SQL/JSON item +SQLSTATE.2202Z=Data exception, non-timestamp SQL/JSON item +SQLSTATE.22030=Data exception, duplicate JSON object key value +SQLSTATE.22031=Data exception, invalid argument for SQL/JSON datetime function +SQLSTATE.22032=Data exception, invalid JSON text +SQLSTATE.22033=Data exception, invalid SQL/JSON subscript +SQLSTATE.22034=Data exception, more than one SQL/JSON item +SQLSTATE.22035=Data exception, no SQL/JSON item +SQLSTATE.22036=Data exception, non-numeric SQL/JSON item +SQLSTATE.22037=Data exception, non-unique keys in a JSON object +SQLSTATE.22038=Data exception, singleton SQL/JSON item required +SQLSTATE.22039=Data exception, SQL/JSON array not found +SQLSTATE.2203A=Data exception, SQL/JSON member not found +SQLSTATE.2203B=Data exception, SQL/JSON number not found +SQLSTATE.2203C=Data exception, SQL/JSON object not found +SQLSTATE.2203D=Data exception, too many JSON array elements +SQLSTATE.2203E=Data exception, too many JSON object members +SQLSTATE.2203F=Data exception, SQL/JSON scalar required +SQLSTATE.2203G=Data exception, SQL/JSON item cannot be cast to target type +SQLSTATE.23000=Integrity constraint violation +SQLSTATE.23001=Integrity constraint violation, restrict violation +SQLSTATE.24000=Invalid cursor state +SQLSTATE.25000=Invalid transaction state +SQLSTATE.25001=Invalid transaction state, active SQL-transaction +SQLSTATE.25002=Invalid transaction state, branch transaction already active +SQLSTATE.25003=Invalid transaction state, inappropriate access mode for branch transaction +SQLSTATE.25004=Invalid transaction state, inappropriate isolation level for branch transaction +SQLSTATE.25005=Invalid transaction state, no active SQL-transaction for branch transaction +SQLSTATE.25006=Invalid transaction state, read-only SQL-transaction +SQLSTATE.25007=Invalid transaction state, schema and data statement mixing not supported +SQLSTATE.25008=Invalid transaction state, held cursor requires same isolation level +SQLSTATE.26000=Invalid SQL statement name +SQLSTATE.27000=Triggered data change violation +SQLSTATE.27001=Triggered data change violation, modify table modified by data change delta table +SQLSTATE.28000=Invalid authorization specification +SQLSTATE.2B000=Dependent privilege descriptors still exist +SQLSTATE.2C000=Invalid character set name +SQLSTATE.2D000=Invalid transaction termination +SQLSTATE.2E000=Invalid connection name +SQLSTATE.2F000=SQL routine exception +SQLSTATE.2F002=SQL routine exception, modifying SQL-data not permitted +SQLSTATE.2F003=SQL routine exception, prohibited SQL-statement attempted +SQLSTATE.2F004=SQL routine exception, reading SQL-data not permitted +SQLSTATE.2F005=SQL routine exception, function executed no return statement +SQLSTATE.2H000=Invalid collation name +SQLSTATE.30000=Invalid SQL statement identifier +SQLSTATE.33000=Invalid SQL descriptor name +SQLSTATE.34000=Invalid cursor name +SQLSTATE.35000=Invalid condition number +SQLSTATE.36000=Cursor sensitivity exception +SQLSTATE.36001=Cursor sensitivity exception, request rejected +SQLSTATE.36002=Cursor sensitivity exception, request failed +SQLSTATE.38000=External routine exception +SQLSTATE.38001=External routine exception, containing SQL not permitted +SQLSTATE.38002=External routine exception, modifying SQL-data not permitted +SQLSTATE.38003=External routine exception, prohibited SQL-statement attempted +SQLSTATE.38004=External routine exception, reading SQL-data not permitted +SQLSTATE.39000=External routine invocation exception +SQLSTATE.39004=External routine invocation exception, null value not allowed +SQLSTATE.3B000=Savepoint exception +SQLSTATE.3B001=Savepoint exception, invalid specification +SQLSTATE.3B002=Savepoint exception, too many +SQLSTATE.3C000=Ambiguous cursor name +SQLSTATE.3D000=Invalid catalog name +SQLSTATE.3F000=Invalid schema name +SQLSTATE.40000=Transaction rollback +SQLSTATE.40001=Transaction rollback, serialization failure +SQLSTATE.40002=Transaction rollback, integrity constraint violation +SQLSTATE.40003=Transaction rollback, statement completion unknown +SQLSTATE.40004=Transaction rollback, triggered action exception +SQLSTATE.42000=Syntax error or access rule violation +SQLSTATE.44000=With check option violation + +# Call-Level Interface (SQL/CLI) +SQLSTATE.45000=Unhandled user-defined exception +SQLSTATE.HY000=CLI-specific condition +SQLSTATE.HY001=CLI-specific condition, memory allocation error +SQLSTATE.HY003=CLI-specific condition, invalid data type in application descriptor +SQLSTATE.HY004=CLI-specific condition, invalid data type +SQLSTATE.HY007=CLI-specific condition, associated statement is not prepared +SQLSTATE.HY008=CLI-specific condition, operation cancelled +SQLSTATE.HY009=CLI-specific condition, invalid use of null pointer +SQLSTATE.HY010=CLI-specific condition, function sequence error +SQLSTATE.HY011=CLI-specific condition, attribute cannot be set now +SQLSTATE.HY012=CLI-specific condition, invalid transaction operation code +SQLSTATE.HY013=CLI-specific condition, memory management error +SQLSTATE.HY014=CLI-specific condition, limit on number of handles exceeded +SQLSTATE.HY017=CLI-specific condition, invalid use of automatically-allocated descriptor handle +SQLSTATE.HY018=CLI-specific condition, server declined the cancellation request +SQLSTATE.HY019=CLI-specific condition, non-string data cannot be sent in pieces +SQLSTATE.HY020=CLI-specific condition, attempt to concatenate a null value +SQLSTATE.HY021=CLI-specific condition, inconsistent descriptor information +SQLSTATE.HY022=CLI-specific condition, cannot modify an implementation row descriptor +SQLSTATE.HY024=CLI-specific condition, invalid attribute value +SQLSTATE.HY090=CLI-specific condition, invalid string length or buffer length +SQLSTATE.HY091=CLI-specific condition, invalid descriptor field identifier +SQLSTATE.HY092=CLI-specific condition, invalid attribute identifier +SQLSTATE.HY095=CLI-specific condition, invalid FunctionId specified +SQLSTATE.HY096=CLI-specific condition, invalid information type +SQLSTATE.HY097=CLI-specific condition, column type out of range +SQLSTATE.HY098=CLI-specific condition, scope out of range +SQLSTATE.HY099=CLI-specific condition, nullable type out of range +SQLSTATE.HY103=CLI-specific condition, invalid retrieval code +SQLSTATE.HY105=CLI-specific condition, invalid parameter mode +SQLSTATE.HY106=CLI-specific condition, invalid fetch orientation +SQLSTATE.HY107=CLI-specific condition, row value out of range +SQLSTATE.HY109=CLI-specific condition, invalid cursor position +SQLSTATE.HYC00=CLI-specific condition, optional feature not implemented +SQLSTATE.HYHHG=CLI-specific condition, dynamic parameter value needed +SQLSTATE.HYHHH=CLI-specific condition, invalid handle + +# +# MySQL implementation-defined SQLSTATE error messages (manually extracted from the Server source code). +# + +SQLSTATE.MYSQL.01S00=MySQL-defined, Invalid connection string attribute +SQLSTATE.MYSQL.01S01=MySQL-defined, Error in row +SQLSTATE.MYSQL.08S01=MySQL-defined, Communication link failure +SQLSTATE.MYSQL.0K000=MySQL-defined, RESIGNAL when handler not active +SQLSTATE.MYSQL.0Z002=MySQL-defined, GET STACKED DIAGNOSTICS when handler not active +SQLSTATE.MYSQL.20000=MySQL-defined, Case not found for CASE statement +SQLSTATE.MYSQL.21S01=MySQL-defined, Insert value list does not match column list +SQLSTATE.MYSQL.22S00=MySQL-defined, Generic spatial extension error +SQLSTATE.MYSQL.22S01=MySQL-defined, Invalid or unexpected geometry data +SQLSTATE.MYSQL.22S02=MySQL-defined, Geometry longitude out of range +SQLSTATE.MYSQL.22S03=MySQL-defined, Geometry latitude out of range +SQLSTATE.MYSQL.22S04=MySQL-defined, Polygon ring is in the wrong direction +SQLSTATE.MYSQL.22S05=MySQL-defined, Geometries with different SRIDs +SQLSTATE.MYSQL.42S01=MySQL-defined, Table already exists +SQLSTATE.MYSQL.42S02=MySQL-defined, Base table or view not found +SQLSTATE.MYSQL.42S12=MySQL-defined, Table has no index +SQLSTATE.MYSQL.42S21=MySQL-defined, Duplicate column name +SQLSTATE.MYSQL.42S22=MySQL-defined, Unknown column name +SQLSTATE.MYSQL.42Y07=MySQL-defined, Database does not exist +SQLSTATE.MYSQL.70100=MySQL-defined, Query execution was interrupted +SQLSTATE.MYSQL.SR000=MySQL-defined, SRID 0 is not modifiable +SQLSTATE.MYSQL.SR001=MySQL-defined, SRID undefined +SQLSTATE.MYSQL.SR002=MySQL-defined, Invalid value +SQLSTATE.MYSQL.SR003=MySQL-defined, Projection parameter missing +SQLSTATE.MYSQL.SR004=MySQL-defined, SRID already exists +SQLSTATE.MYSQL.SR005=MySQL-defined, Cannot modify SRID used in a column +SQLSTATE.MYSQL.SR006=MySQL-defined, Invalid attribute value +SQLSTATE.MYSQL.SU001=MySQL-defined, Unknown unit +SQLSTATE.MYSQL.XA100=MySQL-defined, Transaction branch was rolled back +SQLSTATE.MYSQL.XA102=MySQL-defined, Transaction rollback, deadlock was detected +SQLSTATE.MYSQL.XA106=MySQL-defined, Transaction rollback, took too long +SQLSTATE.MYSQL.XAE03=MySQL-defined, Fatal error occurred in the transaction branch +SQLSTATE.MYSQL.XAE04=MySQL-defined, Unknown XID +SQLSTATE.MYSQL.XAE05=MySQL-defined, Invalid arguments +SQLSTATE.MYSQL.XAE07=MySQL-defined, The command cannot be executed in current transaction state +SQLSTATE.MYSQL.XAE08=MySQL-defined, The XID already exists +SQLSTATE.MYSQL.XAE09=MySQL-defined, Some work is done outside global transaction +SQLSTATE.MYSQL.XX999=MySQL-defined, Parser error + +# +# Connector/J implementation-defined error messages (added manually). +# + +SQLSTATE.CONNJ.S1000=General error +SQLSTATE.CONNJ.S1002=Invalid column number +SQLSTATE.CONNJ.S1009=Invalid argument value +SQLSTATE.CONNJ.S1C00=Driver not capable + +# +# Log messages +# + +QueryAttributes.SetButNotSupported=Query attributes have been set but the server does not support them. + +# +# ConnectionProperty Categories +# + +ConnectionProperties.categoryAuthentication=Authentication +ConnectionProperties.categoryConnection=Connection +ConnectionProperties.categorySession=Session +ConnectionProperties.categoryNetworking=Networking +ConnectionProperties.categorySecurity=Security +ConnectionProperties.categoryStatements=Statements +ConnectionProperties.categoryPreparedStatements=Prepared Statements +ConnectionProperties.categoryResultSets=Result Sets +ConnectionProperties.categoryMetadata=Metadata +ConnectionProperties.categoryBlobs=BLOB/CLOB processing +ConnectionProperties.categoryDatetimes=Datetime types processing +ConnectionProperties.categoryHA=High Availability and Clustering +ConnectionProperties.categoryPerformance=Performance Extensions +ConnectionProperties.categoryDebuggingProfiling=Debugging/Profiling +ConnectionProperties.categoryExceptions=Exceptions/Warnings +ConnectionProperties.categoryIntegration=Tunes for integration with other products +ConnectionProperties.categoryJDBC=JDBC compliance +ConnectionProperties.categoryXDevAPI=X Protocol and X DevAPI +ConnectionProperties.categoryUserDefined=User-defined properties + +# +# ConnectionProperty Descriptions +# + +ConnectionProperties.allowMultiQueries=Allow the use of ";" to delimit multiple queries during one statement. This option does not affect the ''addBatch()'' and ''executeBatch()'' methods, which rely on ''rewriteBatchedStatements'' instead. +ConnectionProperties.allowNANandINF=Should the driver allow NaN or +/- INF values in ''PreparedStatement.setDouble()''? +ConnectionProperties.allowPublicKeyRetrieval=Allows special handshake round-trip to get an RSA public key directly from server. +ConnectionProperties.allowReplicaDownConnections=By default, a replication-aware connection will fail to connect when configured replica hosts are all unavailable at initial connection. Setting this property to "true" allows to establish the initial connection. It won''t prevent failures when switching to replicas i.e. by setting the replication connection to read-only state. The property ''readFromSourceWhenNoReplicas'' should be used for this purpose. +ConnectionProperties.allowSourceDownConnections=By default, a replication-aware connection will fail to connect when configured source hosts are all unavailable at initial connection. Setting this property to "true" allows to establish the initial connection, by failing over to the replica servers, in read-only state. It won''t prevent subsequent failures when switching back to the source hosts i.e. by setting the replication connection to read/write state. +ConnectionProperties.allowUrlInLoadLocal=Should the driver allow local file URLs in "LOAD DATA LOCAL INFILE ..." statements? Only file: URLs are accepted, and they do not bypass the path restrictions defined by ''allowLoadLocalInfileInPath''. +ConnectionProperties.alwaysSendSetIsolation=Should the driver always communicate with the database when ''Connection.setTransactionIsolation()'' is called? If set to "false", the driver will only communicate with the database when the requested transaction isolation is different than the whichever is newer, the last value that was set via ''Connection.setTransactionIsolation()'', or the value that was read from the server when the connection was established. Note that "useLocalSessionState=true" will force the same behavior as "alwaysSendSetIsolation=false", regardless of how ''alwaysSendSetIsolation'' is set. +ConnectionProperties.authenticationOpenidConnectCallbackHandler=A fully-qualified class name of a class that implements the ''com.mysql.cj.callback.MysqlCallbackHandler'' interface. This class will be utilized by the OpenID Connect authentication plugin to retrieve the Identity Token, a JSON document representing the result of an authentication process, which will then be sent to the MySQL Server for further validation. For more details, refer to the documentation for ''com.mysql.cj.callback.OpenidConnectAuthenticationCallback''. The default implementation of this handler supports reading the Identity Token from a file on the file system, for which the additional connection property ''idTokenFile'' must be used to specify the absolute path to the file. +ConnectionProperties.authenticationPlugins=Comma-delimited list of classes that implement the interface ''com.mysql.cj.protocol.AuthenticationPlugin''. These plugins will be loaded at connection initialization and can be used together with their sever-side counterparts for authenticating users, unless they are disabled in the connection property ''disabledAuthenticationPlugins''. +ConnectionProperties.authenticationWebAuthnCallbackHandler=A fully-qualified class name of a class that implements the ''com.mysql.cj.callback.MysqlCallbackHandler'' interface. This class will be utilized by the WebAuthn authentication plugin to retrieve the authenticator data and signature required for the WebAuthn authentication process. For more details, refer to the documentation for ''com.mysql.cj.callback.WebAuthnAuthenticationCallback'. +ConnectionProperties.autoClosePstmtStreams=Should the driver automatically call the method ''close()'' on streams/readers passed as arguments via ''set*()'' methods? +ConnectionProperties.autoGenerateTestcaseScript=Should the driver dump the SQL it is executing, including server-side prepared statements to STDERR? +ConnectionProperties.autoReconnect=Should the driver try to re-establish stale and/or dead connections? If enabled the driver will throw an exception for queries issued on a stale or dead connection, which belong to the current transaction, but will attempt reconnect before the next query issued on the connection in a new transaction. The use of this feature is not recommended, because it has side effects related to session state and data consistency when applications don''t handle SQLExceptions properly, and is only designed to be used when you are unable to configure your application to handle SQLExceptions resulting from dead and stale connections properly. Alternatively, as a last option, investigate setting the MySQL server variable ''wait_timeout'' to a high value, rather than the default of 8 hours. +ConnectionProperties.autoReconnectForPools=Use a reconnection strategy appropriate for connection pools? +ConnectionProperties.autoSlowLog=Instead of using ''slowQueryThreshold*'' to determine if a query is slow enough to be logged, maintain statistics that allow the driver to determine queries that are outside the 99th percentile? +ConnectionProperties.blobsAreStrings=Should the driver always treat BLOBs as Strings - specifically to work around dubious metadata returned by the server for GROUP BY clauses? +ConnectionProperties.blobSendChunkSize=Chunk size to use sending BLOBs or CLOBs via server-prepared statements. This value must not exceed ''maxAllowedPacket''; if it does, it will be adjusted automatically. +ConnectionProperties.cacheCallableStatements=Should the driver cache the parsing stage of CallableStatements? +ConnectionProperties.cacheDefaultTimeZone=Caches client''s default time zone. This results in better performance when dealing with time zone conversions in Date and Time data types, however it won''t be aware of time zone changes if they happen at runtime. +ConnectionProperties.cachePrepStmts=Should the driver cache the parsing stage of PreparedStatements of client-side prepared statements, the "check" for suitability of server-side prepared and server-side prepared statements themselves? +ConnectionProperties.cacheRSMetadata=Should the driver cache ''ResultSetMetaData'' for statements and prepared statements? +ConnectionProperties.cacheServerConfiguration=Should the driver cache the results of "SHOW VARIABLES" and "SHOW COLLATION" on a per-URL basis? +ConnectionProperties.callableStmtCacheSize=If ''cacheCallableStmts'' is enabled, how many callable statements should be cached? +ConnectionProperties.characterEncoding=Instructs the server to set session system variables ''character_set_client'' and ''character_set_connection'' to the default character set supported by MySQL for the specified Java character encoding and set ''collation_connection'' to the default collation for this character set. If neither this property nor the property ''connectionCollation'' is set:[CR]For Connector/J 8.0.25 and earlier, the driver will try to use the server''s default character set;[CR]For Connector/J 8.0.26 and later, the driver will use "utf8mb4". +ConnectionProperties.characterSetResults=Instructs the server to return the data encoded with the default character set for the specified Java encoding. If not set or set to "null", the server will send data in its original character set and the driver will decode it according to the result metadata. +ConnectionProperties.clientCertificateKeyStorePassword=Password for the client certificates key store. +ConnectionProperties.clientCertificateKeyStoreType=Key store type for client certificates.[CR]Null or empty means use the default, which is "JKS". Standard key store types supported by the JVM are "JKS" and "PKCS12", your environment may have more available depending on what security providers are installed and available to the JVM. +ConnectionProperties.clientCertificateKeyStoreUrl=Local file path or file URL for the client certificate KeyStore.[CR]If not specified, the property ''fallbackToSystemKeyStore'' determines if system-wide key store is used. +ConnectionProperties.clientInfoProvider=The name of a class that implements the ''com.mysql.cj.jdbc.ClientInfoProvider'' interface in order to support JDBC-4.0''s ''Connection.get/setClientInfo()'' methods. +ConnectionProperties.clobberStreamingResults=This will cause a streaming result set to be automatically closed, and any outstanding data still streaming from the server to be discarded if another query is executed before all the data has been read from the server. +ConnectionProperties.clobCharacterEncoding=The character encoding to use for sending and retrieving TEXT, MEDIUMTEXT and LONGTEXT values instead of the configured connection ''characterEncoding''. +ConnectionProperties.compensateOnDuplicateKeyUpdateCounts=Should the driver compensate for the update counts of "INSERT ... ON DUPLICATE KEY UPDATE" statements (2 = 1, 0 = 1) when using prepared statements? +ConnectionProperties.connectionAttributes=A comma-delimited list of user-defined "key:value" pairs, in addition to standard MySQL-defined "key:value" pairs, to be passed to MySQL Server for display as connection attributes in the ''PERFORMANCE_SCHEMA'' tables ''session_account_connect_attrs'' and ''session_connect_attrs''. Example usage: "connectionAttributes=key1:value1,key2:value2" This functionality is available for use with MySQL Server version 5.6 or later only. Earlier versions of MySQL Server do not support connection attributes, causing this configuration option to be ignored. Setting "connectionAttributes=none" will cause connection attribute processing to be bypassed for situations where Connection creation/initialization speed is critical. +ConnectionProperties.connectionCollation=Instructs the server to set session system variable ''collation_connection'' to the specified collation name and set ''character_set_client'' and ''character_set_connection'' to a corresponding character set. This property overrides the value of ''characterEncoding'' with the default character set this collation belongs to, if and only if ''characterEncoding'' is not configured or is configured with a character set that is incompatible with the collation. That means ''connectionCollation'' may not always correct a mismatch of character sets. For example, if ''connectionCollation'' is set to "latin1_swedish_ci", the corresponding character set is "latin1" for MySQL, which maps it to the Java character set "windows-1252"; so if ''characterEncoding'' is not set,"windows-1252" is the character set that will be used; but if ''characterEncoding'' has been set to, e.g. "ISO-8859-1", that is compatible with "latin1_swedish_ci", so the character encoding setting is left unchanged; and if client is actually using "windows-1252" (which is similar but different from "ISO-8859-1"), errors would occur for some characters. If neither this property nor the property ''characterEncoding'' is set:[CR]For Connector/J 8.0.25 and earlier, the driver will try to use the server''s default character set;[CR]For Connector/J 8.0.26 and later, the driver will use utf8mb4''s default collation. +ConnectionProperties.connectionLifecycleInterceptors=A comma-delimited list of classes that implement ''com.mysql.cj.jdbc.interceptors.ConnectionLifecycleInterceptor'' that should be notified of connection lifecycle events (creation, destruction, commit, rollback, setting the current database and changing the autocommit mode) and potentially alter the execution of these commands. ''ConnectionLifecycleInterceptors'' are stackable, more than one interceptor may be specified via the configuration property as a comma-delimited list, with the interceptors executed in order from left to right. +ConnectionProperties.connectionPropertiesTransform=An implementation of ''com.mysql.cj.conf.ConnectionPropertiesTransform'' that the driver will use to modify connection string properties passed to the driver before attempting a connection. +ConnectionProperties.connectionTimeZone=Configures the connection time zone which is used by Connector/J if conversion between the JVM default and a target time zone is needed when preserving instant temporal values.[CR]Accepts a geographic time zone name or a time zone offset from Greenwich/UTC, using a syntax ''java.time.ZoneId'' is able to parse, or one of the two logical values "LOCAL" and "SERVER". Default is "LOCAL". If set to an explicit time zone then it must be one that either the JVM or both the JVM and MySQL support. If set to "LOCAL" then the driver assumes that the connection time zone is the same as the JVM default time zone. If set to "SERVER" then the driver attempts to detect the session time zone from the values configured on the MySQL server session variables ''time_zone'' or ''system_time_zone''. The time zone detection and subsequent mapping to a Java time zone may fail due to several reasons, mostly because of time zone abbreviations being used, in which case an explicit time zone must be set or a different time zone must be configured on the server.[CR]This option itself does not set MySQL server session variable ''time_zone'' to the given value. To do that the ''forceConnectionTimeZoneToSession'' connection option must be set to "true".[CR]Please note that setting a value to ''connectionTimeZone'' in conjunction with "forceConnectionTimeZoneToSession=false" and "preserveInstants=false" has no effect since, in this case, neither this option is used to change the session time zone nor used for time zone conversions of time-based data.[CR]Former connection option ''serverTimezone'' is still valid as an alias of this one but may be deprecated in the future.[CR]See also ''forceConnectionTimeZoneToSession'' and ''preserveInstants'' for more details. +ConnectionProperties.connectTimeout=Timeout for socket connect (in milliseconds), with 0 being no timeout. +ConnectionProperties.continueBatchOnError=Should the driver continue processing batch commands if one statement fails. The JDBC spec allows either way. +ConnectionProperties.createDatabaseIfNotExist=Creates the database given in the URL if it doesn''t yet exist. Assumes the configured user has permissions to create databases. +ConnectionProperties.customCharsetMapping=A comma-delimited list of custom "charset:java encoding" pairs.[CR]In case the MySQL server is configured with custom character sets and "detectCustomCollations=true", Connector/J needs to know which Java character encoding to use for the data represented by these character sets. Example usage: "customCharsetMapping=charset1:UTF-8,charset2:Cp1252". +ConnectionProperties.databaseTerm=MySQL uses the term "schema" as a synonym of the term "database," while Connector/J historically takes the JDBC term "catalog" as synonymous to "database". This property sets for Connector/J which of the JDBC terms "catalog" and "schema" is used in an application to refer to a database. The property takes one of the two values "CATALOG" or "SCHEMA" and uses it to determine (1) which Connection methods can be used to set/get the current database (e.g. ''setCatalog()'' or ''setSchema()''?), (2) which arguments can be used within the various ''DatabaseMetaData'' methods to filter results (e.g. the catalog or ''schemaPattern'' argument of ''getColumns()''?), and (3) which fields in the result sets returned by ''DatabaseMetaData'' methods contain the database identification information (i.e., the ''TABLE_CAT'' or ''TABLE_SCHEM'' field in the result set returned by ''getTables()''?).[CR]If "databaseTerm=CATALOG", ''schemaPattern'' for searches are ignored and calls of schema methods (like ''setSchema()'' or get ''Schema()'') become no-ops, and vice versa. +ConnectionProperties.defaultAuthenticationPlugin=The default authentication plugin client-side protocol name or a fully qualified name of a class that implements the interface ''com.mysql.cj.protocol.AuthenticationPlugin''. The specified authentication plugin must be either one of the built-in authentication plugins or one of the plugins listed in the property ''authenticationPlugins''. Additionally, the default authentication plugin cannot be disabled with the property ''disabledAuthenticationPlugins''. Neither an empty nor unknown plugin name or class can be set for this property.[CR]By default, Connector/J honors the server-side default authentication plugin, which is known after receiving the initial handshake packet, and falls back to this property''s default value if that plugin cannot be used. However, when a value is explicitly provided to this property, Connector/J then overrides the server-side default authentication plugin and always tries first the plugin specified with this property. +ConnectionProperties.defaultFetchSize=The driver will call ''setFetchSize(n)'' with this value on all newly-created statements. +ConnectionProperties.detectCustomCollations=Should the driver detect custom charsets/collations installed on server? If this option set to "true" the driver gets actual charsets/collations from the server each time a connection establishes. This could slow down connection initialization significantly. +ConnectionProperties.disabledAuthenticationPlugins=Comma-delimited list of authentication plugins client-side protocol names or classes implementing the interface ''com.mysql.cj.protocol.AuthenticationPlugin''. The authentication plugins listed will not be used for authenticating users and, if anyone of them is required during the authentication exchange, the connection fails. The default authentication plugin specified in the property ''defaultAuthenticationPlugin'' cannot be disabled. +ConnectionProperties.disconnectOnExpiredPasswords=If ''disconnectOnExpiredPasswords'' is set to "false" and password is expired then server enters sandbox mode and sends ''ERR(08001, ER_MUST_CHANGE_PASSWORD)'' for all commands that are not needed to set a new password until a new password is set. +ConnectionProperties.dnsSrv=Should the driver use the given host name to lookup for DNS SRV records and use the resulting list of hosts in a multi-host failover connection? Note that a single host name and no port must be provided when this option is enabled. +ConnectionProperties.dontCheckOnDuplicateKeyUpdateInSQL=Stops checking if every INSERT statement contains the "ON DUPLICATE KEY UPDATE" clause. As a side effect, obtaining the statement''s generated keys information will return a list where normally it would not. Also be aware that, in this case, the list of generated keys returned may not be accurate. The effect of this property is canceled if set simultaneously with "rewriteBatchedStatements=true". +ConnectionProperties.dontTrackOpenResources=The JDBC specification requires the driver to automatically track and close resources, however if your application doesn''t do a good job of explicitly calling ''close()'' on statements or result sets this can cause memory leakage. Setting this property to "true" relaxes this constraint, and can be more memory efficient for some applications. Also the automatic closing of the statement and current result set in ''Statement.closeOnCompletion()'' and ''Statement.getMoreResults([Statement.CLOSE_CURRENT_RESULT | Statement.CLOSE_ALL_RESULTS])'', respectively, ceases to happen. This property automatically sets "holdResultsOpenOverStatementClose=true". +ConnectionProperties.dumpQueriesOnException=Should the driver dump the contents of the query sent to the server in the message for SQLExceptions? +ConnectionProperties.elideSetAutoCommit=Should the driver only issue ''set autocommit=n'' queries when the server''s state doesn''t match the requested state by ''Connection.setAutoCommit(boolean)''? +ConnectionProperties.emptyStringsConvertToZero=Should the driver allow conversions from empty string fields to numeric values of "0"? +ConnectionProperties.emulateLocators=Should the driver emulate ''java.sql.Blob'' with locators? With this feature enabled, the driver will delay loading the actual Blob data until the one of the retrieval methods (''getInputStream()'', ''getBytes()'', and so forth) on the blob data stream has been accessed. For this to work, you must use a column alias with the value of the column to the actual name of the Blob. The feature also has the following restrictions: The SELECT that created the result set must reference only one table, the table must have a primary key; the SELECT must alias the original blob column name, specified as a string, to an alternate name; the SELECT must cover all columns that make up the primary key. +ConnectionProperties.emulateUnsupportedPstmts=Should the driver detect prepared statements that are not supported by the server, and replace them with client-side emulated versions? +ConnectionProperties.enableEscapeProcessing=Sets the default escape processing behavior for Statement objects. The method ''Statement.setEscapeProcessing()'' can be used to specify the escape processing behavior for an individual statement object. Default escape processing behavior in prepared statements must be defined with the property ''processEscapeCodesForPrepStmts''. +ConnectionProperties.enablePacketDebug=When enabled, a ring-buffer of ''packetDebugBufferSize'' packets will be kept, and dumped when exceptions are thrown in key areas in the driver''s code. +ConnectionProperties.enableQueryTimeouts=When enabled, query timeouts set via ''Statement.setQueryTimeout()'' use a shared ''java.util.Timer'' instance for scheduling. Even if the timeout doesn''t expire before the query is processed, there will be memory used by the ''TimerTask'' for the given timeout which won''t be reclaimed until the time the timeout would have expired if it hadn''t been cancelled by the driver. High-load environments might want to consider disabling this functionality. +ConnectionProperties.exceptionInterceptors=Comma-delimited list of classes that implement the interface ''com.mysql.cj.exceptions.ExceptionInterceptor''. These classes will be instantiated one per ''Connection'' instance, and all ''SQLException'' exceptions thrown by the driver will be allowed to be intercepted by these interceptors, in a chained fashion, with the first class listed as the head of the chain. +ConnectionProperties.explainSlowQueries=If ''logSlowQueries'' is enabled, should the driver automatically issue an ''EXPLAIN'' on the server and send the results to the configured logger at a WARN level? +ConnectionProperties.failoverReadOnly=When failing over in ''autoReconnect'' mode, should the connection be set to ''read-only''? +ConnectionProperties.fallbackToSystemKeyStore=Whether the absence of setting a value for ''clientCertificateKeyStoreUrl'' falls back to using the system-wide key store defined through the system properties ''javax.net.ssl.keyStore*''. +ConnectionProperties.fallbackToSystemTrustStore=Whether the absence of setting a value for ''trustCertificateKeyStoreUrl'' falls back to using the system-wide default trust store or one defined through the system properties ''javax.net.ssl.trustStore*''. +ConnectionProperties.fipsCompliantJsse=Enables Connector/J to be compatible to JSSE operating in FIPS mode. Should be set to "true" if the JSSE is configured to operate in FIPS mode and Connector/J receives the error "FIPS mode: only SunJSSE TrustManagers may be used" when creating secure connections. If set to "true" then, when establishing secure connections, the driver operates as if the ''sslMode'' was set to "VERIFY_CA" or "VERIFY_IDENTITY", i.e., all secure connections require at least server certificate validation, for which a trust store must be configured or fall back to the system-wide trust store must be enabled. +ConnectionProperties.forceConnectionTimeZoneToSession=If enabled, sets the time zone value determined by ''connectionTimeZone'' connection property to the current server session ''time_zone'' variable. If the time zone value is given as a geographical time zone, then Connector/J sets this value as-is in the server session, in which case the time zone system tables must be populated beforehand (consult the MySQL Server documentation for further details); but, if the value is given as an offset from Greenwich/UTC in any of the supported syntaxes, then the server session time zone is set as a numeric offset from UTC.[CR]With that no intermediate conversion between JVM default time zone and connection time zone is needed to store correct milliseconds value of instant Java objects such as ''java.sql.Timestamp'' or ''java.time.OffsetDateTime'' when stored in TIMESTAMP columns.[CR]Note that it also affects the result of MySQL functions such as ''NOW()'', ''CURTIME()'' or ''CURDATE()''.[CR]This option has no effect if used in conjunction with "connectionTimeZone=SERVER" since, in this case, the session is already set with the required time zone.[CR]See also ''connectionTimeZone'' and ''preserveInstants'' for more details. +ConnectionProperties.functionsNeverReturnBlobs=Should the driver always treat data from functions returning BLOBs as Strings - specifically to work around dubious metadata returned by the server for "GROUP BY" clauses? +ConnectionProperties.gatherPerfMetrics=Should the driver gather performance metrics, and report them via the configured logger every ''reportMetricsIntervalMillis'' milliseconds? +ConnectionProperties.generateSimpleParameterMetadata=Should the driver generate simplified parameter metadata for prepared statements when no metadata is available either because the server couldn''t support preparing the statement, or server-side prepared statements are disabled? +ConnectionProperties.getProceduresReturnsFunctions=Pre-JDBC4 ''DatabaseMetaData'' API has only the ''getProcedures()'' and ''getProcedureColumns()'' methods, so they return metadata info for both stored procedures and functions. JDBC4 was extended with the ''getFunctions()'' and ''getFunctionColumns()'' methods and the expected behaviours of previous methods are not well defined. For JDBC4 and higher, default "true" value of the option means that calls of ''DatabaseMetaData.getProcedures()'' and ''DatabaseMetaData.getProcedureColumns()'' return metadata for both procedures and functions as before, keeping backward compatibility. Setting this property to "false" decouples Connector/J from its pre-JDBC4 behaviours for ''DatabaseMetaData.getProcedures()'' and ''DatabaseMetaData.getProcedureColumns()'', forcing them to return metadata for procedures only. +ConnectionProperties.keyManagerFactoryProvider=The name of the a Java Security Provider that provides a ''javax.net.ssl.KeyManagerFactory'' implementation. If none is specified then the default one is used. +ConnectionProperties.keyStoreProvider=The name of the a Java Security Provider that provides a ''java.security.KeyStore'' implementation that supports the key stores types specified with ''clientCertificateKeyStoreType'' and ''trustCertificateKeyStoreType''. If none is specified then the default one is used. +ConnectionProperties.ha.enableJMX=Enables JMX-based management of load-balanced connection groups, including live addition/removal of hosts from load-balancing pool. Enables JMX-based management of replication connection groups, including live replica promotion, addition of new replicas and removal of source or replica hosts from load-balanced source and replica connection pools. +ConnectionProperties.holdRSOpenOverStmtClose=Should the driver close result sets on ''Statement.close()'' as required by the JDBC specification? +ConnectionProperties.ignoreNonTxTables=Ignore non-transactional table warning for rollback? +ConnectionProperties.includeInnodbStatusInDeadlockExceptions=Include the output of "SHOW ENGINE INNODB STATUS" in exception messages when deadlock exceptions are detected? +ConnectionProperties.includeThreadDumpInDeadlockExceptions=Include current Java thread dump in exception messages when deadlock exceptions are detected? +ConnectionProperties.includeThreadNamesAsStatementComment=Include the name of the current thread as a comment visible in "SHOW PROCESSLIST", or in Innodb deadlock dumps, useful in correlation with "includeInnodbStatusInDeadlockExceptions=true" and "includeThreadDumpInDeadlockExceptions=true". +ConnectionProperties.initialTimeout=If ''autoReconnect'' is enabled, the initial time to wait between re-connect attempts (in seconds, defaults to "2"). +ConnectionProperties.interactiveClient=Set the ''CLIENT_INTERACTIVE'' flag, which tells MySQL to timeout connections based on ''interactive_timeout'' instead of ''wait_timeout''. +ConnectionProperties.jdbcCompliantTruncation=Should the driver throw ''java.sql.DataTruncation'' exceptions when data is truncated as is required by the JDBC specification? This property has no effect if the server sql-mode includes ''STRICT_TRANS_TABLES''. +ConnectionProperties.largeRowSizeThreshold=What size result set row should the JDBC driver consider large, and thus use a more memory-efficient way of representing the row internally? +ConnectionProperties.ldapServerHostname=When using MySQL''s LDAP pluggable authentication with GSSAPI/Kerberos authentication method, allows setting the LDAP service principal hostname as configured in the Kerberos KDC. If this property is not set, Connector/J takes the system property ''java.security.krb5.kdc'' and extracts the hostname (short name) from its value and uses it. If neither is set, the connection fails with an exception. +ConnectionProperties.loadBalanceAutoCommitStatementRegex=When load-balancing is enabled for auto-commit statements (via ''loadBalanceAutoCommitStatementThreshold''), the statement counter will only increment when the SQL matches the regular expression. By default, every statement issued matches. +ConnectionProperties.loadBalanceAutoCommitStatementThreshold=When auto-commit is enabled, the number of statements which should be executed before triggering load-balancing to rebalance. Default value of "0" causes load-balanced connections to only rebalance when exceptions are encountered, or auto-commit is disabled and transactions are explicitly committed or rolled back. +ConnectionProperties.loadBalanceBlocklistTimeout=Time in milliseconds between checks of servers which are unavailable, by controlling how long a server lives in the global blocklist. +ConnectionProperties.loadBalanceConnectionGroup=Logical group of load-balanced connections within a class loader, used to manage different groups independently. If not specified, live management of load-balanced connections is disabled. This option cannot be set on a replication-aware connection. +ConnectionProperties.loadBalanceExceptionChecker=Fully-qualified class name of custom exception checker. The class must implement ''com.mysql.cj.jdbc.ha.LoadBalanceExceptionChecker'' interface, and is used to inspect ''SQLException'' exceptions and determine whether they should trigger fail-over to another host in a load-balanced deployment. +ConnectionProperties.loadBalanceHostRemovalGracePeriod=Sets the grace period to wait for a host being removed from a load-balanced connection, to be released when it is currently the active host. +ConnectionProperties.loadBalancePingTimeout=Time in milliseconds to wait for ping responses from each of load-balanced physical connections when using a load-balanced connection. +ConnectionProperties.loadBalanceSQLExceptionSubclassFailover=Comma-delimited list of classes/interfaces used by default load-balanced exception checker to determine whether a given ''SQLException'' should trigger a failover. The comparison is done using ''Class.isInstance(SQLException)'' using the ''SQLException'' thrown. +ConnectionProperties.loadBalanceSQLStateFailover=Comma-delimited list of ''SQLState'' codes used by the default load-balanced exception checker to determine whether a given ''SQLException'' should trigger a failover. The ''SQLState'' of a given ''SQLException'' is evaluated to determine whether it begins with any of the values specified in the comma-delimited list. +ConnectionProperties.loadBalanceStrategy=If using a load-balanced connection to connect to MySQL servers in a MySQL Cluster configuration (using the URL prefix "jdbc:mysql:loadbalance://"), which load balancing algorithm should the driver use? (1) "random" - The driver picks a random host for each request. This generally works better than sequential, as the randomness helps distribute the load more evenly, especially when requests vary in response time. Sequential load balancing can sometimes lead to overloaded nodes if response times are inconsistent. (2) "sequential" - The driver selects the first host at random, then cycles through the remaining hosts in the order they appear in the connection URL. Each new request is sent to the next host in sequence, wrapping around to the beginning after reaching the end of the list. This method assumes relatively consistent server performance and network conditions but may lead to imbalanced load distribution if there are significant differences in server responsiveness. (3) "bestResponseTime" - The driver routes each request to the host that had the best response time for the previous transaction. This strategy dynamically adapts to server performance and may help avoid slower nodes. (4) "serverAffinity" - The driver tries to maintain affinity to a preferred server (or servers), as specified in the ''serverAffinityOrder'' property, while still leveraging the load balancer''s fault tolerance. If none of the preferred servers are available, the driver falls back to the "random" strategy to continue processing requests. +ConnectionProperties.loadBalanceValidateConnectionOnSwapServer=Should the load-balanced connection explicitly check whether the connection is live when swapping to a new physical connection at commit/rollback? +ConnectionProperties.loadDataLocal=Should the driver allow use of "LOAD DATA LOCAL INFILE ..."?[CR]Setting to "true" allows uploading files from any location unless ''allowLoadLocalInfileInPath'' is also set. +ConnectionProperties.loadDataLocalInPath=Enables "LOAD DATA LOCAL INFILE ..." statements, but only allows loading files from the specified path. Files within sub-directories are also allowed, but relative paths or symlinks that fall outside this path are forbidden. +ConnectionProperties.localSocketAddress=Hostname or IP address given to explicitly configure the interface that the driver will bind the client side of the TCP/IP connection to when connecting. +ConnectionProperties.locatorFetchBufferSize=If ''emulateLocators'' is configured to "true", what size buffer should be used when fetching BLOB data for ''getBinaryInputStream()''? +ConnectionProperties.logger=The name of a class that implements ''{0}'' that will be used to log messages to. (default is ''{1}'', which logs to STDERR). +ConnectionProperties.logSlowQueries=Should queries that take longer than ''slowQueryThresholdMillis'' or detected by the ''autoSlowLog'' monitoring be reported to the registered ''profilerEventHandler''? +ConnectionProperties.logXaCommands=Should the driver log XA commands sent by ''MysqlXaConnection'' to the server, at the DEBUG level of logging? +ConnectionProperties.maintainTimeStats=Should the driver maintain various internal timers to enable idle time calculations as well as more verbose error messages when the connection to the server fails? Setting this property to false removes at least two calls to ''System.getCurrentTimeMillis()'' per query. +ConnectionProperties.maxAllowedPacket=Maximum allowed packet size to send to server. If not set, the value of system variable ''max_allowed_packet'' will be used to initialize this upon connecting. This value will not take effect if set larger than the value of ''max_allowed_packet''. +ConnectionProperties.maxByteArrayAsHex=Maximum size for a byte array parameter in a prepared statement that is converted to a hexadecimal literal when interpolated by ''JdbcPreparedStatement.toString()''. Any byte arrays larger than this value are interpolated generically as "** BYTE ARRAY DATA **". +ConnectionProperties.maxQuerySizeToLog=Controls the maximum length of the part of a query that will get logged when profiling or tracing. +ConnectionProperties.maxReconnects=Maximum number of reconnects to attempt if ''autoReconnect'' is "true". +ConnectionProperties.maxRows=The maximum number of rows to return. The default "0" means return all rows. +ConnectionProperties.metadataCacheSize=The number of queries to cache ''ResultSetMetadata'' for if ''cacheResultSetMetaData'' is set to "true". +ConnectionProperties.netTimeoutForStreamingResults=What value should the driver automatically set the server setting ''net_write_timeout'' to when the streaming result sets feature is in use? Value has unit of seconds, the value "0" means the driver will not try and adjust this value. +ConnectionProperties.noAccessToProcedureBodies=When determining procedure parameter types for ''CallableStatement'', and the connected user can''t access procedure bodies through "SHOW CREATE PROCEDURE" should the driver instead create basic metadata, with all parameters reported as INOUT VARCHARs, instead of throwing an exception? +ConnectionProperties.noDatetimeStringSync=Don''t ensure that ''ResultSet.getTimestamp().toString().equals(ResultSet.getString())''. +ConnectionProperties.nullCatalogMeansCurrent=In ''DatabaseMetaData'' methods that take a ''catalog'' or ''schema'' parameter, does the value "null" mean to use the current database? See also the property ''databaseTerm''. +ConnectionProperties.ociConfigFile=The location of the OCI configuration file as required by the OCI SDK for Java. Default value is "~/.oci/config" for Unix-like systems and "%HOMEDRIVE%%HOMEPATH%.oci\\config" for Windows. +ConnectionProperties.ociConfigProfile=The profile in the OCI configuration file specified in ''ociConfigFile'', from where the configuration to use in the ''authentication_oci_client'' authentication plugin is to be read. +ConnectionProperties.openTelemetry=Should the driver generate OpenTelemetry traces and handle context propagation to the MySQL Server? This option accepts the values "REQUIRED", "PREFERRED", and "DISABLED". If set to "REQUIRED", an OpenTelemetry library must be available at run time, or connections to the MySQL Server will fail. Setting it to "DISABLED" turns off generating OpenTelemetry instrumentation by Connector/J. Setting it to "PREFERRED" enables generating OpenTelemetry instrumentation provided that an OpenTelemetry library is available at run time, and a warning is issued otherwise. Not setting a value for the property is equivalent to setting it as "PREFERRED", but no warning is issued when no OpenTelmetry library is available at run time. Connector/J relies entirely on the OpenTelemetry exporters configured in the calling application and does not provide any means of configuring its own exporters. +ConnectionProperties.overrideSupportsIEF=Should the driver return "true" for ''DatabaseMetaData.supportsIntegrityEnhancementFacility()'' even if the database doesn''t support it to workaround applications that require this method to return "true" to signal support of foreign keys, even though the SQL specification states that this facility contains much more than just foreign key support (one such application being OpenOffice)? +ConnectionProperties.packetDebugBufferSize=The maximum number of packets to retain when ''enablePacketDebug'' is "true". +ConnectionProperties.padCharsWithSpace=If a result set column has the CHAR type and the value does not fill the amount of characters specified in the DDL for the column, should the driver pad the remaining characters with space (for ANSI compliance)? +ConnectionProperties.paranoid=Take measures to prevent exposure sensitive information in error messages and clear data structures holding sensitive data when possible? +ConnectionProperties.Password=The password to use when authenticating the user. +ConnectionProperties.Password1=The password to use in the first phase of a Multi-Factor Authentication workflow. It is a synonym of the connection property ''password'' and can also be set with user credentials in the connection string. +ConnectionProperties.Password2=The password to use in the second phase of a Multi-Factor Authentication workflow. +ConnectionProperties.Password3=The password to use in the third phase of a Multi-Factor Authentication workflow. +ConnectionProperties.passwordCharacterEncoding=Instructs the server to use the default character set for the specified Java encoding during the authentication phase. If this property is not set, Connector/J falls back to the collation name specified in the property ''connectionCollation'' or to the Java encoding specified in the property ''characterEncoding'', in that order of priority. The default collation of the character set utf8mb4 is used if none of the properties is set. +ConnectionProperties.pedantic=Follow the JDBC specification to the letter. +ConnectionProperties.pinGlobalTxToPhysicalConnection=When using XA connections, should the driver ensure that operations on a given XID are always routed to the same physical connection? This allows the ''XAConnection'' to support "XA START ... JOIN" after "XA END" has been called. +ConnectionProperties.populateInsertRowWithDefaultValues=When using result sets that are ''CONCUR_UPDATABLE'', should the driver pre-populate the insert row with default values from the DDL for the table used in the query so those values are immediately available for ''ResultSet'' accessors? This functionality requires a call to the database for metadata each time a result set of this type is created. If disabled, the default values will be populated by the an internal call to ''refreshRow()'' which pulls back default values and/or values changed by triggers. +ConnectionProperties.prepStmtCacheSize=If prepared statement caching is enabled, how many prepared statements should be cached? +ConnectionProperties.prepStmtCacheSqlLimit=If prepared statement caching is enabled, what''s the largest SQL the driver will cache the parsing for? +ConnectionProperties.preserveInstants=If enabled, Connector/J does its best to preserve the instant point on the time-line for Java instant-based objects such as ''java.sql.Timestamp'' or ''java.time.OffsetDateTime'' instead of their original visual form. Otherwise, the driver always uses the JVM default time zone for rendering the values it sends to the server and for constructing the Java objects from the fetched data.[CR]MySQL uses implied time zone conversion for TIMESTAMP values: they are converted from the session time zone to UTC for storage, and back from UTC to the session time zone for retrieval. So, to store the correct correct UTC value internally, the driver converts the value from the original time zone to the session time zone before sending to the server. On retrieval, Connector/J converts the received value from the session time zone to the JVM default one.[CR]When storing, the conversion is performed only if the target ''SQLType'', either the explicit one or the default one, is TIMESTAMP. When retrieving, the conversion is performed only if the source column has the TIMESTAMP, DATETIME or character type and the target class is an instant-based one, like ''java.sql.Timestamp'' or ''java.time.OffsetDateTime''.[CR]Note that this option has no effect if used in conjunction with "connectionTimeZone=LOCAL" since, in this case, the source and target time zones are the same. Though, in this case, it''s still possible to store a correct instant value if set together with "forceConnectionTimeZoneToSession=true".[CR]See also ''connectionTimeZone'' and ''forceConnectionTimeZoneToSession'' for more details. +ConnectionProperties.processEscapeCodesForPrepStmts=Should the driver process escape codes in queries that are prepared? Default escape processing behavior in non-prepared statements must be defined with the property ''enableEscapeProcessing''. +ConnectionProperties.profilerEventHandler=Name of a class that implements the interface ''com.mysql.cj.log.ProfilerEventHandler'' that will be used to handle profiling/tracing events. +ConnectionProperties.profileSQL=Trace queries and their execution/fetch times to the configured ''profilerEventHandler''. +ConnectionProperties.queriesBeforeRetrySource=When using multi-host failover, the number of queries to issue before falling back to the primary host when failed over. Whichever condition is met first, ''queriesBeforeRetrySource'' or ''secondsBeforeRetrySource'' will cause an attempt to be made to reconnect to the primary host. Setting both properties to "0" disables the automatic fall back to the primary host at transaction boundaries. +ConnectionProperties.queryInfoCacheFactory=Name of a class implementing ''com.mysql.cj.CacheAdapterFactory'', which will be used to create caches for the parsed representation of prepared statements. Prior to version 8.0.29, this property was named ''parseInfoCacheFactory'', which remains as an alias. +ConnectionProperties.queryInterceptors=A comma-delimited list of classes that implement ''com.mysql.cj.interceptors.QueryInterceptor'' that intercept query executions and are able influence the results. Query iterceptors are chainable: the results returned by the current interceptor will be passed on to the next in the chain, from left-to-right in the order specified in this property. +ConnectionProperties.queryTimeoutKillsConnection=If the timeout given in ''Statement.setQueryTimeout()'' expires, should the driver forcibly abort the connection instead of attempting to abort the query? +ConnectionProperties.readFromSourceWhenNoReplicas=Replication-aware connections distribute load by using the source hosts when in read/write state and by using the replica hosts when in read-only state. If, when setting the connection to read-only state, none of the replica hosts are available, an ''SQLException'' is thrown back. Setting this property to "true" allows to fail over to the source hosts, while setting the connection state to read-only, when no replica hosts are available at switch instant. +ConnectionProperties.readOnlyPropagatesToServer=Should the driver issue appropriate statements to implicitly set the transaction access mode on server side when ''Connection.setReadOnly()'' is called? Setting this property to "true" enables InnoDB read-only potential optimizations but also requires an extra roundtrip to set the right transaction state. Even if this property is set to "false", the driver will do its best effort to prevent the execution of database-state-changing queries. +ConnectionProperties.reconnectAtTxEnd=If ''autoReconnect'' is set to "true", should the driver attempt reconnections at the end of every transaction? +ConnectionProperties.replicationConnectionGroup=Logical group of replication connections within a class loader, used to manage different groups independently. If not specified, live management of replication connections is disabled. +ConnectionProperties.reportMetricsIntervalMillis=If ''gatherPerfMetrics'' is enabled, how often should they be logged (in milliseconds)? +ConnectionProperties.requireSSL=DEPRECATED: See ''sslMode'' property description for details.[CR]For 8.0.12 and earlier: Require server support of SSL connection if "useSSL=true". +ConnectionProperties.resourceId=A globally unique name that identifies the resource that this data source or connection is connected to, used for ''XAResource.isSameRM()'' when the driver can''t determine this value based on hostnames used in the URL. +ConnectionProperties.resultSetSizeThreshold=If ''useUsageAdvisor'' is "true", how many rows should a result set contain before the driver warns that it is suspiciously large? +ConnectionProperties.retriesAllDown=When using load balancing or failover, the number of times the driver should cycle through available hosts, attempting to connect. Between cycles, the driver will pause for 250 ms if no servers are available. +ConnectionProperties.rewriteBatchedStatements=Should the driver use multi-queries, regardless of the setting of ''allowMultiQueries'', as well as rewriting of prepared statements for INSERT and REPLACE queries into multi-values clause statements when ''executeBatch()'' is called?[CR]Notice that this might allow SQL injection when using plain statements and the provided input is not properly sanitized. Also notice that for prepared statements, if the stream length is not specified when using ''PreparedStatement.set*Stream()'', the driver would not be able to determine the optimum number of parameters per batch and might return an error saying that the resultant packet is too large.[CR]''Statement.getGeneratedKeys()'', for statements that are rewritten only works when the entire batch consists of INSERT or REPLACE statements.[CR]Be aware that when using "rewriteBatchedStatements=true" with "INSERT ... ON DUPLICATE KEY UPDATE" for rewritten statements, the server returns only one value for all affected (or found) rows in the batch, and it is not possible to map it correctly to the initial statements; in this case the driver returns "0" as the result for each batch statement if total count was zero, and ''Statement.SUCCESS_NO_INFO'' if total count was above zero. +ConnectionProperties.rollbackOnPooledClose=Should the driver issue a ''rollback()'' when the logical connection in a pool is closed? +ConnectionProperties.scrollTolerantForwardOnly=Should the driver contradict the JDBC API and tolerate and support backward and absolute cursor movement on result sets of type ''ResultSet.TYPE_FORWARD_ONLY''?[CR]Regardless of this setting, cursor-based and row streaming result sets cannot be navigated in the prohibited directions. +ConnectionProperties.secondsBeforeRetrySource=How long, in seconds, should the driver wait when failed over, before attempting to reconnect to the primary host? Whichever condition is met first, ''queriesBeforeRetrySource'' or ''secondsBeforeRetrySource'' will cause an attempt to be made to reconnect to the source host. Setting both properties to "0" disables the automatic fall back to the primary host at transaction boundaries. +ConnectionProperties.selfDestructOnPingMaxOperations=If set to a non-zero value, the driver will report close the connection and report failure when ''com.mysql.cj.jdbc.JdbcConnection.ping()'' or ''java.sql.Connection.isValid(int)'' is called if the connection''s count of commands sent to the server exceeds this value. +ConnectionProperties.selfDestructOnPingSecondsLifetime=If set to a non-zero value, the driver will close the connection and report failure when ''com.mysql.cj.jdbc.JdbcConnection.ping()'' or ''java.sql.Connection.isValid(int)'' is called if the connection''s lifetime exceeds this value, specified in milliseconds. +ConnectionProperties.sendFractionalSeconds=If set to "false", the fractional seconds will always be truncated before sending any data to the server. This option applies only to prepared statements, callable statements or updatable result sets. +ConnectionProperties.sendFractionalSecondsForTime=If set to "false", the fractional seconds of ''java.sql.Time'' will be ignored as required by JDBC specification. If set to "true", its value is rendered with fractional seconds allowing to store milliseconds into MySQL TIME column. This option applies only to prepared statements, callable statements or updatable result sets. It has no effect if "sendFractionalSeconds=false". +ConnectionProperties.serverAffinityOrder=A comma separated list containing the host/port pairs that are to be used in load-balancing "serverAffinity" strategy. Only the sub-set of the hosts enumerated in the main hosts section in this URL will be used and they must be identical in case and type, i.e., can''t use an IP address in one place and the corresponding host name in the other. +ConnectionProperties.serverConfigCacheFactory=Name of a class implementing ''com.mysql.cj.CacheAdapterFactory'', which will be used to create caches for MySQL server configuration values. +ConnectionProperties.serverRSAPublicKeyFile=File path to the server RSA public key file for ''sha256_password'' authentication. If not specified, the public key will be retrieved from the server. +ConnectionProperties.sessionVariables=A comma or semicolon separated list of "name=value" pairs to be sent as "SET [SESSION] ..." to the server when the driver connects. +ConnectionProperties.slowQueryThresholdMillis=If ''logSlowQueries'' is enabled, how long, in milliseconds, should a query take before it is logged as slow? +ConnectionProperties.slowQueryThresholdNanos=If ''logSlowQueries'' is enabled, ''useNanosForElapsedTime'' is set to "true", and this property is set to a non-zero value, the driver will use this threshold, in nanosecond units, to determine if a query was slow. +ConnectionProperties.socketFactory=The name of the class that the driver should use for creating socket connections to the server. This class must implement the interface ''com.mysql.cj.protocol.SocketFactory'' and have a public no-args constructor. +ConnectionProperties.socketTimeout=Timeout, specified in milliseconds, on network socket operations. Value "0" means no timeout. +ConnectionProperties.socksProxyHost=Name or IP address of a SOCKS host to connect through. +ConnectionProperties.socksProxyPort=Port of the SOCKS server. +ConnectionProperties.socksProxyRemoteDns=When using a SOCKS proxy, whether the DNS lookup for the database host should be performed locally or through the SOCKS proxy. +ConnectionProperties.sslContextProvider=The name of the a Java Security Provider that provides a ''javax.net.ssl.SSLContext'' implementation. If none is specified then the default one is used. +ConnectionProperties.sslMode=By default, network connections are SSL encrypted; this property permits secure connections to be turned off, or a different levels of security to be chosen. The following values are allowed: "DISABLED" - Establish unencrypted connections; "PREFERRED" - Establish encrypted connections if the server enabled them, otherwise fall back to unencrypted connections; "REQUIRED" - Establish secure connections if the server enabled them, fail otherwise; "VERIFY_CA" - Like "REQUIRED" but additionally verify the server TLS certificate against the configured Certificate Authority (CA) certificates; "VERIFY_IDENTITY" - Like "VERIFY_CA", but additionally verify that the server certificate matches the host to which the connection is attempted.[CR] This property replaced the deprecated legacy properties ''useSSL'', ''requireSSL'', and ''verifyServerCertificate'', which are still accepted but translated into a value for ''sslMode'' if ''sslMode'' is not explicitly set: "useSSL=false" is translated to "sslMode=DISABLED"; '{'"useSSL=true", "requireSSL=false", "verifyServerCertificate=false"'}' is translated to "sslMode=PREFERRED"; '{'"useSSL=true", "requireSSL=true", "verifyServerCertificate=false"'}' is translated to "sslMode=REQUIRED"; '{'"useSSL=true", "verifyServerCertificate=true"'}' is translated to "sslMode=VERIFY_CA". There is no equivalent legacy settings for "sslMode=VERIFY_IDENTITY". Note that, for all server versions, the default setting of ''sslMode'' is "PREFERRED", and it is equivalent to the legacy settings of "useSSL=true", "requireSSL=false", and "verifyServerCertificate=false", which are different from their default settings for Connector/J 8.0.12 and earlier in some situations. Applications that continue to use the legacy properties and rely on their old default settings should be reviewed.[CR]The legacy properties are ignored if ''sslMode'' is set explicitly. If none of ''sslMode'' or ''useSSL'' is set explicitly, the default setting of "sslMode=PREFERRED" applies. +ConnectionProperties.strictUpdates=Should the driver do strict checking, i.e. all primary keys selected, of updatable result sets? +ConnectionProperties.tcpKeepAlive=If connecting using TCP/IP, should the driver set ''SO_KEEPALIVE''? +ConnectionProperties.tcpNoDelay=If connecting using TCP/IP, should the driver set ''SO_TCP_NODELAY'', disabling the Nagle Algorithm? +ConnectionProperties.tcpSoRcvBuf=If connecting using TCP/IP, should the driver set ''SO_RCV_BUF'' to the given value? The default value of "0", means use the platform default value for this property. +ConnectionProperties.tcpSoSndBuf=If connecting using TCP/IP, should the driver set ''SO_SND_BUF'' to the given value? The default value of "0", means use the platform default value for this property. +ConnectionProperties.tcpTrafficClass=If connecting using TCP/IP, should the driver set traffic class or type-of-service fields? See the documentation for ''java.net.Socket.setTrafficClass()'' for more information. +ConnectionProperties.tinyInt1isBit=Since the MySQL server silently converts BIT to TINYINT(1) when creating tables, should the driver treat the datatype TINYINT(1) as the BIT type? +ConnectionProperties.tlsCiphersuites=When establishing secure connections, overrides the cipher suites enabled for use on the underlying SSL sockets. This may be required when using external JSSE providers or to specify cipher suites compatible with both MySQL server and used JVM. Prior to version 8.0.28, this property was named ''enabledSSLCipherSuites'', which remains as an alias. +ConnectionProperties.tlsVersions=List of TLS protocols to allow when establishing secure connections. Overrides the TLS protocols enabled in the underlying SSL sockets. This can be used to restrict connections to specific TLS versions and, by doing that, avoid TLS negotiation fallback. Allowed and default values are "TLSv1.2" and "TLSv1.3". Prior to version 8.0.28, this property was named ''enabledTLSProtocols'', which remains as an alias. +ConnectionProperties.traceProtocol=Should the network protocol be logged at the TRACE level? +ConnectionProperties.trackSessionState=Receive server session state changes on query results. These changes are accessible via ''MysqlConnection.getServerSessionStateController()''. +ConnectionProperties.transformedBitIsBoolean=If the driver converts TINYINT(1) to a different type, should it use BOOLEAN instead of BIT? +ConnectionProperties.treatMysqlDatetimeAsTimestamp=Should the driver treat the MySQL DATETIME type as TIMESTAMP in ''ResultSet.getObject()''? Enabling this option changes the default MySQL data type to Java type mapping for DATETIME from ''java.time.LocalDateTime'' to ''java.sql.Timestamp''. Given the nature of the DATETIME type and its inability to represent instant values, it is not advisable to enable this option unless the driver is used with a framework or API that expects exclusively objects following the default MySQL data types to Java types mapping, which is the case of, for example, ''javax.sql.rowset.CachedRowSet''. +ConnectionProperties.treatUtilDateAsTimestamp=Should the driver treat ''java.util.Date'' as a TIMESTAMP in ''PreparedStatement.setObject()''? +ConnectionProperties.trustCertificateKeyStorePassword=Password for the trusted root certificates key store. +ConnectionProperties.trustCertificateKeyStoreType=Key store type for trusted root certificates.[CR]Null or empty means use the default, which is "JKS". Standard key store types supported by the JVM are "JKS" and "PKCS12", your environment may have more available depending on what security providers are installed and available to the JVM. +ConnectionProperties.trustCertificateKeyStoreUrl=Local file path or file URL for the trusted root certificates key store.[CR]If not specified, the property ''fallbackToSystemTrustStore'' determines if system-wide trust store is used. +ConnectionProperties.trustManagerFactoryProvider=The name of the a Java Security Provider that provides a ''javax.net.ssl.TrustManagerFactory'' implementation. If none is specified then the default one is used. +ConnectionProperties.ultraDevHack=Create prepared statements for ''prepareCall()'' when required, because UltraDev is broken and issues a ''prepareCall()'' for all statements? +ConnectionProperties.useAffectedRows=Don''t set the ''CLIENT_FOUND_ROWS'' flag when connecting to the server. Note that this is not JDBC-compliant and it will break most applications that rely on "found" rows vs. "affected rows" for DML statements, but does cause correct update counts from "INSERT ... ON DUPLICATE KEY UPDATE" statements to be returned by the server. +ConnectionProperties.useColumnNamesInFindColumn=Prior to JDBC-4.0, the JDBC specification had a bug related to what could be given as a column name to result set methods like ''findColumn()'', or getters that took a String property. JDBC-4.0 clarified "column name" to mean the label, as given in an "AS" clause and returned by ''ResultSetMetaData.getColumnLabel()'', and if no "AS" clause is specified, the column name. Setting this property to "true" will result in a behavior that is congruent to JDBC-3.0 and earlier versions of the JDBC specification, but which could have unexpected results. This property is preferred over ''useOldAliasMetadataBehavior'' unless in need of the specific behavior that it provides with respect to ''ResultSetMetadata''. +ConnectionProperties.useCompression=Use zlib compression when communicating with the server? +ConnectionProperties.useConfigs=Load the comma-delimited list of configuration properties for specifying combinations of options for particular scenarios. These properties are loaded before parsing the URL or applying user-specified properties. Allowed values are "3-0-Compat", "clusterBase", "coldFusion", "fullDebug", "maxPerformance", "maxPerformance-8-0" and "solarisMaxPerformance", and they correspond to properties files shipped within the Connector/J jar file, under "com/mysql/cj/configurations". +ConnectionProperties.useCursorFetch=Should the driver use cursor-based fetching to retrieve rows? If set to "true" and ''defaultFetchSize'' is set to a value higher than zero or ''setFetchSize()'' with a value higher than zero is called on a statement, then the cursor-based result set will be used. Please note that ''useServerPrepStmts'' is automatically set to "true" in this case because cursor functionality is available only for server-side prepared statements. +ConnectionProperties.useHostsInPrivileges=Add ''@hostname'' to users in ''DatabaseMetaData.getColumn/TablePrivileges()''. +ConnectionProperties.useInformationSchema=Should the driver use the INFORMATION_SCHEMA to derive information used by ''DatabaseMetaData''? Default is "true" when connecting to MySQL 8.0.3+, otherwise default is "false". +ConnectionProperties.useLocalSessionState=Should the driver refer to the internal values of auto-commit and transaction isolation that are set by ''Connection.setAutoCommit()'' and ''Connection.setTransactionIsolation()'' and transaction state as maintained by the protocol, rather than querying the database or blindly sending commands to the database for ''commit()'' or ''rollback()'' method calls? +ConnectionProperties.useLocalTransactionState=Should the driver use the in-transaction state provided by the MySQL protocol to determine if a ''commit()'' or ''rollback()'' should actually be sent to the database? +ConnectionProperties.useNanosForElapsedTime=For profiling/debugging functionality that measures elapsed time, should the driver try to use nanoseconds resolution? +ConnectionProperties.useOldAliasMetadataBehavior=Should the driver use the legacy behavior for "AS" clauses on columns and tables, and only return aliases ,if any, for ''ResultSetMetaData.getColumnName()'' or ''ResultSetMetaData.getTableName()'' rather than the original column/table name? +ConnectionProperties.useOnlyServerErrorMessages=Don''t prepend standard ''SQLState'' error messages to error messages returned by the server. +ConnectionProperties.useReadAheadInput=Use optimized non-blocking buffered input stream when reading from the server? +ConnectionProperties.Username=The user to connect as. If none is specified, it is authentication plugin dependent what user name is used. Built-in authentication plugins default to the session login user name. +ConnectionProperties.useServerPrepStmts=Use server-side prepared statements if the server supports them? The server may limit the number of prepared statements with ''max_prepared_stmt_count'' or disable them altogether. In case of not being possible to prepare new server-side prepared statements, it depends on the value of ''emulateUnsupportedPstmts'' to whether return an error or fall back to client-side emulated prepared statements. +ConnectionProperties.useSqlStateCodes=Use SQL Standard state codes instead of ''legacy'' X/Open/SQL state codes. +ConnectionProperties.useSSL=DEPRECATED: See ''sslMode'' property description for details.[CR]For 8.0.12 and earlier: Use SSL when communicating with the server, default is "true" when connecting to MySQL 5.5.45+, 5.6.26+ or 5.7.6+, otherwise default is "false".[CR] For 8.0.13 and later: Default is "true". +ConnectionProperties.useStreamLengthsInPrepStmts=Honor stream length parameter in ''PreparedStatement/ResultSet.set*Stream()'' method calls? +ConnectionProperties.useUnbufferedInput=Don''t use ''BufferedInputStream'' for reading data from the server. +ConnectionProperties.useUsageAdvisor=Should the driver issue usage warnings advising proper and efficient usage of JDBC and MySQL Connector/J to the ''profilerEventHandler''? +ConnectionProperties.verifyServerCertificate=DEPRECATED: See ''sslMode'' property description for details.[CR]For 8.0.12 and earlier: If ''useSSL'' is set to "true", should the driver verify the server''s certificate? When using this feature, the key store parameters should be specified by the ''clientCertificateKeyStore*'' properties, rather than system properties. Default is "false" when connecting to MySQL 5.5.45+, 5.6.26+ or 5.7.6+ and ''useSSL'' was not explicitly set to "true". Otherwise default is "true".[CR] For 8.0.13 and later: Default is "false". +ConnectionProperties.yearIsDateType=Should the JDBC driver treat the MySQL type YEAR as a ''java.sql.Date'', or as a SHORT? +ConnectionProperties.zeroDateTimeBehavior=What should happen when the driver encounters DATETIME values that are composed entirely of zeros - used by MySQL to represent invalid dates? Valid values are \"{0}\", \"{1}\" and \"{2}\". +ConnectionProperties.xdevapiSslMode=X DevAPI-specific SSL mode setting. If not specified, use ''sslMode''. Because the "PREFERRED" mode is not applicable to X Protocol, if ''xdevapi.ssl-mode'' is not set and ''sslMode'' is set to "PREFERRED", ''xdevapi.ssl-mode'' is set to "REQUIRED". +ConnectionProperties.xdevapiTlsCiphersuites=X DevAPI-specific property overriding the cipher suites enabled for use on the underlying SSL sockets. If not specified, the value of ''enabledSSLCipherSuites'' is used. +ConnectionProperties.xdevapiTlsVersions=X DevAPI-specific property that takes a list of TLS protocols to allow when creating secure sessions. Overrides the TLS protocols enabled in the underlying SSL socket. If not specified, then the value of ''tlsVersions'' is used instead. Allowed and default values are "TLSv1.2" and "TLSv1.3". +ConnectionProperties.xdevapiSslKeyStoreUrl=X DevAPI-specific local file path or file URL for the client certificate key store. If not specified, use ''clientCertificateKeyStoreUrl'' value. +ConnectionProperties.xdevapiSslKeyStoreType=X DevAPI-specific type of the client certificate key store. If not specified, use ''clientCertificateKeyStoreType'' value. +ConnectionProperties.xdevapiSslKeyStorePassword=X DevAPI-specific password for the client certificate key store. If not specified, use ''clientCertificateKeyStorePassword'' value. +ConnectionProperties.xdevapiFallbackToSystemKeyStore=X DevAPI-specific switch to specify whether in the absence of a set value for ''xdevapi.ssl-keystore'' (or ''clientCertificateKeyStoreUrl''), Connector/J falls back to using the system-wide key store defined through the system properties ''javax.net.ssl.keyStore*''. If not specified, the value of ''fallbackToSystemKeyStore'' is used. +ConnectionProperties.xdevapiSslTrustStoreUrl=X DevAPI-specific local file path or file URL for the trusted CA certificates key store. If not specified, use ''trustCertificateKeyStoreUrl'' value. +ConnectionProperties.xdevapiSslTrustStoreType=X DevAPI-specific type of the trusted CA certificates key store. If not specified, use ''trustCertificateKeyStoreType'' value. +ConnectionProperties.xdevapiSslTrustStorePassword=X DevAPI-specific password for the trusted CA certificates key store. If not specified, use ''trustCertificateKeyStorePassword'' value. +ConnectionProperties.xdevapiFallbackToSystemTrustStore=X DevAPI-specific switch to specify whether in the absence of a set value for ''xdevapi.ssl-truststore'' (or ''trustCertificateKeyStoreUrl''), Connector/J falls back to using the system-wide default trust store or one defined through the system properties ''javax.net.ssl.trustStore*''. If not specified, the value of ''fallbackToSystemTrustStore'' is used. +ConnectionProperties.auth=Authentication mechanism to use with the X Protocol. Allowed values are "SHA256_MEMORY", "MYSQL41", "PLAIN", and "EXTERNAL". Value is case insensitive. If the property is not set, the mechanism is chosen depending on the connection type: "PLAIN" is used for TLS connections and "SHA256_MEMORY" or "MYSQL41" is used for unencrypted connections. +ConnectionProperties.xdevapiConnectTimeout=X DevAPI-specific timeout, in milliseconds, for socket connect, with "0" being no timeout. If ''xdevapi.connect-timeout'' is not set explicitly and ''connectTimeout'' is, ''xdevapi.connect-timeout'' takes up the value of ''connectTimeout''. +ConnectionProperties.xdevapiConnectionAttributes=An X DevAPI-specific comma-delimited list of user-defined "key=value" pairs, in addition to standard X Protocol-defined "key=value" pairs, to be passed to MySQL Server for display as connection attributes in the ''PERFORMANCE_SCHEMA'' tables ''session_account_connect_attrs'' and ''session_connect_attrs''. Example usage: "xdevapi.connection-attributes=key1=value1,key2=value2" or "xdevapi.connection-attributes=[key1=value1,key2=value2]". This functionality is available for use with MySQL Server version 8.0.16 or later only. Earlier versions of X Protocol do not support connection attributes, causing this configuration option to be ignored. For situations where Session creation/initialization speed is critical, setting "xdevapi.connection-attributes=false" will cause connection attribute processing to be bypassed. +ConnectionProperties.xdevapiDnsSrv=X DevAPI-specific option for instructing the driver use the given host name to lookup for DNS SRV records and use the resulting list of hosts in a multi-host failover connection. Note that a single host name and no port must be provided when this option is enabled. +ConnectionProperties.xdevapiCompression=X DevAPI-specific network traffic compression. This option accepts one of the three values: "PREFERRED", "REQUIRED", and "DISABLED". Setting this option to "PREFERRED" or "REQUIRED" enables compression algorithm negotiation between Connector and Server, and turns on compression of large X Protocol packets, as long as a consensus is reached between client and server regarding the compression algorithm to use. If a consensus cannot be reached, connection fails if the option is set to "REQUIRED" and continues without compression if the option is set to "PREFERRED". Setting this option as "DISABLED" skips the compression negotiation phase and forbids the interchange of compressed messages between client and server. +ConnectionProperties.xdevapiCompressionAlgorithms=A comma-delimited list of compression algorithms, each one identified by its name and operating mode, (e.g. "lz4_message"; consult the description for the MySQL global variable ''mysqlx_compression_algorithms'' for a list of supported and enabled algorithms), that defines the order and which algorithms will be attempted when negotiating connection compression with the server.[CR]The compression algorithm ''deflate_stream'' is supported natively. Additional compression algorithms require using third-party libraries and enabling them with the connection property ''xdevapi.compression-extensions''.[CR]This option is meaningful only when network traffic compression is enabled using the connection property ''xdevapi.compression''.[CR]As an alternative to the default algorithm names, that contain a reference to the compression operation mode, the aliases "zstd", "lz4", and "deflate" can be used instead of "zstd_stream", "lz4_message", and "deflate_stream". +ConnectionProperties.xdevapiCompressionExtensions=A comma-delimited list of triplets, with their elements delimited by colon, that enables the support for additional compression algorithms. Each triplet must contain: first, an algorithm name and operating mode (e.g. "lz4_message"; consult the description for the MySQL global variable ''mysqlx_compression_algorithms'' for a list of supported and enabled algorithms); second, a fully-qualified class name of a class implementing the interface ''java.io.InputStream'' that will be used to inflate data compressed with the named algorithm; third, a fully-qualified class name of a class implementing the interface ''java.io.OutputStream'' that will be used to deflate data using the named algorithm. Along with this setting, the library containing implementations of the designated classes must be available in the application''s class path.[CR]Any number of triplets defining compression algorithms and their inflater and deflater implementations can be provided but only the ones supported and enabled on the MySQL Server can be used.[CR]The compression algorithm ''deflate_stream'' is supported natively. Additional compression algorithms require using third-party libraries.[CR]This option is meaningful only when network traffic compression is enabled using the connection property ''xdevapi.compression''.[CR]As an alternative to the default algorithm names, that contain a reference to the compression operation mode, the aliases "zstd", "lz4", and "deflate" can be used instead of "zstd_stream", "lz4_message", and "deflate_stream". +ConnectionProperties.asyncResponseTimeout=DEPRECATED: has no effect.[CR]For 8.0.21 and earlier: Timeout, in seconds, for getting server response via X Protocol. + +ConnectionProperties.unknown=Property is not defined in Connector/J but used in connection URL. +ConnectionProperties.allVersions=all versions + +PropertyDefinition.1=The connection property ''{0}'' acceptable values are: {1}. The value ''{2}'' is not acceptable. diff --git a/src/main/resources/com/mysql/cj/TlsSettings.properties b/src/main/resources/com/mysql/cj/TlsSettings.properties new file mode 100644 index 0000000..fc6ae0b --- /dev/null +++ b/src/main/resources/com/mysql/cj/TlsSettings.properties @@ -0,0 +1,97 @@ +# Copyright (c) 2019, 2026, 2023 Oracle and/or its affiliates. +# +# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by +# the Free Software Foundation. +# +# This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in +# included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the +# separately licensed software that they have either included with the program or referenced in the documentation. +# +# Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, +# version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. +# +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. +# +# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# Mandatory TLS Ciphers +TLSCiphers.Mandatory=\ + ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,\ + ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,\ + ECDHE_RSA_WITH_AES_128_GCM_SHA256 + +# Approved TLS Ciphers +TLSCiphers.Approved=\ + AES_128_GCM_SHA256,\ + AES_256_GCM_SHA384,\ + CHACHA20_POLY1305_SHA256,\ + AES_128_CCM_SHA256,\ + ECDHE_RSA_WITH_AES_256_GCM_SHA384,\ + ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,\ + ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,\ + ECDHE_ECDSA_WITH_AES_256_CCM,\ + ECDHE_ECDSA_WITH_AES_128_CCM + +# Deprecated TLS Ciphers +TLSCiphers.Deprecated=\ + AES_128_CCM_8_SHA256,\ + DHE_RSA_WITH_AES_128_GCM_SHA256,\ + DHE_RSA_WITH_AES_256_GCM_SHA384,\ + DHE_RSA_WITH_AES_256_CCM,\ + DHE_RSA_WITH_AES_128_CCM,\ + DHE_RSA_WITH_CHACHA20_POLY1305_SHA256,\ + ECDHE_ECDSA_WITH_AES_256_CCM_8,\ + ECDHE_ECDSA_WITH_AES_128_CCM_8,\ + DHE_RSA_WITH_AES_256_CCM_8,\ + DHE_RSA_WITH_AES_128_CCM_8,\ + ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,\ + ECDHE_RSA_WITH_AES_128_CBC_SHA256,\ + ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,\ + ECDHE_RSA_WITH_AES_256_CBC_SHA384,\ + DHE_DSS_WITH_AES_256_GCM_SHA384,\ + DHE_DSS_WITH_AES_128_GCM_SHA256,\ + DHE_DSS_WITH_AES_128_CBC_SHA256,\ + DHE_DSS_WITH_AES_256_CBC_SHA256,\ + DHE_RSA_WITH_AES_256_CBC_SHA256,\ + DHE_RSA_WITH_AES_128_CBC_SHA256,\ + DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256,\ + DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256,\ + ECDHE_RSA_WITH_AES_128_CBC_SHA,\ + ECDHE_ECDSA_WITH_AES_128_CBC_SHA,\ + ECDHE_RSA_WITH_AES_256_CBC_SHA,\ + ECDHE_ECDSA_WITH_AES_256_CBC_SHA,\ + DHE_DSS_WITH_AES_128_CBC_SHA,\ + DHE_RSA_WITH_AES_128_CBC_SHA,\ + DHE_RSA_WITH_AES_256_CBC_SHA,\ + DHE_DSS_WITH_AES_256_CBC_SHA,\ + DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,\ + DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,\ + ECDH_ECDSA_WITH_AES_128_CBC_SHA256,\ + ECDH_RSA_WITH_AES_128_CBC_SHA256,\ + ECDH_RSA_WITH_AES_256_CBC_SHA384,\ + ECDH_ECDSA_WITH_AES_256_CBC_SHA384,\ + ECDH_ECDSA_WITH_AES_128_CBC_SHA,\ + ECDH_ECDSA_WITH_AES_256_CBC_SHA,\ + ECDH_RSA_WITH_AES_128_CBC_SHA,\ + ECDH_RSA_WITH_AES_256_CBC_SHA,\ + RSA_WITH_AES_128_GCM_SHA256,\ + RSA_WITH_AES_128_CCM,\ + RSA_WITH_AES_128_CCM_8,\ + RSA_WITH_AES_256_GCM_SHA384,\ + RSA_WITH_AES_256_CCM,\ + RSA_WITH_AES_256_CCM_8,\ + RSA_WITH_AES_128_CBC_SHA256,\ + RSA_WITH_AES_256_CBC_SHA256,\ + RSA_WITH_AES_128_CBC_SHA,\ + RSA_WITH_AES_256_CBC_SHA,\ + RSA_WITH_CAMELLIA_256_CBC_SHA,\ + RSA_WITH_CAMELLIA_128_CBC_SHA,\ + ECDH_ECDSA_WITH_AES_128_GCM_SHA256,\ + ECDH_ECDSA_WITH_AES_256_GCM_SHA384,\ + ECDH_RSA_WITH_AES_128_GCM_SHA256,\ + ECDH_RSA_WITH_AES_256_GCM_SHA384 + +# Unacceptable TLS Ciphers +TLSCiphers.Unacceptable.Mask=_ANON_,_NULL_,_EXPORT,_MD5,_DES,_3DES_,_RC2_,_RC4_,_PSK_,_DH_ diff --git a/src/main/resources/com/mysql/cj/configurations/3-0-Compat.properties b/src/main/resources/com/mysql/cj/configurations/3-0-Compat.properties new file mode 100644 index 0000000..82d4632 --- /dev/null +++ b/src/main/resources/com/mysql/cj/configurations/3-0-Compat.properties @@ -0,0 +1,16 @@ +# +# Settings to maintain Connector/J 3.0.x compatibility +# (as much as it can be) +# + +emptyStringsConvertToZero=true +jdbcCompliantTruncation=false +noDatetimeStringSync=true +nullCatalogMeansCurrent=true +transformedBitIsBoolean=false +dontTrackOpenResources=true +zeroDateTimeBehavior=CONVERT_TO_NULL +useServerPrepStmts=false +autoClosePStmtStreams=true +processEscapeCodesForPrepStmts=false +populateInsertRowWithDefaultValues=false \ No newline at end of file diff --git a/src/main/resources/com/mysql/cj/configurations/clusterBase.properties b/src/main/resources/com/mysql/cj/configurations/clusterBase.properties new file mode 100644 index 0000000..c5b216d --- /dev/null +++ b/src/main/resources/com/mysql/cj/configurations/clusterBase.properties @@ -0,0 +1,3 @@ +# Basic properties for clusters +autoReconnect=true +failOverReadOnly=false diff --git a/src/main/resources/com/mysql/cj/configurations/coldFusion.properties b/src/main/resources/com/mysql/cj/configurations/coldFusion.properties new file mode 100644 index 0000000..12eda15 --- /dev/null +++ b/src/main/resources/com/mysql/cj/configurations/coldFusion.properties @@ -0,0 +1,16 @@ +# +# Properties for optimal usage in ColdFusion +# + +# +# CF's pool tends to be "chatty" like DBCP +# + +alwaysSendSetIsolation=false +useLocalSessionState=true + +# +# CF's pool seems to loose connectivity on page restart +# + +autoReconnect=true diff --git a/src/main/resources/com/mysql/cj/configurations/fullDebug.properties b/src/main/resources/com/mysql/cj/configurations/fullDebug.properties new file mode 100644 index 0000000..14e47c5 --- /dev/null +++ b/src/main/resources/com/mysql/cj/configurations/fullDebug.properties @@ -0,0 +1,6 @@ +# Settings for 'max-debug' style situations +profileSQL=true +gatherPerfMetrics=true +useUsageAdvisor=true +logSlowQueries=true +explainSlowQueries=true \ No newline at end of file diff --git a/src/main/resources/com/mysql/cj/configurations/maxPerformance-8-0.properties b/src/main/resources/com/mysql/cj/configurations/maxPerformance-8-0.properties new file mode 100644 index 0000000..f69c8a7 --- /dev/null +++ b/src/main/resources/com/mysql/cj/configurations/maxPerformance-8-0.properties @@ -0,0 +1,38 @@ +# +# A configuration that maximizes performance, while +# still staying JDBC-compliant and not doing anything that +# would be "dangerous" to run-of-the-mill J2EE applications +# +# Note that because we're caching things like callable statements +# and the server configuration, this bundle isn't appropriate +# for use with servers that get config'd dynamically without +# restarting the application using this configuration bundle. + +cachePrepStmts=true +cacheCallableStmts=true + +cacheServerConfiguration=true + +# +# Reduces amount of calls to database to set +# session state. "Safe" as long as application uses +# Connection methods to set current database, autocommit +# and transaction isolation +# + +useLocalSessionState=true +elideSetAutoCommits=true +alwaysSendSetIsolation=false + +# Can cause high-GC pressure if timeouts are used on every +# query +enableQueryTimeouts=false + +# Bypass connection attribute handling during connection +# setup +connectionAttributes=none + +# INFORMATION_SCHEMA in MySQL 8.0 is more efficient because +# of integration with data dictionary +useInformationSchema=true + diff --git a/src/main/resources/com/mysql/cj/configurations/maxPerformance.properties b/src/main/resources/com/mysql/cj/configurations/maxPerformance.properties new file mode 100644 index 0000000..86a800a --- /dev/null +++ b/src/main/resources/com/mysql/cj/configurations/maxPerformance.properties @@ -0,0 +1,34 @@ +# +# A configuration that maximizes performance, while +# still staying JDBC-compliant and not doing anything that +# would be "dangerous" to run-of-the-mill J2EE applications +# +# Note that because we're caching things like callable statements +# and the server configuration, this bundle isn't appropriate +# for use with servers that get config'd dynamically without +# restarting the application using this configuration bundle. + +cachePrepStmts=true +cacheCallableStmts=true + +cacheServerConfiguration=true + +# +# Reduces amount of calls to database to set +# session state. "Safe" as long as application uses +# Connection methods to set current database, autocommit +# and transaction isolation +# + +useLocalSessionState=true +elideSetAutoCommits=true +alwaysSendSetIsolation=false + +# Can cause high-GC pressure if timeouts are used on every +# query +enableQueryTimeouts=false + +# Bypass connection attribute handling during connection +# setup +connectionAttributes=none + diff --git a/src/main/resources/com/mysql/cj/configurations/solarisMaxPerformance.properties b/src/main/resources/com/mysql/cj/configurations/solarisMaxPerformance.properties new file mode 100644 index 0000000..b4b31a1 --- /dev/null +++ b/src/main/resources/com/mysql/cj/configurations/solarisMaxPerformance.properties @@ -0,0 +1,13 @@ +# +# Solaris has pretty high syscall overhead, so these configs +# remove as many syscalls as possible. +# + +# Reduce recv() syscalls + +useUnbufferedInput=false +useReadAheadInput=false + +# Reduce number of calls to getTimeOfDay() + +maintainTimeStats=false \ No newline at end of file diff --git a/src/main/resources/com/mysql/cj/util/TimeZoneMapping.properties b/src/main/resources/com/mysql/cj/util/TimeZoneMapping.properties new file mode 100644 index 0000000..b3b1144 --- /dev/null +++ b/src/main/resources/com/mysql/cj/util/TimeZoneMapping.properties @@ -0,0 +1,1881 @@ +# Copyright (c) 2014, 2026, Oracle and/or its affiliates. +# +# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by +# the Free Software Foundation. +# +# This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in +# included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the +# separately licensed software that they have either included with the program or referenced in the documentation. +# +# Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, +# version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. +# +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. +# +# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +#Windows time zones [Unicode CLDR] +#Wed Sep 03 14:28:52 WEST 2025 +AUS\ Central\ Daylight\ Time=Australia/Darwin +AUS\ Central\ Standard\ Time=Australia/Darwin +AUS\ Eastern\ Daylight\ Time=Australia/Sydney +AUS\ Eastern\ Standard\ Time=Australia/Sydney +Afghanistan\ Daylight\ Time=Asia/Kabul +Afghanistan\ Standard\ Time=Asia/Kabul +Alaskan\ Daylight\ Time=America/Anchorage +Alaskan\ Standard\ Time=America/Anchorage +Aleutian\ Daylight\ Time=America/Adak +Aleutian\ Standard\ Time=America/Adak +Altai\ Daylight\ Time=Asia/Barnaul +Altai\ Standard\ Time=Asia/Barnaul +Arab\ Daylight\ Time=Asia/Riyadh +Arab\ Standard\ Time=Asia/Riyadh +Arabian\ Daylight\ Time=Asia/Dubai +Arabian\ Standard\ Time=Asia/Dubai +Arabic\ Daylight\ Time=Asia/Baghdad +Arabic\ Standard\ Time=Asia/Baghdad +Argentina\ Daylight\ Time=America/Buenos_Aires +Argentina\ Standard\ Time=America/Buenos_Aires +Astrakhan\ Daylight\ Time=Europe/Astrakhan +Astrakhan\ Standard\ Time=Europe/Astrakhan +Atlantic\ Daylight\ Time=America/Halifax +Atlantic\ Standard\ Time=America/Halifax +Aus\ Central\ W.\ Daylight\ Time=Australia/Eucla +Aus\ Central\ W.\ Standard\ Time=Australia/Eucla +Azerbaijan\ Daylight\ Time=Asia/Baku +Azerbaijan\ Standard\ Time=Asia/Baku +Azores\ Daylight\ Time=Atlantic/Azores +Azores\ Standard\ Time=Atlantic/Azores +Bahia\ Daylight\ Time=America/Bahia +Bahia\ Standard\ Time=America/Bahia +Bangladesh\ Daylight\ Time=Asia/Dhaka +Bangladesh\ Standard\ Time=Asia/Dhaka +Belarus\ Daylight\ Time=Europe/Minsk +Belarus\ Standard\ Time=Europe/Minsk +Bougainville\ Daylight\ Time=Pacific/Bougainville +Bougainville\ Standard\ Time=Pacific/Bougainville +Canada\ Central\ Daylight\ Time=America/Regina +Canada\ Central\ Standard\ Time=America/Regina +Cape\ Verde\ Daylight\ Time=Atlantic/Cape_Verde +Cape\ Verde\ Standard\ Time=Atlantic/Cape_Verde +Caucasus\ Daylight\ Time=Asia/Yerevan +Caucasus\ Standard\ Time=Asia/Yerevan +Cen.\ Australia\ Daylight\ Time=Australia/Adelaide +Cen.\ Australia\ Standard\ Time=Australia/Adelaide +Central\ America\ Daylight\ Time=America/Guatemala +Central\ America\ Standard\ Time=America/Guatemala +Central\ Asia\ Daylight\ Time=Asia/Bishkek +Central\ Asia\ Standard\ Time=Asia/Bishkek +Central\ Brazilian\ Daylight\ Time=America/Cuiaba +Central\ Brazilian\ Standard\ Time=America/Cuiaba +Central\ Daylight\ Time=America/Chicago +Central\ Daylight\ Time\ (Mexico)=America/Mexico_City +Central\ Europe\ Daylight\ Time=Europe/Budapest +Central\ Europe\ Standard\ Time=Europe/Budapest +Central\ European\ Daylight\ Time=Europe/Warsaw +Central\ European\ Standard\ Time=Europe/Warsaw +Central\ Pacific\ Daylight\ Time=Pacific/Guadalcanal +Central\ Pacific\ Standard\ Time=Pacific/Guadalcanal +Central\ Standard\ Time=America/Chicago +Central\ Standard\ Time\ (Mexico)=America/Mexico_City +Chatham\ Islands\ Daylight\ Time=Pacific/Chatham +Chatham\ Islands\ Standard\ Time=Pacific/Chatham +China\ Daylight\ Time=Asia/Shanghai +China\ Standard\ Time=Asia/Shanghai +Cuba\ Daylight\ Time=America/Havana +Cuba\ Standard\ Time=America/Havana +Dateline\ Daylight\ Time=Etc/GMT+12 +Dateline\ Standard\ Time=Etc/GMT+12 +E.\ Africa\ Daylight\ Time=Africa/Nairobi +E.\ Africa\ Standard\ Time=Africa/Nairobi +E.\ Australia\ Daylight\ Time=Australia/Brisbane +E.\ Australia\ Standard\ Time=Australia/Brisbane +E.\ Europe\ Daylight\ Time=Europe/Chisinau +E.\ Europe\ Standard\ Time=Europe/Chisinau +E.\ South\ America\ Daylight\ Time=America/Sao_Paulo +E.\ South\ America\ Standard\ Time=America/Sao_Paulo +Easter\ Island\ Daylight\ Time=Pacific/Easter +Easter\ Island\ Standard\ Time=Pacific/Easter +Eastern\ Daylight\ Time=America/New_York +Eastern\ Daylight\ Time\ (Mexico)=America/Cancun +Eastern\ Standard\ Time=America/New_York +Eastern\ Standard\ Time\ (Mexico)=America/Cancun +Egypt\ Daylight\ Time=Africa/Cairo +Egypt\ Standard\ Time=Africa/Cairo +Ekaterinburg\ Daylight\ Time=Asia/Yekaterinburg +Ekaterinburg\ Standard\ Time=Asia/Yekaterinburg +FLE\ Daylight\ Time=Europe/Kiev +FLE\ Standard\ Time=Europe/Kiev +Fiji\ Daylight\ Time=Pacific/Fiji +Fiji\ Standard\ Time=Pacific/Fiji +GMT\ Daylight\ Time=Europe/London +GMT\ Standard\ Time=Europe/London +GTB\ Daylight\ Time=Europe/Bucharest +GTB\ Standard\ Time=Europe/Bucharest +Georgian\ Daylight\ Time=Asia/Tbilisi +Georgian\ Standard\ Time=Asia/Tbilisi +Greenland\ Daylight\ Time=America/Godthab +Greenland\ Standard\ Time=America/Godthab +Greenwich\ Daylight\ Time=Atlantic/Reykjavik +Greenwich\ Standard\ Time=Atlantic/Reykjavik +Haiti\ Daylight\ Time=America/Port-au-Prince +Haiti\ Standard\ Time=America/Port-au-Prince +Hawaiian\ Daylight\ Time=Pacific/Honolulu +Hawaiian\ Standard\ Time=Pacific/Honolulu +India\ Daylight\ Time=Asia/Calcutta +India\ Standard\ Time=Asia/Calcutta +Iran\ Daylight\ Time=Asia/Tehran +Iran\ Standard\ Time=Asia/Tehran +Israel\ Daylight\ Time=Asia/Jerusalem +Israel\ Standard\ Time=Asia/Jerusalem +Jordan\ Daylight\ Time=Asia/Amman +Jordan\ Standard\ Time=Asia/Amman +Kaliningrad\ Daylight\ Time=Europe/Kaliningrad +Kaliningrad\ Standard\ Time=Europe/Kaliningrad +Korea\ Daylight\ Time=Asia/Seoul +Korea\ Standard\ Time=Asia/Seoul +Libya\ Daylight\ Time=Africa/Tripoli +Libya\ Standard\ Time=Africa/Tripoli +Line\ Islands\ Daylight\ Time=Pacific/Kiritimati +Line\ Islands\ Standard\ Time=Pacific/Kiritimati +Lord\ Howe\ Daylight\ Time=Australia/Lord_Howe +Lord\ Howe\ Standard\ Time=Australia/Lord_Howe +Magadan\ Daylight\ Time=Asia/Magadan +Magadan\ Standard\ Time=Asia/Magadan +Magallanes\ Daylight\ Time=America/Punta_Arenas +Magallanes\ Standard\ Time=America/Punta_Arenas +Marquesas\ Daylight\ Time=Pacific/Marquesas +Marquesas\ Standard\ Time=Pacific/Marquesas +Mauritius\ Daylight\ Time=Indian/Mauritius +Mauritius\ Standard\ Time=Indian/Mauritius +Middle\ East\ Daylight\ Time=Asia/Beirut +Middle\ East\ Standard\ Time=Asia/Beirut +Montevideo\ Daylight\ Time=America/Montevideo +Montevideo\ Standard\ Time=America/Montevideo +Morocco\ Daylight\ Time=Africa/Casablanca +Morocco\ Standard\ Time=Africa/Casablanca +Mountain\ Daylight\ Time=America/Denver +Mountain\ Daylight\ Time\ (Mexico)=America/Mazatlan +Mountain\ Standard\ Time=America/Denver +Mountain\ Standard\ Time\ (Mexico)=America/Mazatlan +Myanmar\ Daylight\ Time=Asia/Rangoon +Myanmar\ Standard\ Time=Asia/Rangoon +N.\ Central\ Asia\ Daylight\ Time=Asia/Novosibirsk +N.\ Central\ Asia\ Standard\ Time=Asia/Novosibirsk +Namibia\ Daylight\ Time=Africa/Windhoek +Namibia\ Standard\ Time=Africa/Windhoek +Nepal\ Daylight\ Time=Asia/Katmandu +Nepal\ Standard\ Time=Asia/Katmandu +New\ Zealand\ Daylight\ Time=Pacific/Auckland +New\ Zealand\ Standard\ Time=Pacific/Auckland +Newfoundland\ Daylight\ Time=America/St_Johns +Newfoundland\ Standard\ Time=America/St_Johns +Norfolk\ Daylight\ Time=Pacific/Norfolk +Norfolk\ Standard\ Time=Pacific/Norfolk +North\ Asia\ Daylight\ Time=Asia/Krasnoyarsk +North\ Asia\ East\ Daylight\ Time=Asia/Irkutsk +North\ Asia\ East\ Standard\ Time=Asia/Irkutsk +North\ Asia\ Standard\ Time=Asia/Krasnoyarsk +North\ Korea\ Daylight\ Time=Asia/Pyongyang +North\ Korea\ Standard\ Time=Asia/Pyongyang +Omsk\ Daylight\ Time=Asia/Omsk +Omsk\ Standard\ Time=Asia/Omsk +Pacific\ Daylight\ Time=America/Los_Angeles +Pacific\ Daylight\ Time\ (Mexico)=America/Tijuana +Pacific\ SA\ Daylight\ Time=America/Santiago +Pacific\ SA\ Standard\ Time=America/Santiago +Pacific\ Standard\ Time=America/Los_Angeles +Pacific\ Standard\ Time\ (Mexico)=America/Tijuana +Pakistan\ Daylight\ Time=Asia/Karachi +Pakistan\ Standard\ Time=Asia/Karachi +Paraguay\ Daylight\ Time=America/Asuncion +Paraguay\ Standard\ Time=America/Asuncion +Qyzylorda\ Daylight\ Time=Asia/Qyzylorda +Qyzylorda\ Standard\ Time=Asia/Qyzylorda +Romance\ Daylight\ Time=Europe/Paris +Romance\ Standard\ Time=Europe/Paris +Russia\ Time\ Zone\ 10=Asia/Srednekolymsk +Russia\ Time\ Zone\ 11=Asia/Kamchatka +Russia\ Time\ Zone\ 3=Europe/Samara +Russian\ Daylight\ Time=Europe/Moscow +Russian\ Standard\ Time=Europe/Moscow +SA\ Eastern\ Daylight\ Time=America/Cayenne +SA\ Eastern\ Standard\ Time=America/Cayenne +SA\ Pacific\ Daylight\ Time=America/Bogota +SA\ Pacific\ Standard\ Time=America/Bogota +SA\ Western\ Daylight\ Time=America/La_Paz +SA\ Western\ Standard\ Time=America/La_Paz +SE\ Asia\ Daylight\ Time=Asia/Bangkok +SE\ Asia\ Standard\ Time=Asia/Bangkok +Saint\ Pierre\ Daylight\ Time=America/Miquelon +Saint\ Pierre\ Standard\ Time=America/Miquelon +Sakhalin\ Daylight\ Time=Asia/Sakhalin +Sakhalin\ Standard\ Time=Asia/Sakhalin +Samoa\ Daylight\ Time=Pacific/Apia +Samoa\ Standard\ Time=Pacific/Apia +Sao\ Tome\ Daylight\ Time=Africa/Sao_Tome +Sao\ Tome\ Standard\ Time=Africa/Sao_Tome +Saratov\ Daylight\ Time=Europe/Saratov +Saratov\ Standard\ Time=Europe/Saratov +Singapore\ Daylight\ Time=Asia/Singapore +Singapore\ Standard\ Time=Asia/Singapore +South\ Africa\ Daylight\ Time=Africa/Johannesburg +South\ Africa\ Standard\ Time=Africa/Johannesburg +South\ Sudan\ Daylight\ Time=Africa/Juba +South\ Sudan\ Standard\ Time=Africa/Juba +Sri\ Lanka\ Daylight\ Time=Asia/Colombo +Sri\ Lanka\ Standard\ Time=Asia/Colombo +Sudan\ Daylight\ Time=Africa/Khartoum +Sudan\ Standard\ Time=Africa/Khartoum +Syria\ Daylight\ Time=Asia/Damascus +Syria\ Standard\ Time=Asia/Damascus +Taipei\ Daylight\ Time=Asia/Taipei +Taipei\ Standard\ Time=Asia/Taipei +Tasmania\ Daylight\ Time=Australia/Hobart +Tasmania\ Standard\ Time=Australia/Hobart +Tocantins\ Daylight\ Time=America/Araguaina +Tocantins\ Standard\ Time=America/Araguaina +Tokyo\ Daylight\ Time=Asia/Tokyo +Tokyo\ Standard\ Time=Asia/Tokyo +Tomsk\ Daylight\ Time=Asia/Tomsk +Tomsk\ Standard\ Time=Asia/Tomsk +Tonga\ Daylight\ Time=Pacific/Tongatapu +Tonga\ Standard\ Time=Pacific/Tongatapu +Transbaikal\ Daylight\ Time=Asia/Chita +Transbaikal\ Standard\ Time=Asia/Chita +Turkey\ Daylight\ Time=Europe/Istanbul +Turkey\ Standard\ Time=Europe/Istanbul +Turks\ And\ Caicos\ Daylight\ Time=America/Grand_Turk +Turks\ And\ Caicos\ Standard\ Time=America/Grand_Turk +US\ Eastern\ Daylight\ Time=America/Indianapolis +US\ Eastern\ Standard\ Time=America/Indianapolis +US\ Mountain\ Daylight\ Time=America/Phoenix +US\ Mountain\ Standard\ Time=America/Phoenix +UTC=Etc/UTC +UTC+12=Etc/GMT-12 +UTC+13=Etc/GMT-13 +UTC-02=Etc/GMT+2 +UTC-08=Etc/GMT+8 +UTC-09=Etc/GMT+9 +UTC-11=Etc/GMT+11 +Ulaanbaatar\ Daylight\ Time=Asia/Ulaanbaatar +Ulaanbaatar\ Standard\ Time=Asia/Ulaanbaatar +Venezuela\ Daylight\ Time=America/Caracas +Venezuela\ Standard\ Time=America/Caracas +Vladivostok\ Daylight\ Time=Asia/Vladivostok +Vladivostok\ Standard\ Time=Asia/Vladivostok +Volgograd\ Daylight\ Time=Europe/Volgograd +Volgograd\ Standard\ Time=Europe/Volgograd +W.\ Australia\ Daylight\ Time=Australia/Perth +W.\ Australia\ Standard\ Time=Australia/Perth +W.\ Central\ Africa\ Daylight\ Time=Africa/Lagos +W.\ Central\ Africa\ Standard\ Time=Africa/Lagos +W.\ Europe\ Daylight\ Time=Europe/Berlin +W.\ Europe\ Standard\ Time=Europe/Berlin +W.\ Mongolia\ Daylight\ Time=Asia/Hovd +W.\ Mongolia\ Standard\ Time=Asia/Hovd +West\ Asia\ Daylight\ Time=Asia/Tashkent +West\ Asia\ Standard\ Time=Asia/Tashkent +West\ Bank\ Daylight\ Time=Asia/Hebron +West\ Bank\ Standard\ Time=Asia/Hebron +West\ Pacific\ Daylight\ Time=Pacific/Port_Moresby +West\ Pacific\ Standard\ Time=Pacific/Port_Moresby +Yakutsk\ Daylight\ Time=Asia/Yakutsk +Yakutsk\ Standard\ Time=Asia/Yakutsk +Yukon\ Daylight\ Time=America/Whitehorse +Yukon\ Standard\ Time=America/Whitehorse +#Exemplar cities [Unicode CLDR] +#Wed Sep 03 14:28:52 WEST 2025 +ACT=Australia/ACT +Abidjan=Africa/Abidjan +Accra=Africa/Accra +Acre=Brazil/Acre +Adak=America/Adak +Addis\ Ababa=Africa/Addis_Ababa +Adelaide=Australia/Adelaide +Aden=Asia/Aden +Alaska=US/Alaska +Aleutian=US/Aleutian +Algiers=Africa/Algiers +Almaty=Asia/Almaty +Amman=Asia/Amman +Amsterdam=Europe/Amsterdam +Anadyr=Asia/Anadyr +Anchorage=America/Anchorage +Andorra=Europe/Andorra +Anguilla=America/Anguilla +Antananarivo=Indian/Antananarivo +Antigua=America/Antigua +Apia=Pacific/Apia +Aqtau=Asia/Aqtau +Aqtobe=Asia/Aqtobe +Araguaina=America/Araguaina +Arizona=US/Arizona +Aruba=America/Aruba +Ashgabat=Asia/Ashgabat +Ashkhabad=Asia/Ashkhabad +Asmara=Africa/Asmara +Asmera=Africa/Asmera +Astrakhan=Europe/Astrakhan +Asuncion=America/Asuncion +Athens=Europe/Athens +Atikokan=America/Atikokan +Atka=America/Atka +Atlantic=Canada/Atlantic +Atyrau=Asia/Atyrau +Auckland=Pacific/Auckland +Azores=Atlantic/Azores +Baghdad=Asia/Baghdad +Bahia=America/Bahia +Bahia\ Banderas=America/Bahia_Banderas +Bahrain=Asia/Bahrain +BajaNorte=Mexico/BajaNorte +BajaSur=Mexico/BajaSur +Baku=Asia/Baku +Bamako=Africa/Bamako +Bangkok=Asia/Bangkok +Bangui=Africa/Bangui +Banjul=Africa/Banjul +Barbados=America/Barbados +Barnaul=Asia/Barnaul +Beirut=Asia/Beirut +Belem=America/Belem +Belfast=Europe/Belfast +Belgrade=Europe/Belgrade +Belize=America/Belize +Berlin=Europe/Berlin +Bermuda=Atlantic/Bermuda +Beulah=America/North_Dakota/Beulah +Bishkek=Asia/Bishkek +Bissau=Africa/Bissau +Blanc-Sablon=America/Blanc-Sablon +Blantyre=Africa/Blantyre +Boa\ Vista=America/Boa_Vista +Bogota=America/Bogota +Boise=America/Boise +Bougainville=Pacific/Bougainville +Bratislava=Europe/Bratislava +Brazzaville=Africa/Brazzaville +Brisbane=Australia/Brisbane +Broken\ Hill=Australia/Broken_Hill +Brunei=Asia/Brunei +Brussels=Europe/Brussels +Bucharest=Europe/Bucharest +Budapest=Europe/Budapest +Buenos\ Aires=America/Buenos_Aires +Bujumbura=Africa/Bujumbura +Busingen=Europe/Busingen +Cairo=Africa/Cairo +Calcutta=Asia/Calcutta +Cambridge\ Bay=America/Cambridge_Bay +Campo\ Grande=America/Campo_Grande +Canary=Atlantic/Canary +Canberra=Australia/Canberra +Cancun=America/Cancun +Cape\ Verde=Atlantic/Cape_Verde +Caracas=America/Caracas +Casablanca=Africa/Casablanca +Casey=Antarctica/Casey +Catamarca=America/Catamarca +Cayenne=America/Cayenne +Cayman=America/Cayman +Center=America/North_Dakota/Center +Central=US/Central +Ceuta=Africa/Ceuta +Chagos=Indian/Chagos +Chatham=Pacific/Chatham +Chicago=America/Chicago +Chihuahua=America/Chihuahua +Chisinau=Europe/Chisinau +Chita=Asia/Chita +Choibalsan=Asia/Choibalsan +Chongqing=Asia/Chongqing +Christmas\ Island=Indian/Christmas +Chungking=Asia/Chungking +Chuuk=Pacific/Chuuk +Ciudad\ Juarez=America/Ciudad_Juarez +Cocos\ Islands=Indian/Cocos +Colombo=Asia/Colombo +ComodRivadavia=America/Argentina/ComodRivadavia +Comoro=Indian/Comoro +Conakry=Africa/Conakry +Continental=Chile/Continental +Copenhagen=Europe/Copenhagen +Coral\ Harbour=America/Coral_Harbour +Cordoba=America/Cordoba +Costa\ Rica=America/Costa_Rica +Creston=America/Creston +Cuiaba=America/Cuiaba +Curacao=America/Curacao +Currie=Australia/Currie +Dacca=Asia/Dacca +Dakar=Africa/Dakar +Damascus=Asia/Damascus +Danmarkshavn=America/Danmarkshavn +Dar\ es\ Salaam=Africa/Dar_es_Salaam +Darwin=Australia/Darwin +Davis=Antarctica/Davis +Dawson=America/Dawson +Dawson\ Creek=America/Dawson_Creek +DeNoronha=Brazil/DeNoronha +Denver=America/Denver +Detroit=America/Detroit +Dhaka=Asia/Dhaka +Dili=Asia/Dili +Djibouti=Africa/Djibouti +Dominica=America/Dominica +Douala=Africa/Douala +Dubai=Asia/Dubai +Dublin=Europe/Dublin +DumontDUrville=Antarctica/DumontDUrville +Dushanbe=Asia/Dushanbe +East=Brazil/East +East-Indiana=US/East-Indiana +East-Saskatchewan=Canada/East-Saskatchewan +Easter\ Island=Pacific/Easter +EasterIsland=Chile/EasterIsland +Eastern=US/Eastern +Edmonton=America/Edmonton +Efate=Pacific/Efate +Eirunepe=America/Eirunepe +El\ Aaiun=Africa/El_Aaiun +El\ Salvador=America/El_Salvador +Enderbury=Pacific/Enderbury +Ensenada=America/Ensenada +Eucla=Australia/Eucla +Faeroe=Atlantic/Faeroe +Fakaofo=Pacific/Fakaofo +Famagusta=Asia/Famagusta +Faroe=Atlantic/Faroe +Fiji=Pacific/Fiji +Fort\ Nelson=America/Fort_Nelson +Fort\ Wayne=America/Fort_Wayne +Fortaleza=America/Fortaleza +Freetown=Africa/Freetown +Funafuti=Pacific/Funafuti +GMT=Etc/GMT +GMT+0=Etc/GMT+0 +GMT+1=Etc/GMT+1 +GMT+10=Etc/GMT+10 +GMT+11=Etc/GMT+11 +GMT+12=Etc/GMT+12 +GMT+2=Etc/GMT+2 +GMT+3=Etc/GMT+3 +GMT+4=Etc/GMT+4 +GMT+5=Etc/GMT+5 +GMT+6=Etc/GMT+6 +GMT+7=Etc/GMT+7 +GMT+8=Etc/GMT+8 +GMT+9=Etc/GMT+9 +GMT-0=Etc/GMT-0 +GMT-1=Etc/GMT-1 +GMT-10=Etc/GMT-10 +GMT-11=Etc/GMT-11 +GMT-12=Etc/GMT-12 +GMT-13=Etc/GMT-13 +GMT-14=Etc/GMT-14 +GMT-2=Etc/GMT-2 +GMT-3=Etc/GMT-3 +GMT-4=Etc/GMT-4 +GMT-5=Etc/GMT-5 +GMT-6=Etc/GMT-6 +GMT-7=Etc/GMT-7 +GMT-8=Etc/GMT-8 +GMT-9=Etc/GMT-9 +GMT0=Etc/GMT0 +Gaborone=Africa/Gaborone +Galapagos=Pacific/Galapagos +Gambier=Pacific/Gambier +Gaza=Asia/Gaza +General=Mexico/General +Gibraltar=Europe/Gibraltar +Glace\ Bay=America/Glace_Bay +Godthab=America/Godthab +Goose\ Bay=America/Goose_Bay +Grand\ Turk=America/Grand_Turk +Greenwich=Etc/Greenwich +Grenada=America/Grenada +Guadalcanal=Pacific/Guadalcanal +Guadeloupe=America/Guadeloupe +Guam=Pacific/Guam +Guatemala=America/Guatemala +Guayaquil=America/Guayaquil +Guernsey=Europe/Guernsey +Guyana=America/Guyana +Halifax=America/Halifax +Harare=Africa/Harare +Harbin=Asia/Harbin +Havana=America/Havana +Hawaii=US/Hawaii +Hebron=Asia/Hebron +Helsinki=Europe/Helsinki +Hermosillo=America/Hermosillo +Ho\ Chi\ Minh=Asia/Ho_Chi_Minh +Ho\ Chi\ Minh\ City=Asia/Saigon +Hobart=Australia/Hobart +Hong\ Kong=Asia/Hong_Kong +Honolulu=Pacific/Honolulu +Hovd=Asia/Hovd +Indiana-Starke=US/Indiana-Starke +Indianapolis=America/Indianapolis +Inuvik=America/Inuvik +Iqaluit=America/Iqaluit +Irkutsk=Asia/Irkutsk +Isle\ of\ Man=Europe/Isle_of_Man +Istanbul=Europe/Istanbul +Jakarta=Asia/Jakarta +Jamaica=America/Jamaica +Jan\ Mayen=Atlantic/Jan_Mayen +Jayapura=Asia/Jayapura +Jersey=Europe/Jersey +Jerusalem=Asia/Jerusalem +Johannesburg=Africa/Johannesburg +Johnston=Pacific/Johnston +Juba=Africa/Juba +Jujuy=America/Jujuy +Juneau=America/Juneau +Kabul=Asia/Kabul +Kaliningrad=Europe/Kaliningrad +Kamchatka=Asia/Kamchatka +Kampala=Africa/Kampala +Kanton=Pacific/Kanton +Karachi=Asia/Karachi +Kashgar=Asia/Kashgar +Kathmandu=Asia/Kathmandu +Katmandu=Asia/Katmandu +Kerguelen=Indian/Kerguelen +Khandyga=Asia/Khandyga +Khartoum=Africa/Khartoum +Kiev=Europe/Kiev +Kigali=Africa/Kigali +Kinshasa=Africa/Kinshasa +Kiritimati=Pacific/Kiritimati +Kirov=Europe/Kirov +Knox=America/Indiana/Knox +Knox\ IN=America/Knox_IN +Kolkata=Asia/Kolkata +Kosrae=Pacific/Kosrae +Kostanay=Asia/Qostanay +Kralendijk=America/Kralendijk +Krasnoyarsk=Asia/Krasnoyarsk +Kuala\ Lumpur=Asia/Kuala_Lumpur +Kuching=Asia/Kuching +Kuwait=Asia/Kuwait +Kwajalein=Pacific/Kwajalein +Kyiv=Europe/Kyiv +LHI=Australia/LHI +La\ Paz=America/La_Paz +La\ Rioja=America/Argentina/La_Rioja +Lagos=Africa/Lagos +Libreville=Africa/Libreville +Lima=America/Lima +Lindeman=Australia/Lindeman +Lisbon=Europe/Lisbon +Ljubljana=Europe/Ljubljana +Lome=Africa/Lome +London=Europe/London +Longyearbyen=Arctic/Longyearbyen +Lord\ Howe\ Island=Australia/Lord_Howe +Los\ Angeles=America/Los_Angeles +Louisville=America/Louisville +Lower\ Princes=America/Lower_Princes +Luanda=Africa/Luanda +Lubumbashi=Africa/Lubumbashi +Lusaka=Africa/Lusaka +Luxembourg=Europe/Luxembourg +Macao=Asia/Macao +Macau=Asia/Macau +Maceio=America/Maceio +Macquarie\ Island=Antarctica/Macquarie +Madeira=Atlantic/Madeira +Madrid=Europe/Madrid +Magadan=Asia/Magadan +Mahe=Indian/Mahe +Majuro=Pacific/Majuro +Makassar=Asia/Makassar +Malabo=Africa/Malabo +Maldives=Indian/Maldives +Malta=Europe/Malta +Managua=America/Managua +Manaus=America/Manaus +Manila=Asia/Manila +Maputo=Africa/Maputo +Marengo=America/Indiana/Marengo +Mariehamn=Europe/Mariehamn +Marigot=America/Marigot +Marquesas=Pacific/Marquesas +Martinique=America/Martinique +Maseru=Africa/Maseru +Matamoros=America/Matamoros +Mauritius=Indian/Mauritius +Mawson=Antarctica/Mawson +Mayotte=Indian/Mayotte +Mazatlan=America/Mazatlan +Mbabane=Africa/Mbabane +McMurdo=Antarctica/McMurdo +Melbourne=Australia/Melbourne +Mendoza=America/Mendoza +Menominee=America/Menominee +Merida=America/Merida +Metlakatla=America/Metlakatla +Mexico\ City=America/Mexico_City +Michigan=US/Michigan +Midway=Pacific/Midway +Minsk=Europe/Minsk +Miquelon=America/Miquelon +Mogadishu=Africa/Mogadishu +Monaco=Europe/Monaco +Moncton=America/Moncton +Monrovia=Africa/Monrovia +Monterrey=America/Monterrey +Montevideo=America/Montevideo +Monticello=America/Kentucky/Monticello +Montreal=America/Montreal +Montserrat=America/Montserrat +Moscow=Europe/Moscow +Mountain=US/Mountain +Muscat=Asia/Muscat +NSW=Australia/NSW +Nairobi=Africa/Nairobi +Nassau=America/Nassau +Nauru=Pacific/Nauru +Ndjamena=Africa/Ndjamena +New\ Salem=America/North_Dakota/New_Salem +New\ York=America/New_York +Newfoundland=Canada/Newfoundland +Niamey=Africa/Niamey +Nicosia=Europe/Nicosia +Nipigon=America/Nipigon +Niue=Pacific/Niue +Nome=America/Nome +Norfolk\ Island=Pacific/Norfolk +Noronha=America/Noronha +North=Australia/North +Nouakchott=Africa/Nouakchott +Noumea=Pacific/Noumea +Novokuznetsk=Asia/Novokuznetsk +Novosibirsk=Asia/Novosibirsk +Nuuk=America/Nuuk +Ojinaga=America/Ojinaga +Omsk=Asia/Omsk +Oral=Asia/Oral +Oslo=Europe/Oslo +Ouagadougou=Africa/Ouagadougou +Pacific=US/Pacific +Pacific-New=US/Pacific-New +Pago\ Pago=Pacific/Pago_Pago +Palau=Pacific/Palau +Palmer=Antarctica/Palmer +Panama=America/Panama +Pangnirtung=America/Pangnirtung +Paramaribo=America/Paramaribo +Paris=Europe/Paris +Perth=Australia/Perth +Petersburg=America/Indiana/Petersburg +Phnom\ Penh=Asia/Phnom_Penh +Phoenix=America/Phoenix +Pitcairn=Pacific/Pitcairn +Podgorica=Europe/Podgorica +Pohnpei=Pacific/Pohnpei +Ponape=Pacific/Ponape +Pontianak=Asia/Pontianak +Port\ Moresby=Pacific/Port_Moresby +Port\ of\ Spain=America/Port_of_Spain +Port-au-Prince=America/Port-au-Prince +Porto\ Acre=America/Porto_Acre +Porto\ Velho=America/Porto_Velho +Porto-Novo=Africa/Porto-Novo +Prague=Europe/Prague +Puerto\ Rico=America/Puerto_Rico +Punta\ Arenas=America/Punta_Arenas +Pyongyang=Asia/Pyongyang +Qatar=Asia/Qatar +Queensland=Australia/Queensland +Qyzylorda=Asia/Qyzylorda +Rainy\ River=America/Rainy_River +Rangoon=Asia/Rangoon +Rankin\ Inlet=America/Rankin_Inlet +Rarotonga=Pacific/Rarotonga +Recife=America/Recife +Regina=America/Regina +Resolute=America/Resolute +Reunion=Indian/Reunion +Reykjavik=Atlantic/Reykjavik +Riga=Europe/Riga +Rio\ Branco=America/Rio_Branco +Rio\ Gallegos=America/Argentina/Rio_Gallegos +Riyadh=Asia/Riyadh +Rome=Europe/Rome +Rosario=America/Rosario +Rothera=Antarctica/Rothera +Saipan=Pacific/Saipan +Sakhalin=Asia/Sakhalin +Salta=America/Argentina/Salta +Samara=Europe/Samara +Samarkand=Asia/Samarkand +Samoa=US/Samoa +San\ Juan=America/Argentina/San_Juan +San\ Luis=America/Argentina/San_Luis +San\ Marino=Europe/San_Marino +Santa\ Isabel=America/Santa_Isabel +Santarem=America/Santarem +Santiago=America/Santiago +Santo\ Domingo=America/Santo_Domingo +Sao\ Paulo=America/Sao_Paulo +Sao\ Tome=Africa/Sao_Tome +Sarajevo=Europe/Sarajevo +Saratov=Europe/Saratov +Saskatchewan=Canada/Saskatchewan +Scoresbysund=America/Scoresbysund +Seoul=Asia/Seoul +Shanghai=Asia/Shanghai +Shiprock=America/Shiprock +Simferopol=Europe/Simferopol +Singapore=Asia/Singapore +Sitka=America/Sitka +Skopje=Europe/Skopje +Sofia=Europe/Sofia +South=Australia/South +South\ Georgia=Atlantic/South_Georgia +South\ Pole=Antarctica/South_Pole +Srednekolymsk=Asia/Srednekolymsk +St\ Barthelemy=America/St_Barthelemy +St\ Helena=Atlantic/St_Helena +St\ Johns=America/St_Johns +St\ Kitts=America/St_Kitts +St\ Lucia=America/St_Lucia +St\ Thomas=America/St_Thomas +St\ Vincent=America/St_Vincent +Stanley=Atlantic/Stanley +Stockholm=Europe/Stockholm +Swift\ Current=America/Swift_Current +Sydney=Australia/Sydney +Syowa=Antarctica/Syowa +Tahiti=Pacific/Tahiti +Taipei=Asia/Taipei +Tallinn=Europe/Tallinn +Tarawa=Pacific/Tarawa +Tashkent=Asia/Tashkent +Tasmania=Australia/Tasmania +Tbilisi=Asia/Tbilisi +Tegucigalpa=America/Tegucigalpa +Tehran=Asia/Tehran +Tel\ Aviv=Asia/Tel_Aviv +Tell\ City=America/Indiana/Tell_City +Thimbu=Asia/Thimbu +Thimphu=Asia/Thimphu +Thule=America/Thule +Thunder\ Bay=America/Thunder_Bay +Tijuana=America/Tijuana +Timbuktu=Africa/Timbuktu +Tirane=Europe/Tirane +Tiraspol=Europe/Tiraspol +Tokyo=Asia/Tokyo +Tomsk=Asia/Tomsk +Tongatapu=Pacific/Tongatapu +Toronto=America/Toronto +Tortola=America/Tortola +Tripoli=Africa/Tripoli +Troll=Antarctica/Troll +Truk=Pacific/Truk +Tucuman=America/Argentina/Tucuman +Tunis=Africa/Tunis +UCT=Etc/UCT +Ujung\ Pandang=Asia/Ujung_Pandang +Ulaanbaatar=Asia/Ulaanbaatar +Ulan\ Bator=Asia/Ulan_Bator +Ulyanovsk=Europe/Ulyanovsk +Universal=Etc/Universal +Unknown\ City=Etc/Unknown +Urumqi=Asia/Urumqi +Ushuaia=America/Argentina/Ushuaia +Ust-Nera=Asia/Ust-Nera +Uzhgorod=Europe/Uzhgorod +Vaduz=Europe/Vaduz +Vancouver=America/Vancouver +Vatican=Europe/Vatican +Vevay=America/Indiana/Vevay +Victoria=Australia/Victoria +Vienna=Europe/Vienna +Vientiane=Asia/Vientiane +Vilnius=Europe/Vilnius +Vincennes=America/Indiana/Vincennes +Virgin=America/Virgin +Vladivostok=Asia/Vladivostok +Volgograd=Europe/Volgograd +Vostok=Antarctica/Vostok +Wake\ Island=Pacific/Wake +Wallis=Pacific/Wallis +Warsaw=Europe/Warsaw +West=Brazil/West +Whitehorse=America/Whitehorse +Winamac=America/Indiana/Winamac +Windhoek=Africa/Windhoek +Winnipeg=America/Winnipeg +Yakutat=America/Yakutat +Yakutsk=Asia/Yakutsk +Yancowinna=Australia/Yancowinna +Yangon=Asia/Yangon +Yap=Pacific/Yap +Yekaterinburg=Asia/Yekaterinburg +Yellowknife=America/Yellowknife +Yerevan=Asia/Yerevan +Yukon=Canada/Yukon +Zagreb=Europe/Zagreb +Zaporozhye=Europe/Zaporozhye +Zulu=Etc/Zulu +Zurich=Europe/Zurich +#Time zone designations [Unicode CLDR] +#Wed Sep 03 14:28:52 WEST 2025 +1\ hour\ ahead\ of\ UTC=Etc/GMT-1 +1\ hour\ behind\ UTC=Etc/GMT+1 +10\ hours\ ahead\ of\ UTC=Etc/GMT-10 +10\ hours\ behind\ UTC=Etc/GMT+10 +11\ hours\ ahead\ of\ UTC=Etc/GMT-11 +11\ hours\ behind\ UTC=Etc/GMT+11 +12\ hours\ ahead\ of\ UTC=Etc/GMT-12 +12\ hours\ behind\ UTC=Etc/GMT+12 +13\ hours\ ahead\ of\ UTC=Etc/GMT-13 +14\ hours\ ahead\ of\ UTC=Etc/GMT-14 +2\ hours\ ahead\ of\ UTC=Etc/GMT-2 +2\ hours\ behind\ UTC=Etc/GMT+2 +3\ hours\ ahead\ of\ UTC=Etc/GMT-3 +3\ hours\ behind\ UTC=Etc/GMT+3 +4\ hours\ ahead\ of\ UTC=Etc/GMT-4 +4\ hours\ behind\ UTC=Etc/GMT+4 +5\ hours\ ahead\ of\ UTC=Etc/GMT-5 +5\ hours\ behind\ UTC=Etc/GMT+5 +6\ hours\ ahead\ of\ UTC=Etc/GMT-6 +6\ hours\ behind\ UTC=Etc/GMT+6 +7\ hours\ ahead\ of\ UTC=Etc/GMT-7 +7\ hours\ behind\ UTC=Etc/GMT+7 +8\ hours\ ahead\ of\ UTC=Etc/GMT-8 +8\ hours\ behind\ UTC=Etc/GMT+8 +9\ hours\ ahead\ of\ UTC=Etc/GMT-9 +9\ hours\ behind\ UTC=Etc/GMT+9 +Abidjan,\ C\u00F4te\ d'Ivoire=Africa/Abidjan +Accra,\ Ghana=Africa/Accra +Adak\ (Alaska),\ United\ States=America/Adak +Addis\ Ababa,\ Ethiopia=Africa/Addis_Ababa +Adelaide,\ Australia=Australia/Adelaide +Aden,\ Yemen=Asia/Aden +Algiers,\ Algeria=Africa/Algiers +Almaty,\ Kazakhstan=Asia/Almaty +Amman,\ Jordan=Asia/Amman +Amsterdam,\ Netherlands=Europe/Amsterdam +Anadyr,\ Russia=Asia/Anadyr +Anchorage,\ United\ States=America/Anchorage +Antananarivo,\ Madagascar=Indian/Antananarivo +Apia,\ Samoa=Pacific/Apia +Aqtau,\ Kazakhstan=Asia/Aqtau +Aqtobe,\ Kazakhstan=Asia/Aqtobe +Aragua\u00EDna,\ Brazil=America/Araguaina +Ashgabat,\ Turkmenistan=Asia/Ashgabat +Asmara,\ Eritrea=Africa/Asmera +Astrakhan,\ Russia=Europe/Astrakhan +Asunci\u00F3n,\ Paraguay=America/Asuncion +Athens,\ Greece=Europe/Athens +Atikokan,\ Canada=America/Coral_Harbour +Atyrau\ (Guryev),\ Kazakhstan=Asia/Atyrau +Auckland,\ New\ Zealand=Pacific/Auckland +Azores,\ Portugal=Atlantic/Azores +Baghdad,\ Iraq=Asia/Baghdad +Bahia,\ Brazil=America/Bahia +Bah\u00EDa\ de\ Banderas,\ Mexico=America/Bahia_Banderas +Baku,\ Azerbaijan=Asia/Baku +Bamako,\ Mali=Africa/Bamako +Bangkok,\ Thailand=Asia/Bangkok +Bangui,\ Central\ African\ Republic=Africa/Bangui +Banjul,\ Gambia=Africa/Banjul +Barnaul,\ Russia=Asia/Barnaul +Beirut,\ Lebanon=Asia/Beirut +Belgrade,\ Serbia=Europe/Belgrade +Bel\u00E9m,\ Brazil=America/Belem +Berlin,\ Germany=Europe/Berlin +Beulah\ (North\ Dakota),\ United\ States=America/North_Dakota/Beulah +Bishkek,\ Kyrgyzstan=Asia/Bishkek +Bissau,\ Guinea-Bissau=Africa/Bissau +Blanc-Sablon,\ Canada=America/Blanc-Sablon +Blantyre,\ Malawi=Africa/Blantyre +Boa\ Vista,\ Brazil=America/Boa_Vista +Bogot\u00E1,\ Colombia=America/Bogota +Boise\ (Idaho),\ United\ States=America/Boise +Bonaire,\ Sint\ Estatius\ and\ Saba=America/Kralendijk +Bougainville,\ Papua\ New\ Guinea=Pacific/Bougainville +Bratislava,\ Slovakia=Europe/Bratislava +Brazzaville,\ Republic\ of\ the\ Congo=Africa/Brazzaville +Brisbane,\ Australia=Australia/Brisbane +British\ Summer\ Time=Europe/London +Broken\ Hill,\ Australia=Australia/Broken_Hill +Brussels,\ Belgium=Europe/Brussels +Bucharest,\ Romania=Europe/Bucharest +Budapest,\ Hungary=Europe/Budapest +Buenos\ Aires,\ Argentina=America/Buenos_Aires +Bujumbura,\ Burundi=Africa/Bujumbura +Busingen,\ Germany=Europe/Busingen +Cairo,\ Egypt=Africa/Cairo +Cambridge\ Bay,\ Canada=America/Cambridge_Bay +Campo\ Grande,\ Brazil=America/Campo_Grande +Canary\ Islands,\ Spain=Atlantic/Canary +Canc\u00FAn,\ Mexico=America/Cancun +Caracas,\ Venezuela=America/Caracas +Casablanca,\ Morocco=Africa/Casablanca +Casey\ Station,\ Bailey\ Peninsula=Antarctica/Casey +Catamarca,\ Argentina=America/Catamarca +Cayenne,\ French\ Guiana=America/Cayenne +Cayman\ Islands=America/Cayman +Center\ (North\ Dakota),\ United\ States=America/North_Dakota/Center +Ceuta,\ Spain=Africa/Ceuta +Chagos\ Archipelago=Indian/Chagos +Chatham\ Islands,\ New\ Zealand=Pacific/Chatham +Chicago,\ United\ States=America/Chicago +Chihuahua,\ Mexico=America/Chihuahua +Chita\ Zabaykalsky,\ Russia=Asia/Chita +Chi\u015Fin\u0103u,\ Moldova=Europe/Chisinau +Chuuk,\ Micronesia=Pacific/Truk +Ciudad\ Ju\u00E1rez,\ Mexico=America/Ciudad_Juarez +Cocos\ (Keeling)\ Islands=Indian/Cocos +Colombo,\ Sri\ Lanka=Asia/Colombo +Comoros=Indian/Comoro +Conakry,\ Guinea=Africa/Conakry +Coordinated\ Universal\ Time=Etc/UTC +Copenhagen,\ Denmark=Europe/Copenhagen +Creston,\ Canada=America/Creston +Cuiab\u00E1,\ Brazil=America/Cuiaba +Cura\u00E7ao=America/Curacao +C\u00F3rdoba,\ Argentina=America/Cordoba +Dakar,\ Senegal=Africa/Dakar +Damascus,\ Syria=Asia/Damascus +Danmarkshavn,\ Greenland=America/Danmarkshavn +Dar\ es\ Salaam,\ Tanzania=Africa/Dar_es_Salaam +Darwin,\ Australia=Australia/Darwin +Davis\ Station,\ Vestfold\ Hills=Antarctica/Davis +Dawson\ Creek,\ Canada=America/Dawson_Creek +Dawson,\ Canada=America/Dawson +Denver,\ United\ States=America/Denver +Detroit,\ United\ States=America/Detroit +Dhaka,\ Bangladesh=Asia/Dhaka +Dili,\ East\ Timor=Asia/Dili +Douala,\ Cameroon=Africa/Douala +Dubai,\ United\ Arab\ Emirates=Asia/Dubai +Dublin,\ Ireland=Europe/Dublin +Dumont\ d'Urville\ Station,\ Terre\ Ad\u00E9lie=Antarctica/DumontDUrville +Dushanbe,\ Tajikistan=Asia/Dushanbe +Easter\ Island,\ Chile=Pacific/Easter +Edmonton,\ Canada=America/Edmonton +Efate,\ Vanuatu=Pacific/Efate +Eirunep\u00E9,\ Brazil=America/Eirunepe +El\ Aai\u00FAn,\ Western\ Sahara=Africa/El_Aaiun +Enderbury\ Island,\ Kiribati=Pacific/Enderbury +Eucla,\ Australia=Australia/Eucla +Fakaofo,\ Tokelau=Pacific/Fakaofo +Famagusta,\ Cyprus=Asia/Famagusta +Faroe\ Islands=Atlantic/Faeroe +Fernando\ de\ Noronha,\ Brazil=America/Noronha +Fort\ Nelson,\ Canada=America/Fort_Nelson +Fortaleza,\ Brazil=America/Fortaleza +Freetown,\ Sierra\ Leone=Africa/Freetown +Funafuti,\ Tuvalu=Pacific/Funafuti +Gaborone,\ Botswana=Africa/Gaborone +Gal\u00E1pagos\ Islands,\ Ecuador=Pacific/Galapagos +Gambiera\ Islands,\ French\ Polynesia=Pacific/Gambier +Gaza\ Strip,\ Palestinian\ Territories=Asia/Gaza +Glace\ Bay,\ Canada=America/Glace_Bay +Goose\ Bay,\ Canada=America/Goose_Bay +Grand\ Turk,\ Turks\ and\ Caicos\ Islands=America/Grand_Turk +Greenwich\ Mean\ Time=Etc/GMT +Guadalcanal,\ Solomon\ Islands=Pacific/Guadalcanal +Guayaquil,\ Ecuador=America/Guayaquil +HDT=Pacific/Honolulu +HST=Pacific/Honolulu +Halifax,\ Canada=America/Halifax +Harare,\ Zimbabwe=Africa/Harare +Havana,\ Cuba=America/Havana +Helsinki,\ Finland=Europe/Helsinki +Hermosillo,\ Mexico=America/Hermosillo +Ho\ Chi\ Minh\ City,\ Vietnam=Asia/Saigon +Hobart,\ Australia=Australia/Hobart +Hong\ Kong\ SAR\ China=Asia/Hong_Kong +Honolulu,\ United\ States=Pacific/Honolulu +Indianapolis,\ United\ States=America/Indianapolis +Inuvik,\ Canada=America/Inuvik +Iqaluit,\ Canada=America/Iqaluit +Irish\ Standard\ Time=Europe/Dublin +Irkutsk,\ Russia=Asia/Irkutsk +Istanbul,\ T\u00FCrkiye=Europe/Istanbul +Ittoqqortoormiit\ (Scoresbysund),\ Greenland=America/Scoresbysund +Jakarta,\ Indonesia=Asia/Jakarta +Jayapura,\ Indonesia=Asia/Jayapura +Johannesburg,\ South\ Africa=Africa/Johannesburg +Juba,\ South\ Sudan=Africa/Juba +Jujuy,\ Argentina=America/Jujuy +Juneau\ (Alaska),\ United\ States=America/Juneau +Kabul,\ Afghanistan=Asia/Kabul +Kaliningrad,\ Russia=Europe/Kaliningrad +Kamchatka\ Peninsula,\ Russia=Asia/Kamchatka +Kampala,\ Uganda=Africa/Kampala +Karachi,\ Pakistan=Asia/Karachi +Kathmandu,\ Nepal=Asia/Katmandu +Kerguelen\ Islands,\ French\ Southern\ Territories=Indian/Kerguelen +Khandyga\ Tomponsky,\ Russia=Asia/Khandyga +Khartoum,\ Sudan=Africa/Khartoum +Khovd\ (Hovd),\ Mongolia=Asia/Hovd +Kigali,\ Rwanda=Africa/Kigali +Kinshasa,\ Democratic\ Republic\ of\ the\ Congo=Africa/Kinshasa +Kiritimati,\ Kiribati=Pacific/Kiritimati +Kirov,\ Russia=Europe/Kirov +Knox\ (Indiana),\ United\ States=America/Indiana/Knox +Kolkata,\ India=Asia/Calcutta +Kosrae,\ Micronesia=Pacific/Kosrae +Krasnoyarsk,\ Russia=Asia/Krasnoyarsk +Kuala\ Lumpur,\ Malaysia=Asia/Kuala_Lumpur +Kuching,\ Malaysia=Asia/Kuching +Kwajalein,\ Marshall\ Islands=Pacific/Kwajalein +Kyiv,\ Ukraine=Europe/Kiev +Kyzylorda,\ Kazakhstan=Asia/Qyzylorda +La\ Paz,\ Bolivia=America/La_Paz +La\ Rioja,\ Argentina=America/Argentina/La_Rioja +Lagos,\ Nigeria=Africa/Lagos +Libreville,\ Gabon=Africa/Libreville +Lima,\ Peru=America/Lima +Lindeman\ Island,\ Australia=Australia/Lindeman +Lisbon,\ Portugal=Europe/Lisbon +Ljubljana,\ Slovenia=Europe/Ljubljana +Lom\u00E9,\ Togo=Africa/Lome +London,\ United\ Kingdom=Europe/London +Longyearbyen,\ Svalbard=Arctic/Longyearbyen +Lord\ Howe\ Island,\ Australia=Australia/Lord_Howe +Los\ Angeles,\ United\ States=America/Los_Angeles +Louisville\ (Kentucky),\ United\ States=America/Louisville +Luanda,\ Angola=Africa/Luanda +Lubumbashi,\ Democratic\ Republic\ of\ the\ Congo=Africa/Lubumbashi +Lusaka,\ Zambia=Africa/Lusaka +Macau\ SAR\ China=Asia/Macau +Macei\u00F3,\ Brazil=America/Maceio +Macquarie\ Island\ Station,\ Macquarie\ Island=Antarctica/Macquarie +Madeira,\ Portugal=Atlantic/Madeira +Madrid,\ Spain=Europe/Madrid +Magadan,\ Russia=Asia/Magadan +Mah\u00E9,\ Seychelles=Indian/Mahe +Majuro,\ Marshall\ Islands=Pacific/Majuro +Makassar,\ Indonesia=Asia/Makassar +Malabo,\ Equatorial\ Guinea=Africa/Malabo +Managua,\ Nicaragua=America/Managua +Manaus,\ Brazil=America/Manaus +Manila,\ Philippines=Asia/Manila +Maputo,\ Mozambique=Africa/Maputo +Marengo\ (Indiana),\ United\ States=America/Indiana/Marengo +Mariehamn,\ \u00C5land,\ Finland=Europe/Mariehamn +Marigot,\ Saint\ Martin=America/Marigot +Marquesas\ Islands,\ French\ Polynesia=Pacific/Marquesas +Maseru,\ Lesotho=Africa/Maseru +Matamoros,\ Mexico=America/Matamoros +Mawson\ Station,\ Holme\ Bay=Antarctica/Mawson +Mazatl\u00E1n,\ Mexico=America/Mazatlan +Mbabane,\ Swaziland=Africa/Mbabane +McMurdo\ Station,\ Ross\ Island=Antarctica/McMurdo +Melbourne,\ Australia=Australia/Melbourne +Mendoza,\ Argentina=America/Mendoza +Menominee\ (Michigan),\ United\ States=America/Menominee +Metlakatla\ (Alaska),\ United\ States=America/Metlakatla +Mexico\ City,\ Mexico=America/Mexico_City +Midway\ Islands,\ U.S.\ Minor\ Outlying\ Islands=Pacific/Midway +Minsk,\ Belarus=Europe/Minsk +Mogadishu,\ Somalia=Africa/Mogadishu +Moncton,\ Canada=America/Moncton +Monrovia,\ Liberia=Africa/Monrovia +Monterrey,\ Mexico=America/Monterrey +Montevideo,\ Uruguay=America/Montevideo +Monticello\ (Kentucky),\ United\ States=America/Kentucky/Monticello +Moscow,\ Russia=Europe/Moscow +Muscat,\ Oman=Asia/Muscat +M\u00E9rida,\ Mexico=America/Merida +N'Djamena,\ Chad=Africa/Ndjamena +Nairobi,\ Kenya=Africa/Nairobi +Nassau,\ Bahamas=America/Nassau +New\ Salem\ (North\ Dakota),\ United\ States=America/North_Dakota/New_Salem +New\ York,\ United\ States=America/New_York +Niamey,\ Niger=Africa/Niamey +Nicosia,\ Cyprus=Asia/Nicosia +Nome\ (Alaska),\ United\ States=America/Nome +Nouakchott,\ Mauritania=Africa/Nouakchott +Noumea,\ New\ Caledonia=Pacific/Noumea +Novokuznetsk,\ Russia=Asia/Novokuznetsk +Novosibirsk,\ Russia=Asia/Novosibirsk +Nuuk\ (Godth\u00E5b),\ Greenland=America/Godthab +Ojinaga,\ Mexico=America/Ojinaga +Omsk,\ Russia=Asia/Omsk +Oral,\ Kazakhstan=Asia/Oral +Oslo,\ Norway=Europe/Oslo +Ouagadougou,\ Burkina\ Faso=Africa/Ouagadougou +Pago\ Pago,\ American\ Samoa=Pacific/Pago_Pago +Palmer\ Station,\ Anvers\ Island=Antarctica/Palmer +Paramaribo,\ Suriname=America/Paramaribo +Paris,\ France=Europe/Paris +Perth,\ Australia=Australia/Perth +Petersburg\ (Indiana),\ United\ States=America/Indiana/Petersburg +Phnom\ Penh,\ Cambodia=Asia/Phnom_Penh +Phoenix,\ United\ States=America/Phoenix +Pitcairn\ Islands=Pacific/Pitcairn +Podgorica,\ Montenegro=Europe/Podgorica +Pohnpei,\ Micronesia=Pacific/Ponape +Pontianak,\ Indonesia=Asia/Pontianak +Port\ Moresby,\ Papua\ New\ Guinea=Pacific/Port_Moresby +Port\ of\ Spain,\ Trinidad\ and\ Tobago=America/Port_of_Spain +Port-au-Prince,\ Haiti=America/Port-au-Prince +Porto\ Velho,\ Brazil=America/Porto_Velho +Porto-Novo,\ Benin=Africa/Porto-Novo +Prague,\ Czech\ Republic=Europe/Prague +Punta\ Arenas,\ Chile=America/Punta_Arenas +Pyongyang,\ North\ Korea=Asia/Pyongyang +Qaanaaq\ (Thule),\ Greenland=America/Thule +Qostanay\ (Kostanay),\ Kazakhstan=Asia/Qostanay +Rankin\ Inlet,\ Canada=America/Rankin_Inlet +Rarotonga,\ Cook\ Islands=Pacific/Rarotonga +Recife,\ Brazil=America/Recife +Regina,\ Canada=America/Regina +Resolute,\ Canada=America/Resolute +Reykjavik,\ Iceland=Atlantic/Reykjavik +Riga,\ Latvia=Europe/Riga +Rio\ Branco,\ Brazil=America/Rio_Branco +Riyadh,\ Saudi\ Arabia=Asia/Riyadh +Rome,\ Italy=Europe/Rome +Rothera\ Station,\ Adelaide\ Island=Antarctica/Rothera +R\u00E9union=Indian/Reunion +R\u00EDo\ Gallegos,\ Argentina=America/Argentina/Rio_Gallegos +Saint\ Barth\u00E9lemy=America/St_Barthelemy +Saint\ Helena=Atlantic/St_Helena +Saint\ Kitts=America/St_Kitts +Saint\ Lucia=America/St_Lucia +Saint\ Pierre\ and\ Miquelon=America/Miquelon +Saint\ Thomas,\ U.S.\ Virgin\ Islands=America/St_Thomas +Saint\ Vincent,\ Saint\ Vincent\ and\ the\ Grenadines=America/St_Vincent +Saipan,\ Northern\ Mariana\ Islands=Pacific/Saipan +Sakhalin,\ Russia=Asia/Sakhalin +Salta,\ Argentina=America/Argentina/Salta +Samara,\ Russia=Europe/Samara +Samarkand,\ Uzbekistan=Asia/Samarkand +San\ Juan,\ Argentina=America/Argentina/San_Juan +San\ Luis,\ Argentina=America/Argentina/San_Luis +Santar\u00E9m,\ Brazil=America/Santarem +Santiago,\ Chile=America/Santiago +Santo\ Domingo,\ Dominican\ Republic=America/Santo_Domingo +Sarajevo,\ Bosnia\ and\ Herzegovina=Europe/Sarajevo +Saratov,\ Russia=Europe/Saratov +Seoul,\ South\ Korea=Asia/Seoul +Shanghai,\ China=Asia/Shanghai +Simferopol,\ Ukraine=Europe/Simferopol +Sint\ Maarten=America/Lower_Princes +Sitka\ (Alaska),\ United\ States=America/Sitka +Skopje,\ Macedonia=Europe/Skopje +Sofia,\ Bulgaria=Europe/Sofia +South\ Georgia\ and\ the\ South\ Sandwich\ Islands=Atlantic/South_Georgia +Srednekolymsk,\ Russia=Asia/Srednekolymsk +St.\ John's,\ Canada=America/St_Johns +Stanley,\ Falkland\ Islands=Atlantic/Stanley +Stockholm,\ Sweden=Europe/Stockholm +Swift\ Current,\ Canada=America/Swift_Current +Sydney,\ Australia=Australia/Sydney +Syowa\ Station,\ East\ Ongul\ Island=Antarctica/Syowa +S\u00E3o\ Paulo,\ Brazil=America/Sao_Paulo +S\u00E3o\ Tom\u00E9,\ S\u00E3o\ Tom\u00E9\ and\ Pr\u00EDncipe=Africa/Sao_Tome +Tahiti,\ French\ Polynesia=Pacific/Tahiti +Taipei,\ Taiwan=Asia/Taipei +Tallinn,\ Estonia=Europe/Tallinn +Tarawa,\ Kiribati=Pacific/Tarawa +Tashkent,\ Uzbekistan=Asia/Tashkent +Tbilisi,\ Georgia=Asia/Tbilisi +Tegucigalpa,\ Honduras=America/Tegucigalpa +Tehran,\ Iran=Asia/Tehran +Tell\ City\ (Indiana),\ United\ States=America/Indiana/Tell_City +Thimphu,\ Bhutan=Asia/Thimphu +Tijuana,\ Mexico=America/Tijuana +Tirane,\ Albania=Europe/Tirane +Tokyo,\ Japan=Asia/Tokyo +Tomsk,\ Russia=Asia/Tomsk +Tongatapu,\ Tonga=Pacific/Tongatapu +Toronto,\ Canada=America/Toronto +Tortola,\ British\ Virgin\ Islands=America/Tortola +Tripoli,\ Libya=Africa/Tripoli +Troll\ Station,\ Queen\ Maud\ Land=Antarctica/Troll +Tucum\u00E1n,\ Argentina=America/Argentina/Tucuman +Tunis,\ Tunisia=Africa/Tunis +UTC\ (Coordinated\ Universal\ Time)=Etc/UTC +Ulaanbaatar\ (Ulan\ Bator),\ Mongolia=Asia/Ulaanbaatar +Ulyanovsk,\ Russia=Europe/Ulyanovsk +Unknown\ time\ zone=Etc/Unknown +Ushuaia,\ Argentina=America/Argentina/Ushuaia +Ust-Nera\ Oymyakonsky,\ Russia=Asia/Ust-Nera +Vaduz,\ Liechtenstein=Europe/Vaduz +Vancouver,\ Canada=America/Vancouver +Vatican\ City=Europe/Vatican +Vevay\ (Indiana),\ United\ States=America/Indiana/Vevay +Vienna,\ Austria=Europe/Vienna +Vientiane,\ Laos=Asia/Vientiane +Vilnius,\ Lithuania=Europe/Vilnius +Vincennes\ (Indiana),\ United\ States=America/Indiana/Vincennes +Vladivostok,\ Russia=Asia/Vladivostok +Volgograd,\ Russia=Europe/Volgograd +Vostok\ Station,\ Lake\ Vostok=Antarctica/Vostok +Wake\ Island,\ U.S.\ Minor\ Outlying\ Islands=Pacific/Wake +Wallis\ Islands,\ Wallis\ and\ Futuna=Pacific/Wallis +Warsaw,\ Poland=Europe/Warsaw +West\ Bank,\ Palestinian\ Territories=Asia/Hebron +Whitehorse,\ Canada=America/Whitehorse +Winamac\ (Indiana),\ United\ States=America/Indiana/Winamac +Windhoek,\ Namibia=Africa/Windhoek +Winnipeg,\ Canada=America/Winnipeg +Yakutat\ (Alaska),\ United\ States=America/Yakutat +Yakutsk,\ Russia=Asia/Yakutsk +Yangon\ (Rangoon),\ Burma=Asia/Rangoon +Yekaterinburg,\ Russia=Asia/Yekaterinburg +Yerevan,\ Armenia=Asia/Yerevan +Zagreb,\ Croatia=Europe/Zagreb +Zurich,\ Switzerland=Europe/Zurich +\u00DCr\u00FCmqi,\ China=Asia/Urumqi +#Meta zones [Unicode CLDR] +#Wed Sep 03 14:28:52 WEST 2025 +ADT=America/Halifax +AKDT=America/Juneau +AKST=America/Juneau +AKT=America/Juneau +AST=America/Halifax +AT=America/Halifax +Acre\ Standard\ Time=America/Rio_Branco +Acre\ Summer\ Time=America/Rio_Branco +Acre\ Time=America/Rio_Branco +Afghanistan\ Time=Asia/Kabul +Alaska\ Daylight\ Time=America/Juneau +Alaska\ Standard\ Time=America/Juneau +Alaska\ Time=America/Juneau +Amazon\ Standard\ Time=America/Manaus +Amazon\ Summer\ Time=America/Manaus +Amazon\ Time=America/Manaus +American\ Samoa\ Daylight\ Time=Pacific/Pago_Pago +American\ Samoa\ Standard\ Time=Pacific/Pago_Pago +American\ Samoa\ Time=Pacific/Pago_Pago +Anadyr\ Standard\ Time=Asia/Anadyr +Anadyr\ Summer\ Time=Asia/Anadyr +Anadyr\ Time=Asia/Anadyr +Arabian\ Time=Asia/Riyadh +Argentina\ Summer\ Time=America/Buenos_Aires +Argentina\ Time=America/Buenos_Aires +Armenia\ Standard\ Time=Asia/Yerevan +Armenia\ Summer\ Time=Asia/Yerevan +Armenia\ Time=Asia/Yerevan +Atlantic\ Time=America/Halifax +Australian\ Central\ Daylight\ Time=Australia/Adelaide +Australian\ Central\ Standard\ Time=Australia/Adelaide +Australian\ Central\ Time=Australia/Adelaide +Australian\ Central\ Western\ Daylight\ Time=Australia/Eucla +Australian\ Central\ Western\ Standard\ Time=Australia/Eucla +Australian\ Central\ Western\ Time=Australia/Eucla +Australian\ Eastern\ Daylight\ Time=Australia/Sydney +Australian\ Eastern\ Standard\ Time=Australia/Sydney +Australian\ Eastern\ Time=Australia/Sydney +Australian\ Western\ Daylight\ Time=Australia/Perth +Australian\ Western\ Standard\ Time=Australia/Perth +Australian\ Western\ Time=Australia/Perth +Azerbaijan\ Summer\ Time=Asia/Baku +Azerbaijan\ Time=Asia/Baku +Azores\ Summer\ Time=Atlantic/Azores +Azores\ Time=Atlantic/Azores +Bangladesh\ Summer\ Time=Asia/Dhaka +Bangladesh\ Time=Asia/Dhaka +Bhutan\ Time=Asia/Thimphu +Bolivia\ Time=America/La_Paz +Brasilia\ Standard\ Time=America/Sao_Paulo +Brasilia\ Summer\ Time=America/Sao_Paulo +Brasilia\ Time=America/Sao_Paulo +Brunei\ Time=Asia/Brunei +CDT=America/Chicago +CST=America/Chicago +CT=America/Chicago +Cape\ Verde\ Summer\ Time=Atlantic/Cape_Verde +Cape\ Verde\ Time=Atlantic/Cape_Verde +Central\ Africa\ Time=Africa/Maputo +Central\ European\ Summer\ Time=Europe/Paris +Central\ European\ Time=Europe/Paris +Central\ Indonesia\ Time=Asia/Makassar +Central\ Time=America/Chicago +Chamorro\ Standard\ Time=Pacific/Saipan +Chatham\ Daylight\ Time=Pacific/Chatham +Chatham\ Standard\ Time=Pacific/Chatham +Chatham\ Time=Pacific/Chatham +Chile\ Standard\ Time=America/Santiago +Chile\ Summer\ Time=America/Santiago +Chile\ Time=America/Santiago +China\ Time=Asia/Shanghai +Christmas\ Island\ Time=Indian/Christmas +Chuuk\ Time=Pacific/Truk +Cocos\ Islands\ Time=Indian/Cocos +Colombia\ Standard\ Time=America/Bogota +Colombia\ Summer\ Time=America/Bogota +Colombia\ Time=America/Bogota +Cook\ Islands\ Standard\ Time=Pacific/Rarotonga +Cook\ Islands\ Summer\ Time=Pacific/Rarotonga +Cook\ Islands\ Time=Pacific/Rarotonga +Cuba\ Time=America/Havana +Davis\ Time=Antarctica/Davis +Dumont\ d\u2019Urville\ Time=Antarctica/DumontDUrville +EDT=America/New_York +EST=America/New_York +ET=America/New_York +East\ Africa\ Time=Africa/Nairobi +Easter\ Island\ Summer\ Time=Pacific/Easter +Easter\ Island\ Time=Pacific/Easter +Eastern\ European\ Standard\ Time=Europe/Bucharest +Eastern\ European\ Summer\ Time=Europe/Bucharest +Eastern\ European\ Time=Europe/Bucharest +Eastern\ Indonesia\ Time=Asia/Jayapura +Eastern\ Time=America/New_York +Ecuador\ Time=America/Guayaquil +Falkland\ Islands\ Standard\ Time=Atlantic/Stanley +Falkland\ Islands\ Summer\ Time=Atlantic/Stanley +Falkland\ Islands\ Time=Atlantic/Stanley +Fernando\ de\ Noronha\ Standard\ Time=America/Noronha +Fernando\ de\ Noronha\ Summer\ Time=America/Noronha +Fernando\ de\ Noronha\ Time=America/Noronha +Fiji\ Summer\ Time=Pacific/Fiji +Fiji\ Time=Pacific/Fiji +French\ Guiana\ Time=America/Cayenne +French\ Southern\ &\ Antarctic\ Time=Indian/Kerguelen +Galapagos\ Time=Pacific/Galapagos +Gambier\ Time=Pacific/Gambier +Georgia\ Standard\ Time=Asia/Tbilisi +Georgia\ Summer\ Time=Asia/Tbilisi +Georgia\ Time=Asia/Tbilisi +Gilbert\ Islands\ Time=Pacific/Tarawa +Greenland\ Summer\ Time=America/Godthab +Greenland\ Time=America/Godthab +Gulf\ Standard\ Time=Asia/Dubai +Guyana\ Time=America/Guyana +HADT=Pacific/Honolulu +HAST=Pacific/Honolulu +HAT=Pacific/Honolulu +Hawaii-Aleutian\ Daylight\ Time=Pacific/Honolulu +Hawaii-Aleutian\ Standard\ Time=Pacific/Honolulu +Hawaii-Aleutian\ Time=Pacific/Honolulu +Hong\ Kong\ Standard\ Time=Asia/Hong_Kong +Hong\ Kong\ Summer\ Time=Asia/Hong_Kong +Hong\ Kong\ Time=Asia/Hong_Kong +Hovd\ Standard\ Time=Asia/Hovd +Hovd\ Summer\ Time=Asia/Hovd +Hovd\ Time=Asia/Hovd +Indian\ Ocean\ Time=Indian/Chagos +Indochina\ Time=Asia/Bangkok +Iran\ Time=Asia/Tehran +Irkutsk\ Standard\ Time=Asia/Irkutsk +Irkutsk\ Summer\ Time=Asia/Irkutsk +Irkutsk\ Time=Asia/Irkutsk +Israel\ Time=Asia/Jerusalem +Japan\ Daylight\ Time=Asia/Tokyo +Japan\ Standard\ Time=Asia/Tokyo +Japan\ Time=Asia/Tokyo +Kamchatka\ Standard\ Time=Asia/Kamchatka +Kamchatka\ Summer\ Time=Asia/Kamchatka +Kamchatka\ Time=Asia/Kamchatka +Kazakhstan\ Time=Asia/Almaty +Korean\ Daylight\ Time=Asia/Seoul +Korean\ Standard\ Time=Asia/Seoul +Korean\ Time=Asia/Seoul +Kosrae\ Time=Pacific/Kosrae +Krasnoyarsk\ Standard\ Time=Asia/Krasnoyarsk +Krasnoyarsk\ Summer\ Time=Asia/Krasnoyarsk +Krasnoyarsk\ Time=Asia/Krasnoyarsk +Kyrgyzstan\ Time=Asia/Bishkek +Line\ Islands\ Time=Pacific/Kiritimati +Lord\ Howe\ Time=Australia/Lord_Howe +MDT=America/Denver +MST=America/Denver +MT=America/Denver +Magadan\ Summer\ Time=Asia/Magadan +Magadan\ Time=Asia/Magadan +Malaysia\ Time=Asia/Kuching +Maldives\ Time=Indian/Maldives +Marquesas\ Time=Pacific/Marquesas +Marshall\ Islands\ Time=Pacific/Majuro +Mauritius\ Summer\ Time=Indian/Mauritius +Mauritius\ Time=Indian/Mauritius +Mawson\ Time=Antarctica/Mawson +Mexican\ Pacific\ Daylight\ Time=America/Mazatlan +Mexican\ Pacific\ Standard\ Time=America/Mazatlan +Mexican\ Pacific\ Time=America/Mazatlan +Moscow\ Standard\ Time=Europe/Moscow +Moscow\ Summer\ Time=Europe/Moscow +Moscow\ Time=Europe/Moscow +Mountain\ Time=America/Denver +Myanmar\ Time=Asia/Rangoon +Nauru\ Time=Pacific/Nauru +Nepal\ Time=Asia/Katmandu +New\ Caledonia\ Standard\ Time=Pacific/Noumea +New\ Caledonia\ Summer\ Time=Pacific/Noumea +New\ Caledonia\ Time=Pacific/Noumea +New\ Zealand\ Time=Pacific/Auckland +Newfoundland\ Time=America/St_Johns +Niue\ Time=Pacific/Niue +Norfolk\ Island\ Daylight\ Time=Pacific/Norfolk +Norfolk\ Island\ Standard\ Time=Pacific/Norfolk +Norfolk\ Island\ Time=Pacific/Norfolk +Novosibirsk\ Standard\ Time=Asia/Novosibirsk +Novosibirsk\ Summer\ Time=Asia/Novosibirsk +Novosibirsk\ Time=Asia/Novosibirsk +Omsk\ Summer\ Time=Asia/Omsk +Omsk\ Time=Asia/Omsk +PDT=America/Los_Angeles +PST=America/Los_Angeles +PT=America/Los_Angeles +Pacific\ Time=America/Los_Angeles +Pakistan\ Summer\ Time=Asia/Karachi +Pakistan\ Time=Asia/Karachi +Palau\ Time=Pacific/Palau +Papua\ New\ Guinea\ Time=Pacific/Port_Moresby +Paraguay\ Summer\ Time=America/Asuncion +Paraguay\ Time=America/Asuncion +Peru\ Standard\ Time=America/Lima +Peru\ Summer\ Time=America/Lima +Peru\ Time=America/Lima +Philippine\ Standard\ Time=Asia/Manila +Philippine\ Summer\ Time=Asia/Manila +Philippine\ Time=Asia/Manila +Phoenix\ Islands\ Time=Pacific/Enderbury +Pitcairn\ Time=Pacific/Pitcairn +Pohnpei\ Time=Pacific/Ponape +Rothera\ Time=Antarctica/Rothera +R\u00E9union\ Time=Indian/Reunion +Sakhalin\ Summer\ Time=Asia/Sakhalin +Sakhalin\ Time=Asia/Sakhalin +Samara\ Standard\ Time=Europe/Samara +Samara\ Summer\ Time=Europe/Samara +Samara\ Time=Europe/Samara +Samoa\ Time=Pacific/Apia +Seychelles\ Time=Indian/Mahe +Solomon\ Islands\ Time=Pacific/Guadalcanal +South\ Georgia\ Time=Atlantic/South_Georgia +St.\ Pierre\ &\ Miquelon\ Daylight\ Time=America/Miquelon +St.\ Pierre\ &\ Miquelon\ Standard\ Time=America/Miquelon +St.\ Pierre\ &\ Miquelon\ Time=America/Miquelon +Suriname\ Time=America/Paramaribo +Syowa\ Time=Antarctica/Syowa +Tahiti\ Time=Pacific/Tahiti +Taiwan\ Daylight\ Time=Asia/Taipei +Taiwan\ Standard\ Time=Asia/Taipei +Taiwan\ Time=Asia/Taipei +Tajikistan\ Time=Asia/Dushanbe +Timor-Leste\ Time=Asia/Dili +Tokelau\ Time=Pacific/Fakaofo +Tonga\ Summer\ Time=Pacific/Tongatapu +Tonga\ Time=Pacific/Tongatapu +Turkmenistan\ Standard\ Time=Asia/Ashgabat +Turkmenistan\ Summer\ Time=Asia/Ashgabat +Turkmenistan\ Time=Asia/Ashgabat +Tuvalu\ Time=Pacific/Funafuti +Ulaanbaatar\ Summer\ Time=Asia/Ulaanbaatar +Ulaanbaatar\ Time=Asia/Ulaanbaatar +Uruguay\ Standard\ Time=America/Montevideo +Uruguay\ Summer\ Time=America/Montevideo +Uruguay\ Time=America/Montevideo +Uzbekistan\ Standard\ Time=Asia/Tashkent +Uzbekistan\ Summer\ Time=Asia/Tashkent +Uzbekistan\ Time=Asia/Tashkent +Vanuatu\ Standard\ Time=Pacific/Efate +Vanuatu\ Summer\ Time=Pacific/Efate +Vanuatu\ Time=Pacific/Efate +Venezuela\ Time=America/Caracas +Vladivostok\ Summer\ Time=Asia/Vladivostok +Vladivostok\ Time=Asia/Vladivostok +Volgograd\ Summer\ Time=Europe/Volgograd +Volgograd\ Time=Europe/Volgograd +Vostok\ Time=Antarctica/Vostok +Wake\ Island\ Time=Pacific/Wake +Wallis\ &\ Futuna\ Time=Pacific/Wallis +West\ Africa\ Standard\ Time=Africa/Lagos +West\ Africa\ Summer\ Time=Africa/Lagos +West\ Africa\ Time=Africa/Lagos +Western\ European\ Standard\ Time=Atlantic/Canary +Western\ European\ Summer\ Time=Atlantic/Canary +Western\ European\ Time=Atlantic/Canary +Western\ Indonesia\ Time=Asia/Jakarta +Yakutsk\ Summer\ Time=Asia/Yakutsk +Yakutsk\ Time=Asia/Yakutsk +Yekaterinburg\ Standard\ Time=Asia/Yekaterinburg +Yekaterinburg\ Summer\ Time=Asia/Yekaterinburg +Yekaterinburg\ Time=Asia/Yekaterinburg +Yukon\ Time=America/Whitehorse +#Time zone aliases [Unicode CLDR] +#Wed Sep 03 14:28:52 WEST 2025 +Africa/Asmara=Africa/Asmera +Africa/Timbuktu=Africa/Bamako +America/Argentina/Buenos_Aires=America/Buenos_Aires +America/Argentina/Catamarca=America/Catamarca +America/Argentina/ComodRivadavia=America/Catamarca +America/Argentina/Cordoba=America/Cordoba +America/Argentina/Jujuy=America/Jujuy +America/Argentina/Mendoza=America/Mendoza +America/Atikokan=America/Coral_Harbour +America/Atka=America/Adak +America/Ensenada=America/Tijuana +America/Fort_Wayne=America/Indianapolis +America/Indiana/Indianapolis=America/Indianapolis +America/Kentucky/Louisville=America/Louisville +America/Knox_IN=America/Indiana/Knox +America/Montreal=America/Toronto +America/Nipigon=America/Toronto +America/Nuuk=America/Godthab +America/Pangnirtung=America/Iqaluit +America/Porto_Acre=America/Rio_Branco +America/Rainy_River=America/Winnipeg +America/Rosario=America/Cordoba +America/Santa_Isabel=America/Tijuana +America/Shiprock=America/Denver +America/Thunder_Bay=America/Toronto +America/Virgin=America/St_Thomas +America/Yellowknife=America/Edmonton +Antarctica/South_Pole=Pacific/Auckland +Asia/Ashkhabad=Asia/Ashgabat +Asia/Choibalsan=Asia/Ulaanbaatar +Asia/Chongqing=Asia/Shanghai +Asia/Chungking=Asia/Shanghai +Asia/Dacca=Asia/Dhaka +Asia/Harbin=Asia/Shanghai +Asia/Ho_Chi_Minh=Asia/Saigon +Asia/Istanbul=Europe/Istanbul +Asia/Kashgar=Asia/Urumqi +Asia/Kathmandu=Asia/Katmandu +Asia/Kolkata=Asia/Calcutta +Asia/Macao=Asia/Macau +Asia/Tel_Aviv=Asia/Jerusalem +Asia/Thimbu=Asia/Thimphu +Asia/Ujung_Pandang=Asia/Makassar +Asia/Ulan_Bator=Asia/Ulaanbaatar +Asia/Yangon=Asia/Rangoon +Atlantic/Faroe=Atlantic/Faeroe +Atlantic/Jan_Mayen=Arctic/Longyearbyen +Australia/ACT=Australia/Sydney +Australia/Canberra=Australia/Sydney +Australia/Currie=Australia/Hobart +Australia/LHI=Australia/Lord_Howe +Australia/NSW=Australia/Sydney +Australia/North=Australia/Darwin +Australia/Queensland=Australia/Brisbane +Australia/South=Australia/Adelaide +Australia/Tasmania=Australia/Hobart +Australia/Victoria=Australia/Melbourne +Australia/West=Australia/Perth +Australia/Yancowinna=Australia/Broken_Hill +Brazil/Acre=America/Rio_Branco +Brazil/DeNoronha=America/Noronha +Brazil/East=America/Sao_Paulo +Brazil/West=America/Manaus +CET=Europe/Brussels +CST6CDT=America/Chicago +Canada/Atlantic=America/Halifax +Canada/Central=America/Winnipeg +Canada/East-Saskatchewan=America/Regina +Canada/Eastern=America/Toronto +Canada/Mountain=America/Edmonton +Canada/Newfoundland=America/St_Johns +Canada/Pacific=America/Vancouver +Canada/Saskatchewan=America/Regina +Canada/Yukon=America/Whitehorse +Chile/Continental=America/Santiago +Chile/EasterIsland=Pacific/Easter +Cuba=America/Havana +EET=Europe/Athens +EST5EDT=America/New_York +Egypt=Africa/Cairo +Eire=Europe/Dublin +Etc/GMT+0=Etc/GMT +Etc/GMT-0=Etc/GMT +Etc/GMT0=Etc/GMT +Etc/Greenwich=Etc/GMT +Etc/UCT=Etc/UTC +Etc/Universal=Etc/UTC +Etc/Zulu=Etc/UTC +Europe/Belfast=Europe/London +Europe/Kyiv=Europe/Kiev +Europe/Nicosia=Asia/Nicosia +Europe/Tiraspol=Europe/Chisinau +Europe/Uzhgorod=Europe/Kiev +Europe/Zaporozhye=Europe/Kiev +Factory=Etc/Unknown +GB=Europe/London +GB-Eire=Europe/London +Hongkong=Asia/Hong_Kong +Iceland=Atlantic/Reykjavik +Iran=Asia/Tehran +Israel=Asia/Jerusalem +Japan=Asia/Tokyo +Libya=Africa/Tripoli +MET=Europe/Brussels +MST7MDT=America/Denver +Mexico/BajaNorte=America/Tijuana +Mexico/BajaSur=America/Mazatlan +Mexico/General=America/Mexico_City +NZ=Pacific/Auckland +NZ-CHAT=Pacific/Chatham +Navajo=America/Denver +PRC=Asia/Shanghai +PST8PDT=America/Los_Angeles +Pacific/Chuuk=Pacific/Truk +Pacific/Johnston=Pacific/Honolulu +Pacific/Kanton=Pacific/Enderbury +Pacific/Pohnpei=Pacific/Ponape +Pacific/Samoa=Pacific/Pago_Pago +Pacific/Yap=Pacific/Truk +Poland=Europe/Warsaw +Portugal=Europe/Lisbon +ROC=Asia/Taipei +ROK=Asia/Seoul +Turkey=Europe/Istanbul +US/Alaska=America/Anchorage +US/Aleutian=America/Adak +US/Arizona=America/Phoenix +US/Central=America/Chicago +US/East-Indiana=America/Indianapolis +US/Eastern=America/New_York +US/Hawaii=Pacific/Honolulu +US/Indiana-Starke=America/Indiana/Knox +US/Michigan=America/Detroit +US/Mountain=America/Denver +US/Pacific=America/Los_Angeles +US/Pacific-New=America/Los_Angeles +US/Samoa=Pacific/Pago_Pago +W-SU=Europe/Moscow +WET=Europe/Lisbon +#Territories [Unicode CLDR] +#Wed Sep 03 14:28:52 WEST 2025 +Albania=Europe/Tirane +Angola=Africa/Luanda +Antarctica=Antarctica/McMurdo +Antigua\ &\ Barbuda=America/Antigua +Austria=Europe/Vienna +Bahamas=America/Nassau +Belgium=Europe/Brussels +Benin=Africa/Porto-Novo +Bosnia=Europe/Sarajevo +Bosnia\ &\ Herzegovina=Europe/Sarajevo +Botswana=Africa/Gaborone +British\ Virgin\ Islands=America/Tortola +Bulgaria=Europe/Sofia +Burkina\ Faso=Africa/Ouagadougou +Burundi=Africa/Bujumbura +Cambodia=Asia/Phnom_Penh +Cameroon=Africa/Douala +Caribbean\ Netherlands=America/Kralendijk +Central\ African\ Republic=Africa/Bangui +Chad=Africa/Ndjamena +Congo\ (Republic)=Africa/Brazzaville +Congo\ -\ Brazzaville=Africa/Brazzaville +Croatia=Europe/Zagreb +Cyprus=Asia/Nicosia +Czech\ Republic=Europe/Prague +Czechia=Europe/Prague +C\u00F4te\ d\u2019Ivoire=Africa/Abidjan +Denmark=Europe/Copenhagen +Equatorial\ Guinea=Africa/Malabo +Eritrea=Africa/Asmera +Eswatini=Africa/Mbabane +Ethiopia=Africa/Addis_Ababa +Finland=Europe/Helsinki +Gabon=Africa/Libreville +Gambia=Africa/Banjul +Germany=Europe/Berlin +Ghana=Africa/Accra +Greece=Europe/Athens +Greenland=America/Thule +Guinea=Africa/Conakry +Haiti=America/Port-au-Prince +Honduras=America/Tegucigalpa +Hungary=Europe/Budapest +Iraq=Asia/Baghdad +Ireland=Europe/Dublin +Italy=Europe/Rome +Ivory\ Coast=Africa/Abidjan +Kosovo=Europe/Belgrade +Laos=Asia/Vientiane +Lebanon=Asia/Beirut +Lesotho=Africa/Maseru +Liechtenstein=Europe/Vaduz +Madagascar=Indian/Antananarivo +Malawi=Africa/Blantyre +Mali=Africa/Bamako +Mauritania=Africa/Nouakchott +Montenegro=Europe/Podgorica +Netherlands=Europe/Amsterdam +Niger=Africa/Niamey +North\ Macedonia=Europe/Skopje +Norway=Europe/Oslo +Oman=Asia/Muscat +Rwanda=Africa/Kigali +Senegal=Africa/Dakar +Sierra\ Leone=Africa/Freetown +Slovakia=Europe/Bratislava +Slovenia=Europe/Ljubljana +Somalia=Africa/Mogadishu +Spain=Europe/Madrid +Sri\ Lanka=Asia/Colombo +St.\ Helena=Atlantic/St_Helena +St.\ Kitts\ &\ Nevis=America/St_Kitts +St.\ Lucia=America/St_Lucia +St.\ Martin=America/Marigot +St.\ Vincent\ &\ Grenadines=America/St_Vincent +Svalbard\ &\ Jan\ Mayen=Arctic/Longyearbyen +Swaziland=Africa/Mbabane +Sweden=Europe/Stockholm +Switzerland=Europe/Zurich +Tanzania=Africa/Dar_es_Salaam +Togo=Africa/Lome +Trinidad\ &\ Tobago=America/Port_of_Spain +Tunisia=Africa/Tunis +U.S.\ Virgin\ Islands=America/St_Thomas +UK=Europe/London +Uganda=Africa/Kampala +United\ Kingdom=Europe/London +Yemen=Asia/Aden +Zambia=Africa/Lusaka +Zimbabwe=Africa/Harare +\u00C5land\ Islands=Europe/Mariehamn +#Time zone abbreviations [IANA Time Zone Database] +#Wed Sep 03 14:28:52 WEST 2025 +AWST=Australia/Perth +BST=Europe/London +ChST=Pacific/Guam +EAT=Africa/Nairobi +HKT=Asia/Hong_Kong +IDT=Asia/Jerusalem +JST=Asia/Tokyo +NDT=America/St_Johns +NST=America/St_Johns +NZDT=Pacific/Auckland +NZST=Pacific/Auckland +PKT=Asia/Karachi +SAST=Africa/Johannesburg +SST=Pacific/Pago_Pago +WIT=Asia/Jayapura +WITA=Asia/Makassar +#Legacy time zones [IANA Time Zone Database] +#Wed Sep 03 14:28:52 WEST 2025 +Africa/Accra=Africa/Abidjan +Africa/Addis_Ababa=Africa/Nairobi +Africa/Asmera=Africa/Nairobi +Africa/Bamako=Africa/Abidjan +Africa/Bangui=Africa/Lagos +Africa/Banjul=Africa/Abidjan +Africa/Blantyre=Africa/Maputo +Africa/Brazzaville=Africa/Lagos +Africa/Bujumbura=Africa/Maputo +Africa/Conakry=Africa/Abidjan +Africa/Dakar=Africa/Abidjan +Africa/Dar_es_Salaam=Africa/Nairobi +Africa/Djibouti=Africa/Nairobi +Africa/Douala=Africa/Lagos +Africa/Freetown=Africa/Abidjan +Africa/Gaborone=Africa/Maputo +Africa/Harare=Africa/Maputo +Africa/Kampala=Africa/Nairobi +Africa/Kigali=Africa/Maputo +Africa/Kinshasa=Africa/Lagos +Africa/Libreville=Africa/Lagos +Africa/Lome=Africa/Abidjan +Africa/Luanda=Africa/Lagos +Africa/Lubumbashi=Africa/Maputo +Africa/Lusaka=Africa/Maputo +Africa/Malabo=Africa/Lagos +Africa/Maseru=Africa/Johannesburg +Africa/Mbabane=Africa/Johannesburg +Africa/Mogadishu=Africa/Nairobi +Africa/Niamey=Africa/Lagos +Africa/Nouakchott=Africa/Abidjan +Africa/Ouagadougou=Africa/Abidjan +Africa/Porto-Novo=Africa/Lagos +America/Anguilla=America/Puerto_Rico +America/Antigua=America/Puerto_Rico +America/Aruba=America/Puerto_Rico +America/Blanc-Sablon=America/Puerto_Rico +America/Buenos_Aires=America/Argentina/Buenos_Aires +America/Catamarca=America/Argentina/Catamarca +America/Cayman=America/Panama +America/Coral_Harbour=America/Panama +America/Cordoba=America/Argentina/Cordoba +America/Creston=America/Phoenix +America/Curacao=America/Puerto_Rico +America/Dominica=America/Puerto_Rico +America/Godthab=America/Nuuk +America/Grenada=America/Puerto_Rico +America/Guadeloupe=America/Puerto_Rico +America/Indianapolis=America/Indiana/Indianapolis +America/Jujuy=America/Argentina/Jujuy +America/Kralendijk=America/Puerto_Rico +America/Louisville=America/Kentucky/Louisville +America/Lower_Princes=America/Puerto_Rico +America/Marigot=America/Puerto_Rico +America/Mendoza=America/Argentina/Mendoza +America/Montserrat=America/Puerto_Rico +America/Nassau=America/Toronto +America/Port_of_Spain=America/Puerto_Rico +America/St_Barthelemy=America/Puerto_Rico +America/St_Kitts=America/Puerto_Rico +America/St_Lucia=America/Puerto_Rico +America/St_Thomas=America/Puerto_Rico +America/St_Vincent=America/Puerto_Rico +America/Tortola=America/Puerto_Rico +Antarctica/DumontDUrville=Pacific/Port_Moresby +Antarctica/McMurdo=Pacific/Auckland +Antarctica/Syowa=Asia/Riyadh +Arctic/Longyearbyen=Europe/Berlin +Asia/Aden=Asia/Riyadh +Asia/Bahrain=Asia/Qatar +Asia/Brunei=Asia/Kuching +Asia/Calcutta=Asia/Kolkata +Asia/Katmandu=Asia/Kathmandu +Asia/Kuala_Lumpur=Asia/Singapore +Asia/Kuwait=Asia/Riyadh +Asia/Muscat=Asia/Dubai +Asia/Phnom_Penh=Asia/Bangkok +Asia/Rangoon=Asia/Yangon +Asia/Saigon=Asia/Ho_Chi_Minh +Asia/Vientiane=Asia/Bangkok +Atlantic/Faeroe=Atlantic/Faroe +Atlantic/Reykjavik=Africa/Abidjan +Atlantic/St_Helena=Africa/Abidjan +Europe/Amsterdam=Europe/Brussels +Europe/Bratislava=Europe/Prague +Europe/Busingen=Europe/Zurich +Europe/Copenhagen=Europe/Berlin +Europe/Guernsey=Europe/London +Europe/Isle_of_Man=Europe/London +Europe/Jersey=Europe/London +Europe/Kiev=Europe/Kyiv +Europe/Ljubljana=Europe/Belgrade +Europe/Luxembourg=Europe/Brussels +Europe/Mariehamn=Europe/Helsinki +Europe/Monaco=Europe/Paris +Europe/Oslo=Europe/Berlin +Europe/Podgorica=Europe/Belgrade +Europe/San_Marino=Europe/Rome +Europe/Sarajevo=Europe/Belgrade +Europe/Skopje=Europe/Belgrade +Europe/Stockholm=Europe/Berlin +Europe/Vaduz=Europe/Zurich +Europe/Vatican=Europe/Rome +Europe/Zagreb=Europe/Belgrade +Indian/Antananarivo=Africa/Nairobi +Indian/Christmas=Asia/Bangkok +Indian/Cocos=Asia/Yangon +Indian/Comoro=Africa/Nairobi +Indian/Kerguelen=Indian/Maldives +Indian/Mahe=Asia/Dubai +Indian/Mayotte=Africa/Nairobi +Indian/Reunion=Asia/Dubai +Pacific/Enderbury=Pacific/Kanton +Pacific/Funafuti=Pacific/Tarawa +Pacific/Majuro=Pacific/Tarawa +Pacific/Midway=Pacific/Pago_Pago +Pacific/Ponape=Pacific/Guadalcanal +Pacific/Saipan=Pacific/Guam +Pacific/Truk=Pacific/Port_Moresby +Pacific/Wake=Pacific/Tarawa +Pacific/Wallis=Pacific/Tarawa diff --git a/src/main/resources/damage-types-1.19.4.nbt b/src/main/resources/damage-types-1.19.4.nbt new file mode 100644 index 0000000000000000000000000000000000000000..8d2be316f2bf50d13dd15e384a5e45548bfc9ee9 GIT binary patch literal 973 zcmV;;12X&{iwFP!00000|Gk(=bJH*sfCX)qrh8dh*0OI0egHFEa$tr70|N(+8rhZ| zQCZ5!a!mM*@Sk|HE6Yj6GSeu>R?7Rnd3t)1JVI!QHuZc;(T$u58Y`0OHwno}MzQ(# z7V6CiFX;#&^a`d5l2f$rrV^!OwSlg(1SX&n8c@R3%DPqMt}kkCveRP(Ct{K8Jq8Jgn@YbrCVQ@suSSz{}sJj`) zUo9do<1=e93SzNy&Ket(lev3QrqF~#qhXp_qwOF@hv&dAEzjH8Ql@Cssiqz8ULHiH zy3|&_=r^=v?`ATCl~iYK&)*G_q^*|YFCae0a7;;DbuzRUWWQ|#>ph^pE@Y&01g478 zA8pO-`&({3X|*l4-+;Y6H=}|o7F(%6}uaxP)C6Jn0_@N?>(UjvQ)75!n{D5Sx)2j1&s?2k^7f;h#a)hUN4h7 z+qIB_#n888Zkeb5&Ge+(h4a(Ql{U*eSLg>}mfeB8S27q@v)18ZnDexOcw035#C?)@ z6y|kRGrZMSRFrBQQ3Vh0s4Ut~5|6#Tp+A*pt365gYJsugj{)ypAw7{wv~P$fezRuM zD)(p;@efAbFDFmK^oR!HZRA?9gu3s1&w>aH&MD5|)ESfl`lMn}sUi6C^Yi)IF3QUX vOJ|KLrYE$0QM?GVuN#Q>U~7hOaaOv-ybQ8X+YRcAApzt!Aw}>4&K3Xw3QFCX literal 0 HcmV?d00001 diff --git a/src/main/resources/damage-types-1.20.nbt b/src/main/resources/damage-types-1.20.nbt new file mode 100644 index 0000000000000000000000000000000000000000..656d72af40dc7502d51f781c9ecd59a4350029ac GIT binary patch literal 1011 zcmV#MBsD>3j1J9eLD9pK37RUBn_n|h zl7eFU?;|u=5?;{>Lg;6hDo9Duxt~gulJx<)$1<3JCTK)CEvYbLG}0;IOcdxvJ);7r zq|!9Q$qI9}gnwfp1zvEnqH2I9^!*IR4U^)x4lPy>HpxJL)1UppnuqyV|0~KVrJOQY0`BKBM==T5RMD*!Wq@9 z5Z?2`d!{5cm3DIXqNHiqLOlPf$5*6;zY1q?umc0T-kSzvhw%>Ay`oa2fJlk5xpX3j zQAAE!*0e!+ne)Dktc8;pY)H^Nr>W6s+{^*)4#fsdOmB4AH(Fs?bpP}nvw%^#1gPX|?)>6&8o_`u8Nk<(gTtIw<;h2)R?q%pK%6>Zr*6)CNw~>+F z5tu7V|L$t$Jlt}dNxN;i!xkLuxdjzevD8UjM9Iu(O$pY?Od6bXDV1}$+*|zu`jsUI zGs6V7rRA)y_GL9>;uUZ|<nLk9C^y&UL60sIOpGD^ z+`fsDhywt5foCBB2!=^fDCtZ---F4`rpZFdzn~%+?>frkJxKI=hurLEPvUHsKs%9J z{p?ZCsWMpR7>;kAIkBfv3UvagH~BjY3f>diAX^3dEY1t0o#izi-_p4C5c%Q`50Q&5 z+ArJW-gebeuoU{1EFJUt|7Hf#?Zbs>_DWlny({#KILq!q!7CXIt7Yf#Wt{W0g#=qP z{KS8f_$tops$m4HP1lqfoKOW1@1)Y*CyB3vy, +// "lastName": +// } +// +// If the embedded message type is well-known and has a custom JSON +// representation, that representation will be embedded adding a field +// `value` which holds the custom JSON in addition to the `@type` +// field. Example (for message [google.protobuf.Duration][]): +// +// { +// "@type": "type.googleapis.com/google.protobuf.Duration", +// "value": "1.212s" +// } +// +message Any { + // A URL/resource name that uniquely identifies the type of the serialized + // protocol buffer message. This string must contain at least + // one "/" character. The last segment of the URL's path must represent + // the fully qualified name of the type (as in + // `path/google.protobuf.Duration`). The name should be in a canonical form + // (e.g., leading "." is not accepted). + // + // In practice, teams usually precompile into the binary all types that they + // expect it to use in the context of Any. However, for URLs which use the + // scheme `http`, `https`, or no scheme, one can optionally set up a type + // server that maps type URLs to message definitions as follows: + // + // * If no scheme is provided, `https` is assumed. + // * An HTTP GET on the URL must yield a [google.protobuf.Type][] + // value in binary format, or produce an error. + // * Applications are allowed to cache lookup results based on the + // URL, or have them precompiled into a binary to avoid any + // lookup. Therefore, binary compatibility needs to be preserved + // on changes to types. (Use versioned type names to manage + // breaking changes.) + // + // Note: this functionality is not currently available in the official + // protobuf release, and it is not used for type URLs beginning with + // type.googleapis.com. As of May 2023, there are no widely used type server + // implementations and no plans to implement one. + // + // Schemes other than `http`, `https` (or the empty scheme) might be + // used with implementation specific semantics. + // + string type_url = 1; + + // Must be a valid serialized protocol buffer of the above specified type. + bytes value = 2; +} diff --git a/src/main/resources/google/protobuf/api.proto b/src/main/resources/google/protobuf/api.proto new file mode 100644 index 0000000..afc9cc1 --- /dev/null +++ b/src/main/resources/google/protobuf/api.proto @@ -0,0 +1,207 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +import "google/protobuf/source_context.proto"; +import "google/protobuf/type.proto"; + +option java_package = "com.google.protobuf"; +option java_outer_classname = "ApiProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "google.golang.org/protobuf/types/known/apipb"; + +// Api is a light-weight descriptor for an API Interface. +// +// Interfaces are also described as "protocol buffer services" in some contexts, +// such as by the "service" keyword in a .proto file, but they are different +// from API Services, which represent a concrete implementation of an interface +// as opposed to simply a description of methods and bindings. They are also +// sometimes simply referred to as "APIs" in other contexts, such as the name of +// this message itself. See https://cloud.google.com/apis/design/glossary for +// detailed terminology. +message Api { + // The fully qualified name of this interface, including package name + // followed by the interface's simple name. + string name = 1; + + // The methods of this interface, in unspecified order. + repeated Method methods = 2; + + // Any metadata attached to the interface. + repeated Option options = 3; + + // A version string for this interface. If specified, must have the form + // `major-version.minor-version`, as in `1.10`. If the minor version is + // omitted, it defaults to zero. If the entire version field is empty, the + // major version is derived from the package name, as outlined below. If the + // field is not empty, the version in the package name will be verified to be + // consistent with what is provided here. + // + // The versioning schema uses [semantic + // versioning](http://semver.org) where the major version number + // indicates a breaking change and the minor version an additive, + // non-breaking change. Both version numbers are signals to users + // what to expect from different versions, and should be carefully + // chosen based on the product plan. + // + // The major version is also reflected in the package name of the + // interface, which must end in `v`, as in + // `google.feature.v1`. For major versions 0 and 1, the suffix can + // be omitted. Zero major versions must only be used for + // experimental, non-GA interfaces. + // + string version = 4; + + // Source context for the protocol buffer service represented by this + // message. + SourceContext source_context = 5; + + // Included interfaces. See [Mixin][]. + repeated Mixin mixins = 6; + + // The source syntax of the service. + Syntax syntax = 7; +} + +// Method represents a method of an API interface. +message Method { + // The simple name of this method. + string name = 1; + + // A URL of the input message type. + string request_type_url = 2; + + // If true, the request is streamed. + bool request_streaming = 3; + + // The URL of the output message type. + string response_type_url = 4; + + // If true, the response is streamed. + bool response_streaming = 5; + + // Any metadata attached to the method. + repeated Option options = 6; + + // The source syntax of this method. + Syntax syntax = 7; +} + +// Declares an API Interface to be included in this interface. The including +// interface must redeclare all the methods from the included interface, but +// documentation and options are inherited as follows: +// +// - If after comment and whitespace stripping, the documentation +// string of the redeclared method is empty, it will be inherited +// from the original method. +// +// - Each annotation belonging to the service config (http, +// visibility) which is not set in the redeclared method will be +// inherited. +// +// - If an http annotation is inherited, the path pattern will be +// modified as follows. Any version prefix will be replaced by the +// version of the including interface plus the [root][] path if +// specified. +// +// Example of a simple mixin: +// +// package google.acl.v1; +// service AccessControl { +// // Get the underlying ACL object. +// rpc GetAcl(GetAclRequest) returns (Acl) { +// option (google.api.http).get = "/v1/{resource=**}:getAcl"; +// } +// } +// +// package google.storage.v2; +// service Storage { +// rpc GetAcl(GetAclRequest) returns (Acl); +// +// // Get a data record. +// rpc GetData(GetDataRequest) returns (Data) { +// option (google.api.http).get = "/v2/{resource=**}"; +// } +// } +// +// Example of a mixin configuration: +// +// apis: +// - name: google.storage.v2.Storage +// mixins: +// - name: google.acl.v1.AccessControl +// +// The mixin construct implies that all methods in `AccessControl` are +// also declared with same name and request/response types in +// `Storage`. A documentation generator or annotation processor will +// see the effective `Storage.GetAcl` method after inheriting +// documentation and annotations as follows: +// +// service Storage { +// // Get the underlying ACL object. +// rpc GetAcl(GetAclRequest) returns (Acl) { +// option (google.api.http).get = "/v2/{resource=**}:getAcl"; +// } +// ... +// } +// +// Note how the version in the path pattern changed from `v1` to `v2`. +// +// If the `root` field in the mixin is specified, it should be a +// relative path under which inherited HTTP paths are placed. Example: +// +// apis: +// - name: google.storage.v2.Storage +// mixins: +// - name: google.acl.v1.AccessControl +// root: acls +// +// This implies the following inherited HTTP annotation: +// +// service Storage { +// // Get the underlying ACL object. +// rpc GetAcl(GetAclRequest) returns (Acl) { +// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; +// } +// ... +// } +message Mixin { + // The fully qualified name of the interface which is included. + string name = 1; + + // If non-empty specifies a path under which inherited HTTP paths + // are rooted. + string root = 2; +} diff --git a/src/main/resources/google/protobuf/descriptor.proto b/src/main/resources/google/protobuf/descriptor.proto new file mode 100644 index 0000000..0be20ea --- /dev/null +++ b/src/main/resources/google/protobuf/descriptor.proto @@ -0,0 +1,1417 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// The messages in this file describe the definitions found in .proto files. +// A valid .proto file can be translated directly to a FileDescriptorProto +// without any other information (e.g. without reading its imports). + +syntax = "proto2"; + +package google.protobuf; + +option go_package = "google.golang.org/protobuf/types/descriptorpb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "DescriptorProtos"; +option csharp_namespace = "Google.Protobuf.Reflection"; +option objc_class_prefix = "GPB"; +option cc_enable_arenas = true; + +// descriptor.proto must be optimized for speed because reflection-based +// algorithms don't work during bootstrapping. +option optimize_for = SPEED; + +// The protocol compiler can output a FileDescriptorSet containing the .proto +// files it parses. +message FileDescriptorSet { + repeated FileDescriptorProto file = 1; + + // Extensions for tooling. + extensions 536000000 [declaration = { + number: 536000000 + type: ".buf.descriptor.v1.FileDescriptorSetExtension" + full_name: ".buf.descriptor.v1.buf_file_descriptor_set_extension" + }]; +} + +// The full set of known editions. +enum Edition { + // A placeholder for an unknown edition value. + EDITION_UNKNOWN = 0; + + // A placeholder edition for specifying default behaviors *before* a feature + // was first introduced. This is effectively an "infinite past". + EDITION_LEGACY = 900; + + // Legacy syntax "editions". These pre-date editions, but behave much like + // distinct editions. These can't be used to specify the edition of proto + // files, but feature definitions must supply proto2/proto3 defaults for + // backwards compatibility. + EDITION_PROTO2 = 998; + EDITION_PROTO3 = 999; + + // Editions that have been released. The specific values are arbitrary and + // should not be depended on, but they will always be time-ordered for easy + // comparison. + EDITION_2023 = 1000; + EDITION_2024 = 1001; + + // Placeholder editions for testing feature resolution. These should not be + // used or relied on outside of tests. + EDITION_1_TEST_ONLY = 1; + EDITION_2_TEST_ONLY = 2; + EDITION_99997_TEST_ONLY = 99997; + EDITION_99998_TEST_ONLY = 99998; + EDITION_99999_TEST_ONLY = 99999; + + // Placeholder for specifying unbounded edition support. This should only + // ever be used by plugins that can expect to never require any changes to + // support a new edition. + EDITION_MAX = 0x7FFFFFFF; +} + +// Describes a complete .proto file. +message FileDescriptorProto { + optional string name = 1; // file name, relative to root of source tree + optional string package = 2; // e.g. "foo", "foo.bar", etc. + + // Names of files imported by this file. + repeated string dependency = 3; + // Indexes of the public imported files in the dependency list above. + repeated int32 public_dependency = 10; + // Indexes of the weak imported files in the dependency list. + // For Google-internal migration only. Do not use. + repeated int32 weak_dependency = 11; + + // Names of files imported by this file purely for the purpose of providing + // option extensions. These are excluded from the dependency list above. + repeated string option_dependency = 15; + + // All top-level definitions in this file. + repeated DescriptorProto message_type = 4; + repeated EnumDescriptorProto enum_type = 5; + repeated ServiceDescriptorProto service = 6; + repeated FieldDescriptorProto extension = 7; + + optional FileOptions options = 8; + + // This field contains optional information about the original source code. + // You may safely remove this entire field without harming runtime + // functionality of the descriptors -- the information is needed only by + // development tools. + optional SourceCodeInfo source_code_info = 9; + + // The syntax of the proto file. + // The supported values are "proto2", "proto3", and "editions". + // + // If `edition` is present, this value must be "editions". + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional string syntax = 12; + + // The edition of the proto file. + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional Edition edition = 14; +} + +// Describes a message type. +message DescriptorProto { + optional string name = 1; + + repeated FieldDescriptorProto field = 2; + repeated FieldDescriptorProto extension = 6; + + repeated DescriptorProto nested_type = 3; + repeated EnumDescriptorProto enum_type = 4; + + message ExtensionRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + + optional ExtensionRangeOptions options = 3; + } + repeated ExtensionRange extension_range = 5; + + repeated OneofDescriptorProto oneof_decl = 8; + + optional MessageOptions options = 7; + + // Range of reserved tag numbers. Reserved tag numbers may not be used by + // fields or extension ranges in the same message. Reserved ranges may + // not overlap. + message ReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + } + repeated ReservedRange reserved_range = 9; + // Reserved field names, which may not be used by fields in the same message. + // A given name may only be reserved once. + repeated string reserved_name = 10; + + // Support for `export` and `local` keywords on enums. + optional SymbolVisibility visibility = 11; +} + +message ExtensionRangeOptions { + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + message Declaration { + // The extension number declared within the extension range. + optional int32 number = 1; + + // The fully-qualified name of the extension field. There must be a leading + // dot in front of the full name. + optional string full_name = 2; + + // The fully-qualified type name of the extension field. Unlike + // Metadata.type, Declaration.type must have a leading dot for messages + // and enums. + optional string type = 3; + + // If true, indicates that the number is reserved in the extension range, + // and any extension field with the number will fail to compile. Set this + // when a declared extension field is deleted. + optional bool reserved = 5; + + // If true, indicates that the extension must be defined as repeated. + // Otherwise the extension must be defined as optional. + optional bool repeated = 6; + + reserved 4; // removed is_repeated + } + + // For external users: DO NOT USE. We are in the process of open sourcing + // extension declaration and executing internal cleanups before it can be + // used externally. + repeated Declaration declaration = 2 [retention = RETENTION_SOURCE]; + + // Any features defined in the specific edition. + optional FeatureSet features = 50; + + // The verification state of the extension range. + enum VerificationState { + // All the extensions of the range must be declared. + DECLARATION = 0; + UNVERIFIED = 1; + } + + // The verification state of the range. + // TODO: flip the default to DECLARATION once all empty ranges + // are marked as UNVERIFIED. + optional VerificationState verification = 3 + [default = UNVERIFIED, retention = RETENTION_SOURCE]; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +// Describes a field within a message. +message FieldDescriptorProto { + enum Type { + // 0 is reserved for errors. + // Order is weird for historical reasons. + TYPE_DOUBLE = 1; + TYPE_FLOAT = 2; + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if + // negative values are likely. + TYPE_INT64 = 3; + TYPE_UINT64 = 4; + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if + // negative values are likely. + TYPE_INT32 = 5; + TYPE_FIXED64 = 6; + TYPE_FIXED32 = 7; + TYPE_BOOL = 8; + TYPE_STRING = 9; + // Tag-delimited aggregate. + // Group type is deprecated and not supported after google.protobuf. However, Proto3 + // implementations should still be able to parse the group wire format and + // treat group fields as unknown fields. In Editions, the group wire format + // can be enabled via the `message_encoding` feature. + TYPE_GROUP = 10; + TYPE_MESSAGE = 11; // Length-delimited aggregate. + + // New in version 2. + TYPE_BYTES = 12; + TYPE_UINT32 = 13; + TYPE_ENUM = 14; + TYPE_SFIXED32 = 15; + TYPE_SFIXED64 = 16; + TYPE_SINT32 = 17; // Uses ZigZag encoding. + TYPE_SINT64 = 18; // Uses ZigZag encoding. + } + + enum Label { + // 0 is reserved for errors + LABEL_OPTIONAL = 1; + LABEL_REPEATED = 3; + // The required label is only allowed in google.protobuf. In proto3 and Editions + // it's explicitly prohibited. In Editions, the `field_presence` feature + // can be used to get this behavior. + LABEL_REQUIRED = 2; + } + + optional string name = 1; + optional int32 number = 3; + optional Label label = 4; + + // If type_name is set, this need not be set. If both this and type_name + // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. + optional Type type = 5; + + // For message and enum types, this is the name of the type. If the name + // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping + // rules are used to find the type (i.e. first the nested types within this + // message are searched, then within the parent, on up to the root + // namespace). + optional string type_name = 6; + + // For extensions, this is the name of the type being extended. It is + // resolved in the same manner as type_name. + optional string extendee = 2; + + // For numeric types, contains the original text representation of the value. + // For booleans, "true" or "false". + // For strings, contains the default text contents (not escaped in any way). + // For bytes, contains the C escaped value. All bytes >= 128 are escaped. + optional string default_value = 7; + + // If set, gives the index of a oneof in the containing type's oneof_decl + // list. This field is a member of that oneof. + optional int32 oneof_index = 9; + + // JSON name of this field. The value is set by protocol compiler. If the + // user has set a "json_name" option on this field, that option's value + // will be used. Otherwise, it's deduced from the field's name by converting + // it to camelCase. + optional string json_name = 10; + + optional FieldOptions options = 8; + + // If true, this is a proto3 "optional". When a proto3 field is optional, it + // tracks presence regardless of field type. + // + // When proto3_optional is true, this field must belong to a oneof to signal + // to old proto3 clients that presence is tracked for this field. This oneof + // is known as a "synthetic" oneof, and this field must be its sole member + // (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs + // exist in the descriptor only, and do not generate any API. Synthetic oneofs + // must be ordered after all "real" oneofs. + // + // For message fields, proto3_optional doesn't create any semantic change, + // since non-repeated message fields always track presence. However it still + // indicates the semantic detail of whether the user wrote "optional" or not. + // This can be useful for round-tripping the .proto file. For consistency we + // give message fields a synthetic oneof also, even though it is not required + // to track presence. This is especially important because the parser can't + // tell if a field is a message or an enum, so it must always create a + // synthetic oneof. + // + // Proto2 optional fields do not set this flag, because they already indicate + // optional with `LABEL_OPTIONAL`. + optional bool proto3_optional = 17; +} + +// Describes a oneof. +message OneofDescriptorProto { + optional string name = 1; + optional OneofOptions options = 2; +} + +// Describes an enum type. +message EnumDescriptorProto { + optional string name = 1; + + repeated EnumValueDescriptorProto value = 2; + + optional EnumOptions options = 3; + + // Range of reserved numeric values. Reserved values may not be used by + // entries in the same enum. Reserved ranges may not overlap. + // + // Note that this is distinct from DescriptorProto.ReservedRange in that it + // is inclusive such that it can appropriately represent the entire int32 + // domain. + message EnumReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Inclusive. + } + + // Range of reserved numeric values. Reserved numeric values may not be used + // by enum values in the same enum declaration. Reserved ranges may not + // overlap. + repeated EnumReservedRange reserved_range = 4; + + // Reserved enum value names, which may not be reused. A given name may only + // be reserved once. + repeated string reserved_name = 5; + + // Support for `export` and `local` keywords on enums. + optional SymbolVisibility visibility = 6; +} + +// Describes a value within an enum. +message EnumValueDescriptorProto { + optional string name = 1; + optional int32 number = 2; + + optional EnumValueOptions options = 3; +} + +// Describes a service. +message ServiceDescriptorProto { + optional string name = 1; + repeated MethodDescriptorProto method = 2; + + optional ServiceOptions options = 3; +} + +// Describes a method of a service. +message MethodDescriptorProto { + optional string name = 1; + + // Input and output type names. These are resolved in the same way as + // FieldDescriptorProto.type_name, but must refer to a message type. + optional string input_type = 2; + optional string output_type = 3; + + optional MethodOptions options = 4; + + // Identifies if client streams multiple client messages + optional bool client_streaming = 5 [default = false]; + // Identifies if server streams multiple server messages + optional bool server_streaming = 6 [default = false]; +} + +// =================================================================== +// Options + +// Each of the definitions above may have "options" attached. These are +// just annotations which may cause code to be generated slightly differently +// or may contain hints for code that manipulates protocol messages. +// +// Clients may define custom options as extensions of the *Options messages. +// These extensions may not yet be known at parsing time, so the parser cannot +// store the values in them. Instead it stores them in a field in the *Options +// message called uninterpreted_option. This field must have the same name +// across all *Options messages. We then use this field to populate the +// extensions when we build a descriptor, at which point all protos have been +// parsed and so all extensions are known. +// +// Extension numbers for custom options may be chosen as follows: +// * For options which will only be used within a single application or +// organization, or for experimental options, use field numbers 50000 +// through 99999. It is up to you to ensure that you do not use the +// same number for multiple options. +// * For options which will be published and used publicly by multiple +// independent entities, e-mail protobuf-global-extension-registry@google.com +// to reserve extension numbers. Simply provide your project name (e.g. +// Objective-C plugin) and your project website (if available) -- there's no +// need to explain how you intend to use them. Usually you only need one +// extension number. You can declare multiple options with only one extension +// number by putting them in a sub-message. See the Custom Options section of +// the docs for examples: +// https://developers.google.com/protocol-buffers/docs/proto#options +// If this turns out to be popular, a web service will be set up +// to automatically assign option numbers. + +message FileOptions { + + // Sets the Java package where classes generated from this .proto will be + // placed. By default, the proto package is used, but this is often + // inappropriate because proto packages do not normally start with backwards + // domain names. + optional string java_package = 1; + + // Controls the name of the wrapper Java class generated for the .proto file. + // That class will always contain the .proto file's getDescriptor() method as + // well as any top-level extensions defined in the .proto file. + // If java_multiple_files is disabled, then all the other classes from the + // .proto file will be nested inside the single wrapper outer class. + optional string java_outer_classname = 8; + + // If enabled, then the Java code generator will generate a separate .java + // file for each top-level message, enum, and service defined in the .proto + // file. Thus, these types will *not* be nested inside the wrapper class + // named by java_outer_classname. However, the wrapper class will still be + // generated to contain the file's getDescriptor() method as well as any + // top-level extensions defined in the file. + optional bool java_multiple_files = 10 [default = false]; + + // This option does nothing. + optional bool java_generate_equals_and_hash = 20 [deprecated=true]; + + // A proto2 file can set this to true to opt in to UTF-8 checking for Java, + // which will throw an exception if invalid UTF-8 is parsed from the wire or + // assigned to a string field. + // + // TODO: clarify exactly what kinds of field types this option + // applies to, and update these docs accordingly. + // + // Proto3 files already perform these checks. Setting the option explicitly to + // false has no effect: it cannot be used to opt proto3 files out of UTF-8 + // checks. + optional bool java_string_check_utf8 = 27 [default = false]; + + // Generated classes can be optimized for speed or code size. + enum OptimizeMode { + SPEED = 1; // Generate complete code for parsing, serialization, + // etc. + CODE_SIZE = 2; // Use ReflectionOps to implement these methods. + LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. + } + optional OptimizeMode optimize_for = 9 [default = SPEED]; + + // Sets the Go package where structs generated from this .proto will be + // placed. If omitted, the Go package will be derived from the following: + // - The basename of the package import path, if provided. + // - Otherwise, the package statement in the .proto file, if present. + // - Otherwise, the basename of the .proto file, without extension. + optional string go_package = 11; + + // Should generic services be generated in each language? "Generic" services + // are not specific to any particular RPC system. They are generated by the + // main code generators in each language (without additional plugins). + // Generic services were the only kind of service generation supported by + // early versions of google.protobuf. + // + // Generic services are now considered deprecated in favor of using plugins + // that generate code specific to your particular RPC system. Therefore, + // these default to false. Old code which depends on generic services should + // explicitly set them to true. + optional bool cc_generic_services = 16 [default = false]; + optional bool java_generic_services = 17 [default = false]; + optional bool py_generic_services = 18 [default = false]; + reserved 42; // removed php_generic_services + reserved "php_generic_services"; + + // Is this file deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for everything in the file, or it will be completely ignored; in the very + // least, this is a formalization for deprecating files. + optional bool deprecated = 23 [default = false]; + + // Enables the use of arenas for the proto messages in this file. This applies + // only to generated classes for C++. + optional bool cc_enable_arenas = 31 [default = true]; + + // Sets the objective c class prefix which is prepended to all objective c + // generated classes from this .proto. There is no default. + optional string objc_class_prefix = 36; + + // Namespace for generated classes; defaults to the package. + optional string csharp_namespace = 37; + + // By default Swift generators will take the proto package and CamelCase it + // replacing '.' with underscore and use that to prefix the types/symbols + // defined. When this options is provided, they will use this value instead + // to prefix the types/symbols defined. + optional string swift_prefix = 39; + + // Sets the php class prefix which is prepended to all php generated classes + // from this .proto. Default is empty. + optional string php_class_prefix = 40; + + // Use this option to change the namespace of php generated classes. Default + // is empty. When this option is empty, the package name will be used for + // determining the namespace. + optional string php_namespace = 41; + + // Use this option to change the namespace of php generated metadata classes. + // Default is empty. When this option is empty, the proto file name will be + // used for determining the namespace. + optional string php_metadata_namespace = 44; + + // Use this option to change the package of ruby generated classes. Default + // is empty. When this option is not set, the package name will be used for + // determining the ruby package. + optional string ruby_package = 45; + + // Any features defined in the specific edition. + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional FeatureSet features = 50; + + // The parser stores options it doesn't recognize here. + // See the documentation for the "Options" section above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. + // See the documentation for the "Options" section above. + extensions 1000 to max; + + reserved 38; +} + +message MessageOptions { + // Set true to use the old proto1 MessageSet wire format for extensions. + // This is provided for backwards-compatibility with the MessageSet wire + // format. You should not use this for any other reason: It's less + // efficient, has fewer features, and is more complicated. + // + // The message must be defined exactly as follows: + // message Foo { + // option message_set_wire_format = true; + // extensions 4 to max; + // } + // Note that the message cannot have any defined fields; MessageSets only + // have extensions. + // + // All extensions of your type must be singular messages; e.g. they cannot + // be int32s, enums, or repeated messages. + // + // Because this is an option, the above two restrictions are not enforced by + // the protocol compiler. + optional bool message_set_wire_format = 1 [default = false]; + + // Disables the generation of the standard "descriptor()" accessor, which can + // conflict with a field of the same name. This is meant to make migration + // from proto1 easier; new code should avoid fields named "descriptor". + optional bool no_standard_descriptor_accessor = 2 [default = false]; + + // Is this message deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the message, or it will be completely ignored; in the very least, + // this is a formalization for deprecating messages. + optional bool deprecated = 3 [default = false]; + + reserved 4, 5, 6; + + // Whether the message is an automatically generated map entry type for the + // maps field. + // + // For maps fields: + // map map_field = 1; + // The parsed descriptor looks like: + // message MapFieldEntry { + // option map_entry = true; + // optional KeyType key = 1; + // optional ValueType value = 2; + // } + // repeated MapFieldEntry map_field = 1; + // + // Implementations may choose not to generate the map_entry=true message, but + // use a native map in the target language to hold the keys and values. + // The reflection APIs in such implementations still need to work as + // if the field is a repeated message field. + // + // NOTE: Do not set the option in .proto files. Always use the maps syntax + // instead. The option should only be implicitly set by the proto compiler + // parser. + optional bool map_entry = 7; + + reserved 8; // javalite_serializable + reserved 9; // javanano_as_lite + + // Enable the legacy handling of JSON field name conflicts. This lowercases + // and strips underscored from the fields before comparison in proto3 only. + // The new behavior takes `json_name` into account and applies to proto2 as + // well. + // + // This should only be used as a temporary measure against broken builds due + // to the change in behavior for JSON field name conflicts. + // + // TODO This is legacy behavior we plan to remove once downstream + // teams have had time to migrate. + optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; + + // Any features defined in the specific edition. + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional FeatureSet features = 12; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message FieldOptions { + // NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. + // The ctype option instructs the C++ code generator to use a different + // representation of the field than it normally would. See the specific + // options below. This option is only implemented to support use of + // [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of + // type "bytes" in the open source release. + // TODO: make ctype actually deprecated. + optional CType ctype = 1 [/*deprecated = true,*/ default = STRING]; + enum CType { + // Default mode. + STRING = 0; + + // The option [ctype=CORD] may be applied to a non-repeated field of type + // "bytes". It indicates that in C++, the data should be stored in a Cord + // instead of a string. For very large strings, this may reduce memory + // fragmentation. It may also allow better performance when parsing from a + // Cord, or when parsing with aliasing enabled, as the parsed Cord may then + // alias the original buffer. + CORD = 1; + + STRING_PIECE = 2; + } + // The packed option can be enabled for repeated primitive fields to enable + // a more efficient representation on the wire. Rather than repeatedly + // writing the tag and type for each element, the entire array is encoded as + // a single length-delimited blob. In proto3, only explicit setting it to + // false will avoid using packed encoding. This option is prohibited in + // Editions, but the `repeated_field_encoding` feature can be used to control + // the behavior. + optional bool packed = 2; + + // The jstype option determines the JavaScript type used for values of the + // field. The option is permitted only for 64 bit integral and fixed types + // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING + // is represented as JavaScript string, which avoids loss of precision that + // can happen when a large value is converted to a floating point JavaScript. + // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to + // use the JavaScript "number" type. The behavior of the default option + // JS_NORMAL is implementation dependent. + // + // This option is an enum to permit additional types to be added, e.g. + // goog.math.Integer. + optional JSType jstype = 6 [default = JS_NORMAL]; + enum JSType { + // Use the default type. + JS_NORMAL = 0; + + // Use JavaScript strings. + JS_STRING = 1; + + // Use JavaScript numbers. + JS_NUMBER = 2; + } + + // Should this field be parsed lazily? Lazy applies only to message-type + // fields. It means that when the outer message is initially parsed, the + // inner message's contents will not be parsed but instead stored in encoded + // form. The inner message will actually be parsed when it is first accessed. + // + // This is only a hint. Implementations are free to choose whether to use + // eager or lazy parsing regardless of the value of this option. However, + // setting this option true suggests that the protocol author believes that + // using lazy parsing on this field is worth the additional bookkeeping + // overhead typically needed to implement it. + // + // This option does not affect the public interface of any generated code; + // all method signatures remain the same. Furthermore, thread-safety of the + // interface is not affected by this option; const methods remain safe to + // call from multiple threads concurrently, while non-const methods continue + // to require exclusive access. + // + // Note that lazy message fields are still eagerly verified to check + // ill-formed wireformat or missing required fields. Calling IsInitialized() + // on the outer message would fail if the inner message has missing required + // fields. Failed verification would result in parsing failure (except when + // uninitialized messages are acceptable). + optional bool lazy = 5 [default = false]; + + // unverified_lazy does no correctness checks on the byte stream. This should + // only be used where lazy with verification is prohibitive for performance + // reasons. + optional bool unverified_lazy = 15 [default = false]; + + // Is this field deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for accessors, or it will be completely ignored; in the very least, this + // is a formalization for deprecating fields. + optional bool deprecated = 3 [default = false]; + + // For Google-internal migration only. Do not use. + optional bool weak = 10 [default = false]; + + // Indicate that the field value should not be printed out when using debug + // formats, e.g. when the field contains sensitive credentials. + optional bool debug_redact = 16 [default = false]; + + // If set to RETENTION_SOURCE, the option will be omitted from the binary. + enum OptionRetention { + RETENTION_UNKNOWN = 0; + RETENTION_RUNTIME = 1; + RETENTION_SOURCE = 2; + } + + optional OptionRetention retention = 17; + + // This indicates the types of entities that the field may apply to when used + // as an option. If it is unset, then the field may be freely used as an + // option on any kind of entity. + enum OptionTargetType { + TARGET_TYPE_UNKNOWN = 0; + TARGET_TYPE_FILE = 1; + TARGET_TYPE_EXTENSION_RANGE = 2; + TARGET_TYPE_MESSAGE = 3; + TARGET_TYPE_FIELD = 4; + TARGET_TYPE_ONEOF = 5; + TARGET_TYPE_ENUM = 6; + TARGET_TYPE_ENUM_ENTRY = 7; + TARGET_TYPE_SERVICE = 8; + TARGET_TYPE_METHOD = 9; + } + + repeated OptionTargetType targets = 19; + + message EditionDefault { + optional Edition edition = 3; + optional string value = 2; // Textproto value. + } + repeated EditionDefault edition_defaults = 20; + + // Any features defined in the specific edition. + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional FeatureSet features = 21; + + // Information about the support window of a feature. + message FeatureSupport { + // The edition that this feature was first available in. In editions + // earlier than this one, the default assigned to EDITION_LEGACY will be + // used, and proto files will not be able to override it. + optional Edition edition_introduced = 1; + + // The edition this feature becomes deprecated in. Using this after this + // edition may trigger warnings. + optional Edition edition_deprecated = 2; + + // The deprecation warning text if this feature is used after the edition it + // was marked deprecated in. + optional string deprecation_warning = 3; + + // The edition this feature is no longer available in. In editions after + // this one, the last default assigned will be used, and proto files will + // not be able to override it. + optional Edition edition_removed = 4; + } + optional FeatureSupport feature_support = 22; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; + + reserved 4; // removed jtype + reserved 18; // reserve target, target_obsolete_do_not_use +} + +message OneofOptions { + // Any features defined in the specific edition. + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional FeatureSet features = 1; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message EnumOptions { + + // Set this option to true to allow mapping different tag names to the same + // value. + optional bool allow_alias = 2; + + // Is this enum deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the enum, or it will be completely ignored; in the very least, this + // is a formalization for deprecating enums. + optional bool deprecated = 3 [default = false]; + + reserved 5; // javanano_as_lite + + // Enable the legacy handling of JSON field name conflicts. This lowercases + // and strips underscored from the fields before comparison in proto3 only. + // The new behavior takes `json_name` into account and applies to proto2 as + // well. + // TODO Remove this legacy behavior once downstream teams have + // had time to migrate. + optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; + + // Any features defined in the specific edition. + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional FeatureSet features = 7; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message EnumValueOptions { + // Is this enum value deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the enum value, or it will be completely ignored; in the very least, + // this is a formalization for deprecating enum values. + optional bool deprecated = 1 [default = false]; + + // Any features defined in the specific edition. + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional FeatureSet features = 2; + + // Indicate that fields annotated with this enum value should not be printed + // out when using debug formats, e.g. when the field contains sensitive + // credentials. + optional bool debug_redact = 3 [default = false]; + + // Information about the support window of a feature value. + optional FieldOptions.FeatureSupport feature_support = 4; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message ServiceOptions { + + // Any features defined in the specific edition. + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional FeatureSet features = 34; + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // Is this service deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the service, or it will be completely ignored; in the very least, + // this is a formalization for deprecating services. + optional bool deprecated = 33 [default = false]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message MethodOptions { + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // Is this method deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the method, or it will be completely ignored; in the very least, + // this is a formalization for deprecating methods. + optional bool deprecated = 33 [default = false]; + + // Is this method side-effect-free (or safe in HTTP parlance), or idempotent, + // or neither? HTTP based RPC implementation may choose GET verb for safe + // methods, and PUT verb for idempotent methods instead of the default POST. + enum IdempotencyLevel { + IDEMPOTENCY_UNKNOWN = 0; + NO_SIDE_EFFECTS = 1; // implies idempotent + IDEMPOTENT = 2; // idempotent, but may have side effects + } + optional IdempotencyLevel idempotency_level = 34 + [default = IDEMPOTENCY_UNKNOWN]; + + // Any features defined in the specific edition. + // WARNING: This field should only be used by protobuf plugins or special + // cases like the proto compiler. Other uses are discouraged and + // developers should rely on the protoreflect APIs for their client language. + optional FeatureSet features = 35; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +// A message representing a option the parser does not recognize. This only +// appears in options protos created by the compiler::Parser class. +// DescriptorPool resolves these when building Descriptor objects. Therefore, +// options protos in descriptor objects (e.g. returned by Descriptor::options(), +// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions +// in them. +message UninterpretedOption { + // The name of the uninterpreted option. Each string represents a segment in + // a dot-separated name. is_extension is true iff a segment represents an + // extension (denoted with parentheses in options specs in .proto files). + // E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents + // "foo.(bar.baz).moo". + message NamePart { + required string name_part = 1; + required bool is_extension = 2; + } + repeated NamePart name = 2; + + // The value of the uninterpreted option, in whatever type the tokenizer + // identified it as during parsing. Exactly one of these should be set. + optional string identifier_value = 3; + optional uint64 positive_int_value = 4; + optional int64 negative_int_value = 5; + optional double double_value = 6; + optional bytes string_value = 7; + optional string aggregate_value = 8; +} + +// =================================================================== +// Features + +// TODO Enums in C++ gencode (and potentially other languages) are +// not well scoped. This means that each of the feature enums below can clash +// with each other. The short names we've chosen maximize call-site +// readability, but leave us very open to this scenario. A future feature will +// be designed and implemented to handle this, hopefully before we ever hit a +// conflict here. +message FeatureSet { + enum FieldPresence { + FIELD_PRESENCE_UNKNOWN = 0; + EXPLICIT = 1; + IMPLICIT = 2; + LEGACY_REQUIRED = 3; + } + optional FieldPresence field_presence = 1 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_FIELD, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2023, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "EXPLICIT" }, + edition_defaults = { edition: EDITION_PROTO3, value: "IMPLICIT" }, + edition_defaults = { edition: EDITION_2023, value: "EXPLICIT" } + ]; + + enum EnumType { + ENUM_TYPE_UNKNOWN = 0; + OPEN = 1; + CLOSED = 2; + } + optional EnumType enum_type = 2 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_ENUM, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2023, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "CLOSED" }, + edition_defaults = { edition: EDITION_PROTO3, value: "OPEN" } + ]; + + enum RepeatedFieldEncoding { + REPEATED_FIELD_ENCODING_UNKNOWN = 0; + PACKED = 1; + EXPANDED = 2; + } + optional RepeatedFieldEncoding repeated_field_encoding = 3 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_FIELD, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2023, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "EXPANDED" }, + edition_defaults = { edition: EDITION_PROTO3, value: "PACKED" } + ]; + + enum Utf8Validation { + UTF8_VALIDATION_UNKNOWN = 0; + VERIFY = 2; + NONE = 3; + reserved 1; + } + optional Utf8Validation utf8_validation = 4 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_FIELD, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2023, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "NONE" }, + edition_defaults = { edition: EDITION_PROTO3, value: "VERIFY" } + ]; + + enum MessageEncoding { + MESSAGE_ENCODING_UNKNOWN = 0; + LENGTH_PREFIXED = 1; + DELIMITED = 2; + } + optional MessageEncoding message_encoding = 5 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_FIELD, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2023, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "LENGTH_PREFIXED" } + ]; + + enum JsonFormat { + JSON_FORMAT_UNKNOWN = 0; + ALLOW = 1; + LEGACY_BEST_EFFORT = 2; + } + optional JsonFormat json_format = 6 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_MESSAGE, + targets = TARGET_TYPE_ENUM, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2023, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "LEGACY_BEST_EFFORT" }, + edition_defaults = { edition: EDITION_PROTO3, value: "ALLOW" } + ]; + + enum EnforceNamingStyle { + ENFORCE_NAMING_STYLE_UNKNOWN = 0; + STYLE2024 = 1; + STYLE_LEGACY = 2; + } + optional EnforceNamingStyle enforce_naming_style = 7 [ + retention = RETENTION_SOURCE, + targets = TARGET_TYPE_FILE, + targets = TARGET_TYPE_EXTENSION_RANGE, + targets = TARGET_TYPE_MESSAGE, + targets = TARGET_TYPE_FIELD, + targets = TARGET_TYPE_ONEOF, + targets = TARGET_TYPE_ENUM, + targets = TARGET_TYPE_ENUM_ENTRY, + targets = TARGET_TYPE_SERVICE, + targets = TARGET_TYPE_METHOD, + feature_support = { + edition_introduced: EDITION_2024, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "STYLE_LEGACY" }, + edition_defaults = { edition: EDITION_2024, value: "STYLE2024" } + ]; + + message VisibilityFeature { + enum DefaultSymbolVisibility { + DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0; + + // Default pre-EDITION_2024, all UNSET visibility are export. + EXPORT_ALL = 1; + + // All top-level symbols default to export, nested default to local. + EXPORT_TOP_LEVEL = 2; + + // All symbols default to local. + LOCAL_ALL = 3; + + // All symbols local by default. Nested types cannot be exported. + // With special case caveat for message { enum {} reserved 1 to max; } + // This is the recommended setting for new protos. + STRICT = 4; + } + reserved 1 to max; + } + optional VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = + 8 [ + retention = RETENTION_SOURCE, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2024, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "EXPORT_ALL" }, + edition_defaults = { edition: EDITION_2024, value: "EXPORT_TOP_LEVEL" } + ]; + + reserved 999; + + extensions 1000 to 9994 [ + declaration = { + number: 1000, + full_name: ".pb.cpp", + type: ".pb.CppFeatures" + }, + declaration = { + number: 1001, + full_name: ".pb.java", + type: ".pb.JavaFeatures" + }, + declaration = { number: 1002, full_name: ".pb.go", type: ".pb.GoFeatures" }, + declaration = { + number: 1003, + full_name: ".pb.python", + type: ".pb.PythonFeatures" + }, + declaration = { + number: 9990, + full_name: ".pb.proto1", + type: ".pb.Proto1Features" + } + ]; + + extensions 9995 to 9999; // For internal testing + extensions 10000; // for https://github.com/bufbuild/protobuf-es +} + +// A compiled specification for the defaults of a set of features. These +// messages are generated from FeatureSet extensions and can be used to seed +// feature resolution. The resolution with this object becomes a simple search +// for the closest matching edition, followed by proto merges. +message FeatureSetDefaults { + // A map from every known edition with a unique set of defaults to its + // defaults. Not all editions may be contained here. For a given edition, + // the defaults at the closest matching edition ordered at or before it should + // be used. This field must be in strict ascending order by edition. + message FeatureSetEditionDefault { + optional Edition edition = 3; + + // Defaults of features that can be overridden in this edition. + optional FeatureSet overridable_features = 4; + + // Defaults of features that can't be overridden in this edition. + optional FeatureSet fixed_features = 5; + + reserved 1, 2; + reserved "features"; + } + repeated FeatureSetEditionDefault defaults = 1; + + // The minimum supported edition (inclusive) when this was constructed. + // Editions before this will not have defaults. + optional Edition minimum_edition = 4; + + // The maximum known edition (inclusive) when this was constructed. Editions + // after this will not have reliable defaults. + optional Edition maximum_edition = 5; +} + +// =================================================================== +// Optional source code info + +// Encapsulates information about the original source file from which a +// FileDescriptorProto was generated. +message SourceCodeInfo { + // A Location identifies a piece of source code in a .proto file which + // corresponds to a particular definition. This information is intended + // to be useful to IDEs, code indexers, documentation generators, and similar + // tools. + // + // For example, say we have a file like: + // message Foo { + // optional string foo = 1; + // } + // Let's look at just the field definition: + // optional string foo = 1; + // ^ ^^ ^^ ^ ^^^ + // a bc de f ghi + // We have the following locations: + // span path represents + // [a,i) [ 4, 0, 2, 0 ] The whole field definition. + // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). + // [c,d) [ 4, 0, 2, 0, 5 ] The type (string). + // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). + // [g,h) [ 4, 0, 2, 0, 3 ] The number (1). + // + // Notes: + // - A location may refer to a repeated field itself (i.e. not to any + // particular index within it). This is used whenever a set of elements are + // logically enclosed in a single code segment. For example, an entire + // extend block (possibly containing multiple extension definitions) will + // have an outer location whose path refers to the "extensions" repeated + // field without an index. + // - Multiple locations may have the same path. This happens when a single + // logical declaration is spread out across multiple places. The most + // obvious example is the "extend" block again -- there may be multiple + // extend blocks in the same scope, each of which will have the same path. + // - A location's span is not always a subset of its parent's span. For + // example, the "extendee" of an extension declaration appears at the + // beginning of the "extend" block and is shared by all extensions within + // the block. + // - Just because a location's span is a subset of some other location's span + // does not mean that it is a descendant. For example, a "group" defines + // both a type and a field in a single declaration. Thus, the locations + // corresponding to the type and field and their components will overlap. + // - Code which tries to interpret locations should probably be designed to + // ignore those that it doesn't understand, as more types of locations could + // be recorded in the future. + repeated Location location = 1; + message Location { + // Identifies which part of the FileDescriptorProto was defined at this + // location. + // + // Each element is a field number or an index. They form a path from + // the root FileDescriptorProto to the place where the definition appears. + // For example, this path: + // [ 4, 3, 2, 7, 1 ] + // refers to: + // file.message_type(3) // 4, 3 + // .field(7) // 2, 7 + // .name() // 1 + // This is because FileDescriptorProto.message_type has field number 4: + // repeated DescriptorProto message_type = 4; + // and DescriptorProto.field has field number 2: + // repeated FieldDescriptorProto field = 2; + // and FieldDescriptorProto.name has field number 1: + // optional string name = 1; + // + // Thus, the above path gives the location of a field name. If we removed + // the last element: + // [ 4, 3, 2, 7 ] + // this path refers to the whole field declaration (from the beginning + // of the label to the terminating semicolon). + repeated int32 path = 1 [packed = true]; + + // Always has exactly three or four elements: start line, start column, + // end line (optional, otherwise assumed same as start line), end column. + // These are packed into a single field for efficiency. Note that line + // and column numbers are zero-based -- typically you will want to add + // 1 to each before displaying to a user. + repeated int32 span = 2 [packed = true]; + + // If this SourceCodeInfo represents a complete declaration, these are any + // comments appearing before and after the declaration which appear to be + // attached to the declaration. + // + // A series of line comments appearing on consecutive lines, with no other + // tokens appearing on those lines, will be treated as a single comment. + // + // leading_detached_comments will keep paragraphs of comments that appear + // before (but not connected to) the current element. Each paragraph, + // separated by empty lines, will be one comment element in the repeated + // field. + // + // Only the comment content is provided; comment markers (e.g. //) are + // stripped out. For block comments, leading whitespace and an asterisk + // will be stripped from the beginning of each line other than the first. + // Newlines are included in the output. + // + // Examples: + // + // optional int32 foo = 1; // Comment attached to foo. + // // Comment attached to bar. + // optional int32 bar = 2; + // + // optional string baz = 3; + // // Comment attached to baz. + // // Another line attached to baz. + // + // // Comment attached to moo. + // // + // // Another line attached to moo. + // optional double moo = 4; + // + // // Detached comment for corge. This is not leading or trailing comments + // // to moo or corge because there are blank lines separating it from + // // both. + // + // // Detached comment for corge paragraph 2. + // + // optional string corge = 5; + // /* Block comment attached + // * to corge. Leading asterisks + // * will be removed. */ + // /* Block comment attached to + // * grault. */ + // optional int32 grault = 6; + // + // // ignored detached comments. + optional string leading_comments = 3; + optional string trailing_comments = 4; + repeated string leading_detached_comments = 6; + } + + // Extensions for tooling. + extensions 536000000 [declaration = { + number: 536000000 + type: ".buf.descriptor.v1.SourceCodeInfoExtension" + full_name: ".buf.descriptor.v1.buf_source_code_info_extension" + }]; +} + +// Describes the relationship between generated code and its original source +// file. A GeneratedCodeInfo message is associated with only one generated +// source file, but may contain references to different source .proto files. +message GeneratedCodeInfo { + // An Annotation connects some span of text in generated code to an element + // of its generating .proto file. + repeated Annotation annotation = 1; + message Annotation { + // Identifies the element in the original source .proto file. This field + // is formatted the same as SourceCodeInfo.Location.path. + repeated int32 path = 1 [packed = true]; + + // Identifies the filesystem path to the original source .proto. + optional string source_file = 2; + + // Identifies the starting offset in bytes in the generated code + // that relates to the identified object. + optional int32 begin = 3; + + // Identifies the ending offset in bytes in the generated code that + // relates to the identified object. The end offset should be one past + // the last relevant byte (so the length of the text = end - begin). + optional int32 end = 4; + + // Represents the identified object's effect on the element in the original + // .proto file. + enum Semantic { + // There is no effect or the effect is indescribable. + NONE = 0; + // The element is set or otherwise mutated. + SET = 1; + // An alias to the element is returned. + ALIAS = 2; + } + optional Semantic semantic = 5; + } +} + +// Describes the 'visibility' of a symbol with respect to the proto import +// system. Symbols can only be imported when the visibility rules do not prevent +// it (ex: local symbols cannot be imported). Visibility modifiers can only set +// on `message` and `enum` as they are the only types available to be referenced +// from other files. +enum SymbolVisibility { + VISIBILITY_UNSET = 0; + VISIBILITY_LOCAL = 1; + VISIBILITY_EXPORT = 2; +} diff --git a/src/main/resources/google/protobuf/duration.proto b/src/main/resources/google/protobuf/duration.proto new file mode 100644 index 0000000..41f40c2 --- /dev/null +++ b/src/main/resources/google/protobuf/duration.proto @@ -0,0 +1,115 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/protobuf/types/known/durationpb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "DurationProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; + +// A Duration represents a signed, fixed-length span of time represented +// as a count of seconds and fractions of seconds at nanosecond +// resolution. It is independent of any calendar and concepts like "day" +// or "month". It is related to Timestamp in that the difference between +// two Timestamp values is a Duration and it can be added or subtracted +// from a Timestamp. Range is approximately +-10,000 years. +// +// # Examples +// +// Example 1: Compute Duration from two Timestamps in pseudo code. +// +// Timestamp start = ...; +// Timestamp end = ...; +// Duration duration = ...; +// +// duration.seconds = end.seconds - start.seconds; +// duration.nanos = end.nanos - start.nanos; +// +// if (duration.seconds < 0 && duration.nanos > 0) { +// duration.seconds += 1; +// duration.nanos -= 1000000000; +// } else if (duration.seconds > 0 && duration.nanos < 0) { +// duration.seconds -= 1; +// duration.nanos += 1000000000; +// } +// +// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. +// +// Timestamp start = ...; +// Duration duration = ...; +// Timestamp end = ...; +// +// end.seconds = start.seconds + duration.seconds; +// end.nanos = start.nanos + duration.nanos; +// +// if (end.nanos < 0) { +// end.seconds -= 1; +// end.nanos += 1000000000; +// } else if (end.nanos >= 1000000000) { +// end.seconds += 1; +// end.nanos -= 1000000000; +// } +// +// Example 3: Compute Duration from datetime.timedelta in Python. +// +// td = datetime.timedelta(days=3, minutes=10) +// duration = Duration() +// duration.FromTimedelta(td) +// +// # JSON Mapping +// +// In JSON format, the Duration type is encoded as a string rather than an +// object, where the string ends in the suffix "s" (indicating seconds) and +// is preceded by the number of seconds, with nanoseconds expressed as +// fractional seconds. For example, 3 seconds with 0 nanoseconds should be +// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should +// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 +// microsecond should be expressed in JSON format as "3.000001s". +// +message Duration { + // Signed seconds of the span of time. Must be from -315,576,000,000 + // to +315,576,000,000 inclusive. Note: these bounds are computed from: + // 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years + int64 seconds = 1; + + // Signed fractions of a second at nanosecond resolution of the span + // of time. Durations less than one second are represented with a 0 + // `seconds` field and a positive or negative `nanos` field. For durations + // of one second or more, a non-zero value for the `nanos` field must be + // of the same sign as the `seconds` field. Must be from -999,999,999 + // to +999,999,999 inclusive. + int32 nanos = 2; +} diff --git a/src/main/resources/google/protobuf/empty.proto b/src/main/resources/google/protobuf/empty.proto new file mode 100644 index 0000000..b87c89d --- /dev/null +++ b/src/main/resources/google/protobuf/empty.proto @@ -0,0 +1,51 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option go_package = "google.golang.org/protobuf/types/known/emptypb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "EmptyProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; + +// A generic empty message that you can re-use to avoid defining duplicated +// empty messages in your APIs. A typical example is to use it as the request +// or the response type of an API method. For instance: +// +// service Foo { +// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); +// } +// +message Empty {} diff --git a/src/main/resources/google/protobuf/field_mask.proto b/src/main/resources/google/protobuf/field_mask.proto new file mode 100644 index 0000000..b28334b --- /dev/null +++ b/src/main/resources/google/protobuf/field_mask.proto @@ -0,0 +1,245 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option java_package = "com.google.protobuf"; +option java_outer_classname = "FieldMaskProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "google.golang.org/protobuf/types/known/fieldmaskpb"; +option cc_enable_arenas = true; + +// `FieldMask` represents a set of symbolic field paths, for example: +// +// paths: "f.a" +// paths: "f.b.d" +// +// Here `f` represents a field in some root message, `a` and `b` +// fields in the message found in `f`, and `d` a field found in the +// message in `f.b`. +// +// Field masks are used to specify a subset of fields that should be +// returned by a get operation or modified by an update operation. +// Field masks also have a custom JSON encoding (see below). +// +// # Field Masks in Projections +// +// When used in the context of a projection, a response message or +// sub-message is filtered by the API to only contain those fields as +// specified in the mask. For example, if the mask in the previous +// example is applied to a response message as follows: +// +// f { +// a : 22 +// b { +// d : 1 +// x : 2 +// } +// y : 13 +// } +// z: 8 +// +// The result will not contain specific values for fields x,y and z +// (their value will be set to the default, and omitted in proto text +// output): +// +// +// f { +// a : 22 +// b { +// d : 1 +// } +// } +// +// A repeated field is not allowed except at the last position of a +// paths string. +// +// If a FieldMask object is not present in a get operation, the +// operation applies to all fields (as if a FieldMask of all fields +// had been specified). +// +// Note that a field mask does not necessarily apply to the +// top-level response message. In case of a REST get operation, the +// field mask applies directly to the response, but in case of a REST +// list operation, the mask instead applies to each individual message +// in the returned resource list. In case of a REST custom method, +// other definitions may be used. Where the mask applies will be +// clearly documented together with its declaration in the API. In +// any case, the effect on the returned resource/resources is required +// behavior for APIs. +// +// # Field Masks in Update Operations +// +// A field mask in update operations specifies which fields of the +// targeted resource are going to be updated. The API is required +// to only change the values of the fields as specified in the mask +// and leave the others untouched. If a resource is passed in to +// describe the updated values, the API ignores the values of all +// fields not covered by the mask. +// +// If a repeated field is specified for an update operation, new values will +// be appended to the existing repeated field in the target resource. Note that +// a repeated field is only allowed in the last position of a `paths` string. +// +// If a sub-message is specified in the last position of the field mask for an +// update operation, then new value will be merged into the existing sub-message +// in the target resource. +// +// For example, given the target message: +// +// f { +// b { +// d: 1 +// x: 2 +// } +// c: [1] +// } +// +// And an update message: +// +// f { +// b { +// d: 10 +// } +// c: [2] +// } +// +// then if the field mask is: +// +// paths: ["f.b", "f.c"] +// +// then the result will be: +// +// f { +// b { +// d: 10 +// x: 2 +// } +// c: [1, 2] +// } +// +// An implementation may provide options to override this default behavior for +// repeated and message fields. +// +// In order to reset a field's value to the default, the field must +// be in the mask and set to the default value in the provided resource. +// Hence, in order to reset all fields of a resource, provide a default +// instance of the resource and set all fields in the mask, or do +// not provide a mask as described below. +// +// If a field mask is not present on update, the operation applies to +// all fields (as if a field mask of all fields has been specified). +// Note that in the presence of schema evolution, this may mean that +// fields the client does not know and has therefore not filled into +// the request will be reset to their default. If this is unwanted +// behavior, a specific service may require a client to always specify +// a field mask, producing an error if not. +// +// As with get operations, the location of the resource which +// describes the updated values in the request message depends on the +// operation kind. In any case, the effect of the field mask is +// required to be honored by the API. +// +// ## Considerations for HTTP REST +// +// The HTTP kind of an update operation which uses a field mask must +// be set to PATCH instead of PUT in order to satisfy HTTP semantics +// (PUT must only be used for full updates). +// +// # JSON Encoding of Field Masks +// +// In JSON, a field mask is encoded as a single string where paths are +// separated by a comma. Fields name in each path are converted +// to/from lower-camel naming conventions. +// +// As an example, consider the following message declarations: +// +// message Profile { +// User user = 1; +// Photo photo = 2; +// } +// message User { +// string display_name = 1; +// string address = 2; +// } +// +// In proto a field mask for `Profile` may look as such: +// +// mask { +// paths: "user.display_name" +// paths: "photo" +// } +// +// In JSON, the same mask is represented as below: +// +// { +// mask: "user.displayName,photo" +// } +// +// # Field Masks and Oneof Fields +// +// Field masks treat fields in oneofs just as regular fields. Consider the +// following message: +// +// message SampleMessage { +// oneof test_oneof { +// string name = 4; +// SubMessage sub_message = 9; +// } +// } +// +// The field mask can be: +// +// mask { +// paths: "name" +// } +// +// Or: +// +// mask { +// paths: "sub_message" +// } +// +// Note that oneof type names ("test_oneof" in this case) cannot be used in +// paths. +// +// ## Field Mask Verification +// +// The implementation of any API method which has a FieldMask type field in the +// request should verify the included field paths, and return an +// `INVALID_ARGUMENT` error if any path is unmappable. +message FieldMask { + // The set of field mask paths. + repeated string paths = 1; +} diff --git a/src/main/resources/google/protobuf/java_features.proto b/src/main/resources/google/protobuf/java_features.proto new file mode 100644 index 0000000..4fc6dc4 --- /dev/null +++ b/src/main/resources/google/protobuf/java_features.proto @@ -0,0 +1,130 @@ + +// Protocol Buffers - Google's data interchange format +// Copyright 2023 Google Inc. All rights reserved. +// +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file or at +// https://developers.google.com/open-source/licenses/bsd + +syntax = "proto2"; + +package pb; + +import "google/protobuf/descriptor.proto"; + +option java_package = "com.google.protobuf"; +option java_outer_classname = "JavaFeaturesProto"; + +extend google.protobuf.FeatureSet { + optional JavaFeatures java = 1001; +} + +message JavaFeatures { + // Whether or not to treat an enum field as closed. This option is only + // applicable to enum fields, and will be removed in the future. It is + // consistent with the legacy behavior of using proto3 enum types for proto2 + // fields. + optional bool legacy_closed_enum = 1 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_FIELD, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2023, + edition_deprecated: EDITION_2023, + deprecation_warning: "The legacy closed enum behavior in Java is " + "deprecated and is scheduled to be removed in " + "edition 2025. See http://protobuf.dev/programming-guides/enum/#java for " + "more information.", + }, + edition_defaults = { edition: EDITION_LEGACY, value: "true" }, + edition_defaults = { edition: EDITION_PROTO3, value: "false" } + ]; + + // The UTF8 validation strategy to use. + enum Utf8Validation { + // Invalid default, which should never be used. + UTF8_VALIDATION_UNKNOWN = 0; + // Respect the UTF8 validation behavior specified by the global + // utf8_validation feature. + DEFAULT = 1; + // Verifies UTF8 validity overriding the global utf8_validation + // feature. This represents the legacy java_string_check_utf8 option. + VERIFY = 2; + } + optional Utf8Validation utf8_validation = 2 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_FIELD, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2023, + edition_deprecated: EDITION_2024, + deprecation_warning: "The Java-specific utf8 validation feature is " + "deprecated and is scheduled to be removed in " + "edition 2025. Utf8 validation behavior should " + "use the global cross-language utf8_validation " + "feature.", + }, + edition_defaults = { edition: EDITION_LEGACY, value: "DEFAULT" } + ]; + + // Allows creation of large Java enums, extending beyond the standard + // constant limits imposed by the Java language. + optional bool large_enum = 3 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_ENUM, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2024, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "false" } + ]; + + // Whether to use the old default outer class name scheme, or the new feature + // which adds a "Proto" suffix to the outer class name. + // + // Users will not be able to set this option, because we removed it in the + // same edition that it was introduced. But we use it to determine which + // naming scheme to use for outer class name defaults. + optional bool use_old_outer_classname_default = 4 [ + retention = RETENTION_RUNTIME, + targets = TARGET_TYPE_FILE, + feature_support = { + edition_introduced: EDITION_2024, + edition_removed: EDITION_2024, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "true" }, + edition_defaults = { edition: EDITION_2024, value: "false" } + ]; + + message NestInFileClassFeature { + enum NestInFileClass { + // Invalid default, which should never be used. + NEST_IN_FILE_CLASS_UNKNOWN = 0; + // Do not nest the generated class in the file class. + NO = 1; + // Nest the generated class in the file class. + YES = 2; + // Fall back to the `java_multiple_files` option. Users won't be able to + // set this option. + LEGACY = 3 [feature_support = { + edition_introduced: EDITION_2024 + edition_removed: EDITION_2024 + }]; + } + reserved 1 to max; + } + + // Whether to nest the generated class in the generated file class. This is + // only applicable to *top-level* messages, enums, and services. + optional NestInFileClassFeature.NestInFileClass nest_in_file_class = 5 [ + retention = RETENTION_SOURCE, + targets = TARGET_TYPE_MESSAGE, + targets = TARGET_TYPE_ENUM, + targets = TARGET_TYPE_SERVICE, + feature_support = { + edition_introduced: EDITION_2024, + }, + edition_defaults = { edition: EDITION_LEGACY, value: "LEGACY" }, + edition_defaults = { edition: EDITION_2024, value: "NO" } + ]; +} diff --git a/src/main/resources/google/protobuf/source_context.proto b/src/main/resources/google/protobuf/source_context.proto new file mode 100644 index 0000000..135f50f --- /dev/null +++ b/src/main/resources/google/protobuf/source_context.proto @@ -0,0 +1,48 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option java_package = "com.google.protobuf"; +option java_outer_classname = "SourceContextProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "google.golang.org/protobuf/types/known/sourcecontextpb"; + +// `SourceContext` represents information about the source of a +// protobuf element, like the file in which it is defined. +message SourceContext { + // The path-qualified name of the .proto file that contained the associated + // protobuf element. For example: `"google/protobuf/source_context.proto"`. + string file_name = 1; +} diff --git a/src/main/resources/google/protobuf/struct.proto b/src/main/resources/google/protobuf/struct.proto new file mode 100644 index 0000000..1bf0c1a --- /dev/null +++ b/src/main/resources/google/protobuf/struct.proto @@ -0,0 +1,95 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/protobuf/types/known/structpb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "StructProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; + +// `Struct` represents a structured data value, consisting of fields +// which map to dynamically typed values. In some languages, `Struct` +// might be supported by a native representation. For example, in +// scripting languages like JS a struct is represented as an +// object. The details of that representation are described together +// with the proto support for the language. +// +// The JSON representation for `Struct` is JSON object. +message Struct { + // Unordered map of dynamically typed values. + map fields = 1; +} + +// `Value` represents a dynamically typed value which can be either +// null, a number, a string, a boolean, a recursive struct value, or a +// list of values. A producer of value is expected to set one of these +// variants. Absence of any variant indicates an error. +// +// The JSON representation for `Value` is JSON value. +message Value { + // The kind of value. + oneof kind { + // Represents a null value. + NullValue null_value = 1; + // Represents a double value. + double number_value = 2; + // Represents a string value. + string string_value = 3; + // Represents a boolean value. + bool bool_value = 4; + // Represents a structured value. + Struct struct_value = 5; + // Represents a repeated `Value`. + ListValue list_value = 6; + } +} + +// `NullValue` is a singleton enumeration to represent the null value for the +// `Value` type union. +// +// The JSON representation for `NullValue` is JSON `null`. +enum NullValue { + // Null value. + NULL_VALUE = 0; +} + +// `ListValue` is a wrapper around a repeated field of values. +// +// The JSON representation for `ListValue` is JSON array. +message ListValue { + // Repeated field of dynamically typed values. + repeated Value values = 1; +} diff --git a/src/main/resources/google/protobuf/timestamp.proto b/src/main/resources/google/protobuf/timestamp.proto new file mode 100644 index 0000000..fd0bc07 --- /dev/null +++ b/src/main/resources/google/protobuf/timestamp.proto @@ -0,0 +1,144 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/protobuf/types/known/timestamppb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "TimestampProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; + +// A Timestamp represents a point in time independent of any time zone or local +// calendar, encoded as a count of seconds and fractions of seconds at +// nanosecond resolution. The count is relative to an epoch at UTC midnight on +// January 1, 1970, in the proleptic Gregorian calendar which extends the +// Gregorian calendar backwards to year one. +// +// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap +// second table is needed for interpretation, using a [24-hour linear +// smear](https://developers.google.com/time/smear). +// +// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By +// restricting to that range, we ensure that we can convert to and from [RFC +// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. +// +// # Examples +// +// Example 1: Compute Timestamp from POSIX `time()`. +// +// Timestamp timestamp; +// timestamp.set_seconds(time(NULL)); +// timestamp.set_nanos(0); +// +// Example 2: Compute Timestamp from POSIX `gettimeofday()`. +// +// struct timeval tv; +// gettimeofday(&tv, NULL); +// +// Timestamp timestamp; +// timestamp.set_seconds(tv.tv_sec); +// timestamp.set_nanos(tv.tv_usec * 1000); +// +// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. +// +// FILETIME ft; +// GetSystemTimeAsFileTime(&ft); +// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; +// +// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z +// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. +// Timestamp timestamp; +// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); +// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); +// +// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. +// +// long millis = System.currentTimeMillis(); +// +// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) +// .setNanos((int) ((millis % 1000) * 1000000)).build(); +// +// Example 5: Compute Timestamp from Java `Instant.now()`. +// +// Instant now = Instant.now(); +// +// Timestamp timestamp = +// Timestamp.newBuilder().setSeconds(now.getEpochSecond()) +// .setNanos(now.getNano()).build(); +// +// Example 6: Compute Timestamp from current time in Python. +// +// timestamp = Timestamp() +// timestamp.GetCurrentTime() +// +// # JSON Mapping +// +// In JSON format, the Timestamp type is encoded as a string in the +// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the +// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" +// where {year} is always expressed using four digits while {month}, {day}, +// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional +// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), +// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone +// is required. A proto3 JSON serializer should always use UTC (as indicated by +// "Z") when printing the Timestamp type and a proto3 JSON parser should be +// able to accept both UTC and other timezones (as indicated by an offset). +// +// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past +// 01:30 UTC on January 15, 2017. +// +// In JavaScript, one can convert a Date object to this format using the +// standard +// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) +// method. In Python, a standard `datetime.datetime` object can be converted +// to this format using +// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with +// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use +// the Joda Time's [`ISODateTimeFormat.dateTime()`]( +// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() +// ) to obtain a formatter capable of generating timestamps in this format. +// +message Timestamp { + // Represents seconds of UTC time since Unix epoch + // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + // 9999-12-31T23:59:59Z inclusive. + int64 seconds = 1; + + // Non-negative fractions of a second at nanosecond resolution. Negative + // second values with fractions must still have non-negative nanos values + // that count forward in time. Must be from 0 to 999,999,999 + // inclusive. + int32 nanos = 2; +} diff --git a/src/main/resources/google/protobuf/type.proto b/src/main/resources/google/protobuf/type.proto new file mode 100644 index 0000000..48cb11e --- /dev/null +++ b/src/main/resources/google/protobuf/type.proto @@ -0,0 +1,193 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +import "google/protobuf/any.proto"; +import "google/protobuf/source_context.proto"; + +option cc_enable_arenas = true; +option java_package = "com.google.protobuf"; +option java_outer_classname = "TypeProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "google.golang.org/protobuf/types/known/typepb"; + +// A protocol buffer message type. +message Type { + // The fully qualified message name. + string name = 1; + // The list of fields. + repeated Field fields = 2; + // The list of types appearing in `oneof` definitions in this type. + repeated string oneofs = 3; + // The protocol buffer options. + repeated Option options = 4; + // The source context. + SourceContext source_context = 5; + // The source syntax. + Syntax syntax = 6; + // The source edition string, only valid when syntax is SYNTAX_EDITIONS. + string edition = 7; +} + +// A single field of a message type. +message Field { + // Basic field types. + enum Kind { + // Field type unknown. + TYPE_UNKNOWN = 0; + // Field type double. + TYPE_DOUBLE = 1; + // Field type float. + TYPE_FLOAT = 2; + // Field type int64. + TYPE_INT64 = 3; + // Field type uint64. + TYPE_UINT64 = 4; + // Field type int32. + TYPE_INT32 = 5; + // Field type fixed64. + TYPE_FIXED64 = 6; + // Field type fixed32. + TYPE_FIXED32 = 7; + // Field type bool. + TYPE_BOOL = 8; + // Field type string. + TYPE_STRING = 9; + // Field type group. Proto2 syntax only, and deprecated. + TYPE_GROUP = 10; + // Field type message. + TYPE_MESSAGE = 11; + // Field type bytes. + TYPE_BYTES = 12; + // Field type uint32. + TYPE_UINT32 = 13; + // Field type enum. + TYPE_ENUM = 14; + // Field type sfixed32. + TYPE_SFIXED32 = 15; + // Field type sfixed64. + TYPE_SFIXED64 = 16; + // Field type sint32. + TYPE_SINT32 = 17; + // Field type sint64. + TYPE_SINT64 = 18; + } + + // Whether a field is optional, required, or repeated. + enum Cardinality { + // For fields with unknown cardinality. + CARDINALITY_UNKNOWN = 0; + // For optional fields. + CARDINALITY_OPTIONAL = 1; + // For required fields. Proto2 syntax only. + CARDINALITY_REQUIRED = 2; + // For repeated fields. + CARDINALITY_REPEATED = 3; + } + + // The field type. + Kind kind = 1; + // The field cardinality. + Cardinality cardinality = 2; + // The field number. + int32 number = 3; + // The field name. + string name = 4; + // The field type URL, without the scheme, for message or enumeration + // types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. + string type_url = 6; + // The index of the field type in `Type.oneofs`, for message or enumeration + // types. The first type has index 1; zero means the type is not in the list. + int32 oneof_index = 7; + // Whether to use alternative packed wire representation. + bool packed = 8; + // The protocol buffer options. + repeated Option options = 9; + // The field JSON name. + string json_name = 10; + // The string value of the default value of this field. Proto2 syntax only. + string default_value = 11; +} + +// Enum type definition. +message Enum { + // Enum type name. + string name = 1; + // Enum value definitions. + repeated EnumValue enumvalue = 2; + // Protocol buffer options. + repeated Option options = 3; + // The source context. + SourceContext source_context = 4; + // The source syntax. + Syntax syntax = 5; + // The source edition string, only valid when syntax is SYNTAX_EDITIONS. + string edition = 6; +} + +// Enum value definition. +message EnumValue { + // Enum value name. + string name = 1; + // Enum value number. + int32 number = 2; + // Protocol buffer options. + repeated Option options = 3; +} + +// A protocol buffer option, which can be attached to a message, field, +// enumeration, etc. +message Option { + // The option's name. For protobuf built-in options (options defined in + // descriptor.proto), this is the short name. For example, `"map_entry"`. + // For custom options, it should be the fully-qualified name. For example, + // `"google.api.http"`. + string name = 1; + // The option's value packed in an Any message. If the value is a primitive, + // the corresponding wrapper type defined in google/protobuf/wrappers.proto + // should be used. If the value is an enum, it should be stored as an int32 + // value using the google.protobuf.Int32Value type. + Any value = 2; +} + +// The syntax in which a protocol buffer element is defined. +enum Syntax { + // Syntax `proto2`. + SYNTAX_PROTO2 = 0; + // Syntax `proto3`. + SYNTAX_PROTO3 = 1; + // Syntax `editions`. + SYNTAX_EDITIONS = 2; +} diff --git a/src/main/resources/google/protobuf/wrappers.proto b/src/main/resources/google/protobuf/wrappers.proto new file mode 100644 index 0000000..e583e7c --- /dev/null +++ b/src/main/resources/google/protobuf/wrappers.proto @@ -0,0 +1,157 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// Wrappers for primitive (non-message) types. These types were needed +// for legacy reasons and are not recommended for use in new APIs. +// +// Historically these wrappers were useful to have presence on proto3 primitive +// fields, but proto3 syntax has been updated to support the `optional` keyword. +// Using that keyword is now the strongly preferred way to add presence to +// proto3 primitive fields. +// +// A secondary usecase was to embed primitives in the `google.protobuf.Any` +// type: it is now recommended that you embed your value in your own wrapper +// message which can be specifically documented. +// +// These wrappers have no meaningful use within repeated fields as they lack +// the ability to detect presence on individual elements. +// These wrappers have no meaningful use within a map or a oneof since +// individual entries of a map or fields of a oneof can already detect presence. + +syntax = "proto3"; + +package google.protobuf; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/protobuf/types/known/wrapperspb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "WrappersProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; + +// Wrapper message for `double`. +// +// The JSON representation for `DoubleValue` is JSON number. +// +// Not recommended for use in new APIs, but still useful for legacy APIs and +// has no plan to be removed. +message DoubleValue { + // The double value. + double value = 1; +} + +// Wrapper message for `float`. +// +// The JSON representation for `FloatValue` is JSON number. +// +// Not recommended for use in new APIs, but still useful for legacy APIs and +// has no plan to be removed. +message FloatValue { + // The float value. + float value = 1; +} + +// Wrapper message for `int64`. +// +// The JSON representation for `Int64Value` is JSON string. +// +// Not recommended for use in new APIs, but still useful for legacy APIs and +// has no plan to be removed. +message Int64Value { + // The int64 value. + int64 value = 1; +} + +// Wrapper message for `uint64`. +// +// The JSON representation for `UInt64Value` is JSON string. +// +// Not recommended for use in new APIs, but still useful for legacy APIs and +// has no plan to be removed. +message UInt64Value { + // The uint64 value. + uint64 value = 1; +} + +// Wrapper message for `int32`. +// +// The JSON representation for `Int32Value` is JSON number. +// +// Not recommended for use in new APIs, but still useful for legacy APIs and +// has no plan to be removed. +message Int32Value { + // The int32 value. + int32 value = 1; +} + +// Wrapper message for `uint32`. +// +// The JSON representation for `UInt32Value` is JSON number. +// +// Not recommended for use in new APIs, but still useful for legacy APIs and +// has no plan to be removed. +message UInt32Value { + // The uint32 value. + uint32 value = 1; +} + +// Wrapper message for `bool`. +// +// The JSON representation for `BoolValue` is JSON `true` and `false`. +// +// Not recommended for use in new APIs, but still useful for legacy APIs and +// has no plan to be removed. +message BoolValue { + // The bool value. + bool value = 1; +} + +// Wrapper message for `string`. +// +// The JSON representation for `StringValue` is JSON string. +// +// Not recommended for use in new APIs, but still useful for legacy APIs and +// has no plan to be removed. +message StringValue { + // The string value. + string value = 1; +} + +// Wrapper message for `bytes`. +// +// The JSON representation for `BytesValue` is JSON string. +// +// Not recommended for use in new APIs, but still useful for legacy APIs and +// has no plan to be removed. +message BytesValue { + // The bytes value. + bytes value = 1; +} diff --git a/src/main/resources/joptsimple/ExceptionMessages.properties b/src/main/resources/joptsimple/ExceptionMessages.properties new file mode 100644 index 0000000..e5ce44d --- /dev/null +++ b/src/main/resources/joptsimple/ExceptionMessages.properties @@ -0,0 +1,19 @@ +joptsimple.IllegalOptionSpecificationException.message = {0} is not a legal option character +joptsimple.MissingRequiredOptionsException.message = Missing required option(s) {0} +joptsimple.MultipleArgumentsForOptionException.message = Found multiple arguments for option {0}, but you asked for only one +joptsimple.OptionArgumentConversionException.message = Cannot parse argument ''{0}'' of option {1} +joptsimple.OptionMissingRequiredArgumentException.message = Option {0} requires an argument +joptsimple.UnavailableOptionException.message = Option(s) {0} are unavailable given other options on the command line +joptsimple.UnconfiguredOptionException.message = Option(s) {0} not configured on this parser +joptsimple.UnrecognizedOptionException.message = {0} is not a recognized option +joptsimple.util.DateConverter.without.pattern.message = Value [{0}] does not match date/time pattern +joptsimple.util.DateConverter.with.pattern.message = Value [{0}] does not match date/time pattern [{1}] +joptsimple.util.RegexMatcher.message = Value [{0}] did not match regex [{1}] +joptsimple.util.EnumConverter.message = Value [{0}] is not one of [{1}] +joptsimple.util.PathConverter.file.existing.message = File [{0}] does not exist +joptsimple.util.PathConverter.directory.existing.message = Directory [{0}] does not exist +joptsimple.util.PathConverter.file.not.existing.message = File [{0}] does already exist +joptsimple.util.PathConverter.file.overwritable.message = File [{0}] is not overwritable +joptsimple.util.PathConverter.file.readable.message = File [{0}] is not readable +joptsimple.util.PathConverter.file.writable.message = File [{0}] is not writable +joptsimple.util.InetAddressConverter.message = Cannot convert value [{0}] into an InetAddress \ No newline at end of file diff --git a/src/main/resources/joptsimple/HelpFormatterMessages.properties b/src/main/resources/joptsimple/HelpFormatterMessages.properties new file mode 100644 index 0000000..d0faea7 --- /dev/null +++ b/src/main/resources/joptsimple/HelpFormatterMessages.properties @@ -0,0 +1,11 @@ +joptsimple.BuiltinHelpFormatter.no.options.specified = No options specified +joptsimple.BuiltinHelpFormatter.non.option.arguments.header = Non-option arguments: +joptsimple.BuiltinHelpFormatter.option.header.with.required.indicator = Option (* = required) +joptsimple.BuiltinHelpFormatter.option.divider.with.required.indicator = --------------------- +joptsimple.BuiltinHelpFormatter.option.header = Option +joptsimple.BuiltinHelpFormatter.option.divider = ------ +joptsimple.BuiltinHelpFormatter.description.header = Description +joptsimple.BuiltinHelpFormatter.description.divider = ----------- +joptsimple.BuiltinHelpFormatter.default.value.header = default: +joptsimple.AlternativeLongOptionSpec.description = Alternative form of long options +joptsimple.AlternativeLongOptionSpec.arg.description = opt=value diff --git a/src/main/resources/libdeflate_aarch64.so b/src/main/resources/libdeflate_aarch64.so new file mode 100644 index 0000000000000000000000000000000000000000..f985490fd210e97962fa45ac54dfa98f1f3fe98f GIT binary patch literal 67672 zcmb@P3w%`7wg2}yXYvk^;USnHnF)vxE#i|zgE<*qfoPDBR!VIr4+4Qfp4vYMl1Yew zPJ3n4UV72n1Oz3yrM11T}`|MPWyL-H@X)5y1P`_0dQc9WO2LtpAxu(ieaXh(N4Y10_L|(qk-SKuP zGjdnq+NHKwu9mZ*=PhSL^+)da8ln7Y;d|sgJ^bD~;rHGNzjyu~?&dq;dwi%GW#cZ_ zo8kOR??b}nB6le(|L#5X;0*aat<6gQ-Tkd_eUW?Qy(zpWFX0;J+|iCd!M!5wDY_-m-N$`o4oOk z!%8z(*#q72YH+^N9BP$+SnmNT-bLPudj{7KuAyAR zxvu9L!F3bYciz9PY5$K#-Zb)E-=XV@9vt#eKhKEIx1OH$az^pw!}ksQ(a#tE`0)wu z*xRSSzFWPpVc^~IJ=ZS&LHrYsH_e~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MNo2?LZ`OlH4gW`t^qc86ziaaG z*Z37DrvGZA{ZQ@45;H+3ZU0UGCavR5pntRdao+InG`?>JVEQxZ@2>N2);kxqP?d6< z9t~>xGp*m{huE3%kB|cwF%cI1!`Hhv`Jg%C-!ULA2b&fKHU0Ow&fZK;AT_@o=ybU8 O{Z9fd`EB|$t^WsmW-mhk literal 0 HcmV?d00001 diff --git a/src/main/resources/libdeflate_x86_64.so b/src/main/resources/libdeflate_x86_64.so new file mode 100644 index 0000000000000000000000000000000000000000..8456a9a87b5ae92a2951bf5e472efe947575f4bf GIT binary patch literal 90128 zcmeFa3wRaPxi`Ki*+7uM1PPc{lvuaQF4PhWHoHL0!0a#^CxD7b70XQ`d?HDc9i&Pz zVRnG!Fo=SeQ|)(b?fL7e_Gl{yQBn2|kPE0JLAiMgD6oeJgo_vulJEDfHTyycw)Oj- z|M&d=kKtj@%$jw5*ZaQfy{$D5`}O=3Npi*hQeD4vC7xWaJm(c{7a_pL1 zt}9+OjTGfNURzT{IajK4b^1xkRIbG-*YO&5x)HmkImM}u^#4Vt-j3I7CtvK^v0SZF zuH)6?l#5-d4f?xnfAF5~(%uB8T;7kwKssK(bjBCE#@f3DQ`#5dZt*|CRWE75-n1|JUOGkMV!f$HUfrwtPs=kR9g!>uwEtzWQtHz5o5A ziQ^C4F>v|IrPd>3rgpvY&Ud!BUif2w{jQNWuK0D@qmQgBDq3^Rk3M`MyKr_!FX;kMr!0Cw=nntH-W=BKrK5iZOrJcN`ab|at-t{8+uf0e*&0lBr47f=CsTWDV z>>}xdFH(O#(tm{i9sdeZPj6S2t2U2%7Q+FT>kRHMb@g(EH}hmZhje$3lkW0}^iksC z`lFLRVUtLR;dfUcDAnWoQl$UD$v+7QN9og|BH4Wf0f4Wo8tIgthsJOVs#_F*}LJW6*fd2G${lN9H0|z|vzrO=4)Na!? z;(3&l{(#f}VyFLv^Yr(Q({78?Zj4qc9XN+O!1;Ek{s~ThYD6`zqfUCZlOBWTPn`P0 z8$`w>PDks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ai7i!4h{Xz<4UROmMul- zFh&11&COPN9*$93!#OM&lKb8?lk6+W^lfsfM{9yNrp?I}2@U0*xge<&|Ay3$Wdxd? z=xZa&E6Q|#hWW(VGx;MPpXnY!snE+Rp0Jj^rvT%nC@4U z>2E|K6kSdQGk#?At}MSOS0Wfsr9~B%5vswC;Bmy`D6#6HJb#*HLG=8HI-}DW$)C|s;PfzFI=LzP3%w88D_C)fEnK$r<37Yh8nx#oAYd@Z_cX`L^(+#)IGuvnd36^ zZ_aC({sTr}Gyi5d)1Se6nKLtgoAYL-Z#Uxi&cA_H^9Yi*8Q+|zGktTO&isDw^3Nx( zyh}9_H0S+H-<&6uFk<`nj$aKd%?rc4MbNTt|c@Y}lX2dsrwKvX;jBkz) znEuPX;x8Gh2R3~(oSB6A+w|Y)6@RG_-}G}dGp6pF@l5|Wz2bMxa~b1v%m2|czP;y9 z%R9Z|o8y?KZ;q>&(ad@@f4^(QH|yULXJpv$?Y#!E>}Ev6f3H`3bNtiv5B4g5@9)d7 zhXgUdpA@f0F#Q?AoFUF^KPGAu4>A`hJSfhbmoxp|;mzNs{~2+tfEnMM2Q+;%oTM$z z{B8PQgOj#v#y7`>O~1w{zwn + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/log4j2.component.properties b/src/main/resources/log4j2.component.properties new file mode 100644 index 0000000..e43f5da --- /dev/null +++ b/src/main/resources/log4j2.component.properties @@ -0,0 +1,2 @@ +log4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector +log4j.skipJansi=true diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml new file mode 100644 index 0000000..663bdde --- /dev/null +++ b/src/main/resources/log4j2.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties new file mode 100644 index 0000000..94254c9 --- /dev/null +++ b/src/main/resources/messages.properties @@ -0,0 +1,45 @@ +alert=\u00a78[\u00a74Alert\u00a78]\u00a7r +already_connected=\u00a7cYou are already connected to this server! +already_connected_proxy=\u00a7cYou are already connected to this proxy! +already_connecting=\u00a7cAlready connecting to this server! +command_list=\u00a7a[{0}] \u00a7e({1}): \u00a7r{2} +connect_kick=\u00a7cKicked whilst connecting to {0}: {1} +current_server=\u00a76You are currently connected to {0}. +fallback_kick=\u00a7cCould not connect to a default or fallback server. Incorrectly configured address/port/firewall? {0} +fallback_lobby=\u00a7cCould not connect to target server, you have been moved to a fallback server. +lost_connection=\u00a7cProxy lost connection to server. +mojang_fail=\u00a7cError occurred while contacting login servers, are they down? +no_permission=\u00a7cYou do not have permission to execute this command! +no_server=\u00a7cThe specified server does not exist. +no_server_permission=\u00a7cYou don''t have permission to access this server. +outdated_client=\u00a7cOutdated client! Please use {0} +outdated_server=\u00a7cOutdated server! I''m still on {0} +proxy_full=\u00a7cServer is full! +restart=\u00a7cThe proxy server is restarting +server_list=\u00a76You may connect to the following servers at this time: +server_went_down=\u00a7cThe server you were previously on went down, you have been connected to a fallback server +total_players=Total players online: {0} +name_invalid=\u00a7cUsername contains invalid characters. +ping_cannot_connect=\u00a7cCould not request status from target server. +offline_mode_player=\u00a7cNot authenticated with Minecraft.net +secure_profile_required=\u00a7cA secure profile is required to join this server. +secure_profile_expired=\u00a7cSecure profile expired. +secure_profile_invalid=\u00a7cSecure profile invalid. +secure_profile_unsupported=\u00a7cOutdated client, secure profile not supported. Please use 1.19 or newer. +message_needed=\u00a7cYou must supply a message. +error_occurred_player=\u00a7cAn error occurred while parsing your message. (Hover for details) +error_occurred_console=\u00a7cAn error occurred while parsing your message: {0} +click_to_connect=Click to connect to the server +username_needed=\u00a7cPlease follow this command by a username. +user_not_online=\u00a7cThat user is not online. +user_online_at=\u00a7a{0} \u00a7ris online at {1} +send_cmd_usage=\u00a7cNot enough arguments, usage: /send +player_only=\u00a7cOnly in game players can use this command +you_got_summoned=\u00a76Summoned to {0} by {1} +command_perms_groups=\u00a76You have the following groups: {0} +command_perms_permission=\u00a79- {0} +command_ip=\u00a79IP of {0} is {1} +illegal_chat_characters=\u00a7cIllegal characters in chat ({0}) +kick_message=\u00a7cYou have been kicked off the proxy. +reject_transfer=\u00a7cYour transfer was rejected. +packet_limit_kick=\u00a7cYou have sent too many packets diff --git a/src/main/resources/mojang-translations/en_US.properties b/src/main/resources/mojang-translations/en_US.properties new file mode 100644 index 0000000..a5afd07 --- /dev/null +++ b/src/main/resources/mojang-translations/en_US.properties @@ -0,0 +1,3453 @@ +# (c) 2017 Mojang AB + +language.name=English +language.region=United States +language.code=en_us + +gui.done=Done +gui.cancel=Cancel +gui.back=Back +gui.toTitle=Back to title screen +gui.toMenu=Back to server list +gui.up=Up +gui.down=Down +gui.yes=Yes +gui.no=No +gui.none=None +gui.all=All + +gui.recipebook.moreRecipes=Right Click for more +gui.recipebook.toggleRecipes.all=Showing all +gui.recipebook.toggleRecipes.craftable=Showing craftable + +translation.test.none=Hello, world! +translation.test.complex=Prefix, %s%2$s again %s and %1$s lastly %s and also %1$s again! +translation.test.escape=%%s %%%s %%%%s %%%%%s +translation.test.invalid=hi % +translation.test.invalid2=hi % s +translation.test.args=%s %s +translation.test.world=world + +menu.game=Game Menu +menu.singleplayer=Singleplayer +menu.multiplayer=Multiplayer +menu.online=Minecraft Realms +menu.options=Options... +menu.quit=Quit Game +menu.returnToMenu=Save and Quit to Title +menu.disconnect=Disconnect +menu.returnToGame=Back to Game +menu.generatingLevel=Generating world +menu.loadingLevel=Loading world +menu.generatingTerrain=Building terrain +menu.convertingLevel=Converting world +menu.respawning=Respawning +menu.shareToLan=Open to LAN + +selectWorld.title=Select World +selectWorld.empty=empty +selectWorld.world=World +selectWorld.select=Play Selected World +selectWorld.create=Create New World +selectWorld.recreate=Re-Create +selectWorld.createDemo=Play New Demo World +selectWorld.delete=Delete +selectWorld.edit=Edit +selectWorld.edit.title=Edit World +selectWorld.edit.resetIcon=Reset Icon +selectWorld.edit.openFolder=Open Folder +selectWorld.edit.save=Save World +selectWorld.deleteQuestion=Are you sure you want to delete this world? +selectWorld.deleteWarning=will be lost forever! (A long time!) +selectWorld.deleteButton=Delete +selectWorld.conversion=Must be converted! +selectWorld.newWorld=New World +selectWorld.newWorld.copyOf=Copy of %s +selectWorld.enterName=World Name +selectWorld.resultFolder=Will be saved in: +selectWorld.enterSeed=Seed for the world generator +selectWorld.seedInfo=Leave blank for a random seed +selectWorld.cheats=Cheats +selectWorld.customizeType=Customize +selectWorld.version=Version: +selectWorld.versionUnknown=unknown +selectWorld.versionQuestion=Do you really want to load this world? +selectWorld.versionWarning=This world was saved in version '%s' and loading it in this version could cause corruption! +selectWorld.versionJoinButton=Use Anyway +selectWorld.tooltip.fromNewerVersion1=World was saved in a newer version, +selectWorld.tooltip.fromNewerVersion2=loading this world could cause problems! +selectWorld.tooltip.snapshot1=Don't forget to backup this world +selectWorld.tooltip.snapshot2=before you load it in this snapshot. + +selectWorld.unable_to_load=Unable to load worlds +selectWorld.load_folder_access=Unable to read or access folder where game worlds are saved! + +createWorld.customize.presets=Presets +createWorld.customize.presets.title=Select a Preset +createWorld.customize.presets.select=Use Preset +createWorld.customize.presets.share=Want to share your preset with someone? Use the below box! +createWorld.customize.presets.list=Alternatively, here's some we made earlier! +createWorld.customize.flat.title=Superflat Customization +createWorld.customize.flat.tile=Layer Material +createWorld.customize.flat.height=Height +createWorld.customize.flat.addLayer=Add Layer +createWorld.customize.flat.editLayer=Edit Layer +createWorld.customize.flat.removeLayer=Remove Layer +createWorld.customize.flat.layer.top=Top - %s +createWorld.customize.flat.layer=%s +createWorld.customize.flat.layer.bottom=Bottom - %s + +createWorld.customize.preset.classic_flat=Classic Flat +createWorld.customize.preset.tunnelers_dream=Tunnelers' Dream +createWorld.customize.preset.water_world=Water World +createWorld.customize.preset.overworld=Overworld +createWorld.customize.preset.snowy_kingdom=Snowy Kingdom +createWorld.customize.preset.bottomless_pit=Bottomless Pit +createWorld.customize.preset.desert=Desert +createWorld.customize.preset.redstone_ready=Redstone Ready +createWorld.customize.preset.the_void=The Void + +createWorld.customize.custom.page0=Basic Settings +createWorld.customize.custom.page1=Ore Settings +createWorld.customize.custom.page2=Advanced Settings (Expert Users Only!) +createWorld.customize.custom.page3=Extra Advanced Settings (Expert Users Only!) +createWorld.customize.custom.randomize=Randomize +createWorld.customize.custom.prev=Previous Page +createWorld.customize.custom.next=Next Page +createWorld.customize.custom.defaults=Defaults +createWorld.customize.custom.confirm1=This will overwrite your current +createWorld.customize.custom.confirm2=settings and cannot be undone. +createWorld.customize.custom.confirmTitle=Warning! +createWorld.customize.custom.mainNoiseScaleX=Main Noise Scale X +createWorld.customize.custom.mainNoiseScaleY=Main Noise Scale Y +createWorld.customize.custom.mainNoiseScaleZ=Main Noise Scale Z +createWorld.customize.custom.depthNoiseScaleX=Depth Noise Scale X +createWorld.customize.custom.depthNoiseScaleZ=Depth Noise Scale Z +createWorld.customize.custom.depthNoiseScaleExponent=Depth Noise Exponent +createWorld.customize.custom.baseSize=Depth Base Size +createWorld.customize.custom.coordinateScale=Coordinate Scale +createWorld.customize.custom.heightScale=Height Scale +createWorld.customize.custom.stretchY=Height Stretch +createWorld.customize.custom.upperLimitScale=Upper Limit Scale +createWorld.customize.custom.lowerLimitScale=Lower Limit Scale +createWorld.customize.custom.biomeDepthWeight=Biome Depth Weight +createWorld.customize.custom.biomeDepthOffset=Biome Depth Offset +createWorld.customize.custom.biomeScaleWeight=Biome Scale Weight +createWorld.customize.custom.biomeScaleOffset=Biome Scale Offset +createWorld.customize.custom.seaLevel=Sea Level +createWorld.customize.custom.useCaves=Caves +createWorld.customize.custom.useStrongholds=Strongholds +createWorld.customize.custom.useVillages=Villages +createWorld.customize.custom.useMineShafts=Mineshafts +createWorld.customize.custom.useTemples=Temples +createWorld.customize.custom.useMonuments=Ocean Monuments +createWorld.customize.custom.useMansions=Woodland Mansions +createWorld.customize.custom.useRavines=Ravines +createWorld.customize.custom.useDungeons=Dungeons +createWorld.customize.custom.dungeonChance=Dungeon Count +createWorld.customize.custom.useWaterLakes=Water Lakes +createWorld.customize.custom.waterLakeChance=Water Lake Rarity +createWorld.customize.custom.useLavaLakes=Lava Lakes +createWorld.customize.custom.lavaLakeChance=Lava Lake Rarity +createWorld.customize.custom.useLavaOceans=Lava Oceans +createWorld.customize.custom.fixedBiome=Biome +createWorld.customize.custom.biomeSize=Biome Size +createWorld.customize.custom.riverSize=River Size + +createWorld.customize.custom.size=Spawn Size +createWorld.customize.custom.count=Spawn Tries +createWorld.customize.custom.minHeight=Min. Height +createWorld.customize.custom.maxHeight=Max. Height +createWorld.customize.custom.center=Center Height +createWorld.customize.custom.spread=Spread Height + +createWorld.customize.custom.presets.title=Customize World Presets +createWorld.customize.custom.presets=Presets +createWorld.customize.custom.preset.waterWorld=Water World +createWorld.customize.custom.preset.isleLand=Isle Land +createWorld.customize.custom.preset.caveDelight=Caver's Delight +createWorld.customize.custom.preset.mountains=Mountain Madness +createWorld.customize.custom.preset.drought=Drought +createWorld.customize.custom.preset.caveChaos=Caves of Chaos +createWorld.customize.custom.preset.goodLuck=Good Luck + +gameMode.survival=Survival Mode +gameMode.creative=Creative Mode +gameMode.adventure=Adventure Mode +gameMode.spectator=Spectator Mode +gameMode.hardcore=Hardcore Mode! +gameMode.changed=Your game mode has been updated to %s + +spectatorMenu.previous_page=Previous Page +spectatorMenu.next_page=Next Page +spectatorMenu.close=Close Menu +spectatorMenu.teleport=Teleport to Player +spectatorMenu.teleport.prompt=Select a player to teleport to +spectatorMenu.team_teleport=Teleport to Team Member +spectatorMenu.team_teleport.prompt=Select a team to teleport to +spectatorMenu.root.prompt=Press a key to select a command, and again to use it. + +selectWorld.gameMode=Game Mode +selectWorld.gameMode.survival=Survival +selectWorld.gameMode.survival.line1=Search for resources, crafting, gain +selectWorld.gameMode.survival.line2=levels, health and hunger +selectWorld.gameMode.creative=Creative +selectWorld.gameMode.creative.line1=Unlimited resources, free flying and +selectWorld.gameMode.creative.line2=destroy blocks instantly +selectWorld.gameMode.spectator=Spectator +selectWorld.gameMode.spectator.line1=You can look but don't touch +selectWorld.gameMode.spectator.line2= +selectWorld.gameMode.hardcore=Hardcore +selectWorld.gameMode.hardcore.line1=Same as survival mode, locked at hardest +selectWorld.gameMode.hardcore.line2=difficulty, and one life only +selectWorld.gameMode.adventure=Adventure +selectWorld.gameMode.adventure.line1=Same as survival mode, but blocks can't +selectWorld.gameMode.adventure.line2=be added or removed +selectWorld.moreWorldOptions=More World Options... +selectWorld.mapFeatures=Generate Structures: +selectWorld.mapFeatures.info=Villages, dungeons etc +selectWorld.mapType=World Type: +selectWorld.mapType.normal=Normal +selectWorld.allowCommands=Allow Cheats: +selectWorld.allowCommands.info=Commands like /gamemode, /xp +selectWorld.hardcoreMode=Hardcore: +selectWorld.hardcoreMode.info=World is deleted upon death +selectWorld.bonusItems=Bonus Chest: + +generator.default=Default +generator.flat=Superflat +generator.largeBiomes=Large Biomes +generator.amplified=AMPLIFIED +generator.customized=Customized +generator.debug_all_block_states=Debug Mode + +generator.amplified.info=Notice: Just for fun, requires beefy computer + +selectServer.title=Select Server +selectServer.empty=empty +selectServer.select=Join Server +selectServer.direct=Direct Connect +selectServer.edit=Edit +selectServer.delete=Delete +selectServer.add=Add Server +selectServer.defaultName=Minecraft Server +selectServer.deleteQuestion=Are you sure you want to remove this server? +selectServer.deleteWarning=will be lost forever! (A long time!) +selectServer.deleteButton=Delete +selectServer.refresh=Refresh +selectServer.hiddenAddress=(Hidden) +addServer.title=Edit Server Info +addServer.enterName=Server Name +addServer.enterIp=Server Address +addServer.add=Done +addServer.hideAddress=Hide Address +addServer.resourcePack=Server Resource Packs +addServer.resourcePack.enabled=Enabled +addServer.resourcePack.disabled=Disabled +addServer.resourcePack.prompt=Prompt +lanServer.title=LAN World +lanServer.scanning=Scanning for games on your local network +lanServer.start=Start LAN World +lanServer.otherPlayers=Settings for Other Players +mcoServer.title=Minecraft Online World + +multiplayer.title=Play Multiplayer +multiplayer.connect=Connect +multiplayer.ipinfo=Enter the IP of a server to connect to it: +multiplayer.texturePrompt.line1=This server recommends the use of a custom resource pack. +multiplayer.texturePrompt.line2=Would you like to download and install it automagically? +multiplayer.downloadingTerrain=Loading terrain +multiplayer.downloadingStats=Downloading statistics... +multiplayer.stopSleeping=Leave Bed +multiplayer.player.joined=%s joined the game +multiplayer.player.joined.renamed=%s (formerly known as %s) joined the game +multiplayer.player.left=%s left the game + +multiplayer.status.and_more=... and %s more ... +multiplayer.status.cancelled=Cancelled +multiplayer.status.cannot_connect=Can't connect to server +multiplayer.status.cannot_resolve=Can't resolve hostname +multiplayer.status.client_out_of_date=Client out of date! +multiplayer.status.no_connection=(no connection) +multiplayer.status.old=Old +multiplayer.status.pinging=Pinging... +multiplayer.status.server_out_of_date=Server out of date! +multiplayer.status.unknown=??? +multiplayer.status.unrequested=Received unrequested status +multiplayer.disconnect.authservers_down=Authentication servers are down. Please try again later, sorry! +multiplayer.disconnect.banned=You are banned from this server. +multiplayer.disconnect.duplicate_login=You logged in from another location +multiplayer.disconnect.flying=Flying is not enabled on this server +multiplayer.disconnect.generic=Disconnected +multiplayer.disconnect.idling=You have been idle for too long! +multiplayer.disconnect.illegal_characters=Illegal characters in chat +multiplayer.disconnect.invalid_entity_attacked=Attempting to attack an invalid entity +multiplayer.disconnect.invalid_player_movement=Invalid move player packet received +multiplayer.disconnect.invalid_vehicle_movement=Invalid move vehicle packet received +multiplayer.disconnect.ip_banned=You have been IP banned. +multiplayer.disconnect.kicked=Kicked by an operator. +multiplayer.disconnect.outdated_client=Outdated client! Please use %s +multiplayer.disconnect.outdated_server=Outdated server! I'm still on %s +multiplayer.disconnect.server_shutdown=Server closed +multiplayer.disconnect.slow_login=Took too long to log in +multiplayer.disconnect.unverified_username=Failed to verify username! + +chat.cannotSend=Cannot send chat message +chat.type.text=<%s> %s +chat.type.text.narrate=%s says %s +chat.type.emote=* %s %s +chat.type.announcement=[%s] %s +chat.type.admin=[%s: %s] +chat.type.advancement.task=%s has made the advancement %s +chat.type.advancement.challenge=%s has completed the challenge %s +chat.type.advancement.goal=%s has reached the goal %s +chat.link.confirm=Are you sure you want to open the following website? +chat.link.warning=Never open links from people that you don't trust! +chat.copy=Copy to Clipboard +chat.link.confirmTrusted=Do you want to open this link or copy it to your clipboard? +chat.link.open=Open in browser + +menu.playdemo=Play Demo World +menu.resetdemo=Reset Demo World + +demo.day.1=This demo will last five game days, do your best! +demo.day.2=Day Two +demo.day.3=Day Three +demo.day.4=Day Four +demo.day.5=This is your last day! +demo.day.warning=Your time is almost up! +demo.day.6=You have passed your fifth day, use F2 to save a screenshot of your creation +demo.reminder=The demo time has expired, buy the game to continue or start a new world! +demo.remainingTime=Remaining time: %s +demo.demoExpired=Demo time's up! +demo.help.movement=Use the %1$s, %2$s, %3$s, %4$s keys and the mouse to move around +demo.help.movementShort=Move by pressing the %1$s, %2$s, %3$s, %4$s keys +demo.help.movementMouse=Look around using the mouse +demo.help.jump=Jump by pressing the %1$s key +demo.help.inventory=Use the %1$s key to open your inventory +demo.help.title=Minecraft Demo Mode +demo.help.fullWrapped=This demo will last 5 ingame days (about 1 hour and 40 minutes of real time). Check the advancements for hints! Have fun! +demo.help.buy=Purchase Now! +demo.help.later=Continue Playing! + +connect.connecting=Connecting to the server... +connect.authorizing=Logging in... +connect.failed=Failed to connect to the server + +disconnect.genericReason=%s +disconnect.disconnected=Disconnected by Server +disconnect.lost=Connection Lost +disconnect.kicked=Was kicked from the game +disconnect.timeout=Timed out +disconnect.closed=Connection closed +disconnect.loginFailed=Failed to login +disconnect.loginFailedInfo=Failed to login: %s +disconnect.loginFailedInfo.serversUnavailable=The authentication servers are currently down for maintenance. +disconnect.loginFailedInfo.invalidSession=Invalid session (Try restarting your game and the launcher) +disconnect.quitting=Quitting +disconnect.endOfStream=End of stream +disconnect.overflow=Buffer overflow +disconnect.spam=Kicked for spamming + +soundCategory.master=Master Volume +soundCategory.music=Music +soundCategory.record=Jukebox/Note Blocks +soundCategory.weather=Weather +soundCategory.hostile=Hostile Creatures +soundCategory.neutral=Friendly Creatures +soundCategory.player=Players +soundCategory.block=Blocks +soundCategory.ambient=Ambient/Environment +soundCategory.voice=Voice/Speech + +record.nowPlaying=Now playing: %s + +options.off=OFF +options.on=ON +options.visible=Shown +options.hidden=Hidden +options.title=Options +options.controls=Controls... +options.video=Video Settings... +options.language=Language... +options.sounds=Music & Sounds... +options.sounds.title=Music & Sound Options +options.languageWarning=Language translations may not be 100%% accurate +options.videoTitle=Video Settings +options.customizeTitle=Customize World Settings +options.music=Music +options.sound=Sound +options.invertMouse=Invert Mouse +options.fov=FOV +options.fov.min=Normal +options.fov.max=Quake Pro +options.saturation=Saturation +options.gamma=Brightness +options.gamma.min=Moody +options.gamma.max=Bright +options.sensitivity=Sensitivity +options.sensitivity.min=*yawn* +options.sensitivity.max=HYPERSPEED!!! +options.renderDistance=Render Distance +options.viewBobbing=View Bobbing +options.ao=Smooth Lighting +options.ao.off=OFF +options.ao.min=Minimum +options.ao.max=Maximum +options.anaglyph=3D Anaglyph +options.chunks=%s chunks +options.framerate=%s fps +options.framerateLimit=Max Framerate +options.framerateLimit.max=Unlimited +options.difficulty=Difficulty +options.difficulty.peaceful=Peaceful +options.difficulty.easy=Easy +options.difficulty.normal=Normal +options.difficulty.hard=Hard +options.difficulty.hardcore=Hardcore +options.graphics=Graphics +options.graphics.fancy=Fancy +options.graphics.fast=Fast +options.clouds.fancy=Fancy +options.clouds.fast=Fast +options.guiScale=GUI Scale +options.guiScale.auto=Auto +options.guiScale.small=Small +options.guiScale.normal=Normal +options.guiScale.large=Large +options.renderClouds=Clouds +options.particles=Particles +options.particles.all=All +options.particles.decreased=Decreased +options.particles.minimal=Minimal +options.multiplayer.title=Multiplayer Settings... +options.chat.title=Chat Settings... +options.chat.visibility=Chat +options.chat.visibility.full=Shown +options.chat.visibility.system=Commands Only +options.chat.visibility.hidden=Hidden +options.chat.color=Colors +options.chat.opacity=Opacity +options.chat.links=Web Links +options.chat.links.prompt=Prompt on Links +options.chat.scale=Scale +options.chat.width=Width +options.chat.height.focused=Focused Height +options.chat.height.unfocused=Unfocused Height +options.skinCustomisation=Skin Customization... +options.skinCustomisation.title=Skin Customization +options.modelPart.cape=Cape +options.modelPart.hat=Hat +options.modelPart.jacket=Jacket +options.modelPart.left_sleeve=Left Sleeve +options.modelPart.right_sleeve=Right Sleeve +options.modelPart.left_pants_leg=Left Pants Leg +options.modelPart.right_pants_leg=Right Pants Leg +options.snooper=Allow Snooper +options.snooper.view=Snooper Settings... +options.snooper.title=Feed us data! +options.snooper.desc=We always want to improve Minecraft and, to help us do that, we'd like to collect some information. This lets us know what hardware to support and where the big problems are. It also gives us a sense of the size of our active player base, so we know if we're doing a good job. You can view all the information we collect below. If you want to opt out then you can simply toggle it off! +options.resourcepack=Resource Packs... +options.fullscreen=Fullscreen +options.vsync=Use VSync +options.vbo=Use VBOs +options.touchscreen=Touchscreen Mode +options.reducedDebugInfo=Reduced Debug Info +options.entityShadows=Entity Shadows +options.mainHand=Main Hand +options.mainHand.left=Left +options.mainHand.right=Right +options.attackIndicator=Attack Indicator +options.attack.crosshair=Crosshair +options.attack.hotbar=Hotbar +options.showSubtitles=Show Subtitles +options.realmsNotifications=Realms Notifications +options.autoJump=Auto-Jump +options.narrator=Narrator +options.narrator.off=Off +options.narrator.all=Narrates all +options.narrator.chat=Narrates chat +options.narrator.system=Narrates system +options.narrator.notavailable=Not available + +options.mipmapLevels=Mipmap Levels +options.forceUnicodeFont=Force Unicode Font + +narrator.toast.disabled=Narrator Disabled +narrator.toast.enabled=Narrator Enabled + +difficulty.lock.title=Lock World Difficulty +difficulty.lock.question=Are you sure you want to lock the difficulty of this world? This will set this world to always be %1$s, and you will never be able to change that again. + +title.oldgl1=Old graphics card detected; this may prevent you from +title.oldgl2=playing in the future as OpenGL 2.0 will be required. + +controls.title=Controls +controls.reset=Reset +controls.resetAll=Reset Keys + +key.sprint=Sprint +key.forward=Walk Forwards +key.left=Strafe Left +key.back=Walk Backwards +key.right=Strafe Right +key.jump=Jump +key.inventory=Open/Close Inventory +key.drop=Drop Selected Item +key.swapHands=Swap Item In Hands +key.chat=Open Chat +key.sneak=Sneak +key.playerlist=List Players +key.attack=Attack/Destroy +key.use=Use Item/Place Block +key.pickItem=Pick Block +key.mouseButton=Button %1$s +key.mouse.left=Left Click +key.mouse.middle=Middle Click +key.mouse.right=Right Click +key.command=Open Command +key.screenshot=Take Screenshot +key.togglePerspective=Toggle Perspective +key.smoothCamera=Toggle Cinematic Camera +key.fullscreen=Toggle Fullscreen +key.spectatorOutlines=Highlight Players (Spectators) +key.hotbar.1=Hotbar Slot 1 +key.hotbar.2=Hotbar Slot 2 +key.hotbar.3=Hotbar Slot 3 +key.hotbar.4=Hotbar Slot 4 +key.hotbar.5=Hotbar Slot 5 +key.hotbar.6=Hotbar Slot 6 +key.hotbar.7=Hotbar Slot 7 +key.hotbar.8=Hotbar Slot 8 +key.hotbar.9=Hotbar Slot 9 +key.saveToolbarActivator=Save Toolbar Activator +key.loadToolbarActivator=Load Toolbar Activator +key.advancements=Advancements + +key.categories.movement=Movement +key.categories.misc=Miscellaneous +key.categories.multiplayer=Multiplayer +key.categories.gameplay=Gameplay +key.categories.ui=Game Interface +key.categories.inventory=Inventory +key.categories.creative=Creative Mode + +resourcePack.openFolder=Open Resource Pack Folder +resourcePack.title=Select Resource Packs +resourcePack.available.title=Available Resource Packs +resourcePack.selected.title=Selected Resource Packs +resourcePack.folderInfo=(Place resource pack files here) +resourcePack.incompatible=Incompatible +resourcePack.incompatible.old=(Made for an older version of Minecraft) +resourcePack.incompatible.new=(Made for a newer version of Minecraft) +resourcePack.incompatible.confirm.title=Are you sure you want to load this resource pack? +resourcePack.incompatible.confirm.old=This resource pack was made for an older version of Minecraft and may no longer work correctly. +resourcePack.incompatible.confirm.new=This resource pack was made for a newer version of Minecraft and may no longer work correctly. + +sign.edit=Edit sign message + +book.pageIndicator=Page %1$s of %2$s +book.byAuthor=by %1$s +book.signButton=Sign +book.editTitle=Enter Book Title: +book.finalizeButton=Sign and Close +book.finalizeWarning=Note! When you sign the book, it will no longer be editable. +book.generation.0=Original +book.generation.1=Copy of original +book.generation.2=Copy of a copy +book.generation.3=Tattered + +merchant.deprecated=Trade something else to unlock! + +tile.air.name=Air +tile.barrier.name=Barrier +tile.stone.stone.name=Stone +tile.stone.granite.name=Granite +tile.stone.graniteSmooth.name=Polished Granite +tile.stone.diorite.name=Diorite +tile.stone.dioriteSmooth.name=Polished Diorite +tile.stone.andesite.name=Andesite +tile.stone.andesiteSmooth.name=Polished Andesite +tile.hayBlock.name=Hay Bale +tile.grass.name=Grass Block +tile.dirt.name=Dirt +tile.dirt.default.name=Dirt +tile.dirt.coarse.name=Coarse Dirt +tile.dirt.podzol.name=Podzol +tile.stonebrick.name=Cobblestone +tile.wood.name=Wooden Planks +tile.wood.oak.name=Oak Wood Planks +tile.wood.spruce.name=Spruce Wood Planks +tile.wood.birch.name=Birch Wood Planks +tile.wood.jungle.name=Jungle Wood Planks +tile.wood.acacia.name=Acacia Wood Planks +tile.wood.big_oak.name=Dark Oak Wood Planks +tile.sapling.oak.name=Oak Sapling +tile.sapling.spruce.name=Spruce Sapling +tile.sapling.birch.name=Birch Sapling +tile.sapling.jungle.name=Jungle Sapling +tile.sapling.acacia.name=Acacia Sapling +tile.sapling.big_oak.name=Dark Oak Sapling +tile.deadbush.name=Dead Bush +tile.bedrock.name=Bedrock +tile.water.name=Water +tile.lava.name=Lava +tile.sand.name=Sand +tile.sand.default.name=Sand +tile.sand.red.name=Red Sand +tile.sandStone.name=Sandstone +tile.sandStone.default.name=Sandstone +tile.sandStone.chiseled.name=Chiseled Sandstone +tile.sandStone.smooth.name=Smooth Sandstone +tile.redSandStone.name=Red Sandstone +tile.redSandStone.default.name=Red Sandstone +tile.redSandStone.chiseled.name=Chiseled Red Sandstone +tile.redSandStone.smooth.name=Smooth Red Sandstone +tile.gravel.name=Gravel +tile.oreGold.name=Gold Ore +tile.oreIron.name=Iron Ore +tile.oreCoal.name=Coal Ore +tile.log.name=Wood +tile.log.oak.name=Oak Wood +tile.log.spruce.name=Spruce Wood +tile.log.birch.name=Birch Wood +tile.log.jungle.name=Jungle Wood +tile.log.acacia.name=Acacia Wood +tile.log.big_oak.name=Dark Oak Wood +tile.leaves.name=Leaves +tile.leaves.oak.name=Oak Leaves +tile.leaves.spruce.name=Spruce Leaves +tile.leaves.birch.name=Birch Leaves +tile.leaves.jungle.name=Jungle Leaves +tile.leaves.acacia.name=Acacia Leaves +tile.leaves.big_oak.name=Dark Oak Leaves +tile.tallgrass.name=Grass +tile.tallgrass.shrub.name=Shrub +tile.tallgrass.grass.name=Grass +tile.tallgrass.fern.name=Fern +tile.sponge.dry.name=Sponge +tile.sponge.wet.name=Wet Sponge +tile.glass.name=Glass +tile.stainedGlass.name=Stained Glass +tile.stainedGlass.black.name=Black Stained Glass +tile.stainedGlass.red.name=Red Stained Glass +tile.stainedGlass.green.name=Green Stained Glass +tile.stainedGlass.brown.name=Brown Stained Glass +tile.stainedGlass.blue.name=Blue Stained Glass +tile.stainedGlass.purple.name=Purple Stained Glass +tile.stainedGlass.cyan.name=Cyan Stained Glass +tile.stainedGlass.silver.name=Light Gray Stained Glass +tile.stainedGlass.gray.name=Gray Stained Glass +tile.stainedGlass.pink.name=Pink Stained Glass +tile.stainedGlass.lime.name=Lime Stained Glass +tile.stainedGlass.yellow.name=Yellow Stained Glass +tile.stainedGlass.lightBlue.name=Light Blue Stained Glass +tile.stainedGlass.magenta.name=Magenta Stained Glass +tile.stainedGlass.orange.name=Orange Stained Glass +tile.stainedGlass.white.name=White Stained Glass +tile.thinStainedGlass.name=Stained Glass Pane +tile.thinStainedGlass.black.name=Black Stained Glass Pane +tile.thinStainedGlass.red.name=Red Stained Glass Pane +tile.thinStainedGlass.green.name=Green Stained Glass Pane +tile.thinStainedGlass.brown.name=Brown Stained Glass Pane +tile.thinStainedGlass.blue.name=Blue Stained Glass Pane +tile.thinStainedGlass.purple.name=Purple Stained Glass Pane +tile.thinStainedGlass.cyan.name=Cyan Stained Glass Pane +tile.thinStainedGlass.silver.name=Light Gray Stained Glass Pane +tile.thinStainedGlass.gray.name=Gray Stained Glass Pane +tile.thinStainedGlass.pink.name=Pink Stained Glass Pane +tile.thinStainedGlass.lime.name=Lime Stained Glass Pane +tile.thinStainedGlass.yellow.name=Yellow Stained Glass Pane +tile.thinStainedGlass.lightBlue.name=Light Blue Stained Glass Pane +tile.thinStainedGlass.magenta.name=Magenta Stained Glass Pane +tile.thinStainedGlass.orange.name=Orange Stained Glass Pane +tile.thinStainedGlass.white.name=White Stained Glass Pane +tile.thinGlass.name=Glass Pane +tile.cloth.name=Wool +tile.flower1.name=Flower +tile.flower1.dandelion.name=Dandelion +tile.flower2.name=Flower +tile.flower2.poppy.name=Poppy +tile.flower2.blueOrchid.name=Blue Orchid +tile.flower2.allium.name=Allium +tile.flower2.houstonia.name=Azure Bluet +tile.flower2.tulipRed.name=Red Tulip +tile.flower2.tulipOrange.name=Orange Tulip +tile.flower2.tulipWhite.name=White Tulip +tile.flower2.tulipPink.name=Pink Tulip +tile.flower2.oxeyeDaisy.name=Oxeye Daisy +tile.doublePlant.name=Plant +tile.doublePlant.sunflower.name=Sunflower +tile.doublePlant.syringa.name=Lilac +tile.doublePlant.grass.name=Double Tallgrass +tile.doublePlant.fern.name=Large Fern +tile.doublePlant.rose.name=Rose Bush +tile.doublePlant.paeonia.name=Peony +tile.mushroom.name=Mushroom +tile.blockGold.name=Block of Gold +tile.blockIron.name=Block of Iron +tile.stoneSlab.name=Stone Slab +tile.stoneSlab.stone.name=Stone Slab +tile.stoneSlab.sand.name=Sandstone Slab +tile.stoneSlab.wood.name=Wooden Slab +tile.stoneSlab.cobble.name=Cobblestone Slab +tile.stoneSlab.brick.name=Bricks Slab +tile.stoneSlab.smoothStoneBrick.name=Stone Bricks Slab +tile.stoneSlab.netherBrick.name=Nether Brick Slab +tile.stoneSlab.quartz.name=Quartz Slab +tile.stoneSlab2.red_sandstone.name=Red Sandstone Slab +tile.woodSlab.name=Wood Slab +tile.woodSlab.oak.name=Oak Wood Slab +tile.woodSlab.spruce.name=Spruce Wood Slab +tile.woodSlab.birch.name=Birch Wood Slab +tile.woodSlab.jungle.name=Jungle Wood Slab +tile.woodSlab.acacia.name=Acacia Wood Slab +tile.woodSlab.big_oak.name=Dark Oak Wood Slab +tile.brick.name=Bricks +tile.tnt.name=TNT +tile.bookshelf.name=Bookshelf +tile.stoneMoss.name=Moss Stone +tile.obsidian.name=Obsidian +tile.torch.name=Torch +tile.fire.name=Fire +tile.mobSpawner.name=Monster Spawner +tile.stairsWood.name=Oak Wood Stairs +tile.stairsWoodSpruce.name=Spruce Wood Stairs +tile.stairsWoodBirch.name=Birch Wood Stairs +tile.stairsWoodJungle.name=Jungle Wood Stairs +tile.stairsWoodAcacia.name=Acacia Wood Stairs +tile.stairsWoodDarkOak.name=Dark Oak Wood Stairs +tile.chest.name=Chest +tile.chestTrap.name=Trapped Chest +tile.redstoneDust.name=Redstone Dust +tile.oreDiamond.name=Diamond Ore +tile.blockCoal.name=Block of Coal +tile.blockDiamond.name=Block of Diamond +tile.workbench.name=Crafting Table +tile.crops.name=Crops +tile.farmland.name=Farmland +tile.furnace.name=Furnace +tile.sign.name=Sign +tile.doorWood.name=Wooden Door +tile.ladder.name=Ladder +tile.rail.name=Rail +tile.goldenRail.name=Powered Rail +tile.activatorRail.name=Activator Rail +tile.detectorRail.name=Detector Rail +tile.stairsStone.name=Cobblestone Stairs +tile.stairsSandStone.name=Sandstone Stairs +tile.stairsRedSandStone.name=Red Sandstone Stairs +tile.lever.name=Lever +tile.pressurePlateStone.name=Stone Pressure Plate +tile.pressurePlateWood.name=Wooden Pressure Plate +tile.weightedPlate_light.name=Weighted Pressure Plate (Light) +tile.weightedPlate_heavy.name=Weighted Pressure Plate (Heavy) +tile.doorIron.name=Iron Door +tile.oreRedstone.name=Redstone Ore +tile.notGate.name=Redstone Torch +tile.button.name=Button +tile.snow.name=Snow +tile.woolCarpet.name=Carpet +tile.woolCarpet.black.name=Black Carpet +tile.woolCarpet.red.name=Red Carpet +tile.woolCarpet.green.name=Green Carpet +tile.woolCarpet.brown.name=Brown Carpet +tile.woolCarpet.blue.name=Blue Carpet +tile.woolCarpet.purple.name=Purple Carpet +tile.woolCarpet.cyan.name=Cyan Carpet +tile.woolCarpet.silver.name=Light Gray Carpet +tile.woolCarpet.gray.name=Gray Carpet +tile.woolCarpet.pink.name=Pink Carpet +tile.woolCarpet.lime.name=Lime Carpet +tile.woolCarpet.yellow.name=Yellow Carpet +tile.woolCarpet.lightBlue.name=Light Blue Carpet +tile.woolCarpet.magenta.name=Magenta Carpet +tile.woolCarpet.orange.name=Orange Carpet +tile.woolCarpet.white.name=White Carpet +tile.ice.name=Ice +tile.frostedIce.name=Frosted Ice +tile.icePacked.name=Packed Ice +tile.cactus.name=Cactus +tile.clay.name=Clay +tile.clayHardenedStained.name=Stained Terracotta +tile.clayHardenedStained.black.name=Black Terracotta +tile.clayHardenedStained.red.name=Red Terracotta +tile.clayHardenedStained.green.name=Green Terracotta +tile.clayHardenedStained.brown.name=Brown Terracotta +tile.clayHardenedStained.blue.name=Blue Terracotta +tile.clayHardenedStained.purple.name=Purple Terracotta +tile.clayHardenedStained.cyan.name=Cyan Terracotta +tile.clayHardenedStained.silver.name=Light Gray Terracotta +tile.clayHardenedStained.gray.name=Gray Terracotta +tile.clayHardenedStained.pink.name=Pink Terracotta +tile.clayHardenedStained.lime.name=Lime Terracotta +tile.clayHardenedStained.yellow.name=Yellow Terracotta +tile.clayHardenedStained.lightBlue.name=Light Blue Terracotta +tile.clayHardenedStained.magenta.name=Magenta Terracotta +tile.clayHardenedStained.orange.name=Orange Terracotta +tile.clayHardenedStained.white.name=White Terracotta +tile.clayHardened.name=Terracotta +tile.reeds.name=Sugar cane +tile.jukebox.name=Jukebox +tile.fence.name=Oak Fence +tile.spruceFence.name=Spruce Fence +tile.birchFence.name=Birch Fence +tile.jungleFence.name=Jungle Fence +tile.darkOakFence.name=Dark Oak Fence +tile.acaciaFence.name=Acacia Fence +tile.fenceGate.name=Oak Fence Gate +tile.spruceFenceGate.name=Spruce Fence Gate +tile.birchFenceGate.name=Birch Fence Gate +tile.jungleFenceGate.name=Jungle Fence Gate +tile.darkOakFenceGate.name=Dark Oak Fence Gate +tile.acaciaFenceGate.name=Acacia Fence Gate +tile.pumpkinStem.name=Pumpkin Stem +tile.pumpkin.name=Pumpkin +tile.litpumpkin.name=Jack o'Lantern +tile.hellrock.name=Netherrack +tile.hellsand.name=Soul Sand +tile.lightgem.name=Glowstone +tile.portal.name=Portal +tile.cloth.black.name=Black Wool +tile.cloth.red.name=Red Wool +tile.cloth.green.name=Green Wool +tile.cloth.brown.name=Brown Wool +tile.cloth.blue.name=Blue Wool +tile.cloth.purple.name=Purple Wool +tile.cloth.cyan.name=Cyan Wool +tile.cloth.silver.name=Light Gray Wool +tile.cloth.gray.name=Gray Wool +tile.cloth.pink.name=Pink Wool +tile.cloth.lime.name=Lime Wool +tile.cloth.yellow.name=Yellow Wool +tile.cloth.lightBlue.name=Light Blue Wool +tile.cloth.magenta.name=Magenta Wool +tile.cloth.orange.name=Orange Wool +tile.cloth.white.name=White Wool +tile.oreLapis.name=Lapis Lazuli Ore +tile.blockLapis.name=Lapis Lazuli Block +tile.dispenser.name=Dispenser +tile.dropper.name=Dropper +tile.musicBlock.name=Note Block +tile.cake.name=Cake +tile.bed.occupied=This bed is occupied +tile.bed.noSleep=You can only sleep at night +tile.bed.tooFarAway=You may not rest now, the bed is too far away +tile.bed.notSafe=You may not rest now, there are monsters nearby +tile.bed.notValid=Your home bed was missing or obstructed +tile.lockedchest.name=Locked chest +tile.trapdoor.name=Wooden Trapdoor +tile.ironTrapdoor.name=Iron Trapdoor +tile.web.name=Cobweb +tile.stonebricksmooth.name=Stone Bricks +tile.stonebricksmooth.default.name=Stone Bricks +tile.stonebricksmooth.mossy.name=Mossy Stone Bricks +tile.stonebricksmooth.cracked.name=Cracked Stone Bricks +tile.stonebricksmooth.chiseled.name=Chiseled Stone Bricks +tile.monsterStoneEgg.name=Stone Monster Egg +tile.monsterStoneEgg.stone.name=Stone Monster Egg +tile.monsterStoneEgg.cobble.name=Cobblestone Monster Egg +tile.monsterStoneEgg.brick.name=Stone Brick Monster Egg +tile.monsterStoneEgg.mossybrick.name=Mossy Stone Brick Monster Egg +tile.monsterStoneEgg.crackedbrick.name=Cracked Stone Brick Monster Egg +tile.monsterStoneEgg.chiseledbrick.name=Chiseled Stone Brick Monster Egg +tile.pistonBase.name=Piston +tile.pistonStickyBase.name=Sticky Piston +tile.fenceIron.name=Iron Bars +tile.melon.name=Melon +tile.stairsBrick.name=Brick Stairs +tile.stairsStoneBrickSmooth.name=Stone Brick Stairs +tile.vine.name=Vines +tile.netherBrick.name=Nether Brick +tile.netherFence.name=Nether Brick Fence +tile.stairsNetherBrick.name=Nether Brick Stairs +tile.netherStalk.name=Nether Wart +tile.cauldron.name=Cauldron +tile.enchantmentTable.name=Enchantment Table +tile.anvil.name=Anvil +tile.anvil.intact.name=Anvil +tile.anvil.slightlyDamaged.name=Slightly Damaged Anvil +tile.anvil.veryDamaged.name=Very Damaged Anvil +tile.whiteStone.name=End Stone +tile.endPortalFrame.name=End Portal +tile.mycel.name=Mycelium +tile.waterlily.name=Lily Pad +tile.dragonEgg.name=Dragon Egg +tile.redstoneLight.name=Redstone Lamp +tile.cocoa.name=Cocoa +tile.enderChest.name=Ender Chest +tile.oreEmerald.name=Emerald Ore +tile.blockEmerald.name=Block of Emerald +tile.blockRedstone.name=Block of Redstone +tile.tripWire.name=Tripwire +tile.tripWireSource.name=Tripwire Hook +tile.commandBlock.name=Command Block +tile.repeatingCommandBlock.name=Repeating Command Block +tile.chainCommandBlock.name=Chain Command Block +tile.beacon.name=Beacon +tile.beacon.primary=Primary Power +tile.beacon.secondary=Secondary Power +tile.cobbleWall.normal.name=Cobblestone Wall +tile.cobbleWall.mossy.name=Mossy Cobblestone Wall +tile.carrots.name=Carrots +tile.potatoes.name=Potatoes +tile.daylightDetector.name=Daylight Sensor +tile.netherquartz.name=Nether Quartz Ore +tile.hopper.name=Hopper +tile.quartzBlock.name=Block of Quartz +tile.quartzBlock.default.name=Block of Quartz +tile.quartzBlock.chiseled.name=Chiseled Quartz Block +tile.quartzBlock.lines.name=Pillar Quartz Block +tile.stairsQuartz.name=Quartz Stairs +tile.slime.name=Slime Block +tile.prismarine.rough.name=Prismarine +tile.prismarine.bricks.name=Prismarine Bricks +tile.prismarine.dark.name=Dark Prismarine +tile.seaLantern.name=Sea Lantern +tile.endRod.name=End Rod +tile.chorusPlant.name=Chorus Plant +tile.chorusFlower.name=Chorus Flower +tile.purpurBlock.name=Purpur Block +tile.purpurPillar.name=Purpur Pillar +tile.stairsPurpur.name=Purpur Stairs +tile.purpurSlab.name=Purpur Slab +tile.endBricks.name=End Stone Bricks +tile.beetroots.name=Beetroots +tile.grassPath.name=Grass Path +tile.magma.name=Magma Block +tile.netherWartBlock.name=Nether Wart Block +tile.redNetherBrick.name=Red Nether Brick +tile.boneBlock.name=Bone Block +tile.observer.name=Observer +tile.shulkerBoxWhite.name=White Shulker Box +tile.shulkerBoxOrange.name=Orange Shulker Box +tile.shulkerBoxMagenta.name=Magenta Shulker Box +tile.shulkerBoxLightBlue.name=Light Blue Shulker Box +tile.shulkerBoxYellow.name=Yellow Shulker Box +tile.shulkerBoxLime.name=Lime Shulker Box +tile.shulkerBoxPink.name=Pink Shulker Box +tile.shulkerBoxGray.name=Gray Shulker Box +tile.shulkerBoxSilver.name=Light Gray Shulker Box +tile.shulkerBoxCyan.name=Cyan Shulker Box +tile.shulkerBoxPurple.name=Purple Shulker Box +tile.shulkerBoxBlue.name=Blue Shulker Box +tile.shulkerBoxBrown.name=Brown Shulker Box +tile.shulkerBoxGreen.name=Green Shulker Box +tile.shulkerBoxRed.name=Red Shulker Box +tile.shulkerBoxBlack.name=Black Shulker Box +tile.glazedTerracottaWhite.name=White Glazed Terracotta +tile.glazedTerracottaOrange.name=Orange Glazed Terracotta +tile.glazedTerracottaMagenta.name=Magenta Glazed Terracotta +tile.glazedTerracottaLightBlue.name=Light Blue Glazed Terracotta +tile.glazedTerracottaYellow.name=Yellow Glazed Terracotta +tile.glazedTerracottaLime.name=Lime Glazed Terracotta +tile.glazedTerracottaPink.name=Pink Glazed Terracotta +tile.glazedTerracottaGray.name=Gray Glazed Terracotta +tile.glazedTerracottaSilver.name=Light Gray Glazed Terracotta +tile.glazedTerracottaCyan.name=Cyan Glazed Terracotta +tile.glazedTerracottaPurple.name=Purple Glazed Terracotta +tile.glazedTerracottaBlue.name=Blue Glazed Terracotta +tile.glazedTerracottaBrown.name=Brown Glazed Terracotta +tile.glazedTerracottaGreen.name=Green Glazed Terracotta +tile.glazedTerracottaRed.name=Red Glazed Terracotta +tile.glazedTerracottaBlack.name=Black Glazed Terracotta +tile.concrete.black.name=Black Concrete +tile.concrete.red.name=Red Concrete +tile.concrete.green.name=Green Concrete +tile.concrete.brown.name=Brown Concrete +tile.concrete.blue.name=Blue Concrete +tile.concrete.purple.name=Purple Concrete +tile.concrete.cyan.name=Cyan Concrete +tile.concrete.silver.name=Light Gray Concrete +tile.concrete.gray.name=Gray Concrete +tile.concrete.pink.name=Pink Concrete +tile.concrete.lime.name=Lime Concrete +tile.concrete.yellow.name=Yellow Concrete +tile.concrete.lightBlue.name=Light Blue Concrete +tile.concrete.magenta.name=Magenta Concrete +tile.concrete.orange.name=Orange Concrete +tile.concrete.white.name=White Concrete +tile.concretePowder.black.name=Black Concrete Powder +tile.concretePowder.red.name=Red Concrete Powder +tile.concretePowder.green.name=Green Concrete Powder +tile.concretePowder.brown.name=Brown Concrete Powder +tile.concretePowder.blue.name=Blue Concrete Powder +tile.concretePowder.purple.name=Purple Concrete Powder +tile.concretePowder.cyan.name=Cyan Concrete Powder +tile.concretePowder.silver.name=Light Gray Concrete Powder +tile.concretePowder.gray.name=Gray Concrete Powder +tile.concretePowder.pink.name=Pink Concrete Powder +tile.concretePowder.lime.name=Lime Concrete Powder +tile.concretePowder.yellow.name=Yellow Concrete Powder +tile.concretePowder.lightBlue.name=Light Blue Concrete Powder +tile.concretePowder.magenta.name=Magenta Concrete Powder +tile.concretePowder.orange.name=Orange Concrete Powder +tile.concretePowder.white.name=White Concrete Powder + +tile.structureVoid.name=Structure Void +tile.structureBlock.name=Structure Block + +item.nameTag.name=Name Tag +item.leash.name=Lead +item.shovelIron.name=Iron Shovel +item.pickaxeIron.name=Iron Pickaxe +item.hatchetIron.name=Iron Axe +item.flintAndSteel.name=Flint and Steel +item.apple.name=Apple +item.cookie.name=Cookie +item.bow.name=Bow +item.arrow.name=Arrow +item.spectral_arrow.name=Spectral Arrow +item.tipped_arrow.name=Tipped Arrow +item.coal.name=Coal +item.charcoal.name=Charcoal +item.diamond.name=Diamond +item.emerald.name=Emerald +item.ingotIron.name=Iron Ingot +item.ingotGold.name=Gold Ingot +item.swordIron.name=Iron Sword +item.swordWood.name=Wooden Sword +item.shovelWood.name=Wooden Shovel +item.pickaxeWood.name=Wooden Pickaxe +item.hatchetWood.name=Wooden Axe +item.swordStone.name=Stone Sword +item.shovelStone.name=Stone Shovel +item.pickaxeStone.name=Stone Pickaxe +item.hatchetStone.name=Stone Axe +item.swordDiamond.name=Diamond Sword +item.shovelDiamond.name=Diamond Shovel +item.pickaxeDiamond.name=Diamond Pickaxe +item.hatchetDiamond.name=Diamond Axe +item.stick.name=Stick +item.bowl.name=Bowl +item.mushroomStew.name=Mushroom Stew +item.swordGold.name=Golden Sword +item.shovelGold.name=Golden Shovel +item.pickaxeGold.name=Golden Pickaxe +item.hatchetGold.name=Golden Axe +item.string.name=String +item.feather.name=Feather +item.sulphur.name=Gunpowder +item.hoeWood.name=Wooden Hoe +item.hoeStone.name=Stone Hoe +item.hoeIron.name=Iron Hoe +item.hoeDiamond.name=Diamond Hoe +item.hoeGold.name=Golden Hoe +item.seeds.name=Seeds +item.seeds_pumpkin.name=Pumpkin Seeds +item.seeds_melon.name=Melon Seeds +item.melon.name=Melon +item.wheat.name=Wheat +item.bread.name=Bread +item.helmetCloth.name=Leather Cap +item.chestplateCloth.name=Leather Tunic +item.leggingsCloth.name=Leather Pants +item.bootsCloth.name=Leather Boots +item.helmetChain.name=Chain Helmet +item.chestplateChain.name=Chain Chestplate +item.leggingsChain.name=Chain Leggings +item.bootsChain.name=Chain Boots +item.helmetIron.name=Iron Helmet +item.chestplateIron.name=Iron Chestplate +item.leggingsIron.name=Iron Leggings +item.bootsIron.name=Iron Boots +item.helmetDiamond.name=Diamond Helmet +item.chestplateDiamond.name=Diamond Chestplate +item.leggingsDiamond.name=Diamond Leggings +item.bootsDiamond.name=Diamond Boots +item.helmetGold.name=Golden Helmet +item.chestplateGold.name=Golden Chestplate +item.leggingsGold.name=Golden Leggings +item.bootsGold.name=Golden Boots +item.flint.name=Flint +item.porkchopRaw.name=Raw Porkchop +item.porkchopCooked.name=Cooked Porkchop +item.chickenRaw.name=Raw Chicken +item.chickenCooked.name=Cooked Chicken +item.muttonRaw.name=Raw Mutton +item.muttonCooked.name=Cooked Mutton +item.rabbitRaw.name=Raw Rabbit +item.rabbitCooked.name=Cooked Rabbit +item.rabbitStew.name=Rabbit Stew +item.rabbitFoot.name=Rabbit's Foot +item.rabbitHide.name=Rabbit Hide +item.beefRaw.name=Raw Beef +item.beefCooked.name=Steak +item.painting.name=Painting +item.frame.name=Item Frame +item.appleGold.name=Golden Apple +item.sign.name=Sign +item.doorOak.name=Oak Door +item.doorSpruce.name=Spruce Door +item.doorBirch.name=Birch Door +item.doorJungle.name=Jungle Door +item.doorAcacia.name=Acacia Door +item.doorDarkOak.name=Dark Oak Door +item.bucket.name=Bucket +item.bucketWater.name=Water Bucket +item.bucketLava.name=Lava Bucket +item.minecart.name=Minecart +item.saddle.name=Saddle +item.doorIron.name=Iron Door +item.redstone.name=Redstone +item.snowball.name=Snowball +item.boat.oak.name=Oak Boat +item.boat.spruce.name=Spruce Boat +item.boat.birch.name=Birch Boat +item.boat.jungle.name=Jungle Boat +item.boat.acacia.name=Acacia Boat +item.boat.dark_oak.name=Dark Oak Boat +item.leather.name=Leather +item.milk.name=Milk +item.brick.name=Brick +item.clay.name=Clay +item.reeds.name=Sugar Canes +item.paper.name=Paper +item.book.name=Book +item.slimeball.name=Slimeball +item.minecartChest.name=Minecart with Chest +item.minecartFurnace.name=Minecart with Furnace +item.minecartTnt.name=Minecart with TNT +item.minecartHopper.name=Minecart with Hopper +item.minecartCommandBlock.name=Minecart with Command Block +item.egg.name=Egg +item.compass.name=Compass +item.fishingRod.name=Fishing Rod +item.clock.name=Clock +item.yellowDust.name=Glowstone Dust +item.fish.cod.raw.name=Raw Fish +item.fish.salmon.raw.name=Raw Salmon +item.fish.pufferfish.raw.name=Pufferfish +item.fish.clownfish.raw.name=Clownfish +item.fish.cod.cooked.name=Cooked Fish +item.fish.salmon.cooked.name=Cooked Salmon +item.record.name=Music Disc +item.record.13.desc=C418 - 13 +item.record.cat.desc=C418 - cat +item.record.blocks.desc=C418 - blocks +item.record.chirp.desc=C418 - chirp +item.record.far.desc=C418 - far +item.record.mall.desc=C418 - mall +item.record.mellohi.desc=C418 - mellohi +item.record.stal.desc=C418 - stal +item.record.strad.desc=C418 - strad +item.record.ward.desc=C418 - ward +item.record.11.desc=C418 - 11 +item.record.wait.desc=C418 - wait +item.bone.name=Bone +item.dyePowder.black.name=Ink Sac +item.dyePowder.red.name=Rose Red +item.dyePowder.green.name=Cactus Green +item.dyePowder.brown.name=Cocoa Beans +item.dyePowder.blue.name=Lapis Lazuli +item.dyePowder.purple.name=Purple Dye +item.dyePowder.cyan.name=Cyan Dye +item.dyePowder.silver.name=Light Gray Dye +item.dyePowder.gray.name=Gray Dye +item.dyePowder.pink.name=Pink Dye +item.dyePowder.lime.name=Lime Dye +item.dyePowder.yellow.name=Dandelion Yellow +item.dyePowder.lightBlue.name=Light Blue Dye +item.dyePowder.magenta.name=Magenta Dye +item.dyePowder.orange.name=Orange Dye +item.dyePowder.white.name=Bone Meal +item.sugar.name=Sugar +item.cake.name=Cake +item.bed.black.name=Black Bed +item.bed.red.name=Red Bed +item.bed.green.name=Green Bed +item.bed.brown.name=Brown Bed +item.bed.blue.name=Blue Bed +item.bed.purple.name=Purple Bed +item.bed.cyan.name=Cyan Bed +item.bed.silver.name=Light Gray Bed +item.bed.gray.name=Gray Bed +item.bed.pink.name=Pink Bed +item.bed.lime.name=Lime Bed +item.bed.yellow.name=Yellow Bed +item.bed.lightBlue.name=Light Blue Bed +item.bed.magenta.name=Magenta Bed +item.bed.orange.name=Orange Bed +item.bed.white.name=White Bed +item.diode.name=Redstone Repeater +item.comparator.name=Redstone Comparator +item.map.name=Map +item.leaves.name=Leaves +item.shears.name=Shears +item.rottenFlesh.name=Rotten Flesh +item.enderPearl.name=Ender Pearl +item.blazeRod.name=Blaze Rod +item.ghastTear.name=Ghast Tear +item.netherStalkSeeds.name=Nether Wart +item.potion.name=Potion +item.splash_potion.name=Splash Potion +item.lingering_potion.name=Lingering Potion +item.end_crystal.name=End Crystal +item.goldNugget.name=Gold Nugget +item.glassBottle.name=Glass Bottle +item.spiderEye.name=Spider Eye +item.fermentedSpiderEye.name=Fermented Spider Eye +item.blazePowder.name=Blaze Powder +item.magmaCream.name=Magma Cream +item.cauldron.name=Cauldron +item.brewingStand.name=Brewing Stand +item.eyeOfEnder.name=Eye of Ender +item.speckledMelon.name=Glistering Melon +item.monsterPlacer.name=Spawn +item.expBottle.name=Bottle o' Enchanting +item.fireball.name=Fire Charge +item.writingBook.name=Book and Quill +item.writtenBook.name=Written Book +item.flowerPot.name=Flower Pot +item.emptyMap.name=Empty Map +item.carrots.name=Carrot +item.carrotGolden.name=Golden Carrot +item.potato.name=Potato +item.potatoBaked.name=Baked Potato +item.potatoPoisonous.name=Poisonous Potato +item.skull.skeleton.name=Skeleton Skull +item.skull.wither.name=Wither Skeleton Skull +item.skull.zombie.name=Zombie Head +item.skull.char.name=Head +item.skull.player.name=%s's Head +item.skull.creeper.name=Creeper Head +item.skull.dragon.name=Dragon Head +item.carrotOnAStick.name=Carrot on a Stick +item.netherStar.name=Nether Star +item.pumpkinPie.name=Pumpkin Pie +item.enchantedBook.name=Enchanted Book +item.fireworks.name=Firework Rocket +item.fireworks.flight=Flight Duration: +item.fireworksCharge.name=Firework Star +item.fireworksCharge.black=Black +item.fireworksCharge.red=Red +item.fireworksCharge.green=Green +item.fireworksCharge.brown=Brown +item.fireworksCharge.blue=Blue +item.fireworksCharge.purple=Purple +item.fireworksCharge.cyan=Cyan +item.fireworksCharge.silver=Light Gray +item.fireworksCharge.gray=Gray +item.fireworksCharge.pink=Pink +item.fireworksCharge.lime=Lime +item.fireworksCharge.yellow=Yellow +item.fireworksCharge.lightBlue=Light Blue +item.fireworksCharge.magenta=Magenta +item.fireworksCharge.orange=Orange +item.fireworksCharge.white=White +item.fireworksCharge.customColor=Custom +item.fireworksCharge.fadeTo=Fade to +item.fireworksCharge.flicker=Twinkle +item.fireworksCharge.trail=Trail +item.fireworksCharge.type.0=Small Ball +item.fireworksCharge.type.1=Large Ball +item.fireworksCharge.type.2=Star-shaped +item.fireworksCharge.type.3=Creeper-shaped +item.fireworksCharge.type.4=Burst +item.fireworksCharge.type=Unknown Shape +item.netherbrick.name=Nether Brick +item.netherquartz.name=Nether Quartz +item.armorStand.name=Armor Stand +item.horsearmormetal.name=Iron Horse Armor +item.horsearmorgold.name=Gold Horse Armor +item.horsearmordiamond.name=Diamond Horse Armor +item.prismarineShard.name=Prismarine Shard +item.prismarineCrystals.name=Prismarine Crystals +item.chorusFruit.name=Chorus Fruit +item.chorusFruitPopped.name=Popped Chorus Fruit +item.beetroot.name=Beetroot +item.beetroot_seeds.name=Beetroot Seeds +item.beetroot_soup.name=Beetroot Soup +item.dragon_breath.name=Dragon's Breath +item.elytra.name=Elytra +item.totem.name=Totem of Undying +item.shulkerShell.name=Shulker Shell +item.ironNugget.name=Iron Nugget +item.knowledgeBook.name=Knowledge Book + +container.inventory=Inventory +container.hopper=Item Hopper +container.crafting=Crafting +container.dispenser=Dispenser +container.dropper=Dropper +container.furnace=Furnace +container.enchant=Enchant +container.enchant.lapis.one=1 Lapis Lazuli +container.enchant.lapis.many=%s Lapis Lazuli +container.enchant.level.one=1 Enchantment Level +container.enchant.level.many=%s Enchantment Levels +container.enchant.level.requirement=Level requirement: %s +container.enchant.clue=%s . . . ? +container.repair=Repair & Name +container.repair.cost=Enchantment Cost: %1$s +container.repair.expensive=Too Expensive! +container.creative=Item Selection +container.brewing=Brewing Stand +container.chest=Chest +container.chestDouble=Large Chest +container.enderchest=Ender Chest +container.beacon=Beacon +container.shulkerBox=Shulker Box +container.shulkerBox.more=and %s more... + +container.spectatorCantOpen=Unable to open. Loot not generated yet. +container.isLocked=%s is locked! + +structure_block.save_success=Structure saved as '%s' +structure_block.save_failure=Unable to save structure '%s' +structure_block.load_success=Structure loaded from '%s' +structure_block.load_prepare=Structure '%s' position prepared +structure_block.load_not_found=Structure '%s' is not available +structure_block.size_success=Size successfully detected for '%s' +structure_block.size_failure=Unable to detect structure size, add corners with matching structure names + +structure_block.mode.save=Save +structure_block.mode.load=Load +structure_block.mode.data=Data +structure_block.mode.corner=Corner +structure_block.hover.save=Save: %s +structure_block.hover.load=Load: %s +structure_block.hover.data=Data: %s +structure_block.hover.corner=Corner: %s +structure_block.mode_info.save=Save mode - write to file +structure_block.mode_info.load=Load mode - load from file +structure_block.mode_info.data=Data mode - game logic marker +structure_block.mode_info.corner=Corner mode - placement and size marker +structure_block.structure_name=Structure Name +structure_block.custom_data=Custom Data Tag Name +structure_block.position=Relative Position +structure_block.size=Structure Size +structure_block.integrity=Structure Integrity and Seed +structure_block.include_entities=Include entities: +structure_block.detect_size=Detect structure size and position: +structure_block.button.detect_size=DETECT +structure_block.button.save=SAVE +structure_block.button.load=LOAD +structure_block.show_air=Show invisible blocks: +structure_block.show_boundingbox=Show bounding box: + +item.dyed=Dyed +item.unbreakable=Unbreakable +item.canBreak=Can break: +item.canPlace=Can be placed on: +item.color=Color: %s +item.nbt_tags=NBT: %s tag(s) +item.durability=Durability: %s / %s + +filled_map.mansion=Woodland Explorer Map +filled_map.monument=Ocean Explorer Map +filled_map.unknown=Unknown Map +filled_map.level=(Level %s/%s) +filled_map.scale=Scaling at 1:%s + +entity.Item.name=Item +entity.XPOrb.name=Experience Orb +entity.SmallFireball.name=Small Fireball +entity.Fireball.name=Fireball +entity.DragonFireball.name=Dragon Fireball +entity.ThrownPotion.name=Potion + +entity.Arrow.name=Arrow +entity.Snowball.name=Snowball +entity.Painting.name=Painting +entity.ArmorStand.name=Armor Stand + +entity.Mob.name=Mob +entity.Monster.name=Monster + +entity.Creeper.name=Creeper +entity.Skeleton.name=Skeleton +entity.WitherSkeleton.name=Wither Skeleton +entity.Stray.name=Stray +entity.Spider.name=Spider +entity.Giant.name=Giant +entity.Zombie.name=Zombie +entity.Husk.name=Husk +entity.Slime.name=Slime +entity.Ghast.name=Ghast +entity.PigZombie.name=Zombie Pigman +entity.Enderman.name=Enderman +entity.Endermite.name=Endermite +entity.Silverfish.name=Silverfish +entity.CaveSpider.name=Cave Spider +entity.Blaze.name=Blaze +entity.LavaSlime.name=Magma Cube +entity.MushroomCow.name=Mooshroom +entity.Villager.name=Villager +entity.ZombieVillager.name=Zombie Villager +entity.VillagerGolem.name=Iron Golem +entity.SnowMan.name=Snow Golem +entity.EnderDragon.name=Ender Dragon +entity.WitherBoss.name=Wither +entity.Witch.name=Witch +entity.Guardian.name=Guardian +entity.ElderGuardian.name=Elder Guardian +entity.Shulker.name=Shulker +entity.PolarBear.name=Polar Bear +entity.EvocationIllager.name=Evoker +entity.Vex.name=Vex +entity.VindicationIllager.name=Vindicator +entity.Parrot.name=Parrot +entity.IllusionIllager.name=Illusioner + +entity.Villager.farmer=Farmer +entity.Villager.fisherman=Fisherman +entity.Villager.shepherd=Shepherd +entity.Villager.fletcher=Fletcher +entity.Villager.librarian=Librarian +entity.Villager.cleric=Cleric +entity.Villager.armor=Armorer +entity.Villager.weapon=Weapon Smith +entity.Villager.tool=Tool Smith +entity.Villager.butcher=Butcher +entity.Villager.leather=Leatherworker +entity.Villager.nitwit=Nitwit +entity.Villager.cartographer=Cartographer + +entity.Pig.name=Pig +entity.Sheep.name=Sheep +entity.Cow.name=Cow +entity.Chicken.name=Chicken +entity.Squid.name=Squid +entity.Wolf.name=Wolf +entity.Ozelot.name=Ocelot +entity.Cat.name=Cat +entity.Bat.name=Bat +entity.Horse.name=Horse +entity.Donkey.name=Donkey +entity.Mule.name=Mule +entity.SkeletonHorse.name=Skeleton Horse +entity.ZombieHorse.name=Zombie Horse +entity.Rabbit.name=Rabbit +entity.KillerBunny.name=The Killer Bunny +entity.Llama.name=Llama + +entity.PrimedTnt.name=Block of TNT +entity.FallingSand.name=Falling Block + +entity.Minecart.name=Minecart +entity.MinecartHopper.name=Minecart with Hopper +entity.MinecartChest.name=Minecart with Chest +entity.Boat.name=Boat + +entity.generic.name=unknown + +death.fell.accident.ladder=%1$s fell off a ladder +death.fell.accident.vines=%1$s fell off some vines +death.fell.accident.water=%1$s fell out of the water +death.fell.accident.generic=%1$s fell from a high place +death.fell.killer=%1$s was doomed to fall +death.fell.assist=%1$s was doomed to fall by %2$s +death.fell.assist.item=%1$s was doomed to fall by %2$s using %3$s +death.fell.finish=%1$s fell too far and was finished by %2$s +death.fell.finish.item=%1$s fell too far and was finished by %2$s using %3$s + +death.attack.lightningBolt=%1$s was struck by lightning +death.attack.inFire=%1$s went up in flames +death.attack.inFire.player=%1$s walked into fire whilst fighting %2$s +death.attack.onFire=%1$s burned to death +death.attack.onFire.player=%1$s was burnt to a crisp whilst fighting %2$s +death.attack.lava=%1$s tried to swim in lava +death.attack.lava.player=%1$s tried to swim in lava to escape %2$s +death.attack.hotFloor=%1$s discovered floor was lava +death.attack.hotFloor.player=%1$s walked into danger zone due to %2$s +death.attack.inWall=%1$s suffocated in a wall +death.attack.cramming=%1$s was squished too much +death.attack.drown=%1$s drowned +death.attack.drown.player=%1$s drowned whilst trying to escape %2$s +death.attack.starve=%1$s starved to death +death.attack.cactus=%1$s was pricked to death +death.attack.cactus.player=%1$s walked into a cactus whilst trying to escape %2$s +death.attack.generic=%1$s died +death.attack.explosion=%1$s blew up +death.attack.explosion.player=%1$s was blown up by %2$s +death.attack.magic=%1$s was killed by magic +death.attack.wither=%1$s withered away +death.attack.anvil=%1$s was squashed by a falling anvil +death.attack.fallingBlock=%1$s was squashed by a falling block +death.attack.mob=%1$s was slain by %2$s +death.attack.player=%1$s was slain by %2$s +death.attack.player.item=%1$s was slain by %2$s using %3$s +death.attack.arrow=%1$s was shot by %2$s +death.attack.arrow.item=%1$s was shot by %2$s using %3$s +death.attack.fireball=%1$s was fireballed by %2$s +death.attack.fireball.item=%1$s was fireballed by %2$s using %3$s +death.attack.thrown=%1$s was pummeled by %2$s +death.attack.thrown.item=%1$s was pummeled by %2$s using %3$s +death.attack.indirectMagic=%1$s was killed by %2$s using magic +death.attack.indirectMagic.item=%1$s was killed by %2$s using %3$s +death.attack.thorns=%1$s was killed trying to hurt %2$s +death.attack.fall=%1$s hit the ground too hard +death.attack.outOfWorld=%1$s fell out of the world +death.attack.dragonBreath=%1$s was roasted in dragon breath +death.attack.flyIntoWall=%1$s experienced kinetic energy +death.attack.fireworks=%1$s went off with a bang + +deathScreen.respawn=Respawn +deathScreen.spectate=Spectate world +deathScreen.deleteWorld=Delete world +deathScreen.titleScreen=Title screen +deathScreen.score=Score +deathScreen.title.hardcore=Game over! +deathScreen.title=You died! +deathScreen.leaveServer=Leave server +deathScreen.quit.confirm=Are you sure you want to quit? + +effect.none=No Effects +effect.moveSpeed=Speed +effect.moveSlowdown=Slowness +effect.digSpeed=Haste +effect.digSlowDown=Mining Fatigue +effect.damageBoost=Strength +effect.heal=Instant Health +effect.harm=Instant Damage +effect.jump=Jump Boost +effect.confusion=Nausea +effect.regeneration=Regeneration +effect.resistance=Resistance +effect.fireResistance=Fire Resistance +effect.waterBreathing=Water Breathing +effect.invisibility=Invisibility +effect.blindness=Blindness +effect.nightVision=Night Vision +effect.hunger=Hunger +effect.weakness=Weakness +effect.poison=Poison +effect.wither=Wither +effect.healthBoost=Health Boost +effect.absorption=Absorption +effect.saturation=Saturation +effect.glowing=Glowing +effect.luck=Luck +effect.unluck=Bad Luck +effect.levitation=Levitation + +tipped_arrow.effect.empty=Uncraftable Tipped Arrow +tipped_arrow.effect.water=Tipped Arrow +tipped_arrow.effect.mundane=Tipped Arrow +tipped_arrow.effect.thick=Tipped Arrow +tipped_arrow.effect.awkward=Tipped Arrow +tipped_arrow.effect.night_vision=Arrow of Night Vision +tipped_arrow.effect.invisibility=Arrow of Invisibility +tipped_arrow.effect.leaping=Arrow of Leaping +tipped_arrow.effect.fire_resistance=Arrow of Fire Resistance +tipped_arrow.effect.swiftness=Arrow of Swiftness +tipped_arrow.effect.slowness=Arrow of Slowness +tipped_arrow.effect.water=Arrow of Splashing +tipped_arrow.effect.water_breathing=Arrow of Water Breathing +tipped_arrow.effect.healing=Arrow of Healing +tipped_arrow.effect.harming=Arrow of Harming +tipped_arrow.effect.poison=Arrow of Poison +tipped_arrow.effect.regeneration=Arrow of Regeneration +tipped_arrow.effect.strength=Arrow of Strength +tipped_arrow.effect.weakness=Arrow of Weakness +tipped_arrow.effect.levitation=Arrow of Levitation +tipped_arrow.effect.luck=Arrow of Luck + +potion.whenDrank=When Applied: +potion.effect.empty=Uncraftable Potion +potion.effect.water=Water Bottle +potion.effect.mundane=Mundane Potion +potion.effect.thick=Thick Potion +potion.effect.awkward=Awkward Potion +potion.effect.night_vision=Potion of Night Vision +potion.effect.invisibility=Potion of Invisibility +potion.effect.leaping=Potion of Leaping +potion.effect.fire_resistance=Potion of Fire Resistance +potion.effect.swiftness=Potion of Swiftness +potion.effect.slowness=Potion of Slowness +potion.effect.water_breathing=Potion of Water Breathing +potion.effect.healing=Potion of Healing +potion.effect.harming=Potion of Harming +potion.effect.poison=Potion of Poison +potion.effect.regeneration=Potion of Regeneration +potion.effect.strength=Potion of Strength +potion.effect.weakness=Potion of Weakness +potion.effect.levitation=Potion of Levitation +potion.effect.luck=Potion of Luck + +splash_potion.effect.empty=Splash Uncraftable Potion +splash_potion.effect.water=Splash Water Bottle +splash_potion.effect.mundane=Mundane Splash Potion +splash_potion.effect.thick=Thick Splash Potion +splash_potion.effect.awkward=Awkward Splash Potion +splash_potion.effect.night_vision=Splash Potion of Night Vision +splash_potion.effect.invisibility=Splash Potion of Invisibility +splash_potion.effect.leaping=Splash Potion of Leaping +splash_potion.effect.fire_resistance=Splash Potion of Fire Resistance +splash_potion.effect.swiftness=Splash Potion of Swiftness +splash_potion.effect.slowness=Splash Potion of Slowness +splash_potion.effect.water_breathing=Splash Potion of Water Breathing +splash_potion.effect.healing=Splash Potion of Healing +splash_potion.effect.harming=Splash Potion of Harming +splash_potion.effect.poison=Splash Potion of Poison +splash_potion.effect.regeneration=Splash Potion of Regeneration +splash_potion.effect.strength=Splash Potion of Strength +splash_potion.effect.weakness=Splash Potion of Weakness +splash_potion.effect.levitation=Splash Potion of Levitation +splash_potion.effect.luck=Splash Potion of Luck + +lingering_potion.effect.empty=Lingering Uncraftable Potion +lingering_potion.effect.water=Lingering Water Bottle +lingering_potion.effect.mundane=Mundane Lingering Potion +lingering_potion.effect.thick=Thick Lingering Potion +lingering_potion.effect.awkward=Awkward Lingering Potion +lingering_potion.effect.night_vision=Lingering Potion of Night Vision +lingering_potion.effect.invisibility=Lingering Potion of Invisibility +lingering_potion.effect.leaping=Lingering Potion of Leaping +lingering_potion.effect.fire_resistance=Lingering Potion of Fire Resistance +lingering_potion.effect.swiftness=Lingering Potion of Swiftness +lingering_potion.effect.slowness=Lingering Potion of Slowness +lingering_potion.effect.water_breathing=Lingering Potion of Water Breathing +lingering_potion.effect.healing=Lingering Potion of Healing +lingering_potion.effect.harming=Lingering Potion of Harming +lingering_potion.effect.poison=Lingering Potion of Poison +lingering_potion.effect.regeneration=Lingering Potion of Regeneration +lingering_potion.effect.strength=Lingering Potion of Strength +lingering_potion.effect.weakness=Lingering Potion of Weakness +lingering_potion.effect.levitation=Lingering Potion of Levitation +lingering_potion.effect.luck=Lingering Potion of Luck + +potion.potency.0= +potion.potency.1=II +potion.potency.2=III + +enchantment.damage.all=Sharpness +enchantment.damage.undead=Smite +enchantment.damage.arthropods=Bane of Arthropods +enchantment.knockback=Knockback +enchantment.fire=Fire Aspect +enchantment.sweeping=Sweeping Edge +enchantment.protect.all=Protection +enchantment.protect.fire=Fire Protection +enchantment.protect.fall=Feather Falling +enchantment.protect.explosion=Blast Protection +enchantment.protect.projectile=Projectile Protection +enchantment.oxygen=Respiration +enchantment.waterWorker=Aqua Affinity +enchantment.waterWalker=Depth Strider +enchantment.frostWalker=Frost Walker +enchantment.digging=Efficiency +enchantment.untouching=Silk Touch +enchantment.durability=Unbreaking +enchantment.lootBonus=Looting +enchantment.lootBonusDigger=Fortune +enchantment.lootBonusFishing=Luck of the Sea +enchantment.fishingSpeed=Lure +enchantment.arrowDamage=Power +enchantment.arrowFire=Flame +enchantment.arrowKnockback=Punch +enchantment.arrowInfinite=Infinity +enchantment.thorns=Thorns +enchantment.mending=Mending +enchantment.binding_curse=Curse of Binding +enchantment.vanishing_curse=Curse of Vanishing + +enchantment.level.1=I +enchantment.level.2=II +enchantment.level.3=III +enchantment.level.4=IV +enchantment.level.5=V +enchantment.level.6=VI +enchantment.level.7=VII +enchantment.level.8=VIII +enchantment.level.9=IX +enchantment.level.10=X + +gui.advancements=Advancements +gui.stats=Statistics + +advancements.empty=There doesn't seem to be anything here... +advancements.toast.task=Advancement Made! +advancements.toast.challenge=Challenge Complete! +advancements.toast.goal=Goal Reached! + +stats.tooltip.type.statistic=Statistic +stat.generalButton=General +stat.blocksButton=Blocks +stat.itemsButton=Items +stat.mobsButton=Mobs + +stat.used=Times Used +stat.mined=Times Mined +stat.depleted=Times Depleted +stat.crafted=Times Crafted +stat.entityKills=You killed %s %s +stat.entityKilledBy=%s killed you %s time(s) +stat.entityKills.none=You have never killed %s +stat.entityKilledBy.none=You have never been killed by %s + +stat.startGame=Times Played +stat.createWorld=Worlds Created +stat.loadWorld=Saves Loaded +stat.joinMultiplayer=Multiplayer Joins +stat.leaveGame=Games Quit + +stat.playOneMinute=Time Played +stat.timeSinceDeath=Since Last Death +stat.sneakTime=Sneak Time + +stat.walkOneCm=Distance Walked +stat.crouchOneCm=Distance Crouched +stat.sprintOneCm=Distance Sprinted +stat.fallOneCm=Distance Fallen +stat.swimOneCm=Distance Swum +stat.flyOneCm=Distance Flown +stat.climbOneCm=Distance Climbed +stat.diveOneCm=Distance Dove +stat.minecartOneCm=Distance by Minecart +stat.boatOneCm=Distance by Boat +stat.pigOneCm=Distance by Pig +stat.horseOneCm=Distance by Horse +stat.aviateOneCm=Distance by Elytra +stat.jump=Jumps +stat.drop=Items Dropped +stat.dropped=Dropped +stat.pickup=Picked Up + +stat.damageDealt=Damage Dealt +stat.damageTaken=Damage Taken +stat.deaths=Number of Deaths +stat.mobKills=Mob Kills +stat.animalsBred=Animals Bred +stat.playerKills=Player Kills +stat.fishCaught=Fish Caught +stat.treasureFished=Treasure Fished +stat.junkFished=Junk Fished +stat.talkedToVillager=Talked to Villagers +stat.tradedWithVillager=Traded with Villagers + +stat.cakeSlicesEaten=Cake Slices Eaten +stat.cauldronFilled=Cauldrons Filled +stat.cauldronUsed=Water Taken from Cauldron +stat.armorCleaned=Armor Pieces Cleaned +stat.bannerCleaned=Banners Cleaned +stat.brewingstandInteraction=Interactions with Brewing Stand +stat.beaconInteraction=Interactions with Beacon +stat.dropperInspected=Droppers Searched +stat.hopperInspected=Hoppers Searched +stat.dispenserInspected=Dispensers Searched +stat.noteblockPlayed=Note Blocks Played +stat.noteblockTuned=Note Blocks Tuned +stat.flowerPotted=Plants Potted +stat.trappedChestTriggered=Trapped Chests Triggered +stat.enderchestOpened=Ender Chests Opened +stat.itemEnchanted=Items Enchanted +stat.recordPlayed=Records Played +stat.furnaceInteraction=Interactions with Furnace +stat.workbenchInteraction=Interactions with Crafting Table +stat.chestOpened=Chests Opened +stat.shulkerBoxOpened=Shulker Boxes Opened +stat.sleepInBed=Times Slept in a Bed + +stat.mineBlock=%1$s Mined +stat.craftItem=%1$s Crafted +stat.useItem=%1$s Used +stat.breakItem=%1$s Depleted + +recipe.toast.title=New Recipes Unlocked! +recipe.toast.description=Check your recipe book + +commands.generic.exception=An unknown error occurred while attempting to perform this command +commands.generic.permission=You do not have permission to use this command +commands.generic.syntax=Invalid command syntax +commands.generic.player.notFound=Player '%s' cannot be found +commands.generic.entity.notFound=Entity '%s' cannot be found +commands.generic.selector.notFound=Selector '%s' found nothing +commands.generic.entity.invalidUuid=The entity UUID '%s' is in an invalid format +commands.generic.entity.invalidType=Entity type '%s' is invalid +commands.generic.notFound=Unknown command. Try /help for a list of commands +commands.generic.parameter.invalid='%s' is not a valid parameter +commands.generic.num.invalid='%s' is not a valid number +commands.generic.boolean.invalid='%s' is not true or false +commands.generic.num.tooSmall=The number you have entered (%s) is too small, it must be at least %s +commands.generic.num.tooBig=The number you have entered (%s) is too big, it must be at most %s +commands.generic.blockstate.invalid='%s' is not a state for block %s +commands.generic.usage=Usage: %s +commands.generic.selector_argument=Invalid selector argument: '%s' +commands.generic.player.unspecified=You must specify which player you wish to perform this action on. + +commands.setidletimeout.usage=/setidletimeout +commands.setidletimeout.success=Successfully set the idle timeout to %s minutes. +commands.xp.failure.widthdrawXp=Cannot give player negative experience points +commands.xp.success=Given %s experience to %s +commands.xp.success.levels=Given %s levels to %s +commands.xp.success.negative.levels=Taken %s levels from %s +commands.xp.usage=/xp [player] OR /xp L [player] +commands.playsound.usage=/playsound [x] [y] [z] [volume] [pitch] [minimumVolume] +commands.playsound.success=Played sound '%s' to %s +commands.playsound.playerTooFar=Player %s is too far away to hear the sound +commands.playsound.unknownSoundSource=Source %s is unknown +commands.give.usage=/give [amount] [data] [dataTag] +commands.give.item.notFound=There is no such item with name %s +commands.give.block.notFound=There is no such block with name %s +commands.give.success=Given %s * %s to %s +commands.give.tagError=Data tag parsing failed: %s +commands.replaceitem.usage=/replaceitem ... +commands.replaceitem.entity.usage=/replaceitem entity [amount] [data] [dataTag] +commands.replaceitem.block.usage=/replaceitem block [amount] [data] [dataTag] +commands.replaceitem.tagError=Data tag parsing failed: %s +commands.replaceitem.noContainer=Block at %s, %s, %s is not a container +commands.replaceitem.failed=Could not replace slot %s with %s * %s +commands.replaceitem.success=Replaced slot %s with %s * %s +commands.stats.usage=/stats ... +commands.stats.entity.usage=/stats entity ... +commands.stats.entity.set.usage=/stats entity set +commands.stats.entity.clear.usage=/stats entity clear +commands.stats.block.usage=/stats block ... +commands.stats.block.set.usage=/stats block set +commands.stats.block.clear.usage=/stats block clear +commands.stats.noCompatibleBlock=Block at %s, %s, %s can not track stats +commands.stats.failed=Invalid parameters +commands.stats.cleared=Cleared %s stats +commands.stats.success=Storing %s stats in %s on %s +commands.summon.usage=/summon [x] [y] [z] [dataTag] +commands.summon.success=Object successfully summoned +commands.summon.failed=Unable to summon object +commands.summon.tagError=Data tag parsing failed: %s +commands.summon.outOfWorld=Cannot summon the object out of the world +commands.testforblock.usage=/testforblock [dataValue|-1|state|*] [dataTag] +commands.testforblock.failed.tile=The block at %s, %s, %s is %s (expected: %s) +commands.testforblock.failed.data=The block at %s, %s, %s had the data value of %s (expected: %s) +commands.testforblock.failed.nbt=The block at %s, %s, %s did not have the required NBT keys +commands.testforblock.failed.tileEntity=The block at %s, %s, %s is not a block entity and cannot support tag matching +commands.testforblock.success=Successfully found the block at %s, %s, %s +commands.testforblock.outOfWorld=Cannot test for block outside of the world +commands.setblock.usage=/setblock [dataValue|state] [oldBlockHandling] [dataTag] +commands.setblock.success=Block placed +commands.setblock.failed=Unable to place block +commands.setblock.tagError=Data tag parsing failed: %s +commands.setblock.outOfWorld=Cannot place block outside of the world +commands.setblock.notFound=There is no such block with ID/name %s +commands.setblock.noChange=The block couldn't be placed +commands.fill.usage=/fill [dataValue|state] [oldBlockHandling] [dataTag] +commands.fill.outOfWorld=Cannot place blocks outside of the world +commands.fill.tagError=Data tag parsing failed: %s +commands.fill.success=%s blocks filled +commands.fill.failed=No blocks filled +commands.fill.tooManyBlocks=Too many blocks in the specified area (%s > %s) +commands.clone.usage=/clone [maskMode] [cloneMode] +commands.clone.outOfWorld=Cannot access blocks outside of the world +commands.clone.noOverlap=Source and destination can not overlap +commands.clone.success=%s blocks cloned +commands.clone.failed=No blocks cloned +commands.clone.tooManyBlocks=Too many blocks in the specified area (%s > %s) +commands.compare.usage=/testforblocks [mode] +commands.compare.outOfWorld=Cannot access blocks outside of the world +commands.compare.failed=Source and destination are not identical +commands.compare.success=%s blocks compared +commands.compare.tooManyBlocks=Too many blocks in the specified area (%s > %s) +commands.blockdata.usage=/blockdata +commands.blockdata.success=Block data updated to: %s +commands.blockdata.tagError=Data tag parsing failed: %s +commands.blockdata.outOfWorld=Cannot change block outside of the world +commands.blockdata.notValid=The target block is not a data holder block +commands.blockdata.failed=The data tag did not change: %s +commands.entitydata.usage=/entitydata +commands.entitydata.success=Entity data updated to: %s +commands.entitydata.tagError=Data tag parsing failed: %s +commands.entitydata.noPlayers=%s is a player and cannot be changed +commands.entitydata.failed=The data tag did not change: %s +commands.effect.usage=/effect [seconds] [amplifier] [hideParticles] OR /effect clear +commands.effect.notFound=There is no such mob effect with ID %s +commands.effect.success=Given %1$s (ID %2$s) * %3$s to %4$s for %5$s seconds +commands.effect.success.removed=Took %1$s from %2$s +commands.effect.success.removed.all=Took all effects from %s +commands.effect.failure.notActive=Couldn't take %1$s from %2$s as they do not have the effect +commands.effect.failure.notActive.all=Couldn't take any effects from %s as they do not have any +commands.enchant.usage=/enchant [level] +commands.enchant.notFound=There is no such enchantment with ID %s +commands.enchant.noItem=The target doesn't hold an item +commands.enchant.cantEnchant=The selected enchantment can't be added to the target item +commands.enchant.cantCombine=%1$s can't be combined with %2$s +commands.enchant.success=Enchanting succeeded +commands.particle.usage=/particle [count] [mode] [player] [params] +commands.particle.success=Playing effect %s for %s times +commands.particle.notFound=Unknown effect name (%s) +commands.particle.invalidParam=Invalid param given (%s) +commands.clear.usage=/clear [player] [item] [data] [maxCount] [dataTag] +commands.clear.success=Cleared the inventory of %s, removing %s items +commands.clear.testing=%s has %s items that match the criteria +commands.clear.failure=Could not clear the inventory of %s, no items to remove +commands.clear.tagError=Data tag parsing failed: %s +commands.downfall.usage=/toggledownfall +commands.downfall.success=Toggled downfall +commands.time.usage=/time +commands.time.added=Added %s to the time +commands.time.set=Set the time to %s +commands.time.query=Time is %s +commands.players.usage=/list +commands.players.list=There are %s/%s players online: +commands.banlist.ips=There are %s total banned IP addresses: +commands.banlist.players=There are %s total banned players: +commands.banlist.usage=/banlist [ips|players] +commands.kill.usage=/kill [player|entity] +commands.kill.successful=Killed %s +commands.kick.success=Kicked %s from the game +commands.kick.success.reason=Kicked %s from the game: '%s' +commands.kick.usage=/kick [reason ...] +commands.op.success=Opped %s +commands.op.failed=Could not op %s +commands.op.usage=/op +commands.deop.success=De-opped %s +commands.deop.failed=Could not de-op %s +commands.deop.usage=/deop +commands.say.usage=/say +commands.ban.success=Banned player %s +commands.ban.failed=Could not ban player %s +commands.ban.usage=/ban [reason ...] +commands.unban.success=Unbanned player %s +commands.unban.failed=Could not unban player %s +commands.unban.usage=/pardon +commands.banip.invalid=You have entered an invalid IP address or a player that is not online +commands.banip.success=Banned IP address %s +commands.banip.success.players=Banned IP address %s belonging to %s +commands.banip.usage=/ban-ip [reason ...] +commands.unbanip.invalid=You have entered an invalid IP address +commands.unbanip.success=Unbanned IP address %s +commands.unbanip.usage=/pardon-ip
+commands.save.usage=/save-all [flush] +commands.save-on.alreadyOn=Saving is already turned on +commands.save-on.usage=/save-on +commands.save-off.alreadyOff=Saving is already turned off +commands.save-off.usage=/save-off +commands.save.enabled=Turned on world auto-saving +commands.save.disabled=Turned off world auto-saving +commands.save.start=Saving... +commands.save.success=Saved the world +commands.save.failed=Saving failed: %s +commands.save.flushStart=Flushing all saves... +commands.save.flushEnd=Flushing completed +commands.stop.usage=/stop +commands.stop.start=Stopping the server +commands.tp.usage=/tp [target player] OR /tp [target player] [ ] +commands.tp.success=Teleported %s to %s +commands.tp.success.coordinates=Teleported %s to %s, %s, %s +commands.tp.notSameDimension=Unable to teleport because players are not in the same dimension +commands.teleport.usage=/teleport [ ] +commands.teleport.success.coordinates=Teleported %s to %s, %s, %s +commands.whitelist.list=There are %s (out of %s seen) whitelisted players: +commands.whitelist.enabled=Turned on the whitelist +commands.whitelist.disabled=Turned off the whitelist +commands.whitelist.reloaded=Reloaded the whitelist +commands.whitelist.add.success=Added %s to the whitelist +commands.whitelist.add.failed=Could not add %s to the whitelist +commands.whitelist.add.usage=/whitelist add +commands.whitelist.remove.success=Removed %s from the whitelist +commands.whitelist.remove.failed=Could not remove %s from the whitelist +commands.whitelist.remove.usage=/whitelist remove +commands.whitelist.usage=/whitelist + +commands.advancement.usage=/advancement +commands.advancement.advancementNotFound=No advancement was found by the name '%1$s' +commands.advancement.criterionNotFound=The advancement '%1$s' does not contain the criterion '%2$s' + +commands.reload.usage=/reload +commands.reload.success=Successfully reloaded loot tables, advancements and functions + +commands.function.usage=/function [if |unless ] +commands.function.unknown=Unknown function '%s' +commands.function.success=Executed %2$s command(s) from function '%1$s' +commands.function.skipped=Skipped execution of function '%1$s' + +commands.advancement.grant.usage=/advancement grant +commands.advancement.grant.only.usage=/advancement grant only [criterion] +commands.advancement.grant.only.failed=Couldn't grant the advancement '%1$s' to %2$s because they already have it +commands.advancement.grant.only.success=Granted the entire advancement '%1$s' to %2$s +commands.advancement.grant.criterion.failed=Couldn't grant the criterion '%3$s' of advancement '%1$s' to %2$s because they already have it +commands.advancement.grant.criterion.success=Granted the criterion '%3$s' of advancement '%1$s' to %2$s +commands.advancement.grant.until.usage=/advancement grant until +commands.advancement.grant.until.failed=Couldn't grant the advancement '%1$s' or its ancestors to %2$s because they already have them all +commands.advancement.grant.until.success=Granted '%1$s' and all ancestors (%3$s total granted) to %2$s +commands.advancement.grant.from.usage=/advancement grant from +commands.advancement.grant.from.failed=Couldn't grant the advancement '%1$s' or its descendants to %2$s because they already have them all +commands.advancement.grant.from.success=Granted '%1$s' and all descendants (%3$s total granted) to %2$s +commands.advancement.grant.through.usage=/advancement grant through +commands.advancement.grant.through.failed=Couldn't grant the advancement '%1$s', its ancestors or its descendants to %2$s because they already have them all +commands.advancement.grant.through.success=Granted '%1$s', all ancestors and all descendants (%3$s total granted) to %2$s +commands.advancement.grant.everything.usage=/advancement grant everything +commands.advancement.grant.everything.failed=Couldn't grant any advancements to %1$s because they already have them all +commands.advancement.grant.everything.success=Granted every advancement (%2$s total granted) to %1$s + +commands.advancement.revoke.usage=/advancement revoke +commands.advancement.revoke.only.usage=/advancement revoke only [criterion] +commands.advancement.revoke.only.failed=Couldn't revoke the advancement '%1$s' from %2$s because they haven't started it +commands.advancement.revoke.only.success=Revoked the entire advancement '%1$s' from %2$s +commands.advancement.revoke.criterion.failed=Couldn't revoke the criterion '%3$s' of advancement '%1$s' from %2$s because they haven't started it +commands.advancement.revoke.criterion.success=Revoked the criterion '%3$s' of advancement '%1$s' from %2$s +commands.advancement.revoke.until.usage=/advancement revoke until +commands.advancement.revoke.until.failed=Couldn't revoke the advancement '%1$s' or its ancestors from %2$s because they haven't started any +commands.advancement.revoke.until.success=Revoked '%1$s' and all ancestors (%3$s total revoked) from %2$s +commands.advancement.revoke.from.usage=/advancement revoke from +commands.advancement.revoke.from.failed=Couldn't revoke the advancement '%1$s' or its descendants from %2$s because they haven't started any +commands.advancement.revoke.from.success=Revoked '%1$s' and all descendants (%3$s total revoked) from %2$s +commands.advancement.revoke.through.usage=/advancement revoke through +commands.advancement.revoke.through.failed=Couldn't revoke the advancement '%1$s', its ancestors or its descendants from %2$s because they haven't started any +commands.advancement.revoke.through.success=Revoked '%1$s', all ancestors and all descendants (%3$s total revoked) from %2$s +commands.advancement.revoke.everything.usage=/advancement revoke everything +commands.advancement.revoke.everything.failed=Couldn't revoke any advancements to %1$s because they haven't started any +commands.advancement.revoke.everything.success=Revoked every advancement (%2$s total revoked) from %1$s + +commands.advancement.test.usage=/advancement test [criterion] +commands.advancement.test.criterion.success=Player %1$s has completed criterion '%3$s' of advancement '%2$s' +commands.advancement.test.criterion.notDone=Player %1$s has not completed criterion '%3$s' of advancement '%2$s' +commands.advancement.test.advancement.success=Player %1$s has completed advancement '%2$s' +commands.advancement.test.advancement.notDone=Player %1$s has not completed advancement '%2$s' + +commands.scoreboard.usage=/scoreboard ... +commands.scoreboard.noMultiWildcard=Only one user wildcard allowed +commands.scoreboard.allMatchesFailed=All matches failed +commands.scoreboard.teamNotFound=No team was found by the name '%s' +commands.scoreboard.objectiveNotFound=No objective was found by the name '%s' +commands.scoreboard.objectiveReadOnly=The objective '%s' is read-only and cannot be set +commands.scoreboard.objectives.usage=/scoreboard objectives ... +commands.scoreboard.objectives.setdisplay.usage=/scoreboard objectives setdisplay [objective] +commands.scoreboard.objectives.setdisplay.invalidSlot=No such display slot '%s' +commands.scoreboard.objectives.setdisplay.successCleared=Cleared objective display slot '%s' +commands.scoreboard.objectives.setdisplay.successSet=Set the display objective in slot '%s' to '%s' +commands.scoreboard.objectives.add.usage=/scoreboard objectives add [display name ...] +commands.scoreboard.objectives.add.wrongType=Invalid objective criteria type '%s' +commands.scoreboard.objectives.add.alreadyExists=An objective with the name '%s' already exists +commands.scoreboard.objectives.add.tooLong=The name '%s' is too long for an objective, it can be at most %s characters long +commands.scoreboard.objectives.add.displayTooLong=The display name '%s' is too long for an objective, it can be at most %s characters long +commands.scoreboard.objectives.add.success=Added new objective '%s' successfully +commands.scoreboard.objectives.remove.usage=/scoreboard objectives remove +commands.scoreboard.objectives.remove.success=Removed objective '%s' successfully +commands.scoreboard.objectives.list.count=Showing %s objective(s) on scoreboard: +commands.scoreboard.objectives.list.entry=- %s: displays as '%s' and is type '%s' +commands.scoreboard.objectives.list.empty=There are no objectives on the scoreboard +commands.scoreboard.players.usage=/scoreboard players ... +commands.scoreboard.players.name.tooLong=The name '%s' is too long for a player, it can be at most %s characters long +commands.scoreboard.players.set.success=Set score of %s for player %s to %s +commands.scoreboard.players.set.tagMismatch=The dataTag does not match for %s +commands.scoreboard.players.set.tagError=Could not parse dataTag, reason: %s +commands.scoreboard.players.set.usage=/scoreboard players set [dataTag] +commands.scoreboard.players.add.usage=/scoreboard players add [dataTag] +commands.scoreboard.players.remove.usage=/scoreboard players remove [dataTag] +commands.scoreboard.players.reset.usage=/scoreboard players reset [objective] +commands.scoreboard.players.reset.success=Reset scores of player %s +commands.scoreboard.players.resetscore.success=Reset score %s of player %s +commands.scoreboard.players.list.usage=/scoreboard players list [name] +commands.scoreboard.players.list.count=Showing %s tracked players on the scoreboard: +commands.scoreboard.players.list.empty=There are no tracked players on the scoreboard +commands.scoreboard.players.list.player.count=Showing %s tracked objective(s) for %s: +commands.scoreboard.players.list.player.entry=- %2$s: %1$s (%3$s) +commands.scoreboard.players.list.player.empty=Player %s has no scores recorded +commands.scoreboard.players.enable.usage=/scoreboard players enable +commands.scoreboard.players.enable.success=Enabled trigger %s for %s +commands.scoreboard.players.enable.noTrigger=Objective %s is not a trigger +commands.scoreboard.players.test.usage=/scoreboard players test [max] +commands.scoreboard.players.test.notFound=No %s score for %s found +commands.scoreboard.players.test.failed=Score %s is NOT in range %s to %s +commands.scoreboard.players.test.success=Score %s is in range %s to %s +commands.scoreboard.players.operation.usage=/scoreboard players operation +commands.scoreboard.players.operation.notFound=No %s score for %s found +commands.scoreboard.players.operation.invalidOperation=Invalid operation %s +commands.scoreboard.players.operation.success=Operation applied successfully +commands.scoreboard.players.tag.usage=/scoreboard players tag [dataTag] +commands.scoreboard.players.tag.tagMismatch=The dataTag does not match for %s +commands.scoreboard.players.tag.tooMany=Can't add more than %s tags to an entity +commands.scoreboard.players.tag.notFound=Entity didn't have the %s tag +commands.scoreboard.players.tag.success.add=Tag %s added +commands.scoreboard.players.tag.success.remove=Tag %s removed +commands.scoreboard.players.tag.list=Tags on entity %s are: +commands.scoreboard.players.tag.tagError=Players tag command failed, reason: %s +commands.scoreboard.teams.usage=/scoreboard teams ... +commands.scoreboard.teams.add.usage=/scoreboard teams add [display name ...] +commands.scoreboard.teams.add.alreadyExists=A team with the name '%s' already exists +commands.scoreboard.teams.add.tooLong=The name '%s' is too long for a team, it can be at most %s characters long +commands.scoreboard.teams.add.displayTooLong=The display name '%s' is too long for a team, it can be at most %s characters long +commands.scoreboard.teams.add.success=Added new team '%s' successfully +commands.scoreboard.teams.list.usage=/scoreboard teams list [name] +commands.scoreboard.teams.list.count=Showing %s teams on the scoreboard: +commands.scoreboard.teams.list.entry=- %1$s: '%2$s' has %3$s players +commands.scoreboard.teams.list.empty=There are no teams registered on the scoreboard +commands.scoreboard.teams.list.player.count=Showing %s player(s) in team %s: +commands.scoreboard.teams.list.player.entry=- %2$s: %1$s (%3$s) +commands.scoreboard.teams.list.player.empty=Team %s has no players +commands.scoreboard.teams.empty.usage=/scoreboard teams empty +commands.scoreboard.teams.empty.alreadyEmpty=Team %s is already empty, cannot remove nonexistant players +commands.scoreboard.teams.empty.success=Removed all %s player(s) from team %s +commands.scoreboard.teams.remove.usage=/scoreboard teams remove +commands.scoreboard.teams.remove.success=Removed team %s +commands.scoreboard.teams.join.usage=/scoreboard teams join [player] +commands.scoreboard.teams.join.success=Added %s player(s) to team %s: %s +commands.scoreboard.teams.join.failure=Could not add %s player(s) to team %s: %s +commands.scoreboard.teams.leave.usage=/scoreboard teams leave [player] +commands.scoreboard.teams.leave.success=Removed %s player(s) from their teams: %s +commands.scoreboard.teams.leave.failure=Could not remove %s player(s) from their teams: %s +commands.scoreboard.teams.leave.noTeam=You are not in a team +commands.scoreboard.teams.option.usage=/scoreboard teams option +commands.scoreboard.teams.option.noValue=Valid values for option %s are: %s +commands.scoreboard.teams.option.success=Set option %s for team %s to %s +commands.execute.usage=/execute OR /execute detect +commands.execute.allInvocationsFailed=All invocations failed: '%s' +commands.execute.failed=Failed to execute '%s' as %s +commands.gamemode.success.self=Set own game mode to %s +commands.gamemode.success.other=Set %s's game mode to %s +commands.gamemode.usage=/gamemode [player] +commands.defaultgamemode.usage=/defaultgamemode +commands.defaultgamemode.success=The world's default game mode is now %s +commands.me.usage=/me +commands.help.header=--- Showing help page %s of %s (/help ) --- +commands.help.footer=Tip: Use the key while typing a command to auto-complete the command or its arguments +commands.help.usage=/help [page|command name] +commands.trigger.usage=/trigger +commands.trigger.invalidObjective=Invalid trigger name %s +commands.trigger.invalidMode=Invalid trigger mode %s +commands.trigger.disabled=Trigger %s is not enabled +commands.trigger.invalidPlayer=Only players can use the /trigger command +commands.trigger.success=Trigger %s changed with %s %s +commands.publish.usage=/publish +commands.publish.started=Local game hosted on port %s +commands.publish.failed=Unable to host local game +commands.debug.start=Started debug profiling +commands.debug.stop=Stopped debug profiling after %s seconds (%s ticks) +commands.debug.notStarted=Can't stop profiling when we haven't started yet! +commands.debug.usage=/debug +commands.chunkinfo.usage=/chunkinfo [ ] +commands.chunkinfo.location=Chunk location: (%s, %s, %s) +commands.chunkinfo.noChunk=No chunk found at chunk position %s, %s, %s +commands.chunkinfo.notEmpty=Chunk is not empty. +commands.chunkinfo.empty=Chunk is empty. +commands.chunkinfo.notCompiled=Chunk is not compiled. +commands.chunkinfo.compiled=Chunk is compiled. +commands.chunkinfo.hasNoRenderableLayers=Chunk has no renderable layers. +commands.chunkinfo.hasLayers=Chunk has layers: %s +commands.chunkinfo.isEmpty=Chunk has empty layers: %s +commands.chunkinfo.vertices=%s layer's buffer contains %s vertices +commands.chunkinfo.data=First 64 vertices are: %s +commands.tellraw.usage=/tellraw +commands.tellraw.jsonException=Invalid json: %s +commands.message.usage=/tell +commands.message.sameTarget=You can't send a private message to yourself! +commands.message.display.outgoing=You whisper to %s: %s +commands.message.display.incoming=%s whispers to you: %s +commands.difficulty.usage=/difficulty +commands.difficulty.success=Set game difficulty to %s +commands.spawnpoint.usage=/spawnpoint [player] [ ] +commands.spawnpoint.success=Set %s's spawn point to (%s, %s, %s) +commands.setworldspawn.usage=/setworldspawn [ ] +commands.setworldspawn.success=Set the world spawn point to (%s, %s, %s) +commands.gamerule.usage=/gamerule [value] +commands.gamerule.success=Game rule %s has been updated to %s +commands.gamerule.norule=No game rule called '%s' is available +commands.gamerule.nopermission=Only server owners can change '%s' +commands.weather.usage=/weather [duration in seconds] +commands.weather.clear=Changing to clear weather +commands.weather.rain=Changing to rainy weather +commands.weather.thunder=Changing to rain and thunder +commands.testfor.usage=/testfor [dataTag] +commands.testfor.failure=%s did not match the required data structure +commands.testfor.success=Found %s +commands.testfor.tagError=Data tag parsing failed: %s +commands.seed.usage=/seed +commands.seed.success=Seed: %s +commands.spreadplayers.noop=No players found to spread +commands.spreadplayers.usage=/spreadplayers +commands.spreadplayers.spreading.teams=Spreading %s team(s) %s blocks around %s, %s (min %s blocks apart) +commands.spreadplayers.spreading.players=Spreading %s player(s) %s blocks around %s, %s (min %s blocks apart) +commands.spreadplayers.success.teams=Successfully spread %s team(s) around %s, %s +commands.spreadplayers.success.players=Successfully spread %s player(s) around %s, %s +commands.spreadplayers.info.teams=(Average distance between teams is %s blocks apart after %s iterations) +commands.spreadplayers.info.players=(Average distance between players is %s blocks apart after %s iterations) +commands.spreadplayers.failure.teams=Could not spread %s team(s) around %s, %s (too many players for space - try using spread of at most %s) +commands.spreadplayers.failure.players=Could not spread %s player(s) around %s, %s (too many players for space - try using spread of at most %s) +commands.recipe.usage=/recipe [player] +commands.recipe.alreadyHave=Player %s already has a recipe for %s +commands.recipe.dontHave=Player %s doesn't have the recipe for %s +commands.recipe.give.success.all=Successfully given all recipes to %s +commands.recipe.give.success.one=Successfully given %s the recipe for %s +commands.recipe.take.success.all=Successfully taken all recipes from %s +commands.recipe.take.success.one=Successfully removed the recipe for %s from %s +commands.recipe.unknownrecipe=%s is an unknown recipe +commands.recipe.unsupported=%s is an unsupported recipe +commands.worldborder.usage=/worldborder ... +commands.worldborder.add.usage=/worldborder add [timeInSeconds] +commands.worldborder.set.usage=/worldborder set [timeInSeconds] +commands.worldborder.set.success=Set world border to %s blocks wide (from %s blocks) +commands.worldborder.get.success=World border is currently %s blocks wide +commands.worldborder.setSlowly.shrink.success=Shrinking world border to %s blocks wide (down from %s blocks) over %s seconds +commands.worldborder.setSlowly.grow.success=Growing world border to %s blocks wide (up from %s blocks) over %s seconds +commands.worldborder.center.usage=/worldborder center +commands.worldborder.center.success=Set world border center to %s, %s +commands.worldborder.damage.usage=/worldborder damage ... +commands.worldborder.damage.buffer.usage=/worldborder damage buffer +commands.worldborder.damage.buffer.success=Set world border damage buffer to %s blocks (from %s blocks) +commands.worldborder.damage.amount.usage=/worldborder damage amount +commands.worldborder.damage.amount.success=Set world border damage amount to %s per block (from %s per block) +commands.worldborder.warning.usage=/worldborder warning ... +commands.worldborder.warning.time.usage=/worldborder warning time +commands.worldborder.warning.time.success=Set world border warning to %s seconds away (from %s seconds) +commands.worldborder.warning.distance.usage=/worldborder warning distance +commands.worldborder.warning.distance.success=Set world border warning to %s blocks away (from %s blocks) +commands.title.usage=/title title|subtitle|actionbar|clear|reset|times ... +commands.title.usage.title=/title title|subtitle|actionbar +commands.title.usage.clear=/title clear|reset +commands.title.usage.times=/title times +commands.title.success=Title command successfully executed +commands.stopsound.usage=/stopsound [source] [sound] +commands.stopsound.unknownSoundSource=Source %s is unknown +commands.stopsound.success.individualSound=Stopped sound '%s' with source '%s' for %s +commands.stopsound.success.soundSource=Stopped source '%s' for %s +commands.stopsound.success.all=Stopped all sounds for %s +commands.locate.usage=/locate +commands.locate.success=Located %s at %s (y?) %s +commands.locate.failure=Unable to locate any %s feature + +itemGroup.buildingBlocks=Building Blocks +itemGroup.decorations=Decoration Blocks +itemGroup.redstone=Redstone +itemGroup.transportation=Transportation +itemGroup.misc=Miscellaneous +itemGroup.search=Search Items +itemGroup.food=Foodstuffs +itemGroup.tools=Tools +itemGroup.combat=Combat +itemGroup.brewing=Brewing +itemGroup.materials=Materials +itemGroup.inventory=Survival Inventory +itemGroup.hotbar=Saved Toolbars + +inventory.binSlot=Destroy Item +inventory.hotbarSaved=Item toolbar saved (restore with %1$s+%2$s) +inventory.hotbarInfo=Save toolbar with %1$s+%2$s + +advMode.setCommand=Set Console Command for Block +advMode.setCommand.success=Command set: %s +advMode.command=Console Command +advMode.nearestPlayer=Use "@p" to target nearest player +advMode.randomPlayer=Use "@r" to target random player +advMode.allPlayers=Use "@a" to target all players +advMode.allEntities=Use "@e" to target all entities +advMode.self=Use "@s" to target the executing entity +advMode.previousOutput=Previous Output +advMode.mode.sequence=Chain +advMode.mode.auto=Repeat +advMode.mode.redstone=Impulse +advMode.mode.conditional=Conditional +advMode.mode.unconditional=Unconditional +advMode.mode.redstoneTriggered=Needs Redstone +advMode.mode.autoexec.bat=Always Active + +advMode.notEnabled=Command blocks are not enabled on this server +advMode.notAllowed=Must be an opped player in creative mode + +mount.onboard=Press %1$s to dismount + +build.tooHigh=Height limit for building is %s blocks + +item.modifiers.mainhand=When in main hand: +item.modifiers.offhand=When in off hand: +item.modifiers.feet=When on feet: +item.modifiers.legs=When on legs: +item.modifiers.chest=When on body: +item.modifiers.head=When on head: + +attribute.modifier.plus.0=+%s %s +attribute.modifier.plus.1=+%s%% %s +attribute.modifier.plus.2=+%s%% %s +attribute.modifier.take.0=-%s %s +attribute.modifier.take.1=-%s%% %s +attribute.modifier.take.2=-%s%% %s +attribute.modifier.equals.0=%s %s +attribute.modifier.equals.1=%s%% %s +attribute.modifier.equals.2=%s%% %s + +attribute.name.horse.jumpStrength=Horse Jump Strength +attribute.name.zombie.spawnReinforcements=Zombie Reinforcements +attribute.name.generic.maxHealth=Max Health +attribute.name.generic.followRange=Mob Follow Range +attribute.name.generic.knockbackResistance=Knockback Resistance +attribute.name.generic.movementSpeed=Speed +attribute.name.generic.attackDamage=Attack Damage +attribute.name.generic.attackSpeed=Attack Speed +attribute.name.generic.luck=Luck +attribute.name.generic.armor=Armor +attribute.name.generic.armorToughness=Armor Toughness + +screenshot.success=Saved screenshot as %s +screenshot.failure=Couldn't save screenshot: %s + +item.banner.black.name=Black Banner +item.banner.red.name=Red Banner +item.banner.green.name=Green Banner +item.banner.brown.name=Brown Banner +item.banner.blue.name=Blue Banner +item.banner.purple.name=Purple Banner +item.banner.cyan.name=Cyan Banner +item.banner.silver.name=Light Gray Banner +item.banner.gray.name=Gray Banner +item.banner.pink.name=Pink Banner +item.banner.lime.name=Lime Banner +item.banner.yellow.name=Yellow Banner +item.banner.lightBlue.name=Light Blue Banner +item.banner.magenta.name=Magenta Banner +item.banner.orange.name=Orange Banner +item.banner.white.name=White Banner + +item.shield.name=Shield +item.shield.black.name=Black Shield +item.shield.red.name=Red Shield +item.shield.green.name=Green Shield +item.shield.brown.name=Brown Shield +item.shield.blue.name=Blue Shield +item.shield.purple.name=Purple Shield +item.shield.cyan.name=Cyan Shield +item.shield.silver.name=Light Gray Shield +item.shield.gray.name=Gray Shield +item.shield.pink.name=Pink Shield +item.shield.lime.name=Lime Shield +item.shield.yellow.name=Yellow Shield +item.shield.lightBlue.name=Light Blue Shield +item.shield.magenta.name=Magenta Shield +item.shield.orange.name=Orange Shield +item.shield.white.name=White Shield + +item.banner.square_bottom_left.black=Black Base Dexter Canton +item.banner.square_bottom_left.red=Red Base Dexter Canton +item.banner.square_bottom_left.green=Green Base Dexter Canton +item.banner.square_bottom_left.brown=Brown Base Dexter Canton +item.banner.square_bottom_left.blue=Blue Base Dexter Canton +item.banner.square_bottom_left.purple=Purple Base Dexter Canton +item.banner.square_bottom_left.cyan=Cyan Base Dexter Canton +item.banner.square_bottom_left.silver=Light Gray Base Dexter Canton +item.banner.square_bottom_left.gray=Gray Base Dexter Canton +item.banner.square_bottom_left.pink=Pink Base Dexter Canton +item.banner.square_bottom_left.lime=Lime Base Dexter Canton +item.banner.square_bottom_left.yellow=Yellow Base Dexter Canton +item.banner.square_bottom_left.lightBlue=Light Blue Base Dexter Canton +item.banner.square_bottom_left.magenta=Magenta Base Dexter Canton +item.banner.square_bottom_left.orange=Orange Base Dexter Canton +item.banner.square_bottom_left.white=White Base Dexter Canton + +item.banner.square_bottom_right.black=Black Base Sinister Canton +item.banner.square_bottom_right.red=Red Base Sinister Canton +item.banner.square_bottom_right.green=Green Base Sinister Canton +item.banner.square_bottom_right.brown=Brown Base Sinister Canton +item.banner.square_bottom_right.blue=Blue Base Sinister Canton +item.banner.square_bottom_right.purple=Purple Base Sinister Canton +item.banner.square_bottom_right.cyan=Cyan Base Sinister Canton +item.banner.square_bottom_right.silver=Light Gray Base Sinister Canton +item.banner.square_bottom_right.gray=Gray Base Sinister Canton +item.banner.square_bottom_right.pink=Pink Base Sinister Canton +item.banner.square_bottom_right.lime=Lime Base Sinister Canton +item.banner.square_bottom_right.yellow=Yellow Base Sinister Canton +item.banner.square_bottom_right.lightBlue=Light Blue Base Sinister Canton +item.banner.square_bottom_right.magenta=Magenta Base Sinister Canton +item.banner.square_bottom_right.orange=Orange Base Sinister Canton +item.banner.square_bottom_right.white=White Base Sinister Canton + +item.banner.square_top_left.black=Black Chief Dexter Canton +item.banner.square_top_left.red=Red Chief Dexter Canton +item.banner.square_top_left.green=Green Chief Dexter Canton +item.banner.square_top_left.brown=Brown Chief Dexter Canton +item.banner.square_top_left.blue=Blue Chief Dexter Canton +item.banner.square_top_left.purple=Purple Chief Dexter Canton +item.banner.square_top_left.cyan=Cyan Chief Dexter Canton +item.banner.square_top_left.silver=Light Gray Chief Dexter Canton +item.banner.square_top_left.gray=Gray Chief Dexter Canton +item.banner.square_top_left.pink=Pink Chief Dexter Canton +item.banner.square_top_left.lime=Lime Chief Dexter Canton +item.banner.square_top_left.yellow=Yellow Chief Dexter Canton +item.banner.square_top_left.lightBlue=Light Blue Chief Dexter Canton +item.banner.square_top_left.magenta=Magenta Chief Dexter Canton +item.banner.square_top_left.orange=Orange Chief Dexter Canton +item.banner.square_top_left.white=White Chief Dexter Canton + +item.banner.square_top_right.black=Black Chief Sinister Canton +item.banner.square_top_right.red=Red Chief Sinister Canton +item.banner.square_top_right.green=Green Chief Sinister Canton +item.banner.square_top_right.brown=Brown Chief Sinister Canton +item.banner.square_top_right.blue=Blue Chief Sinister Canton +item.banner.square_top_right.purple=Purple Chief Sinister Canton +item.banner.square_top_right.cyan=Cyan Chief Sinister Canton +item.banner.square_top_right.silver=Light Gray Chief Sinister Canton +item.banner.square_top_right.gray=Gray Chief Sinister Canton +item.banner.square_top_right.pink=Pink Chief Sinister Canton +item.banner.square_top_right.lime=Lime Chief Sinister Canton +item.banner.square_top_right.yellow=Yellow Chief Sinister Canton +item.banner.square_top_right.lightBlue=Light Blue Chief Sinister Canton +item.banner.square_top_right.magenta=Magenta Chief Sinister Canton +item.banner.square_top_right.orange=Orange Chief Sinister Canton +item.banner.square_top_right.white=White Chief Sinister Canton + +item.banner.stripe_bottom.black=Black Base +item.banner.stripe_bottom.red=Red Base +item.banner.stripe_bottom.green=Green Base +item.banner.stripe_bottom.brown=Brown Base +item.banner.stripe_bottom.blue=Blue Base +item.banner.stripe_bottom.purple=Purple Base +item.banner.stripe_bottom.cyan=Cyan Base +item.banner.stripe_bottom.silver=Light Gray Base +item.banner.stripe_bottom.gray=Gray Base +item.banner.stripe_bottom.pink=Pink Base +item.banner.stripe_bottom.lime=Lime Base +item.banner.stripe_bottom.yellow=Yellow Base +item.banner.stripe_bottom.lightBlue=Light Blue Base +item.banner.stripe_bottom.magenta=Magenta Base +item.banner.stripe_bottom.orange=Orange Base +item.banner.stripe_bottom.white=White Base + +item.banner.stripe_top.black=Black Chief +item.banner.stripe_top.red=Red Chief +item.banner.stripe_top.green=Green Chief +item.banner.stripe_top.brown=Brown Chief +item.banner.stripe_top.blue=Blue Chief +item.banner.stripe_top.purple=Purple Chief +item.banner.stripe_top.cyan=Cyan Chief +item.banner.stripe_top.silver=Light Gray Chief +item.banner.stripe_top.gray=Gray Chief +item.banner.stripe_top.pink=Pink Chief +item.banner.stripe_top.lime=Lime Chief +item.banner.stripe_top.yellow=Yellow Chief +item.banner.stripe_top.lightBlue=Light Blue Chief +item.banner.stripe_top.magenta=Magenta Chief +item.banner.stripe_top.orange=Orange Chief +item.banner.stripe_top.white=White Chief + +item.banner.stripe_left.black=Black Pale Dexter +item.banner.stripe_left.red=Red Pale Dexter +item.banner.stripe_left.green=Green Pale Dexter +item.banner.stripe_left.brown=Brown Pale Dexter +item.banner.stripe_left.blue=Blue Pale Dexter +item.banner.stripe_left.purple=Purple Pale Dexter +item.banner.stripe_left.cyan=Cyan Pale Dexter +item.banner.stripe_left.silver=Light Gray Pale Dexter +item.banner.stripe_left.gray=Gray Pale Dexter +item.banner.stripe_left.pink=Pink Pale Dexter +item.banner.stripe_left.lime=Lime Pale Dexter +item.banner.stripe_left.yellow=Yellow Pale Dexter +item.banner.stripe_left.lightBlue=Light Blue Pale Dexter +item.banner.stripe_left.magenta=Magenta Pale Dexter +item.banner.stripe_left.orange=Orange Pale Dexter +item.banner.stripe_left.white=White Pale Dexter + +item.banner.stripe_right.black=Black Pale Sinister +item.banner.stripe_right.red=Red Pale Sinister +item.banner.stripe_right.green=Green Pale Sinister +item.banner.stripe_right.brown=Brown Pale Sinister +item.banner.stripe_right.blue=Blue Pale Sinister +item.banner.stripe_right.purple=Purple Pale Sinister +item.banner.stripe_right.cyan=Cyan Pale Sinister +item.banner.stripe_right.silver=Light Gray Pale Sinister +item.banner.stripe_right.gray=Gray Pale Sinister +item.banner.stripe_right.pink=Pink Pale Sinister +item.banner.stripe_right.lime=Lime Pale Sinister +item.banner.stripe_right.yellow=Yellow Pale Sinister +item.banner.stripe_right.lightBlue=Light Blue Pale Sinister +item.banner.stripe_right.magenta=Magenta Pale Sinister +item.banner.stripe_right.orange=Orange Pale Sinister +item.banner.stripe_right.white=White Pale Sinister + +item.banner.stripe_center.black=Black Pale +item.banner.stripe_center.red=Red Pale +item.banner.stripe_center.green=Green Pale +item.banner.stripe_center.brown=Brown Pale +item.banner.stripe_center.blue=Blue Pale +item.banner.stripe_center.purple=Purple Pale +item.banner.stripe_center.cyan=Cyan Pale +item.banner.stripe_center.silver=Light Gray Pale +item.banner.stripe_center.gray=Gray Pale +item.banner.stripe_center.pink=Pink Pale +item.banner.stripe_center.lime=Lime Pale +item.banner.stripe_center.yellow=Yellow Pale +item.banner.stripe_center.lightBlue=Light Blue Pale +item.banner.stripe_center.magenta=Magenta Pale +item.banner.stripe_center.orange=Orange Pale +item.banner.stripe_center.white=White Pale + +item.banner.stripe_middle.black=Black Fess +item.banner.stripe_middle.red=Red Fess +item.banner.stripe_middle.green=Green Fess +item.banner.stripe_middle.brown=Brown Fess +item.banner.stripe_middle.blue=Blue Fess +item.banner.stripe_middle.purple=Purple Fess +item.banner.stripe_middle.cyan=Cyan Fess +item.banner.stripe_middle.silver=Light Gray Fess +item.banner.stripe_middle.gray=Gray Fess +item.banner.stripe_middle.pink=Pink Fess +item.banner.stripe_middle.lime=Lime Fess +item.banner.stripe_middle.yellow=Yellow Fess +item.banner.stripe_middle.lightBlue=Light Blue Fess +item.banner.stripe_middle.magenta=Magenta Fess +item.banner.stripe_middle.orange=Orange Fess +item.banner.stripe_middle.white=White Fess + +item.banner.stripe_downright.black=Black Bend +item.banner.stripe_downright.red=Red Bend +item.banner.stripe_downright.green=Green Bend +item.banner.stripe_downright.brown=Brown Bend +item.banner.stripe_downright.blue=Blue Bend +item.banner.stripe_downright.purple=Purple Bend +item.banner.stripe_downright.cyan=Cyan Bend +item.banner.stripe_downright.silver=Light Gray Bend +item.banner.stripe_downright.gray=Gray Bend +item.banner.stripe_downright.pink=Pink Bend +item.banner.stripe_downright.lime=Lime Bend +item.banner.stripe_downright.yellow=Yellow Bend +item.banner.stripe_downright.lightBlue=Light Blue Bend +item.banner.stripe_downright.magenta=Magenta Bend +item.banner.stripe_downright.orange=Orange Bend +item.banner.stripe_downright.white=White Bend + +item.banner.stripe_downleft.black=Black Bend Sinister +item.banner.stripe_downleft.red=Red Bend Sinister +item.banner.stripe_downleft.green=Green Bend Sinister +item.banner.stripe_downleft.brown=Brown Bend Sinister +item.banner.stripe_downleft.blue=Blue Bend Sinister +item.banner.stripe_downleft.purple=Purple Bend Sinister +item.banner.stripe_downleft.cyan=Cyan Bend Sinister +item.banner.stripe_downleft.silver=Light Gray Bend Sinister +item.banner.stripe_downleft.gray=Gray Bend Sinister +item.banner.stripe_downleft.pink=Pink Bend Sinister +item.banner.stripe_downleft.lime=Lime Bend Sinister +item.banner.stripe_downleft.yellow=Yellow Bend Sinister +item.banner.stripe_downleft.lightBlue=Light Blue Bend Sinister +item.banner.stripe_downleft.magenta=Magenta Bend Sinister +item.banner.stripe_downleft.orange=Orange Bend Sinister +item.banner.stripe_downleft.white=White Bend Sinister + +item.banner.small_stripes.black=Black Paly +item.banner.small_stripes.red=Red Paly +item.banner.small_stripes.green=Green Paly +item.banner.small_stripes.brown=Brown Paly +item.banner.small_stripes.blue=Blue Paly +item.banner.small_stripes.purple=Purple Paly +item.banner.small_stripes.cyan=Cyan Paly +item.banner.small_stripes.silver=Light Gray Paly +item.banner.small_stripes.gray=Gray Paly +item.banner.small_stripes.pink=Pink Paly +item.banner.small_stripes.lime=Lime Paly +item.banner.small_stripes.yellow=Yellow Paly +item.banner.small_stripes.lightBlue=Light Blue Paly +item.banner.small_stripes.magenta=Magenta Paly +item.banner.small_stripes.orange=Orange Paly +item.banner.small_stripes.white=White Paly + +item.banner.cross.black=Black Saltire +item.banner.cross.red=Red Saltire +item.banner.cross.green=Green Saltire +item.banner.cross.brown=Brown Saltire +item.banner.cross.blue=Blue Saltire +item.banner.cross.purple=Purple Saltire +item.banner.cross.cyan=Cyan Saltire +item.banner.cross.silver=Light Gray Saltire +item.banner.cross.gray=Gray Saltire +item.banner.cross.pink=Pink Saltire +item.banner.cross.lime=Lime Saltire +item.banner.cross.yellow=Yellow Saltire +item.banner.cross.lightBlue=Light Blue Saltire +item.banner.cross.magenta=Magenta Saltire +item.banner.cross.orange=Orange Saltire +item.banner.cross.white=White Saltire + +item.banner.triangle_bottom.black=Black Chevron +item.banner.triangle_bottom.red=Red Chevron +item.banner.triangle_bottom.green=Green Chevron +item.banner.triangle_bottom.brown=Brown Chevron +item.banner.triangle_bottom.blue=Blue Chevron +item.banner.triangle_bottom.purple=Purple Chevron +item.banner.triangle_bottom.cyan=Cyan Chevron +item.banner.triangle_bottom.silver=Light Gray Chevron +item.banner.triangle_bottom.gray=Gray Chevron +item.banner.triangle_bottom.pink=Pink Chevron +item.banner.triangle_bottom.lime=Lime Chevron +item.banner.triangle_bottom.yellow=Yellow Chevron +item.banner.triangle_bottom.lightBlue=Light Blue Chevron +item.banner.triangle_bottom.magenta=Magenta Chevron +item.banner.triangle_bottom.orange=Orange Chevron +item.banner.triangle_bottom.white=White Chevron + +item.banner.triangle_top.black=Black Inverted Chevron +item.banner.triangle_top.red=Red Inverted Chevron +item.banner.triangle_top.green=Green Inverted Chevron +item.banner.triangle_top.brown=Brown Inverted Chevron +item.banner.triangle_top.blue=Blue Inverted Chevron +item.banner.triangle_top.purple=Purple Inverted Chevron +item.banner.triangle_top.cyan=Cyan Inverted Chevron +item.banner.triangle_top.silver=Light Gray Inverted Chevron +item.banner.triangle_top.gray=Gray Inverted Chevron +item.banner.triangle_top.pink=Pink Inverted Chevron +item.banner.triangle_top.lime=Lime Inverted Chevron +item.banner.triangle_top.yellow=Yellow Inverted Chevron +item.banner.triangle_top.lightBlue=Light Blue Inverted Chevron +item.banner.triangle_top.magenta=Magenta Inverted Chevron +item.banner.triangle_top.orange=Orange Inverted Chevron +item.banner.triangle_top.white=White Inverted Chevron + +item.banner.triangles_bottom.black=Black Base Indented +item.banner.triangles_bottom.red=Red Base Indented +item.banner.triangles_bottom.green=Green Base Indented +item.banner.triangles_bottom.brown=Brown Base Indented +item.banner.triangles_bottom.blue=Blue Base Indented +item.banner.triangles_bottom.purple=Purple Base Indented +item.banner.triangles_bottom.cyan=Cyan Base Indented +item.banner.triangles_bottom.silver=Light Gray Base Indented +item.banner.triangles_bottom.gray=Gray Base Indented +item.banner.triangles_bottom.pink=Pink Base Indented +item.banner.triangles_bottom.lime=Lime Base Indented +item.banner.triangles_bottom.yellow=Yellow Base Indented +item.banner.triangles_bottom.lightBlue=Light Blue Base Indented +item.banner.triangles_bottom.magenta=Magenta Base Indented +item.banner.triangles_bottom.orange=Orange Base Indented +item.banner.triangles_bottom.white=White Base Indented + +item.banner.triangles_top.black=Black Chief Indented +item.banner.triangles_top.red=Red Chief Indented +item.banner.triangles_top.green=Green Chief Indented +item.banner.triangles_top.brown=Brown Chief Indented +item.banner.triangles_top.blue=Blue Chief Indented +item.banner.triangles_top.purple=Purple Chief Indented +item.banner.triangles_top.cyan=Cyan Chief Indented +item.banner.triangles_top.silver=Light Gray Chief Indented +item.banner.triangles_top.gray=Gray Chief Indented +item.banner.triangles_top.pink=Pink Chief Indented +item.banner.triangles_top.lime=Lime Chief Indented +item.banner.triangles_top.yellow=Yellow Chief Indented +item.banner.triangles_top.lightBlue=Light Blue Chief Indented +item.banner.triangles_top.magenta=Magenta Chief Indented +item.banner.triangles_top.orange=Orange Chief Indented +item.banner.triangles_top.white=White Chief Indented + +item.banner.diagonal_left.black=Black Per Bend Sinister +item.banner.diagonal_left.red=Red Per Bend Sinister +item.banner.diagonal_left.green=Green Per Bend Sinister +item.banner.diagonal_left.brown=Brown Per Bend Sinister +item.banner.diagonal_left.blue=Blue Per Bend Sinister +item.banner.diagonal_left.purple=Purple Per Bend Sinister +item.banner.diagonal_left.cyan=Cyan Per Bend Sinister +item.banner.diagonal_left.silver=Light Gray Per Bend Sinister +item.banner.diagonal_left.gray=Gray Per Bend Sinister +item.banner.diagonal_left.pink=Pink Per Bend Sinister +item.banner.diagonal_left.lime=Lime Per Bend Sinister +item.banner.diagonal_left.yellow=Yellow Per Bend Sinister +item.banner.diagonal_left.lightBlue=Light Blue Per Bend Sinister +item.banner.diagonal_left.magenta=Magenta Per Bend Sinister +item.banner.diagonal_left.orange=Orange Per Bend Sinister +item.banner.diagonal_left.white=White Per Bend Sinister + +item.banner.diagonal_right.black=Black Per Bend +item.banner.diagonal_right.red=Red Per Bend +item.banner.diagonal_right.green=Green Per Bend +item.banner.diagonal_right.brown=Brown Per Bend +item.banner.diagonal_right.blue=Blue Per Bend +item.banner.diagonal_right.purple=Purple Per Bend +item.banner.diagonal_right.cyan=Cyan Per Bend +item.banner.diagonal_right.silver=Light Gray Per Bend +item.banner.diagonal_right.gray=Gray Per Bend +item.banner.diagonal_right.pink=Pink Per Bend +item.banner.diagonal_right.lime=Lime Per Bend +item.banner.diagonal_right.yellow=Yellow Per Bend +item.banner.diagonal_right.lightBlue=Light Blue Per Bend +item.banner.diagonal_right.magenta=Magenta Per Bend +item.banner.diagonal_right.orange=Orange Per Bend +item.banner.diagonal_right.white=White Per Bend + +item.banner.diagonal_up_left.black=Black Per Bend Inverted +item.banner.diagonal_up_left.red=Red Per Bend Inverted +item.banner.diagonal_up_left.green=Green Per Bend Inverted +item.banner.diagonal_up_left.brown=Brown Per Bend Inverted +item.banner.diagonal_up_left.blue=Blue Per Bend Inverted +item.banner.diagonal_up_left.purple=Purple Per Bend Inverted +item.banner.diagonal_up_left.cyan=Cyan Per Bend Inverted +item.banner.diagonal_up_left.silver=Light Gray Per Bend Inverted +item.banner.diagonal_up_left.gray=Gray Per Bend Inverted +item.banner.diagonal_up_left.pink=Pink Per Bend Inverted +item.banner.diagonal_up_left.lime=Lime Per Bend Inverted +item.banner.diagonal_up_left.yellow=Yellow Per Bend Inverted +item.banner.diagonal_up_left.lightBlue=Light Blue Per Bend Inverted +item.banner.diagonal_up_left.magenta=Magenta Per Bend Inverted +item.banner.diagonal_up_left.orange=Orange Per Bend Inverted +item.banner.diagonal_up_left.white=White Per Bend Inverted + +item.banner.diagonal_up_right.black=Black Per Bend Sinister Inverted +item.banner.diagonal_up_right.red=Red Per Bend Sinister Inverted +item.banner.diagonal_up_right.green=Green Per Bend Sinister Inverted +item.banner.diagonal_up_right.brown=Brown Per Bend Sinister Inverted +item.banner.diagonal_up_right.blue=Blue Per Bend Sinister Inverted +item.banner.diagonal_up_right.purple=Purple Per Bend Sinister Inverted +item.banner.diagonal_up_right.cyan=Cyan Per Bend Sinister Inverted +item.banner.diagonal_up_right.silver=Light Gray Per Bend Sinister Inverted +item.banner.diagonal_up_right.gray=Gray Per Bend Sinister Inverted +item.banner.diagonal_up_right.pink=Pink Per Bend Sinister Inverted +item.banner.diagonal_up_right.lime=Lime Per Bend Sinister Inverted +item.banner.diagonal_up_right.yellow=Yellow Per Bend Sinister Inverted +item.banner.diagonal_up_right.lightBlue=Light Blue Per Bend Sinister Inverted +item.banner.diagonal_up_right.magenta=Magenta Per Bend Sinister Inverted +item.banner.diagonal_up_right.orange=Orange Per Bend Sinister Inverted +item.banner.diagonal_up_right.white=White Per Bend Sinister Inverted + +item.banner.circle.black=Black Roundel +item.banner.circle.red=Red Roundel +item.banner.circle.green=Green Roundel +item.banner.circle.brown=Brown Roundel +item.banner.circle.blue=Blue Roundel +item.banner.circle.purple=Purple Roundel +item.banner.circle.cyan=Cyan Roundel +item.banner.circle.silver=Light Gray Roundel +item.banner.circle.gray=Gray Roundel +item.banner.circle.pink=Pink Roundel +item.banner.circle.lime=Lime Roundel +item.banner.circle.yellow=Yellow Roundel +item.banner.circle.lightBlue=Light Blue Roundel +item.banner.circle.magenta=Magenta Roundel +item.banner.circle.orange=Orange Roundel +item.banner.circle.white=White Roundel + +item.banner.rhombus.black=Black Lozenge +item.banner.rhombus.red=Red Lozenge +item.banner.rhombus.green=Green Lozenge +item.banner.rhombus.brown=Brown Lozenge +item.banner.rhombus.blue=Blue Lozenge +item.banner.rhombus.purple=Purple Lozenge +item.banner.rhombus.cyan=Cyan Lozenge +item.banner.rhombus.silver=Light Gray Lozenge +item.banner.rhombus.gray=Gray Lozenge +item.banner.rhombus.pink=Pink Lozenge +item.banner.rhombus.lime=Lime Lozenge +item.banner.rhombus.yellow=Yellow Lozenge +item.banner.rhombus.lightBlue=Light Blue Lozenge +item.banner.rhombus.magenta=Magenta Lozenge +item.banner.rhombus.orange=Orange Lozenge +item.banner.rhombus.white=White Lozenge + +item.banner.half_vertical.black=Black Per Pale +item.banner.half_vertical.red=Red Per Pale +item.banner.half_vertical.green=Green Per Pale +item.banner.half_vertical.brown=Brown Per Pale +item.banner.half_vertical.blue=Blue Per Pale +item.banner.half_vertical.purple=Purple Per Pale +item.banner.half_vertical.cyan=Cyan Per Pale +item.banner.half_vertical.silver=Light Gray Per Pale +item.banner.half_vertical.gray=Gray Per Pale +item.banner.half_vertical.pink=Pink Per Pale +item.banner.half_vertical.lime=Lime Per Pale +item.banner.half_vertical.yellow=Yellow Per Pale +item.banner.half_vertical.lightBlue=Light Blue Per Pale +item.banner.half_vertical.magenta=Magenta Per Pale +item.banner.half_vertical.orange=Orange Per Pale +item.banner.half_vertical.white=White Per Pale + +item.banner.half_horizontal.black=Black Per Fess +item.banner.half_horizontal.red=Red Per Fess +item.banner.half_horizontal.green=Green Per Fess +item.banner.half_horizontal.brown=Brown Per Fess +item.banner.half_horizontal.blue=Blue Per Fess +item.banner.half_horizontal.purple=Purple Per Fess +item.banner.half_horizontal.cyan=Cyan Per Fess +item.banner.half_horizontal.silver=Light Gray Per Fess +item.banner.half_horizontal.gray=Gray Per Fess +item.banner.half_horizontal.pink=Pink Per Fess +item.banner.half_horizontal.lime=Lime Per Fess +item.banner.half_horizontal.yellow=Yellow Per Fess +item.banner.half_horizontal.lightBlue=Light Blue Per Fess +item.banner.half_horizontal.magenta=Magenta Per Fess +item.banner.half_horizontal.orange=Orange Per Fess +item.banner.half_horizontal.white=White Per Fess + +item.banner.half_vertical_right.black=Black Per Pale Inverted +item.banner.half_vertical_right.red=Red Per Pale Inverted +item.banner.half_vertical_right.green=Green Per Pale Inverted +item.banner.half_vertical_right.brown=Brown Per Pale Inverted +item.banner.half_vertical_right.blue=Blue Per Pale Inverted +item.banner.half_vertical_right.purple=Purple Per Pale Inverted +item.banner.half_vertical_right.cyan=Cyan Per Pale Inverted +item.banner.half_vertical_right.silver=Light Gray Per Pale Inverted +item.banner.half_vertical_right.gray=Gray Per Pale Inverted +item.banner.half_vertical_right.pink=Pink Per Pale Inverted +item.banner.half_vertical_right.lime=Lime Per Pale Inverted +item.banner.half_vertical_right.yellow=Yellow Per Pale Inverted +item.banner.half_vertical_right.lightBlue=Light Blue Per Pale Inverted +item.banner.half_vertical_right.magenta=Magenta Per Pale Inverted +item.banner.half_vertical_right.orange=Orange Per Pale Inverted +item.banner.half_vertical_right.white=White Per Pale Inverted + +item.banner.half_horizontal_bottom.black=Black Per Fess Inverted +item.banner.half_horizontal_bottom.red=Red Per Fess Inverted +item.banner.half_horizontal_bottom.green=Green Per Fess Inverted +item.banner.half_horizontal_bottom.brown=Brown Per Fess Inverted +item.banner.half_horizontal_bottom.blue=Blue Per Fess Inverted +item.banner.half_horizontal_bottom.purple=Purple Per Fess Inverted +item.banner.half_horizontal_bottom.cyan=Cyan Per Fess Inverted +item.banner.half_horizontal_bottom.silver=Light Gray Per Fess Inverted +item.banner.half_horizontal_bottom.gray=Gray Per Fess Inverted +item.banner.half_horizontal_bottom.pink=Pink Per Fess Inverted +item.banner.half_horizontal_bottom.lime=Lime Per Fess Inverted +item.banner.half_horizontal_bottom.yellow=Yellow Per Fess Inverted +item.banner.half_horizontal_bottom.lightBlue=Light Blue Per Fess Inverted +item.banner.half_horizontal_bottom.magenta=Magenta Per Fess Inverted +item.banner.half_horizontal_bottom.orange=Orange Per Fess Inverted +item.banner.half_horizontal_bottom.white=White Per Fess Inverted + +item.banner.creeper.black=Black Creeper Charge +item.banner.creeper.red=Red Creeper Charge +item.banner.creeper.green=Green Creeper Charge +item.banner.creeper.brown=Brown Creeper Charge +item.banner.creeper.blue=Blue Creeper Charge +item.banner.creeper.purple=Purple Creeper Charge +item.banner.creeper.cyan=Cyan Creeper Charge +item.banner.creeper.silver=Light Gray Creeper Charge +item.banner.creeper.gray=Gray Creeper Charge +item.banner.creeper.pink=Pink Creeper Charge +item.banner.creeper.lime=Lime Creeper Charge +item.banner.creeper.yellow=Yellow Creeper Charge +item.banner.creeper.lightBlue=Light Blue Creeper Charge +item.banner.creeper.magenta=Magenta Creeper Charge +item.banner.creeper.orange=Orange Creeper Charge +item.banner.creeper.white=White Creeper Charge + +item.banner.bricks.black=Black Field Masoned +item.banner.bricks.red=Red Field Masoned +item.banner.bricks.green=Green Field Masoned +item.banner.bricks.brown=Brown Field Masoned +item.banner.bricks.blue=Blue Field Masoned +item.banner.bricks.purple=Purple Field Masoned +item.banner.bricks.cyan=Cyan Field Masoned +item.banner.bricks.silver=Light Gray Field Masoned +item.banner.bricks.gray=Gray Field Masoned +item.banner.bricks.pink=Pink Field Masoned +item.banner.bricks.lime=Lime Field Masoned +item.banner.bricks.yellow=Yellow Field Masoned +item.banner.bricks.lightBlue=Light Blue Field Masoned +item.banner.bricks.magenta=Magenta Field Masoned +item.banner.bricks.orange=Orange Field Masoned +item.banner.bricks.white=White Field Masoned + +item.banner.gradient.black=Black Gradient +item.banner.gradient.red=Red Gradient +item.banner.gradient.green=Green Gradient +item.banner.gradient.brown=Brown Gradient +item.banner.gradient.blue=Blue Gradient +item.banner.gradient.purple=Purple Gradient +item.banner.gradient.cyan=Cyan Gradient +item.banner.gradient.silver=Light Gray Gradient +item.banner.gradient.gray=Gray Gradient +item.banner.gradient.pink=Pink Gradient +item.banner.gradient.lime=Lime Gradient +item.banner.gradient.yellow=Yellow Gradient +item.banner.gradient.lightBlue=Light Blue Gradient +item.banner.gradient.magenta=Magenta Gradient +item.banner.gradient.orange=Orange Gradient +item.banner.gradient.white=White Gradient + +item.banner.gradient_up.black=Black Base Gradient +item.banner.gradient_up.red=Red Base Gradient +item.banner.gradient_up.green=Green Base Gradient +item.banner.gradient_up.brown=Brown Base Gradient +item.banner.gradient_up.blue=Blue Base Gradient +item.banner.gradient_up.purple=Purple Base Gradient +item.banner.gradient_up.cyan=Cyan Base Gradient +item.banner.gradient_up.silver=Light Gray Base Gradient +item.banner.gradient_up.gray=Gray Base Gradient +item.banner.gradient_up.pink=Pink Base Gradient +item.banner.gradient_up.lime=Lime Base Gradient +item.banner.gradient_up.yellow=Yellow Base Gradient +item.banner.gradient_up.lightBlue=Light Blue Base Gradient +item.banner.gradient_up.magenta=Magenta Base Gradient +item.banner.gradient_up.orange=Orange Base Gradient +item.banner.gradient_up.white=White Base Gradient + +item.banner.skull.black=Black Skull Charge +item.banner.skull.red=Red Skull Charge +item.banner.skull.green=Green Skull Charge +item.banner.skull.brown=Brown Skull Charge +item.banner.skull.blue=Blue Skull Charge +item.banner.skull.purple=Purple Skull Charge +item.banner.skull.cyan=Cyan Skull Charge +item.banner.skull.silver=Light Gray Skull Charge +item.banner.skull.gray=Gray Skull Charge +item.banner.skull.pink=Pink Skull Charge +item.banner.skull.lime=Lime Skull Charge +item.banner.skull.yellow=Yellow Skull Charge +item.banner.skull.lightBlue=Light Blue Skull Charge +item.banner.skull.magenta=Magenta Skull Charge +item.banner.skull.orange=Orange Skull Charge +item.banner.skull.white=White Skull Charge + +item.banner.flower.black=Black Flower Charge +item.banner.flower.red=Red Flower Charge +item.banner.flower.green=Green Flower Charge +item.banner.flower.brown=Brown Flower Charge +item.banner.flower.blue=Blue Flower Charge +item.banner.flower.purple=Purple Flower Charge +item.banner.flower.cyan=Cyan Flower Charge +item.banner.flower.silver=Light Gray Flower Charge +item.banner.flower.gray=Gray Flower Charge +item.banner.flower.pink=Pink Flower Charge +item.banner.flower.lime=Lime Flower Charge +item.banner.flower.yellow=Yellow Flower Charge +item.banner.flower.lightBlue=Light Blue Flower Charge +item.banner.flower.magenta=Magenta Flower Charge +item.banner.flower.orange=Orange Flower Charge +item.banner.flower.white=White Flower Charge + +item.banner.border.black=Black Bordure +item.banner.border.red=Red Bordure +item.banner.border.green=Green Bordure +item.banner.border.brown=Brown Bordure +item.banner.border.blue=Blue Bordure +item.banner.border.purple=Purple Bordure +item.banner.border.cyan=Cyan Bordure +item.banner.border.silver=Light Gray Bordure +item.banner.border.gray=Gray Bordure +item.banner.border.pink=Pink Bordure +item.banner.border.lime=Lime Bordure +item.banner.border.yellow=Yellow Bordure +item.banner.border.lightBlue=Light Blue Bordure +item.banner.border.magenta=Magenta Bordure +item.banner.border.orange=Orange Bordure +item.banner.border.white=White Bordure + +item.banner.curly_border.black=Black Bordure Indented +item.banner.curly_border.red=Red Bordure Indented +item.banner.curly_border.green=Green Bordure Indented +item.banner.curly_border.brown=Brown Bordure Indented +item.banner.curly_border.blue=Blue Bordure Indented +item.banner.curly_border.purple=Purple Bordure Indented +item.banner.curly_border.cyan=Cyan Bordure Indented +item.banner.curly_border.silver=Light Gray Bordure Indented +item.banner.curly_border.gray=Gray Bordure Indented +item.banner.curly_border.pink=Pink Bordure Indented +item.banner.curly_border.lime=Lime Bordure Indented +item.banner.curly_border.yellow=Yellow Bordure Indented +item.banner.curly_border.lightBlue=Light Blue Bordure Indented +item.banner.curly_border.magenta=Magenta Bordure Indented +item.banner.curly_border.orange=Orange Bordure Indented +item.banner.curly_border.white=White Bordure Indented + +item.banner.mojang.black=Black Thing +item.banner.mojang.red=Red Thing +item.banner.mojang.green=Green Thing +item.banner.mojang.brown=Brown Thing +item.banner.mojang.blue=Blue Thing +item.banner.mojang.purple=Purple Thing +item.banner.mojang.cyan=Cyan Thing +item.banner.mojang.silver=Light Gray Thing +item.banner.mojang.gray=Gray Thing +item.banner.mojang.pink=Pink Thing +item.banner.mojang.lime=Lime Thing +item.banner.mojang.yellow=Yellow Thing +item.banner.mojang.lightBlue=Light Blue Thing +item.banner.mojang.magenta=Magenta Thing +item.banner.mojang.orange=Orange Thing +item.banner.mojang.white=White Thing + +item.banner.straight_cross.black=Black Cross +item.banner.straight_cross.red=Red Cross +item.banner.straight_cross.green=Green Cross +item.banner.straight_cross.brown=Brown Cross +item.banner.straight_cross.blue=Blue Cross +item.banner.straight_cross.purple=Purple Cross +item.banner.straight_cross.cyan=Cyan Cross +item.banner.straight_cross.silver=Light Gray Cross +item.banner.straight_cross.gray=Gray Cross +item.banner.straight_cross.pink=Pink Cross +item.banner.straight_cross.lime=Lime Cross +item.banner.straight_cross.yellow=Yellow Cross +item.banner.straight_cross.lightBlue=Light Blue Cross +item.banner.straight_cross.magenta=Magenta Cross +item.banner.straight_cross.orange=Orange Cross +item.banner.straight_cross.white=White Cross + +subtitles.ambient.cave=Eerie noise +subtitles.block.anvil.destroy=Anvil destroyed +subtitles.block.anvil.land=Anvil landed +subtitles.block.anvil.use=Anvil used +subtitles.block.brewing_stand.brew=Brewing Stand bubbles +subtitles.block.button.click=Button clicks +subtitles.block.chest.close=Chest closes +subtitles.block.chest.locked=Chest locked +subtitles.block.chest.open=Chest opens +subtitles.block.chorus_flower.death=Chorus Flower withers +subtitles.block.chorus_flower.grow=Chorus Flower grows +subtitles.block.comparator.click=Comparator clicks +subtitles.block.dispenser.dispense=Dispensed item +subtitles.block.dispenser.fail=Dispenser failed +subtitles.block.door.toggle=Door creaks +subtitles.block.fence_gate.toggle=Fence Gate creaks +subtitles.block.fire.ambient=Fire crackles +subtitles.block.fire.extinguish=Fire extinguished +subtitles.block.furnace.fire_crackle=Furnace crackles +subtitles.block.generic.break=Block broken +subtitles.block.generic.footsteps=Footsteps +subtitles.block.generic.hit=Block breaking +subtitles.block.generic.place=Block placed +subtitles.block.iron_trapdoor.close=Trapdoor opens +subtitles.block.iron_trapdoor.open=Trapdoor closes +subtitles.block.lava.ambient=Lava pops +subtitles.block.lava.extinguish=Lava hisses +subtitles.block.lever.click=Lever clicks +subtitles.block.note.note=Note Block plays +subtitles.block.piston.move=Piston moves +subtitles.block.portal.ambient=Portal whooshes +subtitles.block.pressure_plate.click=Pressure Plate clicks +subtitles.block.redstone_torch.burnout=Torch fizzes +subtitles.block.shulker_box.close=Shulker closes +subtitles.block.shulker_box.open=Shulker opens +subtitles.block.trapdoor.toggle=Trapdoor creaks +subtitles.block.tripwire.attach=Tripwire attaches +subtitles.block.tripwire.click=Tripwire clicks +subtitles.block.tripwire.detach=Tripwire detaches +subtitles.block.water.ambient=Water flows +subtitles.enchant.thorns.hit=Thorns prick +subtitles.entity.armorstand.fall=Something fell +subtitles.entity.arrow.hit=Arrow hits +subtitles.entity.arrow.hit_player=Player hit +subtitles.entity.arrow.shoot=Arrow fired +subtitles.entity.bat.ambient=Bat screeches +subtitles.entity.bat.death=Bat dies +subtitles.entity.bat.hurt=Bat hurts +subtitles.entity.bat.takeoff=Bat takes off +subtitles.entity.blaze.ambient=Blaze breathes +subtitles.entity.blaze.burn=Blaze crackles +subtitles.entity.blaze.death=Blaze dies +subtitles.entity.blaze.hurt=Blaze hurts +subtitles.entity.blaze.shoot=Blaze shoots +subtitles.entity.bobber.splash=Fishing hook splashes +subtitles.entity.bobber.throw=Bobber thrown +subtitles.entity.cat.ambient=Cat meows +subtitles.entity.cat.death=Cat dies +subtitles.entity.cat.hurt=Cat hurts +subtitles.entity.chicken.ambient=Chicken clucks +subtitles.entity.chicken.death=Chicken dies +subtitles.entity.chicken.egg=Chicken plops +subtitles.entity.chicken.hurt=Chicken hurts +subtitles.entity.parrot.ambient=Parrot talks +subtitles.entity.parrot.death=Parrot dies +subtitles.entity.parrot.eats=Parrot eats +subtitles.entity.parrot.hurts=Parrot hurts +subtitles.entity.parrot.imitate.blaze=Parrot breathes +subtitles.entity.parrot.imitate.cave_spider=Parrot hisses +subtitles.entity.parrot.imitate.creeper=Parrot hisses +subtitles.entity.parrot.imitate.elder_guardian=Parrot flaps +subtitles.entity.parrot.imitate.enderdragon=Parrot roars +subtitles.entity.parrot.imitate.enderman=Parrot vwoops +subtitles.entity.parrot.imitate.endermite=Parrot scuttles +subtitles.entity.parrot.imitate.evocation_illager=Parrot murmurs +subtitles.entity.parrot.imitate.ghast=Parrot cries +subtitles.entity.parrot.imitate.husk=Parrot groans +subtitles.entity.parrot.imitate.illusion_illager=Parrot murmurs +subtitles.entity.parrot.imitate.magmacube=Parrot squishes +subtitles.entity.parrot.imitate.polar_bear=Parrot groans +subtitles.entity.parrot.imitate.shulker=Parrot lurks +subtitles.entity.parrot.imitate.silverfish=Parrot hisses +subtitles.entity.parrot.imitate.skeleton=Parrot rattles +subtitles.entity.parrot.imitate.slime=Parrot squishes +subtitles.entity.parrot.imitate.spider=Parrot hisses +subtitles.entity.parrot.imitate.stray=Parrot rattles +subtitles.entity.parrot.imitate.vex=Parrot vexes +subtitles.entity.parrot.imitate.vindication_illager=Parrot mutters +subtitles.entity.parrot.imitate.witch=Parrot giggles +subtitles.entity.parrot.imitate.wither=Parrot angers +subtitles.entity.parrot.imitate.wither_skeleton=Parrot rattles +subtitles.entity.parrot.imitate.wolf=Parrot pants +subtitles.entity.parrot.imitate.zombie=Parrot groans +subtitles.entity.parrot.imitate.zombie_pigman=Parrot grunts +subtitles.entity.parrot.imitate.zombie_villager=Parrot groans +subtitles.entity.cow.ambient=Cow moos +subtitles.entity.cow.death=Cow dies +subtitles.entity.cow.hurt=Cow hurts +subtitles.entity.cow.milk=Cow gets milked +subtitles.entity.creeper.death=Creeper dies +subtitles.entity.creeper.hurt=Creeper hurts +subtitles.entity.creeper.primed=Creeper hisses +subtitles.entity.donkey.ambient=Donkey hee-haws +subtitles.entity.donkey.angry=Donkey neighs +subtitles.entity.donkey.chest=Donkey Chest equips +subtitles.entity.donkey.death=Donkey dies +subtitles.entity.donkey.hurt=Donkey hurts +subtitles.entity.egg.throw=Egg flies +subtitles.entity.elder_guardian.ambient.land=Elder Guardian flaps +subtitles.entity.elder_guardian.ambient=Elder Guardian moans +subtitles.entity.elder_guardian.attack=Elder Guardian shoots +subtitles.entity.elder_guardian.curse=Elder Guardian curses +subtitles.entity.elder_guardian.death=Elder Guardian dies +subtitles.entity.elder_guardian.flop=Elder Guardian flops +subtitles.entity.elder_guardian.hurt=Elder Guardian hurts +subtitles.entity.enderdragon.ambient=Dragon roars +subtitles.entity.enderdragon.death=Dragon dies +subtitles.entity.enderdragon.flap=Dragon flaps +subtitles.entity.enderdragon.growl=Dragon growls +subtitles.entity.enderdragon.hurt=Dragon hurts +subtitles.entity.enderdragon.shoot=Dragon shoots +subtitles.entity.endereye.launch=Eye of Ender shoots +subtitles.entity.enderman.ambient=Enderman vwoops +subtitles.entity.enderman.death=Enderman dies +subtitles.entity.enderman.hurt=Enderman hurts +subtitles.entity.enderman.stare=Enderman cries out +subtitles.entity.enderman.teleport=Enderman teleports +subtitles.entity.endermite.ambient=Endermite scuttles +subtitles.entity.endermite.death=Endermite dies +subtitles.entity.endermite.hurt=Endermite hurts +subtitles.entity.enderpearl.throw=Ender Pearl flies +subtitles.entity.evocation_fangs.attack=Fangs snap +subtitles.entity.evocation_illager.ambient=Evoker murmurs +subtitles.entity.evocation_illager.cast_spell=Evoker casts spell +subtitles.entity.evocation_illager.death=Evoker dies +subtitles.entity.evocation_illager.hurt=Evoker hurts +subtitles.entity.evocation_illager.prepare_attack=Evoker prepares attack +subtitles.entity.evocation_illager.prepare_summon=Evoker prepares summoning +subtitles.entity.evocation_illager.prepare_wololo=Evoker prepares charming +subtitles.entity.experience_orb.pickup=Experience gained +subtitles.entity.firework.blast=Firework blasts +subtitles.entity.firework.launch=Firework launches +subtitles.entity.firework.twinkle=Firework twinkles +subtitles.entity.generic.big_fall=Something fell +subtitles.entity.generic.burn=Burning +subtitles.entity.generic.death=Dying +subtitles.entity.generic.drink=Sipping +subtitles.entity.generic.eat=Eating +subtitles.entity.generic.explode=Explosion +subtitles.entity.generic.extinguish_fire=Fire extinguishes +subtitles.entity.generic.hurt=Something hurts +subtitles.entity.generic.small_fall=Something tripped +subtitles.entity.generic.splash=Splashing +subtitles.entity.generic.swim=Swimming +subtitles.entity.ghast.ambient=Ghast cries +subtitles.entity.ghast.death=Ghast dies +subtitles.entity.ghast.hurt=Ghast hurts +subtitles.entity.ghast.shoot=Ghast shoots +subtitles.entity.guardian.ambient.land=Guardian flaps +subtitles.entity.guardian.ambient=Guardian moans +subtitles.entity.guardian.attack=Guardian shoots +subtitles.entity.guardian.curse=Guardian curses +subtitles.entity.guardian.death=Guardian dies +subtitles.entity.guardian.flop=Guardian flops +subtitles.entity.guardian.hurt=Guardian hurts +subtitles.entity.horse.ambient=Horse neighs +subtitles.entity.horse.angry=Horse neighs +subtitles.entity.horse.armor=Horse armor equips +subtitles.entity.horse.breathe=Horse breathes +subtitles.entity.horse.death=Horse dies +subtitles.entity.horse.eat=Horse eats +subtitles.entity.horse.gallop=Horse gallops +subtitles.entity.horse.hurt=Horse hurts +subtitles.entity.horse.jump=Horse jumps +subtitles.entity.horse.saddle=Saddle equips +subtitles.entity.husk.ambient=Husk groans +subtitles.entity.husk.death=Husk dies +subtitles.entity.husk.hurt=Husk hurts +subtitles.entity.illusion_illager.ambient=Illusioner murmurs +subtitles.entity.illusion_illager.cast_spell=Illusioner casts spell +subtitles.entity.illusion_illager.death=Illusioner dies +subtitles.entity.illusion_illager.hurt=Illusioner hurts +subtitles.entity.illusion_illager.mirror_move=Illusioner displaces +subtitles.entity.illusion_illager.prepare_blindness=Illusioner prepares blindness +subtitles.entity.illusion_illager.prepare_mirror=Illusioner prepares mirror image +subtitles.entity.iron_golem.attack=Iron Golem attacks +subtitles.entity.iron_golem.death=Iron Golem dies +subtitles.entity.iron_golem.hurt=Iron Golem hurts +subtitles.entity.item.break=Item breaks +subtitles.entity.item.pickup=Item plops +subtitles.entity.itemframe.add_item=Item Frame fills +subtitles.entity.itemframe.break=Item Frame breaks +subtitles.entity.itemframe.place=Item Frame placed +subtitles.entity.itemframe.remove_item=Item Frame empties +subtitles.entity.itemframe.rotate_item=Item Frame clicks +subtitles.entity.leashknot.break=Leash knot breaks +subtitles.entity.leashknot.place=Leash knot tied +subtitles.entity.lightning.impact=Lightning strikes +subtitles.entity.lightning.thunder=Thunder roars +subtitles.entity.llama.ambient=Llama bleats +subtitles.entity.llama.angry=Llama bleats angry +subtitles.entity.llama.chest=Llama Chest equips +subtitles.entity.llama.death=Llama dies +subtitles.entity.llama.eat=Llama eats +subtitles.entity.llama.hurt=Llama hurts +subtitles.entity.llama.spit=Llama spits +subtitles.entity.llama.step=Llama steps +subtitles.entity.llama.swag=Llama is decorated +subtitles.entity.magmacube.death=Magma Cube dies +subtitles.entity.magmacube.hurt=Magma Cube hurts +subtitles.entity.magmacube.squish=Magma Cube squishes +subtitles.entity.minecart.riding=Minecart rolls +subtitles.entity.mule.ambient=Mule hee-haws +subtitles.entity.mule.chest=Mule Chest equips +subtitles.entity.mule.death=Mule dies +subtitles.entity.mule.hurt=Mule hurts +subtitles.entity.painting.break=Painting breaks +subtitles.entity.painting.place=Painting placed +subtitles.entity.pig.ambient=Pig oinks +subtitles.entity.pig.death=Pig dies +subtitles.entity.pig.hurt=Pig hurts +subtitles.entity.pig.saddle=Saddle equips +subtitles.entity.player.burp=Burp +subtitles.entity.player.death=Player dies +subtitles.entity.player.hurt=Player hurts +subtitles.entity.player.levelup=Player dings +subtitles.entity.polar_bear.ambient=Polar Bear groans +subtitles.entity.polar_bear.baby_ambient=Polar Bear hums +subtitles.entity.polar_bear.death=Polar Bear dies +subtitles.entity.polar_bear.hurt=Polar Bear hurts +subtitles.entity.polar_bear.warning=Polar Bear roars +subtitles.entity.potion.splash=Bottle smashes +subtitles.entity.potion.throw=Bottle thrown +subtitles.entity.rabbit.ambient=Rabbit squeaks +subtitles.entity.rabbit.attack=Rabbit attacks +subtitles.entity.rabbit.death=Rabbit dies +subtitles.entity.rabbit.hurt=Rabbit hurts +subtitles.entity.rabbit.jump=Rabbit hops +subtitles.entity.sheep.ambient=Sheep baahs +subtitles.entity.sheep.death=Sheep dies +subtitles.entity.sheep.hurt=Sheep hurts +subtitles.entity.shulker.ambient=Shulker lurks +subtitles.entity.shulker.close=Shulker closes +subtitles.entity.shulker.death=Shulker dies +subtitles.entity.shulker.hurt=Shulker hurts +subtitles.entity.shulker.open=Shulker opens +subtitles.entity.shulker.shoot=Shulker shoots +subtitles.entity.shulker.teleport=Shulker teleports +subtitles.entity.shulker_bullet.hit=Shulker bullet explodes +subtitles.entity.shulker_bullet.hurt=Shulker bullet breaks +subtitles.entity.silverfish.ambient=Silverfish hisses +subtitles.entity.silverfish.death=Silverfish dies +subtitles.entity.silverfish.hurt=Silverfish hurts +subtitles.entity.skeleton.ambient=Skeleton rattles +subtitles.entity.skeleton.death=Skeleton dies +subtitles.entity.skeleton.hurt=Skeleton hurts +subtitles.entity.skeleton.shoot=Skeleton shoots +subtitles.entity.skeleton_horse.ambient=Skeleton Horse cries +subtitles.entity.skeleton_horse.death=Skeleton Horse dies +subtitles.entity.skeleton_horse.hurt=Skeleton Horse hurts +subtitles.entity.slime.attack=Slime attacks +subtitles.entity.slime.death=Slime dies +subtitles.entity.slime.hurt=Slime hurts +subtitles.entity.slime.squish=Slime squishes +subtitles.entity.snowball.throw=Snowball flies +subtitles.entity.snowman.death=Snow Golem dies +subtitles.entity.snowman.hurt=Snow Golem hurts +subtitles.entity.spider.ambient=Spider hisses +subtitles.entity.spider.death=Spider dies +subtitles.entity.spider.hurt=Spider hurts +subtitles.entity.squid.ambient=Squid swims +subtitles.entity.squid.death=Squid dies +subtitles.entity.squid.hurt=Squid hurts +subtitles.entity.stray.ambient=Stray rattles +subtitles.entity.stray.death=Stray dies +subtitles.entity.stray.hurt=Stray hurts +subtitles.entity.tnt.primed=TNT fizzes +subtitles.entity.vex.ambient=Vex vexes +subtitles.entity.vex.charge=Vex shrieks +subtitles.entity.vex.death=Vex dies +subtitles.entity.vex.hurt=Vex hurts +subtitles.entity.villager.ambient=Villager mumbles +subtitles.entity.villager.death=Villager dies +subtitles.entity.villager.hurt=Villager hurts +subtitles.entity.villager.no=Villager disagrees +subtitles.entity.villager.trading=Villager trades +subtitles.entity.villager.yes=Villager agrees +subtitles.entity.vindication_illager.ambient=Vindicator mutters +subtitles.entity.vindication_illager.death=Vindicator dies +subtitles.entity.vindication_illager.hurt=Vindicator hurts +subtitles.entity.witch.ambient=Witch giggles +subtitles.entity.witch.death=Witch dies +subtitles.entity.witch.drink=Witch drinks +subtitles.entity.witch.hurt=Witch hurts +subtitles.entity.witch.throw=Witch throws +subtitles.entity.wither.ambient=Wither angers +subtitles.entity.wither.death=Wither dies +subtitles.entity.wither.hurt=Wither hurts +subtitles.entity.wither.shoot=Wither attacks +subtitles.entity.wither.spawn=Wither released +subtitles.entity.wither_skeleton.ambient=Wither Skeleton rattles +subtitles.entity.wither_skeleton.death=Wither Skeleton dies +subtitles.entity.wither_skeleton.hurt=Wither Skeleton hurts +subtitles.entity.wolf.ambient=Wolf pants +subtitles.entity.wolf.death=Wolf dies +subtitles.entity.wolf.growl=Wolf growls +subtitles.entity.wolf.hurt=Wolf hurts +subtitles.entity.wolf.shake=Wolf shakes +subtitles.entity.zombie.ambient=Zombie groans +subtitles.entity.zombie.death=Zombie dies +subtitles.entity.zombie.hurt=Zombie hurts +subtitles.entity.zombie.infect=Zombie infects +subtitles.entity.zombie_horse.ambient=Zombie Horse cries +subtitles.entity.zombie_horse.death=Zombie Horse dies +subtitles.entity.zombie_horse.hurt=Zombie Horse hurts +subtitles.entity.zombie_pigman.ambient=Zombie Pigman grunts +subtitles.entity.zombie_pigman.angry=Zombie Pigman angers +subtitles.entity.zombie_pigman.death=Zombie Pigman dies +subtitles.entity.zombie_pigman.hurt=Zombie Pigman hurts +subtitles.entity.zombie_villager.ambient=Zombie Villager groans +subtitles.entity.zombie_villager.converted=Zombie vociferates +subtitles.entity.zombie_villager.cure=Zombie snuffles +subtitles.entity.zombie_villager.death=Zombie Villager dies +subtitles.entity.zombie_villager.hurt=Zombie Villager hurts +subtitles.item.armor.equip=Gear equipped +subtitles.item.armor.equip_chain=Chain armor jingles +subtitles.item.armor.equip_diamond=Diamond armor clangs +subtitles.item.armor.equip_elytra=Elytra rustles +subtitles.item.armor.equip_gold=Gold armor clinks +subtitles.item.armor.equip_iron=Iron armor clanks +subtitles.item.armor.equip_leather=Leather armor rustles +subtitles.item.bottle.fill=Bottle fills +subtitles.item.bucket.empty=Bucket empties +subtitles.item.bucket.fill=Bucket fills +subtitles.item.chorus_fruit.teleport=Player teleports +subtitles.item.firecharge.use=Fireball whooshes +subtitles.item.flintandsteel.use=Flint and Steel click +subtitles.item.hoe.till=Hoe tills +subtitles.item.shear=Shears click +subtitles.item.shield.block=Shield blocks +subtitles.item.shovel.flatten=Shovel flattens +subtitles.item.totem.use=Totem activates +subtitles.weather.rain=Rain falls + +debug.prefix=[Debug]: +debug.reload_chunks.help=F3 + A = Reload chunks +debug.show_hitboxes.help=F3 + B = Show hitboxes +debug.clear_chat.help=F3 + D = Clear chat +debug.cycle_renderdistance.help=F3 + F = Cycle render distance (Shift to invert) +debug.chunk_boundaries.help=F3 + G = Show chunk boundaries +debug.advanced_tooltips.help=F3 + H = Advanced tooltips +debug.creative_spectator.help=F3 + N = Cycle creative <-> spectator +debug.pause_focus.help=F3 + P = Pause on lost focus +debug.help.help=F3 + Q = Show this list +debug.reload_resourcepacks.help=F3 + T = Reload resource packs + +debug.reload_chunks.message=Reloading all chunks +debug.show_hitboxes.on=Hitboxes: shown +debug.show_hitboxes.off=Hitboxes: hidden +debug.cycle_renderdistance.message=Render Distance: %s +debug.chunk_boundaries.on=Chunk borders: shown +debug.chunk_boundaries.off=Chunk borders: hidden +debug.advanced_tooltips.on=Advanced tooltips: shown +debug.advanced_tooltips.off=Advanced tooltips: hidden +debug.creative_spectator.error=Unable to switch gamemode, no permission +debug.pause_focus.on=Pause on lost focus: enabled +debug.pause_focus.off=Pause on lost focus: disabled +debug.help.message=Key bindings: +debug.reload_resourcepacks.message=Reloaded resource packs + +resourcepack.downloading=Downloading Resource Pack +resourcepack.requesting=Making Request... +resourcepack.progress=Downloading file (%s MB)... + +tutorial.move.title=Move with %s, %s, %s and %s +tutorial.move.description=Jump with %s +tutorial.look.title=Look around +tutorial.look.description=Use your mouse to turn +tutorial.find_tree.title=Find a tree +tutorial.find_tree.description=Punch it to collect wood +tutorial.punch_tree.title=Destroy the tree +tutorial.punch_tree.description=Hold down %s +tutorial.open_inventory.title=Open your inventory +tutorial.open_inventory.description=Press %s +tutorial.craft_planks.title=Craft wooden planks +tutorial.craft_planks.description=The recipe book can help + +advancements.adventure.adventuring_time.title=Adventuring Time +advancements.adventure.adventuring_time.description=Discover every biome +advancements.adventure.kill_all_mobs.title=Monsters Hunted +advancements.adventure.kill_all_mobs.description=Kill one of every hostile monster +advancements.adventure.kill_a_mob.title=Monster Hunter +advancements.adventure.kill_a_mob.description=Kill any hostile monster +advancements.adventure.root.title=Adventure +advancements.adventure.root.description=Adventure, exploration and combat +advancements.adventure.shoot_arrow.title=Take Aim +advancements.adventure.shoot_arrow.description=Shoot something with a bow and arrow +advancements.adventure.sleep_in_bed.title=Sweet dreams +advancements.adventure.sleep_in_bed.description=Change your respawn point +advancements.adventure.sniper_duel.title=Sniper duel +advancements.adventure.sniper_duel.description=Kill a skeleton with an arrow from more than 50 meters +advancements.adventure.trade.title=What a Deal! +advancements.adventure.trade.description=Successfully trade with a Villager +advancements.adventure.summon_iron_golem.title=Hired Help +advancements.adventure.summon_iron_golem.description=Summon an Iron Golem to help defend a village +advancements.adventure.totem_of_undying.title=Postmortal +advancements.adventure.totem_of_undying.description=Use a Totem of Undying to cheat death + +advancements.husbandry.root.title=Husbandry +advancements.husbandry.root.description=The world is full of friends and food +advancements.husbandry.breed_an_animal.title=The Parrots and the Bats +advancements.husbandry.breed_an_animal.description=Breed two animals together +advancements.husbandry.breed_all_animals.title=Two by Two +advancements.husbandry.breed_all_animals.description=Breed all the animals! +advancements.husbandry.tame_an_animal.title=Best Friends Forever +advancements.husbandry.tame_an_animal.description=Tame an animal +advancements.husbandry.plant_seed.title=A Seedy Place +advancements.husbandry.plant_seed.description=Plant a seed and watch it grow +advancements.husbandry.break_diamond_hoe.title=Serious Dedication +advancements.husbandry.break_diamond_hoe.description=Completely use up a diamond hoe, and then reevaluate your life choices +advancements.husbandry.balanced_diet.title=A Balanced Diet +advancements.husbandry.balanced_diet.description=Eat everything that is edible, even if it's not good for you + +advancements.end.dragon_breath.title=You Need a Mint +advancements.end.dragon_breath.description=Collect dragon's breath in a glass bottle +advancements.end.dragon_egg.title=The Next Generation +advancements.end.dragon_egg.description=Hold the Dragon Egg +advancements.end.elytra.title=Sky's the Limit +advancements.end.elytra.description=Find an Elytra +advancements.end.enter_end_gateway.title=Remote Getaway +advancements.end.enter_end_gateway.description=Escape the island +advancements.end.find_end_city.title=The City at the End of the Game +advancements.end.find_end_city.description=Go on in, what could happen? +advancements.end.kill_dragon.title=Free the End +advancements.end.kill_dragon.description=Good luck +advancements.end.levitate.title=Great View From Up Here +advancements.end.levitate.description=Levitate up 50 blocks from the attacks of a Shulker +advancements.end.respawn_dragon.title=The End... Again... +advancements.end.respawn_dragon.description=Respawn the ender dragon +advancements.end.root.title=The End +advancements.end.root.description=Or the beginning? + +advancements.nether.brew_potion.title=Local Brewery +advancements.nether.brew_potion.description=Brew a potion +advancements.nether.all_potions.title=A Furious Cocktail +advancements.nether.all_potions.description=Have every potion effect applied at the same time +advancements.nether.all_effects.title=How Did We Get Here? +advancements.nether.all_effects.description=Have every effect applied at the same time +advancements.nether.create_beacon.title=Bring Home the Beacon +advancements.nether.create_beacon.description=Construct and place a Beacon +advancements.nether.create_full_beacon.title=Beaconator +advancements.nether.create_full_beacon.description=Bring a beacon to full power +advancements.nether.find_fortress.title=A Terrible Fortress +advancements.nether.find_fortress.description=Break your way into a Nether Fortress +advancements.nether.get_wither_skull.title=Spooky Scary Skeleton +advancements.nether.get_wither_skull.description=Obtain a wither skeleton's skull +advancements.nether.obtain_blaze_rod.title=Into Fire +advancements.nether.obtain_blaze_rod.description=Relieve a Blaze of its rod +advancements.nether.return_to_sender.title=Return to Sender +advancements.nether.return_to_sender.description=Destroy a Ghast with a fireball +advancements.nether.root.title=Nether +advancements.nether.root.description=Bring summer clothes +advancements.nether.summon_wither.title=Withering Heights +advancements.nether.summon_wither.description=Summon the Wither +advancements.nether.fast_travel.title=Subspace Bubble +advancements.nether.fast_travel.description=Use the Nether to travel 7km in the Overworld +advancements.nether.uneasy_alliance.title=Uneasy Alliance +advancements.nether.uneasy_alliance.description=Rescue a Ghast from the Nether, bring it safely home to the Overworld... and then kill it. + +advancements.story.cure_zombie_villager.title=Zombie Doctor +advancements.story.cure_zombie_villager.description=Weaken and then cure a zombie villager +advancements.story.deflect_arrow.title=Not Today, Thank You +advancements.story.deflect_arrow.description=Deflect an arrow with a shield +advancements.story.enchant_item.title=Enchanter +advancements.story.enchant_item.description=Enchant an item at an Enchanting Table +advancements.story.enter_the_end.title=The End? +advancements.story.enter_the_end.description=Enter the End Portal +advancements.story.enter_the_nether.title=We Need to Go Deeper +advancements.story.enter_the_nether.description=Build, light and enter a Nether Portal +advancements.story.follow_ender_eye.title=Eye Spy +advancements.story.follow_ender_eye.description=Follow an Ender Eye +advancements.story.form_obsidian.title=Ice Bucket Challenge +advancements.story.form_obsidian.description=Form and mine a block of Obsidian +advancements.story.iron_tools.title=Isn't It Iron Pick +advancements.story.iron_tools.description=Upgrade your pickaxe +advancements.story.lava_bucket.title=Hot Stuff +advancements.story.lava_bucket.description=Fill a bucket with lava +advancements.story.mine_diamond.title=Diamonds! +advancements.story.mine_diamond.description=Acquire diamonds +advancements.story.mine_stone.title=Stone Age +advancements.story.mine_stone.description=Mine stone with your new pickaxe +advancements.story.obtain_armor.title=Suit Up +advancements.story.obtain_armor.description=Protect yourself with a piece of iron armor +advancements.story.root.title=Minecraft +advancements.story.root.description=The heart and story of the game +advancements.story.shiny_gear.title=Cover Me With Diamonds +advancements.story.shiny_gear.description=Diamond armor saves lives +advancements.story.smelt_iron.title=Acquire Hardware +advancements.story.smelt_iron.description=Smelt an iron ingot +advancements.story.upgrade_tools.title=Getting an Upgrade +advancements.story.upgrade_tools.description=Construct a better pickaxe diff --git a/src/main/resources/mojang-translations/en_us.json b/src/main/resources/mojang-translations/en_us.json new file mode 100644 index 0000000..dd02f12 --- /dev/null +++ b/src/main/resources/mojang-translations/en_us.json @@ -0,0 +1,4324 @@ +{ + "bungeecord.comment": "(c) 2019 Mojang AB", + + "language.name": "English", + "language.region": "United States", + "language.code": "en_us", + "narrator.button.accessibility": "Accessibility", + "narrator.button.language": "Language", + "narrator.button.difficulty_lock": "Difficulty lock", + "narrator.button.difficulty_lock.unlocked": "Unlocked", + "narrator.button.difficulty_lock.locked": "Locked", + "narrator.screen.title": "Title Screen", + "narrator.controls.reset": "Reset %s button", + "narrator.controls.bound": "%s is bound to %s", + "narrator.controls.unbound": "%s is not bound", + "narrator.select": "Selected: %s", + "narrator.select.world": "Selected %s, last played: %s, %s, %s, version: %s", + "narrator.loading": "Loading: %s", + "narrator.loading.done": "Done", + "narrator.joining": "Joining", + "gui.done": "Done", + "gui.cancel": "Cancel", + "gui.back": "Back", + "gui.toTitle": "Back to title screen", + "gui.toMenu": "Back to server list", + "gui.up": "Up", + "gui.down": "Down", + "gui.yes": "Yes", + "gui.no": "No", + "gui.none": "None", + "gui.all": "All", + "gui.ok": "Ok", + "gui.proceed": "Proceed", + "gui.recipebook.moreRecipes": "Right Click for more", + "gui.recipebook.toggleRecipes.all": "Showing all", + "gui.recipebook.toggleRecipes.craftable": "Showing craftable", + "gui.recipebook.toggleRecipes.smeltable": "Showing smeltable", + "gui.recipebook.toggleRecipes.blastable": "Showing blastable", + "gui.recipebook.toggleRecipes.smokable": "Showing smokable", + "gui.narrate.button": "%s button", + "gui.narrate.slider": "%s slider", + "gui.narrate.editBox": "%s edit box: %s", + "translation.test.none": "Hello, world!", + "translation.test.complex": "Prefix, %s%2$s again %s and %1$s lastly %s and also %1$s again!", + "translation.test.escape": "%%s %%%s %%%%s %%%%%s", + "translation.test.invalid": "hi %", + "translation.test.invalid2": "hi % s", + "translation.test.args": "%s %s", + "translation.test.world": "world", + "menu.game": "Game Menu", + "menu.singleplayer": "Singleplayer", + "menu.multiplayer": "Multiplayer", + "menu.online": "Minecraft Realms", + "menu.options": "Options...", + "menu.quit": "Quit Game", + "menu.returnToMenu": "Save and Quit to Title", + "menu.disconnect": "Disconnect", + "menu.returnToGame": "Back to Game", + "menu.generatingLevel": "Generating world", + "menu.loadingLevel": "Loading world", + "menu.savingLevel": "Saving world", + "menu.working": "Working...", + "menu.savingChunks": "Saving chunks", + "menu.preparingSpawn": "Preparing spawn area: %s%%", + "menu.loadingForcedChunks": "Loading forced chunks for dimension %s", + "menu.generatingTerrain": "Building terrain", + "menu.convertingLevel": "Converting world", + "menu.respawning": "Respawning", + "menu.shareToLan": "Open to LAN", + "menu.sendFeedback": "Give Feedback", + "menu.reportBugs": "Report Bugs", + "menu.paused": "Game paused", + "optimizeWorld.confirm.title": "Optimize world", + "optimizeWorld.confirm.description": "This will attempt to optimize your world by making sure all data is stored in the most recent game format. This can take a very long time, depending on your world. Once done, your world may play faster but will no longer be compatible with older versions of the game. Are you sure you wish to proceed?", + "optimizeWorld.title": "Optimizing World '%s'", + "optimizeWorld.stage.counting": "Counting chunks...", + "optimizeWorld.stage.upgrading": "Upgrading all chunks...", + "optimizeWorld.stage.finished": "Finishing up...", + "optimizeWorld.stage.failed": "Failed! :(", + "optimizeWorld.info.converted": "Upgraded chunks: %s", + "optimizeWorld.info.skipped": "Skipped chunks: %s", + "optimizeWorld.info.total": "Total chunks: %s", + "selectWorld.title": "Select World", + "selectWorld.search": "search for worlds", + "selectWorld.empty": "empty", + "selectWorld.world": "World", + "selectWorld.select": "Play Selected World", + "selectWorld.create": "Create New World", + "selectWorld.recreate": "Re-Create", + "selectWorld.createDemo": "Play New Demo World", + "selectWorld.delete": "Delete", + "selectWorld.edit": "Edit", + "selectWorld.edit.title": "Edit World", + "selectWorld.edit.resetIcon": "Reset Icon", + "selectWorld.edit.openFolder": "Open World Folder", + "selectWorld.edit.save": "Save", + "selectWorld.edit.backup": "Make Backup", + "selectWorld.edit.backupFolder": "Open Backups Folder", + "selectWorld.edit.backupFailed": "Backup failed", + "selectWorld.edit.backupCreated": "Backed up: %s", + "selectWorld.edit.backupSize": "size: %s MB", + "selectWorld.edit.optimize": "Optimize World", + "selectWorld.deleteQuestion": "Are you sure you want to delete this world?", + "selectWorld.deleteWarning": "'%s' will be lost forever! (A long time!)", + "selectWorld.deleteButton": "Delete", + "selectWorld.conversion": "Must be converted!", + "selectWorld.newWorld": "New World", + "selectWorld.enterName": "World Name", + "selectWorld.resultFolder": "Will be saved in:", + "selectWorld.enterSeed": "Seed for the world generator", + "selectWorld.seedInfo": "Leave blank for a random seed", + "selectWorld.cheats": "Cheats", + "selectWorld.customizeType": "Customize", + "selectWorld.version": "Version:", + "selectWorld.versionUnknown": "unknown", + "selectWorld.versionQuestion": "Do you really want to load this world?", + "selectWorld.versionWarning": "This world was last played in version %s and loading it in this version could cause corruption!", + "selectWorld.versionJoinButton": "Load Anyway", + "selectWorld.backupQuestion": "Do you really want to load this world?", + "selectWorld.backupWarning": "This world was last played in version %s; you are on version %s. Please make a backup in case you experience world corruptions!", + "selectWorld.backupQuestion.customized": "Customized worlds are no longer supported", + "selectWorld.backupWarning.customized": "Unfortunately, we do not support customized worlds in this version of Minecraft. We can still load this world and keep everything the way it was, but any newly generated terrain will no longer be customized. We're sorry for the inconvenience!", + "selectWorld.backupEraseCache": "Erase cached data", + "selectWorld.backupJoinConfirmButton": "Backup and load", + "selectWorld.backupJoinSkipButton": "I know what I'm doing!", + "selectWorld.tooltip.fromNewerVersion1": "World was saved in a newer version,", + "selectWorld.tooltip.fromNewerVersion2": "loading this world could cause problems!", + "selectWorld.tooltip.snapshot1": "Don't forget to backup this world", + "selectWorld.tooltip.snapshot2": "before you load it in this snapshot.", + "selectWorld.tooltip.unsupported": "This world is no longer supported and can only be played in %s", + "selectWorld.unable_to_load": "Unable to load worlds", + "selectWorld.futureworld.error.title": "An error occured!", + "selectWorld.futureworld.error.text": "Something went wrong while trying to load a world from a future version. This was a risky operation to begin with, sorry it didn't work.", + "selectWorld.recreate.error.title": "An error occured!", + "selectWorld.recreate.error.text": "Something went wrong while trying to recreate a world.", + "selectWorld.recreate.customized.title": "Customized worlds are no longer supported", + "selectWorld.recreate.customized.text": "Customized worlds are no longer supported in this version of Minecraft. We can try to recreate it with the same seed and properties, but any terrain customizations will be lost. We're sorry for the inconvenience!", + "selectWorld.load_folder_access": "Unable to read or access folder where game worlds are saved!", + "createWorld.customize.presets": "Presets", + "createWorld.customize.presets.title": "Select a Preset", + "createWorld.customize.presets.select": "Use Preset", + "createWorld.customize.presets.share": "Want to share your preset with someone? Use the below box!", + "createWorld.customize.presets.list": "Alternatively, here's some we made earlier!", + "createWorld.customize.flat.title": "Superflat Customization", + "createWorld.customize.flat.tile": "Layer Material", + "createWorld.customize.flat.height": "Height", + "createWorld.customize.flat.removeLayer": "Remove Layer", + "createWorld.customize.flat.layer.top": "Top - %s", + "createWorld.customize.flat.layer": "%s", + "createWorld.customize.flat.layer.bottom": "Bottom - %s", + "createWorld.customize.buffet.title": "Buffet world customization", + "createWorld.customize.buffet.generatortype": "World generator:", + "createWorld.customize.buffet.generator": "Please select a generator type", + "createWorld.customize.buffet.biome": "Please select a biome", + "createWorld.customize.preset.classic_flat": "Classic Flat", + "createWorld.customize.preset.tunnelers_dream": "Tunnelers' Dream", + "createWorld.customize.preset.water_world": "Water World", + "createWorld.customize.preset.overworld": "Overworld", + "createWorld.customize.preset.snowy_kingdom": "Snowy Kingdom", + "createWorld.customize.preset.bottomless_pit": "Bottomless Pit", + "createWorld.customize.preset.desert": "Desert", + "createWorld.customize.preset.redstone_ready": "Redstone Ready", + "createWorld.customize.preset.the_void": "The Void", + "createWorld.customize.custom.page0": "Basic Settings", + "createWorld.customize.custom.page1": "Ore Settings", + "createWorld.customize.custom.page2": "Advanced Settings (Expert Users Only!)", + "createWorld.customize.custom.page3": "Extra Advanced Settings (Expert Users Only!)", + "createWorld.customize.custom.randomize": "Randomize", + "createWorld.customize.custom.prev": "Previous Page", + "createWorld.customize.custom.next": "Next Page", + "createWorld.customize.custom.defaults": "Defaults", + "createWorld.customize.custom.confirm1": "This will overwrite your current", + "createWorld.customize.custom.confirm2": "settings and cannot be undone.", + "createWorld.customize.custom.confirmTitle": "Warning!", + "createWorld.customize.custom.mainNoiseScaleX": "Main Noise Scale X", + "createWorld.customize.custom.mainNoiseScaleY": "Main Noise Scale Y", + "createWorld.customize.custom.mainNoiseScaleZ": "Main Noise Scale Z", + "createWorld.customize.custom.depthNoiseScaleX": "Depth Noise Scale X", + "createWorld.customize.custom.depthNoiseScaleZ": "Depth Noise Scale Z", + "createWorld.customize.custom.depthNoiseScaleExponent": "Depth Noise Exponent", + "createWorld.customize.custom.baseSize": "Depth Base Size", + "createWorld.customize.custom.coordinateScale": "Coordinate Scale", + "createWorld.customize.custom.heightScale": "Height Scale", + "createWorld.customize.custom.stretchY": "Height Stretch", + "createWorld.customize.custom.upperLimitScale": "Upper Limit Scale", + "createWorld.customize.custom.lowerLimitScale": "Lower Limit Scale", + "createWorld.customize.custom.biomeDepthWeight": "Biome Depth Weight", + "createWorld.customize.custom.biomeDepthOffset": "Biome Depth Offset", + "createWorld.customize.custom.biomeScaleWeight": "Biome Scale Weight", + "createWorld.customize.custom.biomeScaleOffset": "Biome Scale Offset", + "createWorld.customize.custom.seaLevel": "Sea Level", + "createWorld.customize.custom.useCaves": "Caves", + "createWorld.customize.custom.useStrongholds": "Strongholds", + "createWorld.customize.custom.useVillages": "Villages", + "createWorld.customize.custom.useMineShafts": "Mineshafts", + "createWorld.customize.custom.useTemples": "Temples", + "createWorld.customize.custom.useOceanRuins": "Ocean Ruins", + "createWorld.customize.custom.useMonuments": "Ocean Monuments", + "createWorld.customize.custom.useMansions": "Woodland Mansions", + "createWorld.customize.custom.useRavines": "Ravines", + "createWorld.customize.custom.useDungeons": "Dungeons", + "createWorld.customize.custom.dungeonChance": "Dungeon Count", + "createWorld.customize.custom.useWaterLakes": "Water Lakes", + "createWorld.customize.custom.waterLakeChance": "Water Lake Rarity", + "createWorld.customize.custom.useLavaLakes": "Lava Lakes", + "createWorld.customize.custom.lavaLakeChance": "Lava Lake Rarity", + "createWorld.customize.custom.useLavaOceans": "Lava Oceans", + "createWorld.customize.custom.fixedBiome": "Biome", + "createWorld.customize.custom.biomeSize": "Biome Size", + "createWorld.customize.custom.riverSize": "River Size", + "createWorld.customize.custom.size": "Spawn Size", + "createWorld.customize.custom.count": "Spawn Tries", + "createWorld.customize.custom.minHeight": "Min. Height", + "createWorld.customize.custom.maxHeight": "Max. Height", + "createWorld.customize.custom.center": "Center Height", + "createWorld.customize.custom.spread": "Spread Height", + "createWorld.customize.custom.presets.title": "Customize World Presets", + "createWorld.customize.custom.presets": "Presets", + "createWorld.customize.custom.preset.waterWorld": "Water World", + "createWorld.customize.custom.preset.isleLand": "Isle Land", + "createWorld.customize.custom.preset.caveDelight": "Caver's Delight", + "createWorld.customize.custom.preset.mountains": "Mountain Madness", + "createWorld.customize.custom.preset.drought": "Drought", + "createWorld.customize.custom.preset.caveChaos": "Caves of Chaos", + "createWorld.customize.custom.preset.goodLuck": "Good Luck", + "gameMode.survival": "Survival Mode", + "gameMode.creative": "Creative Mode", + "gameMode.adventure": "Adventure Mode", + "gameMode.spectator": "Spectator Mode", + "gameMode.hardcore": "Hardcore Mode!", + "gameMode.changed": "Your game mode has been updated to %s", + "spectatorMenu.previous_page": "Previous Page", + "spectatorMenu.next_page": "Next Page", + "spectatorMenu.close": "Close Menu", + "spectatorMenu.teleport": "Teleport to Player", + "spectatorMenu.teleport.prompt": "Select a player to teleport to", + "spectatorMenu.team_teleport": "Teleport to Team Member", + "spectatorMenu.team_teleport.prompt": "Select a team to teleport to", + "spectatorMenu.root.prompt": "Press a key to select a command, and again to use it.", + "selectWorld.gameMode": "Game Mode", + "selectWorld.gameMode.survival": "Survival", + "selectWorld.gameMode.survival.line1": "Search for resources, crafting, gain", + "selectWorld.gameMode.survival.line2": "levels, health and hunger", + "selectWorld.gameMode.creative": "Creative", + "selectWorld.gameMode.creative.line1": "Unlimited resources, free flying and", + "selectWorld.gameMode.creative.line2": "destroy blocks instantly", + "selectWorld.gameMode.spectator": "Spectator", + "selectWorld.gameMode.spectator.line1": "You can look but don't touch", + "selectWorld.gameMode.spectator.line2": "", + "selectWorld.gameMode.hardcore": "Hardcore", + "selectWorld.gameMode.hardcore.line1": "Same as survival mode, locked at hardest", + "selectWorld.gameMode.hardcore.line2": "difficulty, and one life only", + "selectWorld.gameMode.adventure": "Adventure", + "selectWorld.gameMode.adventure.line1": "Same as survival mode, but blocks can't", + "selectWorld.gameMode.adventure.line2": "be added or removed", + "selectWorld.moreWorldOptions": "More World Options...", + "selectWorld.mapFeatures": "Generate Structures:", + "selectWorld.mapFeatures.info": "Villages, dungeons etc", + "selectWorld.mapType": "World Type:", + "selectWorld.mapType.normal": "Normal", + "selectWorld.allowCommands": "Allow Cheats:", + "selectWorld.allowCommands.info": "Commands like /gamemode, /experience", + "selectWorld.hardcoreMode": "Hardcore:", + "selectWorld.hardcoreMode.info": "World is deleted upon death", + "selectWorld.bonusItems": "Bonus Chest:", + "generator.default": "Default", + "generator.flat": "Superflat", + "generator.largeBiomes": "Large Biomes", + "generator.amplified": "AMPLIFIED", + "generator.customized": "Customized", + "generator.debug_all_block_states": "Debug Mode", + "generator.amplified.info": "Notice: Just for fun, requires beefy computer", + "generator.buffet": "Buffet", + "selectServer.title": "Select Server", + "selectServer.empty": "empty", + "selectServer.select": "Join Server", + "selectServer.direct": "Direct Connect", + "selectServer.edit": "Edit", + "selectServer.delete": "Delete", + "selectServer.add": "Add Server", + "selectServer.defaultName": "Minecraft Server", + "selectServer.deleteQuestion": "Are you sure you want to remove this server?", + "selectServer.deleteWarning": "'%s' will be lost forever! (A long time!)", + "selectServer.deleteButton": "Delete", + "selectServer.refresh": "Refresh", + "selectServer.hiddenAddress": "(Hidden)", + "addServer.title": "Edit Server Info", + "addServer.enterName": "Server Name", + "addServer.enterIp": "Server Address", + "addServer.add": "Done", + "addServer.hideAddress": "Hide Address", + "addServer.resourcePack": "Server Resource Packs", + "addServer.resourcePack.enabled": "Enabled", + "addServer.resourcePack.disabled": "Disabled", + "addServer.resourcePack.prompt": "Prompt", + "lanServer.title": "LAN World", + "lanServer.scanning": "Scanning for games on your local network", + "lanServer.start": "Start LAN World", + "lanServer.otherPlayers": "Settings for Other Players", + "mcoServer.title": "Minecraft Online World", + "multiplayer.title": "Play Multiplayer", + "multiplayer.connect": "Connect", + "multiplayer.ipinfo": "Enter the IP of a server to connect to it:", + "multiplayer.texturePrompt.line1": "This server recommends the use of a custom resource pack.", + "multiplayer.texturePrompt.line2": "Would you like to download and install it automagically?", + "multiplayer.downloadingTerrain": "Loading terrain...", + "multiplayer.downloadingStats": "Downloading statistics...", + "multiplayer.stopSleeping": "Leave Bed", + "multiplayer.message_not_delivered": "Can't deliver chat message starting with %s, check server logs", + "multiplayer.player.joined": "%s joined the game", + "multiplayer.player.joined.renamed": "%s (formerly known as %s) joined the game", + "multiplayer.player.left": "%s left the game", + "multiplayer.status.and_more": "... and %s more ...", + "multiplayer.status.cancelled": "Cancelled", + "multiplayer.status.cannot_connect": "Can't connect to server", + "multiplayer.status.cannot_resolve": "Can't resolve hostname", + "multiplayer.status.client_out_of_date": "Client out of date!", + "multiplayer.status.finished": "Finished", + "multiplayer.status.no_connection": "(no connection)", + "multiplayer.status.old": "Old", + "multiplayer.status.pinging": "Pinging...", + "multiplayer.status.quitting": "Quitting", + "multiplayer.status.server_out_of_date": "Server out of date!", + "multiplayer.status.unknown": "???", + "multiplayer.status.unrequested": "Received unrequested status", + "multiplayer.status.request_handled": "Status requst has been handled", + "multiplayer.disconnect.authservers_down": "Authentication servers are down. Please try again later, sorry!", + "multiplayer.disconnect.banned": "You are banned from this server", + "multiplayer.disconnect.banned.reason": "You are banned from this server.\nReason: %s", + "multiplayer.disconnect.banned.expiration": "\nYour ban will be removed on %s", + "multiplayer.disconnect.banned_ip.reason": "Your IP address is banned from this server.\nReason: %s", + "multiplayer.disconnect.banned_ip.expiration": "\nYour ban will be removed on %s", + "multiplayer.disconnect.duplicate_login": "You logged in from another location", + "multiplayer.disconnect.flying": "Flying is not enabled on this server", + "multiplayer.disconnect.generic": "Disconnected", + "multiplayer.disconnect.idling": "You have been idle for too long!", + "multiplayer.disconnect.illegal_characters": "Illegal characters in chat", + "multiplayer.disconnect.invalid_entity_attacked": "Attempting to attack an invalid entity", + "multiplayer.disconnect.invalid_player_movement": "Invalid move player packet received", + "multiplayer.disconnect.invalid_vehicle_movement": "Invalid move vehicle packet received", + "multiplayer.disconnect.ip_banned": "You have been IP banned from this server", + "multiplayer.disconnect.kicked": "Kicked by an operator", + "multiplayer.disconnect.outdated_client": "Outdated client! Please use %s", + "multiplayer.disconnect.outdated_server": "Outdated server! I'm still on %s", + "multiplayer.disconnect.server_shutdown": "Server closed", + "multiplayer.disconnect.slow_login": "Took too long to log in", + "multiplayer.disconnect.unverified_username": "Failed to verify username!", + "multiplayer.disconnect.not_whitelisted": "You are not white-listed on this server!", + "multiplayer.disconnect.server_full": "The server is full!", + "multiplayer.disconnect.name_taken": "That name is already taken", + "multiplayer.disconnect.unexpected_query_response": "Unexpected custom data from client", + "chat.editBox": "chat", + "chat.cannotSend": "Cannot send chat message", + "chat.type.text": "<%s> %s", + "chat.type.text.narrate": "%s says %s", + "chat.type.emote": "* %s %s", + "chat.type.announcement": "[%s] %s", + "chat.type.admin": "[%s: %s]", + "chat.type.advancement.task": "%s has made the advancement %s", + "chat.type.advancement.challenge": "%s has completed the challenge %s", + "chat.type.advancement.goal": "%s has reached the goal %s", + "chat.type.team.text": "%s <%s> %s", + "chat.type.team.sent": "-> %s <%s> %s", + "chat.type.team.hover": "Message Team", + "chat.link.confirm": "Are you sure you want to open the following website?", + "chat.link.warning": "Never open links from people that you don't trust!", + "chat.copy": "Copy to Clipboard", + "chat.link.confirmTrusted": "Do you want to open this link or copy it to your clipboard?", + "chat.link.open": "Open in browser", + "chat.coordinates": "%s, %s, %s", + "chat.coordinates.tooltip": "Click to teleport", + "menu.playdemo": "Play Demo World", + "menu.resetdemo": "Reset Demo World", + "demo.day.1": "This demo will last five game days, do your best!", + "demo.day.2": "Day Two", + "demo.day.3": "Day Three", + "demo.day.4": "Day Four", + "demo.day.5": "This is your last day!", + "demo.day.warning": "Your time is almost up!", + "demo.day.6": "You have passed your fifth day, use %s to save a screenshot of your creation", + "demo.reminder": "The demo time has expired, buy the game to continue or start a new world!", + "demo.remainingTime": "Remaining time: %s", + "demo.demoExpired": "Demo time's up!", + "demo.help.movement": "Use the %1$s, %2$s, %3$s, %4$s keys and the mouse to move around", + "demo.help.movementShort": "Move by pressing the %1$s, %2$s, %3$s, %4$s keys", + "demo.help.movementMouse": "Look around using the mouse", + "demo.help.jump": "Jump by pressing the %1$s key", + "demo.help.inventory": "Use the %1$s key to open your inventory", + "demo.help.title": "Minecraft Demo Mode", + "demo.help.fullWrapped": "This demo will last 5 ingame days (about 1 hour and 40 minutes of real time). Check the advancements for hints! Have fun!", + "demo.help.buy": "Purchase Now!", + "demo.help.later": "Continue Playing!", + "connect.connecting": "Connecting to the server...", + "connect.aborted": "Aborted", + "connect.authorizing": "Logging in...", + "connect.negotiating": "Negotiating...", + "connect.encrypting": "Encrypting...", + "connect.joining": "Joining world...", + "connect.failed": "Failed to connect to the server", + "disconnect.genericReason": "%s", + "disconnect.disconnected": "Disconnected by Server", + "disconnect.lost": "Connection Lost", + "disconnect.kicked": "Was kicked from the game", + "disconnect.timeout": "Timed out", + "disconnect.closed": "Connection closed", + "disconnect.loginFailed": "Failed to log in", + "disconnect.loginFailedInfo": "Failed to log in: %s", + "disconnect.loginFailedInfo.serversUnavailable": "The authentication servers are currently down for maintenance.", + "disconnect.loginFailedInfo.invalidSession": "Invalid session (Try restarting your game and the launcher)", + "disconnect.quitting": "Quitting", + "disconnect.endOfStream": "End of stream", + "disconnect.overflow": "Buffer overflow", + "disconnect.spam": "Kicked for spamming", + "soundCategory.master": "Master Volume", + "soundCategory.music": "Music", + "soundCategory.record": "Jukebox/Note Blocks", + "soundCategory.weather": "Weather", + "soundCategory.hostile": "Hostile Creatures", + "soundCategory.neutral": "Friendly Creatures", + "soundCategory.player": "Players", + "soundCategory.block": "Blocks", + "soundCategory.ambient": "Ambient/Environment", + "soundCategory.voice": "Voice/Speech", + "record.nowPlaying": "Now playing: %s", + "options.off": "OFF", + "options.on": "ON", + "options.visible": "Shown", + "options.hidden": "Hidden", + "options.title": "Options", + "options.controls": "Controls...", + "options.video": "Video Settings...", + "options.language": "Language...", + "options.sounds": "Music & Sounds...", + "options.sounds.title": "Music & Sound Options", + "options.languageWarning": "Language translations may not be 100%% accurate", + "options.videoTitle": "Video Settings", + "options.mouse_settings": "Mouse Settings...", + "options.mouse_settings.title": "Mouse Settings", + "options.customizeTitle": "Customize World Settings", + "options.music": "Music", + "options.sound": "Sound", + "options.invertMouse": "Invert Mouse", + "options.fov": "FOV", + "options.fov.min": "Normal", + "options.fov.max": "Quake Pro", + "options.biomeBlendRadius": "Biome Blend", + "options.gamma": "Brightness", + "options.gamma.min": "Moody", + "options.gamma.max": "Bright", + "options.sensitivity": "Sensitivity", + "options.sensitivity.min": "*yawn*", + "options.sensitivity.max": "HYPERSPEED!!!", + "options.renderDistance": "Render Distance", + "options.viewBobbing": "View Bobbing", + "options.ao": "Smooth Lighting", + "options.ao.off": "OFF", + "options.ao.min": "Minimum", + "options.ao.max": "Maximum", + "options.anaglyph": "3D Anaglyph", + "options.chunks": "%s chunks", + "options.framerate": "%s fps", + "options.framerateLimit": "Max Framerate", + "options.framerateLimit.max": "Unlimited", + "options.difficulty": "Difficulty", + "options.difficulty.peaceful": "Peaceful", + "options.difficulty.easy": "Easy", + "options.difficulty.normal": "Normal", + "options.difficulty.hard": "Hard", + "options.difficulty.hardcore": "Hardcore", + "options.graphics": "Graphics", + "options.graphics.fancy": "Fancy", + "options.graphics.fast": "Fast", + "options.clouds.fancy": "Fancy", + "options.clouds.fast": "Fast", + "options.guiScale": "GUI Scale", + "options.guiScale.auto": "Auto", + "options.renderClouds": "Clouds", + "options.particles": "Particles", + "options.particles.all": "All", + "options.particles.decreased": "Decreased", + "options.particles.minimal": "Minimal", + "options.multiplayer.title": "Multiplayer Settings...", + "options.chat.title": "Chat Settings...", + "options.chat.visibility": "Chat", + "options.chat.visibility.full": "Shown", + "options.chat.visibility.system": "Commands Only", + "options.chat.visibility.hidden": "Hidden", + "options.chat.color": "Colors", + "options.chat.opacity": "Chat Text Opacity", + "options.chat.links": "Web Links", + "options.chat.links.prompt": "Prompt on Links", + "options.chat.scale": "Scale", + "options.chat.width": "Width", + "options.chat.height.focused": "Focused Height", + "options.chat.height.unfocused": "Unfocused Height", + "options.accessibility.title": "Accessibility Settings...", + "options.accessibility.text_background": "Text Background", + "options.accessibility.text_background.chat": "Chat", + "options.accessibility.text_background.everywhere": "Everywhere", + "options.accessibility.text_background_opacity": "Text Background Opacity", + "options.skinCustomisation": "Skin Customization...", + "options.skinCustomisation.title": "Skin Customization", + "options.modelPart.cape": "Cape", + "options.modelPart.hat": "Hat", + "options.modelPart.jacket": "Jacket", + "options.modelPart.left_sleeve": "Left Sleeve", + "options.modelPart.right_sleeve": "Right Sleeve", + "options.modelPart.left_pants_leg": "Left Pants Leg", + "options.modelPart.right_pants_leg": "Right Pants Leg", + "options.snooper": "Allow Snooper", + "options.snooper.view": "Snooper Settings...", + "options.snooper.title": "Feed us data!", + "options.snooper.desc": "We always want to improve Minecraft and, to help us do that, we'd like to collect some information. This lets us know what hardware to support and where the big problems are. It also gives us a sense of the size of our active player base, so we know if we're doing a good job. You can view all the information we collect below. If you want to opt out then you can simply toggle it off!", + "options.resourcepack": "Resource Packs...", + "options.fullscreen": "Fullscreen", + "options.vsync": "Use VSync", + "options.vbo": "Use VBOs", + "options.touchscreen": "Touchscreen Mode", + "options.reducedDebugInfo": "Reduced Debug Info", + "options.entityShadows": "Entity Shadows", + "options.mainHand": "Main Hand", + "options.mainHand.left": "Left", + "options.mainHand.right": "Right", + "options.attackIndicator": "Attack Indicator", + "options.attack.crosshair": "Crosshair", + "options.attack.hotbar": "Hotbar", + "options.showSubtitles": "Show Subtitles", + "options.realmsNotifications": "Realms Notifications", + "options.autoJump": "Auto-Jump", + "options.autoSuggestCommands": "Command Suggestions", + "options.discrete_mouse_scroll": "Discrete Scrolling", + "options.mouseWheelSensitivity": "Scroll Sensitivity", + "options.narrator": "Narrator", + "options.narrator.off": "OFF", + "options.narrator.all": "Narrates all", + "options.narrator.chat": "Narrates chat", + "options.narrator.system": "Narrates system", + "options.narrator.notavailable": "Not available", + "options.fullscreen.resolution": "Fullscreen Resolution", + "options.fullscreen.current": "Current", + "options.mipmapLevels": "Mipmap Levels", + "options.forceUnicodeFont": "Force Unicode Font", + "narrator.toast.disabled": "Narrator Disabled", + "narrator.toast.enabled": "Narrator Enabled", + "difficulty.lock.title": "Lock World Difficulty", + "difficulty.lock.question": "Are you sure you want to lock the difficulty of this world? This will set this world to always be %1$s, and you will never be able to change that again.", + "title.oldgl1": "Old graphics card detected; this may prevent you from", + "title.oldgl2": "playing in the future as OpenGL 2.0 will be required.", + "controls.title": "Controls", + "controls.reset": "Reset", + "controls.resetAll": "Reset Keys", + "key.sprint": "Sprint", + "key.forward": "Walk Forwards", + "key.left": "Strafe Left", + "key.back": "Walk Backwards", + "key.right": "Strafe Right", + "key.jump": "Jump", + "key.inventory": "Open/Close Inventory", + "key.drop": "Drop Selected Item", + "key.swapHands": "Swap Item In Hands", + "key.chat": "Open Chat", + "key.sneak": "Sneak", + "key.playerlist": "List Players", + "key.attack": "Attack/Destroy", + "key.use": "Use Item/Place Block", + "key.pickItem": "Pick Block", + "key.command": "Open Command", + "key.screenshot": "Take Screenshot", + "key.togglePerspective": "Toggle Perspective", + "key.smoothCamera": "Toggle Cinematic Camera", + "key.fullscreen": "Toggle Fullscreen", + "key.spectatorOutlines": "Highlight Players (Spectators)", + "key.hotbar.1": "Hotbar Slot 1", + "key.hotbar.2": "Hotbar Slot 2", + "key.hotbar.3": "Hotbar Slot 3", + "key.hotbar.4": "Hotbar Slot 4", + "key.hotbar.5": "Hotbar Slot 5", + "key.hotbar.6": "Hotbar Slot 6", + "key.hotbar.7": "Hotbar Slot 7", + "key.hotbar.8": "Hotbar Slot 8", + "key.hotbar.9": "Hotbar Slot 9", + "key.saveToolbarActivator": "Save Toolbar Activator", + "key.loadToolbarActivator": "Load Toolbar Activator", + "key.advancements": "Advancements", + "key.categories.movement": "Movement", + "key.categories.misc": "Miscellaneous", + "key.categories.multiplayer": "Multiplayer", + "key.categories.gameplay": "Gameplay", + "key.categories.ui": "Game Interface", + "key.categories.inventory": "Inventory", + "key.categories.creative": "Creative Mode", + "key.mouse.left": "Left Button", + "key.mouse.right": "Right Button", + "key.mouse.middle": "Middle Button", + "key.mouse": "Button %1$s", + "key.keyboard.unknown": "Not bound", + "key.keyboard.apostrophe": "'", + "key.keyboard.backslash": "\\", + "key.keyboard.backspace": "Backspace", + "key.keyboard.comma": ",", + "key.keyboard.delete": "Delete", + "key.keyboard.end": "End", + "key.keyboard.enter": "Enter", + "key.keyboard.equal": "=", + "key.keyboard.escape": "Escape", + "key.keyboard.f1": "F1", + "key.keyboard.f2": "F2", + "key.keyboard.f3": "F3", + "key.keyboard.f4": "F4", + "key.keyboard.f5": "F5", + "key.keyboard.f6": "F6", + "key.keyboard.f7": "F7", + "key.keyboard.f8": "F8", + "key.keyboard.f9": "F9", + "key.keyboard.f10": "F10", + "key.keyboard.f11": "F11", + "key.keyboard.f12": "F12", + "key.keyboard.f13": "F13", + "key.keyboard.f14": "F14", + "key.keyboard.f15": "F15", + "key.keyboard.f16": "F16", + "key.keyboard.f17": "F17", + "key.keyboard.f18": "F18", + "key.keyboard.f19": "F19", + "key.keyboard.f20": "F20", + "key.keyboard.f21": "F21", + "key.keyboard.f22": "F22", + "key.keyboard.f23": "F23", + "key.keyboard.f24": "F24", + "key.keyboard.f25": "F25", + "key.keyboard.grave.accent": "`", + "key.keyboard.home": "Home", + "key.keyboard.insert": "Insert", + "key.keyboard.keypad.0": "Keypad 0", + "key.keyboard.keypad.1": "Keypad 1", + "key.keyboard.keypad.2": "Keypad 2", + "key.keyboard.keypad.3": "Keypad 3", + "key.keyboard.keypad.4": "Keypad 4", + "key.keyboard.keypad.5": "Keypad 5", + "key.keyboard.keypad.6": "Keypad 6", + "key.keyboard.keypad.7": "Keypad 7", + "key.keyboard.keypad.8": "Keypad 8", + "key.keyboard.keypad.9": "Keypad 9", + "key.keyboard.keypad.add": "Keypad +", + "key.keyboard.keypad.decimal": "Keypad Decimal", + "key.keyboard.keypad.enter": "Keypad Enter", + "key.keyboard.keypad.equal": "Keypad =", + "key.keyboard.keypad.multiply": "Keypad *", + "key.keyboard.keypad.divide": "Keypad /", + "key.keyboard.keypad.subtract": "Keypad -", + "key.keyboard.left.bracket": "[", + "key.keyboard.right.bracket": "]", + "key.keyboard.minus": "-", + "key.keyboard.num.lock": "Num Lock", + "key.keyboard.caps.lock": "Caps Lock", + "key.keyboard.scroll.lock": "Scroll Lock", + "key.keyboard.page.down": "Page Down", + "key.keyboard.page.up": "Page Up", + "key.keyboard.pause": "Pause", + "key.keyboard.period": ".", + "key.keyboard.left.control": "Left Control", + "key.keyboard.right.control": "Right Control", + "key.keyboard.left.alt": "Left Alt", + "key.keyboard.right.alt": "Right Alt", + "key.keyboard.left.shift": "Left Shift", + "key.keyboard.right.shift": "Right Shift", + "key.keyboard.left.win": "Left Win", + "key.keyboard.right.win": "Right Win", + "key.keyboard.semicolon": ";", + "key.keyboard.slash": "/", + "key.keyboard.space": "Space", + "key.keyboard.tab": "Tab", + "key.keyboard.up": "Up Arrow", + "key.keyboard.down": "Down Arrow", + "key.keyboard.left": "Left Arrow", + "key.keyboard.right": "Right Arrow", + "key.keyboard.menu": "Menu", + "key.keyboard.print.screen": "Print Screen", + "key.keyboard.world.1": "World 1", + "key.keyboard.world.2": "World 2", + "resourcePack.openFolder": "Open Resource Pack Folder", + "resourcePack.title": "Select Resource Packs", + "resourcePack.available.title": "Available Resource Packs", + "resourcePack.selected.title": "Selected Resource Packs", + "resourcePack.folderInfo": "(Place resource pack files here)", + "resourcePack.incompatible": "Incompatible", + "resourcePack.incompatible.old": "(Made for an older version of Minecraft)", + "resourcePack.incompatible.new": "(Made for a newer version of Minecraft)", + "resourcePack.incompatible.confirm.title": "Are you sure you want to load this resource pack?", + "resourcePack.incompatible.confirm.old": "This resource pack was made for an older version of Minecraft and may no longer work correctly.", + "resourcePack.incompatible.confirm.new": "This resource pack was made for a newer version of Minecraft and may no longer work correctly.", + "resourcePack.server.name": "World Specific Resources", + "resourcePack.broken_assets": "BROKEN ASSETS DETECTED", + "sign.edit": "Edit sign message", + "book.pageIndicator": "Page %1$s of %2$s", + "book.byAuthor": "by %1$s", + "book.signButton": "Sign", + "book.editTitle": "Enter Book Title:", + "book.finalizeButton": "Sign and Close", + "book.finalizeWarning": "Note! When you sign the book, it will no longer be editable.", + "book.generation.0": "Original", + "book.generation.1": "Copy of original", + "book.generation.2": "Copy of a copy", + "book.generation.3": "Tattered", + "book.invalid.tag": "* Invalid book tag *", + "merchant.deprecated": "Villagers restock up to two times per day.", + "merchant.current_level": "Trader's current level", + "merchant.next_level": "Trader's next level", + "merchant.level.1": "Novice", + "merchant.level.2": "Apprentice", + "merchant.level.3": "Journeyman", + "merchant.level.4": "Expert", + "merchant.level.5": "Master", + "merchant.trades": "Trades", + "block.minecraft.air": "Air", + "block.minecraft.barrier": "Barrier", + "block.minecraft.stone": "Stone", + "block.minecraft.granite": "Granite", + "block.minecraft.polished_granite": "Polished Granite", + "block.minecraft.diorite": "Diorite", + "block.minecraft.polished_diorite": "Polished Diorite", + "block.minecraft.andesite": "Andesite", + "block.minecraft.polished_andesite": "Polished Andesite", + "block.minecraft.hay_block": "Hay Bale", + "block.minecraft.grass_block": "Grass Block", + "block.minecraft.dirt": "Dirt", + "block.minecraft.coarse_dirt": "Coarse Dirt", + "block.minecraft.podzol": "Podzol", + "block.minecraft.cobblestone": "Cobblestone", + "block.minecraft.oak_planks": "Oak Planks", + "block.minecraft.spruce_planks": "Spruce Planks", + "block.minecraft.birch_planks": "Birch Planks", + "block.minecraft.jungle_planks": "Jungle Planks", + "block.minecraft.acacia_planks": "Acacia Planks", + "block.minecraft.dark_oak_planks": "Dark Oak Planks", + "block.minecraft.oak_sapling": "Oak Sapling", + "block.minecraft.spruce_sapling": "Spruce Sapling", + "block.minecraft.birch_sapling": "Birch Sapling", + "block.minecraft.jungle_sapling": "Jungle Sapling", + "block.minecraft.acacia_sapling": "Acacia Sapling", + "block.minecraft.dark_oak_sapling": "Dark Oak Sapling", + "block.minecraft.oak_door": "Oak Door", + "block.minecraft.spruce_door": "Spruce Door", + "block.minecraft.birch_door": "Birch Door", + "block.minecraft.jungle_door": "Jungle Door", + "block.minecraft.acacia_door": "Acacia Door", + "block.minecraft.dark_oak_door": "Dark Oak Door", + "block.minecraft.bedrock": "Bedrock", + "block.minecraft.water": "Water", + "block.minecraft.lava": "Lava", + "block.minecraft.flowing_water": "Flowing Water", + "block.minecraft.flowing_lava": "Flowing Lava", + "block.minecraft.sand": "Sand", + "block.minecraft.red_sand": "Red Sand", + "block.minecraft.sandstone": "Sandstone", + "block.minecraft.chiseled_sandstone": "Chiseled Sandstone", + "block.minecraft.cut_sandstone": "Cut Sandstone", + "block.minecraft.red_sandstone": "Red Sandstone", + "block.minecraft.chiseled_red_sandstone": "Chiseled Red Sandstone", + "block.minecraft.cut_red_sandstone": "Cut Red Sandstone", + "block.minecraft.gravel": "Gravel", + "block.minecraft.gold_ore": "Gold Ore", + "block.minecraft.iron_ore": "Iron Ore", + "block.minecraft.coal_ore": "Coal Ore", + "block.minecraft.oak_wood": "Oak Wood", + "block.minecraft.spruce_wood": "Spruce Wood", + "block.minecraft.birch_wood": "Birch Wood", + "block.minecraft.jungle_wood": "Jungle Wood", + "block.minecraft.acacia_wood": "Acacia Wood", + "block.minecraft.dark_oak_wood": "Dark Oak Wood", + "block.minecraft.oak_log": "Oak Log", + "block.minecraft.spruce_log": "Spruce Log", + "block.minecraft.birch_log": "Birch Log", + "block.minecraft.jungle_log": "Jungle Log", + "block.minecraft.acacia_log": "Acacia Log", + "block.minecraft.dark_oak_log": "Dark Oak Log", + "block.minecraft.stripped_oak_log": "Stripped Oak Log", + "block.minecraft.stripped_spruce_log": "Stripped Spruce Log", + "block.minecraft.stripped_birch_log": "Stripped Birch Log", + "block.minecraft.stripped_jungle_log": "Stripped Jungle Log", + "block.minecraft.stripped_acacia_log": "Stripped Acacia Log", + "block.minecraft.stripped_dark_oak_log": "Stripped Dark Oak Log", + "block.minecraft.stripped_oak_wood": "Stripped Oak Wood", + "block.minecraft.stripped_spruce_wood": "Stripped Spruce Wood", + "block.minecraft.stripped_birch_wood": "Stripped Birch Wood", + "block.minecraft.stripped_jungle_wood": "Stripped Jungle Wood", + "block.minecraft.stripped_acacia_wood": "Stripped Acacia Wood", + "block.minecraft.stripped_dark_oak_wood": "Stripped Dark Oak Wood", + "block.minecraft.oak_leaves": "Oak Leaves", + "block.minecraft.spruce_leaves": "Spruce Leaves", + "block.minecraft.birch_leaves": "Birch Leaves", + "block.minecraft.jungle_leaves": "Jungle Leaves", + "block.minecraft.acacia_leaves": "Acacia Leaves", + "block.minecraft.dark_oak_leaves": "Dark Oak Leaves", + "block.minecraft.dead_bush": "Dead Bush", + "block.minecraft.grass": "Grass", + "block.minecraft.fern": "Fern", + "block.minecraft.sponge": "Sponge", + "block.minecraft.wet_sponge": "Wet Sponge", + "block.minecraft.glass": "Glass", + "block.minecraft.kelp_plant": "Kelp Plant", + "block.minecraft.kelp": "Kelp", + "block.minecraft.dried_kelp_block": "Dried Kelp Block", + "block.minecraft.white_stained_glass": "White Stained Glass", + "block.minecraft.orange_stained_glass": "Orange Stained Glass", + "block.minecraft.magenta_stained_glass": "Magenta Stained Glass", + "block.minecraft.light_blue_stained_glass": "Light Blue Stained Glass", + "block.minecraft.yellow_stained_glass": "Yellow Stained Glass", + "block.minecraft.lime_stained_glass": "Lime Stained Glass", + "block.minecraft.pink_stained_glass": "Pink Stained Glass", + "block.minecraft.gray_stained_glass": "Gray Stained Glass", + "block.minecraft.light_gray_stained_glass": "Light Gray Stained Glass", + "block.minecraft.cyan_stained_glass": "Cyan Stained Glass", + "block.minecraft.purple_stained_glass": "Purple Stained Glass", + "block.minecraft.blue_stained_glass": "Blue Stained Glass", + "block.minecraft.brown_stained_glass": "Brown Stained Glass", + "block.minecraft.green_stained_glass": "Green Stained Glass", + "block.minecraft.red_stained_glass": "Red Stained Glass", + "block.minecraft.black_stained_glass": "Black Stained Glass", + "block.minecraft.white_stained_glass_pane": "White Stained Glass Pane", + "block.minecraft.orange_stained_glass_pane": "Orange Stained Glass Pane", + "block.minecraft.magenta_stained_glass_pane": "Magenta Stained Glass Pane", + "block.minecraft.light_blue_stained_glass_pane": "Light Blue Stained Glass Pane", + "block.minecraft.yellow_stained_glass_pane": "Yellow Stained Glass Pane", + "block.minecraft.lime_stained_glass_pane": "Lime Stained Glass Pane", + "block.minecraft.pink_stained_glass_pane": "Pink Stained Glass Pane", + "block.minecraft.gray_stained_glass_pane": "Gray Stained Glass Pane", + "block.minecraft.light_gray_stained_glass_pane": "Light Gray Stained Glass Pane", + "block.minecraft.cyan_stained_glass_pane": "Cyan Stained Glass Pane", + "block.minecraft.purple_stained_glass_pane": "Purple Stained Glass Pane", + "block.minecraft.blue_stained_glass_pane": "Blue Stained Glass Pane", + "block.minecraft.brown_stained_glass_pane": "Brown Stained Glass Pane", + "block.minecraft.green_stained_glass_pane": "Green Stained Glass Pane", + "block.minecraft.red_stained_glass_pane": "Red Stained Glass Pane", + "block.minecraft.black_stained_glass_pane": "Black Stained Glass Pane", + "block.minecraft.glass_pane": "Glass Pane", + "block.minecraft.dandelion": "Dandelion", + "block.minecraft.poppy": "Poppy", + "block.minecraft.blue_orchid": "Blue Orchid", + "block.minecraft.allium": "Allium", + "block.minecraft.azure_bluet": "Azure Bluet", + "block.minecraft.red_tulip": "Red Tulip", + "block.minecraft.orange_tulip": "Orange Tulip", + "block.minecraft.white_tulip": "White Tulip", + "block.minecraft.pink_tulip": "Pink Tulip", + "block.minecraft.oxeye_daisy": "Oxeye Daisy", + "block.minecraft.cornflower": "Cornflower", + "block.minecraft.lily_of_the_valley": "Lily of the Valley", + "block.minecraft.wither_rose": "Wither Rose", + "block.minecraft.sunflower": "Sunflower", + "block.minecraft.lilac": "Lilac", + "block.minecraft.tall_grass": "Tall Grass", + "block.minecraft.tall_seagrass": "Tall Seagrass", + "block.minecraft.large_fern": "Large Fern", + "block.minecraft.rose_bush": "Rose Bush", + "block.minecraft.peony": "Peony", + "block.minecraft.seagrass": "Seagrass", + "block.minecraft.sea_pickle": "Sea Pickle", + "block.minecraft.brown_mushroom": "Brown Mushroom", + "block.minecraft.red_mushroom_block": "Red Mushroom Block", + "block.minecraft.brown_mushroom_block": "Brown Mushroom Block", + "block.minecraft.mushroom_stem": "Mushroom Stem", + "block.minecraft.gold_block": "Block of Gold", + "block.minecraft.iron_block": "Block of Iron", + "block.minecraft.smooth_stone": "Smooth Stone", + "block.minecraft.smooth_sandstone": "Smooth Sandstone", + "block.minecraft.smooth_red_sandstone": "Smooth Red Sandstone", + "block.minecraft.smooth_quartz": "Smooth Quartz", + "block.minecraft.stone_slab": "Stone Slab", + "block.minecraft.smooth_stone_slab": "Smooth Stone Slab", + "block.minecraft.sandstone_slab": "Sandstone Slab", + "block.minecraft.red_sandstone_slab": "Red Sandstone Slab", + "block.minecraft.cut_sandstone_slab": "Cut Sandstone Slab", + "block.minecraft.cut_red_sandstone_slab": "Cut Red Sandstone Slab", + "block.minecraft.petrified_oak_slab": "Petrified Oak Slab", + "block.minecraft.cobblestone_slab": "Cobblestone Slab", + "block.minecraft.brick_slab": "Brick Slab", + "block.minecraft.stone_brick_slab": "Stone Brick Slab", + "block.minecraft.nether_brick_slab": "Nether Brick Slab", + "block.minecraft.quartz_slab": "Quartz Slab", + "block.minecraft.oak_slab": "Oak Slab", + "block.minecraft.spruce_slab": "Spruce Slab", + "block.minecraft.birch_slab": "Birch Slab", + "block.minecraft.jungle_slab": "Jungle Slab", + "block.minecraft.acacia_slab": "Acacia Slab", + "block.minecraft.dark_oak_slab": "Dark Oak Slab", + "block.minecraft.dark_prismarine_slab": "Dark Prismarine Slab", + "block.minecraft.prismarine_slab": "Prismarine Slab", + "block.minecraft.prismarine_brick_slab": "Prismarine Brick Slab", + "block.minecraft.bricks": "Bricks", + "block.minecraft.tnt": "TNT", + "block.minecraft.bookshelf": "Bookshelf", + "block.minecraft.mossy_cobblestone": "Mossy Cobblestone", + "block.minecraft.obsidian": "Obsidian", + "block.minecraft.torch": "Torch", + "block.minecraft.wall_torch": "Wall Torch", + "block.minecraft.fire": "Fire", + "block.minecraft.spawner": "Spawner", + "block.minecraft.oak_stairs": "Oak Stairs", + "block.minecraft.spruce_stairs": "Spruce Stairs", + "block.minecraft.birch_stairs": "Birch Stairs", + "block.minecraft.jungle_stairs": "Jungle Stairs", + "block.minecraft.acacia_stairs": "Acacia Stairs", + "block.minecraft.dark_oak_stairs": "Dark Oak Stairs", + "block.minecraft.dark_prismarine_stairs": "Dark Prismarine Stairs", + "block.minecraft.prismarine_stairs": "Prismarine Stairs", + "block.minecraft.prismarine_brick_stairs": "Prismarine Brick Stairs", + "block.minecraft.chest": "Chest", + "block.minecraft.trapped_chest": "Trapped Chest", + "block.minecraft.redstone_wire": "Redstone Wire", + "block.minecraft.diamond_ore": "Diamond Ore", + "block.minecraft.coal_block": "Block of Coal", + "block.minecraft.diamond_block": "Block of Diamond", + "block.minecraft.crafting_table": "Crafting Table", + "block.minecraft.wheat": "Wheat Crops", + "block.minecraft.farmland": "Farmland", + "block.minecraft.furnace": "Furnace", + "block.minecraft.oak_sign": "Oak Sign", + "block.minecraft.spruce_sign": "Spruce Sign", + "block.minecraft.birch_sign": "Birch Sign", + "block.minecraft.acacia_sign": "Acacia Sign", + "block.minecraft.jungle_sign": "Jungle Sign", + "block.minecraft.dark_oak_sign": "Dark Oak Sign", + "block.minecraft.oak_wall_sign": "Oak Wall Sign", + "block.minecraft.spruce_wall_sign": "Spruce Wall Sign", + "block.minecraft.birch_wall_sign": "Birch Wall Sign", + "block.minecraft.acacia_wall_sign": "Acacia Wall Sign", + "block.minecraft.jungle_wall_sign": "Jungle Wall Sign", + "block.minecraft.dark_oak_wall_sign": "Dark Oak Wall Sign", + "block.minecraft.ladder": "Ladder", + "block.minecraft.scaffolding": "Scaffolding", + "block.minecraft.rail": "Rail", + "block.minecraft.powered_rail": "Powered Rail", + "block.minecraft.activator_rail": "Activator Rail", + "block.minecraft.detector_rail": "Detector Rail", + "block.minecraft.cobblestone_stairs": "Cobblestone Stairs", + "block.minecraft.sandstone_stairs": "Sandstone Stairs", + "block.minecraft.red_sandstone_stairs": "Red Sandstone Stairs", + "block.minecraft.lever": "Lever", + "block.minecraft.stone_pressure_plate": "Stone Pressure Plate", + "block.minecraft.oak_pressure_plate": "Oak Pressure Plate", + "block.minecraft.spruce_pressure_plate": "Spruce Pressure Plate", + "block.minecraft.birch_pressure_plate": "Birch Pressure Plate", + "block.minecraft.jungle_pressure_plate": "Jungle Pressure Plate", + "block.minecraft.acacia_pressure_plate": "Acacia Pressure Plate", + "block.minecraft.dark_oak_pressure_plate": "Dark Oak Pressure Plate", + "block.minecraft.light_weighted_pressure_plate": "Light Weighted Pressure Plate", + "block.minecraft.heavy_weighted_pressure_plate": "Heavy Weighted Pressure Plate", + "block.minecraft.iron_door": "Iron Door", + "block.minecraft.redstone_ore": "Redstone Ore", + "block.minecraft.redstone_torch": "Redstone Torch", + "block.minecraft.redstone_wall_torch": "Redstone Wall Torch", + "block.minecraft.stone_button": "Stone Button", + "block.minecraft.oak_button": "Oak Button", + "block.minecraft.spruce_button": "Spruce Button", + "block.minecraft.birch_button": "Birch Button", + "block.minecraft.jungle_button": "Jungle Button", + "block.minecraft.acacia_button": "Acacia Button", + "block.minecraft.dark_oak_button": "Dark Oak Button", + "block.minecraft.snow": "Snow", + "block.minecraft.white_carpet": "White Carpet", + "block.minecraft.orange_carpet": "Orange Carpet", + "block.minecraft.magenta_carpet": "Magenta Carpet", + "block.minecraft.light_blue_carpet": "Light Blue Carpet", + "block.minecraft.yellow_carpet": "Yellow Carpet", + "block.minecraft.lime_carpet": "Lime Carpet", + "block.minecraft.pink_carpet": "Pink Carpet", + "block.minecraft.gray_carpet": "Gray Carpet", + "block.minecraft.light_gray_carpet": "Light Gray Carpet", + "block.minecraft.cyan_carpet": "Cyan Carpet", + "block.minecraft.purple_carpet": "Purple Carpet", + "block.minecraft.blue_carpet": "Blue Carpet", + "block.minecraft.brown_carpet": "Brown Carpet", + "block.minecraft.green_carpet": "Green Carpet", + "block.minecraft.red_carpet": "Red Carpet", + "block.minecraft.black_carpet": "Black Carpet", + "block.minecraft.ice": "Ice", + "block.minecraft.frosted_ice": "Frosted Ice", + "block.minecraft.packed_ice": "Packed Ice", + "block.minecraft.blue_ice": "Blue Ice", + "block.minecraft.cactus": "Cactus", + "block.minecraft.clay": "Clay", + "block.minecraft.white_terracotta": "White Terracotta", + "block.minecraft.orange_terracotta": "Orange Terracotta", + "block.minecraft.magenta_terracotta": "Magenta Terracotta", + "block.minecraft.light_blue_terracotta": "Light Blue Terracotta", + "block.minecraft.yellow_terracotta": "Yellow Terracotta", + "block.minecraft.lime_terracotta": "Lime Terracotta", + "block.minecraft.pink_terracotta": "Pink Terracotta", + "block.minecraft.gray_terracotta": "Gray Terracotta", + "block.minecraft.light_gray_terracotta": "Light Gray Terracotta", + "block.minecraft.cyan_terracotta": "Cyan Terracotta", + "block.minecraft.purple_terracotta": "Purple Terracotta", + "block.minecraft.blue_terracotta": "Blue Terracotta", + "block.minecraft.brown_terracotta": "Brown Terracotta", + "block.minecraft.green_terracotta": "Green Terracotta", + "block.minecraft.red_terracotta": "Red Terracotta", + "block.minecraft.black_terracotta": "Black Terracotta", + "block.minecraft.terracotta": "Terracotta", + "block.minecraft.sugar_cane": "Sugar Cane", + "block.minecraft.jukebox": "Jukebox", + "block.minecraft.oak_fence": "Oak Fence", + "block.minecraft.spruce_fence": "Spruce Fence", + "block.minecraft.birch_fence": "Birch Fence", + "block.minecraft.jungle_fence": "Jungle Fence", + "block.minecraft.dark_oak_fence": "Dark Oak Fence", + "block.minecraft.acacia_fence": "Acacia Fence", + "block.minecraft.oak_fence_gate": "Oak Fence Gate", + "block.minecraft.spruce_fence_gate": "Spruce Fence Gate", + "block.minecraft.birch_fence_gate": "Birch Fence Gate", + "block.minecraft.jungle_fence_gate": "Jungle Fence Gate", + "block.minecraft.dark_oak_fence_gate": "Dark Oak Fence Gate", + "block.minecraft.acacia_fence_gate": "Acacia Fence Gate", + "block.minecraft.pumpkin_stem": "Pumpkin Stem", + "block.minecraft.attached_pumpkin_stem": "Attached Pumpkin Stem", + "block.minecraft.pumpkin": "Pumpkin", + "block.minecraft.carved_pumpkin": "Carved Pumpkin", + "block.minecraft.jack_o_lantern": "Jack o'Lantern", + "block.minecraft.netherrack": "Netherrack", + "block.minecraft.soul_sand": "Soul Sand", + "block.minecraft.glowstone": "Glowstone", + "block.minecraft.nether_portal": "Nether Portal", + "block.minecraft.white_wool": "White Wool", + "block.minecraft.orange_wool": "Orange Wool", + "block.minecraft.magenta_wool": "Magenta Wool", + "block.minecraft.light_blue_wool": "Light Blue Wool", + "block.minecraft.yellow_wool": "Yellow Wool", + "block.minecraft.lime_wool": "Lime Wool", + "block.minecraft.pink_wool": "Pink Wool", + "block.minecraft.gray_wool": "Gray Wool", + "block.minecraft.light_gray_wool": "Light Gray Wool", + "block.minecraft.cyan_wool": "Cyan Wool", + "block.minecraft.purple_wool": "Purple Wool", + "block.minecraft.blue_wool": "Blue Wool", + "block.minecraft.brown_wool": "Brown Wool", + "block.minecraft.green_wool": "Green Wool", + "block.minecraft.red_wool": "Red Wool", + "block.minecraft.black_wool": "Black Wool", + "block.minecraft.lapis_ore": "Lapis Lazuli Ore", + "block.minecraft.lapis_block": "Lapis Lazuli Block", + "block.minecraft.dispenser": "Dispenser", + "block.minecraft.dropper": "Dropper", + "block.minecraft.note_block": "Note Block", + "block.minecraft.cake": "Cake", + "block.minecraft.bed": "Bed", + "block.minecraft.bed.occupied": "This bed is occupied", + "block.minecraft.bed.obstructed": "This bed is obstructed", + "block.minecraft.bed.no_sleep": "You can sleep only at night and during thunderstorms", + "block.minecraft.bed.too_far_away": "You may not rest now; the bed is too far away", + "block.minecraft.bed.not_safe": "You may not rest now; there are monsters nearby", + "block.minecraft.bed.not_valid": "Your home bed was missing or obstructed", + "block.minecraft.oak_trapdoor": "Oak Trapdoor", + "block.minecraft.spruce_trapdoor": "Spruce Trapdoor", + "block.minecraft.birch_trapdoor": "Birch Trapdoor", + "block.minecraft.jungle_trapdoor": "Jungle Trapdoor", + "block.minecraft.acacia_trapdoor": "Acacia Trapdoor", + "block.minecraft.dark_oak_trapdoor": "Dark Oak Trapdoor", + "block.minecraft.iron_trapdoor": "Iron Trapdoor", + "block.minecraft.cobweb": "Cobweb", + "block.minecraft.stone_bricks": "Stone Bricks", + "block.minecraft.mossy_stone_bricks": "Mossy Stone Bricks", + "block.minecraft.cracked_stone_bricks": "Cracked Stone Bricks", + "block.minecraft.chiseled_stone_bricks": "Chiseled Stone Bricks", + "block.minecraft.infested_stone": "Infested Stone", + "block.minecraft.infested_cobblestone": "Infested Cobblestone", + "block.minecraft.infested_stone_bricks": "Infested Stone Bricks", + "block.minecraft.infested_mossy_stone_bricks": "Infested Mossy Stone Bricks", + "block.minecraft.infested_cracked_stone_bricks": "Infested Cracked Stone Bricks", + "block.minecraft.infested_chiseled_stone_bricks": "Infested Chiseled Stone Bricks", + "block.minecraft.piston": "Piston", + "block.minecraft.sticky_piston": "Sticky Piston", + "block.minecraft.iron_bars": "Iron Bars", + "block.minecraft.melon": "Melon", + "block.minecraft.brick_stairs": "Brick Stairs", + "block.minecraft.stone_brick_stairs": "Stone Brick Stairs", + "block.minecraft.vine": "Vines", + "block.minecraft.nether_bricks": "Nether Bricks", + "block.minecraft.nether_brick_fence": "Nether Brick Fence", + "block.minecraft.nether_brick_stairs": "Nether Brick Stairs", + "block.minecraft.nether_wart": "Nether Wart", + "block.minecraft.cauldron": "Cauldron", + "block.minecraft.enchanting_table": "Enchanting Table", + "block.minecraft.anvil": "Anvil", + "block.minecraft.chipped_anvil": "Chipped Anvil", + "block.minecraft.damaged_anvil": "Damaged Anvil", + "block.minecraft.end_stone": "End Stone", + "block.minecraft.end_portal_frame": "End Portal Frame", + "block.minecraft.mycelium": "Mycelium", + "block.minecraft.lily_pad": "Lily Pad", + "block.minecraft.dragon_egg": "Dragon Egg", + "block.minecraft.redstone_lamp": "Redstone Lamp", + "block.minecraft.cocoa": "Cocoa", + "block.minecraft.ender_chest": "Ender Chest", + "block.minecraft.emerald_ore": "Emerald Ore", + "block.minecraft.emerald_block": "Block of Emerald", + "block.minecraft.redstone_block": "Block of Redstone", + "block.minecraft.tripwire": "Tripwire", + "block.minecraft.tripwire_hook": "Tripwire Hook", + "block.minecraft.command_block": "Command Block", + "block.minecraft.repeating_command_block": "Repeating Command Block", + "block.minecraft.chain_command_block": "Chain Command Block", + "block.minecraft.beacon": "Beacon", + "block.minecraft.beacon.primary": "Primary Power", + "block.minecraft.beacon.secondary": "Secondary Power", + "block.minecraft.cobblestone_wall": "Cobblestone Wall", + "block.minecraft.mossy_cobblestone_wall": "Mossy Cobblestone Wall", + "block.minecraft.carrots": "Carrots", + "block.minecraft.potatoes": "Potatoes", + "block.minecraft.daylight_detector": "Daylight Detector", + "block.minecraft.nether_quartz_ore": "Nether Quartz Ore", + "block.minecraft.hopper": "Hopper", + "block.minecraft.quartz_block": "Block of Quartz", + "block.minecraft.chiseled_quartz_block": "Chiseled Quartz Block", + "block.minecraft.quartz_pillar": "Quartz Pillar", + "block.minecraft.quartz_stairs": "Quartz Stairs", + "block.minecraft.slime_block": "Slime Block", + "block.minecraft.prismarine": "Prismarine", + "block.minecraft.prismarine_bricks": "Prismarine Bricks", + "block.minecraft.dark_prismarine": "Dark Prismarine", + "block.minecraft.sea_lantern": "Sea Lantern", + "block.minecraft.end_rod": "End Rod", + "block.minecraft.chorus_plant": "Chorus Plant", + "block.minecraft.chorus_flower": "Chorus Flower", + "block.minecraft.purpur_block": "Purpur Block", + "block.minecraft.purpur_pillar": "Purpur Pillar", + "block.minecraft.purpur_stairs": "Purpur Stairs", + "block.minecraft.purpur_slab": "Purpur Slab", + "block.minecraft.end_stone_bricks": "End Stone Bricks", + "block.minecraft.beetroots": "Beetroots", + "block.minecraft.grass_path": "Grass Path", + "block.minecraft.magma_block": "Magma Block", + "block.minecraft.nether_wart_block": "Nether Wart Block", + "block.minecraft.red_nether_bricks": "Red Nether Bricks", + "block.minecraft.bone_block": "Bone Block", + "block.minecraft.observer": "Observer", + "block.minecraft.shulker_box": "Shulker Box", + "block.minecraft.white_shulker_box": "White Shulker Box", + "block.minecraft.orange_shulker_box": "Orange Shulker Box", + "block.minecraft.magenta_shulker_box": "Magenta Shulker Box", + "block.minecraft.light_blue_shulker_box": "Light Blue Shulker Box", + "block.minecraft.yellow_shulker_box": "Yellow Shulker Box", + "block.minecraft.lime_shulker_box": "Lime Shulker Box", + "block.minecraft.pink_shulker_box": "Pink Shulker Box", + "block.minecraft.gray_shulker_box": "Gray Shulker Box", + "block.minecraft.light_gray_shulker_box": "Light Gray Shulker Box", + "block.minecraft.cyan_shulker_box": "Cyan Shulker Box", + "block.minecraft.purple_shulker_box": "Purple Shulker Box", + "block.minecraft.blue_shulker_box": "Blue Shulker Box", + "block.minecraft.brown_shulker_box": "Brown Shulker Box", + "block.minecraft.green_shulker_box": "Green Shulker Box", + "block.minecraft.red_shulker_box": "Red Shulker Box", + "block.minecraft.black_shulker_box": "Black Shulker Box", + "block.minecraft.white_glazed_terracotta": "White Glazed Terracotta", + "block.minecraft.orange_glazed_terracotta": "Orange Glazed Terracotta", + "block.minecraft.magenta_glazed_terracotta": "Magenta Glazed Terracotta", + "block.minecraft.light_blue_glazed_terracotta": "Light Blue Glazed Terracotta", + "block.minecraft.yellow_glazed_terracotta": "Yellow Glazed Terracotta", + "block.minecraft.lime_glazed_terracotta": "Lime Glazed Terracotta", + "block.minecraft.pink_glazed_terracotta": "Pink Glazed Terracotta", + "block.minecraft.gray_glazed_terracotta": "Gray Glazed Terracotta", + "block.minecraft.light_gray_glazed_terracotta": "Light Gray Glazed Terracotta", + "block.minecraft.cyan_glazed_terracotta": "Cyan Glazed Terracotta", + "block.minecraft.purple_glazed_terracotta": "Purple Glazed Terracotta", + "block.minecraft.blue_glazed_terracotta": "Blue Glazed Terracotta", + "block.minecraft.brown_glazed_terracotta": "Brown Glazed Terracotta", + "block.minecraft.green_glazed_terracotta": "Green Glazed Terracotta", + "block.minecraft.red_glazed_terracotta": "Red Glazed Terracotta", + "block.minecraft.black_glazed_terracotta": "Black Glazed Terracotta", + "block.minecraft.black_concrete": "Black Concrete", + "block.minecraft.red_concrete": "Red Concrete", + "block.minecraft.green_concrete": "Green Concrete", + "block.minecraft.brown_concrete": "Brown Concrete", + "block.minecraft.blue_concrete": "Blue Concrete", + "block.minecraft.purple_concrete": "Purple Concrete", + "block.minecraft.cyan_concrete": "Cyan Concrete", + "block.minecraft.light_gray_concrete": "Light Gray Concrete", + "block.minecraft.gray_concrete": "Gray Concrete", + "block.minecraft.pink_concrete": "Pink Concrete", + "block.minecraft.lime_concrete": "Lime Concrete", + "block.minecraft.yellow_concrete": "Yellow Concrete", + "block.minecraft.light_blue_concrete": "Light Blue Concrete", + "block.minecraft.magenta_concrete": "Magenta Concrete", + "block.minecraft.orange_concrete": "Orange Concrete", + "block.minecraft.white_concrete": "White Concrete", + "block.minecraft.black_concrete_powder": "Black Concrete Powder", + "block.minecraft.red_concrete_powder": "Red Concrete Powder", + "block.minecraft.green_concrete_powder": "Green Concrete Powder", + "block.minecraft.brown_concrete_powder": "Brown Concrete Powder", + "block.minecraft.blue_concrete_powder": "Blue Concrete Powder", + "block.minecraft.purple_concrete_powder": "Purple Concrete Powder", + "block.minecraft.cyan_concrete_powder": "Cyan Concrete Powder", + "block.minecraft.light_gray_concrete_powder": "Light Gray Concrete Powder", + "block.minecraft.gray_concrete_powder": "Gray Concrete Powder", + "block.minecraft.pink_concrete_powder": "Pink Concrete Powder", + "block.minecraft.lime_concrete_powder": "Lime Concrete Powder", + "block.minecraft.yellow_concrete_powder": "Yellow Concrete Powder", + "block.minecraft.light_blue_concrete_powder": "Light Blue Concrete Powder", + "block.minecraft.magenta_concrete_powder": "Magenta Concrete Powder", + "block.minecraft.orange_concrete_powder": "Orange Concrete Powder", + "block.minecraft.white_concrete_powder": "White Concrete Powder", + "block.minecraft.turtle_egg": "Turtle Egg", + "block.minecraft.two_turtle_eggs": "Two Turtle Eggs", + "block.minecraft.three_turtle_eggs": "Three Turtle Eggs", + "block.minecraft.four_turtle_eggs": "Four Turtle Eggs", + "block.minecraft.banner": "Banner", + "block.minecraft.wall_banner": "Wall Banner", + "block.minecraft.piston_head": "Piston Head", + "block.minecraft.moving_piston": "Moving Piston", + "block.minecraft.red_mushroom": "Red Mushroom", + "block.minecraft.snow_block": "Snow Block", + "block.minecraft.attached_melon_stem": "Attached Melon Stem", + "block.minecraft.melon_stem": "Melon Stem", + "block.minecraft.brewing_stand": "Brewing Stand", + "block.minecraft.end_portal": "End Portal", + "block.minecraft.flower_pot": "Flower Pot", + "block.minecraft.potted_oak_sapling": "Potted Oak Sapling", + "block.minecraft.potted_spruce_sapling": "Potted Spruce Sapling", + "block.minecraft.potted_birch_sapling": "Potted Birch Sapling", + "block.minecraft.potted_jungle_sapling": "Potted Jungle Sapling", + "block.minecraft.potted_acacia_sapling": "Potted Acacia Sapling", + "block.minecraft.potted_dark_oak_sapling": "Potted Dark Oak Sapling", + "block.minecraft.potted_fern": "Potted Fern", + "block.minecraft.potted_dandelion": "Potted Dandelion", + "block.minecraft.potted_poppy": "Potted Poppy", + "block.minecraft.potted_blue_orchid": "Potted Blue Orchid", + "block.minecraft.potted_allium": "Potted Allium", + "block.minecraft.potted_azure_bluet": "Potted Azure Bluet", + "block.minecraft.potted_red_tulip": "Potted Red Tulip", + "block.minecraft.potted_orange_tulip": "Potted Orange Tulip", + "block.minecraft.potted_white_tulip": "Potted White Tulip", + "block.minecraft.potted_pink_tulip": "Potted Pink Tulip", + "block.minecraft.potted_oxeye_daisy": "Potted Oxeye Daisy", + "block.minecraft.potted_cornflower": "Potted Cornflower", + "block.minecraft.potted_lily_of_the_valley": "Potted Lily of the Valley", + "block.minecraft.potted_wither_rose": "Potted Wither Rose", + "block.minecraft.potted_red_mushroom": "Potted Red Mushroom", + "block.minecraft.potted_brown_mushroom": "Potted Brown Mushroom", + "block.minecraft.potted_dead_bush": "Potted Dead Bush", + "block.minecraft.potted_cactus": "Potted Cactus", + "block.minecraft.potted_bamboo": "Potted Bamboo", + "block.minecraft.skeleton_wall_skull": "Skeleton Wall Skull", + "block.minecraft.skeleton_skull": "Skeleton Skull", + "block.minecraft.wither_skeleton_wall_skull": "Wither Skeleton Wall Skull", + "block.minecraft.wither_skeleton_skull": "Wither Skeleton Skull", + "block.minecraft.zombie_wall_head": "Zombie Wall Head", + "block.minecraft.zombie_head": "Zombie Head", + "block.minecraft.player_wall_head": "Player Wall Head", + "block.minecraft.player_head": "Player Head", + "block.minecraft.player_head.named": "%s's Head", + "block.minecraft.creeper_wall_head": "Creeper Wall Head", + "block.minecraft.creeper_head": "Creeper Head", + "block.minecraft.dragon_wall_head": "Dragon Wall Head", + "block.minecraft.dragon_head": "Dragon Head", + "block.minecraft.end_gateway": "End Gateway", + "block.minecraft.structure_void": "Structure Void", + "block.minecraft.structure_block": "Structure Block", + "block.minecraft.void_air": "Void Air", + "block.minecraft.cave_air": "Cave Air", + "block.minecraft.bubble_column": "Bubble Column", + "block.minecraft.dead_tube_coral_block": "Dead Tube Coral Block", + "block.minecraft.dead_brain_coral_block": "Dead Brain Coral Block", + "block.minecraft.dead_bubble_coral_block": "Dead Bubble Coral Block", + "block.minecraft.dead_fire_coral_block": "Dead Fire Coral Block", + "block.minecraft.dead_horn_coral_block": "Dead Horn Coral Block", + "block.minecraft.tube_coral_block": "Tube Coral Block", + "block.minecraft.brain_coral_block": "Brain Coral Block", + "block.minecraft.bubble_coral_block": "Bubble Coral Block", + "block.minecraft.fire_coral_block": "Fire Coral Block", + "block.minecraft.horn_coral_block": "Horn Coral Block", + "block.minecraft.tube_coral": "Tube Coral", + "block.minecraft.brain_coral": "Brain Coral", + "block.minecraft.bubble_coral": "Bubble Coral", + "block.minecraft.fire_coral": "Fire Coral", + "block.minecraft.horn_coral": "Horn Coral", + "block.minecraft.dead_tube_coral": "Dead Tube Coral", + "block.minecraft.dead_brain_coral": "Dead Brain Coral", + "block.minecraft.dead_bubble_coral": "Dead Bubble Coral", + "block.minecraft.dead_fire_coral": "Dead Fire Coral", + "block.minecraft.dead_horn_coral": "Dead Horn Coral", + "block.minecraft.tube_coral_fan": "Tube Coral Fan", + "block.minecraft.brain_coral_fan": "Brain Coral Fan", + "block.minecraft.bubble_coral_fan": "Bubble Coral Fan", + "block.minecraft.fire_coral_fan": "Fire Coral Fan", + "block.minecraft.horn_coral_fan": "Horn Coral Fan", + "block.minecraft.dead_tube_coral_fan": "Dead Tube Coral Fan", + "block.minecraft.dead_brain_coral_fan": "Dead Brain Coral Fan", + "block.minecraft.dead_bubble_coral_fan": "Dead Bubble Coral Fan", + "block.minecraft.dead_fire_coral_fan": "Dead Fire Coral Fan", + "block.minecraft.dead_horn_coral_fan": "Dead Horn Coral Fan", + "block.minecraft.tube_coral_wall_fan": "Tube Coral Wall Fan", + "block.minecraft.brain_coral_wall_fan": "Brain Coral Wall Fan", + "block.minecraft.bubble_coral_wall_fan": "Bubble Coral Wall Fan", + "block.minecraft.fire_coral_wall_fan": "Fire Coral Wall Fan", + "block.minecraft.horn_coral_wall_fan": "Horn Coral Wall Fan", + "block.minecraft.dead_tube_coral_wall_fan": "Dead Tube Coral Wall Fan", + "block.minecraft.dead_brain_coral_wall_fan": "Dead Brain Coral Wall Fan", + "block.minecraft.dead_bubble_coral_wall_fan": "Dead Bubble Coral Wall Fan", + "block.minecraft.dead_fire_coral_wall_fan": "Dead Fire Coral Wall Fan", + "block.minecraft.dead_horn_coral_wall_fan": "Dead Horn Coral Wall Fan", + "block.minecraft.loom": "Loom", + "block.minecraft.conduit": "Conduit", + "block.minecraft.bamboo": "Bamboo", + "block.minecraft.bamboo_sapling": "Bamboo Sapling", + "block.minecraft.jigsaw": "Jigsaw Block", + "block.minecraft.composter": "Composter", + "block.minecraft.polished_granite_stairs": "Polished Granite Stairs", + "block.minecraft.smooth_red_sandstone_stairs": "Smooth Red Sandstone Stairs", + "block.minecraft.mossy_stone_brick_stairs": "Mossy Stone Brick Stairs", + "block.minecraft.polished_diorite_stairs": "Polished Diorite Stairs", + "block.minecraft.mossy_cobblestone_stairs": "Mossy Cobblestone Stairs", + "block.minecraft.end_stone_brick_stairs": "End Stone Brick Stairs", + "block.minecraft.stone_stairs": "Stone Stairs", + "block.minecraft.smooth_sandstone_stairs": "Smooth Sandstone Stairs", + "block.minecraft.smooth_quartz_stairs": "Smooth Quartz Stairs", + "block.minecraft.granite_stairs": "Granite Stairs", + "block.minecraft.andesite_stairs": "Andesite Stairs", + "block.minecraft.red_nether_brick_stairs": "Red Nether Brick Stairs", + "block.minecraft.polished_andesite_stairs": "Polished Andesite Stairs", + "block.minecraft.diorite_stairs": "Diorite Stairs", + "block.minecraft.polished_granite_slab": "Polished Granite Slab", + "block.minecraft.smooth_red_sandstone_slab": "Smooth Red Sandstone Slab", + "block.minecraft.mossy_stone_brick_slab": "Mossy Stone Brick Slab", + "block.minecraft.polished_diorite_slab": "Polished Diorite Slab", + "block.minecraft.mossy_cobblestone_slab": "Mossy Cobblestone Slab", + "block.minecraft.end_stone_brick_slab": "End Stone Brick Slab", + "block.minecraft.smooth_sandstone_slab": "Smooth Sandstone Slab", + "block.minecraft.smooth_quartz_slab": "Smooth Quartz Slab", + "block.minecraft.granite_slab": "Granite Slab", + "block.minecraft.andesite_slab": "Andesite Slab", + "block.minecraft.red_nether_brick_slab": "Red Nether Brick Slab", + "block.minecraft.polished_andesite_slab": "Polished Andesite Slab", + "block.minecraft.diorite_slab": "Diorite Slab", + "block.minecraft.brick_wall": "Brick Wall", + "block.minecraft.prismarine_wall": "Prismarine Wall", + "block.minecraft.red_sandstone_wall": "Red Sandstone Wall", + "block.minecraft.mossy_stone_brick_wall": "Mossy Stone Brick Wall", + "block.minecraft.granite_wall": "Granite Wall", + "block.minecraft.stone_brick_wall": "Stone Brick Wall", + "block.minecraft.nether_brick_wall": "Nether Brick Wall", + "block.minecraft.andesite_wall": "Andesite Wall", + "block.minecraft.red_nether_brick_wall": "Red Nether Brick Wall", + "block.minecraft.sandstone_wall": "Sandstone Wall", + "block.minecraft.end_stone_brick_wall": "End Stone Brick Wall", + "block.minecraft.diorite_wall": "Diorite Wall", + "block.minecraft.barrel": "Barrel", + "block.minecraft.smoker": "Smoker", + "block.minecraft.blast_furnace": "Blast Furnace", + "block.minecraft.cartography_table": "Cartography Table", + "block.minecraft.fletching_table": "Fletching Table", + "block.minecraft.smithing_table": "Smithing Table", + "block.minecraft.grindstone": "Grindstone", + "block.minecraft.lectern": "Lectern", + "block.minecraft.stonecutter": "Stonecutter", + "block.minecraft.bell": "Bell", + "block.minecraft.ominous_banner": "Ominous Banner", + "block.minecraft.lantern": "Lantern", + "block.minecraft.sweet_berry_bush": "Sweet Berry Bush", + "block.minecraft.campfire": "Campfire", + "item.minecraft.name_tag": "Name Tag", + "item.minecraft.lead": "Lead", + "item.minecraft.iron_shovel": "Iron Shovel", + "item.minecraft.iron_pickaxe": "Iron Pickaxe", + "item.minecraft.iron_axe": "Iron Axe", + "item.minecraft.flint_and_steel": "Flint and Steel", + "item.minecraft.apple": "Apple", + "item.minecraft.cookie": "Cookie", + "item.minecraft.bow": "Bow", + "item.minecraft.arrow": "Arrow", + "item.minecraft.spectral_arrow": "Spectral Arrow", + "item.minecraft.tipped_arrow": "Tipped Arrow", + "item.minecraft.dried_kelp": "Dried Kelp", + "item.minecraft.coal": "Coal", + "item.minecraft.charcoal": "Charcoal", + "item.minecraft.diamond": "Diamond", + "item.minecraft.emerald": "Emerald", + "item.minecraft.iron_ingot": "Iron Ingot", + "item.minecraft.gold_ingot": "Gold Ingot", + "item.minecraft.iron_sword": "Iron Sword", + "item.minecraft.wooden_sword": "Wooden Sword", + "item.minecraft.wooden_shovel": "Wooden Shovel", + "item.minecraft.wooden_pickaxe": "Wooden Pickaxe", + "item.minecraft.wooden_axe": "Wooden Axe", + "item.minecraft.stone_sword": "Stone Sword", + "item.minecraft.stone_shovel": "Stone Shovel", + "item.minecraft.stone_pickaxe": "Stone Pickaxe", + "item.minecraft.stone_axe": "Stone Axe", + "item.minecraft.diamond_sword": "Diamond Sword", + "item.minecraft.diamond_shovel": "Diamond Shovel", + "item.minecraft.diamond_pickaxe": "Diamond Pickaxe", + "item.minecraft.diamond_axe": "Diamond Axe", + "item.minecraft.stick": "Stick", + "item.minecraft.bowl": "Bowl", + "item.minecraft.mushroom_stew": "Mushroom Stew", + "item.minecraft.golden_sword": "Golden Sword", + "item.minecraft.golden_shovel": "Golden Shovel", + "item.minecraft.golden_pickaxe": "Golden Pickaxe", + "item.minecraft.golden_axe": "Golden Axe", + "item.minecraft.string": "String", + "item.minecraft.feather": "Feather", + "item.minecraft.gunpowder": "Gunpowder", + "item.minecraft.wooden_hoe": "Wooden Hoe", + "item.minecraft.stone_hoe": "Stone Hoe", + "item.minecraft.iron_hoe": "Iron Hoe", + "item.minecraft.diamond_hoe": "Diamond Hoe", + "item.minecraft.golden_hoe": "Golden Hoe", + "item.minecraft.wheat_seeds": "Wheat Seeds", + "item.minecraft.pumpkin_seeds": "Pumpkin Seeds", + "item.minecraft.melon_seeds": "Melon Seeds", + "item.minecraft.melon_slice": "Melon Slice", + "item.minecraft.wheat": "Wheat", + "item.minecraft.bread": "Bread", + "item.minecraft.leather_helmet": "Leather Cap", + "item.minecraft.leather_chestplate": "Leather Tunic", + "item.minecraft.leather_leggings": "Leather Pants", + "item.minecraft.leather_boots": "Leather Boots", + "item.minecraft.chainmail_helmet": "Chainmail Helmet", + "item.minecraft.chainmail_chestplate": "Chainmail Chestplate", + "item.minecraft.chainmail_leggings": "Chainmail Leggings", + "item.minecraft.chainmail_boots": "Chainmail Boots", + "item.minecraft.iron_helmet": "Iron Helmet", + "item.minecraft.iron_chestplate": "Iron Chestplate", + "item.minecraft.iron_leggings": "Iron Leggings", + "item.minecraft.iron_boots": "Iron Boots", + "item.minecraft.diamond_helmet": "Diamond Helmet", + "item.minecraft.diamond_chestplate": "Diamond Chestplate", + "item.minecraft.diamond_leggings": "Diamond Leggings", + "item.minecraft.diamond_boots": "Diamond Boots", + "item.minecraft.golden_helmet": "Golden Helmet", + "item.minecraft.golden_chestplate": "Golden Chestplate", + "item.minecraft.golden_leggings": "Golden Leggings", + "item.minecraft.golden_boots": "Golden Boots", + "item.minecraft.flint": "Flint", + "item.minecraft.porkchop": "Raw Porkchop", + "item.minecraft.cooked_porkchop": "Cooked Porkchop", + "item.minecraft.chicken": "Raw Chicken", + "item.minecraft.cooked_chicken": "Cooked Chicken", + "item.minecraft.mutton": "Raw Mutton", + "item.minecraft.cooked_mutton": "Cooked Mutton", + "item.minecraft.rabbit": "Raw Rabbit", + "item.minecraft.cooked_rabbit": "Cooked Rabbit", + "item.minecraft.rabbit_stew": "Rabbit Stew", + "item.minecraft.rabbit_foot": "Rabbit's Foot", + "item.minecraft.rabbit_hide": "Rabbit Hide", + "item.minecraft.beef": "Raw Beef", + "item.minecraft.cooked_beef": "Steak", + "item.minecraft.painting": "Painting", + "item.minecraft.item_frame": "Item Frame", + "item.minecraft.golden_apple": "Golden Apple", + "item.minecraft.enchanted_golden_apple": "Enchanted Golden Apple", + "item.minecraft.sign": "Sign", + "item.minecraft.bucket": "Bucket", + "item.minecraft.water_bucket": "Water Bucket", + "item.minecraft.lava_bucket": "Lava Bucket", + "item.minecraft.pufferfish_bucket": "Bucket of Pufferfish", + "item.minecraft.salmon_bucket": "Bucket of Salmon", + "item.minecraft.cod_bucket": "Bucket of Cod", + "item.minecraft.tropical_fish_bucket": "Bucket of Tropical Fish", + "item.minecraft.minecart": "Minecart", + "item.minecraft.saddle": "Saddle", + "item.minecraft.redstone": "Redstone Dust", + "item.minecraft.snowball": "Snowball", + "item.minecraft.oak_boat": "Oak Boat", + "item.minecraft.spruce_boat": "Spruce Boat", + "item.minecraft.birch_boat": "Birch Boat", + "item.minecraft.jungle_boat": "Jungle Boat", + "item.minecraft.acacia_boat": "Acacia Boat", + "item.minecraft.dark_oak_boat": "Dark Oak Boat", + "item.minecraft.leather": "Leather", + "item.minecraft.milk_bucket": "Milk Bucket", + "item.minecraft.brick": "Brick", + "item.minecraft.clay_ball": "Clay", + "item.minecraft.paper": "Paper", + "item.minecraft.book": "Book", + "item.minecraft.slime_ball": "Slimeball", + "item.minecraft.chest_minecart": "Minecart with Chest", + "item.minecraft.furnace_minecart": "Minecart with Furnace", + "item.minecraft.tnt_minecart": "Minecart with TNT", + "item.minecraft.hopper_minecart": "Minecart with Hopper", + "item.minecraft.command_block_minecart": "Minecart with Command Block", + "item.minecraft.egg": "Egg", + "item.minecraft.compass": "Compass", + "item.minecraft.fishing_rod": "Fishing Rod", + "item.minecraft.clock": "Clock", + "item.minecraft.glowstone_dust": "Glowstone Dust", + "item.minecraft.cod": "Raw Cod", + "item.minecraft.salmon": "Raw Salmon", + "item.minecraft.pufferfish": "Pufferfish", + "item.minecraft.tropical_fish": "Tropical Fish", + "item.minecraft.cooked_cod": "Cooked Cod", + "item.minecraft.cooked_salmon": "Cooked Salmon", + "item.minecraft.music_disc_13": "Music Disc", + "item.minecraft.music_disc_cat": "Music Disc", + "item.minecraft.music_disc_blocks": "Music Disc", + "item.minecraft.music_disc_chirp": "Music Disc", + "item.minecraft.music_disc_far": "Music Disc", + "item.minecraft.music_disc_mall": "Music Disc", + "item.minecraft.music_disc_mellohi": "Music Disc", + "item.minecraft.music_disc_stal": "Music Disc", + "item.minecraft.music_disc_strad": "Music Disc", + "item.minecraft.music_disc_ward": "Music Disc", + "item.minecraft.music_disc_11": "Music Disc", + "item.minecraft.music_disc_wait": "Music Disc", + "item.minecraft.music_disc_13.desc": "C418 - 13", + "item.minecraft.music_disc_cat.desc": "C418 - cat", + "item.minecraft.music_disc_blocks.desc": "C418 - blocks", + "item.minecraft.music_disc_chirp.desc": "C418 - chirp", + "item.minecraft.music_disc_far.desc": "C418 - far", + "item.minecraft.music_disc_mall.desc": "C418 - mall", + "item.minecraft.music_disc_mellohi.desc": "C418 - mellohi", + "item.minecraft.music_disc_stal.desc": "C418 - stal", + "item.minecraft.music_disc_strad.desc": "C418 - strad", + "item.minecraft.music_disc_ward.desc": "C418 - ward", + "item.minecraft.music_disc_11.desc": "C418 - 11", + "item.minecraft.music_disc_wait.desc": "C418 - wait", + "item.minecraft.bone": "Bone", + "item.minecraft.ink_sac": "Ink Sac", + "item.minecraft.red_dye": "Red Dye", + "item.minecraft.green_dye": "Green Dye", + "item.minecraft.cocoa_beans": "Cocoa Beans", + "item.minecraft.lapis_lazuli": "Lapis Lazuli", + "item.minecraft.purple_dye": "Purple Dye", + "item.minecraft.cyan_dye": "Cyan Dye", + "item.minecraft.light_gray_dye": "Light Gray Dye", + "item.minecraft.gray_dye": "Gray Dye", + "item.minecraft.pink_dye": "Pink Dye", + "item.minecraft.lime_dye": "Lime Dye", + "item.minecraft.yellow_dye": "Yellow Dye", + "item.minecraft.light_blue_dye": "Light Blue Dye", + "item.minecraft.magenta_dye": "Magenta Dye", + "item.minecraft.orange_dye": "Orange Dye", + "item.minecraft.bone_meal": "Bone Meal", + "item.minecraft.blue_dye": "Blue Dye", + "item.minecraft.black_dye": "Black Dye", + "item.minecraft.brown_dye": "Brown Dye", + "item.minecraft.white_dye": "White Dye", + "item.minecraft.sugar": "Sugar", + "block.minecraft.black_bed": "Black Bed", + "block.minecraft.red_bed": "Red Bed", + "block.minecraft.green_bed": "Green Bed", + "block.minecraft.brown_bed": "Brown Bed", + "block.minecraft.blue_bed": "Blue Bed", + "block.minecraft.purple_bed": "Purple Bed", + "block.minecraft.cyan_bed": "Cyan Bed", + "block.minecraft.light_gray_bed": "Light Gray Bed", + "block.minecraft.gray_bed": "Gray Bed", + "block.minecraft.pink_bed": "Pink Bed", + "block.minecraft.lime_bed": "Lime Bed", + "block.minecraft.yellow_bed": "Yellow Bed", + "block.minecraft.light_blue_bed": "Light Blue Bed", + "block.minecraft.magenta_bed": "Magenta Bed", + "block.minecraft.orange_bed": "Orange Bed", + "block.minecraft.white_bed": "White Bed", + "block.minecraft.repeater": "Redstone Repeater", + "block.minecraft.comparator": "Redstone Comparator", + "item.minecraft.filled_map": "Map", + "item.minecraft.shears": "Shears", + "item.minecraft.rotten_flesh": "Rotten Flesh", + "item.minecraft.ender_pearl": "Ender Pearl", + "item.minecraft.blaze_rod": "Blaze Rod", + "item.minecraft.ghast_tear": "Ghast Tear", + "item.minecraft.nether_wart": "Nether Wart", + "item.minecraft.potion": "Potion", + "item.minecraft.splash_potion": "Splash Potion", + "item.minecraft.lingering_potion": "Lingering Potion", + "item.minecraft.end_crystal": "End Crystal", + "item.minecraft.gold_nugget": "Gold Nugget", + "item.minecraft.glass_bottle": "Glass Bottle", + "item.minecraft.spider_eye": "Spider Eye", + "item.minecraft.fermented_spider_eye": "Fermented Spider Eye", + "item.minecraft.blaze_powder": "Blaze Powder", + "item.minecraft.magma_cream": "Magma Cream", + "item.minecraft.cauldron": "Cauldron", + "item.minecraft.brewing_stand": "Brewing Stand", + "item.minecraft.ender_eye": "Eye of Ender", + "item.minecraft.glistering_melon_slice": "Glistering Melon Slice", + "item.minecraft.bat_spawn_egg": "Bat Spawn Egg", + "item.minecraft.blaze_spawn_egg": "Blaze Spawn Egg", + "item.minecraft.cat_spawn_egg": "Cat Spawn Egg", + "item.minecraft.cave_spider_spawn_egg": "Cave Spider Spawn Egg", + "item.minecraft.chicken_spawn_egg": "Chicken Spawn Egg", + "item.minecraft.cod_spawn_egg": "Cod Spawn Egg", + "item.minecraft.cow_spawn_egg": "Cow Spawn Egg", + "item.minecraft.creeper_spawn_egg": "Creeper Spawn Egg", + "item.minecraft.dolphin_spawn_egg": "Dolphin Spawn Egg", + "item.minecraft.donkey_spawn_egg": "Donkey Spawn Egg", + "item.minecraft.drowned_spawn_egg": "Drowned Spawn Egg", + "item.minecraft.elder_guardian_spawn_egg": "Elder Guardian Spawn Egg", + "item.minecraft.enderman_spawn_egg": "Enderman Spawn Egg", + "item.minecraft.endermite_spawn_egg": "Endermite Spawn Egg", + "item.minecraft.evoker_spawn_egg": "Evoker Spawn Egg", + "item.minecraft.ghast_spawn_egg": "Ghast Spawn Egg", + "item.minecraft.guardian_spawn_egg": "Guardian Spawn Egg", + "item.minecraft.horse_spawn_egg": "Horse Spawn Egg", + "item.minecraft.husk_spawn_egg": "Husk Spawn Egg", + "item.minecraft.ravager_spawn_egg": "Ravager Spawn Egg", + "item.minecraft.llama_spawn_egg": "Llama Spawn Egg", + "item.minecraft.magma_cube_spawn_egg": "Magma Cube Spawn Egg", + "item.minecraft.mooshroom_spawn_egg": "Mooshroom Spawn Egg", + "item.minecraft.mule_spawn_egg": "Mule Spawn Egg", + "item.minecraft.ocelot_spawn_egg": "Ocelot Spawn Egg", + "item.minecraft.panda_spawn_egg": "Panda Spawn Egg", + "item.minecraft.parrot_spawn_egg": "Parrot Spawn Egg", + "item.minecraft.pig_spawn_egg": "Pig Spawn Egg", + "item.minecraft.pillager_spawn_egg": "Pillager Spawn Egg", + "item.minecraft.phantom_spawn_egg": "Phantom Spawn Egg", + "item.minecraft.polar_bear_spawn_egg": "Polar Bear Spawn Egg", + "item.minecraft.pufferfish_spawn_egg": "Pufferfish Spawn Egg", + "item.minecraft.rabbit_spawn_egg": "Rabbit Spawn Egg", + "item.minecraft.fox_spawn_egg": "Fox Spawn Egg", + "item.minecraft.salmon_spawn_egg": "Salmon Spawn Egg", + "item.minecraft.sheep_spawn_egg": "Sheep Spawn Egg", + "item.minecraft.shulker_spawn_egg": "Shulker Spawn Egg", + "item.minecraft.silverfish_spawn_egg": "Silverfish Spawn Egg", + "item.minecraft.skeleton_spawn_egg": "Skeleton Spawn Egg", + "item.minecraft.skeleton_horse_spawn_egg": "Skeleton Horse Spawn Egg", + "item.minecraft.slime_spawn_egg": "Slime Spawn Egg", + "item.minecraft.spider_spawn_egg": "Spider Spawn Egg", + "item.minecraft.squid_spawn_egg": "Squid Spawn Egg", + "item.minecraft.stray_spawn_egg": "Stray Spawn Egg", + "item.minecraft.trader_llama_spawn_egg": "Trader Llama Spawn Egg", + "item.minecraft.tropical_fish_spawn_egg": "Tropical Fish Spawn Egg", + "item.minecraft.turtle_spawn_egg": "Turtle Spawn Egg", + "item.minecraft.vex_spawn_egg": "Vex Spawn Egg", + "item.minecraft.villager_spawn_egg": "Villager Spawn Egg", + "item.minecraft.wandering_trader_spawn_egg": "Wandering Trader Spawn Egg", + "item.minecraft.vindicator_spawn_egg": "Vindicator Spawn Egg", + "item.minecraft.witch_spawn_egg": "Witch Spawn Egg", + "item.minecraft.wither_skeleton_spawn_egg": "Wither Skeleton Spawn Egg", + "item.minecraft.wolf_spawn_egg": "Wolf Spawn Egg", + "item.minecraft.zombie_spawn_egg": "Zombie Spawn Egg", + "item.minecraft.zombie_horse_spawn_egg": "Zombie Horse Spawn Egg", + "item.minecraft.zombie_pigman_spawn_egg": "Zombie Pigman Spawn Egg", + "item.minecraft.zombie_villager_spawn_egg": "Zombie Villager Spawn Egg", + "item.minecraft.experience_bottle": "Bottle o' Enchanting", + "item.minecraft.fire_charge": "Fire Charge", + "item.minecraft.writable_book": "Book and Quill", + "item.minecraft.written_book": "Written Book", + "item.minecraft.flower_pot": "Flower Pot", + "item.minecraft.map": "Empty Map", + "item.minecraft.carrot": "Carrot", + "item.minecraft.golden_carrot": "Golden Carrot", + "item.minecraft.potato": "Potato", + "item.minecraft.baked_potato": "Baked Potato", + "item.minecraft.poisonous_potato": "Poisonous Potato", + "item.minecraft.skeleton_skull": "Skeleton Skull", + "item.minecraft.wither_skeleton_skull": "Wither Skeleton Skull", + "item.minecraft.zombie_head": "Zombie Head", + "item.minecraft.creeper_head": "Creeper Head", + "item.minecraft.dragon_head": "Dragon Head", + "item.minecraft.carrot_on_a_stick": "Carrot on a Stick", + "item.minecraft.nether_star": "Nether Star", + "item.minecraft.pumpkin_pie": "Pumpkin Pie", + "item.minecraft.enchanted_book": "Enchanted Book", + "item.minecraft.firework_rocket": "Firework Rocket", + "item.minecraft.firework_rocket.flight": "Flight Duration:", + "item.minecraft.firework_star": "Firework Star", + "item.minecraft.firework_star.black": "Black", + "item.minecraft.firework_star.red": "Red", + "item.minecraft.firework_star.green": "Green", + "item.minecraft.firework_star.brown": "Brown", + "item.minecraft.firework_star.blue": "Blue", + "item.minecraft.firework_star.purple": "Purple", + "item.minecraft.firework_star.cyan": "Cyan", + "item.minecraft.firework_star.light_gray": "Light Gray", + "item.minecraft.firework_star.gray": "Gray", + "item.minecraft.firework_star.pink": "Pink", + "item.minecraft.firework_star.lime": "Lime", + "item.minecraft.firework_star.yellow": "Yellow", + "item.minecraft.firework_star.light_blue": "Light Blue", + "item.minecraft.firework_star.magenta": "Magenta", + "item.minecraft.firework_star.orange": "Orange", + "item.minecraft.firework_star.white": "White", + "item.minecraft.firework_star.custom_color": "Custom", + "item.minecraft.firework_star.fade_to": "Fade to", + "item.minecraft.firework_star.flicker": "Twinkle", + "item.minecraft.firework_star.trail": "Trail", + "item.minecraft.firework_star.shape.small_ball": "Small Ball", + "item.minecraft.firework_star.shape.large_ball": "Large Ball", + "item.minecraft.firework_star.shape.star": "Star-shaped", + "item.minecraft.firework_star.shape.creeper": "Creeper-shaped", + "item.minecraft.firework_star.shape.burst": "Burst", + "item.minecraft.firework_star.shape": "Unknown Shape", + "item.minecraft.nether_brick": "Nether Brick", + "item.minecraft.quartz": "Nether Quartz", + "item.minecraft.armor_stand": "Armor Stand", + "item.minecraft.iron_horse_armor": "Iron Horse Armor", + "item.minecraft.golden_horse_armor": "Golden Horse Armor", + "item.minecraft.diamond_horse_armor": "Diamond Horse Armor", + "item.minecraft.leather_horse_armor": "Leather Horse Armor", + "item.minecraft.prismarine_shard": "Prismarine Shard", + "item.minecraft.prismarine_crystals": "Prismarine Crystals", + "item.minecraft.chorus_fruit": "Chorus Fruit", + "item.minecraft.popped_chorus_fruit": "Popped Chorus Fruit", + "item.minecraft.beetroot": "Beetroot", + "item.minecraft.beetroot_seeds": "Beetroot Seeds", + "item.minecraft.beetroot_soup": "Beetroot Soup", + "item.minecraft.dragon_breath": "Dragon's Breath", + "item.minecraft.elytra": "Elytra", + "item.minecraft.totem_of_undying": "Totem of Undying", + "item.minecraft.shulker_shell": "Shulker Shell", + "item.minecraft.iron_nugget": "Iron Nugget", + "item.minecraft.knowledge_book": "Knowledge Book", + "item.minecraft.debug_stick": "Debug Stick", + "item.minecraft.debug_stick.empty": "%s has no properties", + "item.minecraft.debug_stick.update": "\"%s\" to %s", + "item.minecraft.debug_stick.select": "selected \"%s\" (%s)", + "item.minecraft.trident": "Trident", + "item.minecraft.scute": "Scute", + "item.minecraft.turtle_helmet": "Turtle Shell", + "item.minecraft.phantom_membrane": "Phantom Membrane", + "item.minecraft.nautilus_shell": "Nautilus Shell", + "item.minecraft.heart_of_the_sea": "Heart of the Sea", + "item.minecraft.crossbow": "Crossbow", + "item.minecraft.crossbow.projectile": "Projectile:", + "item.minecraft.suspicious_stew": "Suspicious Stew", + "item.minecraft.creeper_banner_pattern": "Banner Pattern", + "item.minecraft.skull_banner_pattern": "Banner Pattern", + "item.minecraft.flower_banner_pattern": "Banner Pattern", + "item.minecraft.mojang_banner_pattern": "Banner Pattern", + "item.minecraft.globe_banner_pattern": "Banner Pattern", + "item.minecraft.creeper_banner_pattern.desc": "Creeper Charge", + "item.minecraft.skull_banner_pattern.desc": "Skull Charge", + "item.minecraft.flower_banner_pattern.desc": "Flower Charge", + "item.minecraft.mojang_banner_pattern.desc": "Thing", + "item.minecraft.globe_banner_pattern.desc": "Globe", + "item.minecraft.sweet_berries": "Sweet Berries", + "container.inventory": "Inventory", + "container.hopper": "Item Hopper", + "container.crafting": "Crafting", + "container.dispenser": "Dispenser", + "container.dropper": "Dropper", + "container.furnace": "Furnace", + "container.enchant": "Enchant", + "container.smoker": "Smoker", + "container.lectern": "Lectern", + "container.blast_furnace": "Blast Furnace", + "container.enchant.lapis.one": "1 Lapis Lazuli", + "container.enchant.lapis.many": "%s Lapis Lazuli", + "container.enchant.level.one": "1 Enchantment Level", + "container.enchant.level.many": "%s Enchantment Levels", + "container.enchant.level.requirement": "Level requirement: %s", + "container.enchant.clue": "%s . . . ?", + "container.repair": "Repair & Name", + "container.repair.cost": "Enchantment Cost: %1$s", + "container.repair.expensive": "Too Expensive!", + "container.creative": "Item Selection", + "container.brewing": "Brewing Stand", + "container.chest": "Chest", + "container.chestDouble": "Large Chest", + "container.enderchest": "Ender Chest", + "container.beacon": "Beacon", + "container.shulkerBox": "Shulker Box", + "container.shulkerBox.more": "and %s more...", + "container.barrel": "Barrel", + "container.spectatorCantOpen": "Unable to open. Loot not generated yet.", + "container.isLocked": "%s is locked!", + "container.loom": "Loom", + "container.grindstone_title": "Repair & Disenchant", + "container.cartography_table": "Cartography Table", + "container.stonecutter": "Stonecutter", + "structure_block.invalid_structure_name": "Invalid structure name '%s'", + "structure_block.save_success": "Structure saved as '%s'", + "structure_block.save_failure": "Unable to save structure '%s'", + "structure_block.load_success": "Structure loaded from '%s'", + "structure_block.load_prepare": "Structure '%s' position prepared", + "structure_block.load_not_found": "Structure '%s' is not available", + "structure_block.size_success": "Size successfully detected for '%s'", + "structure_block.size_failure": "Unable to detect structure size. Add corners with matching structure names", + "structure_block.mode.save": "Save", + "structure_block.mode.load": "Load", + "structure_block.mode.data": "Data", + "structure_block.mode.corner": "Corner", + "structure_block.hover.save": "Save: %s", + "structure_block.hover.load": "Load: %s", + "structure_block.hover.data": "Data: %s", + "structure_block.hover.corner": "Corner: %s", + "structure_block.mode_info.save": "Save mode - write to file", + "structure_block.mode_info.load": "Load mode - load from file", + "structure_block.mode_info.data": "Data mode - game logic marker", + "structure_block.mode_info.corner": "Corner mode - placement and size marker", + "structure_block.structure_name": "Structure Name", + "structure_block.custom_data": "Custom Data Tag Name", + "structure_block.position": "Relative Position", + "structure_block.position.x": "relative Position x", + "structure_block.position.y": "relative position y", + "structure_block.position.z": "relative position z", + "structure_block.size": "Structure Size", + "structure_block.size.x": "structure size x", + "structure_block.size.y": "structure size y", + "structure_block.size.z": "structure size z", + "structure_block.integrity": "Structure Integrity and Seed", + "structure_block.integrity.integrity": "Structure Integrity", + "structure_block.integrity.seed": "Structure Seed", + "structure_block.include_entities": "Include entities:", + "structure_block.detect_size": "Detect structure size and position:", + "structure_block.button.detect_size": "DETECT", + "structure_block.button.save": "SAVE", + "structure_block.button.load": "LOAD", + "structure_block.show_air": "Show invisible blocks:", + "structure_block.show_boundingbox": "Show bounding box:", + "jigsaw_block.target_pool": "Target pool:", + "jigsaw_block.attachement_type": "Attachment type:", + "jigsaw_block.final_state": "Turns into:", + "item.dyed": "Dyed", + "item.unbreakable": "Unbreakable", + "item.canBreak": "Can break:", + "item.canPlace": "Can be placed on:", + "item.color": "Color: %s", + "item.nbt_tags": "NBT: %s tag(s)", + "item.durability": "Durability: %s / %s", + "filled_map.mansion": "Woodland Explorer Map", + "filled_map.monument": "Ocean Explorer Map", + "filled_map.buried_treasure": "Buried Treasure Map", + "filled_map.unknown": "Unknown Map", + "filled_map.id": "Id #%s", + "filled_map.level": "(Level %s/%s)", + "filled_map.scale": "Scaling at 1:%s", + "filled_map.locked": "Locked", + "entity.minecraft.area_effect_cloud": "Area Effect Cloud", + "entity.minecraft.armor_stand": "Armor Stand", + "entity.minecraft.arrow": "Arrow", + "entity.minecraft.bat": "Bat", + "entity.minecraft.blaze": "Blaze", + "entity.minecraft.boat": "Boat", + "entity.minecraft.cat": "Cat", + "entity.minecraft.cave_spider": "Cave Spider", + "entity.minecraft.chest_minecart": "Minecart with Chest", + "entity.minecraft.chicken": "Chicken", + "entity.minecraft.command_block_minecart": "Minecart with Command Block", + "entity.minecraft.cod": "Cod", + "entity.minecraft.cow": "Cow", + "entity.minecraft.creeper": "Creeper", + "entity.minecraft.dolphin": "Dolphin", + "entity.minecraft.donkey": "Donkey", + "entity.minecraft.drowned": "Drowned", + "entity.minecraft.dragon_fireball": "Dragon Fireball", + "entity.minecraft.egg": "Thrown Egg", + "entity.minecraft.elder_guardian": "Elder Guardian", + "entity.minecraft.end_crystal": "End Crystal", + "entity.minecraft.ender_dragon": "Ender Dragon", + "entity.minecraft.ender_pearl": "Thrown Ender Pearl", + "entity.minecraft.enderman": "Enderman", + "entity.minecraft.endermite": "Endermite", + "entity.minecraft.evoker_fangs": "Evoker Fangs", + "entity.minecraft.evoker": "Evoker", + "entity.minecraft.eye_of_ender": "Eye of Ender", + "entity.minecraft.falling_block": "Falling Block", + "entity.minecraft.fireball": "Fireball", + "entity.minecraft.firework_rocket": "Firework Rocket", + "entity.minecraft.fishing_bobber": "Fishing Bobber", + "entity.minecraft.fox": "Fox", + "entity.minecraft.furnace_minecart": "Minecart with Furnace", + "entity.minecraft.ghast": "Ghast", + "entity.minecraft.giant": "Giant", + "entity.minecraft.guardian": "Guardian", + "entity.minecraft.hopper_minecart": "Minecart with Hopper", + "entity.minecraft.horse": "Horse", + "entity.minecraft.husk": "Husk", + "entity.minecraft.ravager": "Ravager", + "entity.minecraft.illusioner": "Illusioner", + "entity.minecraft.item": "Item", + "entity.minecraft.item_frame": "Item Frame", + "entity.minecraft.killer_bunny": "The Killer Bunny", + "entity.minecraft.leash_knot": "Leash Knot", + "entity.minecraft.lightning_bolt": "Lightning Bolt", + "entity.minecraft.llama": "Llama", + "entity.minecraft.llama_spit": "Llama Spit", + "entity.minecraft.magma_cube": "Magma Cube", + "entity.minecraft.minecart": "Minecart", + "entity.minecraft.mooshroom": "Mooshroom", + "entity.minecraft.mule": "Mule", + "entity.minecraft.ocelot": "Ocelot", + "entity.minecraft.painting": "Painting", + "entity.minecraft.panda": "Panda", + "entity.minecraft.parrot": "Parrot", + "entity.minecraft.phantom": "Phantom", + "entity.minecraft.pig": "Pig", + "entity.minecraft.pillager": "Pillager", + "entity.minecraft.player": "Player", + "entity.minecraft.polar_bear": "Polar Bear", + "entity.minecraft.potion": "Potion", + "entity.minecraft.pufferfish": "Pufferfish", + "entity.minecraft.rabbit": "Rabbit", + "entity.minecraft.salmon": "Salmon", + "entity.minecraft.sheep": "Sheep", + "entity.minecraft.shulker": "Shulker", + "entity.minecraft.shulker_bullet": "Shulker Bullet", + "entity.minecraft.silverfish": "Silverfish", + "entity.minecraft.skeleton": "Skeleton", + "entity.minecraft.skeleton_horse": "Skeleton Horse", + "entity.minecraft.slime": "Slime", + "entity.minecraft.small_fireball": "Small Fireball", + "entity.minecraft.snowball": "Snowball", + "entity.minecraft.snow_golem": "Snow Golem", + "entity.minecraft.spawner_minecart": "Minecart with Spawner", + "entity.minecraft.spectral_arrow": "Spectral Arrow", + "entity.minecraft.spider": "Spider", + "entity.minecraft.squid": "Squid", + "entity.minecraft.stray": "Stray", + "entity.minecraft.tnt": "Primed TNT", + "entity.minecraft.tnt_minecart": "Minecart with TNT", + "entity.minecraft.trader_llama": "Trader Llama", + "entity.minecraft.trident": "Trident", + "entity.minecraft.tropical_fish": "Tropical Fish", + "entity.minecraft.tropical_fish.predefined.0": "Anemone", + "entity.minecraft.tropical_fish.predefined.1": "Black Tang", + "entity.minecraft.tropical_fish.predefined.2": "Blue Tang", + "entity.minecraft.tropical_fish.predefined.3": "Butterflyfish", + "entity.minecraft.tropical_fish.predefined.4": "Cichlid", + "entity.minecraft.tropical_fish.predefined.5": "Clownfish", + "entity.minecraft.tropical_fish.predefined.6": "Cotton Candy Betta", + "entity.minecraft.tropical_fish.predefined.7": "Dottyback", + "entity.minecraft.tropical_fish.predefined.8": "Emperor Red Snapper", + "entity.minecraft.tropical_fish.predefined.9": "Goatfish", + "entity.minecraft.tropical_fish.predefined.10": "Moorish Idol", + "entity.minecraft.tropical_fish.predefined.11": "Ornate Butterflyfish", + "entity.minecraft.tropical_fish.predefined.12": "Parrotfish", + "entity.minecraft.tropical_fish.predefined.13": "Queen Angelfish", + "entity.minecraft.tropical_fish.predefined.14": "Red Cichlid", + "entity.minecraft.tropical_fish.predefined.15": "Red Lipped Blenny", + "entity.minecraft.tropical_fish.predefined.16": "Red Snapper", + "entity.minecraft.tropical_fish.predefined.17": "Threadfin", + "entity.minecraft.tropical_fish.predefined.18": "Tomato Clownfish", + "entity.minecraft.tropical_fish.predefined.19": "Triggerfish", + "entity.minecraft.tropical_fish.predefined.20": "Yellowtail Parrotfish", + "entity.minecraft.tropical_fish.predefined.21": "Yellow Tang", + "entity.minecraft.tropical_fish.type.flopper": "Flopper", + "entity.minecraft.tropical_fish.type.stripey": "Stripey", + "entity.minecraft.tropical_fish.type.glitter": "Glitter", + "entity.minecraft.tropical_fish.type.blockfish": "Blockfish", + "entity.minecraft.tropical_fish.type.betty": "Betty", + "entity.minecraft.tropical_fish.type.clayfish": "Clayfish", + "entity.minecraft.tropical_fish.type.kob": "Kob", + "entity.minecraft.tropical_fish.type.sunstreak": "SunStreak", + "entity.minecraft.tropical_fish.type.snooper": "Snooper", + "entity.minecraft.tropical_fish.type.dasher": "Dasher", + "entity.minecraft.tropical_fish.type.brinely": "Brinely", + "entity.minecraft.tropical_fish.type.spotty": "Spotty", + "entity.minecraft.turtle": "Turtle", + "entity.minecraft.vex": "Vex", + "entity.minecraft.villager.armorer": "Armorer", + "entity.minecraft.villager.butcher": "Butcher", + "entity.minecraft.villager.cartographer": "Cartographer", + "entity.minecraft.villager.cleric": "Cleric", + "entity.minecraft.villager.farmer": "Farmer", + "entity.minecraft.villager.fisherman": "Fisherman", + "entity.minecraft.villager.fletcher": "Fletcher", + "entity.minecraft.villager.leatherworker": "Leatherworker", + "entity.minecraft.villager.librarian": "Librarian", + "entity.minecraft.villager.mason": "Mason", + "entity.minecraft.villager.none": "Villager", + "entity.minecraft.villager.nitwit": "Nitwit", + "entity.minecraft.villager.shepherd": "Shepherd", + "entity.minecraft.villager.toolsmith": "Toolsmith", + "entity.minecraft.villager.weaponsmith": "Weaponsmith", + "entity.minecraft.villager": "Villager", + "entity.minecraft.wandering_trader": "Wandering Trader", + "entity.minecraft.iron_golem": "Iron Golem", + "entity.minecraft.vindicator": "Vindicator", + "entity.minecraft.witch": "Witch", + "entity.minecraft.wither": "Wither", + "entity.minecraft.wither_skeleton": "Wither Skeleton", + "entity.minecraft.wither_skull": "Wither Skull", + "entity.minecraft.wolf": "Wolf", + "entity.minecraft.experience_bottle": "Thrown Bottle o' Enchanting", + "entity.minecraft.experience_orb": "Experience Orb", + "entity.minecraft.zombie": "Zombie", + "entity.minecraft.zombie_horse": "Zombie Horse", + "entity.minecraft.zombie_pigman": "Zombie Pigman", + "entity.minecraft.zombie_villager": "Zombie Villager", + "death.fell.accident.ladder": "%1$s fell off a ladder", + "death.fell.accident.vines": "%1$s fell off some vines", + "death.fell.accident.water": "%1$s fell out of the water", + "death.fell.accident.generic": "%1$s fell from a high place", + "death.fell.killer": "%1$s was doomed to fall", + "death.fell.assist": "%1$s was doomed to fall by %2$s", + "death.fell.assist.item": "%1$s was doomed to fall by %2$s using %3$s", + "death.fell.finish": "%1$s fell too far and was finished by %2$s", + "death.fell.finish.item": "%1$s fell too far and was finished by %2$s using %3$s", + "death.attack.lightningBolt": "%1$s was struck by lightning", + "death.attack.lightningBolt.player": "%1$s was struck by lightning whilst fighting %2$s", + "death.attack.inFire": "%1$s went up in flames", + "death.attack.inFire.player": "%1$s walked into fire whilst fighting %2$s", + "death.attack.onFire": "%1$s burned to death", + "death.attack.onFire.player": "%1$s was burnt to a crisp whilst fighting %2$s", + "death.attack.lava": "%1$s tried to swim in lava", + "death.attack.lava.player": "%1$s tried to swim in lava to escape %2$s", + "death.attack.hotFloor": "%1$s discovered the floor was lava", + "death.attack.hotFloor.player": "%1$s walked into danger zone due to %2$s", + "death.attack.inWall": "%1$s suffocated in a wall", + "death.attack.inWall.player": "%1$s suffocated in a wall whilst fighting %2$s", + "death.attack.cramming": "%1$s was squished too much", + "death.attack.cramming.player": "%1$s was squashed by %2$s", + "death.attack.drown": "%1$s drowned", + "death.attack.drown.player": "%1$s drowned whilst trying to escape %2$s", + "death.attack.starve": "%1$s starved to death", + "death.attack.starve.player": "%1$s starved to death whilst fighting %2$s", + "death.attack.cactus": "%1$s was pricked to death", + "death.attack.cactus.player": "%1$s walked into a cactus whilst trying to escape %2$s", + "death.attack.generic": "%1$s died", + "death.attack.generic.player": "%1$s died because of %2$s", + "death.attack.explosion": "%1$s blew up", + "death.attack.explosion.player": "%1$s was blown up by %2$s", + "death.attack.explosion.player.item": "%1$s was blown up by %2$s using %3$s", + "death.attack.magic": "%1$s was killed by magic", + "death.attack.even_more_magic": "%1$s was killed by even more magic", + "death.attack.message_too_long": "Actually, message was too long to deliver fully. Sorry! Here's stripped version: %s", + "death.attack.wither": "%1$s withered away", + "death.attack.wither.player": "%1$s withered away whilst fighting %2$s", + "death.attack.anvil": "%1$s was squashed by a falling anvil", + "death.attack.anvil.player": "%1$s was squashed by a falling anvil whilst fighting %2$s", + "death.attack.fallingBlock": "%1$s was squashed by a falling block", + "death.attack.fallingBlock.player": "%1$s was squashed by a falling block whilst fighting %2$s", + "death.attack.mob": "%1$s was slain by %2$s", + "death.attack.mob.item": "%1$s was slain by %2$s using %3$s", + "death.attack.player": "%1$s was slain by %2$s", + "death.attack.player.item": "%1$s was slain by %2$s using %3$s", + "death.attack.arrow": "%1$s was shot by %2$s", + "death.attack.arrow.item": "%1$s was shot by %2$s using %3$s", + "death.attack.fireball": "%1$s was fireballed by %2$s", + "death.attack.fireball.item": "%1$s was fireballed by %2$s using %3$s", + "death.attack.thrown": "%1$s was pummeled by %2$s", + "death.attack.thrown.item": "%1$s was pummeled by %2$s using %3$s", + "death.attack.indirectMagic": "%1$s was killed by %2$s using magic", + "death.attack.indirectMagic.item": "%1$s was killed by %2$s using %3$s", + "death.attack.thorns": "%1$s was killed trying to hurt %2$s", + "death.attack.thorns.item": "%1$s was killed by %3$s trying to hurt %2$s", + "death.attack.trident": "%1$s was impaled by %2$s", + "death.attack.trident.item": "%1$s was impaled by %2$s with %3$s", + "death.attack.fall": "%1$s hit the ground too hard", + "death.attack.fall.player": "%1$s hit the ground too hard whilst trying to escape %2$s", + "death.attack.outOfWorld": "%1$s fell out of the world", + "death.attack.outOfWorld.player": "%1$s didn't want to live in the same world as %2$s", + "death.attack.dragonBreath": "%1$s was roasted in dragon breath", + "death.attack.dragonBreath.player": "%1$s was roasted in dragon breath by %2$s", + "death.attack.flyIntoWall": "%1$s experienced kinetic energy", + "death.attack.flyIntoWall.player": "%1$s experienced kinetic energy whilst trying to escape %2$s", + "death.attack.fireworks": "%1$s went off with a bang", + "death.attack.fireworks.player": "%1$s went off with a bang whilst fighting %2$s", + "death.attack.netherBed.message": "%1$s was killed by %2$s", + "death.attack.netherBed.link": "Intentional Game Design", + "death.attack.sweetBerryBush": "%1$s was poked to death by a sweet berry bush", + "death.attack.sweetBerryBush.player": "%1$s was poked to death by a sweet berry bush whilst trying to escape %2$s", + "deathScreen.respawn": "Respawn", + "deathScreen.spectate": "Spectate world", + "deathScreen.deleteWorld": "Delete world", + "deathScreen.titleScreen": "Title screen", + "deathScreen.score": "Score", + "deathScreen.title.hardcore": "Game over!", + "deathScreen.title": "You died!", + "deathScreen.leaveServer": "Leave server", + "deathScreen.quit.confirm": "Are you sure you want to quit?", + "effect.none": "No Effects", + "effect.minecraft.speed": "Speed", + "effect.minecraft.slowness": "Slowness", + "effect.minecraft.haste": "Haste", + "effect.minecraft.mining_fatigue": "Mining Fatigue", + "effect.minecraft.strength": "Strength", + "effect.minecraft.instant_health": "Instant Health", + "effect.minecraft.instant_damage": "Instant Damage", + "effect.minecraft.jump_boost": "Jump Boost", + "effect.minecraft.nausea": "Nausea", + "effect.minecraft.regeneration": "Regeneration", + "effect.minecraft.resistance": "Resistance", + "effect.minecraft.fire_resistance": "Fire Resistance", + "effect.minecraft.water_breathing": "Water Breathing", + "effect.minecraft.invisibility": "Invisibility", + "effect.minecraft.blindness": "Blindness", + "effect.minecraft.night_vision": "Night Vision", + "effect.minecraft.hunger": "Hunger", + "effect.minecraft.weakness": "Weakness", + "effect.minecraft.poison": "Poison", + "effect.minecraft.wither": "Wither", + "effect.minecraft.health_boost": "Health Boost", + "effect.minecraft.absorption": "Absorption", + "effect.minecraft.saturation": "Saturation", + "effect.minecraft.glowing": "Glowing", + "effect.minecraft.luck": "Luck", + "effect.minecraft.unluck": "Bad Luck", + "effect.minecraft.levitation": "Levitation", + "effect.minecraft.slow_falling": "Slow Falling", + "effect.minecraft.conduit_power": "Conduit Power", + "effect.minecraft.dolphins_grace": "Dolphin's Grace", + "effect.minecraft.bad_omen": "Bad Omen", + "effect.minecraft.hero_of_the_village": "Hero of the Village", + "event.minecraft.raid": "Raid", + "event.minecraft.raid.raiders_remaining": "Raiders remaining: %s", + "event.minecraft.raid.victory": "Victory", + "event.minecraft.raid.defeat": "Defeat", + "item.minecraft.tipped_arrow.effect.empty": "Uncraftable Tipped Arrow", + "item.minecraft.tipped_arrow.effect.water": "Arrow of Splashing", + "item.minecraft.tipped_arrow.effect.mundane": "Tipped Arrow", + "item.minecraft.tipped_arrow.effect.thick": "Tipped Arrow", + "item.minecraft.tipped_arrow.effect.awkward": "Tipped Arrow", + "item.minecraft.tipped_arrow.effect.night_vision": "Arrow of Night Vision", + "item.minecraft.tipped_arrow.effect.invisibility": "Arrow of Invisibility", + "item.minecraft.tipped_arrow.effect.leaping": "Arrow of Leaping", + "item.minecraft.tipped_arrow.effect.fire_resistance": "Arrow of Fire Resistance", + "item.minecraft.tipped_arrow.effect.swiftness": "Arrow of Swiftness", + "item.minecraft.tipped_arrow.effect.slowness": "Arrow of Slowness", + "item.minecraft.tipped_arrow.effect.water_breathing": "Arrow of Water Breathing", + "item.minecraft.tipped_arrow.effect.healing": "Arrow of Healing", + "item.minecraft.tipped_arrow.effect.harming": "Arrow of Harming", + "item.minecraft.tipped_arrow.effect.poison": "Arrow of Poison", + "item.minecraft.tipped_arrow.effect.regeneration": "Arrow of Regeneration", + "item.minecraft.tipped_arrow.effect.strength": "Arrow of Strength", + "item.minecraft.tipped_arrow.effect.weakness": "Arrow of Weakness", + "item.minecraft.tipped_arrow.effect.levitation": "Arrow of Levitation", + "item.minecraft.tipped_arrow.effect.luck": "Arrow of Luck", + "item.minecraft.tipped_arrow.effect.turtle_master": "Arrow of the Turtle Master", + "item.minecraft.tipped_arrow.effect.slow_falling": "Arrow of Slow Falling", + "potion.whenDrank": "When Applied:", + "item.minecraft.potion.effect.empty": "Uncraftable Potion", + "item.minecraft.potion.effect.water": "Water Bottle", + "item.minecraft.potion.effect.mundane": "Mundane Potion", + "item.minecraft.potion.effect.thick": "Thick Potion", + "item.minecraft.potion.effect.awkward": "Awkward Potion", + "item.minecraft.potion.effect.night_vision": "Potion of Night Vision", + "item.minecraft.potion.effect.invisibility": "Potion of Invisibility", + "item.minecraft.potion.effect.leaping": "Potion of Leaping", + "item.minecraft.potion.effect.fire_resistance": "Potion of Fire Resistance", + "item.minecraft.potion.effect.swiftness": "Potion of Swiftness", + "item.minecraft.potion.effect.slowness": "Potion of Slowness", + "item.minecraft.potion.effect.water_breathing": "Potion of Water Breathing", + "item.minecraft.potion.effect.healing": "Potion of Healing", + "item.minecraft.potion.effect.harming": "Potion of Harming", + "item.minecraft.potion.effect.poison": "Potion of Poison", + "item.minecraft.potion.effect.regeneration": "Potion of Regeneration", + "item.minecraft.potion.effect.strength": "Potion of Strength", + "item.minecraft.potion.effect.weakness": "Potion of Weakness", + "item.minecraft.potion.effect.levitation": "Potion of Levitation", + "item.minecraft.potion.effect.luck": "Potion of Luck", + "item.minecraft.potion.effect.turtle_master": "Potion of the Turtle Master", + "item.minecraft.potion.effect.slow_falling": "Potion of Slow Falling", + "item.minecraft.splash_potion.effect.empty": "Splash Uncraftable Potion", + "item.minecraft.splash_potion.effect.water": "Splash Water Bottle", + "item.minecraft.splash_potion.effect.mundane": "Mundane Splash Potion", + "item.minecraft.splash_potion.effect.thick": "Thick Splash Potion", + "item.minecraft.splash_potion.effect.awkward": "Awkward Splash Potion", + "item.minecraft.splash_potion.effect.night_vision": "Splash Potion of Night Vision", + "item.minecraft.splash_potion.effect.invisibility": "Splash Potion of Invisibility", + "item.minecraft.splash_potion.effect.leaping": "Splash Potion of Leaping", + "item.minecraft.splash_potion.effect.fire_resistance": "Splash Potion of Fire Resistance", + "item.minecraft.splash_potion.effect.swiftness": "Splash Potion of Swiftness", + "item.minecraft.splash_potion.effect.slowness": "Splash Potion of Slowness", + "item.minecraft.splash_potion.effect.water_breathing": "Splash Potion of Water Breathing", + "item.minecraft.splash_potion.effect.healing": "Splash Potion of Healing", + "item.minecraft.splash_potion.effect.harming": "Splash Potion of Harming", + "item.minecraft.splash_potion.effect.poison": "Splash Potion of Poison", + "item.minecraft.splash_potion.effect.regeneration": "Splash Potion of Regeneration", + "item.minecraft.splash_potion.effect.strength": "Splash Potion of Strength", + "item.minecraft.splash_potion.effect.weakness": "Splash Potion of Weakness", + "item.minecraft.splash_potion.effect.levitation": "Splash Potion of Levitation", + "item.minecraft.splash_potion.effect.luck": "Splash Potion of Luck", + "item.minecraft.splash_potion.effect.turtle_master": "Splash Potion of the Turtle Master", + "item.minecraft.splash_potion.effect.slow_falling": "Splash Potion of Slow Falling", + "item.minecraft.lingering_potion.effect.empty": "Lingering Uncraftable Potion", + "item.minecraft.lingering_potion.effect.water": "Lingering Water Bottle", + "item.minecraft.lingering_potion.effect.mundane": "Mundane Lingering Potion", + "item.minecraft.lingering_potion.effect.thick": "Thick Lingering Potion", + "item.minecraft.lingering_potion.effect.awkward": "Awkward Lingering Potion", + "item.minecraft.lingering_potion.effect.night_vision": "Lingering Potion of Night Vision", + "item.minecraft.lingering_potion.effect.invisibility": "Lingering Potion of Invisibility", + "item.minecraft.lingering_potion.effect.leaping": "Lingering Potion of Leaping", + "item.minecraft.lingering_potion.effect.fire_resistance": "Lingering Potion of Fire Resistance", + "item.minecraft.lingering_potion.effect.swiftness": "Lingering Potion of Swiftness", + "item.minecraft.lingering_potion.effect.slowness": "Lingering Potion of Slowness", + "item.minecraft.lingering_potion.effect.water_breathing": "Lingering Potion of Water Breathing", + "item.minecraft.lingering_potion.effect.healing": "Lingering Potion of Healing", + "item.minecraft.lingering_potion.effect.harming": "Lingering Potion of Harming", + "item.minecraft.lingering_potion.effect.poison": "Lingering Potion of Poison", + "item.minecraft.lingering_potion.effect.regeneration": "Lingering Potion of Regeneration", + "item.minecraft.lingering_potion.effect.strength": "Lingering Potion of Strength", + "item.minecraft.lingering_potion.effect.weakness": "Lingering Potion of Weakness", + "item.minecraft.lingering_potion.effect.levitation": "Lingering Potion of Levitation", + "item.minecraft.lingering_potion.effect.luck": "Lingering Potion of Luck", + "item.minecraft.lingering_potion.effect.turtle_master": "Lingering Potion of the Turtle Master", + "item.minecraft.lingering_potion.effect.slow_falling": "Lingering Potion of Slow Falling", + "potion.potency.0": "", + "potion.potency.1": "II", + "potion.potency.2": "III", + "potion.potency.3": "IV", + "potion.potency.4": "V", + "potion.potency.5": "VI", + "enchantment.minecraft.sharpness": "Sharpness", + "enchantment.minecraft.smite": "Smite", + "enchantment.minecraft.bane_of_arthropods": "Bane of Arthropods", + "enchantment.minecraft.knockback": "Knockback", + "enchantment.minecraft.fire_aspect": "Fire Aspect", + "enchantment.minecraft.sweeping": "Sweeping Edge", + "enchantment.minecraft.protection": "Protection", + "enchantment.minecraft.fire_protection": "Fire Protection", + "enchantment.minecraft.feather_falling": "Feather Falling", + "enchantment.minecraft.blast_protection": "Blast Protection", + "enchantment.minecraft.projectile_protection": "Projectile Protection", + "enchantment.minecraft.respiration": "Respiration", + "enchantment.minecraft.aqua_affinity": "Aqua Affinity", + "enchantment.minecraft.depth_strider": "Depth Strider", + "enchantment.minecraft.frost_walker": "Frost Walker", + "enchantment.minecraft.efficiency": "Efficiency", + "enchantment.minecraft.silk_touch": "Silk Touch", + "enchantment.minecraft.unbreaking": "Unbreaking", + "enchantment.minecraft.looting": "Looting", + "enchantment.minecraft.fortune": "Fortune", + "enchantment.minecraft.luck_of_the_sea": "Luck of the Sea", + "enchantment.minecraft.lure": "Lure", + "enchantment.minecraft.power": "Power", + "enchantment.minecraft.flame": "Flame", + "enchantment.minecraft.punch": "Punch", + "enchantment.minecraft.infinity": "Infinity", + "enchantment.minecraft.thorns": "Thorns", + "enchantment.minecraft.mending": "Mending", + "enchantment.minecraft.binding_curse": "Curse of Binding", + "enchantment.minecraft.vanishing_curse": "Curse of Vanishing", + "enchantment.minecraft.loyalty": "Loyalty", + "enchantment.minecraft.impaling": "Impaling", + "enchantment.minecraft.riptide": "Riptide", + "enchantment.minecraft.channeling": "Channeling", + "enchantment.minecraft.multishot": "Multishot", + "enchantment.minecraft.quick_charge": "Quick Charge", + "enchantment.minecraft.piercing": "Piercing", + "enchantment.level.1": "I", + "enchantment.level.2": "II", + "enchantment.level.3": "III", + "enchantment.level.4": "IV", + "enchantment.level.5": "V", + "enchantment.level.6": "VI", + "enchantment.level.7": "VII", + "enchantment.level.8": "VIII", + "enchantment.level.9": "IX", + "enchantment.level.10": "X", + "gui.advancements": "Advancements", + "gui.stats": "Statistics", + "advancements.empty": "There doesn't seem to be anything here...", + "advancements.toast.task": "Advancement Made!", + "advancements.toast.challenge": "Challenge Complete!", + "advancements.toast.goal": "Goal Reached!", + "stats.tooltip.type.statistic": "Statistic", + "stat.generalButton": "General", + "stat.blocksButton": "Blocks", + "stat.itemsButton": "Items", + "stat.mobsButton": "Mobs", + "stat_type.minecraft.mined": "Times Mined", + "stat_type.minecraft.crafted": "Times Crafted", + "stat_type.minecraft.used": "Times Used", + "stat_type.minecraft.broken": "Times Broken", + "stat_type.minecraft.picked_up": "Picked Up", + "stat_type.minecraft.dropped": "Dropped", + "stat_type.minecraft.killed": "You killed %s %s", + "stat_type.minecraft.killed.none": "You have never killed %s", + "stat_type.minecraft.killed_by": "%s killed you %s time(s)", + "stat_type.minecraft.killed_by.none": "You have never been killed by %s", + "stat.minecraft.animals_bred": "Animals Bred", + "stat.minecraft.aviate_one_cm": "Distance by Elytra", + "stat.minecraft.clean_armor": "Armor Pieces Cleaned", + "stat.minecraft.clean_banner": "Banners Cleaned", + "stat.minecraft.clean_shulker_box": "Shulker Boxes Cleaned", + "stat.minecraft.climb_one_cm": "Distance Climbed", + "stat.minecraft.bell_ring": "Bells Rung", + "stat.minecraft.boat_one_cm": "Distance by Boat", + "stat.minecraft.crouch_one_cm": "Distance Crouched", + "stat.minecraft.damage_dealt": "Damage Dealt", + "stat.minecraft.damage_dealt_absorbed": "Damage Dealt (Absorbed)", + "stat.minecraft.damage_dealt_resisted": "Damage Dealt (Resisted)", + "stat.minecraft.damage_taken": "Damage Taken", + "stat.minecraft.damage_blocked_by_shield": "Damage Blocked By Shield", + "stat.minecraft.damage_absorbed": "Damage Absorbed", + "stat.minecraft.damage_resisted": "Damage Resisted", + "stat.minecraft.deaths": "Number of Deaths", + "stat.minecraft.walk_under_water_one_cm": "Distance Walked under Water", + "stat.minecraft.drop": "Items Dropped", + "stat.minecraft.eat_cake_slice": "Cake Slices Eaten", + "stat.minecraft.enchant_item": "Items Enchanted", + "stat.minecraft.fall_one_cm": "Distance Fallen", + "stat.minecraft.fill_cauldron": "Cauldrons Filled", + "stat.minecraft.fish_caught": "Fish Caught", + "stat.minecraft.fly_one_cm": "Distance Flown", + "stat.minecraft.horse_one_cm": "Distance by Horse", + "stat.minecraft.inspect_dispenser": "Dispensers Searched", + "stat.minecraft.inspect_dropper": "Droppers Searched", + "stat.minecraft.inspect_hopper": "Hoppers Searched", + "stat.minecraft.interact_with_beacon": "Interactions with Beacon", + "stat.minecraft.interact_with_brewingstand": "Interactions with Brewing Stand", + "stat.minecraft.interact_with_campfire": "Interactions with Campfire", + "stat.minecraft.interact_with_cartography_table": "Interactions with Cartography Table", + "stat.minecraft.interact_with_crafting_table": "Interactions with Crafting Table", + "stat.minecraft.interact_with_furnace": "Interactions with Furnace", + "stat.minecraft.interact_with_lectern":"Interactions with Lectern", + "stat.minecraft.interact_with_loom":"Interactions with Loom", + "stat.minecraft.interact_with_blast_furnace": "Interactions with Blast Furnace", + "stat.minecraft.interact_with_smoker": "Interactions with Smoker", + "stat.minecraft.interact_with_stonecutter": "Interactions with Stonecutter", + "stat.minecraft.jump": "Jumps", + "stat.minecraft.junk_fished": "Junk Fished", + "stat.minecraft.leave_game": "Games Quit", + "stat.minecraft.minecart_one_cm": "Distance by Minecart", + "stat.minecraft.mob_kills": "Mob Kills", + "stat.minecraft.open_barrel": "Barrels Opened", + "stat.minecraft.open_chest": "Chests Opened", + "stat.minecraft.open_enderchest": "Ender Chests Opened", + "stat.minecraft.open_shulker_box": "Shulker Boxes Opened", + "stat.minecraft.pig_one_cm": "Distance by Pig", + "stat.minecraft.player_kills": "Player Kills", + "stat.minecraft.play_noteblock": "Note Blocks Played", + "stat.minecraft.play_one_minute": "Time Played", + "stat.minecraft.play_record": "Music Discs Played", + "stat.minecraft.pot_flower": "Plants Potted", + "stat.minecraft.raid_trigger": "Raids Triggered", + "stat.minecraft.raid_win": "Raids Won", + "stat.minecraft.ring_bell": "Bells Rung", + "stat.minecraft.sleep_in_bed": "Times Slept in a Bed", + "stat.minecraft.sneak_time": "Sneak Time", + "stat.minecraft.sprint_one_cm": "Distance Sprinted", + "stat.minecraft.walk_on_water_one_cm": "Distance Walked on Water", + "stat.minecraft.swim_one_cm": "Distance Swum", + "stat.minecraft.talked_to_villager": "Talked to Villagers", + "stat.minecraft.time_since_rest": "Since Last Rest", + "stat.minecraft.time_since_death": "Since Last Death", + "stat.minecraft.traded_with_villager": "Traded with Villagers", + "stat.minecraft.treasure_fished": "Treasure Fished", + "stat.minecraft.trigger_trapped_chest": "Trapped Chests Triggered", + "stat.minecraft.tune_noteblock": "Note Blocks Tuned", + "stat.minecraft.use_cauldron": "Water Taken from Cauldron", + "stat.minecraft.walk_one_cm": "Distance Walked", + "recipe.toast.title": "New Recipes Unlocked!", + "recipe.toast.description": "Check your recipe book", + "itemGroup.buildingBlocks": "Building Blocks", + "itemGroup.decorations": "Decoration Blocks", + "itemGroup.redstone": "Redstone", + "itemGroup.transportation": "Transportation", + "itemGroup.misc": "Miscellaneous", + "itemGroup.search": "Search Items", + "itemGroup.food": "Foodstuffs", + "itemGroup.tools": "Tools", + "itemGroup.combat": "Combat", + "itemGroup.brewing": "Brewing", + "itemGroup.materials": "Materials", + "itemGroup.inventory": "Survival Inventory", + "itemGroup.hotbar": "Saved Toolbars", + "inventory.binSlot": "Destroy Item", + "inventory.hotbarSaved": "Item toolbar saved (restore with %1$s+%2$s)", + "inventory.hotbarInfo": "Save toolbar with %1$s+%2$s", + "advMode.setCommand": "Set Console Command for Block", + "advMode.setCommand.success": "Command set: %s", + "advMode.command": "Console Command", + "advMode.nearestPlayer": "Use \"@p\" to target nearest player", + "advMode.randomPlayer": "Use \"@r\" to target random player", + "advMode.allPlayers": "Use \"@a\" to target all players", + "advMode.allEntities": "Use \"@e\" to target all entities", + "advMode.self": "Use \"@s\" to target the executing entity", + "advMode.previousOutput": "Previous Output", + "advMode.mode.sequence": "Chain", + "advMode.mode.auto": "Repeat", + "advMode.mode.redstone": "Impulse", + "advMode.mode.conditional": "Conditional", + "advMode.mode.unconditional": "Unconditional", + "advMode.mode.redstoneTriggered": "Needs Redstone", + "advMode.mode.autoexec.bat": "Always Active", + "advMode.notEnabled": "Command blocks are not enabled on this server", + "advMode.notAllowed": "Must be an opped player in creative mode", + "mount.onboard": "Press %1$s to dismount", + "build.tooHigh": "Height limit for building is %s blocks", + "item.modifiers.mainhand": "When in main hand:", + "item.modifiers.offhand": "When in off hand:", + "item.modifiers.feet": "When on feet:", + "item.modifiers.legs": "When on legs:", + "item.modifiers.chest": "When on body:", + "item.modifiers.head": "When on head:", + "attribute.modifier.plus.0": "+%s %s", + "attribute.modifier.plus.1": "+%s%% %s", + "attribute.modifier.plus.2": "+%s%% %s", + "attribute.modifier.take.0": "-%s %s", + "attribute.modifier.take.1": "-%s%% %s", + "attribute.modifier.take.2": "-%s%% %s", + "attribute.modifier.equals.0": "%s %s", + "attribute.modifier.equals.1": "%s%% %s", + "attribute.modifier.equals.2": "%s%% %s", + "attribute.name.horse.jumpStrength": "Horse Jump Strength", + "attribute.name.zombie.spawnReinforcements": "Zombie Reinforcements", + "attribute.name.generic.maxHealth": "Max Health", + "attribute.name.generic.followRange": "Mob Follow Range", + "attribute.name.generic.knockbackResistance": "Knockback Resistance", + "attribute.name.generic.movementSpeed": "Speed", + "attribute.name.generic.attackDamage": "Attack Damage", + "attribute.name.generic.attackSpeed": "Attack Speed", + "attribute.name.generic.luck": "Luck", + "attribute.name.generic.armor": "Armor", + "attribute.name.generic.armorToughness": "Armor Toughness", + "screenshot.success": "Saved screenshot as %s", + "screenshot.failure": "Couldn't save screenshot: %s", + "block.minecraft.black_banner": "Black Banner", + "block.minecraft.red_banner": "Red Banner", + "block.minecraft.green_banner": "Green Banner", + "block.minecraft.brown_banner": "Brown Banner", + "block.minecraft.blue_banner": "Blue Banner", + "block.minecraft.purple_banner": "Purple Banner", + "block.minecraft.cyan_banner": "Cyan Banner", + "block.minecraft.light_gray_banner": "Light Gray Banner", + "block.minecraft.gray_banner": "Gray Banner", + "block.minecraft.pink_banner": "Pink Banner", + "block.minecraft.lime_banner": "Lime Banner", + "block.minecraft.yellow_banner": "Yellow Banner", + "block.minecraft.light_blue_banner": "Light Blue Banner", + "block.minecraft.magenta_banner": "Magenta Banner", + "block.minecraft.orange_banner": "Orange Banner", + "block.minecraft.white_banner": "White Banner", + "item.minecraft.shield": "Shield", + "item.minecraft.shield.black": "Black Shield", + "item.minecraft.shield.red": "Red Shield", + "item.minecraft.shield.green": "Green Shield", + "item.minecraft.shield.brown": "Brown Shield", + "item.minecraft.shield.blue": "Blue Shield", + "item.minecraft.shield.purple": "Purple Shield", + "item.minecraft.shield.cyan": "Cyan Shield", + "item.minecraft.shield.light_gray": "Light Gray Shield", + "item.minecraft.shield.gray": "Gray Shield", + "item.minecraft.shield.pink": "Pink Shield", + "item.minecraft.shield.lime": "Lime Shield", + "item.minecraft.shield.yellow": "Yellow Shield", + "item.minecraft.shield.light_blue": "Light Blue Shield", + "item.minecraft.shield.magenta": "Magenta Shield", + "item.minecraft.shield.orange": "Orange Shield", + "item.minecraft.shield.white": "White Shield", + "block.minecraft.banner.square_bottom_left.black": "Black Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.red": "Red Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.green": "Green Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.brown": "Brown Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.blue": "Blue Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.purple": "Purple Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.cyan": "Cyan Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.light_gray": "Light Gray Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.gray": "Gray Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.pink": "Pink Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.lime": "Lime Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.yellow": "Yellow Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.light_blue": "Light Blue Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.magenta": "Magenta Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.orange": "Orange Base Dexter Canton", + "block.minecraft.banner.square_bottom_left.white": "White Base Dexter Canton", + "block.minecraft.banner.square_bottom_right.black": "Black Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.red": "Red Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.green": "Green Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.brown": "Brown Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.blue": "Blue Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.purple": "Purple Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.cyan": "Cyan Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.light_gray": "Light Gray Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.gray": "Gray Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.pink": "Pink Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.lime": "Lime Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.yellow": "Yellow Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.light_blue": "Light Blue Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.magenta": "Magenta Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.orange": "Orange Base Sinister Canton", + "block.minecraft.banner.square_bottom_right.white": "White Base Sinister Canton", + "block.minecraft.banner.square_top_left.black": "Black Chief Dexter Canton", + "block.minecraft.banner.square_top_left.red": "Red Chief Dexter Canton", + "block.minecraft.banner.square_top_left.green": "Green Chief Dexter Canton", + "block.minecraft.banner.square_top_left.brown": "Brown Chief Dexter Canton", + "block.minecraft.banner.square_top_left.blue": "Blue Chief Dexter Canton", + "block.minecraft.banner.square_top_left.purple": "Purple Chief Dexter Canton", + "block.minecraft.banner.square_top_left.cyan": "Cyan Chief Dexter Canton", + "block.minecraft.banner.square_top_left.light_gray": "Light Gray Chief Dexter Canton", + "block.minecraft.banner.square_top_left.gray": "Gray Chief Dexter Canton", + "block.minecraft.banner.square_top_left.pink": "Pink Chief Dexter Canton", + "block.minecraft.banner.square_top_left.lime": "Lime Chief Dexter Canton", + "block.minecraft.banner.square_top_left.yellow": "Yellow Chief Dexter Canton", + "block.minecraft.banner.square_top_left.light_blue": "Light Blue Chief Dexter Canton", + "block.minecraft.banner.square_top_left.magenta": "Magenta Chief Dexter Canton", + "block.minecraft.banner.square_top_left.orange": "Orange Chief Dexter Canton", + "block.minecraft.banner.square_top_left.white": "White Chief Dexter Canton", + "block.minecraft.banner.square_top_right.black": "Black Chief Sinister Canton", + "block.minecraft.banner.square_top_right.red": "Red Chief Sinister Canton", + "block.minecraft.banner.square_top_right.green": "Green Chief Sinister Canton", + "block.minecraft.banner.square_top_right.brown": "Brown Chief Sinister Canton", + "block.minecraft.banner.square_top_right.blue": "Blue Chief Sinister Canton", + "block.minecraft.banner.square_top_right.purple": "Purple Chief Sinister Canton", + "block.minecraft.banner.square_top_right.cyan": "Cyan Chief Sinister Canton", + "block.minecraft.banner.square_top_right.light_gray": "Light Gray Chief Sinister Canton", + "block.minecraft.banner.square_top_right.gray": "Gray Chief Sinister Canton", + "block.minecraft.banner.square_top_right.pink": "Pink Chief Sinister Canton", + "block.minecraft.banner.square_top_right.lime": "Lime Chief Sinister Canton", + "block.minecraft.banner.square_top_right.yellow": "Yellow Chief Sinister Canton", + "block.minecraft.banner.square_top_right.light_blue": "Light Blue Chief Sinister Canton", + "block.minecraft.banner.square_top_right.magenta": "Magenta Chief Sinister Canton", + "block.minecraft.banner.square_top_right.orange": "Orange Chief Sinister Canton", + "block.minecraft.banner.square_top_right.white": "White Chief Sinister Canton", + "block.minecraft.banner.stripe_bottom.black": "Black Base", + "block.minecraft.banner.stripe_bottom.red": "Red Base", + "block.minecraft.banner.stripe_bottom.green": "Green Base", + "block.minecraft.banner.stripe_bottom.brown": "Brown Base", + "block.minecraft.banner.stripe_bottom.blue": "Blue Base", + "block.minecraft.banner.stripe_bottom.purple": "Purple Base", + "block.minecraft.banner.stripe_bottom.cyan": "Cyan Base", + "block.minecraft.banner.stripe_bottom.light_gray": "Light Gray Base", + "block.minecraft.banner.stripe_bottom.gray": "Gray Base", + "block.minecraft.banner.stripe_bottom.pink": "Pink Base", + "block.minecraft.banner.stripe_bottom.lime": "Lime Base", + "block.minecraft.banner.stripe_bottom.yellow": "Yellow Base", + "block.minecraft.banner.stripe_bottom.light_blue": "Light Blue Base", + "block.minecraft.banner.stripe_bottom.magenta": "Magenta Base", + "block.minecraft.banner.stripe_bottom.orange": "Orange Base", + "block.minecraft.banner.stripe_bottom.white": "White Base", + "block.minecraft.banner.stripe_top.black": "Black Chief", + "block.minecraft.banner.stripe_top.red": "Red Chief", + "block.minecraft.banner.stripe_top.green": "Green Chief", + "block.minecraft.banner.stripe_top.brown": "Brown Chief", + "block.minecraft.banner.stripe_top.blue": "Blue Chief", + "block.minecraft.banner.stripe_top.purple": "Purple Chief", + "block.minecraft.banner.stripe_top.cyan": "Cyan Chief", + "block.minecraft.banner.stripe_top.light_gray": "Light Gray Chief", + "block.minecraft.banner.stripe_top.gray": "Gray Chief", + "block.minecraft.banner.stripe_top.pink": "Pink Chief", + "block.minecraft.banner.stripe_top.lime": "Lime Chief", + "block.minecraft.banner.stripe_top.yellow": "Yellow Chief", + "block.minecraft.banner.stripe_top.light_blue": "Light Blue Chief", + "block.minecraft.banner.stripe_top.magenta": "Magenta Chief", + "block.minecraft.banner.stripe_top.orange": "Orange Chief", + "block.minecraft.banner.stripe_top.white": "White Chief", + "block.minecraft.banner.stripe_left.black": "Black Pale Dexter", + "block.minecraft.banner.stripe_left.red": "Red Pale Dexter", + "block.minecraft.banner.stripe_left.green": "Green Pale Dexter", + "block.minecraft.banner.stripe_left.brown": "Brown Pale Dexter", + "block.minecraft.banner.stripe_left.blue": "Blue Pale Dexter", + "block.minecraft.banner.stripe_left.purple": "Purple Pale Dexter", + "block.minecraft.banner.stripe_left.cyan": "Cyan Pale Dexter", + "block.minecraft.banner.stripe_left.light_gray": "Light Gray Pale Dexter", + "block.minecraft.banner.stripe_left.gray": "Gray Pale Dexter", + "block.minecraft.banner.stripe_left.pink": "Pink Pale Dexter", + "block.minecraft.banner.stripe_left.lime": "Lime Pale Dexter", + "block.minecraft.banner.stripe_left.yellow": "Yellow Pale Dexter", + "block.minecraft.banner.stripe_left.light_blue": "Light Blue Pale Dexter", + "block.minecraft.banner.stripe_left.magenta": "Magenta Pale Dexter", + "block.minecraft.banner.stripe_left.orange": "Orange Pale Dexter", + "block.minecraft.banner.stripe_left.white": "White Pale Dexter", + "block.minecraft.banner.stripe_right.black": "Black Pale Sinister", + "block.minecraft.banner.stripe_right.red": "Red Pale Sinister", + "block.minecraft.banner.stripe_right.green": "Green Pale Sinister", + "block.minecraft.banner.stripe_right.brown": "Brown Pale Sinister", + "block.minecraft.banner.stripe_right.blue": "Blue Pale Sinister", + "block.minecraft.banner.stripe_right.purple": "Purple Pale Sinister", + "block.minecraft.banner.stripe_right.cyan": "Cyan Pale Sinister", + "block.minecraft.banner.stripe_right.light_gray": "Light Gray Pale Sinister", + "block.minecraft.banner.stripe_right.gray": "Gray Pale Sinister", + "block.minecraft.banner.stripe_right.pink": "Pink Pale Sinister", + "block.minecraft.banner.stripe_right.lime": "Lime Pale Sinister", + "block.minecraft.banner.stripe_right.yellow": "Yellow Pale Sinister", + "block.minecraft.banner.stripe_right.light_blue": "Light Blue Pale Sinister", + "block.minecraft.banner.stripe_right.magenta": "Magenta Pale Sinister", + "block.minecraft.banner.stripe_right.orange": "Orange Pale Sinister", + "block.minecraft.banner.stripe_right.white": "White Pale Sinister", + "block.minecraft.banner.stripe_center.black": "Black Pale", + "block.minecraft.banner.stripe_center.red": "Red Pale", + "block.minecraft.banner.stripe_center.green": "Green Pale", + "block.minecraft.banner.stripe_center.brown": "Brown Pale", + "block.minecraft.banner.stripe_center.blue": "Blue Pale", + "block.minecraft.banner.stripe_center.purple": "Purple Pale", + "block.minecraft.banner.stripe_center.cyan": "Cyan Pale", + "block.minecraft.banner.stripe_center.light_gray": "Light Gray Pale", + "block.minecraft.banner.stripe_center.gray": "Gray Pale", + "block.minecraft.banner.stripe_center.pink": "Pink Pale", + "block.minecraft.banner.stripe_center.lime": "Lime Pale", + "block.minecraft.banner.stripe_center.yellow": "Yellow Pale", + "block.minecraft.banner.stripe_center.light_blue": "Light Blue Pale", + "block.minecraft.banner.stripe_center.magenta": "Magenta Pale", + "block.minecraft.banner.stripe_center.orange": "Orange Pale", + "block.minecraft.banner.stripe_center.white": "White Pale", + "block.minecraft.banner.stripe_middle.black": "Black Fess", + "block.minecraft.banner.stripe_middle.red": "Red Fess", + "block.minecraft.banner.stripe_middle.green": "Green Fess", + "block.minecraft.banner.stripe_middle.brown": "Brown Fess", + "block.minecraft.banner.stripe_middle.blue": "Blue Fess", + "block.minecraft.banner.stripe_middle.purple": "Purple Fess", + "block.minecraft.banner.stripe_middle.cyan": "Cyan Fess", + "block.minecraft.banner.stripe_middle.light_gray": "Light Gray Fess", + "block.minecraft.banner.stripe_middle.gray": "Gray Fess", + "block.minecraft.banner.stripe_middle.pink": "Pink Fess", + "block.minecraft.banner.stripe_middle.lime": "Lime Fess", + "block.minecraft.banner.stripe_middle.yellow": "Yellow Fess", + "block.minecraft.banner.stripe_middle.light_blue": "Light Blue Fess", + "block.minecraft.banner.stripe_middle.magenta": "Magenta Fess", + "block.minecraft.banner.stripe_middle.orange": "Orange Fess", + "block.minecraft.banner.stripe_middle.white": "White Fess", + "block.minecraft.banner.stripe_downright.black": "Black Bend", + "block.minecraft.banner.stripe_downright.red": "Red Bend", + "block.minecraft.banner.stripe_downright.green": "Green Bend", + "block.minecraft.banner.stripe_downright.brown": "Brown Bend", + "block.minecraft.banner.stripe_downright.blue": "Blue Bend", + "block.minecraft.banner.stripe_downright.purple": "Purple Bend", + "block.minecraft.banner.stripe_downright.cyan": "Cyan Bend", + "block.minecraft.banner.stripe_downright.light_gray": "Light Gray Bend", + "block.minecraft.banner.stripe_downright.gray": "Gray Bend", + "block.minecraft.banner.stripe_downright.pink": "Pink Bend", + "block.minecraft.banner.stripe_downright.lime": "Lime Bend", + "block.minecraft.banner.stripe_downright.yellow": "Yellow Bend", + "block.minecraft.banner.stripe_downright.light_blue": "Light Blue Bend", + "block.minecraft.banner.stripe_downright.magenta": "Magenta Bend", + "block.minecraft.banner.stripe_downright.orange": "Orange Bend", + "block.minecraft.banner.stripe_downright.white": "White Bend", + "block.minecraft.banner.stripe_downleft.black": "Black Bend Sinister", + "block.minecraft.banner.stripe_downleft.red": "Red Bend Sinister", + "block.minecraft.banner.stripe_downleft.green": "Green Bend Sinister", + "block.minecraft.banner.stripe_downleft.brown": "Brown Bend Sinister", + "block.minecraft.banner.stripe_downleft.blue": "Blue Bend Sinister", + "block.minecraft.banner.stripe_downleft.purple": "Purple Bend Sinister", + "block.minecraft.banner.stripe_downleft.cyan": "Cyan Bend Sinister", + "block.minecraft.banner.stripe_downleft.light_gray": "Light Gray Bend Sinister", + "block.minecraft.banner.stripe_downleft.gray": "Gray Bend Sinister", + "block.minecraft.banner.stripe_downleft.pink": "Pink Bend Sinister", + "block.minecraft.banner.stripe_downleft.lime": "Lime Bend Sinister", + "block.minecraft.banner.stripe_downleft.yellow": "Yellow Bend Sinister", + "block.minecraft.banner.stripe_downleft.light_blue": "Light Blue Bend Sinister", + "block.minecraft.banner.stripe_downleft.magenta": "Magenta Bend Sinister", + "block.minecraft.banner.stripe_downleft.orange": "Orange Bend Sinister", + "block.minecraft.banner.stripe_downleft.white": "White Bend Sinister", + "block.minecraft.banner.small_stripes.black": "Black Paly", + "block.minecraft.banner.small_stripes.red": "Red Paly", + "block.minecraft.banner.small_stripes.green": "Green Paly", + "block.minecraft.banner.small_stripes.brown": "Brown Paly", + "block.minecraft.banner.small_stripes.blue": "Blue Paly", + "block.minecraft.banner.small_stripes.purple": "Purple Paly", + "block.minecraft.banner.small_stripes.cyan": "Cyan Paly", + "block.minecraft.banner.small_stripes.light_gray": "Light Gray Paly", + "block.minecraft.banner.small_stripes.gray": "Gray Paly", + "block.minecraft.banner.small_stripes.pink": "Pink Paly", + "block.minecraft.banner.small_stripes.lime": "Lime Paly", + "block.minecraft.banner.small_stripes.yellow": "Yellow Paly", + "block.minecraft.banner.small_stripes.light_blue": "Light Blue Paly", + "block.minecraft.banner.small_stripes.magenta": "Magenta Paly", + "block.minecraft.banner.small_stripes.orange": "Orange Paly", + "block.minecraft.banner.small_stripes.white": "White Paly", + "block.minecraft.banner.cross.black": "Black Saltire", + "block.minecraft.banner.cross.red": "Red Saltire", + "block.minecraft.banner.cross.green": "Green Saltire", + "block.minecraft.banner.cross.brown": "Brown Saltire", + "block.minecraft.banner.cross.blue": "Blue Saltire", + "block.minecraft.banner.cross.purple": "Purple Saltire", + "block.minecraft.banner.cross.cyan": "Cyan Saltire", + "block.minecraft.banner.cross.light_gray": "Light Gray Saltire", + "block.minecraft.banner.cross.gray": "Gray Saltire", + "block.minecraft.banner.cross.pink": "Pink Saltire", + "block.minecraft.banner.cross.lime": "Lime Saltire", + "block.minecraft.banner.cross.yellow": "Yellow Saltire", + "block.minecraft.banner.cross.light_blue": "Light Blue Saltire", + "block.minecraft.banner.cross.magenta": "Magenta Saltire", + "block.minecraft.banner.cross.orange": "Orange Saltire", + "block.minecraft.banner.cross.white": "White Saltire", + "block.minecraft.banner.triangle_bottom.black": "Black Chevron", + "block.minecraft.banner.triangle_bottom.red": "Red Chevron", + "block.minecraft.banner.triangle_bottom.green": "Green Chevron", + "block.minecraft.banner.triangle_bottom.brown": "Brown Chevron", + "block.minecraft.banner.triangle_bottom.blue": "Blue Chevron", + "block.minecraft.banner.triangle_bottom.purple": "Purple Chevron", + "block.minecraft.banner.triangle_bottom.cyan": "Cyan Chevron", + "block.minecraft.banner.triangle_bottom.light_gray": "Light Gray Chevron", + "block.minecraft.banner.triangle_bottom.gray": "Gray Chevron", + "block.minecraft.banner.triangle_bottom.pink": "Pink Chevron", + "block.minecraft.banner.triangle_bottom.lime": "Lime Chevron", + "block.minecraft.banner.triangle_bottom.yellow": "Yellow Chevron", + "block.minecraft.banner.triangle_bottom.light_blue": "Light Blue Chevron", + "block.minecraft.banner.triangle_bottom.magenta": "Magenta Chevron", + "block.minecraft.banner.triangle_bottom.orange": "Orange Chevron", + "block.minecraft.banner.triangle_bottom.white": "White Chevron", + "block.minecraft.banner.triangle_top.black": "Black Inverted Chevron", + "block.minecraft.banner.triangle_top.red": "Red Inverted Chevron", + "block.minecraft.banner.triangle_top.green": "Green Inverted Chevron", + "block.minecraft.banner.triangle_top.brown": "Brown Inverted Chevron", + "block.minecraft.banner.triangle_top.blue": "Blue Inverted Chevron", + "block.minecraft.banner.triangle_top.purple": "Purple Inverted Chevron", + "block.minecraft.banner.triangle_top.cyan": "Cyan Inverted Chevron", + "block.minecraft.banner.triangle_top.light_gray": "Light Gray Inverted Chevron", + "block.minecraft.banner.triangle_top.gray": "Gray Inverted Chevron", + "block.minecraft.banner.triangle_top.pink": "Pink Inverted Chevron", + "block.minecraft.banner.triangle_top.lime": "Lime Inverted Chevron", + "block.minecraft.banner.triangle_top.yellow": "Yellow Inverted Chevron", + "block.minecraft.banner.triangle_top.light_blue": "Light Blue Inverted Chevron", + "block.minecraft.banner.triangle_top.magenta": "Magenta Inverted Chevron", + "block.minecraft.banner.triangle_top.orange": "Orange Inverted Chevron", + "block.minecraft.banner.triangle_top.white": "White Inverted Chevron", + "block.minecraft.banner.triangles_bottom.black": "Black Base Indented", + "block.minecraft.banner.triangles_bottom.red": "Red Base Indented", + "block.minecraft.banner.triangles_bottom.green": "Green Base Indented", + "block.minecraft.banner.triangles_bottom.brown": "Brown Base Indented", + "block.minecraft.banner.triangles_bottom.blue": "Blue Base Indented", + "block.minecraft.banner.triangles_bottom.purple": "Purple Base Indented", + "block.minecraft.banner.triangles_bottom.cyan": "Cyan Base Indented", + "block.minecraft.banner.triangles_bottom.light_gray": "Light Gray Base Indented", + "block.minecraft.banner.triangles_bottom.gray": "Gray Base Indented", + "block.minecraft.banner.triangles_bottom.pink": "Pink Base Indented", + "block.minecraft.banner.triangles_bottom.lime": "Lime Base Indented", + "block.minecraft.banner.triangles_bottom.yellow": "Yellow Base Indented", + "block.minecraft.banner.triangles_bottom.light_blue": "Light Blue Base Indented", + "block.minecraft.banner.triangles_bottom.magenta": "Magenta Base Indented", + "block.minecraft.banner.triangles_bottom.orange": "Orange Base Indented", + "block.minecraft.banner.triangles_bottom.white": "White Base Indented", + "block.minecraft.banner.triangles_top.black": "Black Chief Indented", + "block.minecraft.banner.triangles_top.red": "Red Chief Indented", + "block.minecraft.banner.triangles_top.green": "Green Chief Indented", + "block.minecraft.banner.triangles_top.brown": "Brown Chief Indented", + "block.minecraft.banner.triangles_top.blue": "Blue Chief Indented", + "block.minecraft.banner.triangles_top.purple": "Purple Chief Indented", + "block.minecraft.banner.triangles_top.cyan": "Cyan Chief Indented", + "block.minecraft.banner.triangles_top.light_gray": "Light Gray Chief Indented", + "block.minecraft.banner.triangles_top.gray": "Gray Chief Indented", + "block.minecraft.banner.triangles_top.pink": "Pink Chief Indented", + "block.minecraft.banner.triangles_top.lime": "Lime Chief Indented", + "block.minecraft.banner.triangles_top.yellow": "Yellow Chief Indented", + "block.minecraft.banner.triangles_top.light_blue": "Light Blue Chief Indented", + "block.minecraft.banner.triangles_top.magenta": "Magenta Chief Indented", + "block.minecraft.banner.triangles_top.orange": "Orange Chief Indented", + "block.minecraft.banner.triangles_top.white": "White Chief Indented", + "block.minecraft.banner.diagonal_left.black": "Black Per Bend Sinister", + "block.minecraft.banner.diagonal_left.red": "Red Per Bend Sinister", + "block.minecraft.banner.diagonal_left.green": "Green Per Bend Sinister", + "block.minecraft.banner.diagonal_left.brown": "Brown Per Bend Sinister", + "block.minecraft.banner.diagonal_left.blue": "Blue Per Bend Sinister", + "block.minecraft.banner.diagonal_left.purple": "Purple Per Bend Sinister", + "block.minecraft.banner.diagonal_left.cyan": "Cyan Per Bend Sinister", + "block.minecraft.banner.diagonal_left.light_gray": "Light Gray Per Bend Sinister", + "block.minecraft.banner.diagonal_left.gray": "Gray Per Bend Sinister", + "block.minecraft.banner.diagonal_left.pink": "Pink Per Bend Sinister", + "block.minecraft.banner.diagonal_left.lime": "Lime Per Bend Sinister", + "block.minecraft.banner.diagonal_left.yellow": "Yellow Per Bend Sinister", + "block.minecraft.banner.diagonal_left.light_blue": "Light Blue Per Bend Sinister", + "block.minecraft.banner.diagonal_left.magenta": "Magenta Per Bend Sinister", + "block.minecraft.banner.diagonal_left.orange": "Orange Per Bend Sinister", + "block.minecraft.banner.diagonal_left.white": "White Per Bend Sinister", + "block.minecraft.banner.diagonal_right.black": "Black Per Bend", + "block.minecraft.banner.diagonal_right.red": "Red Per Bend", + "block.minecraft.banner.diagonal_right.green": "Green Per Bend", + "block.minecraft.banner.diagonal_right.brown": "Brown Per Bend", + "block.minecraft.banner.diagonal_right.blue": "Blue Per Bend", + "block.minecraft.banner.diagonal_right.purple": "Purple Per Bend", + "block.minecraft.banner.diagonal_right.cyan": "Cyan Per Bend", + "block.minecraft.banner.diagonal_right.light_gray": "Light Gray Per Bend", + "block.minecraft.banner.diagonal_right.gray": "Gray Per Bend", + "block.minecraft.banner.diagonal_right.pink": "Pink Per Bend", + "block.minecraft.banner.diagonal_right.lime": "Lime Per Bend", + "block.minecraft.banner.diagonal_right.yellow": "Yellow Per Bend", + "block.minecraft.banner.diagonal_right.light_blue": "Light Blue Per Bend", + "block.minecraft.banner.diagonal_right.magenta": "Magenta Per Bend", + "block.minecraft.banner.diagonal_right.orange": "Orange Per Bend", + "block.minecraft.banner.diagonal_right.white": "White Per Bend", + "block.minecraft.banner.diagonal_up_left.black": "Black Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.red": "Red Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.green": "Green Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.brown": "Brown Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.blue": "Blue Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.purple": "Purple Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.cyan": "Cyan Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.light_gray": "Light Gray Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.gray": "Gray Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.pink": "Pink Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.lime": "Lime Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.yellow": "Yellow Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.light_blue": "Light Blue Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.magenta": "Magenta Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.orange": "Orange Per Bend Inverted", + "block.minecraft.banner.diagonal_up_left.white": "White Per Bend Inverted", + "block.minecraft.banner.diagonal_up_right.black": "Black Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.red": "Red Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.green": "Green Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.brown": "Brown Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.blue": "Blue Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.purple": "Purple Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.cyan": "Cyan Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.light_gray": "Light Gray Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.gray": "Gray Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.pink": "Pink Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.lime": "Lime Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.yellow": "Yellow Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.light_blue": "Light Blue Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.magenta": "Magenta Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.orange": "Orange Per Bend Sinister Inverted", + "block.minecraft.banner.diagonal_up_right.white": "White Per Bend Sinister Inverted", + "block.minecraft.banner.circle.black": "Black Roundel", + "block.minecraft.banner.circle.red": "Red Roundel", + "block.minecraft.banner.circle.green": "Green Roundel", + "block.minecraft.banner.circle.brown": "Brown Roundel", + "block.minecraft.banner.circle.blue": "Blue Roundel", + "block.minecraft.banner.circle.purple": "Purple Roundel", + "block.minecraft.banner.circle.cyan": "Cyan Roundel", + "block.minecraft.banner.circle.light_gray": "Light Gray Roundel", + "block.minecraft.banner.circle.gray": "Gray Roundel", + "block.minecraft.banner.circle.pink": "Pink Roundel", + "block.minecraft.banner.circle.lime": "Lime Roundel", + "block.minecraft.banner.circle.yellow": "Yellow Roundel", + "block.minecraft.banner.circle.light_blue": "Light Blue Roundel", + "block.minecraft.banner.circle.magenta": "Magenta Roundel", + "block.minecraft.banner.circle.orange": "Orange Roundel", + "block.minecraft.banner.circle.white": "White Roundel", + "block.minecraft.banner.rhombus.black": "Black Lozenge", + "block.minecraft.banner.rhombus.red": "Red Lozenge", + "block.minecraft.banner.rhombus.green": "Green Lozenge", + "block.minecraft.banner.rhombus.brown": "Brown Lozenge", + "block.minecraft.banner.rhombus.blue": "Blue Lozenge", + "block.minecraft.banner.rhombus.purple": "Purple Lozenge", + "block.minecraft.banner.rhombus.cyan": "Cyan Lozenge", + "block.minecraft.banner.rhombus.light_gray": "Light Gray Lozenge", + "block.minecraft.banner.rhombus.gray": "Gray Lozenge", + "block.minecraft.banner.rhombus.pink": "Pink Lozenge", + "block.minecraft.banner.rhombus.lime": "Lime Lozenge", + "block.minecraft.banner.rhombus.yellow": "Yellow Lozenge", + "block.minecraft.banner.rhombus.light_blue": "Light Blue Lozenge", + "block.minecraft.banner.rhombus.magenta": "Magenta Lozenge", + "block.minecraft.banner.rhombus.orange": "Orange Lozenge", + "block.minecraft.banner.rhombus.white": "White Lozenge", + "block.minecraft.banner.half_vertical.black": "Black Per Pale", + "block.minecraft.banner.half_vertical.red": "Red Per Pale", + "block.minecraft.banner.half_vertical.green": "Green Per Pale", + "block.minecraft.banner.half_vertical.brown": "Brown Per Pale", + "block.minecraft.banner.half_vertical.blue": "Blue Per Pale", + "block.minecraft.banner.half_vertical.purple": "Purple Per Pale", + "block.minecraft.banner.half_vertical.cyan": "Cyan Per Pale", + "block.minecraft.banner.half_vertical.light_gray": "Light Gray Per Pale", + "block.minecraft.banner.half_vertical.gray": "Gray Per Pale", + "block.minecraft.banner.half_vertical.pink": "Pink Per Pale", + "block.minecraft.banner.half_vertical.lime": "Lime Per Pale", + "block.minecraft.banner.half_vertical.yellow": "Yellow Per Pale", + "block.minecraft.banner.half_vertical.light_blue": "Light Blue Per Pale", + "block.minecraft.banner.half_vertical.magenta": "Magenta Per Pale", + "block.minecraft.banner.half_vertical.orange": "Orange Per Pale", + "block.minecraft.banner.half_vertical.white": "White Per Pale", + "block.minecraft.banner.half_horizontal.black": "Black Per Fess", + "block.minecraft.banner.half_horizontal.red": "Red Per Fess", + "block.minecraft.banner.half_horizontal.green": "Green Per Fess", + "block.minecraft.banner.half_horizontal.brown": "Brown Per Fess", + "block.minecraft.banner.half_horizontal.blue": "Blue Per Fess", + "block.minecraft.banner.half_horizontal.purple": "Purple Per Fess", + "block.minecraft.banner.half_horizontal.cyan": "Cyan Per Fess", + "block.minecraft.banner.half_horizontal.light_gray": "Light Gray Per Fess", + "block.minecraft.banner.half_horizontal.gray": "Gray Per Fess", + "block.minecraft.banner.half_horizontal.pink": "Pink Per Fess", + "block.minecraft.banner.half_horizontal.lime": "Lime Per Fess", + "block.minecraft.banner.half_horizontal.yellow": "Yellow Per Fess", + "block.minecraft.banner.half_horizontal.light_blue": "Light Blue Per Fess", + "block.minecraft.banner.half_horizontal.magenta": "Magenta Per Fess", + "block.minecraft.banner.half_horizontal.orange": "Orange Per Fess", + "block.minecraft.banner.half_horizontal.white": "White Per Fess", + "block.minecraft.banner.half_vertical_right.black": "Black Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.red": "Red Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.green": "Green Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.brown": "Brown Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.blue": "Blue Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.purple": "Purple Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.cyan": "Cyan Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.light_gray": "Light Gray Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.gray": "Gray Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.pink": "Pink Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.lime": "Lime Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.yellow": "Yellow Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.light_blue": "Light Blue Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.magenta": "Magenta Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.orange": "Orange Per Pale Inverted", + "block.minecraft.banner.half_vertical_right.white": "White Per Pale Inverted", + "block.minecraft.banner.half_horizontal_bottom.black": "Black Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.red": "Red Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.green": "Green Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.brown": "Brown Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.blue": "Blue Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.purple": "Purple Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.cyan": "Cyan Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.light_gray": "Light Gray Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.gray": "Gray Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.pink": "Pink Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.lime": "Lime Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.yellow": "Yellow Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.light_blue": "Light Blue Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.magenta": "Magenta Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.orange": "Orange Per Fess Inverted", + "block.minecraft.banner.half_horizontal_bottom.white": "White Per Fess Inverted", + "block.minecraft.banner.creeper.black": "Black Creeper Charge", + "block.minecraft.banner.creeper.red": "Red Creeper Charge", + "block.minecraft.banner.creeper.green": "Green Creeper Charge", + "block.minecraft.banner.creeper.brown": "Brown Creeper Charge", + "block.minecraft.banner.creeper.blue": "Blue Creeper Charge", + "block.minecraft.banner.creeper.purple": "Purple Creeper Charge", + "block.minecraft.banner.creeper.cyan": "Cyan Creeper Charge", + "block.minecraft.banner.creeper.light_gray": "Light Gray Creeper Charge", + "block.minecraft.banner.creeper.gray": "Gray Creeper Charge", + "block.minecraft.banner.creeper.pink": "Pink Creeper Charge", + "block.minecraft.banner.creeper.lime": "Lime Creeper Charge", + "block.minecraft.banner.creeper.yellow": "Yellow Creeper Charge", + "block.minecraft.banner.creeper.light_blue": "Light Blue Creeper Charge", + "block.minecraft.banner.creeper.magenta": "Magenta Creeper Charge", + "block.minecraft.banner.creeper.orange": "Orange Creeper Charge", + "block.minecraft.banner.creeper.white": "White Creeper Charge", + "block.minecraft.banner.bricks.black": "Black Field Masoned", + "block.minecraft.banner.bricks.red": "Red Field Masoned", + "block.minecraft.banner.bricks.green": "Green Field Masoned", + "block.minecraft.banner.bricks.brown": "Brown Field Masoned", + "block.minecraft.banner.bricks.blue": "Blue Field Masoned", + "block.minecraft.banner.bricks.purple": "Purple Field Masoned", + "block.minecraft.banner.bricks.cyan": "Cyan Field Masoned", + "block.minecraft.banner.bricks.light_gray": "Light Gray Field Masoned", + "block.minecraft.banner.bricks.gray": "Gray Field Masoned", + "block.minecraft.banner.bricks.pink": "Pink Field Masoned", + "block.minecraft.banner.bricks.lime": "Lime Field Masoned", + "block.minecraft.banner.bricks.yellow": "Yellow Field Masoned", + "block.minecraft.banner.bricks.light_blue": "Light Blue Field Masoned", + "block.minecraft.banner.bricks.magenta": "Magenta Field Masoned", + "block.minecraft.banner.bricks.orange": "Orange Field Masoned", + "block.minecraft.banner.bricks.white": "White Field Masoned", + "block.minecraft.banner.gradient.black": "Black Gradient", + "block.minecraft.banner.gradient.red": "Red Gradient", + "block.minecraft.banner.gradient.green": "Green Gradient", + "block.minecraft.banner.gradient.brown": "Brown Gradient", + "block.minecraft.banner.gradient.blue": "Blue Gradient", + "block.minecraft.banner.gradient.purple": "Purple Gradient", + "block.minecraft.banner.gradient.cyan": "Cyan Gradient", + "block.minecraft.banner.gradient.light_gray": "Light Gray Gradient", + "block.minecraft.banner.gradient.gray": "Gray Gradient", + "block.minecraft.banner.gradient.pink": "Pink Gradient", + "block.minecraft.banner.gradient.lime": "Lime Gradient", + "block.minecraft.banner.gradient.yellow": "Yellow Gradient", + "block.minecraft.banner.gradient.light_blue": "Light Blue Gradient", + "block.minecraft.banner.gradient.magenta": "Magenta Gradient", + "block.minecraft.banner.gradient.orange": "Orange Gradient", + "block.minecraft.banner.gradient.white": "White Gradient", + "block.minecraft.banner.gradient_up.black": "Black Base Gradient", + "block.minecraft.banner.gradient_up.red": "Red Base Gradient", + "block.minecraft.banner.gradient_up.green": "Green Base Gradient", + "block.minecraft.banner.gradient_up.brown": "Brown Base Gradient", + "block.minecraft.banner.gradient_up.blue": "Blue Base Gradient", + "block.minecraft.banner.gradient_up.purple": "Purple Base Gradient", + "block.minecraft.banner.gradient_up.cyan": "Cyan Base Gradient", + "block.minecraft.banner.gradient_up.light_gray": "Light Gray Base Gradient", + "block.minecraft.banner.gradient_up.gray": "Gray Base Gradient", + "block.minecraft.banner.gradient_up.pink": "Pink Base Gradient", + "block.minecraft.banner.gradient_up.lime": "Lime Base Gradient", + "block.minecraft.banner.gradient_up.yellow": "Yellow Base Gradient", + "block.minecraft.banner.gradient_up.light_blue": "Light Blue Base Gradient", + "block.minecraft.banner.gradient_up.magenta": "Magenta Base Gradient", + "block.minecraft.banner.gradient_up.orange": "Orange Base Gradient", + "block.minecraft.banner.gradient_up.white": "White Base Gradient", + "block.minecraft.banner.skull.black": "Black Skull Charge", + "block.minecraft.banner.skull.red": "Red Skull Charge", + "block.minecraft.banner.skull.green": "Green Skull Charge", + "block.minecraft.banner.skull.brown": "Brown Skull Charge", + "block.minecraft.banner.skull.blue": "Blue Skull Charge", + "block.minecraft.banner.skull.purple": "Purple Skull Charge", + "block.minecraft.banner.skull.cyan": "Cyan Skull Charge", + "block.minecraft.banner.skull.light_gray": "Light Gray Skull Charge", + "block.minecraft.banner.skull.gray": "Gray Skull Charge", + "block.minecraft.banner.skull.pink": "Pink Skull Charge", + "block.minecraft.banner.skull.lime": "Lime Skull Charge", + "block.minecraft.banner.skull.yellow": "Yellow Skull Charge", + "block.minecraft.banner.skull.light_blue": "Light Blue Skull Charge", + "block.minecraft.banner.skull.magenta": "Magenta Skull Charge", + "block.minecraft.banner.skull.orange": "Orange Skull Charge", + "block.minecraft.banner.skull.white": "White Skull Charge", + "block.minecraft.banner.flower.black": "Black Flower Charge", + "block.minecraft.banner.flower.red": "Red Flower Charge", + "block.minecraft.banner.flower.green": "Green Flower Charge", + "block.minecraft.banner.flower.brown": "Brown Flower Charge", + "block.minecraft.banner.flower.blue": "Blue Flower Charge", + "block.minecraft.banner.flower.purple": "Purple Flower Charge", + "block.minecraft.banner.flower.cyan": "Cyan Flower Charge", + "block.minecraft.banner.flower.light_gray": "Light Gray Flower Charge", + "block.minecraft.banner.flower.gray": "Gray Flower Charge", + "block.minecraft.banner.flower.pink": "Pink Flower Charge", + "block.minecraft.banner.flower.lime": "Lime Flower Charge", + "block.minecraft.banner.flower.yellow": "Yellow Flower Charge", + "block.minecraft.banner.flower.light_blue": "Light Blue Flower Charge", + "block.minecraft.banner.flower.magenta": "Magenta Flower Charge", + "block.minecraft.banner.flower.orange": "Orange Flower Charge", + "block.minecraft.banner.flower.white": "White Flower Charge", + "block.minecraft.banner.border.black": "Black Bordure", + "block.minecraft.banner.border.red": "Red Bordure", + "block.minecraft.banner.border.green": "Green Bordure", + "block.minecraft.banner.border.brown": "Brown Bordure", + "block.minecraft.banner.border.blue": "Blue Bordure", + "block.minecraft.banner.border.purple": "Purple Bordure", + "block.minecraft.banner.border.cyan": "Cyan Bordure", + "block.minecraft.banner.border.light_gray": "Light Gray Bordure", + "block.minecraft.banner.border.gray": "Gray Bordure", + "block.minecraft.banner.border.pink": "Pink Bordure", + "block.minecraft.banner.border.lime": "Lime Bordure", + "block.minecraft.banner.border.yellow": "Yellow Bordure", + "block.minecraft.banner.border.light_blue": "Light Blue Bordure", + "block.minecraft.banner.border.magenta": "Magenta Bordure", + "block.minecraft.banner.border.orange": "Orange Bordure", + "block.minecraft.banner.border.white": "White Bordure", + "block.minecraft.banner.curly_border.black": "Black Bordure Indented", + "block.minecraft.banner.curly_border.red": "Red Bordure Indented", + "block.minecraft.banner.curly_border.green": "Green Bordure Indented", + "block.minecraft.banner.curly_border.brown": "Brown Bordure Indented", + "block.minecraft.banner.curly_border.blue": "Blue Bordure Indented", + "block.minecraft.banner.curly_border.purple": "Purple Bordure Indented", + "block.minecraft.banner.curly_border.cyan": "Cyan Bordure Indented", + "block.minecraft.banner.curly_border.light_gray": "Light Gray Bordure Indented", + "block.minecraft.banner.curly_border.gray": "Gray Bordure Indented", + "block.minecraft.banner.curly_border.pink": "Pink Bordure Indented", + "block.minecraft.banner.curly_border.lime": "Lime Bordure Indented", + "block.minecraft.banner.curly_border.yellow": "Yellow Bordure Indented", + "block.minecraft.banner.curly_border.light_blue": "Light Blue Bordure Indented", + "block.minecraft.banner.curly_border.magenta": "Magenta Bordure Indented", + "block.minecraft.banner.curly_border.orange": "Orange Bordure Indented", + "block.minecraft.banner.curly_border.white": "White Bordure Indented", + "block.minecraft.banner.mojang.black": "Black Thing", + "block.minecraft.banner.mojang.red": "Red Thing", + "block.minecraft.banner.mojang.green": "Green Thing", + "block.minecraft.banner.mojang.brown": "Brown Thing", + "block.minecraft.banner.mojang.blue": "Blue Thing", + "block.minecraft.banner.mojang.purple": "Purple Thing", + "block.minecraft.banner.mojang.cyan": "Cyan Thing", + "block.minecraft.banner.mojang.light_gray": "Light Gray Thing", + "block.minecraft.banner.mojang.gray": "Gray Thing", + "block.minecraft.banner.mojang.pink": "Pink Thing", + "block.minecraft.banner.mojang.lime": "Lime Thing", + "block.minecraft.banner.mojang.yellow": "Yellow Thing", + "block.minecraft.banner.mojang.light_blue": "Light Blue Thing", + "block.minecraft.banner.mojang.magenta": "Magenta Thing", + "block.minecraft.banner.mojang.orange": "Orange Thing", + "block.minecraft.banner.mojang.white": "White Thing", + "block.minecraft.banner.straight_cross.black": "Black Cross", + "block.minecraft.banner.straight_cross.red": "Red Cross", + "block.minecraft.banner.straight_cross.green": "Green Cross", + "block.minecraft.banner.straight_cross.brown": "Brown Cross", + "block.minecraft.banner.straight_cross.blue": "Blue Cross", + "block.minecraft.banner.straight_cross.purple": "Purple Cross", + "block.minecraft.banner.straight_cross.cyan": "Cyan Cross", + "block.minecraft.banner.straight_cross.light_gray": "Light Gray Cross", + "block.minecraft.banner.straight_cross.gray": "Gray Cross", + "block.minecraft.banner.straight_cross.pink": "Pink Cross", + "block.minecraft.banner.straight_cross.lime": "Lime Cross", + "block.minecraft.banner.straight_cross.yellow": "Yellow Cross", + "block.minecraft.banner.straight_cross.light_blue": "Light Blue Cross", + "block.minecraft.banner.straight_cross.magenta": "Magenta Cross", + "block.minecraft.banner.straight_cross.orange": "Orange Cross", + "block.minecraft.banner.straight_cross.white": "White Cross", + "block.minecraft.banner.globe.black": "Black Globe", + "block.minecraft.banner.globe.red": "Red Globe", + "block.minecraft.banner.globe.green": "Green Globe", + "block.minecraft.banner.globe.brown": "Brown Globe", + "block.minecraft.banner.globe.blue": "Blue Globe", + "block.minecraft.banner.globe.purple": "Purple Globe", + "block.minecraft.banner.globe.cyan": "Cyan Globe", + "block.minecraft.banner.globe.light_gray": "Light Gray Globe", + "block.minecraft.banner.globe.gray": "Gray Globe", + "block.minecraft.banner.globe.pink": "Pink Globe", + "block.minecraft.banner.globe.lime": "Lime Globe", + "block.minecraft.banner.globe.yellow": "Yellow Globe", + "block.minecraft.banner.globe.light_blue": "Light Blue Globe", + "block.minecraft.banner.globe.magenta": "Magenta Globe", + "block.minecraft.banner.globe.orange": "Orange Globe", + "block.minecraft.banner.globe.white": "White Globe", + "subtitles.ambient.cave": "Eerie noise", + "subtitles.block.anvil.destroy": "Anvil destroyed", + "subtitles.block.anvil.land": "Anvil landed", + "subtitles.block.anvil.use": "Anvil used", + "subtitles.block.barrel.close": "Barrel closes", + "subtitles.block.barrel.open": "Barrel opens", + "subtitles.block.bell.use": "Bell rings", + "subtitles.block.bell.resonate": "Bell resonates", + "subtitles.block.blastfurnace.fire_crackle": "Blast furnace crackles", + "subtitles.block.brewing_stand.brew": "Brewing Stand bubbles", + "subtitles.block.bubble_column.bubble_pop": "Bubbles pop", + "subtitles.block.bubble_column.upwards_ambient": "Bubbles flow", + "subtitles.block.bubble_column.upwards_inside": "Bubbles woosh", + "subtitles.block.bubble_column.whirlpool_ambient": "Bubbles whirl", + "subtitles.block.bubble_column.whirlpool_inside": "Bubbles zoom", + "subtitles.block.button.click": "Button clicks", + "subtitles.block.campfire.crackle": "Campfire crackles", + "subtitles.block.chest.close": "Chest closes", + "subtitles.block.chest.locked": "Chest locked", + "subtitles.block.chest.open": "Chest opens", + "subtitles.block.chorus_flower.death": "Chorus Flower withers", + "subtitles.block.chorus_flower.grow": "Chorus Flower grows", + "subtitles.block.comparator.click": "Comparator clicks", + "subtitles.block.dispenser.dispense": "Dispensed item", + "subtitles.block.dispenser.fail": "Dispenser failed", + "subtitles.block.door.toggle": "Door creaks", + "subtitles.block.fence_gate.toggle": "Fence Gate creaks", + "subtitles.block.fire.ambient": "Fire crackles", + "subtitles.block.fire.extinguish": "Fire extinguished", + "subtitles.block.furnace.fire_crackle": "Furnace crackles", + "subtitles.block.generic.break": "Block broken", + "subtitles.block.generic.footsteps": "Footsteps", + "subtitles.block.generic.hit": "Block breaking", + "subtitles.block.generic.place": "Block placed", + "subtitles.block.grindstone.use": "Grindstone used", + "subtitles.block.iron_trapdoor.close": "Trapdoor opens", + "subtitles.block.iron_trapdoor.open": "Trapdoor closes", + "subtitles.block.lava.ambient": "Lava pops", + "subtitles.block.lava.extinguish": "Lava hisses", + "subtitles.block.lever.click": "Lever clicks", + "subtitles.block.note_block.note": "Note Block plays", + "subtitles.block.piston.move": "Piston moves", + "subtitles.block.portal.ambient": "Portal whooshes", + "subtitles.block.pressure_plate.click": "Pressure Plate clicks", + "subtitles.block.redstone_torch.burnout": "Torch fizzes", + "subtitles.block.shulker_box.close": "Shulker closes", + "subtitles.block.shulker_box.open": "Shulker opens", + "subtitles.block.smoker.smoke": "Smoker smokes", + "subtitles.block.trapdoor.toggle": "Trapdoor creaks", + "subtitles.block.tripwire.attach": "Tripwire attaches", + "subtitles.block.tripwire.click": "Tripwire clicks", + "subtitles.block.tripwire.detach": "Tripwire detaches", + "subtitles.block.water.ambient": "Water flows", + "subtitles.enchant.thorns.hit": "Thorns prick", + "subtitles.entity.armor_stand.fall": "Something fell", + "subtitles.entity.arrow.hit": "Arrow hits", + "subtitles.entity.arrow.hit_player": "Player hit", + "subtitles.entity.arrow.shoot": "Arrow fired", + "subtitles.entity.bat.ambient": "Bat screeches", + "subtitles.entity.bat.death": "Bat dies", + "subtitles.entity.bat.hurt": "Bat hurts", + "subtitles.entity.bat.takeoff": "Bat takes off", + "subtitles.entity.blaze.ambient": "Blaze breathes", + "subtitles.entity.blaze.burn": "Blaze crackles", + "subtitles.entity.blaze.death": "Blaze dies", + "subtitles.entity.blaze.hurt": "Blaze hurts", + "subtitles.entity.blaze.shoot": "Blaze shoots", + "subtitles.entity.fishing_bobber.splash": "Fishing Bobber splashes", + "subtitles.entity.fishing_bobber.throw": "Bobber thrown", + "subtitles.entity.cat.ambient": "Cat meows", + "subtitles.entity.cat.death": "Cat dies", + "subtitles.entity.cat.hurt": "Cat hurts", + "subtitles.entity.chicken.ambient": "Chicken clucks", + "subtitles.entity.chicken.death": "Chicken dies", + "subtitles.entity.chicken.egg": "Chicken plops", + "subtitles.entity.chicken.hurt": "Chicken hurts", + "subtitles.entity.parrot.ambient": "Parrot talks", + "subtitles.entity.parrot.death": "Parrot dies", + "subtitles.entity.parrot.eats": "Parrot eats", + "subtitles.entity.parrot.hurts": "Parrot hurts", + "subtitles.entity.parrot.imitate.blaze": "Parrot breathes", + "subtitles.entity.parrot.imitate.creeper": "Parrot hisses", + "subtitles.entity.parrot.imitate.drowned": "Parrot gurgles", + "subtitles.entity.parrot.imitate.elder_guardian": "Parrot flaps", + "subtitles.entity.parrot.imitate.ender_dragon": "Parrot roars", + "subtitles.entity.parrot.imitate.enderman": "Parrot vwoops", + "subtitles.entity.parrot.imitate.endermite": "Parrot scuttles", + "subtitles.entity.parrot.imitate.evoker": "Parrot murmurs", + "subtitles.entity.parrot.imitate.ghast": "Parrot cries", + "subtitles.entity.parrot.imitate.guardian": "Parrot moans", + "subtitles.entity.parrot.imitate.husk": "Parrot groans", + "subtitles.entity.parrot.imitate.illusioner": "Parrot murmurs", + "subtitles.entity.parrot.imitate.magma_cube": "Parrot squishes", + "subtitles.entity.parrot.imitate.panda": "Parrot pants", + "subtitles.entity.parrot.imitate.phantom": "Parrot screeches", + "subtitles.entity.parrot.imitate.pillager": "Parrot murmurs", + "subtitles.entity.parrot.imitate.polar_bear": "Parrot groans", + "subtitles.entity.parrot.imitate.ravager": "Parrot grunts", + "subtitles.entity.parrot.imitate.shulker": "Parrot lurks", + "subtitles.entity.parrot.imitate.silverfish": "Parrot hisses", + "subtitles.entity.parrot.imitate.skeleton": "Parrot rattles", + "subtitles.entity.parrot.imitate.slime": "Parrot squishes", + "subtitles.entity.parrot.imitate.spider": "Parrot hisses", + "subtitles.entity.parrot.imitate.stray": "Parrot rattles", + "subtitles.entity.parrot.imitate.vex": "Parrot vexes", + "subtitles.entity.parrot.imitate.vindicator": "Parrot mutters", + "subtitles.entity.parrot.imitate.witch": "Parrot giggles", + "subtitles.entity.parrot.imitate.wither": "Parrot angers", + "subtitles.entity.parrot.imitate.wither_skeleton": "Parrot rattles", + "subtitles.entity.parrot.imitate.wolf": "Parrot pants", + "subtitles.entity.parrot.imitate.zombie": "Parrot groans", + "subtitles.entity.parrot.imitate.zombie_pigman": "Parrot grunts", + "subtitles.entity.parrot.imitate.zombie_villager": "Parrot groans", + "subtitles.entity.cod.death": "Cod dies", + "subtitles.entity.cod.flop": "Cod flops", + "subtitles.entity.cod.hurt": "Cod hurts", + "subtitles.entity.cow.ambient": "Cow moos", + "subtitles.entity.cow.death": "Cow dies", + "subtitles.entity.cow.hurt": "Cow hurts", + "subtitles.entity.cow.milk": "Cow gets milked", + "subtitles.entity.creeper.death": "Creeper dies", + "subtitles.entity.creeper.hurt": "Creeper hurts", + "subtitles.entity.creeper.primed": "Creeper hisses", + "subtitles.entity.dolphin.ambient": "Dolphin chirps", + "subtitles.entity.dolphin.ambient_water": "Dolphin whistles", + "subtitles.entity.dolphin.attack": "Dolphin attacks", + "subtitles.entity.dolphin.death": "Dolphin dies", + "subtitles.entity.dolphin.eat": "Dolphin eats", + "subtitles.entity.dolphin.hurt": "Dolphin hurts", + "subtitles.entity.dolphin.jump": "Dolphin jumps", + "subtitles.entity.dolphin.play": "Dolphin plays", + "subtitles.entity.dolphin.splash": "Dolphin splashes", + "subtitles.entity.dolphin.swim": "Dolphin swims", + "subtitles.entity.donkey.ambient": "Donkey hee-haws", + "subtitles.entity.donkey.angry": "Donkey neighs", + "subtitles.entity.donkey.chest": "Donkey Chest equips", + "subtitles.entity.donkey.death": "Donkey dies", + "subtitles.entity.donkey.hurt": "Donkey hurts", + "subtitles.entity.drowned.ambient": "Drowned gurgles", + "subtitles.entity.drowned.death": "Drowned dies", + "subtitles.entity.drowned.hurt": "Drowned hurts", + "subtitles.entity.drowned.shoot": "Drowned throws Trident", + "subtitles.entity.drowned.step": "Drowned steps", + "subtitles.entity.drowned.swim": "Drowned swims", + "subtitles.entity.egg.throw": "Egg flies", + "subtitles.entity.elder_guardian.ambient_land": "Elder Guardian flaps", + "subtitles.entity.elder_guardian.ambient": "Elder Guardian moans", + "subtitles.entity.elder_guardian.curse": "Elder Guardian curses", + "subtitles.entity.elder_guardian.death": "Elder Guardian dies", + "subtitles.entity.elder_guardian.flop": "Elder Guardian flops", + "subtitles.entity.elder_guardian.hurt": "Elder Guardian hurts", + "subtitles.entity.ender_dragon.ambient": "Dragon roars", + "subtitles.entity.ender_dragon.death": "Dragon dies", + "subtitles.entity.ender_dragon.flap": "Dragon flaps", + "subtitles.entity.ender_dragon.growl": "Dragon growls", + "subtitles.entity.ender_dragon.hurt": "Dragon hurts", + "subtitles.entity.ender_dragon.shoot": "Dragon shoots", + "subtitles.entity.ender_eye.launch": "Eye of Ender shoots", + "subtitles.entity.enderman.ambient": "Enderman vwoops", + "subtitles.entity.enderman.death": "Enderman dies", + "subtitles.entity.enderman.hurt": "Enderman hurts", + "subtitles.entity.enderman.stare": "Enderman cries out", + "subtitles.entity.enderman.teleport": "Enderman teleports", + "subtitles.entity.endermite.ambient": "Endermite scuttles", + "subtitles.entity.endermite.death": "Endermite dies", + "subtitles.entity.endermite.hurt": "Endermite hurts", + "subtitles.entity.ender_pearl.throw": "Ender Pearl flies", + "subtitles.entity.evoker_fangs.attack": "Fangs snap", + "subtitles.entity.evoker.ambient": "Evoker murmurs", + "subtitles.entity.evoker.cast_spell": "Evoker casts spell", + "subtitles.entity.evoker.celebrate": "Evoker cheers", + "subtitles.entity.evoker.death": "Evoker dies", + "subtitles.entity.evoker.hurt": "Evoker hurts", + "subtitles.entity.evoker.prepare_attack": "Evoker prepares attack", + "subtitles.entity.evoker.prepare_summon": "Evoker prepares summoning", + "subtitles.entity.evoker.prepare_wololo": "Evoker prepares charming", + "subtitles.entity.experience_orb.pickup": "Experience gained", + "subtitles.entity.firework_rocket.blast": "Firework blasts", + "subtitles.entity.firework_rocket.launch": "Firework launches", + "subtitles.entity.firework_rocket.twinkle": "Firework twinkles", + "subtitles.entity.fox.aggro": "Fox angers", + "subtitles.entity.fox.ambient": "Fox squeaks", + "subtitles.entity.fox.bite": "Fox bites", + "subtitles.entity.fox.death": "Fox dies", + "subtitles.entity.fox.eat": "Fox eats", + "subtitles.entity.fox.hurt": "Fox hurts", + "subtitles.entity.fox.screech": "Fox screeches", + "subtitles.entity.fox.sleep": "Fox snores", + "subtitles.entity.fox.sniff": "Fox sniffs", + "subtitles.entity.fox.spit": "Fox spits", + "subtitles.entity.generic.big_fall": "Something fell", + "subtitles.entity.generic.burn": "Burning", + "subtitles.entity.generic.death": "Dying", + "subtitles.entity.generic.drink": "Sipping", + "subtitles.entity.generic.eat": "Eating", + "subtitles.entity.generic.explode": "Explosion", + "subtitles.entity.generic.extinguish_fire": "Fire extinguishes", + "subtitles.entity.generic.hurt": "Something hurts", + "subtitles.entity.generic.small_fall": "Something trips", + "subtitles.entity.generic.splash": "Splashing", + "subtitles.entity.generic.swim": "Swimming", + "subtitles.entity.ghast.ambient": "Ghast cries", + "subtitles.entity.ghast.death": "Ghast dies", + "subtitles.entity.ghast.hurt": "Ghast hurts", + "subtitles.entity.ghast.shoot": "Ghast shoots", + "subtitles.entity.guardian.ambient_land": "Guardian flaps", + "subtitles.entity.guardian.ambient": "Guardian moans", + "subtitles.entity.guardian.attack": "Guardian shoots", + "subtitles.entity.guardian.death": "Guardian dies", + "subtitles.entity.guardian.flop": "Guardian flops", + "subtitles.entity.guardian.hurt": "Guardian hurts", + "subtitles.entity.horse.ambient": "Horse neighs", + "subtitles.entity.horse.angry": "Horse neighs", + "subtitles.entity.horse.armor": "Horse armor equips", + "subtitles.entity.horse.breathe": "Horse breathes", + "subtitles.entity.horse.death": "Horse dies", + "subtitles.entity.horse.eat": "Horse eats", + "subtitles.entity.horse.gallop": "Horse gallops", + "subtitles.entity.horse.hurt": "Horse hurts", + "subtitles.entity.horse.jump": "Horse jumps", + "subtitles.entity.horse.saddle": "Saddle equips", + "subtitles.entity.husk.ambient": "Husk groans", + "subtitles.entity.husk.converted_to_zombie": "Husk converted to Zombie", + "subtitles.entity.husk.death": "Husk dies", + "subtitles.entity.husk.hurt": "Husk hurts", + "subtitles.entity.illusioner.ambient": "Illusioner murmurs", + "subtitles.entity.illusioner.cast_spell": "Illusioner casts spell", + "subtitles.entity.illusioner.death": "Illusioner dies", + "subtitles.entity.illusioner.hurt": "Illusioner hurts", + "subtitles.entity.illusioner.mirror_move": "Illusioner displaces", + "subtitles.entity.illusioner.prepare_blindness": "Illusioner prepares blindness", + "subtitles.entity.illusioner.prepare_mirror": "Illusioner prepares mirror image", + "subtitles.entity.iron_golem.attack": "Iron Golem attacks", + "subtitles.entity.iron_golem.death": "Iron Golem dies", + "subtitles.entity.iron_golem.hurt": "Iron Golem hurts", + "subtitles.entity.item.break": "Item breaks", + "subtitles.entity.item.pickup": "Item plops", + "subtitles.entity.item_frame.add_item": "Item Frame fills", + "subtitles.entity.item_frame.break": "Item Frame breaks", + "subtitles.entity.item_frame.place": "Item Frame placed", + "subtitles.entity.item_frame.remove_item": "Item Frame empties", + "subtitles.entity.item_frame.rotate_item": "Item Frame clicks", + "subtitles.entity.leash_knot.break": "Leash knot breaks", + "subtitles.entity.leash_knot.place": "Leash knot tied", + "subtitles.entity.lightning_bolt.impact": "Lightning strikes", + "subtitles.entity.lightning_bolt.thunder": "Thunder roars", + "subtitles.entity.llama.ambient": "Llama bleats", + "subtitles.entity.llama.angry": "Llama bleats angrily", + "subtitles.entity.llama.chest": "Llama Chest equips", + "subtitles.entity.llama.death": "Llama dies", + "subtitles.entity.llama.eat": "Llama eats", + "subtitles.entity.llama.hurt": "Llama hurts", + "subtitles.entity.llama.spit": "Llama spits", + "subtitles.entity.llama.step": "Llama steps", + "subtitles.entity.llama.swag": "Llama is decorated", + "subtitles.entity.ravager.step": "Ravager steps", + "subtitles.entity.ravager.stunned": "Ravager stunned", + "subtitles.entity.ravager.roar": "Ravager roars", + "subtitles.entity.ravager.attack": "Ravager bites", + "subtitles.entity.ravager.death": "Ravager dies", + "subtitles.entity.ravager.hurt": "Ravager hurts", + "subtitles.entity.ravager.ambient": "Ravager grunts", + "subtitles.entity.ravager.celebrate": "Ravager cheers", + "subtitles.entity.magma_cube.death": "Magma Cube dies", + "subtitles.entity.magma_cube.hurt": "Magma Cube hurts", + "subtitles.entity.magma_cube.squish": "Magma Cube squishes", + "subtitles.entity.minecart.riding": "Minecart rolls", + "subtitles.entity.mooshroom.convert": "Mooshroom transforms", + "subtitles.entity.mooshroom.eat": "Mooshroom eats", + "subtitles.entity.mooshroom.milk": "Mooshroom gets milked", + "subtitles.entity.mooshroom.suspicious_milk": "Mooshroom gets milked suspiciously", + "subtitles.entity.mule.ambient": "Mule hee-haws", + "subtitles.entity.mule.chest": "Mule Chest equips", + "subtitles.entity.mule.death": "Mule dies", + "subtitles.entity.mule.hurt": "Mule hurts", + "subtitles.entity.panda.ambient": "Panda pants", + "subtitles.entity.panda.pre_sneeze": "Panda's nose tickles", + "subtitles.entity.panda.sneeze": "Panda sneezes", + "subtitles.entity.panda.death": "Panda dies", + "subtitles.entity.panda.eat": "Panda eats", + "subtitles.entity.panda.step": "Panda steps", + "subtitles.entity.panda.cant_breed": "Panda bleats", + "subtitles.entity.panda.aggressive_ambient": "Panda huffs", + "subtitles.entity.panda.worried_ambient": "Panda whimpers", + "subtitles.entity.panda.hurt": "Panda hurts", + "subtitles.entity.panda.bite": "Panda bites", + "subtitles.entity.painting.break": "Painting breaks", + "subtitles.entity.painting.place": "Painting placed", + "subtitles.entity.phantom.ambient": "Phantom screeches", + "subtitles.entity.phantom.bite": "Phantom bites", + "subtitles.entity.phantom.death": "Phantom dies", + "subtitles.entity.phantom.flap": "Phantom flaps", + "subtitles.entity.phantom.hurt": "Phantom hurts", + "subtitles.entity.phantom.swoop": "Phantom swoops", + "subtitles.entity.pig.ambient": "Pig oinks", + "subtitles.entity.pig.death": "Pig dies", + "subtitles.entity.pig.hurt": "Pig hurts", + "subtitles.entity.pig.saddle": "Saddle equips", + "subtitles.entity.pillager.ambient": "Pillager murmurs", + "subtitles.entity.pillager.celebrate": "Pillager cheers", + "subtitles.entity.pillager.death": "Pillager dies", + "subtitles.entity.pillager.hurt": "Pillager hurts", + "subtitles.entity.player.burp": "Burp", + "subtitles.entity.player.death": "Player dies", + "subtitles.entity.player.hurt": "Player hurts", + "subtitles.entity.player.levelup": "Player dings", + "subtitles.entity.polar_bear.ambient": "Polar Bear groans", + "subtitles.entity.polar_bear.ambient_baby": "Polar Bear hums", + "subtitles.entity.polar_bear.death": "Polar Bear dies", + "subtitles.entity.polar_bear.hurt": "Polar Bear hurts", + "subtitles.entity.polar_bear.warning": "Polar Bear roars", + "subtitles.entity.potion.splash": "Bottle smashes", + "subtitles.entity.potion.throw": "Bottle thrown", + "subtitles.entity.puffer_fish.blow_out": "Pufferfish deflates", + "subtitles.entity.puffer_fish.blow_up": "Pufferfish inflates", + "subtitles.entity.puffer_fish.death": "Pufferfish dies", + "subtitles.entity.puffer_fish.flop": "Pufferfish flops", + "subtitles.entity.puffer_fish.hurt": "Pufferfish hurts", + "subtitles.entity.puffer_fish.sting": "Pufferfish stings", + "subtitles.entity.rabbit.ambient": "Rabbit squeaks", + "subtitles.entity.rabbit.attack": "Rabbit attacks", + "subtitles.entity.rabbit.death": "Rabbit dies", + "subtitles.entity.rabbit.hurt": "Rabbit hurts", + "subtitles.entity.rabbit.jump": "Rabbit hops", + "subtitles.entity.salmon.death": "Salmon dies", + "subtitles.entity.salmon.flop": "Salmon flops", + "subtitles.entity.salmon.hurt": "Salmon hurts", + "subtitles.entity.sheep.ambient": "Sheep baahs", + "subtitles.entity.sheep.death": "Sheep dies", + "subtitles.entity.sheep.hurt": "Sheep hurts", + "subtitles.entity.shulker.ambient": "Shulker lurks", + "subtitles.entity.shulker.close": "Shulker closes", + "subtitles.entity.shulker.death": "Shulker dies", + "subtitles.entity.shulker.hurt": "Shulker hurts", + "subtitles.entity.shulker.open": "Shulker opens", + "subtitles.entity.shulker.shoot": "Shulker shoots", + "subtitles.entity.shulker.teleport": "Shulker teleports", + "subtitles.entity.shulker_bullet.hit": "Shulker bullet explodes", + "subtitles.entity.shulker_bullet.hurt": "Shulker bullet breaks", + "subtitles.entity.silverfish.ambient": "Silverfish hisses", + "subtitles.entity.silverfish.death": "Silverfish dies", + "subtitles.entity.silverfish.hurt": "Silverfish hurts", + "subtitles.entity.skeleton.ambient": "Skeleton rattles", + "subtitles.entity.skeleton.death": "Skeleton dies", + "subtitles.entity.skeleton.hurt": "Skeleton hurts", + "subtitles.entity.skeleton.shoot": "Skeleton shoots", + "subtitles.entity.skeleton_horse.ambient": "Skeleton Horse cries", + "subtitles.entity.skeleton_horse.death": "Skeleton Horse dies", + "subtitles.entity.skeleton_horse.hurt": "Skeleton Horse hurts", + "subtitles.entity.skeleton_horse.swim": "Skeleton Horse swims", + "subtitles.entity.slime.attack": "Slime attacks", + "subtitles.entity.slime.death": "Slime dies", + "subtitles.entity.slime.hurt": "Slime hurts", + "subtitles.entity.slime.squish": "Slime squishes", + "subtitles.entity.snowball.throw": "Snowball flies", + "subtitles.entity.snow_golem.death": "Snow Golem dies", + "subtitles.entity.snow_golem.hurt": "Snow Golem hurts", + "subtitles.entity.spider.ambient": "Spider hisses", + "subtitles.entity.spider.death": "Spider dies", + "subtitles.entity.spider.hurt": "Spider hurts", + "subtitles.entity.squid.ambient": "Squid swims", + "subtitles.entity.squid.death": "Squid dies", + "subtitles.entity.squid.hurt": "Squid hurts", + "subtitles.entity.squid.squirt": "Squid shoots ink", + "subtitles.entity.stray.ambient": "Stray rattles", + "subtitles.entity.stray.death": "Stray dies", + "subtitles.entity.stray.hurt": "Stray hurts", + "subtitles.entity.tnt.primed": "TNT fizzes", + "subtitles.entity.turtle.ambient_land": "Turtle chirps", + "subtitles.entity.turtle.lay_egg": "Turtle lays egg", + "subtitles.entity.turtle.egg_hatch": "Turtle egg hatches", + "subtitles.entity.turtle.egg_crack": "Turtle egg cracks", + "subtitles.entity.turtle.egg_break": "Turtle egg breaks", + "subtitles.entity.turtle.hurt": "Turtle hurts", + "subtitles.entity.turtle.hurt_baby": "Turtle baby hurts", + "subtitles.entity.turtle.death": "Turtle dies", + "subtitles.entity.turtle.death_baby": "Turtle baby dies", + "subtitles.entity.turtle.swim": "Turtle swims", + "subtitles.entity.turtle.shamble": "Turtle shambles", + "subtitles.entity.turtle.shamble_baby": "Turtle baby shambles", + "subtitles.entity.vex.ambient": "Vex vexes", + "subtitles.entity.vex.charge": "Vex shrieks", + "subtitles.entity.vex.death": "Vex dies", + "subtitles.entity.vex.hurt": "Vex hurts", + "subtitles.entity.villager.ambient": "Villager mumbles", + "subtitles.entity.villager.celebrate": "Villager cheers", + "subtitles.entity.villager.death": "Villager dies", + "subtitles.entity.villager.hurt": "Villager hurts", + "subtitles.entity.villager.no": "Villager disagrees", + "subtitles.entity.villager.trade": "Villager trades", + "subtitles.entity.villager.yes": "Villager agrees", + "subtitles.entity.villager.work_armorer": "Armorer works", + "subtitles.entity.villager.work_butcher": "Butcher works", + "subtitles.entity.villager.work_cartographer": "Cartographer works", + "subtitles.entity.villager.work_cleric": "Cleric works", + "subtitles.entity.villager.work_farmer": "Farmer works", + "subtitles.entity.villager.work_fisherman": "Fisherman works", + "subtitles.entity.villager.work_fletcher": "Fletcher works", + "subtitles.entity.villager.work_leatherworker": "Leatherworker works", + "subtitles.entity.villager.work_librarian": "Librarian works", + "subtitles.entity.villager.work_mason": "Mason works", + "subtitles.entity.villager.work_shepherd": "Shepherd works", + "subtitles.entity.villager.work_toolsmith": "Toolsmith works", + "subtitles.entity.villager.work_weaponsmith": "Weaponsmith works", + "subtitles.entity.vindicator.ambient": "Vindicator mutters", + "subtitles.entity.vindicator.celebrate": "Vindicator cheers", + "subtitles.entity.vindicator.death": "Vindicator dies", + "subtitles.entity.vindicator.hurt": "Vindicator hurts", + "subtitles.entity.wandering_trader.ambient": "Wandering Trader mumbles", + "subtitles.entity.wandering_trader.death": "Wandering Trader dies", + "subtitles.entity.wandering_trader.hurt": "Wandering Trader hurts", + "subtitles.entity.wandering_trader.no": "Wandering Trader disagrees", + "subtitles.entity.wandering_trader.trade": "Wandering Trader trades", + "subtitles.entity.wandering_trader.yes": "Wandering Trader agrees", + "subtitles.entity.witch.ambient": "Witch giggles", + "subtitles.entity.witch.celebrate": "Witch cheers", + "subtitles.entity.witch.death": "Witch dies", + "subtitles.entity.witch.drink": "Witch drinks", + "subtitles.entity.witch.hurt": "Witch hurts", + "subtitles.entity.witch.throw": "Witch throws", + "subtitles.entity.wither.ambient": "Wither angers", + "subtitles.entity.wither.death": "Wither dies", + "subtitles.entity.wither.hurt": "Wither hurts", + "subtitles.entity.wither.shoot": "Wither attacks", + "subtitles.entity.wither.spawn": "Wither released", + "subtitles.entity.wither_skeleton.ambient": "Wither Skeleton rattles", + "subtitles.entity.wither_skeleton.death": "Wither Skeleton dies", + "subtitles.entity.wither_skeleton.hurt": "Wither Skeleton hurts", + "subtitles.entity.wolf.ambient": "Wolf pants", + "subtitles.entity.wolf.death": "Wolf dies", + "subtitles.entity.wolf.growl": "Wolf growls", + "subtitles.entity.wolf.hurt": "Wolf hurts", + "subtitles.entity.wolf.shake": "Wolf shakes", + "subtitles.entity.zombie.ambient": "Zombie groans", + "subtitles.entity.zombie.converted_to_drowned": "Zombie converted to Drowned", + "subtitles.entity.zombie.death": "Zombie dies", + "subtitles.entity.zombie.hurt": "Zombie hurts", + "subtitles.entity.zombie.infect": "Zombie infects", + "subtitles.entity.zombie_horse.ambient": "Zombie Horse cries", + "subtitles.entity.zombie_horse.death": "Zombie Horse dies", + "subtitles.entity.zombie_horse.hurt": "Zombie Horse hurts", + "subtitles.entity.zombie_pigman.ambient": "Zombie Pigman grunts", + "subtitles.entity.zombie_pigman.angry": "Zombie Pigman angers", + "subtitles.entity.zombie_pigman.death": "Zombie Pigman dies", + "subtitles.entity.zombie_pigman.hurt": "Zombie Pigman hurts", + "subtitles.entity.zombie_villager.ambient": "Zombie Villager groans", + "subtitles.entity.zombie_villager.converted": "Zombie vociferates", + "subtitles.entity.zombie_villager.cure": "Zombie snuffles", + "subtitles.entity.zombie_villager.death": "Zombie Villager dies", + "subtitles.entity.zombie_villager.hurt": "Zombie Villager hurts", + "subtitles.event.raid.horn": "Ominous horn blares", + "subtitles.item.axe.strip": "Debarking log", + "subtitles.item.armor.equip": "Gear equips", + "subtitles.item.armor.equip_chain": "Chain armor jingles", + "subtitles.item.armor.equip_diamond": "Diamond armor clangs", + "subtitles.item.armor.equip_elytra": "Elytra rustle", + "subtitles.item.armor.equip_gold": "Gold armor clinks", + "subtitles.item.armor.equip_iron": "Iron armor clanks", + "subtitles.item.armor.equip_leather": "Leather armor rustles", + "subtitles.item.armor.equip_turtle": "Turtle shell thunks", + "subtitles.item.bottle.fill": "Bottle fills", + "subtitles.item.bucket.empty": "Bucket empties", + "subtitles.item.bucket.fill": "Bucket fills", + "subtitles.item.chorus_fruit.teleport": "Player teleports", + "subtitles.item.crop.plant": "Crop planted", + "subtitles.item.crossbow.charge": "Crossbow charges up", + "subtitles.item.crossbow.hit": "Arrow hits", + "subtitles.item.crossbow.load": "Crossbow loads", + "subtitles.item.crossbow.shoot": "Crossbow fires", + "subtitles.item.firecharge.use": "Fireball whooshes", + "subtitles.item.flintandsteel.use": "Flint and Steel click", + "subtitles.item.hoe.till": "Hoe tills", + "subtitles.item.nether_wart.plant": "Crop planted", + "subtitles.item.shears.shear": "Shears click", + "subtitles.item.shield.block": "Shield blocks", + "subtitles.item.shovel.flatten": "Shovel flattens", + "subtitles.item.berries.pick": "Berries pop", + "subtitles.item.totem.use": "Totem activates", + "subtitles.item.trident.hit": "Trident stabs", + "subtitles.item.trident.hit_ground": "Trident vibrates", + "subtitles.item.trident.return": "Trident returns", + "subtitles.item.trident.riptide": "Trident zooms", + "subtitles.item.trident.throw": "Trident clangs", + "subtitles.item.trident.thunder": "Trident thunder cracks", + "subtitles.weather.rain": "Rain falls", + "subtitles.item.book.page_turn": "Page rustles", + "subtitles.item.book.put": "Book thumps", + "debug.prefix": "[Debug]:", + "debug.reload_chunks.help": "F3 + A = Reload chunks", + "debug.show_hitboxes.help": "F3 + B = Show hitboxes", + "debug.clear_chat.help": "F3 + D = Clear chat", + "debug.cycle_renderdistance.help": "F3 + F = Cycle render distance (Shift to invert)", + "debug.chunk_boundaries.help": "F3 + G = Show chunk boundaries", + "debug.advanced_tooltips.help": "F3 + H = Advanced tooltips", + "debug.creative_spectator.help": "F3 + N = Cycle creative <-> spectator", + "debug.pause_focus.help": "F3 + P = Pause on lost focus", + "debug.help.help": "F3 + Q = Show this list", + "debug.reload_resourcepacks.help": "F3 + T = Reload resource packs", + "debug.pause.help": "F3 + Esc = Pause without pause menu (if pausing is possible)", + "debug.copy_location.help": "F3 + C = Copy location as /tp command, hold F3 + C to crash the game", + "debug.inspect.help": "F3 + I = Copy entity or block data to clipboard", + "debug.copy_location.message": "Copied location to clipboard", + "debug.inspect.server.block": "Copied server-side block data to clipboard", + "debug.inspect.server.entity": "Copied server-side entity data to clipboard", + "debug.inspect.client.block": "Copied client-side block data to clipboard", + "debug.inspect.client.entity": "Copied client-side entity data to clipboard", + "debug.reload_chunks.message": "Reloading all chunks", + "debug.show_hitboxes.on": "Hitboxes: shown", + "debug.show_hitboxes.off": "Hitboxes: hidden", + "debug.cycle_renderdistance.message": "Render Distance: %s", + "debug.chunk_boundaries.on": "Chunk borders: shown", + "debug.chunk_boundaries.off": "Chunk borders: hidden", + "debug.advanced_tooltips.on": "Advanced tooltips: shown", + "debug.advanced_tooltips.off": "Advanced tooltips: hidden", + "debug.creative_spectator.error": "Unable to switch gamemode, no permission", + "debug.pause_focus.on": "Pause on lost focus: enabled", + "debug.pause_focus.off": "Pause on lost focus: disabled", + "debug.help.message": "Key bindings:", + "debug.reload_resourcepacks.message": "Reloaded resource packs", + "debug.crash.message": "F3 + C is held down. This will crash the game unless released.", + "debug.crash.warning": "Crashing in %s...", + "resourcepack.downloading": "Downloading Resource Pack", + "resourcepack.requesting": "Making Request...", + "resourcepack.progress": "Downloading file (%s MB)...", + "tutorial.move.title": "Move with %s, %s, %s and %s", + "tutorial.move.description": "Jump with %s", + "tutorial.look.title": "Look around", + "tutorial.look.description": "Use your mouse to turn", + "tutorial.find_tree.title": "Find a tree", + "tutorial.find_tree.description": "Punch it to collect wood", + "tutorial.punch_tree.title": "Destroy the tree", + "tutorial.punch_tree.description": "Hold down %s", + "tutorial.open_inventory.title": "Open your inventory", + "tutorial.open_inventory.description": "Press %s", + "tutorial.craft_planks.title": "Craft wooden planks", + "tutorial.craft_planks.description": "The recipe book can help", + "advancements.adventure.adventuring_time.title": "Adventuring Time", + "advancements.adventure.adventuring_time.description": "Discover every biome", + "advancements.adventure.arbalistic.title": "Arbalistic", + "advancements.adventure.arbalistic.description": "Kill five unique mobs with one crossbow shot", + "advancements.adventure.hero_of_the_village.title": "Hero of the Village", + "advancements.adventure.hero_of_the_village.description": "Successfully defend a village from a raid", + "advancements.adventure.kill_all_mobs.title": "Monsters Hunted", + "advancements.adventure.kill_all_mobs.description": "Kill one of every hostile monster", + "advancements.adventure.kill_a_mob.title": "Monster Hunter", + "advancements.adventure.kill_a_mob.description": "Kill any hostile monster", + "advancements.adventure.ol_betsy.title": "Ol' Betsy", + "advancements.adventure.ol_betsy.description": "Shoot a crossbow", + "advancements.adventure.root.title": "Adventure", + "advancements.adventure.root.description": "Adventure, exploration and combat", + "advancements.adventure.shoot_arrow.title": "Take Aim", + "advancements.adventure.shoot_arrow.description": "Shoot something with a bow and arrow", + "advancements.adventure.sleep_in_bed.title": "Sweet Dreams", + "advancements.adventure.sleep_in_bed.description": "Change your respawn point", + "advancements.adventure.sniper_duel.title": "Sniper Duel", + "advancements.adventure.sniper_duel.description": "Kill a Skeleton from at least 50 meters away", + "advancements.adventure.summon_iron_golem.title": "Hired Help", + "advancements.adventure.summon_iron_golem.description": "Summon an Iron Golem to help defend a village", + "advancements.adventure.totem_of_undying.title": "Postmortal", + "advancements.adventure.totem_of_undying.description": "Use a Totem of Undying to cheat death", + "advancements.adventure.trade.title": "What a Deal!", + "advancements.adventure.trade.description": "Successfully trade with a Villager", + "advancements.adventure.throw_trident.title": "A Throwaway Joke", + "advancements.adventure.throw_trident.description": "Throw a trident at something.\nNote: Throwing away your only weapon is not a good idea.", + "advancements.adventure.two_birds_one_arrow.title": "Two Birds, One Arrow", + "advancements.adventure.two_birds_one_arrow.description": "Kill two Phantoms with a piercing arrow", + "advancements.adventure.very_very_frightening.title": "Very Very Frightening", + "advancements.adventure.very_very_frightening.description": "Strike a Villager with lightning", + "advancements.adventure.voluntary_exile.title": "Voluntary Exile", + "advancements.adventure.voluntary_exile.description": "Kill a raid captain.\nMaybe consider staying away from villages for the time being...", + "advancements.adventure.whos_the_pillager_now.title": "Who's the Pillager Now?", + "advancements.adventure.whos_the_pillager_now.description": "Give a Pillager a taste of their own medicine", + "advancements.husbandry.root.title": "Husbandry", + "advancements.husbandry.root.description": "The world is full of friends and food", + "advancements.husbandry.breed_an_animal.title": "The Parrots and the Bats", + "advancements.husbandry.breed_an_animal.description": "Breed two animals together", + "advancements.husbandry.fishy_business.title": "Fishy Business", + "advancements.husbandry.fishy_business.description": "Catch a fish", + "advancements.husbandry.tactical_fishing.title": "Tactical Fishing", + "advancements.husbandry.tactical_fishing.description": "Catch a fish... without a fishing rod!", + "advancements.husbandry.breed_all_animals.title": "Two by Two", + "advancements.husbandry.breed_all_animals.description": "Breed all the animals!", + "advancements.husbandry.tame_an_animal.title": "Best Friends Forever", + "advancements.husbandry.tame_an_animal.description": "Tame an animal", + "advancements.husbandry.plant_seed.title": "A Seedy Place", + "advancements.husbandry.plant_seed.description": "Plant a seed and watch it grow", + "advancements.husbandry.break_diamond_hoe.title": "Serious Dedication", + "advancements.husbandry.break_diamond_hoe.description": "Completely use up a diamond hoe, and then reevaluate your life choices", + "advancements.husbandry.balanced_diet.title": "A Balanced Diet", + "advancements.husbandry.balanced_diet.description": "Eat everything that is edible, even if it's not good for you", + "advancements.husbandry.complete_catalogue.title":"A Complete Catalogue", + "advancements.husbandry.complete_catalogue.description":"Tame all cat variants!", + "advancements.end.dragon_breath.title": "You Need a Mint", + "advancements.end.dragon_breath.description": "Collect dragon's breath in a glass bottle", + "advancements.end.dragon_egg.title": "The Next Generation", + "advancements.end.dragon_egg.description": "Hold the Dragon Egg", + "advancements.end.elytra.title": "Sky's the Limit", + "advancements.end.elytra.description": "Find Elytra", + "advancements.end.enter_end_gateway.title": "Remote Getaway", + "advancements.end.enter_end_gateway.description": "Escape the island", + "advancements.end.find_end_city.title": "The City at the End of the Game", + "advancements.end.find_end_city.description": "Go on in, what could happen?", + "advancements.end.kill_dragon.title": "Free the End", + "advancements.end.kill_dragon.description": "Good luck", + "advancements.end.levitate.title": "Great View From Up Here", + "advancements.end.levitate.description": "Levitate up 50 blocks from the attacks of a Shulker", + "advancements.end.respawn_dragon.title": "The End... Again...", + "advancements.end.respawn_dragon.description": "Respawn the Ender Dragon", + "advancements.end.root.title": "The End", + "advancements.end.root.description": "Or the beginning?", + "advancements.nether.brew_potion.title": "Local Brewery", + "advancements.nether.brew_potion.description": "Brew a potion", + "advancements.nether.all_potions.title": "A Furious Cocktail", + "advancements.nether.all_potions.description": "Have every potion effect applied at the same time", + "advancements.nether.all_effects.title": "How Did We Get Here?", + "advancements.nether.all_effects.description": "Have every effect applied at the same time", + "advancements.nether.create_beacon.title": "Bring Home the Beacon", + "advancements.nether.create_beacon.description": "Construct and place a Beacon", + "advancements.nether.create_full_beacon.title": "Beaconator", + "advancements.nether.create_full_beacon.description": "Bring a beacon to full power", + "advancements.nether.find_fortress.title": "A Terrible Fortress", + "advancements.nether.find_fortress.description": "Break your way into a Nether Fortress", + "advancements.nether.get_wither_skull.title": "Spooky Scary Skeleton", + "advancements.nether.get_wither_skull.description": "Obtain a Wither Skeleton's skull", + "advancements.nether.obtain_blaze_rod.title": "Into Fire", + "advancements.nether.obtain_blaze_rod.description": "Relieve a Blaze of its rod", + "advancements.nether.return_to_sender.title": "Return to Sender", + "advancements.nether.return_to_sender.description": "Destroy a Ghast with a fireball", + "advancements.nether.root.title": "Nether", + "advancements.nether.root.description": "Bring summer clothes", + "advancements.nether.summon_wither.title": "Withering Heights", + "advancements.nether.summon_wither.description": "Summon the Wither", + "advancements.nether.fast_travel.title": "Subspace Bubble", + "advancements.nether.fast_travel.description": "Use the Nether to travel 7 km in the Overworld", + "advancements.nether.uneasy_alliance.title": "Uneasy Alliance", + "advancements.nether.uneasy_alliance.description": "Rescue a Ghast from the Nether, bring it safely home to the Overworld... and then kill it", + "advancements.story.cure_zombie_villager.title": "Zombie Doctor", + "advancements.story.cure_zombie_villager.description": "Weaken and then cure a Zombie Villager", + "advancements.story.deflect_arrow.title": "Not Today, Thank You", + "advancements.story.deflect_arrow.description": "Deflect an arrow with a shield", + "advancements.story.enchant_item.title": "Enchanter", + "advancements.story.enchant_item.description": "Enchant an item at an Enchanting Table", + "advancements.story.enter_the_end.title": "The End?", + "advancements.story.enter_the_end.description": "Enter the End Portal", + "advancements.story.enter_the_nether.title": "We Need to Go Deeper", + "advancements.story.enter_the_nether.description": "Build, light and enter a Nether Portal", + "advancements.story.follow_ender_eye.title": "Eye Spy", + "advancements.story.follow_ender_eye.description": "Follow an Eye of Ender", + "advancements.story.form_obsidian.title": "Ice Bucket Challenge", + "advancements.story.form_obsidian.description": "Form and mine a block of Obsidian", + "advancements.story.iron_tools.title": "Isn't It Iron Pick", + "advancements.story.iron_tools.description": "Upgrade your pickaxe", + "advancements.story.lava_bucket.title": "Hot Stuff", + "advancements.story.lava_bucket.description": "Fill a bucket with lava", + "advancements.story.mine_diamond.title": "Diamonds!", + "advancements.story.mine_diamond.description": "Acquire diamonds", + "advancements.story.mine_stone.title": "Stone Age", + "advancements.story.mine_stone.description": "Mine stone with your new pickaxe", + "advancements.story.obtain_armor.title": "Suit Up", + "advancements.story.obtain_armor.description": "Protect yourself with a piece of iron armor", + "advancements.story.root.title": "Minecraft", + "advancements.story.root.description": "The heart and story of the game", + "advancements.story.shiny_gear.title": "Cover Me With Diamonds", + "advancements.story.shiny_gear.description": "Diamond armor saves lives", + "advancements.story.smelt_iron.title": "Acquire Hardware", + "advancements.story.smelt_iron.description": "Smelt an iron ingot", + "advancements.story.upgrade_tools.title": "Getting an Upgrade", + "advancements.story.upgrade_tools.description": "Construct a better pickaxe", + "team.visibility.always": "Always", + "team.visibility.never": "Never", + "team.visibility.hideForOtherTeams": "Hide for other teams", + "team.visibility.hideForOwnTeam": "Hide for own team", + "team.collision.always": "Always", + "team.collision.never": "Never", + "team.collision.pushOtherTeams": "Push other teams", + "team.collision.pushOwnTeam": "Push own team", + "argument.entity.selector.nearestPlayer": "Nearest player", + "argument.entity.selector.randomPlayer": "Random player", + "argument.entity.selector.allPlayers": "All players", + "argument.entity.selector.allEntities": "All entities", + "argument.entity.selector.self": "Current entity", + "argument.entity.options.name.description": "Entity name", + "argument.entity.options.distance.description": "Distance to entity", + "argument.entity.options.level.description": "Experience level", + "argument.entity.options.x.description": "x position", + "argument.entity.options.y.description": "y position", + "argument.entity.options.z.description": "z position", + "argument.entity.options.dx.description": "Entities between x and x + dx", + "argument.entity.options.dy.description": "Entities between y and y + dy", + "argument.entity.options.dz.description": "Entities between z and z + dz", + "argument.entity.options.x_rotation.description": "Entity's x rotation", + "argument.entity.options.y_rotation.description": "Entity's y rotation", + "argument.entity.options.limit.description": "Maximum number of entities to return", + "argument.entity.options.sort.description": "Sort the entities", + "argument.entity.options.gamemode.description": "Players with gamemode", + "argument.entity.options.team.description": "Entities on team", + "argument.entity.options.type.description": "Entities of type", + "argument.entity.options.tag.description": "Entities with tag", + "argument.entity.options.nbt.description": "Entities with NBT", + "argument.entity.options.scores.description": "Entities with scores", + "argument.entity.options.advancements.description": "Players with advancements", + "command.failed": "An unexpected error occurred trying to execute that command", + "command.context.here": "<--[HERE]", + "commands.publish.started": "Local game hosted on port %s", + "commands.publish.failed": "Unable to host local game", + "commands.advancement.advancementNotFound": "No advancement was found by the name '%1$s'", + "commands.advancement.criterionNotFound": "The advancement %1$s does not contain the criterion '%2$s'", + "commands.advancement.grant.one.to.one.success": "Granted the advancement %s to %s", + "commands.advancement.grant.one.to.one.failure": "Couldn't grant advancement %s to %s as they already have it", + "commands.advancement.grant.one.to.many.success": "Granted the advancement %s to %s players", + "commands.advancement.grant.one.to.many.failure": "Couldn't grant advancement %s to %s players as they already have it", + "commands.advancement.grant.many.to.one.success": "Granted %s advancements to %s", + "commands.advancement.grant.many.to.one.failure": "Couldn't grant %s advancements to %s as they already have them", + "commands.advancement.grant.many.to.many.success": "Granted %s advancements to %s players", + "commands.advancement.grant.many.to.many.failure": "Couldn't grant %s advancements to %s players as they already have them", + "commands.advancement.grant.criterion.to.one.success": "Granted criterion '%s' of advancement %s to %s", + "commands.advancement.grant.criterion.to.one.failure": "Couldn't grant criterion '%s' of advancement %s to %s as they already have it", + "commands.advancement.grant.criterion.to.many.success": "Granted criterion '%s' of advancement %s to %s players", + "commands.advancement.grant.criterion.to.many.failure": "Couldn't grant criterion '%s' of advancement %s to %s players as they already have it", + "commands.advancement.revoke.one.to.one.success": "Revoked the advancement %s from %s", + "commands.advancement.revoke.one.to.one.failure": "Couldn't revoke advancement %s from %s as they don't have it", + "commands.advancement.revoke.one.to.many.success": "Revoked the advancement %s from %s players", + "commands.advancement.revoke.one.to.many.failure": "Couldn't revoke advancement %s from %s players as they don't have it", + "commands.advancement.revoke.many.to.one.success": "Revoked %s advancements from %s", + "commands.advancement.revoke.many.to.one.failure": "Couldn't revoke %s advancements from %s as they don't have them", + "commands.advancement.revoke.many.to.many.success": "Revoked %s advancements from %s players", + "commands.advancement.revoke.many.to.many.failure": "Couldn't revoke %s advancements from %s players as they don't have them", + "commands.advancement.revoke.criterion.to.one.success": "Revoked criterion '%s' of advancement %s from %s", + "commands.advancement.revoke.criterion.to.one.failure": "Couldn't revoke criterion '%s' of advancement %s from %s as they don't have it", + "commands.advancement.revoke.criterion.to.many.success": "Revoked criterion '%s' of advancement %s from %s players", + "commands.advancement.revoke.criterion.to.many.failure": "Couldn't revoke criterion '%s' of advancement %s from %s players as they don't have it", + "commands.forceload.added.failure": "No chunks were marked for force loading", + "commands.forceload.added.single": "Marked chunk %s in %s to be force loaded", + "commands.forceload.added.multiple": "Marked %s chunks in %s from %s to %s to be force loaded", + "commands.forceload.query.success": "Chunk at %s in %s is marked for force loading", + "commands.forceload.query.failure": "Chunk at %s in %s is not marked for force loading", + "commands.forceload.list.single": "A force loaded chunk was found in %s at: %s", + "commands.forceload.list.multiple": "%s force loaded chunks were found in %s at: %s", + "commands.forceload.added.none": "No force loaded chunks were found in %s", + "commands.forceload.removed.all": "Unmarked all force loaded chunks in %s", + "commands.forceload.removed.failure": "No chunks were removed from force loading", + "commands.forceload.removed.single": "Unmarked chunk %s in %s for force loading", + "commands.forceload.removed.multiple": "Unmarked %s chunks in %s from %s to %s for force loading", + "commands.forceload.toobig": "Too many chunks in the specified area (maximum %s, specified %s)", + "commands.clear.success.single": "Removed %s items from player %s", + "commands.clear.success.multiple": "Removed %s items from %s players", + "commands.clear.test.single": "Found %s matching items on player %s", + "commands.clear.test.multiple": "Found %s matching items on %s players", + "commands.clone.success": "Successfully cloned %s blocks", + "commands.debug.started": "Started debug profiling", + "commands.debug.stopped": "Stopped debug profiling after %s seconds and %s ticks (%s ticks per second)", + "commands.defaultgamemode.success": "The default game mode is now %s", + "commands.difficulty.success": "The difficulty has been set to %s", + "commands.difficulty.query": "The difficulty is %s", + "commands.drop.no_held_items": "Entity can't hold any items", + "commands.drop.no_loot_table": "Entity %s has no loot table", + "commands.drop.success.single": "Dropped %s * %s", + "commands.drop.success.single_with_table": "Dropped %s * %s from loot table %s", + "commands.drop.success.multiple": "Dropped %s items", + "commands.drop.success.multiple_with_table": "Dropped %s items from loot table %s", + "commands.effect.give.success.single": "Applied effect %s to %s", + "commands.effect.give.success.multiple": "Applied effect %s to %s targets", + "commands.effect.clear.everything.success.single": "Removed every effect from %s", + "commands.effect.clear.everything.success.multiple": "Removed every effect from %s targets", + "commands.effect.clear.specific.success.single": "Removed effect %s from %s", + "commands.effect.clear.specific.success.multiple": "Removed effect %s from %s targets", + "commands.enchant.success.single": "Applied enchantment %s to %s's item", + "commands.enchant.success.multiple": "Applied enchantment %s to %s entities", + "commands.experience.add.points.success.single": "Gave %s experience points to %s", + "commands.experience.add.points.success.multiple": "Gave %s experience points to %s players", + "commands.experience.add.levels.success.single": "Gave %s experience levels to %s", + "commands.experience.add.levels.success.multiple": "Gave %s experience levels to %s players", + "commands.experience.set.points.success.single": "Set %s experience points on %s", + "commands.experience.set.points.success.multiple": "Set %s experience points on %s players", + "commands.experience.set.levels.success.single": "Set %s experience levels on %s", + "commands.experience.set.levels.success.multiple": "Set %s experience levels on %s players", + "commands.experience.query.points": "%s has %s experience points", + "commands.experience.query.levels": "%s has %s experience levels", + "commands.fill.success": "Successfully filled %s blocks", + "commands.function.success.single": "Executed %s commands from function '%s'", + "commands.function.success.multiple": "Executed %s commands from %s functions", + "commands.give.success.single": "Gave %s %s to %s", + "commands.give.success.multiple": "Gave %s %s to %s players", + "commands.playsound.success.single": "Played sound %s to %s", + "commands.playsound.success.multiple": "Played sound %s to %s players", + "commands.publish.success": "Multiplayer game is now hosted on port %s", + "commands.list.players": "There are %s of a max %s players online: %s", + "commands.kill.success.single": "Killed %s", + "commands.kill.success.multiple": "Killed %s entities", + "commands.kick.success": "Kicked %s: %s", + "commands.locate.success": "The nearest %s is at %s (%s blocks away)", + "commands.message.display.outgoing": "You whisper to %s: %s", + "commands.message.display.incoming": "%s whispers to you: %s", + "commands.op.success": "Made %s a server operator", + "commands.deop.success": "Made %s no longer a server operator", + "commands.ban.success": "Banned %s: %s", + "commands.pardon.success": "Unbanned %s", + "commands.particle.success": "Displaying particle %s", + "commands.seed.success": "Seed: %s", + "commands.stop.stopping": "Stopping the server", + "commands.time.query": "The time is %s", + "commands.time.set": "Set the time to %s", + "commands.schedule.created.function": "Scheduled function '%s' in %s ticks at gametime %s", + "commands.schedule.created.tag": "Scheduled tag '%s' in %s ticks at gametime %s", + "commands.schedule.same_tick": "Can't schedule for current tick", + "commands.gamemode.success.self": "Set own game mode to %s", + "commands.gamemode.success.other": "Set %s's game mode to %s", + "commands.gamerule.query": "Gamerule %s is currently set to: %s", + "commands.gamerule.set": "Gamerule %s is now set to: %s", + "commands.save.disabled": "Automatic saving is now disabled", + "commands.save.enabled": "Automatic saving is now enabled", + "commands.save.saving": "Saving the game (this may take a moment!)", + "commands.save.success": "Saved the game", + "commands.setidletimeout.success": "The player idle timeout is now %s minutes", + "commands.banlist.none": "There are no bans", + "commands.banlist.list": "There are %s bans:", + "commands.banlist.entry": "%s was banned by %s: %s", + "commands.bossbar.create.success": "Created custom bossbar %s", + "commands.bossbar.remove.success": "Removed custom bossbar %s", + "commands.bossbar.list.bars.none": "There are no custom bossbars active", + "commands.bossbar.list.bars.some": "There are %s custom bossbars active: %s", + "commands.bossbar.set.players.success.none": "Custom bossbar %s no longer has any players", + "commands.bossbar.set.players.success.some": "Custom bossbar %s now has %s players: %s", + "commands.bossbar.set.name.success": "Custom bossbar %s has been renamed", + "commands.bossbar.set.color.success": "Custom bossbar %s has changed color", + "commands.bossbar.set.style.success": "Custom bossbar %s has changed style", + "commands.bossbar.set.value.success": "Custom bossbar %s has changed value to %s", + "commands.bossbar.set.max.success": "Custom bossbar %s has changed maximum to %s", + "commands.bossbar.set.visible.success.visible": "Custom bossbar %s is now visible", + "commands.bossbar.set.visible.success.hidden": "Custom bossbar %s is now hidden", + "commands.bossbar.get.value": "Custom bossbar %s has a value of %s", + "commands.bossbar.get.max": "Custom bossbar %s has a maximum of %s", + "commands.bossbar.get.visible.visible": "Custom bossbar %s is currently shown", + "commands.bossbar.get.visible.hidden": "Custom bossbar %s is currently hidden", + "commands.bossbar.get.players.none": "Custom bossbar %s has no players currently online", + "commands.bossbar.get.players.some": "Custom bossbar %s has %s players currently online: %s", + "commands.recipe.give.success.single": "Unlocked %s recipes for %s", + "commands.recipe.give.success.multiple": "Unlocked %s recipes for %s players", + "commands.recipe.take.success.single": "Took %s recipes from %s", + "commands.recipe.take.success.multiple": "Took %s recipes from %s players", + "commands.summon.success": "Summoned new %s", + "commands.whitelist.enabled": "Whitelist is now turned on", + "commands.whitelist.disabled": "Whitelist is now turned off", + "commands.whitelist.none": "There are no whitelisted players", + "commands.whitelist.list": "There are %s whitelisted players: %s", + "commands.whitelist.add.success": "Added %s to the whitelist", + "commands.whitelist.remove.success": "Removed %s from the whitelist", + "commands.whitelist.reloaded": "Reloaded the whitelist", + "commands.weather.set.clear": "Set the weather to clear", + "commands.weather.set.rain": "Set the weather to rain", + "commands.weather.set.thunder": "Set the weather to rain & thunder", + "commands.spawnpoint.success.single": "Set spawn point to %s, %s, %s for %s", + "commands.spawnpoint.success.multiple": "Set spawn point to %s, %s, %s for %s players", + "commands.stopsound.success.source.sound": "Stopped sound '%s' on source '%s'", + "commands.stopsound.success.source.any": "Stopped all '%s' sounds", + "commands.stopsound.success.sourceless.sound": "Stopped sound '%s'", + "commands.stopsound.success.sourceless.any": "Stopped all sounds", + "commands.setworldspawn.success": "Set the world spawn point to %s, %s, %s", + "commands.spreadplayers.success.teams": "Spread %s teams around %s, %s with an average distance of %s blocks apart", + "commands.spreadplayers.success.entities": "Spread %s players around %s, %s with an average distance of %s blocks apart", + "commands.setblock.success": "Changed the block at %s, %s, %s", + "commands.banip.success": "Banned IP %s: %s", + "commands.banip.info": "This ban affects %s players: %s", + "commands.pardonip.success": "Unbanned IP %s", + "commands.teleport.success.entity.single": "Teleported %s to %s", + "commands.teleport.success.entity.multiple": "Teleported %s entities to %s", + "commands.teleport.success.location.single": "Teleported %s to %s, %s, %s", + "commands.teleport.success.location.multiple": "Teleported %s entities to %s, %s, %s", + "commands.title.cleared.single": "Cleared titles for %s", + "commands.title.cleared.multiple": "Cleared titles for %s players", + "commands.title.reset.single": "Reset title options for %s", + "commands.title.reset.multiple": "Reset title options for %s players", + "commands.title.show.title.single": "Showing new title for %s", + "commands.title.show.title.multiple": "Showing new title for %s players", + "commands.title.show.subtitle.single": "Showing new subtitle for %s", + "commands.title.show.subtitle.multiple": "Showing new subtitle for %s players", + "commands.title.show.actionbar.single": "Showing new actionbar title for %s", + "commands.title.show.actionbar.multiple": "Showing new actionbar title for %s players", + "commands.title.times.single": "Changed title display times for %s", + "commands.title.times.multiple": "Changed title display times for %s players", + "commands.worldborder.set.grow": "Growing the world border to %s blocks wide over %s seconds", + "commands.worldborder.set.shrink": "Shrinking the world border to %s blocks wide over %s seconds", + "commands.worldborder.set.immediate": "Set the world border to %s blocks wide", + "commands.worldborder.center.success": "Set the center of the world border to %s, %s", + "commands.worldborder.get": "The world border is currently %s blocks wide", + "commands.worldborder.damage.buffer.success": "Set the world border damage buffer to %s blocks", + "commands.worldborder.damage.amount.success": "Set the world border damage time to %s seconds", + "commands.worldborder.warning.time.success": "Set the world border warning time to %s seconds", + "commands.worldborder.warning.distance.success": "Set the world border warning distance to %s blocks", + "commands.replaceitem.block.success": "Replaced a slot at %s, %s, %s with %s", + "commands.replaceitem.entity.success.single": "Replaced a slot on %s with %s", + "commands.replaceitem.entity.success.multiple": "Replaced a slot on %s entities with %s", + "commands.tag.add.success.single": "Added tag '%s' to %s", + "commands.tag.add.success.multiple": "Added tag '%s' to %s entities", + "commands.tag.remove.success.single": "Removed tag '%s' from %s", + "commands.tag.remove.success.multiple": "Removed tag '%s' from %s entities", + "commands.tag.list.single.empty": "%s has no tags", + "commands.tag.list.single.success": "%s has %s tags: %s", + "commands.tag.list.multiple.empty": "There are no tags on the %s entities", + "commands.tag.list.multiple.success": "The %s entities have %s total tags: %s", + "commands.team.list.members.empty": "There are no members on team %s", + "commands.team.list.members.success": "Team %s has %s members: %s", + "commands.team.list.teams.empty": "There are no teams", + "commands.team.list.teams.success": "There are %s teams: %s", + "commands.team.add.success": "Created team %s", + "commands.team.remove.success": "Removed team %s", + "commands.team.empty.success": "Removed %s members from team %s", + "commands.team.option.color.success": "Updated the color for team %s to %s", + "commands.team.option.name.success": "Updated team %s name", + "commands.team.option.friendlyfire.enabled": "Enabled friendly fire for team %s", + "commands.team.option.friendlyfire.disabled": "Disabled friendly fire for team %s", + "commands.team.option.seeFriendlyInvisibles.enabled": "Team %s can now see invisible teammates", + "commands.team.option.seeFriendlyInvisibles.disabled": "Team %s can no longer see invisible teammates", + "commands.team.option.nametagVisibility.success": "Nametag visibility for team %s is now \"%s\"", + "commands.team.option.deathMessageVisibility.success": "Death message visibility for team %s is now \"%s\"", + "commands.team.option.collisionRule.success": "Collision rule for team %s is now \"%s\"", + "commands.team.option.prefix.success": "Team prefix set to %s", + "commands.team.option.suffix.success": "Team suffix set to %s", + "commands.team.join.success.single": "Added %s to team %s", + "commands.team.join.success.multiple": "Added %s members to team %s", + "commands.team.leave.success.single": "Removed %s from any team", + "commands.team.leave.success.multiple": "Removed %s members from any team", + "commands.trigger.simple.success": "Triggered %s", + "commands.trigger.add.success": "Triggered %s (added %s to value)", + "commands.trigger.set.success": "Triggered %s (set value to %s)", + "commands.scoreboard.objectives.list.empty": "There are no objectives", + "commands.scoreboard.objectives.list.success": "There are %s objectives: %s", + "commands.scoreboard.objectives.add.success": "Created new objective %s", + "commands.scoreboard.objectives.remove.success": "Removed objective %s", + "commands.scoreboard.objectives.display.cleared": "Cleared any objectives in display slot %s", + "commands.scoreboard.objectives.display.set": "Set display slot %s to show objective %s", + "commands.scoreboard.objectives.modify.displayname": "Changed objective %s display name to %s", + "commands.scoreboard.objectives.modify.rendertype": "Changed objective %s render type", + "commands.scoreboard.players.list.empty": "There are no tracked entities", + "commands.scoreboard.players.list.success": "There are %s tracked entities: %s", + "commands.scoreboard.players.list.entity.empty": "%s has no scores to show", + "commands.scoreboard.players.list.entity.success": "%s has %s scores:", + "commands.scoreboard.players.list.entity.entry": "%s: %s", + "commands.scoreboard.players.set.success.single": "Set %s for %s to %s", + "commands.scoreboard.players.set.success.multiple": "Set %s for %s entities to %s", + "commands.scoreboard.players.add.success.single": "Added %s to %s for %s (now %s)", + "commands.scoreboard.players.add.success.multiple": "Added %s to %s for %s entities", + "commands.scoreboard.players.remove.success.single": "Removed %s from %s for %s (now %s)", + "commands.scoreboard.players.remove.success.multiple": "Removed %s from %s for %s entities", + "commands.scoreboard.players.reset.all.single": "Reset all scores for %s", + "commands.scoreboard.players.reset.all.multiple": "Reset all scores for %s entities", + "commands.scoreboard.players.reset.specific.single": "Reset %s for %s", + "commands.scoreboard.players.reset.specific.multiple": "Reset %s for %s entities", + "commands.scoreboard.players.enable.success.single": "Enabled trigger %s for %s", + "commands.scoreboard.players.enable.success.multiple": "Enabled trigger %s for %s entities", + "commands.scoreboard.players.operation.success.single": "Set %s for %s to %s", + "commands.scoreboard.players.operation.success.multiple": "Updated %s for %s entities", + "commands.scoreboard.players.get.success": "%s has %s %s", + "commands.reload.success": "Reloading!", + "commands.data.entity.modified": "Modified entity data of %s", + "commands.data.entity.query": "%s has the following entity data: %s", + "commands.data.entity.get": "%s on %s after scale factor of %s is %s", + "commands.data.block.modified": "Modified block data of %s, %s, %s", + "commands.data.block.query": "%s, %s, %s has the following block data: %s", + "commands.data.block.get": "%s on block %s, %s, %s after scale factor of %s is %s", + "commands.datapack.list.enabled.success": "There are %s data packs enabled: %s", + "commands.datapack.list.enabled.none": "There are no data packs enabled", + "commands.datapack.list.available.success": "There are %s data packs available: %s", + "commands.datapack.list.available.none": "There are no more data packs available", + "commands.datapack.enable.success": "Enabled data pack %s", + "commands.datapack.disable.success": "Disabled data pack %s", + "argument.range.empty": "Expected value or range of values", + "argument.range.ints": "Only whole numbers allowed, not decimals", + "argument.range.swapped": "Min cannot be bigger than max", + "permissions.requires.player": "A player is required to run this command here", + "permissions.requires.entity": "An entity is required to run this command here", + "argument.entity.toomany": "Only one entity is allowed, but the provided selector allows more than one", + "argument.player.toomany": "Only one player is allowed, but the provided selector allows more than one", + "argument.player.entities": "Only players may be affected by this command, but the provided selector includes entities", + "argument.entity.notfound.entity": "No entity was found", + "argument.entity.notfound.player": "No player was found", + "argument.player.unknown": "That player does not exist", + "arguments.nbtpath.node.invalid": "Invalid NBT path element", + "arguments.nbtpath.nothing_found": "Found no elements matching %s", + "arguments.operation.invalid": "Invalid operation", + "arguments.operation.div0": "Cannot divide by zero", + "argument.scoreHolder.empty": "No relevant score holders could be found", + "argument.block.tag.disallowed": "Tags aren't allowed here, only actual blocks", + "argument.block.property.unclosed": "Expected closing ] for block state properties", + "argument.pos.unloaded": "That position is not loaded", + "argument.pos.outofworld": "That position is out of this world!", + "argument.rotation.incomplete": "Incomplete (expected 2 coordinates)", + "arguments.swizzle.invalid": "Invalid swizzle, expected combination of 'x', 'y' and 'z'", + "argument.pos2d.incomplete": "Incomplete (expected 2 coordinates)", + "argument.pos3d.incomplete": "Incomplete (expected 3 coordinates)", + "argument.pos.mixed": "Cannot mix world & local coordinates (everything must either use ^ or not)", + "argument.pos.missing.double": "Expected a coordinate", + "argument.pos.missing.int": "Expected a block position", + "argument.item.tag.disallowed": "Tags aren't allowed here, only actual items", + "argument.entity.invalid": "Invalid name or UUID", + "argument.entity.selector.missing": "Missing selector type", + "argument.entity.selector.not_allowed": "Selector not allowed", + "argument.entity.options.unterminated": "Expected end of options", + "argument.entity.options.distance.negative": "Distance cannot be negative", + "argument.entity.options.level.negative": "Level shouldn't be negative", + "argument.entity.options.limit.toosmall": "Limit must be at least 1", + "argument.nbt.trailing": "Unexpected trailing data", + "argument.nbt.expected.key": "Expected key", + "argument.nbt.expected.value": "Expected value", + "argument.id.invalid": "Invalid ID", + "argument.time.invalid_unit": "Invalid unit", + "argument.time.invalid_tick_count": "Tick count must be non-negative", + "commands.banip.invalid": "Invalid IP address or unknown player", + "commands.banip.failed": "Nothing changed. That IP is already banned", + "commands.ban.failed": "Nothing changed. The player is already banned", + "commands.bossbar.set.players.unchanged": "Nothing changed. Those players are already on the bossbar with nobody to add or remove", + "commands.bossbar.set.name.unchanged": "Nothing changed. That's already the name of this bossbar", + "commands.bossbar.set.color.unchanged": "Nothing changed. That's already the color of this bossbar", + "commands.bossbar.set.style.unchanged": "Nothing changed. That's already the style of this bossbar", + "commands.bossbar.set.value.unchanged": "Nothing changed. That's already the value of this bossbar", + "commands.bossbar.set.max.unchanged": "Nothing changed. That's already the max of this bossbar", + "commands.bossbar.set.visibility.unchanged.hidden": "Nothing changed. The bossbar is already hidden", + "commands.bossbar.set.visibility.unchanged.visible": "Nothing changed. The bossbar is already visible", + "commands.clone.overlap": "The source and destination areas cannot overlap", + "commands.clone.failed": "No blocks were cloned", + "commands.debug.notRunning": "The debug profiler hasn't started", + "commands.debug.alreadyRunning": "The debug profiler is already started", + "commands.deop.failed": "Nothing changed. The player is not an operator", + "commands.effect.give.failed": "Unable to apply this effect (target is either immune to effects, or has something stronger)", + "commands.effect.clear.everything.failed": "Target has no effects to remove", + "commands.effect.clear.specific.failed": "Target doesn't have the requested effect", + "commands.enchant.failed": "Nothing changed. Targets either have no item in their hands or the enchantment could not be applied", + "commands.experience.set.points.invalid": "Cannot set experience points above the maximum points for the player's current level", + "commands.fill.failed": "No blocks were filled", + "commands.help.failed": "Unknown command or insufficient permissions", + "commands.locate.failed": "Could not find that structure nearby", + "commands.op.failed": "Nothing changed. The player already is an operator", + "commands.pardon.failed": "Nothing changed. The player isn't banned", + "commands.pardonip.invalid": "Invalid IP address", + "commands.pardonip.failed": "Nothing changed. That IP isn't banned", + "commands.particle.failed": "The particle was not visible for anybody", + "commands.playsound.failed": "The sound is too far away to be heard", + "commands.recipe.give.failed": "No new recipes were learned", + "commands.recipe.take.failed": "No recipes could be forgotten", + "commands.replaceitem.block.failed": "The target block is not a container", + "commands.replaceitem.slot.inapplicable": "The target does not have slot %s", + "commands.replaceitem.entity.failed": "Could not put %s in slot %s", + "commands.save.failed": "Unable to save the game (is there enough disk space?)", + "commands.save.alreadyOff": "Saving is already turned off", + "commands.save.alreadyOn": "Saving is already turned on", + "commands.scoreboard.objectives.add.duplicate": "An objective already exists by that name", + "commands.scoreboard.objectives.display.alreadyEmpty": "Nothing changed. That display slot is already empty", + "commands.scoreboard.objectives.display.alreadySet": "Nothing changed. That display slot is already showing that objective", + "commands.scoreboard.players.enable.failed": "Nothing changed. That trigger is already enabled", + "commands.scoreboard.players.enable.invalid": "Enable only works on trigger-objectives", + "commands.setblock.failed": "Could not set the block", + "commands.summon.failed": "Unable to summon entity", + "commands.tag.add.failed": "Target either already has the tag or has too many tags", + "commands.tag.remove.failed": "Target does not have this tag", + "commands.team.add.duplicate": "A team already exists by that name", + "commands.team.empty.unchanged": "Nothing changed. That team is already empty", + "commands.team.option.color.unchanged": "Nothing changed. That team already has that color", + "commands.team.option.name.unchanged": "Nothing changed. That team already has that name", + "commands.team.option.friendlyfire.alreadyEnabled": "Nothing changed. Friendly fire is already enabled for that team", + "commands.team.option.friendlyfire.alreadyDisabled": "Nothing changed. Friendly fire is already disabled for that team", + "commands.team.option.seeFriendlyInvisibles.alreadyEnabled": "Nothing changed. That team can already see invisible teammates", + "commands.team.option.seeFriendlyInvisibles.alreadyDisabled": "Nothing changed. That team already can't see invisible teammates", + "commands.team.option.nametagVisibility.unchanged": "Nothing changed. Nametag visibility is already that value", + "commands.team.option.deathMessageVisibility.unchanged": "Nothing changed. Death message visibility is already that value", + "commands.team.option.collisionRule.unchanged": "Nothing changed. Collision rule is already that value", + "commands.trigger.failed.unprimed": "You cannot trigger this objective yet", + "commands.trigger.failed.invalid": "You can only trigger objectives that are 'trigger' type", + "commands.whitelist.alreadyOn": "Whitelist is already turned on", + "commands.whitelist.alreadyOff": "Whitelist is already turned off", + "commands.whitelist.add.failed": "Player is already whitelisted", + "commands.whitelist.remove.failed": "Player is not whitelisted", + "commands.worldborder.center.failed": "Nothing changed. The world border is already centered there", + "commands.worldborder.set.failed.nochange": "Nothing changed. The world border is already that size", + "commands.worldborder.set.failed.small.": "World border cannot be smaller than 1 block wide", + "commands.worldborder.set.failed.big.": "World border cannot be bigger than 60,000,000 blocks wide", + "commands.worldborder.warning.time.failed": "Nothing changed. The world border warning is already that amount of time", + "commands.worldborder.warning.distance.failed": "Nothing changed. The world border warning is already that distance", + "commands.worldborder.damage.buffer.failed": "Nothing changed. The world border damage buffer is already that distance", + "commands.worldborder.damage.amount.failed": "Nothing changed. The world border damage is already that amount", + "commands.data.block.invalid": "The target block is not a block entity", + "commands.data.merge.failed": "Nothing changed, the specified properties already have these values", + "commands.data.modify.expected_list": "Expected list, got: %s", + "commands.data.modify.expected_object": "Expected object, got: %s", + "commands.data.modify.invalid_index": "Invalid list index: %s", + "commands.data.get.multiple": "This argument accepts a single NBT value", + "commands.data.entity.invalid": "Unable to modify player data", + "commands.teammsg.failed.noteam": "You must be on a team to message your team", + "argument.color.invalid": "Unknown color '%s'", + "argument.dimension.invalid": "Unknown dimension '%s'", + "argument.component.invalid": "Invalid chat component: %s", + "argument.anchor.invalid": "Invalid entity anchor position %s", + "enchantment.unknown": "Unknown enchantment: %s", + "lectern.take_book": "Take Book", + "effect.effectNotFound": "Unknown effect: %s", + "arguments.objective.notFound": "Unknown scoreboard objective '%s'", + "arguments.objective.readonly": "Scoreboard objective '%s' is read-only", + "commands.scoreboard.objectives.add.longName": "Objective names cannot be longer than %s characters", + "argument.criteria.invalid": "Unknown criteria '%s'", + "particle.notFound": "Unknown particle: %s", + "argument.id.unknown": "Unknown ID: %s", + "advancement.advancementNotFound": "Unknown advancement: %s", + "recipe.notFound": "Unknown recipe: %s", + "entity.notFound": "Unknown entity: %s", + "argument.scoreboardDisplaySlot.invalid": "Unknown display slot '%s'", + "slot.unknown": "Unknown slot '%s'", + "team.notFound": "Unknown team '%s'", + "arguments.block.tag.unknown": "Unknown block tag '%s'", + "argument.block.id.invalid": "Unknown block type '%s'", + "argument.block.property.unknown": "Block %s does not have property '%s'", + "argument.block.property.duplicate": "Property '%s' can only be set once for block %s", + "argument.block.property.invalid": "Block %s does not accept '%s' for %s property", + "argument.block.property.novalue": "Expected value for property '%s' on block %s", + "arguments.function.tag.unknown": "Unknown function tag '%s'", + "arguments.function.unknown": "Unknown function %s", + "arguments.item.overstacked": "%s can only stack up to %s", + "argument.item.id.invalid": "Unknown item '%s'", + "arguments.item.tag.unknown": "Unknown item tag '%s'", + "argument.entity.selector.unknown": "Unknown selector type '%s'", + "argument.entity.options.valueless": "Expected value for option '%s'", + "argument.entity.options.unknown": "Unknown option '%s'", + "argument.entity.options.inapplicable": "Option '%s' isn't applicable here", + "argument.entity.options.sort.irreversible": "Invalid or unknown sort type '%s'", + "argument.entity.options.mode.invalid": "Invalid or unknown game mode '%s'", + "argument.entity.options.type.invalid": "Invalid or unknown entity type '%s'", + "argument.nbt.list.mixed": "Can't insert %s into list of %s", + "argument.nbt.array.mixed": "Can't insert %s into %s", + "argument.nbt.array.invalid": "Invalid array type '%s'", + "commands.bossbar.create.failed": "A bossbar already exists with the ID '%s'", + "commands.bossbar.unknown": "No bossbar exists with the ID '%s'", + "clear.failed.single": "No items were found on player %s", + "clear.failed.multiple": "No items were found on %s players", + "commands.clone.toobig": "Too many blocks in the specified area (maximum %s, specified %s)", + "commands.datapack.unknown": "Unknown data pack '%s'", + "commands.datapack.enable.failed": "Pack '%s' is already enabled!", + "commands.datapack.disable.failed": "Pack '%s' is not enabled!", + "commands.difficulty.failure": "The difficulty did not change; it is already set to %s", + "commands.enchant.failed.entity": "%s is not a valid entity for this command", + "commands.enchant.failed.itemless": "%s is not holding any item", + "commands.enchant.failed.incompatible": "%s cannot support that enchantment", + "commands.enchant.failed.level": "%s is higher than the maximum level of %s supported by that enchantment", + "commands.execute.blocks.toobig": "Too many blocks in the specified area (maximum %s, specified %s)", + "commands.execute.conditional.pass": "Test passed", + "commands.execute.conditional.pass_count": "Test passed, count: %s", + "commands.execute.conditional.fail": "Test failed", + "commands.execute.conditional.fail_count": "Test failed, count: %s", + "commands.fill.toobig": "Too many blocks in the specified area (maximum %s, specified %s)", + "commands.publish.alreadyPublished": "Multiplayer game is already hosted on port %s", + "commands.scoreboard.players.get.null": "Can't get value of %s for %s; none is set", + "commands.spreadplayers.failed.teams": "Could not spread %s teams around %s, %s (too many entities for space - try using spread of at most %s)", + "commands.spreadplayers.failed.entities": "Could not spread %s entities around %s, %s (too many entities for space - try using spread of at most %s)", + "commands.team.add.longName": "Team names cannot be longer than %s characters", + "commands.data.get.invalid": "Can't get %s; only numeric tags are allowed", + "commands.data.get.unknown": "Can't get %s; tag doesn't exist", + "argument.double.low": "Double must not be less than %s, found %s", + "argument.double.big": "Double must not be more than %s, found %s", + "argument.float.low": "Float must not be less than %s, found %s", + "argument.float.big": "Float must not be more than %s, found %s", + "argument.integer.low": "Integer must not be less than %s, found %s", + "argument.integer.big": "Integer must not be more than %s, found %s", + "argument.long.low": "Long must not be less than %s, found %s", + "argument.long.big": "Long must not be more than %s, found %s", + "argument.literal.incorrect": "Expected literal %s", + "parsing.quote.expected.start": "Expected quote to start a string", + "parsing.quote.expected.end": "Unclosed quoted string", + "parsing.quote.escape": "Invalid escape sequence '\\%s' in quoted string", + "parsing.bool.invalid": "Invalid boolean, expected 'true' or 'false' but found '%s'", + "parsing.int.invalid": "Invalid integer '%s'", + "parsing.int.expected": "Expected integer", + "parsing.long.invalid": "Invalid long '%s'", + "parsing.long.expected": "Expected long", + "command.exception": "Could not parse command: %s", + "parsing.double.invalid": "Invalid double '%s'", + "parsing.double.expected": "Expected double", + "parsing.float.invalid": "Invalid float '%s'", + "parsing.float.expected": "Expected float", + "parsing.bool.expected": "Expected boolean", + "parsing.expected": "Expected '%s'", + "command.unknown.command": "Unknown command", + "command.unknown.argument": "Incorrect argument for command", + "command.expected.separator": "Expected whitespace to end one argument, but found trailing data", + "biome.minecraft.beach": "Beach", + "biome.minecraft.birch_forest": "Birch Forest", + "biome.minecraft.birch_forest_hills": "Birch Forest Hills", + "biome.minecraft.snowy_beach": "Snowy Beach", + "biome.minecraft.cold_ocean": "Cold Ocean", + "biome.minecraft.deep_cold_ocean": "Deep Cold Ocean", + "biome.minecraft.deep_frozen_ocean": "Deep Frozen Ocean", + "biome.minecraft.deep_lukewarm_ocean": "Deep Lukewarm Ocean", + "biome.minecraft.deep_ocean": "Deep Ocean", + "biome.minecraft.deep_warm_ocean": "Deep Warm Ocean", + "biome.minecraft.desert": "Desert", + "biome.minecraft.desert_hills": "Desert Hills", + "biome.minecraft.mountains": "Mountains", + "biome.minecraft.wooded_mountains": "Wooded Mountains", + "biome.minecraft.forest": "Forest", + "biome.minecraft.wooded_hills": "Wooded Hills", + "biome.minecraft.frozen_ocean": "Frozen Ocean", + "biome.minecraft.frozen_river": "Frozen River", + "biome.minecraft.nether": "Nether", + "biome.minecraft.snowy_tundra": "Snowy Tundra", + "biome.minecraft.snowy_mountains": "Snowy Mountains", + "biome.minecraft.jungle_edge": "Jungle Edge", + "biome.minecraft.jungle_hills": "Jungle Hills", + "biome.minecraft.jungle": "Jungle", + "biome.minecraft.lukewarm_ocean": "Lukewarm Ocean", + "biome.minecraft.badlands_plateau": "Badlands Plateau", + "biome.minecraft.badlands": "Badlands", + "biome.minecraft.wooded_badlands_plateau": "Wooded Badlands Plateau", + "biome.minecraft.mushroom_fields": "Mushroom Fields", + "biome.minecraft.mushroom_field_shore": "Mushroom Field Shore", + "biome.minecraft.tall_birch_hills": "Tall Birch Hills", + "biome.minecraft.tall_birch_forest": "Tall Birch Forest", + "biome.minecraft.desert_lakes": "Desert Lakes", + "biome.minecraft.gravelly_mountains": "Gravelly Mountains", + "biome.minecraft.modified_gravelly_mountains": "Gravelly Mountains+", + "biome.minecraft.flower_forest": "Flower Forest", + "biome.minecraft.ice_spikes": "Ice Spikes", + "biome.minecraft.modified_jungle_edge": "Modified Jungle Edge", + "biome.minecraft.modified_jungle": "Modified Jungle", + "biome.minecraft.modified_badlands_plateau": "Modified Badlands Plateau", + "biome.minecraft.eroded_badlands": "Eroded Badlands", + "biome.minecraft.modified_wooded_badlands_plateau": "Modified Wooded Badlands Plateau", + "biome.minecraft.sunflower_plains": "Sunflower Plains", + "biome.minecraft.giant_spruce_taiga_hills": "Giant Spruce Taiga Hills", + "biome.minecraft.giant_spruce_taiga": "Giant Spruce Taiga", + "biome.minecraft.dark_forest_hills": "Dark Forest Hills", + "biome.minecraft.shattered_savanna": "Shattered Savanna", + "biome.minecraft.shattered_savanna_plateau": "Shattered Savanna Plateau", + "biome.minecraft.swamp_hills": "Swamp Hills", + "biome.minecraft.snowy_taiga_mountains": "Snowy Taiga Mountains", + "biome.minecraft.taiga_mountains": "Taiga Mountains", + "biome.minecraft.ocean": "Ocean", + "biome.minecraft.plains": "Plains", + "biome.minecraft.giant_tree_taiga_hills": "Giant Tree Taiga Hills", + "biome.minecraft.giant_tree_taiga": "Giant Tree Taiga", + "biome.minecraft.river": "River", + "biome.minecraft.dark_forest": "Dark Forest", + "biome.minecraft.savanna_plateau": "Savanna Plateau", + "biome.minecraft.savanna": "Savanna", + "biome.minecraft.end_barrens": "End Barrens", + "biome.minecraft.end_highlands": "End Highlands", + "biome.minecraft.small_end_islands": "Small End Islands", + "biome.minecraft.end_midlands": "End Midlands", + "biome.minecraft.the_end": "The End", + "biome.minecraft.mountain_edge": "Mountain Edge", + "biome.minecraft.stone_shore": "Stone Shore", + "biome.minecraft.swamp": "Swamp", + "biome.minecraft.snowy_taiga": "Snowy Taiga", + "biome.minecraft.snowy_taiga_hills": "Snowy Taiga Hills", + "biome.minecraft.taiga_hills": "Taiga Hills", + "biome.minecraft.taiga": "Taiga", + "biome.minecraft.the_void": "The Void", + "biome.minecraft.warm_ocean": "Warm Ocean", + "biome.minecraft.bamboo_jungle": "Bamboo Jungle", + "biome.minecraft.bamboo_jungle_hills": "Bamboo Jungle Hills", + "generator.minecraft.surface": "Surface", + "generator.minecraft.caves": "Caves", + "generator.minecraft.floating_islands": "Floating Islands", + "realms.missing.module.error.text": "Realms could not be opened right now, please try again later", + "realms.missing.snapshot.error.text": "Realms is currently not supported in snapshots", + "color.minecraft.white": "White", + "color.minecraft.orange": "Orange", + "color.minecraft.magenta": "Magenta", + "color.minecraft.light_blue": "Light Blue", + "color.minecraft.yellow": "Yellow", + "color.minecraft.lime": "Lime", + "color.minecraft.pink": "Pink", + "color.minecraft.gray": "Gray", + "color.minecraft.light_gray": "Light Gray", + "color.minecraft.cyan": "Cyan", + "color.minecraft.purple": "Purple", + "color.minecraft.blue": "Blue", + "color.minecraft.brown": "Brown", + "color.minecraft.green": "Green", + "color.minecraft.red": "Red", + "color.minecraft.black": "Black" +} diff --git a/src/main/resources/mozilla/public-suffix-list.txt b/src/main/resources/mozilla/public-suffix-list.txt new file mode 100644 index 0000000..60d72fd --- /dev/null +++ b/src/main/resources/mozilla/public-suffix-list.txt @@ -0,0 +1,14189 @@ +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. + +// Please pull this list from, and only from https://publicsuffix.org/list/public_suffix_list.dat, +// rather than any other VCS sites. Pulling from any other URL is not guaranteed to be supported. + +// Instructions on pulling and using this list can be found at https://publicsuffix.org/list/. + +// ===BEGIN ICANN DOMAINS=== + +// ac : http://nic.ac/rules.htm +ac +com.ac +edu.ac +gov.ac +net.ac +mil.ac +org.ac + +// ad : https://en.wikipedia.org/wiki/.ad +ad +nom.ad + +// ae : https://tdra.gov.ae/en/aeda/ae-policies +ae +co.ae +net.ae +org.ae +sch.ae +ac.ae +gov.ae +mil.ae + +// aero : see https://www.information.aero/index.php?id=66 +aero +accident-investigation.aero +accident-prevention.aero +aerobatic.aero +aeroclub.aero +aerodrome.aero +agents.aero +aircraft.aero +airline.aero +airport.aero +air-surveillance.aero +airtraffic.aero +air-traffic-control.aero +ambulance.aero +amusement.aero +association.aero +author.aero +ballooning.aero +broker.aero +caa.aero +cargo.aero +catering.aero +certification.aero +championship.aero +charter.aero +civilaviation.aero +club.aero +conference.aero +consultant.aero +consulting.aero +control.aero +council.aero +crew.aero +design.aero +dgca.aero +educator.aero +emergency.aero +engine.aero +engineer.aero +entertainment.aero +equipment.aero +exchange.aero +express.aero +federation.aero +flight.aero +fuel.aero +gliding.aero +government.aero +groundhandling.aero +group.aero +hanggliding.aero +homebuilt.aero +insurance.aero +journal.aero +journalist.aero +leasing.aero +logistics.aero +magazine.aero +maintenance.aero +media.aero +microlight.aero +modelling.aero +navigation.aero +parachuting.aero +paragliding.aero +passenger-association.aero +pilot.aero +press.aero +production.aero +recreation.aero +repbody.aero +res.aero +research.aero +rotorcraft.aero +safety.aero +scientist.aero +services.aero +show.aero +skydiving.aero +software.aero +student.aero +trader.aero +trading.aero +trainer.aero +union.aero +workinggroup.aero +works.aero + +// af : http://www.nic.af/help.jsp +af +gov.af +com.af +org.af +net.af +edu.af + +// ag : http://www.nic.ag/prices.htm +ag +com.ag +org.ag +net.ag +co.ag +nom.ag + +// ai : http://nic.com.ai/ +ai +off.ai +com.ai +net.ai +org.ai + +// al : http://www.ert.gov.al/ert_alb/faq_det.html?Id=31 +al +com.al +edu.al +gov.al +mil.al +net.al +org.al + +// am : https://www.amnic.net/policy/en/Policy_EN.pdf +am +co.am +com.am +commune.am +net.am +org.am + +// ao : https://en.wikipedia.org/wiki/.ao +// http://www.dns.ao/REGISTR.DOC +ao +ed.ao +gv.ao +og.ao +co.ao +pb.ao +it.ao + +// aq : https://en.wikipedia.org/wiki/.aq +aq + +// ar : https://nic.ar/es/nic-argentina/normativa +ar +bet.ar +com.ar +coop.ar +edu.ar +gob.ar +gov.ar +int.ar +mil.ar +musica.ar +mutual.ar +net.ar +org.ar +senasa.ar +tur.ar + +// arpa : https://en.wikipedia.org/wiki/.arpa +// Confirmed by registry 2008-06-18 +arpa +e164.arpa +in-addr.arpa +ip6.arpa +iris.arpa +uri.arpa +urn.arpa + +// as : https://en.wikipedia.org/wiki/.as +as +gov.as + +// asia : https://en.wikipedia.org/wiki/.asia +asia + +// at : https://en.wikipedia.org/wiki/.at +// Confirmed by registry 2008-06-17 +at +ac.at +co.at +gv.at +or.at +sth.ac.at + +// au : https://en.wikipedia.org/wiki/.au +// http://www.auda.org.au/ +au +// 2LDs +com.au +net.au +org.au +edu.au +gov.au +asn.au +id.au +// Historic 2LDs (closed to new registration, but sites still exist) +info.au +conf.au +oz.au +// CGDNs - http://www.cgdn.org.au/ +act.au +nsw.au +nt.au +qld.au +sa.au +tas.au +vic.au +wa.au +// 3LDs +act.edu.au +catholic.edu.au +// eq.edu.au - Removed at the request of the Queensland Department of Education +nsw.edu.au +nt.edu.au +qld.edu.au +sa.edu.au +tas.edu.au +vic.edu.au +wa.edu.au +// act.gov.au Bug 984824 - Removed at request of Greg Tankard +// nsw.gov.au Bug 547985 - Removed at request of +// nt.gov.au Bug 940478 - Removed at request of Greg Connors +qld.gov.au +sa.gov.au +tas.gov.au +vic.gov.au +wa.gov.au +// 4LDs +// education.tas.edu.au - Removed at the request of the Department of Education Tasmania +schools.nsw.edu.au + +// aw : https://en.wikipedia.org/wiki/.aw +aw +com.aw + +// ax : https://en.wikipedia.org/wiki/.ax +ax + +// az : https://en.wikipedia.org/wiki/.az +az +com.az +net.az +int.az +gov.az +org.az +edu.az +info.az +pp.az +mil.az +name.az +pro.az +biz.az + +// ba : http://nic.ba/users_data/files/pravilnik_o_registraciji.pdf +ba +com.ba +edu.ba +gov.ba +mil.ba +net.ba +org.ba + +// bb : https://en.wikipedia.org/wiki/.bb +bb +biz.bb +co.bb +com.bb +edu.bb +gov.bb +info.bb +net.bb +org.bb +store.bb +tv.bb + +// bd : https://en.wikipedia.org/wiki/.bd +*.bd + +// be : https://en.wikipedia.org/wiki/.be +// Confirmed by registry 2008-06-08 +be +ac.be + +// bf : https://en.wikipedia.org/wiki/.bf +bf +gov.bf + +// bg : https://en.wikipedia.org/wiki/.bg +// https://www.register.bg/user/static/rules/en/index.html +bg +a.bg +b.bg +c.bg +d.bg +e.bg +f.bg +g.bg +h.bg +i.bg +j.bg +k.bg +l.bg +m.bg +n.bg +o.bg +p.bg +q.bg +r.bg +s.bg +t.bg +u.bg +v.bg +w.bg +x.bg +y.bg +z.bg +0.bg +1.bg +2.bg +3.bg +4.bg +5.bg +6.bg +7.bg +8.bg +9.bg + +// bh : https://en.wikipedia.org/wiki/.bh +bh +com.bh +edu.bh +net.bh +org.bh +gov.bh + +// bi : https://en.wikipedia.org/wiki/.bi +// http://whois.nic.bi/ +bi +co.bi +com.bi +edu.bi +or.bi +org.bi + +// biz : https://en.wikipedia.org/wiki/.biz +biz + +// bj : https://en.wikipedia.org/wiki/.bj +bj +asso.bj +barreau.bj +gouv.bj + +// bm : http://www.bermudanic.bm/dnr-text.txt +bm +com.bm +edu.bm +gov.bm +net.bm +org.bm + +// bn : http://www.bnnic.bn/faqs +bn +com.bn +edu.bn +gov.bn +net.bn +org.bn + +// bo : https://nic.bo/delegacion2015.php#h-1.10 +bo +com.bo +edu.bo +gob.bo +int.bo +org.bo +net.bo +mil.bo +tv.bo +web.bo +// Social Domains +academia.bo +agro.bo +arte.bo +blog.bo +bolivia.bo +ciencia.bo +cooperativa.bo +democracia.bo +deporte.bo +ecologia.bo +economia.bo +empresa.bo +indigena.bo +industria.bo +info.bo +medicina.bo +movimiento.bo +musica.bo +natural.bo +nombre.bo +noticias.bo +patria.bo +politica.bo +profesional.bo +plurinacional.bo +pueblo.bo +revista.bo +salud.bo +tecnologia.bo +tksat.bo +transporte.bo +wiki.bo + +// br : http://registro.br/dominio/categoria.html +// Submitted by registry +br +9guacu.br +abc.br +adm.br +adv.br +agr.br +aju.br +am.br +anani.br +aparecida.br +app.br +arq.br +art.br +ato.br +b.br +barueri.br +belem.br +bhz.br +bib.br +bio.br +blog.br +bmd.br +boavista.br +bsb.br +campinagrande.br +campinas.br +caxias.br +cim.br +cng.br +cnt.br +com.br +contagem.br +coop.br +coz.br +cri.br +cuiaba.br +curitiba.br +def.br +des.br +det.br +dev.br +ecn.br +eco.br +edu.br +emp.br +enf.br +eng.br +esp.br +etc.br +eti.br +far.br +feira.br +flog.br +floripa.br +fm.br +fnd.br +fortal.br +fot.br +foz.br +fst.br +g12.br +geo.br +ggf.br +goiania.br +gov.br +// gov.br 26 states + df https://en.wikipedia.org/wiki/States_of_Brazil +ac.gov.br +al.gov.br +am.gov.br +ap.gov.br +ba.gov.br +ce.gov.br +df.gov.br +es.gov.br +go.gov.br +ma.gov.br +mg.gov.br +ms.gov.br +mt.gov.br +pa.gov.br +pb.gov.br +pe.gov.br +pi.gov.br +pr.gov.br +rj.gov.br +rn.gov.br +ro.gov.br +rr.gov.br +rs.gov.br +sc.gov.br +se.gov.br +sp.gov.br +to.gov.br +gru.br +imb.br +ind.br +inf.br +jab.br +jampa.br +jdf.br +joinville.br +jor.br +jus.br +leg.br +lel.br +log.br +londrina.br +macapa.br +maceio.br +manaus.br +maringa.br +mat.br +med.br +mil.br +morena.br +mp.br +mus.br +natal.br +net.br +niteroi.br +*.nom.br +not.br +ntr.br +odo.br +ong.br +org.br +osasco.br +palmas.br +poa.br +ppg.br +pro.br +psc.br +psi.br +pvh.br +qsl.br +radio.br +rec.br +recife.br +rep.br +ribeirao.br +rio.br +riobranco.br +riopreto.br +salvador.br +sampa.br +santamaria.br +santoandre.br +saobernardo.br +saogonca.br +seg.br +sjc.br +slg.br +slz.br +sorocaba.br +srv.br +taxi.br +tc.br +tec.br +teo.br +the.br +tmp.br +trd.br +tur.br +tv.br +udi.br +vet.br +vix.br +vlog.br +wiki.br +zlg.br + +// bs : http://www.nic.bs/rules.html +bs +com.bs +net.bs +org.bs +edu.bs +gov.bs + +// bt : https://en.wikipedia.org/wiki/.bt +bt +com.bt +edu.bt +gov.bt +net.bt +org.bt + +// bv : No registrations at this time. +// Submitted by registry +bv + +// bw : https://en.wikipedia.org/wiki/.bw +// http://www.gobin.info/domainname/bw.doc +// list of other 2nd level tlds ? +bw +co.bw +org.bw + +// by : https://en.wikipedia.org/wiki/.by +// http://tld.by/rules_2006_en.html +// list of other 2nd level tlds ? +by +gov.by +mil.by +// Official information does not indicate that com.by is a reserved +// second-level domain, but it's being used as one (see www.google.com.by and +// www.yahoo.com.by, for example), so we list it here for safety's sake. +com.by + +// http://hoster.by/ +of.by + +// bz : https://en.wikipedia.org/wiki/.bz +// http://www.belizenic.bz/ +bz +com.bz +net.bz +org.bz +edu.bz +gov.bz + +// ca : https://en.wikipedia.org/wiki/.ca +ca +// ca geographical names +ab.ca +bc.ca +mb.ca +nb.ca +nf.ca +nl.ca +ns.ca +nt.ca +nu.ca +on.ca +pe.ca +qc.ca +sk.ca +yk.ca +// gc.ca: https://en.wikipedia.org/wiki/.gc.ca +// see also: http://registry.gc.ca/en/SubdomainFAQ +gc.ca + +// cat : https://en.wikipedia.org/wiki/.cat +cat + +// cc : https://en.wikipedia.org/wiki/.cc +cc + +// cd : https://en.wikipedia.org/wiki/.cd +// see also: https://www.nic.cd/domain/insertDomain_2.jsp?act=1 +cd +gov.cd + +// cf : https://en.wikipedia.org/wiki/.cf +cf + +// cg : https://en.wikipedia.org/wiki/.cg +cg + +// ch : https://en.wikipedia.org/wiki/.ch +ch + +// ci : https://en.wikipedia.org/wiki/.ci +// http://www.nic.ci/index.php?page=charte +ci +org.ci +or.ci +com.ci +co.ci +edu.ci +ed.ci +ac.ci +net.ci +go.ci +asso.ci +aéroport.ci +int.ci +presse.ci +md.ci +gouv.ci + +// ck : https://en.wikipedia.org/wiki/.ck +*.ck +!www.ck + +// cl : https://www.nic.cl +// Confirmed by .CL registry +cl +co.cl +gob.cl +gov.cl +mil.cl + +// cm : https://en.wikipedia.org/wiki/.cm plus bug 981927 +cm +co.cm +com.cm +gov.cm +net.cm + +// cn : https://en.wikipedia.org/wiki/.cn +// Submitted by registry +cn +ac.cn +com.cn +edu.cn +gov.cn +net.cn +org.cn +mil.cn +公司.cn +网络.cn +網絡.cn +// cn geographic names +ah.cn +bj.cn +cq.cn +fj.cn +gd.cn +gs.cn +gz.cn +gx.cn +ha.cn +hb.cn +he.cn +hi.cn +hl.cn +hn.cn +jl.cn +js.cn +jx.cn +ln.cn +nm.cn +nx.cn +qh.cn +sc.cn +sd.cn +sh.cn +sn.cn +sx.cn +tj.cn +xj.cn +xz.cn +yn.cn +zj.cn +hk.cn +mo.cn +tw.cn + +// co : https://en.wikipedia.org/wiki/.co +// Submitted by registry +co +arts.co +com.co +edu.co +firm.co +gov.co +info.co +int.co +mil.co +net.co +nom.co +org.co +rec.co +web.co + +// com : https://en.wikipedia.org/wiki/.com +com + +// coop : https://en.wikipedia.org/wiki/.coop +coop + +// cr : http://www.nic.cr/niccr_publico/showRegistroDominiosScreen.do +cr +ac.cr +co.cr +ed.cr +fi.cr +go.cr +or.cr +sa.cr + +// cu : https://en.wikipedia.org/wiki/.cu +cu +com.cu +edu.cu +org.cu +net.cu +gov.cu +inf.cu + +// cv : https://en.wikipedia.org/wiki/.cv +// cv : http://www.dns.cv/tldcv_portal/do?com=DS;5446457100;111;+PAGE(4000018)+K-CAT-CODIGO(RDOM)+RCNT(100); <- registration rules +cv +com.cv +edu.cv +int.cv +nome.cv +org.cv + +// cw : http://www.una.cw/cw_registry/ +// Confirmed by registry 2013-03-26 +cw +com.cw +edu.cw +net.cw +org.cw + +// cx : https://en.wikipedia.org/wiki/.cx +// list of other 2nd level tlds ? +cx +gov.cx + +// cy : http://www.nic.cy/ +// Submitted by registry Panayiotou Fotia +// namespace policies URL https://www.nic.cy/portal//sites/default/files/symfonia_gia_eggrafi.pdf +cy +ac.cy +biz.cy +com.cy +ekloges.cy +gov.cy +ltd.cy +mil.cy +net.cy +org.cy +press.cy +pro.cy +tm.cy + +// cz : https://en.wikipedia.org/wiki/.cz +cz + +// de : https://en.wikipedia.org/wiki/.de +// Confirmed by registry (with technical +// reservations) 2008-07-01 +de + +// dj : https://en.wikipedia.org/wiki/.dj +dj + +// dk : https://en.wikipedia.org/wiki/.dk +// Confirmed by registry 2008-06-17 +dk + +// dm : https://en.wikipedia.org/wiki/.dm +dm +com.dm +net.dm +org.dm +edu.dm +gov.dm + +// do : https://en.wikipedia.org/wiki/.do +do +art.do +com.do +edu.do +gob.do +gov.do +mil.do +net.do +org.do +sld.do +web.do + +// dz : http://www.nic.dz/images/pdf_nic/charte.pdf +dz +art.dz +asso.dz +com.dz +edu.dz +gov.dz +org.dz +net.dz +pol.dz +soc.dz +tm.dz + +// ec : http://www.nic.ec/reg/paso1.asp +// Submitted by registry +ec +com.ec +info.ec +net.ec +fin.ec +k12.ec +med.ec +pro.ec +org.ec +edu.ec +gov.ec +gob.ec +mil.ec + +// edu : https://en.wikipedia.org/wiki/.edu +edu + +// ee : http://www.eenet.ee/EENet/dom_reeglid.html#lisa_B +ee +edu.ee +gov.ee +riik.ee +lib.ee +med.ee +com.ee +pri.ee +aip.ee +org.ee +fie.ee + +// eg : https://en.wikipedia.org/wiki/.eg +eg +com.eg +edu.eg +eun.eg +gov.eg +mil.eg +name.eg +net.eg +org.eg +sci.eg + +// er : https://en.wikipedia.org/wiki/.er +*.er + +// es : https://www.nic.es/site_ingles/ingles/dominios/index.html +es +com.es +nom.es +org.es +gob.es +edu.es + +// et : https://en.wikipedia.org/wiki/.et +et +com.et +gov.et +org.et +edu.et +biz.et +name.et +info.et +net.et + +// eu : https://en.wikipedia.org/wiki/.eu +eu + +// fi : https://en.wikipedia.org/wiki/.fi +fi +// aland.fi : https://en.wikipedia.org/wiki/.ax +// This domain is being phased out in favor of .ax. As there are still many +// domains under aland.fi, we still keep it on the list until aland.fi is +// completely removed. +// TODO: Check for updates (expected to be phased out around Q1/2009) +aland.fi + +// fj : http://domains.fj/ +// Submitted by registry 2020-02-11 +fj +ac.fj +biz.fj +com.fj +gov.fj +info.fj +mil.fj +name.fj +net.fj +org.fj +pro.fj + +// fk : https://en.wikipedia.org/wiki/.fk +*.fk + +// fm : https://en.wikipedia.org/wiki/.fm +com.fm +edu.fm +net.fm +org.fm +fm + +// fo : https://en.wikipedia.org/wiki/.fo +fo + +// fr : http://www.afnic.fr/ +// domaines descriptifs : https://www.afnic.fr/medias/documents/Cadre_legal/Afnic_Naming_Policy_12122016_VEN.pdf +fr +asso.fr +com.fr +gouv.fr +nom.fr +prd.fr +tm.fr +// domaines sectoriels : https://www.afnic.fr/en/products-and-services/the-fr-tld/sector-based-fr-domains-4.html +aeroport.fr +avocat.fr +avoues.fr +cci.fr +chambagri.fr +chirurgiens-dentistes.fr +experts-comptables.fr +geometre-expert.fr +greta.fr +huissier-justice.fr +medecin.fr +notaires.fr +pharmacien.fr +port.fr +veterinaire.fr + +// ga : https://en.wikipedia.org/wiki/.ga +ga + +// gb : This registry is effectively dormant +// Submitted by registry +gb + +// gd : https://en.wikipedia.org/wiki/.gd +edu.gd +gov.gd +gd + +// ge : http://www.nic.net.ge/policy_en.pdf +ge +com.ge +edu.ge +gov.ge +org.ge +mil.ge +net.ge +pvt.ge + +// gf : https://en.wikipedia.org/wiki/.gf +gf + +// gg : http://www.channelisles.net/register-domains/ +// Confirmed by registry 2013-11-28 +gg +co.gg +net.gg +org.gg + +// gh : https://en.wikipedia.org/wiki/.gh +// see also: http://www.nic.gh/reg_now.php +// Although domains directly at second level are not possible at the moment, +// they have been possible for some time and may come back. +gh +com.gh +edu.gh +gov.gh +org.gh +mil.gh + +// gi : http://www.nic.gi/rules.html +gi +com.gi +ltd.gi +gov.gi +mod.gi +edu.gi +org.gi + +// gl : https://en.wikipedia.org/wiki/.gl +// http://nic.gl +gl +co.gl +com.gl +edu.gl +net.gl +org.gl + +// gm : http://www.nic.gm/htmlpages%5Cgm-policy.htm +gm + +// gn : http://psg.com/dns/gn/gn.txt +// Submitted by registry +gn +ac.gn +com.gn +edu.gn +gov.gn +org.gn +net.gn + +// gov : https://en.wikipedia.org/wiki/.gov +gov + +// gp : http://www.nic.gp/index.php?lang=en +gp +com.gp +net.gp +mobi.gp +edu.gp +org.gp +asso.gp + +// gq : https://en.wikipedia.org/wiki/.gq +gq + +// gr : https://grweb.ics.forth.gr/english/1617-B-2005.html +// Submitted by registry +gr +com.gr +edu.gr +net.gr +org.gr +gov.gr + +// gs : https://en.wikipedia.org/wiki/.gs +gs + +// gt : https://www.gt/sitio/registration_policy.php?lang=en +gt +com.gt +edu.gt +gob.gt +ind.gt +mil.gt +net.gt +org.gt + +// gu : http://gadao.gov.gu/register.html +// University of Guam : https://www.uog.edu +// Submitted by uognoc@triton.uog.edu +gu +com.gu +edu.gu +gov.gu +guam.gu +info.gu +net.gu +org.gu +web.gu + +// gw : https://en.wikipedia.org/wiki/.gw +// gw : https://nic.gw/regras/ +gw + +// gy : https://en.wikipedia.org/wiki/.gy +// http://registry.gy/ +gy +co.gy +com.gy +edu.gy +gov.gy +net.gy +org.gy + +// hk : https://www.hkirc.hk +// Submitted by registry +hk +com.hk +edu.hk +gov.hk +idv.hk +net.hk +org.hk +公司.hk +教育.hk +敎育.hk +政府.hk +個人.hk +个人.hk +箇人.hk +網络.hk +网络.hk +组織.hk +網絡.hk +网絡.hk +组织.hk +組織.hk +組织.hk + +// hm : https://en.wikipedia.org/wiki/.hm +hm + +// hn : http://www.nic.hn/politicas/ps02,,05.html +hn +com.hn +edu.hn +org.hn +net.hn +mil.hn +gob.hn + +// hr : http://www.dns.hr/documents/pdf/HRTLD-regulations.pdf +hr +iz.hr +from.hr +name.hr +com.hr + +// ht : http://www.nic.ht/info/charte.cfm +ht +com.ht +shop.ht +firm.ht +info.ht +adult.ht +net.ht +pro.ht +org.ht +med.ht +art.ht +coop.ht +pol.ht +asso.ht +edu.ht +rel.ht +gouv.ht +perso.ht + +// hu : http://www.domain.hu/domain/English/sld.html +// Confirmed by registry 2008-06-12 +hu +co.hu +info.hu +org.hu +priv.hu +sport.hu +tm.hu +2000.hu +agrar.hu +bolt.hu +casino.hu +city.hu +erotica.hu +erotika.hu +film.hu +forum.hu +games.hu +hotel.hu +ingatlan.hu +jogasz.hu +konyvelo.hu +lakas.hu +media.hu +news.hu +reklam.hu +sex.hu +shop.hu +suli.hu +szex.hu +tozsde.hu +utazas.hu +video.hu + +// id : https://pandi.id/en/domain/registration-requirements/ +id +ac.id +biz.id +co.id +desa.id +go.id +mil.id +my.id +net.id +or.id +ponpes.id +sch.id +web.id + +// ie : https://en.wikipedia.org/wiki/.ie +ie +gov.ie + +// il : http://www.isoc.org.il/domains/ +// see also: https://en.isoc.org.il/il-cctld/registration-rules +// ISOC-IL (operated by .il Registry) +il +ac.il +co.il +gov.il +idf.il +k12.il +muni.il +net.il +org.il +// xn--4dbrk0ce ("Israel", Hebrew) : IL +ישראל +// xn--4dbgdty6c.xn--4dbrk0ce. +אקדמיה.ישראל +// xn--5dbhl8d.xn--4dbrk0ce. +ישוב.ישראל +// xn--8dbq2a.xn--4dbrk0ce. +צהל.ישראל +// xn--hebda8b.xn--4dbrk0ce. +ממשל.ישראל + +// im : https://www.nic.im/ +// Submitted by registry +im +ac.im +co.im +com.im +ltd.co.im +net.im +org.im +plc.co.im +tt.im +tv.im + +// in : https://en.wikipedia.org/wiki/.in +// see also: https://registry.in/policies +// Please note, that nic.in is not an official eTLD, but used by most +// government institutions. +in +5g.in +6g.in +ac.in +ai.in +am.in +bihar.in +biz.in +business.in +ca.in +cn.in +co.in +com.in +coop.in +cs.in +delhi.in +dr.in +edu.in +er.in +firm.in +gen.in +gov.in +gujarat.in +ind.in +info.in +int.in +internet.in +io.in +me.in +mil.in +net.in +nic.in +org.in +pg.in +post.in +pro.in +res.in +travel.in +tv.in +uk.in +up.in +us.in + +// info : https://en.wikipedia.org/wiki/.info +info + +// int : https://en.wikipedia.org/wiki/.int +// Confirmed by registry 2008-06-18 +int +eu.int + +// io : http://www.nic.io/rules.htm +// list of other 2nd level tlds ? +io +com.io + +// iq : http://www.cmc.iq/english/iq/iqregister1.htm +iq +gov.iq +edu.iq +mil.iq +com.iq +org.iq +net.iq + +// ir : http://www.nic.ir/Terms_and_Conditions_ir,_Appendix_1_Domain_Rules +// Also see http://www.nic.ir/Internationalized_Domain_Names +// Two .ir entries added at request of , 2010-04-16 +ir +ac.ir +co.ir +gov.ir +id.ir +net.ir +org.ir +sch.ir +// xn--mgba3a4f16a.ir (.ir, Persian YEH) +ایران.ir +// xn--mgba3a4fra.ir (.ir, Arabic YEH) +ايران.ir + +// is : http://www.isnic.is/domain/rules.php +// Confirmed by registry 2008-12-06 +is +net.is +com.is +edu.is +gov.is +org.is +int.is + +// it : https://en.wikipedia.org/wiki/.it +it +gov.it +edu.it +// Reserved geo-names (regions and provinces): +// https://www.nic.it/sites/default/files/archivio/docs/Regulation_assignation_v7.1.pdf +// Regions +abr.it +abruzzo.it +aosta-valley.it +aostavalley.it +bas.it +basilicata.it +cal.it +calabria.it +cam.it +campania.it +emilia-romagna.it +emiliaromagna.it +emr.it +friuli-v-giulia.it +friuli-ve-giulia.it +friuli-vegiulia.it +friuli-venezia-giulia.it +friuli-veneziagiulia.it +friuli-vgiulia.it +friuliv-giulia.it +friulive-giulia.it +friulivegiulia.it +friulivenezia-giulia.it +friuliveneziagiulia.it +friulivgiulia.it +fvg.it +laz.it +lazio.it +lig.it +liguria.it +lom.it +lombardia.it +lombardy.it +lucania.it +mar.it +marche.it +mol.it +molise.it +piedmont.it +piemonte.it +pmn.it +pug.it +puglia.it +sar.it +sardegna.it +sardinia.it +sic.it +sicilia.it +sicily.it +taa.it +tos.it +toscana.it +trentin-sud-tirol.it +trentin-süd-tirol.it +trentin-sudtirol.it +trentin-südtirol.it +trentin-sued-tirol.it +trentin-suedtirol.it +trentino-a-adige.it +trentino-aadige.it +trentino-alto-adige.it +trentino-altoadige.it +trentino-s-tirol.it +trentino-stirol.it +trentino-sud-tirol.it +trentino-süd-tirol.it +trentino-sudtirol.it +trentino-südtirol.it +trentino-sued-tirol.it +trentino-suedtirol.it +trentino.it +trentinoa-adige.it +trentinoaadige.it +trentinoalto-adige.it +trentinoaltoadige.it +trentinos-tirol.it +trentinostirol.it +trentinosud-tirol.it +trentinosüd-tirol.it +trentinosudtirol.it +trentinosüdtirol.it +trentinosued-tirol.it +trentinosuedtirol.it +trentinsud-tirol.it +trentinsüd-tirol.it +trentinsudtirol.it +trentinsüdtirol.it +trentinsued-tirol.it +trentinsuedtirol.it +tuscany.it +umb.it +umbria.it +val-d-aosta.it +val-daosta.it +vald-aosta.it +valdaosta.it +valle-aosta.it +valle-d-aosta.it +valle-daosta.it +valleaosta.it +valled-aosta.it +valledaosta.it +vallee-aoste.it +vallée-aoste.it +vallee-d-aoste.it +vallée-d-aoste.it +valleeaoste.it +valléeaoste.it +valleedaoste.it +valléedaoste.it +vao.it +vda.it +ven.it +veneto.it +// Provinces +ag.it +agrigento.it +al.it +alessandria.it +alto-adige.it +altoadige.it +an.it +ancona.it +andria-barletta-trani.it +andria-trani-barletta.it +andriabarlettatrani.it +andriatranibarletta.it +ao.it +aosta.it +aoste.it +ap.it +aq.it +aquila.it +ar.it +arezzo.it +ascoli-piceno.it +ascolipiceno.it +asti.it +at.it +av.it +avellino.it +ba.it +balsan-sudtirol.it +balsan-südtirol.it +balsan-suedtirol.it +balsan.it +bari.it +barletta-trani-andria.it +barlettatraniandria.it +belluno.it +benevento.it +bergamo.it +bg.it +bi.it +biella.it +bl.it +bn.it +bo.it +bologna.it +bolzano-altoadige.it +bolzano.it +bozen-sudtirol.it +bozen-südtirol.it +bozen-suedtirol.it +bozen.it +br.it +brescia.it +brindisi.it +bs.it +bt.it +bulsan-sudtirol.it +bulsan-südtirol.it +bulsan-suedtirol.it +bulsan.it +bz.it +ca.it +cagliari.it +caltanissetta.it +campidano-medio.it +campidanomedio.it +campobasso.it +carbonia-iglesias.it +carboniaiglesias.it +carrara-massa.it +carraramassa.it +caserta.it +catania.it +catanzaro.it +cb.it +ce.it +cesena-forli.it +cesena-forlì.it +cesenaforli.it +cesenaforlì.it +ch.it +chieti.it +ci.it +cl.it +cn.it +co.it +como.it +cosenza.it +cr.it +cremona.it +crotone.it +cs.it +ct.it +cuneo.it +cz.it +dell-ogliastra.it +dellogliastra.it +en.it +enna.it +fc.it +fe.it +fermo.it +ferrara.it +fg.it +fi.it +firenze.it +florence.it +fm.it +foggia.it +forli-cesena.it +forlì-cesena.it +forlicesena.it +forlìcesena.it +fr.it +frosinone.it +ge.it +genoa.it +genova.it +go.it +gorizia.it +gr.it +grosseto.it +iglesias-carbonia.it +iglesiascarbonia.it +im.it +imperia.it +is.it +isernia.it +kr.it +la-spezia.it +laquila.it +laspezia.it +latina.it +lc.it +le.it +lecce.it +lecco.it +li.it +livorno.it +lo.it +lodi.it +lt.it +lu.it +lucca.it +macerata.it +mantova.it +massa-carrara.it +massacarrara.it +matera.it +mb.it +mc.it +me.it +medio-campidano.it +mediocampidano.it +messina.it +mi.it +milan.it +milano.it +mn.it +mo.it +modena.it +monza-brianza.it +monza-e-della-brianza.it +monza.it +monzabrianza.it +monzaebrianza.it +monzaedellabrianza.it +ms.it +mt.it +na.it +naples.it +napoli.it +no.it +novara.it +nu.it +nuoro.it +og.it +ogliastra.it +olbia-tempio.it +olbiatempio.it +or.it +oristano.it +ot.it +pa.it +padova.it +padua.it +palermo.it +parma.it +pavia.it +pc.it +pd.it +pe.it +perugia.it +pesaro-urbino.it +pesarourbino.it +pescara.it +pg.it +pi.it +piacenza.it +pisa.it +pistoia.it +pn.it +po.it +pordenone.it +potenza.it +pr.it +prato.it +pt.it +pu.it +pv.it +pz.it +ra.it +ragusa.it +ravenna.it +rc.it +re.it +reggio-calabria.it +reggio-emilia.it +reggiocalabria.it +reggioemilia.it +rg.it +ri.it +rieti.it +rimini.it +rm.it +rn.it +ro.it +roma.it +rome.it +rovigo.it +sa.it +salerno.it +sassari.it +savona.it +si.it +siena.it +siracusa.it +so.it +sondrio.it +sp.it +sr.it +ss.it +suedtirol.it +südtirol.it +sv.it +ta.it +taranto.it +te.it +tempio-olbia.it +tempioolbia.it +teramo.it +terni.it +tn.it +to.it +torino.it +tp.it +tr.it +trani-andria-barletta.it +trani-barletta-andria.it +traniandriabarletta.it +tranibarlettaandria.it +trapani.it +trento.it +treviso.it +trieste.it +ts.it +turin.it +tv.it +ud.it +udine.it +urbino-pesaro.it +urbinopesaro.it +va.it +varese.it +vb.it +vc.it +ve.it +venezia.it +venice.it +verbania.it +vercelli.it +verona.it +vi.it +vibo-valentia.it +vibovalentia.it +vicenza.it +viterbo.it +vr.it +vs.it +vt.it +vv.it + +// je : http://www.channelisles.net/register-domains/ +// Confirmed by registry 2013-11-28 +je +co.je +net.je +org.je + +// jm : http://www.com.jm/register.html +*.jm + +// jo : http://www.dns.jo/Registration_policy.aspx +jo +com.jo +org.jo +net.jo +edu.jo +sch.jo +gov.jo +mil.jo +name.jo + +// jobs : https://en.wikipedia.org/wiki/.jobs +jobs + +// jp : https://en.wikipedia.org/wiki/.jp +// http://jprs.co.jp/en/jpdomain.html +// Submitted by registry +jp +// jp organizational type names +ac.jp +ad.jp +co.jp +ed.jp +go.jp +gr.jp +lg.jp +ne.jp +or.jp +// jp prefecture type names +aichi.jp +akita.jp +aomori.jp +chiba.jp +ehime.jp +fukui.jp +fukuoka.jp +fukushima.jp +gifu.jp +gunma.jp +hiroshima.jp +hokkaido.jp +hyogo.jp +ibaraki.jp +ishikawa.jp +iwate.jp +kagawa.jp +kagoshima.jp +kanagawa.jp +kochi.jp +kumamoto.jp +kyoto.jp +mie.jp +miyagi.jp +miyazaki.jp +nagano.jp +nagasaki.jp +nara.jp +niigata.jp +oita.jp +okayama.jp +okinawa.jp +osaka.jp +saga.jp +saitama.jp +shiga.jp +shimane.jp +shizuoka.jp +tochigi.jp +tokushima.jp +tokyo.jp +tottori.jp +toyama.jp +wakayama.jp +yamagata.jp +yamaguchi.jp +yamanashi.jp +栃木.jp +愛知.jp +愛媛.jp +兵庫.jp +熊本.jp +茨城.jp +北海道.jp +千葉.jp +和歌山.jp +長崎.jp +長野.jp +新潟.jp +青森.jp +静岡.jp +東京.jp +石川.jp +埼玉.jp +三重.jp +京都.jp +佐賀.jp +大分.jp +大阪.jp +奈良.jp +宮城.jp +宮崎.jp +富山.jp +山口.jp +山形.jp +山梨.jp +岩手.jp +岐阜.jp +岡山.jp +島根.jp +広島.jp +徳島.jp +沖縄.jp +滋賀.jp +神奈川.jp +福井.jp +福岡.jp +福島.jp +秋田.jp +群馬.jp +香川.jp +高知.jp +鳥取.jp +鹿児島.jp +// jp geographic type names +// http://jprs.jp/doc/rule/saisoku-1.html +*.kawasaki.jp +*.kitakyushu.jp +*.kobe.jp +*.nagoya.jp +*.sapporo.jp +*.sendai.jp +*.yokohama.jp +!city.kawasaki.jp +!city.kitakyushu.jp +!city.kobe.jp +!city.nagoya.jp +!city.sapporo.jp +!city.sendai.jp +!city.yokohama.jp +// 4th level registration +aisai.aichi.jp +ama.aichi.jp +anjo.aichi.jp +asuke.aichi.jp +chiryu.aichi.jp +chita.aichi.jp +fuso.aichi.jp +gamagori.aichi.jp +handa.aichi.jp +hazu.aichi.jp +hekinan.aichi.jp +higashiura.aichi.jp +ichinomiya.aichi.jp +inazawa.aichi.jp +inuyama.aichi.jp +isshiki.aichi.jp +iwakura.aichi.jp +kanie.aichi.jp +kariya.aichi.jp +kasugai.aichi.jp +kira.aichi.jp +kiyosu.aichi.jp +komaki.aichi.jp +konan.aichi.jp +kota.aichi.jp +mihama.aichi.jp +miyoshi.aichi.jp +nishio.aichi.jp +nisshin.aichi.jp +obu.aichi.jp +oguchi.aichi.jp +oharu.aichi.jp +okazaki.aichi.jp +owariasahi.aichi.jp +seto.aichi.jp +shikatsu.aichi.jp +shinshiro.aichi.jp +shitara.aichi.jp +tahara.aichi.jp +takahama.aichi.jp +tobishima.aichi.jp +toei.aichi.jp +togo.aichi.jp +tokai.aichi.jp +tokoname.aichi.jp +toyoake.aichi.jp +toyohashi.aichi.jp +toyokawa.aichi.jp +toyone.aichi.jp +toyota.aichi.jp +tsushima.aichi.jp +yatomi.aichi.jp +akita.akita.jp +daisen.akita.jp +fujisato.akita.jp +gojome.akita.jp +hachirogata.akita.jp +happou.akita.jp +higashinaruse.akita.jp +honjo.akita.jp +honjyo.akita.jp +ikawa.akita.jp +kamikoani.akita.jp +kamioka.akita.jp +katagami.akita.jp +kazuno.akita.jp +kitaakita.akita.jp +kosaka.akita.jp +kyowa.akita.jp +misato.akita.jp +mitane.akita.jp +moriyoshi.akita.jp +nikaho.akita.jp +noshiro.akita.jp +odate.akita.jp +oga.akita.jp +ogata.akita.jp +semboku.akita.jp +yokote.akita.jp +yurihonjo.akita.jp +aomori.aomori.jp +gonohe.aomori.jp +hachinohe.aomori.jp +hashikami.aomori.jp +hiranai.aomori.jp +hirosaki.aomori.jp +itayanagi.aomori.jp +kuroishi.aomori.jp +misawa.aomori.jp +mutsu.aomori.jp +nakadomari.aomori.jp +noheji.aomori.jp +oirase.aomori.jp +owani.aomori.jp +rokunohe.aomori.jp +sannohe.aomori.jp +shichinohe.aomori.jp +shingo.aomori.jp +takko.aomori.jp +towada.aomori.jp +tsugaru.aomori.jp +tsuruta.aomori.jp +abiko.chiba.jp +asahi.chiba.jp +chonan.chiba.jp +chosei.chiba.jp +choshi.chiba.jp +chuo.chiba.jp +funabashi.chiba.jp +futtsu.chiba.jp +hanamigawa.chiba.jp +ichihara.chiba.jp +ichikawa.chiba.jp +ichinomiya.chiba.jp +inzai.chiba.jp +isumi.chiba.jp +kamagaya.chiba.jp +kamogawa.chiba.jp +kashiwa.chiba.jp +katori.chiba.jp +katsuura.chiba.jp +kimitsu.chiba.jp +kisarazu.chiba.jp +kozaki.chiba.jp +kujukuri.chiba.jp +kyonan.chiba.jp +matsudo.chiba.jp +midori.chiba.jp +mihama.chiba.jp +minamiboso.chiba.jp +mobara.chiba.jp +mutsuzawa.chiba.jp +nagara.chiba.jp +nagareyama.chiba.jp +narashino.chiba.jp +narita.chiba.jp +noda.chiba.jp +oamishirasato.chiba.jp +omigawa.chiba.jp +onjuku.chiba.jp +otaki.chiba.jp +sakae.chiba.jp +sakura.chiba.jp +shimofusa.chiba.jp +shirako.chiba.jp +shiroi.chiba.jp +shisui.chiba.jp +sodegaura.chiba.jp +sosa.chiba.jp +tako.chiba.jp +tateyama.chiba.jp +togane.chiba.jp +tohnosho.chiba.jp +tomisato.chiba.jp +urayasu.chiba.jp +yachimata.chiba.jp +yachiyo.chiba.jp +yokaichiba.chiba.jp +yokoshibahikari.chiba.jp +yotsukaido.chiba.jp +ainan.ehime.jp +honai.ehime.jp +ikata.ehime.jp +imabari.ehime.jp +iyo.ehime.jp +kamijima.ehime.jp +kihoku.ehime.jp +kumakogen.ehime.jp +masaki.ehime.jp +matsuno.ehime.jp +matsuyama.ehime.jp +namikata.ehime.jp +niihama.ehime.jp +ozu.ehime.jp +saijo.ehime.jp +seiyo.ehime.jp +shikokuchuo.ehime.jp +tobe.ehime.jp +toon.ehime.jp +uchiko.ehime.jp +uwajima.ehime.jp +yawatahama.ehime.jp +echizen.fukui.jp +eiheiji.fukui.jp +fukui.fukui.jp +ikeda.fukui.jp +katsuyama.fukui.jp +mihama.fukui.jp +minamiechizen.fukui.jp +obama.fukui.jp +ohi.fukui.jp +ono.fukui.jp +sabae.fukui.jp +sakai.fukui.jp +takahama.fukui.jp +tsuruga.fukui.jp +wakasa.fukui.jp +ashiya.fukuoka.jp +buzen.fukuoka.jp +chikugo.fukuoka.jp +chikuho.fukuoka.jp +chikujo.fukuoka.jp +chikushino.fukuoka.jp +chikuzen.fukuoka.jp +chuo.fukuoka.jp +dazaifu.fukuoka.jp +fukuchi.fukuoka.jp +hakata.fukuoka.jp +higashi.fukuoka.jp +hirokawa.fukuoka.jp +hisayama.fukuoka.jp +iizuka.fukuoka.jp +inatsuki.fukuoka.jp +kaho.fukuoka.jp +kasuga.fukuoka.jp +kasuya.fukuoka.jp +kawara.fukuoka.jp +keisen.fukuoka.jp +koga.fukuoka.jp +kurate.fukuoka.jp +kurogi.fukuoka.jp +kurume.fukuoka.jp +minami.fukuoka.jp +miyako.fukuoka.jp +miyama.fukuoka.jp +miyawaka.fukuoka.jp +mizumaki.fukuoka.jp +munakata.fukuoka.jp +nakagawa.fukuoka.jp +nakama.fukuoka.jp +nishi.fukuoka.jp +nogata.fukuoka.jp +ogori.fukuoka.jp +okagaki.fukuoka.jp +okawa.fukuoka.jp +oki.fukuoka.jp +omuta.fukuoka.jp +onga.fukuoka.jp +onojo.fukuoka.jp +oto.fukuoka.jp +saigawa.fukuoka.jp +sasaguri.fukuoka.jp +shingu.fukuoka.jp +shinyoshitomi.fukuoka.jp +shonai.fukuoka.jp +soeda.fukuoka.jp +sue.fukuoka.jp +tachiarai.fukuoka.jp +tagawa.fukuoka.jp +takata.fukuoka.jp +toho.fukuoka.jp +toyotsu.fukuoka.jp +tsuiki.fukuoka.jp +ukiha.fukuoka.jp +umi.fukuoka.jp +usui.fukuoka.jp +yamada.fukuoka.jp +yame.fukuoka.jp +yanagawa.fukuoka.jp +yukuhashi.fukuoka.jp +aizubange.fukushima.jp +aizumisato.fukushima.jp +aizuwakamatsu.fukushima.jp +asakawa.fukushima.jp +bandai.fukushima.jp +date.fukushima.jp +fukushima.fukushima.jp +furudono.fukushima.jp +futaba.fukushima.jp +hanawa.fukushima.jp +higashi.fukushima.jp +hirata.fukushima.jp +hirono.fukushima.jp +iitate.fukushima.jp +inawashiro.fukushima.jp +ishikawa.fukushima.jp +iwaki.fukushima.jp +izumizaki.fukushima.jp +kagamiishi.fukushima.jp +kaneyama.fukushima.jp +kawamata.fukushima.jp +kitakata.fukushima.jp +kitashiobara.fukushima.jp +koori.fukushima.jp +koriyama.fukushima.jp +kunimi.fukushima.jp +miharu.fukushima.jp +mishima.fukushima.jp +namie.fukushima.jp +nango.fukushima.jp +nishiaizu.fukushima.jp +nishigo.fukushima.jp +okuma.fukushima.jp +omotego.fukushima.jp +ono.fukushima.jp +otama.fukushima.jp +samegawa.fukushima.jp +shimogo.fukushima.jp +shirakawa.fukushima.jp +showa.fukushima.jp +soma.fukushima.jp +sukagawa.fukushima.jp +taishin.fukushima.jp +tamakawa.fukushima.jp +tanagura.fukushima.jp +tenei.fukushima.jp +yabuki.fukushima.jp +yamato.fukushima.jp +yamatsuri.fukushima.jp +yanaizu.fukushima.jp +yugawa.fukushima.jp +anpachi.gifu.jp +ena.gifu.jp +gifu.gifu.jp +ginan.gifu.jp +godo.gifu.jp +gujo.gifu.jp +hashima.gifu.jp +hichiso.gifu.jp +hida.gifu.jp +higashishirakawa.gifu.jp +ibigawa.gifu.jp +ikeda.gifu.jp +kakamigahara.gifu.jp +kani.gifu.jp +kasahara.gifu.jp +kasamatsu.gifu.jp +kawaue.gifu.jp +kitagata.gifu.jp +mino.gifu.jp +minokamo.gifu.jp +mitake.gifu.jp +mizunami.gifu.jp +motosu.gifu.jp +nakatsugawa.gifu.jp +ogaki.gifu.jp +sakahogi.gifu.jp +seki.gifu.jp +sekigahara.gifu.jp +shirakawa.gifu.jp +tajimi.gifu.jp +takayama.gifu.jp +tarui.gifu.jp +toki.gifu.jp +tomika.gifu.jp +wanouchi.gifu.jp +yamagata.gifu.jp +yaotsu.gifu.jp +yoro.gifu.jp +annaka.gunma.jp +chiyoda.gunma.jp +fujioka.gunma.jp +higashiagatsuma.gunma.jp +isesaki.gunma.jp +itakura.gunma.jp +kanna.gunma.jp +kanra.gunma.jp +katashina.gunma.jp +kawaba.gunma.jp +kiryu.gunma.jp +kusatsu.gunma.jp +maebashi.gunma.jp +meiwa.gunma.jp +midori.gunma.jp +minakami.gunma.jp +naganohara.gunma.jp +nakanojo.gunma.jp +nanmoku.gunma.jp +numata.gunma.jp +oizumi.gunma.jp +ora.gunma.jp +ota.gunma.jp +shibukawa.gunma.jp +shimonita.gunma.jp +shinto.gunma.jp +showa.gunma.jp +takasaki.gunma.jp +takayama.gunma.jp +tamamura.gunma.jp +tatebayashi.gunma.jp +tomioka.gunma.jp +tsukiyono.gunma.jp +tsumagoi.gunma.jp +ueno.gunma.jp +yoshioka.gunma.jp +asaminami.hiroshima.jp +daiwa.hiroshima.jp +etajima.hiroshima.jp +fuchu.hiroshima.jp +fukuyama.hiroshima.jp +hatsukaichi.hiroshima.jp +higashihiroshima.hiroshima.jp +hongo.hiroshima.jp +jinsekikogen.hiroshima.jp +kaita.hiroshima.jp +kui.hiroshima.jp +kumano.hiroshima.jp +kure.hiroshima.jp +mihara.hiroshima.jp +miyoshi.hiroshima.jp +naka.hiroshima.jp +onomichi.hiroshima.jp +osakikamijima.hiroshima.jp +otake.hiroshima.jp +saka.hiroshima.jp +sera.hiroshima.jp +seranishi.hiroshima.jp +shinichi.hiroshima.jp +shobara.hiroshima.jp +takehara.hiroshima.jp +abashiri.hokkaido.jp +abira.hokkaido.jp +aibetsu.hokkaido.jp +akabira.hokkaido.jp +akkeshi.hokkaido.jp +asahikawa.hokkaido.jp +ashibetsu.hokkaido.jp +ashoro.hokkaido.jp +assabu.hokkaido.jp +atsuma.hokkaido.jp +bibai.hokkaido.jp +biei.hokkaido.jp +bifuka.hokkaido.jp +bihoro.hokkaido.jp +biratori.hokkaido.jp +chippubetsu.hokkaido.jp +chitose.hokkaido.jp +date.hokkaido.jp +ebetsu.hokkaido.jp +embetsu.hokkaido.jp +eniwa.hokkaido.jp +erimo.hokkaido.jp +esan.hokkaido.jp +esashi.hokkaido.jp +fukagawa.hokkaido.jp +fukushima.hokkaido.jp +furano.hokkaido.jp +furubira.hokkaido.jp +haboro.hokkaido.jp +hakodate.hokkaido.jp +hamatonbetsu.hokkaido.jp +hidaka.hokkaido.jp +higashikagura.hokkaido.jp +higashikawa.hokkaido.jp +hiroo.hokkaido.jp +hokuryu.hokkaido.jp +hokuto.hokkaido.jp +honbetsu.hokkaido.jp +horokanai.hokkaido.jp +horonobe.hokkaido.jp +ikeda.hokkaido.jp +imakane.hokkaido.jp +ishikari.hokkaido.jp +iwamizawa.hokkaido.jp +iwanai.hokkaido.jp +kamifurano.hokkaido.jp +kamikawa.hokkaido.jp +kamishihoro.hokkaido.jp +kamisunagawa.hokkaido.jp +kamoenai.hokkaido.jp +kayabe.hokkaido.jp +kembuchi.hokkaido.jp +kikonai.hokkaido.jp +kimobetsu.hokkaido.jp +kitahiroshima.hokkaido.jp +kitami.hokkaido.jp +kiyosato.hokkaido.jp +koshimizu.hokkaido.jp +kunneppu.hokkaido.jp +kuriyama.hokkaido.jp +kuromatsunai.hokkaido.jp +kushiro.hokkaido.jp +kutchan.hokkaido.jp +kyowa.hokkaido.jp +mashike.hokkaido.jp +matsumae.hokkaido.jp +mikasa.hokkaido.jp +minamifurano.hokkaido.jp +mombetsu.hokkaido.jp +moseushi.hokkaido.jp +mukawa.hokkaido.jp +muroran.hokkaido.jp +naie.hokkaido.jp +nakagawa.hokkaido.jp +nakasatsunai.hokkaido.jp +nakatombetsu.hokkaido.jp +nanae.hokkaido.jp +nanporo.hokkaido.jp +nayoro.hokkaido.jp +nemuro.hokkaido.jp +niikappu.hokkaido.jp +niki.hokkaido.jp +nishiokoppe.hokkaido.jp +noboribetsu.hokkaido.jp +numata.hokkaido.jp +obihiro.hokkaido.jp +obira.hokkaido.jp +oketo.hokkaido.jp +okoppe.hokkaido.jp +otaru.hokkaido.jp +otobe.hokkaido.jp +otofuke.hokkaido.jp +otoineppu.hokkaido.jp +oumu.hokkaido.jp +ozora.hokkaido.jp +pippu.hokkaido.jp +rankoshi.hokkaido.jp +rebun.hokkaido.jp +rikubetsu.hokkaido.jp +rishiri.hokkaido.jp +rishirifuji.hokkaido.jp +saroma.hokkaido.jp +sarufutsu.hokkaido.jp +shakotan.hokkaido.jp +shari.hokkaido.jp +shibecha.hokkaido.jp +shibetsu.hokkaido.jp +shikabe.hokkaido.jp +shikaoi.hokkaido.jp +shimamaki.hokkaido.jp +shimizu.hokkaido.jp +shimokawa.hokkaido.jp +shinshinotsu.hokkaido.jp +shintoku.hokkaido.jp +shiranuka.hokkaido.jp +shiraoi.hokkaido.jp +shiriuchi.hokkaido.jp +sobetsu.hokkaido.jp +sunagawa.hokkaido.jp +taiki.hokkaido.jp +takasu.hokkaido.jp +takikawa.hokkaido.jp +takinoue.hokkaido.jp +teshikaga.hokkaido.jp +tobetsu.hokkaido.jp +tohma.hokkaido.jp +tomakomai.hokkaido.jp +tomari.hokkaido.jp +toya.hokkaido.jp +toyako.hokkaido.jp +toyotomi.hokkaido.jp +toyoura.hokkaido.jp +tsubetsu.hokkaido.jp +tsukigata.hokkaido.jp +urakawa.hokkaido.jp +urausu.hokkaido.jp +uryu.hokkaido.jp +utashinai.hokkaido.jp +wakkanai.hokkaido.jp +wassamu.hokkaido.jp +yakumo.hokkaido.jp +yoichi.hokkaido.jp +aioi.hyogo.jp +akashi.hyogo.jp +ako.hyogo.jp +amagasaki.hyogo.jp +aogaki.hyogo.jp +asago.hyogo.jp +ashiya.hyogo.jp +awaji.hyogo.jp +fukusaki.hyogo.jp +goshiki.hyogo.jp +harima.hyogo.jp +himeji.hyogo.jp +ichikawa.hyogo.jp +inagawa.hyogo.jp +itami.hyogo.jp +kakogawa.hyogo.jp +kamigori.hyogo.jp +kamikawa.hyogo.jp +kasai.hyogo.jp +kasuga.hyogo.jp +kawanishi.hyogo.jp +miki.hyogo.jp +minamiawaji.hyogo.jp +nishinomiya.hyogo.jp +nishiwaki.hyogo.jp +ono.hyogo.jp +sanda.hyogo.jp +sannan.hyogo.jp +sasayama.hyogo.jp +sayo.hyogo.jp +shingu.hyogo.jp +shinonsen.hyogo.jp +shiso.hyogo.jp +sumoto.hyogo.jp +taishi.hyogo.jp +taka.hyogo.jp +takarazuka.hyogo.jp +takasago.hyogo.jp +takino.hyogo.jp +tamba.hyogo.jp +tatsuno.hyogo.jp +toyooka.hyogo.jp +yabu.hyogo.jp +yashiro.hyogo.jp +yoka.hyogo.jp +yokawa.hyogo.jp +ami.ibaraki.jp +asahi.ibaraki.jp +bando.ibaraki.jp +chikusei.ibaraki.jp +daigo.ibaraki.jp +fujishiro.ibaraki.jp +hitachi.ibaraki.jp +hitachinaka.ibaraki.jp +hitachiomiya.ibaraki.jp +hitachiota.ibaraki.jp +ibaraki.ibaraki.jp +ina.ibaraki.jp +inashiki.ibaraki.jp +itako.ibaraki.jp +iwama.ibaraki.jp +joso.ibaraki.jp +kamisu.ibaraki.jp +kasama.ibaraki.jp +kashima.ibaraki.jp +kasumigaura.ibaraki.jp +koga.ibaraki.jp +miho.ibaraki.jp +mito.ibaraki.jp +moriya.ibaraki.jp +naka.ibaraki.jp +namegata.ibaraki.jp +oarai.ibaraki.jp +ogawa.ibaraki.jp +omitama.ibaraki.jp +ryugasaki.ibaraki.jp +sakai.ibaraki.jp +sakuragawa.ibaraki.jp +shimodate.ibaraki.jp +shimotsuma.ibaraki.jp +shirosato.ibaraki.jp +sowa.ibaraki.jp +suifu.ibaraki.jp +takahagi.ibaraki.jp +tamatsukuri.ibaraki.jp +tokai.ibaraki.jp +tomobe.ibaraki.jp +tone.ibaraki.jp +toride.ibaraki.jp +tsuchiura.ibaraki.jp +tsukuba.ibaraki.jp +uchihara.ibaraki.jp +ushiku.ibaraki.jp +yachiyo.ibaraki.jp +yamagata.ibaraki.jp +yawara.ibaraki.jp +yuki.ibaraki.jp +anamizu.ishikawa.jp +hakui.ishikawa.jp +hakusan.ishikawa.jp +kaga.ishikawa.jp +kahoku.ishikawa.jp +kanazawa.ishikawa.jp +kawakita.ishikawa.jp +komatsu.ishikawa.jp +nakanoto.ishikawa.jp +nanao.ishikawa.jp +nomi.ishikawa.jp +nonoichi.ishikawa.jp +noto.ishikawa.jp +shika.ishikawa.jp +suzu.ishikawa.jp +tsubata.ishikawa.jp +tsurugi.ishikawa.jp +uchinada.ishikawa.jp +wajima.ishikawa.jp +fudai.iwate.jp +fujisawa.iwate.jp +hanamaki.iwate.jp +hiraizumi.iwate.jp +hirono.iwate.jp +ichinohe.iwate.jp +ichinoseki.iwate.jp +iwaizumi.iwate.jp +iwate.iwate.jp +joboji.iwate.jp +kamaishi.iwate.jp +kanegasaki.iwate.jp +karumai.iwate.jp +kawai.iwate.jp +kitakami.iwate.jp +kuji.iwate.jp +kunohe.iwate.jp +kuzumaki.iwate.jp +miyako.iwate.jp +mizusawa.iwate.jp +morioka.iwate.jp +ninohe.iwate.jp +noda.iwate.jp +ofunato.iwate.jp +oshu.iwate.jp +otsuchi.iwate.jp +rikuzentakata.iwate.jp +shiwa.iwate.jp +shizukuishi.iwate.jp +sumita.iwate.jp +tanohata.iwate.jp +tono.iwate.jp +yahaba.iwate.jp +yamada.iwate.jp +ayagawa.kagawa.jp +higashikagawa.kagawa.jp +kanonji.kagawa.jp +kotohira.kagawa.jp +manno.kagawa.jp +marugame.kagawa.jp +mitoyo.kagawa.jp +naoshima.kagawa.jp +sanuki.kagawa.jp +tadotsu.kagawa.jp +takamatsu.kagawa.jp +tonosho.kagawa.jp +uchinomi.kagawa.jp +utazu.kagawa.jp +zentsuji.kagawa.jp +akune.kagoshima.jp +amami.kagoshima.jp +hioki.kagoshima.jp +isa.kagoshima.jp +isen.kagoshima.jp +izumi.kagoshima.jp +kagoshima.kagoshima.jp +kanoya.kagoshima.jp +kawanabe.kagoshima.jp +kinko.kagoshima.jp +kouyama.kagoshima.jp +makurazaki.kagoshima.jp +matsumoto.kagoshima.jp +minamitane.kagoshima.jp +nakatane.kagoshima.jp +nishinoomote.kagoshima.jp +satsumasendai.kagoshima.jp +soo.kagoshima.jp +tarumizu.kagoshima.jp +yusui.kagoshima.jp +aikawa.kanagawa.jp +atsugi.kanagawa.jp +ayase.kanagawa.jp +chigasaki.kanagawa.jp +ebina.kanagawa.jp +fujisawa.kanagawa.jp +hadano.kanagawa.jp +hakone.kanagawa.jp +hiratsuka.kanagawa.jp +isehara.kanagawa.jp +kaisei.kanagawa.jp +kamakura.kanagawa.jp +kiyokawa.kanagawa.jp +matsuda.kanagawa.jp +minamiashigara.kanagawa.jp +miura.kanagawa.jp +nakai.kanagawa.jp +ninomiya.kanagawa.jp +odawara.kanagawa.jp +oi.kanagawa.jp +oiso.kanagawa.jp +sagamihara.kanagawa.jp +samukawa.kanagawa.jp +tsukui.kanagawa.jp +yamakita.kanagawa.jp +yamato.kanagawa.jp +yokosuka.kanagawa.jp +yugawara.kanagawa.jp +zama.kanagawa.jp +zushi.kanagawa.jp +aki.kochi.jp +geisei.kochi.jp +hidaka.kochi.jp +higashitsuno.kochi.jp +ino.kochi.jp +kagami.kochi.jp +kami.kochi.jp +kitagawa.kochi.jp +kochi.kochi.jp +mihara.kochi.jp +motoyama.kochi.jp +muroto.kochi.jp +nahari.kochi.jp +nakamura.kochi.jp +nankoku.kochi.jp +nishitosa.kochi.jp +niyodogawa.kochi.jp +ochi.kochi.jp +okawa.kochi.jp +otoyo.kochi.jp +otsuki.kochi.jp +sakawa.kochi.jp +sukumo.kochi.jp +susaki.kochi.jp +tosa.kochi.jp +tosashimizu.kochi.jp +toyo.kochi.jp +tsuno.kochi.jp +umaji.kochi.jp +yasuda.kochi.jp +yusuhara.kochi.jp +amakusa.kumamoto.jp +arao.kumamoto.jp +aso.kumamoto.jp +choyo.kumamoto.jp +gyokuto.kumamoto.jp +kamiamakusa.kumamoto.jp +kikuchi.kumamoto.jp +kumamoto.kumamoto.jp +mashiki.kumamoto.jp +mifune.kumamoto.jp +minamata.kumamoto.jp +minamioguni.kumamoto.jp +nagasu.kumamoto.jp +nishihara.kumamoto.jp +oguni.kumamoto.jp +ozu.kumamoto.jp +sumoto.kumamoto.jp +takamori.kumamoto.jp +uki.kumamoto.jp +uto.kumamoto.jp +yamaga.kumamoto.jp +yamato.kumamoto.jp +yatsushiro.kumamoto.jp +ayabe.kyoto.jp +fukuchiyama.kyoto.jp +higashiyama.kyoto.jp +ide.kyoto.jp +ine.kyoto.jp +joyo.kyoto.jp +kameoka.kyoto.jp +kamo.kyoto.jp +kita.kyoto.jp +kizu.kyoto.jp +kumiyama.kyoto.jp +kyotamba.kyoto.jp +kyotanabe.kyoto.jp +kyotango.kyoto.jp +maizuru.kyoto.jp +minami.kyoto.jp +minamiyamashiro.kyoto.jp +miyazu.kyoto.jp +muko.kyoto.jp +nagaokakyo.kyoto.jp +nakagyo.kyoto.jp +nantan.kyoto.jp +oyamazaki.kyoto.jp +sakyo.kyoto.jp +seika.kyoto.jp +tanabe.kyoto.jp +uji.kyoto.jp +ujitawara.kyoto.jp +wazuka.kyoto.jp +yamashina.kyoto.jp +yawata.kyoto.jp +asahi.mie.jp +inabe.mie.jp +ise.mie.jp +kameyama.mie.jp +kawagoe.mie.jp +kiho.mie.jp +kisosaki.mie.jp +kiwa.mie.jp +komono.mie.jp +kumano.mie.jp +kuwana.mie.jp +matsusaka.mie.jp +meiwa.mie.jp +mihama.mie.jp +minamiise.mie.jp +misugi.mie.jp +miyama.mie.jp +nabari.mie.jp +shima.mie.jp +suzuka.mie.jp +tado.mie.jp +taiki.mie.jp +taki.mie.jp +tamaki.mie.jp +toba.mie.jp +tsu.mie.jp +udono.mie.jp +ureshino.mie.jp +watarai.mie.jp +yokkaichi.mie.jp +furukawa.miyagi.jp +higashimatsushima.miyagi.jp +ishinomaki.miyagi.jp +iwanuma.miyagi.jp +kakuda.miyagi.jp +kami.miyagi.jp +kawasaki.miyagi.jp +marumori.miyagi.jp +matsushima.miyagi.jp +minamisanriku.miyagi.jp +misato.miyagi.jp +murata.miyagi.jp +natori.miyagi.jp +ogawara.miyagi.jp +ohira.miyagi.jp +onagawa.miyagi.jp +osaki.miyagi.jp +rifu.miyagi.jp +semine.miyagi.jp +shibata.miyagi.jp +shichikashuku.miyagi.jp +shikama.miyagi.jp +shiogama.miyagi.jp +shiroishi.miyagi.jp +tagajo.miyagi.jp +taiwa.miyagi.jp +tome.miyagi.jp +tomiya.miyagi.jp +wakuya.miyagi.jp +watari.miyagi.jp +yamamoto.miyagi.jp +zao.miyagi.jp +aya.miyazaki.jp +ebino.miyazaki.jp +gokase.miyazaki.jp +hyuga.miyazaki.jp +kadogawa.miyazaki.jp +kawaminami.miyazaki.jp +kijo.miyazaki.jp +kitagawa.miyazaki.jp +kitakata.miyazaki.jp +kitaura.miyazaki.jp +kobayashi.miyazaki.jp +kunitomi.miyazaki.jp +kushima.miyazaki.jp +mimata.miyazaki.jp +miyakonojo.miyazaki.jp +miyazaki.miyazaki.jp +morotsuka.miyazaki.jp +nichinan.miyazaki.jp +nishimera.miyazaki.jp +nobeoka.miyazaki.jp +saito.miyazaki.jp +shiiba.miyazaki.jp +shintomi.miyazaki.jp +takaharu.miyazaki.jp +takanabe.miyazaki.jp +takazaki.miyazaki.jp +tsuno.miyazaki.jp +achi.nagano.jp +agematsu.nagano.jp +anan.nagano.jp +aoki.nagano.jp +asahi.nagano.jp +azumino.nagano.jp +chikuhoku.nagano.jp +chikuma.nagano.jp +chino.nagano.jp +fujimi.nagano.jp +hakuba.nagano.jp +hara.nagano.jp +hiraya.nagano.jp +iida.nagano.jp +iijima.nagano.jp +iiyama.nagano.jp +iizuna.nagano.jp +ikeda.nagano.jp +ikusaka.nagano.jp +ina.nagano.jp +karuizawa.nagano.jp +kawakami.nagano.jp +kiso.nagano.jp +kisofukushima.nagano.jp +kitaaiki.nagano.jp +komagane.nagano.jp +komoro.nagano.jp +matsukawa.nagano.jp +matsumoto.nagano.jp +miasa.nagano.jp +minamiaiki.nagano.jp +minamimaki.nagano.jp +minamiminowa.nagano.jp +minowa.nagano.jp +miyada.nagano.jp +miyota.nagano.jp +mochizuki.nagano.jp +nagano.nagano.jp +nagawa.nagano.jp +nagiso.nagano.jp +nakagawa.nagano.jp +nakano.nagano.jp +nozawaonsen.nagano.jp +obuse.nagano.jp +ogawa.nagano.jp +okaya.nagano.jp +omachi.nagano.jp +omi.nagano.jp +ookuwa.nagano.jp +ooshika.nagano.jp +otaki.nagano.jp +otari.nagano.jp +sakae.nagano.jp +sakaki.nagano.jp +saku.nagano.jp +sakuho.nagano.jp +shimosuwa.nagano.jp +shinanomachi.nagano.jp +shiojiri.nagano.jp +suwa.nagano.jp +suzaka.nagano.jp +takagi.nagano.jp +takamori.nagano.jp +takayama.nagano.jp +tateshina.nagano.jp +tatsuno.nagano.jp +togakushi.nagano.jp +togura.nagano.jp +tomi.nagano.jp +ueda.nagano.jp +wada.nagano.jp +yamagata.nagano.jp +yamanouchi.nagano.jp +yasaka.nagano.jp +yasuoka.nagano.jp +chijiwa.nagasaki.jp +futsu.nagasaki.jp +goto.nagasaki.jp +hasami.nagasaki.jp +hirado.nagasaki.jp +iki.nagasaki.jp +isahaya.nagasaki.jp +kawatana.nagasaki.jp +kuchinotsu.nagasaki.jp +matsuura.nagasaki.jp +nagasaki.nagasaki.jp +obama.nagasaki.jp +omura.nagasaki.jp +oseto.nagasaki.jp +saikai.nagasaki.jp +sasebo.nagasaki.jp +seihi.nagasaki.jp +shimabara.nagasaki.jp +shinkamigoto.nagasaki.jp +togitsu.nagasaki.jp +tsushima.nagasaki.jp +unzen.nagasaki.jp +ando.nara.jp +gose.nara.jp +heguri.nara.jp +higashiyoshino.nara.jp +ikaruga.nara.jp +ikoma.nara.jp +kamikitayama.nara.jp +kanmaki.nara.jp +kashiba.nara.jp +kashihara.nara.jp +katsuragi.nara.jp +kawai.nara.jp +kawakami.nara.jp +kawanishi.nara.jp +koryo.nara.jp +kurotaki.nara.jp +mitsue.nara.jp +miyake.nara.jp +nara.nara.jp +nosegawa.nara.jp +oji.nara.jp +ouda.nara.jp +oyodo.nara.jp +sakurai.nara.jp +sango.nara.jp +shimoichi.nara.jp +shimokitayama.nara.jp +shinjo.nara.jp +soni.nara.jp +takatori.nara.jp +tawaramoto.nara.jp +tenkawa.nara.jp +tenri.nara.jp +uda.nara.jp +yamatokoriyama.nara.jp +yamatotakada.nara.jp +yamazoe.nara.jp +yoshino.nara.jp +aga.niigata.jp +agano.niigata.jp +gosen.niigata.jp +itoigawa.niigata.jp +izumozaki.niigata.jp +joetsu.niigata.jp +kamo.niigata.jp +kariwa.niigata.jp +kashiwazaki.niigata.jp +minamiuonuma.niigata.jp +mitsuke.niigata.jp +muika.niigata.jp +murakami.niigata.jp +myoko.niigata.jp +nagaoka.niigata.jp +niigata.niigata.jp +ojiya.niigata.jp +omi.niigata.jp +sado.niigata.jp +sanjo.niigata.jp +seiro.niigata.jp +seirou.niigata.jp +sekikawa.niigata.jp +shibata.niigata.jp +tagami.niigata.jp +tainai.niigata.jp +tochio.niigata.jp +tokamachi.niigata.jp +tsubame.niigata.jp +tsunan.niigata.jp +uonuma.niigata.jp +yahiko.niigata.jp +yoita.niigata.jp +yuzawa.niigata.jp +beppu.oita.jp +bungoono.oita.jp +bungotakada.oita.jp +hasama.oita.jp +hiji.oita.jp +himeshima.oita.jp +hita.oita.jp +kamitsue.oita.jp +kokonoe.oita.jp +kuju.oita.jp +kunisaki.oita.jp +kusu.oita.jp +oita.oita.jp +saiki.oita.jp +taketa.oita.jp +tsukumi.oita.jp +usa.oita.jp +usuki.oita.jp +yufu.oita.jp +akaiwa.okayama.jp +asakuchi.okayama.jp +bizen.okayama.jp +hayashima.okayama.jp +ibara.okayama.jp +kagamino.okayama.jp +kasaoka.okayama.jp +kibichuo.okayama.jp +kumenan.okayama.jp +kurashiki.okayama.jp +maniwa.okayama.jp +misaki.okayama.jp +nagi.okayama.jp +niimi.okayama.jp +nishiawakura.okayama.jp +okayama.okayama.jp +satosho.okayama.jp +setouchi.okayama.jp +shinjo.okayama.jp +shoo.okayama.jp +soja.okayama.jp +takahashi.okayama.jp +tamano.okayama.jp +tsuyama.okayama.jp +wake.okayama.jp +yakage.okayama.jp +aguni.okinawa.jp +ginowan.okinawa.jp +ginoza.okinawa.jp +gushikami.okinawa.jp +haebaru.okinawa.jp +higashi.okinawa.jp +hirara.okinawa.jp +iheya.okinawa.jp +ishigaki.okinawa.jp +ishikawa.okinawa.jp +itoman.okinawa.jp +izena.okinawa.jp +kadena.okinawa.jp +kin.okinawa.jp +kitadaito.okinawa.jp +kitanakagusuku.okinawa.jp +kumejima.okinawa.jp +kunigami.okinawa.jp +minamidaito.okinawa.jp +motobu.okinawa.jp +nago.okinawa.jp +naha.okinawa.jp +nakagusuku.okinawa.jp +nakijin.okinawa.jp +nanjo.okinawa.jp +nishihara.okinawa.jp +ogimi.okinawa.jp +okinawa.okinawa.jp +onna.okinawa.jp +shimoji.okinawa.jp +taketomi.okinawa.jp +tarama.okinawa.jp +tokashiki.okinawa.jp +tomigusuku.okinawa.jp +tonaki.okinawa.jp +urasoe.okinawa.jp +uruma.okinawa.jp +yaese.okinawa.jp +yomitan.okinawa.jp +yonabaru.okinawa.jp +yonaguni.okinawa.jp +zamami.okinawa.jp +abeno.osaka.jp +chihayaakasaka.osaka.jp +chuo.osaka.jp +daito.osaka.jp +fujiidera.osaka.jp +habikino.osaka.jp +hannan.osaka.jp +higashiosaka.osaka.jp +higashisumiyoshi.osaka.jp +higashiyodogawa.osaka.jp +hirakata.osaka.jp +ibaraki.osaka.jp +ikeda.osaka.jp +izumi.osaka.jp +izumiotsu.osaka.jp +izumisano.osaka.jp +kadoma.osaka.jp +kaizuka.osaka.jp +kanan.osaka.jp +kashiwara.osaka.jp +katano.osaka.jp +kawachinagano.osaka.jp +kishiwada.osaka.jp +kita.osaka.jp +kumatori.osaka.jp +matsubara.osaka.jp +minato.osaka.jp +minoh.osaka.jp +misaki.osaka.jp +moriguchi.osaka.jp +neyagawa.osaka.jp +nishi.osaka.jp +nose.osaka.jp +osakasayama.osaka.jp +sakai.osaka.jp +sayama.osaka.jp +sennan.osaka.jp +settsu.osaka.jp +shijonawate.osaka.jp +shimamoto.osaka.jp +suita.osaka.jp +tadaoka.osaka.jp +taishi.osaka.jp +tajiri.osaka.jp +takaishi.osaka.jp +takatsuki.osaka.jp +tondabayashi.osaka.jp +toyonaka.osaka.jp +toyono.osaka.jp +yao.osaka.jp +ariake.saga.jp +arita.saga.jp +fukudomi.saga.jp +genkai.saga.jp +hamatama.saga.jp +hizen.saga.jp +imari.saga.jp +kamimine.saga.jp +kanzaki.saga.jp +karatsu.saga.jp +kashima.saga.jp +kitagata.saga.jp +kitahata.saga.jp +kiyama.saga.jp +kouhoku.saga.jp +kyuragi.saga.jp +nishiarita.saga.jp +ogi.saga.jp +omachi.saga.jp +ouchi.saga.jp +saga.saga.jp +shiroishi.saga.jp +taku.saga.jp +tara.saga.jp +tosu.saga.jp +yoshinogari.saga.jp +arakawa.saitama.jp +asaka.saitama.jp +chichibu.saitama.jp +fujimi.saitama.jp +fujimino.saitama.jp +fukaya.saitama.jp +hanno.saitama.jp +hanyu.saitama.jp +hasuda.saitama.jp +hatogaya.saitama.jp +hatoyama.saitama.jp +hidaka.saitama.jp +higashichichibu.saitama.jp +higashimatsuyama.saitama.jp +honjo.saitama.jp +ina.saitama.jp +iruma.saitama.jp +iwatsuki.saitama.jp +kamiizumi.saitama.jp +kamikawa.saitama.jp +kamisato.saitama.jp +kasukabe.saitama.jp +kawagoe.saitama.jp +kawaguchi.saitama.jp +kawajima.saitama.jp +kazo.saitama.jp +kitamoto.saitama.jp +koshigaya.saitama.jp +kounosu.saitama.jp +kuki.saitama.jp +kumagaya.saitama.jp +matsubushi.saitama.jp +minano.saitama.jp +misato.saitama.jp +miyashiro.saitama.jp +miyoshi.saitama.jp +moroyama.saitama.jp +nagatoro.saitama.jp +namegawa.saitama.jp +niiza.saitama.jp +ogano.saitama.jp +ogawa.saitama.jp +ogose.saitama.jp +okegawa.saitama.jp +omiya.saitama.jp +otaki.saitama.jp +ranzan.saitama.jp +ryokami.saitama.jp +saitama.saitama.jp +sakado.saitama.jp +satte.saitama.jp +sayama.saitama.jp +shiki.saitama.jp +shiraoka.saitama.jp +soka.saitama.jp +sugito.saitama.jp +toda.saitama.jp +tokigawa.saitama.jp +tokorozawa.saitama.jp +tsurugashima.saitama.jp +urawa.saitama.jp +warabi.saitama.jp +yashio.saitama.jp +yokoze.saitama.jp +yono.saitama.jp +yorii.saitama.jp +yoshida.saitama.jp +yoshikawa.saitama.jp +yoshimi.saitama.jp +aisho.shiga.jp +gamo.shiga.jp +higashiomi.shiga.jp +hikone.shiga.jp +koka.shiga.jp +konan.shiga.jp +kosei.shiga.jp +koto.shiga.jp +kusatsu.shiga.jp +maibara.shiga.jp +moriyama.shiga.jp +nagahama.shiga.jp +nishiazai.shiga.jp +notogawa.shiga.jp +omihachiman.shiga.jp +otsu.shiga.jp +ritto.shiga.jp +ryuoh.shiga.jp +takashima.shiga.jp +takatsuki.shiga.jp +torahime.shiga.jp +toyosato.shiga.jp +yasu.shiga.jp +akagi.shimane.jp +ama.shimane.jp +gotsu.shimane.jp +hamada.shimane.jp +higashiizumo.shimane.jp +hikawa.shimane.jp +hikimi.shimane.jp +izumo.shimane.jp +kakinoki.shimane.jp +masuda.shimane.jp +matsue.shimane.jp +misato.shimane.jp +nishinoshima.shimane.jp +ohda.shimane.jp +okinoshima.shimane.jp +okuizumo.shimane.jp +shimane.shimane.jp +tamayu.shimane.jp +tsuwano.shimane.jp +unnan.shimane.jp +yakumo.shimane.jp +yasugi.shimane.jp +yatsuka.shimane.jp +arai.shizuoka.jp +atami.shizuoka.jp +fuji.shizuoka.jp +fujieda.shizuoka.jp +fujikawa.shizuoka.jp +fujinomiya.shizuoka.jp +fukuroi.shizuoka.jp +gotemba.shizuoka.jp +haibara.shizuoka.jp +hamamatsu.shizuoka.jp +higashiizu.shizuoka.jp +ito.shizuoka.jp +iwata.shizuoka.jp +izu.shizuoka.jp +izunokuni.shizuoka.jp +kakegawa.shizuoka.jp +kannami.shizuoka.jp +kawanehon.shizuoka.jp +kawazu.shizuoka.jp +kikugawa.shizuoka.jp +kosai.shizuoka.jp +makinohara.shizuoka.jp +matsuzaki.shizuoka.jp +minamiizu.shizuoka.jp +mishima.shizuoka.jp +morimachi.shizuoka.jp +nishiizu.shizuoka.jp +numazu.shizuoka.jp +omaezaki.shizuoka.jp +shimada.shizuoka.jp +shimizu.shizuoka.jp +shimoda.shizuoka.jp +shizuoka.shizuoka.jp +susono.shizuoka.jp +yaizu.shizuoka.jp +yoshida.shizuoka.jp +ashikaga.tochigi.jp +bato.tochigi.jp +haga.tochigi.jp +ichikai.tochigi.jp +iwafune.tochigi.jp +kaminokawa.tochigi.jp +kanuma.tochigi.jp +karasuyama.tochigi.jp +kuroiso.tochigi.jp +mashiko.tochigi.jp +mibu.tochigi.jp +moka.tochigi.jp +motegi.tochigi.jp +nasu.tochigi.jp +nasushiobara.tochigi.jp +nikko.tochigi.jp +nishikata.tochigi.jp +nogi.tochigi.jp +ohira.tochigi.jp +ohtawara.tochigi.jp +oyama.tochigi.jp +sakura.tochigi.jp +sano.tochigi.jp +shimotsuke.tochigi.jp +shioya.tochigi.jp +takanezawa.tochigi.jp +tochigi.tochigi.jp +tsuga.tochigi.jp +ujiie.tochigi.jp +utsunomiya.tochigi.jp +yaita.tochigi.jp +aizumi.tokushima.jp +anan.tokushima.jp +ichiba.tokushima.jp +itano.tokushima.jp +kainan.tokushima.jp +komatsushima.tokushima.jp +matsushige.tokushima.jp +mima.tokushima.jp +minami.tokushima.jp +miyoshi.tokushima.jp +mugi.tokushima.jp +nakagawa.tokushima.jp +naruto.tokushima.jp +sanagochi.tokushima.jp +shishikui.tokushima.jp +tokushima.tokushima.jp +wajiki.tokushima.jp +adachi.tokyo.jp +akiruno.tokyo.jp +akishima.tokyo.jp +aogashima.tokyo.jp +arakawa.tokyo.jp +bunkyo.tokyo.jp +chiyoda.tokyo.jp +chofu.tokyo.jp +chuo.tokyo.jp +edogawa.tokyo.jp +fuchu.tokyo.jp +fussa.tokyo.jp +hachijo.tokyo.jp +hachioji.tokyo.jp +hamura.tokyo.jp +higashikurume.tokyo.jp +higashimurayama.tokyo.jp +higashiyamato.tokyo.jp +hino.tokyo.jp +hinode.tokyo.jp +hinohara.tokyo.jp +inagi.tokyo.jp +itabashi.tokyo.jp +katsushika.tokyo.jp +kita.tokyo.jp +kiyose.tokyo.jp +kodaira.tokyo.jp +koganei.tokyo.jp +kokubunji.tokyo.jp +komae.tokyo.jp +koto.tokyo.jp +kouzushima.tokyo.jp +kunitachi.tokyo.jp +machida.tokyo.jp +meguro.tokyo.jp +minato.tokyo.jp +mitaka.tokyo.jp +mizuho.tokyo.jp +musashimurayama.tokyo.jp +musashino.tokyo.jp +nakano.tokyo.jp +nerima.tokyo.jp +ogasawara.tokyo.jp +okutama.tokyo.jp +ome.tokyo.jp +oshima.tokyo.jp +ota.tokyo.jp +setagaya.tokyo.jp +shibuya.tokyo.jp +shinagawa.tokyo.jp +shinjuku.tokyo.jp +suginami.tokyo.jp +sumida.tokyo.jp +tachikawa.tokyo.jp +taito.tokyo.jp +tama.tokyo.jp +toshima.tokyo.jp +chizu.tottori.jp +hino.tottori.jp +kawahara.tottori.jp +koge.tottori.jp +kotoura.tottori.jp +misasa.tottori.jp +nanbu.tottori.jp +nichinan.tottori.jp +sakaiminato.tottori.jp +tottori.tottori.jp +wakasa.tottori.jp +yazu.tottori.jp +yonago.tottori.jp +asahi.toyama.jp +fuchu.toyama.jp +fukumitsu.toyama.jp +funahashi.toyama.jp +himi.toyama.jp +imizu.toyama.jp +inami.toyama.jp +johana.toyama.jp +kamiichi.toyama.jp +kurobe.toyama.jp +nakaniikawa.toyama.jp +namerikawa.toyama.jp +nanto.toyama.jp +nyuzen.toyama.jp +oyabe.toyama.jp +taira.toyama.jp +takaoka.toyama.jp +tateyama.toyama.jp +toga.toyama.jp +tonami.toyama.jp +toyama.toyama.jp +unazuki.toyama.jp +uozu.toyama.jp +yamada.toyama.jp +arida.wakayama.jp +aridagawa.wakayama.jp +gobo.wakayama.jp +hashimoto.wakayama.jp +hidaka.wakayama.jp +hirogawa.wakayama.jp +inami.wakayama.jp +iwade.wakayama.jp +kainan.wakayama.jp +kamitonda.wakayama.jp +katsuragi.wakayama.jp +kimino.wakayama.jp +kinokawa.wakayama.jp +kitayama.wakayama.jp +koya.wakayama.jp +koza.wakayama.jp +kozagawa.wakayama.jp +kudoyama.wakayama.jp +kushimoto.wakayama.jp +mihama.wakayama.jp +misato.wakayama.jp +nachikatsuura.wakayama.jp +shingu.wakayama.jp +shirahama.wakayama.jp +taiji.wakayama.jp +tanabe.wakayama.jp +wakayama.wakayama.jp +yuasa.wakayama.jp +yura.wakayama.jp +asahi.yamagata.jp +funagata.yamagata.jp +higashine.yamagata.jp +iide.yamagata.jp +kahoku.yamagata.jp +kaminoyama.yamagata.jp +kaneyama.yamagata.jp +kawanishi.yamagata.jp +mamurogawa.yamagata.jp +mikawa.yamagata.jp +murayama.yamagata.jp +nagai.yamagata.jp +nakayama.yamagata.jp +nanyo.yamagata.jp +nishikawa.yamagata.jp +obanazawa.yamagata.jp +oe.yamagata.jp +oguni.yamagata.jp +ohkura.yamagata.jp +oishida.yamagata.jp +sagae.yamagata.jp +sakata.yamagata.jp +sakegawa.yamagata.jp +shinjo.yamagata.jp +shirataka.yamagata.jp +shonai.yamagata.jp +takahata.yamagata.jp +tendo.yamagata.jp +tozawa.yamagata.jp +tsuruoka.yamagata.jp +yamagata.yamagata.jp +yamanobe.yamagata.jp +yonezawa.yamagata.jp +yuza.yamagata.jp +abu.yamaguchi.jp +hagi.yamaguchi.jp +hikari.yamaguchi.jp +hofu.yamaguchi.jp +iwakuni.yamaguchi.jp +kudamatsu.yamaguchi.jp +mitou.yamaguchi.jp +nagato.yamaguchi.jp +oshima.yamaguchi.jp +shimonoseki.yamaguchi.jp +shunan.yamaguchi.jp +tabuse.yamaguchi.jp +tokuyama.yamaguchi.jp +toyota.yamaguchi.jp +ube.yamaguchi.jp +yuu.yamaguchi.jp +chuo.yamanashi.jp +doshi.yamanashi.jp +fuefuki.yamanashi.jp +fujikawa.yamanashi.jp +fujikawaguchiko.yamanashi.jp +fujiyoshida.yamanashi.jp +hayakawa.yamanashi.jp +hokuto.yamanashi.jp +ichikawamisato.yamanashi.jp +kai.yamanashi.jp +kofu.yamanashi.jp +koshu.yamanashi.jp +kosuge.yamanashi.jp +minami-alps.yamanashi.jp +minobu.yamanashi.jp +nakamichi.yamanashi.jp +nanbu.yamanashi.jp +narusawa.yamanashi.jp +nirasaki.yamanashi.jp +nishikatsura.yamanashi.jp +oshino.yamanashi.jp +otsuki.yamanashi.jp +showa.yamanashi.jp +tabayama.yamanashi.jp +tsuru.yamanashi.jp +uenohara.yamanashi.jp +yamanakako.yamanashi.jp +yamanashi.yamanashi.jp + +// ke : http://www.kenic.or.ke/index.php/en/ke-domains/ke-domains +ke +ac.ke +co.ke +go.ke +info.ke +me.ke +mobi.ke +ne.ke +or.ke +sc.ke + +// kg : http://www.domain.kg/dmn_n.html +kg +org.kg +net.kg +com.kg +edu.kg +gov.kg +mil.kg + +// kh : http://www.mptc.gov.kh/dns_registration.htm +*.kh + +// ki : http://www.ki/dns/index.html +ki +edu.ki +biz.ki +net.ki +org.ki +gov.ki +info.ki +com.ki + +// km : https://en.wikipedia.org/wiki/.km +// http://www.domaine.km/documents/charte.doc +km +org.km +nom.km +gov.km +prd.km +tm.km +edu.km +mil.km +ass.km +com.km +// These are only mentioned as proposed suggestions at domaine.km, but +// https://en.wikipedia.org/wiki/.km says they're available for registration: +coop.km +asso.km +presse.km +medecin.km +notaires.km +pharmaciens.km +veterinaire.km +gouv.km + +// kn : https://en.wikipedia.org/wiki/.kn +// http://www.dot.kn/domainRules.html +kn +net.kn +org.kn +edu.kn +gov.kn + +// kp : http://www.kcce.kp/en_index.php +kp +com.kp +edu.kp +gov.kp +org.kp +rep.kp +tra.kp + +// kr : https://en.wikipedia.org/wiki/.kr +// see also: http://domain.nida.or.kr/eng/registration.jsp +kr +ac.kr +co.kr +es.kr +go.kr +hs.kr +kg.kr +mil.kr +ms.kr +ne.kr +or.kr +pe.kr +re.kr +sc.kr +// kr geographical names +busan.kr +chungbuk.kr +chungnam.kr +daegu.kr +daejeon.kr +gangwon.kr +gwangju.kr +gyeongbuk.kr +gyeonggi.kr +gyeongnam.kr +incheon.kr +jeju.kr +jeonbuk.kr +jeonnam.kr +seoul.kr +ulsan.kr + +// kw : https://www.nic.kw/policies/ +// Confirmed by registry +kw +com.kw +edu.kw +emb.kw +gov.kw +ind.kw +net.kw +org.kw + +// ky : http://www.icta.ky/da_ky_reg_dom.php +// Confirmed by registry 2008-06-17 +ky +com.ky +edu.ky +net.ky +org.ky + +// kz : https://en.wikipedia.org/wiki/.kz +// see also: http://www.nic.kz/rules/index.jsp +kz +org.kz +edu.kz +net.kz +gov.kz +mil.kz +com.kz + +// la : https://en.wikipedia.org/wiki/.la +// Submitted by registry +la +int.la +net.la +info.la +edu.la +gov.la +per.la +com.la +org.la + +// lb : https://en.wikipedia.org/wiki/.lb +// Submitted by registry +lb +com.lb +edu.lb +gov.lb +net.lb +org.lb + +// lc : https://en.wikipedia.org/wiki/.lc +// see also: http://www.nic.lc/rules.htm +lc +com.lc +net.lc +co.lc +org.lc +edu.lc +gov.lc + +// li : https://en.wikipedia.org/wiki/.li +li + +// lk : https://www.nic.lk/index.php/domain-registration/lk-domain-naming-structure +lk +gov.lk +sch.lk +net.lk +int.lk +com.lk +org.lk +edu.lk +ngo.lk +soc.lk +web.lk +ltd.lk +assn.lk +grp.lk +hotel.lk +ac.lk + +// lr : http://psg.com/dns/lr/lr.txt +// Submitted by registry +lr +com.lr +edu.lr +gov.lr +org.lr +net.lr + +// ls : http://www.nic.ls/ +// Confirmed by registry +ls +ac.ls +biz.ls +co.ls +edu.ls +gov.ls +info.ls +net.ls +org.ls +sc.ls + +// lt : https://en.wikipedia.org/wiki/.lt +lt +// gov.lt : http://www.gov.lt/index_en.php +gov.lt + +// lu : http://www.dns.lu/en/ +lu + +// lv : http://www.nic.lv/DNS/En/generic.php +lv +com.lv +edu.lv +gov.lv +org.lv +mil.lv +id.lv +net.lv +asn.lv +conf.lv + +// ly : http://www.nic.ly/regulations.php +ly +com.ly +net.ly +gov.ly +plc.ly +edu.ly +sch.ly +med.ly +org.ly +id.ly + +// ma : https://en.wikipedia.org/wiki/.ma +// http://www.anrt.ma/fr/admin/download/upload/file_fr782.pdf +ma +co.ma +net.ma +gov.ma +org.ma +ac.ma +press.ma + +// mc : http://www.nic.mc/ +mc +tm.mc +asso.mc + +// md : https://en.wikipedia.org/wiki/.md +md + +// me : https://en.wikipedia.org/wiki/.me +me +co.me +net.me +org.me +edu.me +ac.me +gov.me +its.me +priv.me + +// mg : http://nic.mg/nicmg/?page_id=39 +mg +org.mg +nom.mg +gov.mg +prd.mg +tm.mg +edu.mg +mil.mg +com.mg +co.mg + +// mh : https://en.wikipedia.org/wiki/.mh +mh + +// mil : https://en.wikipedia.org/wiki/.mil +mil + +// mk : https://en.wikipedia.org/wiki/.mk +// see also: http://dns.marnet.net.mk/postapka.php +mk +com.mk +org.mk +net.mk +edu.mk +gov.mk +inf.mk +name.mk + +// ml : http://www.gobin.info/domainname/ml-template.doc +// see also: https://en.wikipedia.org/wiki/.ml +ml +com.ml +edu.ml +gouv.ml +gov.ml +net.ml +org.ml +presse.ml + +// mm : https://en.wikipedia.org/wiki/.mm +*.mm + +// mn : https://en.wikipedia.org/wiki/.mn +mn +gov.mn +edu.mn +org.mn + +// mo : http://www.monic.net.mo/ +mo +com.mo +net.mo +org.mo +edu.mo +gov.mo + +// mobi : https://en.wikipedia.org/wiki/.mobi +mobi + +// mp : http://www.dot.mp/ +// Confirmed by registry 2008-06-17 +mp + +// mq : https://en.wikipedia.org/wiki/.mq +mq + +// mr : https://en.wikipedia.org/wiki/.mr +mr +gov.mr + +// ms : http://www.nic.ms/pdf/MS_Domain_Name_Rules.pdf +ms +com.ms +edu.ms +gov.ms +net.ms +org.ms + +// mt : https://www.nic.org.mt/go/policy +// Submitted by registry +mt +com.mt +edu.mt +net.mt +org.mt + +// mu : https://en.wikipedia.org/wiki/.mu +mu +com.mu +net.mu +org.mu +gov.mu +ac.mu +co.mu +or.mu + +// museum : http://about.museum/naming/ +// http://index.museum/ +museum +academy.museum +agriculture.museum +air.museum +airguard.museum +alabama.museum +alaska.museum +amber.museum +ambulance.museum +american.museum +americana.museum +americanantiques.museum +americanart.museum +amsterdam.museum +and.museum +annefrank.museum +anthro.museum +anthropology.museum +antiques.museum +aquarium.museum +arboretum.museum +archaeological.museum +archaeology.museum +architecture.museum +art.museum +artanddesign.museum +artcenter.museum +artdeco.museum +arteducation.museum +artgallery.museum +arts.museum +artsandcrafts.museum +asmatart.museum +assassination.museum +assisi.museum +association.museum +astronomy.museum +atlanta.museum +austin.museum +australia.museum +automotive.museum +aviation.museum +axis.museum +badajoz.museum +baghdad.museum +bahn.museum +bale.museum +baltimore.museum +barcelona.museum +baseball.museum +basel.museum +baths.museum +bauern.museum +beauxarts.museum +beeldengeluid.museum +bellevue.museum +bergbau.museum +berkeley.museum +berlin.museum +bern.museum +bible.museum +bilbao.museum +bill.museum +birdart.museum +birthplace.museum +bonn.museum +boston.museum +botanical.museum +botanicalgarden.museum +botanicgarden.museum +botany.museum +brandywinevalley.museum +brasil.museum +bristol.museum +british.museum +britishcolumbia.museum +broadcast.museum +brunel.museum +brussel.museum +brussels.museum +bruxelles.museum +building.museum +burghof.museum +bus.museum +bushey.museum +cadaques.museum +california.museum +cambridge.museum +can.museum +canada.museum +capebreton.museum +carrier.museum +cartoonart.museum +casadelamoneda.museum +castle.museum +castres.museum +celtic.museum +center.museum +chattanooga.museum +cheltenham.museum +chesapeakebay.museum +chicago.museum +children.museum +childrens.museum +childrensgarden.museum +chiropractic.museum +chocolate.museum +christiansburg.museum +cincinnati.museum +cinema.museum +circus.museum +civilisation.museum +civilization.museum +civilwar.museum +clinton.museum +clock.museum +coal.museum +coastaldefence.museum +cody.museum +coldwar.museum +collection.museum +colonialwilliamsburg.museum +coloradoplateau.museum +columbia.museum +columbus.museum +communication.museum +communications.museum +community.museum +computer.museum +computerhistory.museum +comunicações.museum +contemporary.museum +contemporaryart.museum +convent.museum +copenhagen.museum +corporation.museum +correios-e-telecomunicações.museum +corvette.museum +costume.museum +countryestate.museum +county.museum +crafts.museum +cranbrook.museum +creation.museum +cultural.museum +culturalcenter.museum +culture.museum +cyber.museum +cymru.museum +dali.museum +dallas.museum +database.museum +ddr.museum +decorativearts.museum +delaware.museum +delmenhorst.museum +denmark.museum +depot.museum +design.museum +detroit.museum +dinosaur.museum +discovery.museum +dolls.museum +donostia.museum +durham.museum +eastafrica.museum +eastcoast.museum +education.museum +educational.museum +egyptian.museum +eisenbahn.museum +elburg.museum +elvendrell.museum +embroidery.museum +encyclopedic.museum +england.museum +entomology.museum +environment.museum +environmentalconservation.museum +epilepsy.museum +essex.museum +estate.museum +ethnology.museum +exeter.museum +exhibition.museum +family.museum +farm.museum +farmequipment.museum +farmers.museum +farmstead.museum +field.museum +figueres.museum +filatelia.museum +film.museum +fineart.museum +finearts.museum +finland.museum +flanders.museum +florida.museum +force.museum +fortmissoula.museum +fortworth.museum +foundation.museum +francaise.museum +frankfurt.museum +franziskaner.museum +freemasonry.museum +freiburg.museum +fribourg.museum +frog.museum +fundacio.museum +furniture.museum +gallery.museum +garden.museum +gateway.museum +geelvinck.museum +gemological.museum +geology.museum +georgia.museum +giessen.museum +glas.museum +glass.museum +gorge.museum +grandrapids.museum +graz.museum +guernsey.museum +halloffame.museum +hamburg.museum +handson.museum +harvestcelebration.museum +hawaii.museum +health.museum +heimatunduhren.museum +hellas.museum +helsinki.museum +hembygdsforbund.museum +heritage.museum +histoire.museum +historical.museum +historicalsociety.museum +historichouses.museum +historisch.museum +historisches.museum +history.museum +historyofscience.museum +horology.museum +house.museum +humanities.museum +illustration.museum +imageandsound.museum +indian.museum +indiana.museum +indianapolis.museum +indianmarket.museum +intelligence.museum +interactive.museum +iraq.museum +iron.museum +isleofman.museum +jamison.museum +jefferson.museum +jerusalem.museum +jewelry.museum +jewish.museum +jewishart.museum +jfk.museum +journalism.museum +judaica.museum +judygarland.museum +juedisches.museum +juif.museum +karate.museum +karikatur.museum +kids.museum +koebenhavn.museum +koeln.museum +kunst.museum +kunstsammlung.museum +kunstunddesign.museum +labor.museum +labour.museum +lajolla.museum +lancashire.museum +landes.museum +lans.museum +läns.museum +larsson.museum +lewismiller.museum +lincoln.museum +linz.museum +living.museum +livinghistory.museum +localhistory.museum +london.museum +losangeles.museum +louvre.museum +loyalist.museum +lucerne.museum +luxembourg.museum +luzern.museum +mad.museum +madrid.museum +mallorca.museum +manchester.museum +mansion.museum +mansions.museum +manx.museum +marburg.museum +maritime.museum +maritimo.museum +maryland.museum +marylhurst.museum +media.museum +medical.museum +medizinhistorisches.museum +meeres.museum +memorial.museum +mesaverde.museum +michigan.museum +midatlantic.museum +military.museum +mill.museum +miners.museum +mining.museum +minnesota.museum +missile.museum +missoula.museum +modern.museum +moma.museum +money.museum +monmouth.museum +monticello.museum +montreal.museum +moscow.museum +motorcycle.museum +muenchen.museum +muenster.museum +mulhouse.museum +muncie.museum +museet.museum +museumcenter.museum +museumvereniging.museum +music.museum +national.museum +nationalfirearms.museum +nationalheritage.museum +nativeamerican.museum +naturalhistory.museum +naturalhistorymuseum.museum +naturalsciences.museum +nature.museum +naturhistorisches.museum +natuurwetenschappen.museum +naumburg.museum +naval.museum +nebraska.museum +neues.museum +newhampshire.museum +newjersey.museum +newmexico.museum +newport.museum +newspaper.museum +newyork.museum +niepce.museum +norfolk.museum +north.museum +nrw.museum +nyc.museum +nyny.museum +oceanographic.museum +oceanographique.museum +omaha.museum +online.museum +ontario.museum +openair.museum +oregon.museum +oregontrail.museum +otago.museum +oxford.museum +pacific.museum +paderborn.museum +palace.museum +paleo.museum +palmsprings.museum +panama.museum +paris.museum +pasadena.museum +pharmacy.museum +philadelphia.museum +philadelphiaarea.museum +philately.museum +phoenix.museum +photography.museum +pilots.museum +pittsburgh.museum +planetarium.museum +plantation.museum +plants.museum +plaza.museum +portal.museum +portland.museum +portlligat.museum +posts-and-telecommunications.museum +preservation.museum +presidio.museum +press.museum +project.museum +public.museum +pubol.museum +quebec.museum +railroad.museum +railway.museum +research.museum +resistance.museum +riodejaneiro.museum +rochester.museum +rockart.museum +roma.museum +russia.museum +saintlouis.museum +salem.museum +salvadordali.museum +salzburg.museum +sandiego.museum +sanfrancisco.museum +santabarbara.museum +santacruz.museum +santafe.museum +saskatchewan.museum +satx.museum +savannahga.museum +schlesisches.museum +schoenbrunn.museum +schokoladen.museum +school.museum +schweiz.museum +science.museum +scienceandhistory.museum +scienceandindustry.museum +sciencecenter.museum +sciencecenters.museum +science-fiction.museum +sciencehistory.museum +sciences.museum +sciencesnaturelles.museum +scotland.museum +seaport.museum +settlement.museum +settlers.museum +shell.museum +sherbrooke.museum +sibenik.museum +silk.museum +ski.museum +skole.museum +society.museum +sologne.museum +soundandvision.museum +southcarolina.museum +southwest.museum +space.museum +spy.museum +square.museum +stadt.museum +stalbans.museum +starnberg.museum +state.museum +stateofdelaware.museum +station.museum +steam.museum +steiermark.museum +stjohn.museum +stockholm.museum +stpetersburg.museum +stuttgart.museum +suisse.museum +surgeonshall.museum +surrey.museum +svizzera.museum +sweden.museum +sydney.museum +tank.museum +tcm.museum +technology.museum +telekommunikation.museum +television.museum +texas.museum +textile.museum +theater.museum +time.museum +timekeeping.museum +topology.museum +torino.museum +touch.museum +town.museum +transport.museum +tree.museum +trolley.museum +trust.museum +trustee.museum +uhren.museum +ulm.museum +undersea.museum +university.museum +usa.museum +usantiques.museum +usarts.museum +uscountryestate.museum +usculture.museum +usdecorativearts.museum +usgarden.museum +ushistory.museum +ushuaia.museum +uslivinghistory.museum +utah.museum +uvic.museum +valley.museum +vantaa.museum +versailles.museum +viking.museum +village.museum +virginia.museum +virtual.museum +virtuel.museum +vlaanderen.museum +volkenkunde.museum +wales.museum +wallonie.museum +war.museum +washingtondc.museum +watchandclock.museum +watch-and-clock.museum +western.museum +westfalen.museum +whaling.museum +wildlife.museum +williamsburg.museum +windmill.museum +workshop.museum +york.museum +yorkshire.museum +yosemite.museum +youth.museum +zoological.museum +zoology.museum +ירושלים.museum +иком.museum + +// mv : https://en.wikipedia.org/wiki/.mv +// "mv" included because, contra Wikipedia, google.mv exists. +mv +aero.mv +biz.mv +com.mv +coop.mv +edu.mv +gov.mv +info.mv +int.mv +mil.mv +museum.mv +name.mv +net.mv +org.mv +pro.mv + +// mw : http://www.registrar.mw/ +mw +ac.mw +biz.mw +co.mw +com.mw +coop.mw +edu.mw +gov.mw +int.mw +museum.mw +net.mw +org.mw + +// mx : http://www.nic.mx/ +// Submitted by registry +mx +com.mx +org.mx +gob.mx +edu.mx +net.mx + +// my : http://www.mynic.my/ +// Available strings: https://mynic.my/resources/domains/buying-a-domain/ +my +biz.my +com.my +edu.my +gov.my +mil.my +name.my +net.my +org.my + +// mz : http://www.uem.mz/ +// Submitted by registry +mz +ac.mz +adv.mz +co.mz +edu.mz +gov.mz +mil.mz +net.mz +org.mz + +// na : http://www.na-nic.com.na/ +// http://www.info.na/domain/ +na +info.na +pro.na +name.na +school.na +or.na +dr.na +us.na +mx.na +ca.na +in.na +cc.na +tv.na +ws.na +mobi.na +co.na +com.na +org.na + +// name : has 2nd-level tlds, but there's no list of them +name + +// nc : http://www.cctld.nc/ +nc +asso.nc +nom.nc + +// ne : https://en.wikipedia.org/wiki/.ne +ne + +// net : https://en.wikipedia.org/wiki/.net +net + +// nf : https://en.wikipedia.org/wiki/.nf +nf +com.nf +net.nf +per.nf +rec.nf +web.nf +arts.nf +firm.nf +info.nf +other.nf +store.nf + +// ng : http://www.nira.org.ng/index.php/join-us/register-ng-domain/189-nira-slds +ng +com.ng +edu.ng +gov.ng +i.ng +mil.ng +mobi.ng +name.ng +net.ng +org.ng +sch.ng + +// ni : http://www.nic.ni/ +ni +ac.ni +biz.ni +co.ni +com.ni +edu.ni +gob.ni +in.ni +info.ni +int.ni +mil.ni +net.ni +nom.ni +org.ni +web.ni + +// nl : https://en.wikipedia.org/wiki/.nl +// https://www.sidn.nl/ +// ccTLD for the Netherlands +nl + +// no : https://www.norid.no/en/om-domenenavn/regelverk-for-no/ +// Norid geographical second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-b/ +// Norid category second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-c/ +// Norid category second-level domains managed by parties other than Norid : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-d/ +// RSS feed: https://teknisk.norid.no/en/feed/ +no +// Norid category second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-c/ +fhs.no +vgs.no +fylkesbibl.no +folkebibl.no +museum.no +idrett.no +priv.no +// Norid category second-level domains managed by parties other than Norid : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-d/ +mil.no +stat.no +dep.no +kommune.no +herad.no +// Norid geographical second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-b/ +// counties +aa.no +ah.no +bu.no +fm.no +hl.no +hm.no +jan-mayen.no +mr.no +nl.no +nt.no +of.no +ol.no +oslo.no +rl.no +sf.no +st.no +svalbard.no +tm.no +tr.no +va.no +vf.no +// primary and lower secondary schools per county +gs.aa.no +gs.ah.no +gs.bu.no +gs.fm.no +gs.hl.no +gs.hm.no +gs.jan-mayen.no +gs.mr.no +gs.nl.no +gs.nt.no +gs.of.no +gs.ol.no +gs.oslo.no +gs.rl.no +gs.sf.no +gs.st.no +gs.svalbard.no +gs.tm.no +gs.tr.no +gs.va.no +gs.vf.no +// cities +akrehamn.no +åkrehamn.no +algard.no +ålgård.no +arna.no +brumunddal.no +bryne.no +bronnoysund.no +brønnøysund.no +drobak.no +drøbak.no +egersund.no +fetsund.no +floro.no +florø.no +fredrikstad.no +hokksund.no +honefoss.no +hønefoss.no +jessheim.no +jorpeland.no +jørpeland.no +kirkenes.no +kopervik.no +krokstadelva.no +langevag.no +langevåg.no +leirvik.no +mjondalen.no +mjøndalen.no +mo-i-rana.no +mosjoen.no +mosjøen.no +nesoddtangen.no +orkanger.no +osoyro.no +osøyro.no +raholt.no +råholt.no +sandnessjoen.no +sandnessjøen.no +skedsmokorset.no +slattum.no +spjelkavik.no +stathelle.no +stavern.no +stjordalshalsen.no +stjørdalshalsen.no +tananger.no +tranby.no +vossevangen.no +// communities +afjord.no +åfjord.no +agdenes.no +al.no +ål.no +alesund.no +ålesund.no +alstahaug.no +alta.no +áltá.no +alaheadju.no +álaheadju.no +alvdal.no +amli.no +åmli.no +amot.no +åmot.no +andebu.no +andoy.no +andøy.no +andasuolo.no +ardal.no +årdal.no +aremark.no +arendal.no +ås.no +aseral.no +åseral.no +asker.no +askim.no +askvoll.no +askoy.no +askøy.no +asnes.no +åsnes.no +audnedaln.no +aukra.no +aure.no +aurland.no +aurskog-holand.no +aurskog-høland.no +austevoll.no +austrheim.no +averoy.no +averøy.no +balestrand.no +ballangen.no +balat.no +bálát.no +balsfjord.no +bahccavuotna.no +báhccavuotna.no +bamble.no +bardu.no +beardu.no +beiarn.no +bajddar.no +bájddar.no +baidar.no +báidár.no +berg.no +bergen.no +berlevag.no +berlevåg.no +bearalvahki.no +bearalváhki.no +bindal.no +birkenes.no +bjarkoy.no +bjarkøy.no +bjerkreim.no +bjugn.no +bodo.no +bodø.no +badaddja.no +bådåddjå.no +budejju.no +bokn.no +bremanger.no +bronnoy.no +brønnøy.no +bygland.no +bykle.no +barum.no +bærum.no +bo.telemark.no +bø.telemark.no +bo.nordland.no +bø.nordland.no +bievat.no +bievát.no +bomlo.no +bømlo.no +batsfjord.no +båtsfjord.no +bahcavuotna.no +báhcavuotna.no +dovre.no +drammen.no +drangedal.no +dyroy.no +dyrøy.no +donna.no +dønna.no +eid.no +eidfjord.no +eidsberg.no +eidskog.no +eidsvoll.no +eigersund.no +elverum.no +enebakk.no +engerdal.no +etne.no +etnedal.no +evenes.no +evenassi.no +evenášši.no +evje-og-hornnes.no +farsund.no +fauske.no +fuossko.no +fuoisku.no +fedje.no +fet.no +finnoy.no +finnøy.no +fitjar.no +fjaler.no +fjell.no +flakstad.no +flatanger.no +flekkefjord.no +flesberg.no +flora.no +fla.no +flå.no +folldal.no +forsand.no +fosnes.no +frei.no +frogn.no +froland.no +frosta.no +frana.no +fræna.no +froya.no +frøya.no +fusa.no +fyresdal.no +forde.no +førde.no +gamvik.no +gangaviika.no +gáŋgaviika.no +gaular.no +gausdal.no +gildeskal.no +gildeskål.no +giske.no +gjemnes.no +gjerdrum.no +gjerstad.no +gjesdal.no +gjovik.no +gjøvik.no +gloppen.no +gol.no +gran.no +grane.no +granvin.no +gratangen.no +grimstad.no +grong.no +kraanghke.no +kråanghke.no +grue.no +gulen.no +hadsel.no +halden.no +halsa.no +hamar.no +hamaroy.no +habmer.no +hábmer.no +hapmir.no +hápmir.no +hammerfest.no +hammarfeasta.no +hámmárfeasta.no +haram.no +hareid.no +harstad.no +hasvik.no +aknoluokta.no +ákŋoluokta.no +hattfjelldal.no +aarborte.no +haugesund.no +hemne.no +hemnes.no +hemsedal.no +heroy.more-og-romsdal.no +herøy.møre-og-romsdal.no +heroy.nordland.no +herøy.nordland.no +hitra.no +hjartdal.no +hjelmeland.no +hobol.no +hobøl.no +hof.no +hol.no +hole.no +holmestrand.no +holtalen.no +holtålen.no +hornindal.no +horten.no +hurdal.no +hurum.no +hvaler.no +hyllestad.no +hagebostad.no +hægebostad.no +hoyanger.no +høyanger.no +hoylandet.no +høylandet.no +ha.no +hå.no +ibestad.no +inderoy.no +inderøy.no +iveland.no +jevnaker.no +jondal.no +jolster.no +jølster.no +karasjok.no +karasjohka.no +kárášjohka.no +karlsoy.no +galsa.no +gálsá.no +karmoy.no +karmøy.no +kautokeino.no +guovdageaidnu.no +klepp.no +klabu.no +klæbu.no +kongsberg.no +kongsvinger.no +kragero.no +kragerø.no +kristiansand.no +kristiansund.no +krodsherad.no +krødsherad.no +kvalsund.no +rahkkeravju.no +ráhkkerávju.no +kvam.no +kvinesdal.no +kvinnherad.no +kviteseid.no +kvitsoy.no +kvitsøy.no +kvafjord.no +kvæfjord.no +giehtavuoatna.no +kvanangen.no +kvænangen.no +navuotna.no +návuotna.no +kafjord.no +kåfjord.no +gaivuotna.no +gáivuotna.no +larvik.no +lavangen.no +lavagis.no +loabat.no +loabát.no +lebesby.no +davvesiida.no +leikanger.no +leirfjord.no +leka.no +leksvik.no +lenvik.no +leangaviika.no +leaŋgaviika.no +lesja.no +levanger.no +lier.no +lierne.no +lillehammer.no +lillesand.no +lindesnes.no +lindas.no +lindås.no +lom.no +loppa.no +lahppi.no +láhppi.no +lund.no +lunner.no +luroy.no +lurøy.no +luster.no +lyngdal.no +lyngen.no +ivgu.no +lardal.no +lerdal.no +lærdal.no +lodingen.no +lødingen.no +lorenskog.no +lørenskog.no +loten.no +løten.no +malvik.no +masoy.no +måsøy.no +muosat.no +muosát.no +mandal.no +marker.no +marnardal.no +masfjorden.no +meland.no +meldal.no +melhus.no +meloy.no +meløy.no +meraker.no +meråker.no +moareke.no +moåreke.no +midsund.no +midtre-gauldal.no +modalen.no +modum.no +molde.no +moskenes.no +moss.no +mosvik.no +malselv.no +målselv.no +malatvuopmi.no +málatvuopmi.no +namdalseid.no +aejrie.no +namsos.no +namsskogan.no +naamesjevuemie.no +nååmesjevuemie.no +laakesvuemie.no +nannestad.no +narvik.no +narviika.no +naustdal.no +nedre-eiker.no +nes.akershus.no +nes.buskerud.no +nesna.no +nesodden.no +nesseby.no +unjarga.no +unjárga.no +nesset.no +nissedal.no +nittedal.no +nord-aurdal.no +nord-fron.no +nord-odal.no +norddal.no +nordkapp.no +davvenjarga.no +davvenjárga.no +nordre-land.no +nordreisa.no +raisa.no +ráisa.no +nore-og-uvdal.no +notodden.no +naroy.no +nærøy.no +notteroy.no +nøtterøy.no +odda.no +oksnes.no +øksnes.no +oppdal.no +oppegard.no +oppegård.no +orkdal.no +orland.no +ørland.no +orskog.no +ørskog.no +orsta.no +ørsta.no +os.hedmark.no +os.hordaland.no +osen.no +osteroy.no +osterøy.no +ostre-toten.no +østre-toten.no +overhalla.no +ovre-eiker.no +øvre-eiker.no +oyer.no +øyer.no +oygarden.no +øygarden.no +oystre-slidre.no +øystre-slidre.no +porsanger.no +porsangu.no +porsáŋgu.no +porsgrunn.no +radoy.no +radøy.no +rakkestad.no +rana.no +ruovat.no +randaberg.no +rauma.no +rendalen.no +rennebu.no +rennesoy.no +rennesøy.no +rindal.no +ringebu.no +ringerike.no +ringsaker.no +rissa.no +risor.no +risør.no +roan.no +rollag.no +rygge.no +ralingen.no +rælingen.no +rodoy.no +rødøy.no +romskog.no +rømskog.no +roros.no +røros.no +rost.no +røst.no +royken.no +røyken.no +royrvik.no +røyrvik.no +rade.no +råde.no +salangen.no +siellak.no +saltdal.no +salat.no +sálát.no +sálat.no +samnanger.no +sande.more-og-romsdal.no +sande.møre-og-romsdal.no +sande.vestfold.no +sandefjord.no +sandnes.no +sandoy.no +sandøy.no +sarpsborg.no +sauda.no +sauherad.no +sel.no +selbu.no +selje.no +seljord.no +sigdal.no +siljan.no +sirdal.no +skaun.no +skedsmo.no +ski.no +skien.no +skiptvet.no +skjervoy.no +skjervøy.no +skierva.no +skiervá.no +skjak.no +skjåk.no +skodje.no +skanland.no +skånland.no +skanit.no +skánit.no +smola.no +smøla.no +snillfjord.no +snasa.no +snåsa.no +snoasa.no +snaase.no +snåase.no +sogndal.no +sokndal.no +sola.no +solund.no +songdalen.no +sortland.no +spydeberg.no +stange.no +stavanger.no +steigen.no +steinkjer.no +stjordal.no +stjørdal.no +stokke.no +stor-elvdal.no +stord.no +stordal.no +storfjord.no +omasvuotna.no +strand.no +stranda.no +stryn.no +sula.no +suldal.no +sund.no +sunndal.no +surnadal.no +sveio.no +svelvik.no +sykkylven.no +sogne.no +søgne.no +somna.no +sømna.no +sondre-land.no +søndre-land.no +sor-aurdal.no +sør-aurdal.no +sor-fron.no +sør-fron.no +sor-odal.no +sør-odal.no +sor-varanger.no +sør-varanger.no +matta-varjjat.no +mátta-várjjat.no +sorfold.no +sørfold.no +sorreisa.no +sørreisa.no +sorum.no +sørum.no +tana.no +deatnu.no +time.no +tingvoll.no +tinn.no +tjeldsund.no +dielddanuorri.no +tjome.no +tjøme.no +tokke.no +tolga.no +torsken.no +tranoy.no +tranøy.no +tromso.no +tromsø.no +tromsa.no +romsa.no +trondheim.no +troandin.no +trysil.no +trana.no +træna.no +trogstad.no +trøgstad.no +tvedestrand.no +tydal.no +tynset.no +tysfjord.no +divtasvuodna.no +divttasvuotna.no +tysnes.no +tysvar.no +tysvær.no +tonsberg.no +tønsberg.no +ullensaker.no +ullensvang.no +ulvik.no +utsira.no +vadso.no +vadsø.no +cahcesuolo.no +čáhcesuolo.no +vaksdal.no +valle.no +vang.no +vanylven.no +vardo.no +vardø.no +varggat.no +várggát.no +vefsn.no +vaapste.no +vega.no +vegarshei.no +vegårshei.no +vennesla.no +verdal.no +verran.no +vestby.no +vestnes.no +vestre-slidre.no +vestre-toten.no +vestvagoy.no +vestvågøy.no +vevelstad.no +vik.no +vikna.no +vindafjord.no +volda.no +voss.no +varoy.no +værøy.no +vagan.no +vågan.no +voagat.no +vagsoy.no +vågsøy.no +vaga.no +vågå.no +valer.ostfold.no +våler.østfold.no +valer.hedmark.no +våler.hedmark.no + +// np : http://www.mos.com.np/register.html +*.np + +// nr : http://cenpac.net.nr/dns/index.html +// Submitted by registry +nr +biz.nr +info.nr +gov.nr +edu.nr +org.nr +net.nr +com.nr + +// nu : https://en.wikipedia.org/wiki/.nu +nu + +// nz : https://en.wikipedia.org/wiki/.nz +// Submitted by registry +nz +ac.nz +co.nz +cri.nz +geek.nz +gen.nz +govt.nz +health.nz +iwi.nz +kiwi.nz +maori.nz +mil.nz +māori.nz +net.nz +org.nz +parliament.nz +school.nz + +// om : https://en.wikipedia.org/wiki/.om +om +co.om +com.om +edu.om +gov.om +med.om +museum.om +net.om +org.om +pro.om + +// onion : https://tools.ietf.org/html/rfc7686 +onion + +// org : https://en.wikipedia.org/wiki/.org +org + +// pa : http://www.nic.pa/ +// Some additional second level "domains" resolve directly as hostnames, such as +// pannet.pa, so we add a rule for "pa". +pa +ac.pa +gob.pa +com.pa +org.pa +sld.pa +edu.pa +net.pa +ing.pa +abo.pa +med.pa +nom.pa + +// pe : https://www.nic.pe/InformeFinalComision.pdf +pe +edu.pe +gob.pe +nom.pe +mil.pe +org.pe +com.pe +net.pe + +// pf : http://www.gobin.info/domainname/formulaire-pf.pdf +pf +com.pf +org.pf +edu.pf + +// pg : https://en.wikipedia.org/wiki/.pg +*.pg + +// ph : http://www.domains.ph/FAQ2.asp +// Submitted by registry +ph +com.ph +net.ph +org.ph +gov.ph +edu.ph +ngo.ph +mil.ph +i.ph + +// pk : http://pk5.pknic.net.pk/pk5/msgNamepk.PK +pk +com.pk +net.pk +edu.pk +org.pk +fam.pk +biz.pk +web.pk +gov.pk +gob.pk +gok.pk +gon.pk +gop.pk +gos.pk +info.pk + +// pl http://www.dns.pl/english/index.html +// Submitted by registry +pl +com.pl +net.pl +org.pl +// pl functional domains (http://www.dns.pl/english/index.html) +aid.pl +agro.pl +atm.pl +auto.pl +biz.pl +edu.pl +gmina.pl +gsm.pl +info.pl +mail.pl +miasta.pl +media.pl +mil.pl +nieruchomosci.pl +nom.pl +pc.pl +powiat.pl +priv.pl +realestate.pl +rel.pl +sex.pl +shop.pl +sklep.pl +sos.pl +szkola.pl +targi.pl +tm.pl +tourism.pl +travel.pl +turystyka.pl +// Government domains +gov.pl +ap.gov.pl +ic.gov.pl +is.gov.pl +us.gov.pl +kmpsp.gov.pl +kppsp.gov.pl +kwpsp.gov.pl +psp.gov.pl +wskr.gov.pl +kwp.gov.pl +mw.gov.pl +ug.gov.pl +um.gov.pl +umig.gov.pl +ugim.gov.pl +upow.gov.pl +uw.gov.pl +starostwo.gov.pl +pa.gov.pl +po.gov.pl +psse.gov.pl +pup.gov.pl +rzgw.gov.pl +sa.gov.pl +so.gov.pl +sr.gov.pl +wsa.gov.pl +sko.gov.pl +uzs.gov.pl +wiih.gov.pl +winb.gov.pl +pinb.gov.pl +wios.gov.pl +witd.gov.pl +wzmiuw.gov.pl +piw.gov.pl +wiw.gov.pl +griw.gov.pl +wif.gov.pl +oum.gov.pl +sdn.gov.pl +zp.gov.pl +uppo.gov.pl +mup.gov.pl +wuoz.gov.pl +konsulat.gov.pl +oirm.gov.pl +// pl regional domains (http://www.dns.pl/english/index.html) +augustow.pl +babia-gora.pl +bedzin.pl +beskidy.pl +bialowieza.pl +bialystok.pl +bielawa.pl +bieszczady.pl +boleslawiec.pl +bydgoszcz.pl +bytom.pl +cieszyn.pl +czeladz.pl +czest.pl +dlugoleka.pl +elblag.pl +elk.pl +glogow.pl +gniezno.pl +gorlice.pl +grajewo.pl +ilawa.pl +jaworzno.pl +jelenia-gora.pl +jgora.pl +kalisz.pl +kazimierz-dolny.pl +karpacz.pl +kartuzy.pl +kaszuby.pl +katowice.pl +kepno.pl +ketrzyn.pl +klodzko.pl +kobierzyce.pl +kolobrzeg.pl +konin.pl +konskowola.pl +kutno.pl +lapy.pl +lebork.pl +legnica.pl +lezajsk.pl +limanowa.pl +lomza.pl +lowicz.pl +lubin.pl +lukow.pl +malbork.pl +malopolska.pl +mazowsze.pl +mazury.pl +mielec.pl +mielno.pl +mragowo.pl +naklo.pl +nowaruda.pl +nysa.pl +olawa.pl +olecko.pl +olkusz.pl +olsztyn.pl +opoczno.pl +opole.pl +ostroda.pl +ostroleka.pl +ostrowiec.pl +ostrowwlkp.pl +pila.pl +pisz.pl +podhale.pl +podlasie.pl +polkowice.pl +pomorze.pl +pomorskie.pl +prochowice.pl +pruszkow.pl +przeworsk.pl +pulawy.pl +radom.pl +rawa-maz.pl +rybnik.pl +rzeszow.pl +sanok.pl +sejny.pl +slask.pl +slupsk.pl +sosnowiec.pl +stalowa-wola.pl +skoczow.pl +starachowice.pl +stargard.pl +suwalki.pl +swidnica.pl +swiebodzin.pl +swinoujscie.pl +szczecin.pl +szczytno.pl +tarnobrzeg.pl +tgory.pl +turek.pl +tychy.pl +ustka.pl +walbrzych.pl +warmia.pl +warszawa.pl +waw.pl +wegrow.pl +wielun.pl +wlocl.pl +wloclawek.pl +wodzislaw.pl +wolomin.pl +wroclaw.pl +zachpomor.pl +zagan.pl +zarow.pl +zgora.pl +zgorzelec.pl + +// pm : http://www.afnic.fr/medias/documents/AFNIC-naming-policy2012.pdf +pm + +// pn : http://www.government.pn/PnRegistry/policies.htm +pn +gov.pn +co.pn +org.pn +edu.pn +net.pn + +// post : https://en.wikipedia.org/wiki/.post +post + +// pr : http://www.nic.pr/index.asp?f=1 +pr +com.pr +net.pr +org.pr +gov.pr +edu.pr +isla.pr +pro.pr +biz.pr +info.pr +name.pr +// these aren't mentioned on nic.pr, but on https://en.wikipedia.org/wiki/.pr +est.pr +prof.pr +ac.pr + +// pro : http://registry.pro/get-pro +pro +aaa.pro +aca.pro +acct.pro +avocat.pro +bar.pro +cpa.pro +eng.pro +jur.pro +law.pro +med.pro +recht.pro + +// ps : https://en.wikipedia.org/wiki/.ps +// http://www.nic.ps/registration/policy.html#reg +ps +edu.ps +gov.ps +sec.ps +plo.ps +com.ps +org.ps +net.ps + +// pt : https://www.dns.pt/en/domain/pt-terms-and-conditions-registration-rules/ +pt +net.pt +gov.pt +org.pt +edu.pt +int.pt +publ.pt +com.pt +nome.pt + +// pw : https://en.wikipedia.org/wiki/.pw +pw +co.pw +ne.pw +or.pw +ed.pw +go.pw +belau.pw + +// py : http://www.nic.py/pautas.html#seccion_9 +// Submitted by registry +py +com.py +coop.py +edu.py +gov.py +mil.py +net.py +org.py + +// qa : http://domains.qa/en/ +qa +com.qa +edu.qa +gov.qa +mil.qa +name.qa +net.qa +org.qa +sch.qa + +// re : http://www.afnic.re/obtenir/chartes/nommage-re/annexe-descriptifs +re +asso.re +com.re +nom.re + +// ro : http://www.rotld.ro/ +ro +arts.ro +com.ro +firm.ro +info.ro +nom.ro +nt.ro +org.ro +rec.ro +store.ro +tm.ro +www.ro + +// rs : https://www.rnids.rs/en/domains/national-domains +rs +ac.rs +co.rs +edu.rs +gov.rs +in.rs +org.rs + +// ru : https://cctld.ru/files/pdf/docs/en/rules_ru-rf.pdf +// Submitted by George Georgievsky +ru + +// rw : https://www.ricta.org.rw/sites/default/files/resources/registry_registrar_contract_0.pdf +rw +ac.rw +co.rw +coop.rw +gov.rw +mil.rw +net.rw +org.rw + +// sa : http://www.nic.net.sa/ +sa +com.sa +net.sa +org.sa +gov.sa +med.sa +pub.sa +edu.sa +sch.sa + +// sb : http://www.sbnic.net.sb/ +// Submitted by registry +sb +com.sb +edu.sb +gov.sb +net.sb +org.sb + +// sc : http://www.nic.sc/ +sc +com.sc +gov.sc +net.sc +org.sc +edu.sc + +// sd : http://www.isoc.sd/sudanic.isoc.sd/billing_pricing.htm +// Submitted by registry +sd +com.sd +net.sd +org.sd +edu.sd +med.sd +tv.sd +gov.sd +info.sd + +// se : https://en.wikipedia.org/wiki/.se +// Submitted by registry +se +a.se +ac.se +b.se +bd.se +brand.se +c.se +d.se +e.se +f.se +fh.se +fhsk.se +fhv.se +g.se +h.se +i.se +k.se +komforb.se +kommunalforbund.se +komvux.se +l.se +lanbib.se +m.se +n.se +naturbruksgymn.se +o.se +org.se +p.se +parti.se +pp.se +press.se +r.se +s.se +t.se +tm.se +u.se +w.se +x.se +y.se +z.se + +// sg : http://www.nic.net.sg/page/registration-policies-procedures-and-guidelines +sg +com.sg +net.sg +org.sg +gov.sg +edu.sg +per.sg + +// sh : http://nic.sh/rules.htm +sh +com.sh +net.sh +gov.sh +org.sh +mil.sh + +// si : https://en.wikipedia.org/wiki/.si +si + +// sj : No registrations at this time. +// Submitted by registry +sj + +// sk : https://en.wikipedia.org/wiki/.sk +// list of 2nd level domains ? +sk + +// sl : http://www.nic.sl +// Submitted by registry +sl +com.sl +net.sl +edu.sl +gov.sl +org.sl + +// sm : https://en.wikipedia.org/wiki/.sm +sm + +// sn : https://en.wikipedia.org/wiki/.sn +sn +art.sn +com.sn +edu.sn +gouv.sn +org.sn +perso.sn +univ.sn + +// so : http://sonic.so/policies/ +so +com.so +edu.so +gov.so +me.so +net.so +org.so + +// sr : https://en.wikipedia.org/wiki/.sr +sr + +// ss : https://registry.nic.ss/ +// Submitted by registry +ss +biz.ss +com.ss +edu.ss +gov.ss +me.ss +net.ss +org.ss +sch.ss + +// st : http://www.nic.st/html/policyrules/ +st +co.st +com.st +consulado.st +edu.st +embaixada.st +mil.st +net.st +org.st +principe.st +saotome.st +store.st + +// su : https://en.wikipedia.org/wiki/.su +su + +// sv : http://www.svnet.org.sv/niveldos.pdf +sv +com.sv +edu.sv +gob.sv +org.sv +red.sv + +// sx : https://en.wikipedia.org/wiki/.sx +// Submitted by registry +sx +gov.sx + +// sy : https://en.wikipedia.org/wiki/.sy +// see also: http://www.gobin.info/domainname/sy.doc +sy +edu.sy +gov.sy +net.sy +mil.sy +com.sy +org.sy + +// sz : https://en.wikipedia.org/wiki/.sz +// http://www.sispa.org.sz/ +sz +co.sz +ac.sz +org.sz + +// tc : https://en.wikipedia.org/wiki/.tc +tc + +// td : https://en.wikipedia.org/wiki/.td +td + +// tel: https://en.wikipedia.org/wiki/.tel +// http://www.telnic.org/ +tel + +// tf : https://en.wikipedia.org/wiki/.tf +tf + +// tg : https://en.wikipedia.org/wiki/.tg +// http://www.nic.tg/ +tg + +// th : https://en.wikipedia.org/wiki/.th +// Submitted by registry +th +ac.th +co.th +go.th +in.th +mi.th +net.th +or.th + +// tj : http://www.nic.tj/policy.html +tj +ac.tj +biz.tj +co.tj +com.tj +edu.tj +go.tj +gov.tj +int.tj +mil.tj +name.tj +net.tj +nic.tj +org.tj +test.tj +web.tj + +// tk : https://en.wikipedia.org/wiki/.tk +tk + +// tl : https://en.wikipedia.org/wiki/.tl +tl +gov.tl + +// tm : http://www.nic.tm/local.html +tm +com.tm +co.tm +org.tm +net.tm +nom.tm +gov.tm +mil.tm +edu.tm + +// tn : http://www.registre.tn/fr/ +// https://whois.ati.tn/ +tn +com.tn +ens.tn +fin.tn +gov.tn +ind.tn +info.tn +intl.tn +mincom.tn +nat.tn +net.tn +org.tn +perso.tn +tourism.tn + +// to : https://en.wikipedia.org/wiki/.to +// Submitted by registry +to +com.to +gov.to +net.to +org.to +edu.to +mil.to + +// tr : https://nic.tr/ +// https://nic.tr/forms/eng/policies.pdf +// https://nic.tr/index.php?USRACTN=PRICELST +tr +av.tr +bbs.tr +bel.tr +biz.tr +com.tr +dr.tr +edu.tr +gen.tr +gov.tr +info.tr +mil.tr +k12.tr +kep.tr +name.tr +net.tr +org.tr +pol.tr +tel.tr +tsk.tr +tv.tr +web.tr +// Used by Northern Cyprus +nc.tr +// Used by government agencies of Northern Cyprus +gov.nc.tr + +// tt : http://www.nic.tt/ +tt +co.tt +com.tt +org.tt +net.tt +biz.tt +info.tt +pro.tt +int.tt +coop.tt +jobs.tt +mobi.tt +travel.tt +museum.tt +aero.tt +name.tt +gov.tt +edu.tt + +// tv : https://en.wikipedia.org/wiki/.tv +// Not listing any 2LDs as reserved since none seem to exist in practice, +// Wikipedia notwithstanding. +tv + +// tw : https://en.wikipedia.org/wiki/.tw +tw +edu.tw +gov.tw +mil.tw +com.tw +net.tw +org.tw +idv.tw +game.tw +ebiz.tw +club.tw +網路.tw +組織.tw +商業.tw + +// tz : http://www.tznic.or.tz/index.php/domains +// Submitted by registry +tz +ac.tz +co.tz +go.tz +hotel.tz +info.tz +me.tz +mil.tz +mobi.tz +ne.tz +or.tz +sc.tz +tv.tz + +// ua : https://hostmaster.ua/policy/?ua +// Submitted by registry +ua +// ua 2LD +com.ua +edu.ua +gov.ua +in.ua +net.ua +org.ua +// ua geographic names +// https://hostmaster.ua/2ld/ +cherkassy.ua +cherkasy.ua +chernigov.ua +chernihiv.ua +chernivtsi.ua +chernovtsy.ua +ck.ua +cn.ua +cr.ua +crimea.ua +cv.ua +dn.ua +dnepropetrovsk.ua +dnipropetrovsk.ua +donetsk.ua +dp.ua +if.ua +ivano-frankivsk.ua +kh.ua +kharkiv.ua +kharkov.ua +kherson.ua +khmelnitskiy.ua +khmelnytskyi.ua +kiev.ua +kirovograd.ua +km.ua +kr.ua +krym.ua +ks.ua +kv.ua +kyiv.ua +lg.ua +lt.ua +lugansk.ua +lutsk.ua +lv.ua +lviv.ua +mk.ua +mykolaiv.ua +nikolaev.ua +od.ua +odesa.ua +odessa.ua +pl.ua +poltava.ua +rivne.ua +rovno.ua +rv.ua +sb.ua +sebastopol.ua +sevastopol.ua +sm.ua +sumy.ua +te.ua +ternopil.ua +uz.ua +uzhgorod.ua +vinnica.ua +vinnytsia.ua +vn.ua +volyn.ua +yalta.ua +zaporizhzhe.ua +zaporizhzhia.ua +zhitomir.ua +zhytomyr.ua +zp.ua +zt.ua + +// ug : https://www.registry.co.ug/ +ug +co.ug +or.ug +ac.ug +sc.ug +go.ug +ne.ug +com.ug +org.ug + +// uk : https://en.wikipedia.org/wiki/.uk +// Submitted by registry +uk +ac.uk +co.uk +gov.uk +ltd.uk +me.uk +net.uk +nhs.uk +org.uk +plc.uk +police.uk +*.sch.uk + +// us : https://en.wikipedia.org/wiki/.us +us +dni.us +fed.us +isa.us +kids.us +nsn.us +// us geographic names +ak.us +al.us +ar.us +as.us +az.us +ca.us +co.us +ct.us +dc.us +de.us +fl.us +ga.us +gu.us +hi.us +ia.us +id.us +il.us +in.us +ks.us +ky.us +la.us +ma.us +md.us +me.us +mi.us +mn.us +mo.us +ms.us +mt.us +nc.us +nd.us +ne.us +nh.us +nj.us +nm.us +nv.us +ny.us +oh.us +ok.us +or.us +pa.us +pr.us +ri.us +sc.us +sd.us +tn.us +tx.us +ut.us +vi.us +vt.us +va.us +wa.us +wi.us +wv.us +wy.us +// The registrar notes several more specific domains available in each state, +// such as state.*.us, dst.*.us, etc., but resolution of these is somewhat +// haphazard; in some states these domains resolve as addresses, while in others +// only subdomains are available, or even nothing at all. We include the +// most common ones where it's clear that different sites are different +// entities. +k12.ak.us +k12.al.us +k12.ar.us +k12.as.us +k12.az.us +k12.ca.us +k12.co.us +k12.ct.us +k12.dc.us +k12.de.us +k12.fl.us +k12.ga.us +k12.gu.us +// k12.hi.us Bug 614565 - Hawaii has a state-wide DOE login +k12.ia.us +k12.id.us +k12.il.us +k12.in.us +k12.ks.us +k12.ky.us +k12.la.us +k12.ma.us +k12.md.us +k12.me.us +k12.mi.us +k12.mn.us +k12.mo.us +k12.ms.us +k12.mt.us +k12.nc.us +// k12.nd.us Bug 1028347 - Removed at request of Travis Rosso +k12.ne.us +k12.nh.us +k12.nj.us +k12.nm.us +k12.nv.us +k12.ny.us +k12.oh.us +k12.ok.us +k12.or.us +k12.pa.us +k12.pr.us +// k12.ri.us Removed at request of Kim Cournoyer +k12.sc.us +// k12.sd.us Bug 934131 - Removed at request of James Booze +k12.tn.us +k12.tx.us +k12.ut.us +k12.vi.us +k12.vt.us +k12.va.us +k12.wa.us +k12.wi.us +// k12.wv.us Bug 947705 - Removed at request of Verne Britton +k12.wy.us +cc.ak.us +cc.al.us +cc.ar.us +cc.as.us +cc.az.us +cc.ca.us +cc.co.us +cc.ct.us +cc.dc.us +cc.de.us +cc.fl.us +cc.ga.us +cc.gu.us +cc.hi.us +cc.ia.us +cc.id.us +cc.il.us +cc.in.us +cc.ks.us +cc.ky.us +cc.la.us +cc.ma.us +cc.md.us +cc.me.us +cc.mi.us +cc.mn.us +cc.mo.us +cc.ms.us +cc.mt.us +cc.nc.us +cc.nd.us +cc.ne.us +cc.nh.us +cc.nj.us +cc.nm.us +cc.nv.us +cc.ny.us +cc.oh.us +cc.ok.us +cc.or.us +cc.pa.us +cc.pr.us +cc.ri.us +cc.sc.us +cc.sd.us +cc.tn.us +cc.tx.us +cc.ut.us +cc.vi.us +cc.vt.us +cc.va.us +cc.wa.us +cc.wi.us +cc.wv.us +cc.wy.us +lib.ak.us +lib.al.us +lib.ar.us +lib.as.us +lib.az.us +lib.ca.us +lib.co.us +lib.ct.us +lib.dc.us +// lib.de.us Issue #243 - Moved to Private section at request of Ed Moore +lib.fl.us +lib.ga.us +lib.gu.us +lib.hi.us +lib.ia.us +lib.id.us +lib.il.us +lib.in.us +lib.ks.us +lib.ky.us +lib.la.us +lib.ma.us +lib.md.us +lib.me.us +lib.mi.us +lib.mn.us +lib.mo.us +lib.ms.us +lib.mt.us +lib.nc.us +lib.nd.us +lib.ne.us +lib.nh.us +lib.nj.us +lib.nm.us +lib.nv.us +lib.ny.us +lib.oh.us +lib.ok.us +lib.or.us +lib.pa.us +lib.pr.us +lib.ri.us +lib.sc.us +lib.sd.us +lib.tn.us +lib.tx.us +lib.ut.us +lib.vi.us +lib.vt.us +lib.va.us +lib.wa.us +lib.wi.us +// lib.wv.us Bug 941670 - Removed at request of Larry W Arnold +lib.wy.us +// k12.ma.us contains school districts in Massachusetts. The 4LDs are +// managed independently except for private (PVT), charter (CHTR) and +// parochial (PAROCH) schools. Those are delegated directly to the +// 5LD operators. +pvt.k12.ma.us +chtr.k12.ma.us +paroch.k12.ma.us +// Merit Network, Inc. maintains the registry for =~ /(k12|cc|lib).mi.us/ and the following +// see also: http://domreg.merit.edu +// see also: whois -h whois.domreg.merit.edu help +ann-arbor.mi.us +cog.mi.us +dst.mi.us +eaton.mi.us +gen.mi.us +mus.mi.us +tec.mi.us +washtenaw.mi.us + +// uy : http://www.nic.org.uy/ +uy +com.uy +edu.uy +gub.uy +mil.uy +net.uy +org.uy + +// uz : http://www.reg.uz/ +uz +co.uz +com.uz +net.uz +org.uz + +// va : https://en.wikipedia.org/wiki/.va +va + +// vc : https://en.wikipedia.org/wiki/.vc +// Submitted by registry +vc +com.vc +net.vc +org.vc +gov.vc +mil.vc +edu.vc + +// ve : https://registro.nic.ve/ +// Submitted by registry nic@nic.ve and nicve@conatel.gob.ve +ve +arts.ve +bib.ve +co.ve +com.ve +e12.ve +edu.ve +firm.ve +gob.ve +gov.ve +info.ve +int.ve +mil.ve +net.ve +nom.ve +org.ve +rar.ve +rec.ve +store.ve +tec.ve +web.ve + +// vg : https://en.wikipedia.org/wiki/.vg +vg + +// vi : http://www.nic.vi/newdomainform.htm +// http://www.nic.vi/Domain_Rules/body_domain_rules.html indicates some other +// TLDs are "reserved", such as edu.vi and gov.vi, but doesn't actually say they +// are available for registration (which they do not seem to be). +vi +co.vi +com.vi +k12.vi +net.vi +org.vi + +// vn : https://www.dot.vn/vnnic/vnnic/domainregistration.jsp +vn +com.vn +net.vn +org.vn +edu.vn +gov.vn +int.vn +ac.vn +biz.vn +info.vn +name.vn +pro.vn +health.vn + +// vu : https://en.wikipedia.org/wiki/.vu +// http://www.vunic.vu/ +vu +com.vu +edu.vu +net.vu +org.vu + +// wf : http://www.afnic.fr/medias/documents/AFNIC-naming-policy2012.pdf +wf + +// ws : https://en.wikipedia.org/wiki/.ws +// http://samoanic.ws/index.dhtml +ws +com.ws +net.ws +org.ws +gov.ws +edu.ws + +// yt : http://www.afnic.fr/medias/documents/AFNIC-naming-policy2012.pdf +yt + +// IDN ccTLDs +// When submitting patches, please maintain a sort by ISO 3166 ccTLD, then +// U-label, and follow this format: +// // A-Label ("", [, variant info]) : +// // [sponsoring org] +// U-Label + +// xn--mgbaam7a8h ("Emerat", Arabic) : AE +// http://nic.ae/english/arabicdomain/rules.jsp +امارات + +// xn--y9a3aq ("hye", Armenian) : AM +// ISOC AM (operated by .am Registry) +հայ + +// xn--54b7fta0cc ("Bangla", Bangla) : BD +বাংলা + +// xn--90ae ("bg", Bulgarian) : BG +бг + +// xn--mgbcpq6gpa1a ("albahrain", Arabic) : BH +البحرين + +// xn--90ais ("bel", Belarusian/Russian Cyrillic) : BY +// Operated by .by registry +бел + +// xn--fiqs8s ("Zhongguo/China", Chinese, Simplified) : CN +// CNNIC +// http://cnnic.cn/html/Dir/2005/10/11/3218.htm +中国 + +// xn--fiqz9s ("Zhongguo/China", Chinese, Traditional) : CN +// CNNIC +// http://cnnic.cn/html/Dir/2005/10/11/3218.htm +中國 + +// xn--lgbbat1ad8j ("Algeria/Al Jazair", Arabic) : DZ +الجزائر + +// xn--wgbh1c ("Egypt/Masr", Arabic) : EG +// http://www.dotmasr.eg/ +مصر + +// xn--e1a4c ("eu", Cyrillic) : EU +// https://eurid.eu +ею + +// xn--qxa6a ("eu", Greek) : EU +// https://eurid.eu +ευ + +// xn--mgbah1a3hjkrd ("Mauritania", Arabic) : MR +موريتانيا + +// xn--node ("ge", Georgian Mkhedruli) : GE +გე + +// xn--qxam ("el", Greek) : GR +// Hellenic Ministry of Infrastructure, Transport, and Networks +ελ + +// xn--j6w193g ("Hong Kong", Chinese) : HK +// https://www.hkirc.hk +// Submitted by registry +// https://www.hkirc.hk/content.jsp?id=30#!/34 +香港 +公司.香港 +教育.香港 +政府.香港 +個人.香港 +網絡.香港 +組織.香港 + +// xn--2scrj9c ("Bharat", Kannada) : IN +// India +ಭಾರತ + +// xn--3hcrj9c ("Bharat", Oriya) : IN +// India +ଭାରତ + +// xn--45br5cyl ("Bharatam", Assamese) : IN +// India +ভাৰত + +// xn--h2breg3eve ("Bharatam", Sanskrit) : IN +// India +भारतम् + +// xn--h2brj9c8c ("Bharot", Santali) : IN +// India +भारोत + +// xn--mgbgu82a ("Bharat", Sindhi) : IN +// India +ڀارت + +// xn--rvc1e0am3e ("Bharatam", Malayalam) : IN +// India +ഭാരതം + +// xn--h2brj9c ("Bharat", Devanagari) : IN +// India +भारत + +// xn--mgbbh1a ("Bharat", Kashmiri) : IN +// India +بارت + +// xn--mgbbh1a71e ("Bharat", Arabic) : IN +// India +بھارت + +// xn--fpcrj9c3d ("Bharat", Telugu) : IN +// India +భారత్ + +// xn--gecrj9c ("Bharat", Gujarati) : IN +// India +ભારત + +// xn--s9brj9c ("Bharat", Gurmukhi) : IN +// India +ਭਾਰਤ + +// xn--45brj9c ("Bharat", Bengali) : IN +// India +ভারত + +// xn--xkc2dl3a5ee0h ("India", Tamil) : IN +// India +இந்தியா + +// xn--mgba3a4f16a ("Iran", Persian) : IR +ایران + +// xn--mgba3a4fra ("Iran", Arabic) : IR +ايران + +// xn--mgbtx2b ("Iraq", Arabic) : IQ +// Communications and Media Commission +عراق + +// xn--mgbayh7gpa ("al-Ordon", Arabic) : JO +// National Information Technology Center (NITC) +// Royal Scientific Society, Al-Jubeiha +الاردن + +// xn--3e0b707e ("Republic of Korea", Hangul) : KR +한국 + +// xn--80ao21a ("Kaz", Kazakh) : KZ +қаз + +// xn--q7ce6a ("Lao", Lao) : LA +ລາວ + +// xn--fzc2c9e2c ("Lanka", Sinhalese-Sinhala) : LK +// https://nic.lk +ලංකා + +// xn--xkc2al3hye2a ("Ilangai", Tamil) : LK +// https://nic.lk +இலங்கை + +// xn--mgbc0a9azcg ("Morocco/al-Maghrib", Arabic) : MA +المغرب + +// xn--d1alf ("mkd", Macedonian) : MK +// MARnet +мкд + +// xn--l1acc ("mon", Mongolian) : MN +мон + +// xn--mix891f ("Macao", Chinese, Traditional) : MO +// MONIC / HNET Asia (Registry Operator for .mo) +澳門 + +// xn--mix082f ("Macao", Chinese, Simplified) : MO +澳门 + +// xn--mgbx4cd0ab ("Malaysia", Malay) : MY +مليسيا + +// xn--mgb9awbf ("Oman", Arabic) : OM +عمان + +// xn--mgbai9azgqp6j ("Pakistan", Urdu/Arabic) : PK +پاکستان + +// xn--mgbai9a5eva00b ("Pakistan", Urdu/Arabic, variant) : PK +پاكستان + +// xn--ygbi2ammx ("Falasteen", Arabic) : PS +// The Palestinian National Internet Naming Authority (PNINA) +// http://www.pnina.ps +فلسطين + +// xn--90a3ac ("srb", Cyrillic) : RS +// https://www.rnids.rs/en/domains/national-domains +срб +пр.срб +орг.срб +обр.срб +од.срб +упр.срб +ак.срб + +// xn--p1ai ("rf", Russian-Cyrillic) : RU +// https://cctld.ru/files/pdf/docs/en/rules_ru-rf.pdf +// Submitted by George Georgievsky +рф + +// xn--wgbl6a ("Qatar", Arabic) : QA +// http://www.ict.gov.qa/ +قطر + +// xn--mgberp4a5d4ar ("AlSaudiah", Arabic) : SA +// http://www.nic.net.sa/ +السعودية + +// xn--mgberp4a5d4a87g ("AlSaudiah", Arabic, variant) : SA +السعودیة + +// xn--mgbqly7c0a67fbc ("AlSaudiah", Arabic, variant) : SA +السعودیۃ + +// xn--mgbqly7cvafr ("AlSaudiah", Arabic, variant) : SA +السعوديه + +// xn--mgbpl2fh ("sudan", Arabic) : SD +// Operated by .sd registry +سودان + +// xn--yfro4i67o Singapore ("Singapore", Chinese) : SG +新加坡 + +// xn--clchc0ea0b2g2a9gcd ("Singapore", Tamil) : SG +சிங்கப்பூர் + +// xn--ogbpf8fl ("Syria", Arabic) : SY +سورية + +// xn--mgbtf8fl ("Syria", Arabic, variant) : SY +سوريا + +// xn--o3cw4h ("Thai", Thai) : TH +// http://www.thnic.co.th +ไทย +ศึกษา.ไทย +ธุรกิจ.ไทย +รัฐบาล.ไทย +ทหาร.ไทย +เน็ต.ไทย +องค์กร.ไทย + +// xn--pgbs0dh ("Tunisia", Arabic) : TN +// http://nic.tn +تونس + +// xn--kpry57d ("Taiwan", Chinese, Traditional) : TW +// http://www.twnic.net/english/dn/dn_07a.htm +台灣 + +// xn--kprw13d ("Taiwan", Chinese, Simplified) : TW +// http://www.twnic.net/english/dn/dn_07a.htm +台湾 + +// xn--nnx388a ("Taiwan", Chinese, variant) : TW +臺灣 + +// xn--j1amh ("ukr", Cyrillic) : UA +укр + +// xn--mgb2ddes ("AlYemen", Arabic) : YE +اليمن + +// xxx : http://icmregistry.com +xxx + +// ye : http://www.y.net.ye/services/domain_name.htm +ye +com.ye +edu.ye +gov.ye +net.ye +mil.ye +org.ye + +// za : https://www.zadna.org.za/content/page/domain-information/ +ac.za +agric.za +alt.za +co.za +edu.za +gov.za +grondar.za +law.za +mil.za +net.za +ngo.za +nic.za +nis.za +nom.za +org.za +school.za +tm.za +web.za + +// zm : https://zicta.zm/ +// Submitted by registry +zm +ac.zm +biz.zm +co.zm +com.zm +edu.zm +gov.zm +info.zm +mil.zm +net.zm +org.zm +sch.zm + +// zw : https://www.potraz.gov.zw/ +// Confirmed by registry 2017-01-25 +zw +ac.zw +co.zw +gov.zw +mil.zw +org.zw + + +// newGTLDs + +// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2022-11-29T15:14:18Z +// This list is auto-generated, don't edit it manually. +// aaa : 2015-02-26 American Automobile Association, Inc. +aaa + +// aarp : 2015-05-21 AARP +aarp + +// abarth : 2015-07-30 Fiat Chrysler Automobiles N.V. +abarth + +// abb : 2014-10-24 ABB Ltd +abb + +// abbott : 2014-07-24 Abbott Laboratories, Inc. +abbott + +// abbvie : 2015-07-30 AbbVie Inc. +abbvie + +// abc : 2015-07-30 Disney Enterprises, Inc. +abc + +// able : 2015-06-25 Able Inc. +able + +// abogado : 2014-04-24 Registry Services, LLC +abogado + +// abudhabi : 2015-07-30 Abu Dhabi Systems and Information Centre +abudhabi + +// academy : 2013-11-07 Binky Moon, LLC +academy + +// accenture : 2014-08-15 Accenture plc +accenture + +// accountant : 2014-11-20 dot Accountant Limited +accountant + +// accountants : 2014-03-20 Binky Moon, LLC +accountants + +// aco : 2015-01-08 ACO Severin Ahlmann GmbH & Co. KG +aco + +// actor : 2013-12-12 Dog Beach, LLC +actor + +// ads : 2014-12-04 Charleston Road Registry Inc. +ads + +// adult : 2014-10-16 ICM Registry AD LLC +adult + +// aeg : 2015-03-19 Aktiebolaget Electrolux +aeg + +// aetna : 2015-05-21 Aetna Life Insurance Company +aetna + +// afl : 2014-10-02 Australian Football League +afl + +// africa : 2014-03-24 ZA Central Registry NPC trading as Registry.Africa +africa + +// agakhan : 2015-04-23 Fondation Aga Khan (Aga Khan Foundation) +agakhan + +// agency : 2013-11-14 Binky Moon, LLC +agency + +// aig : 2014-12-18 American International Group, Inc. +aig + +// airbus : 2015-07-30 Airbus S.A.S. +airbus + +// airforce : 2014-03-06 Dog Beach, LLC +airforce + +// airtel : 2014-10-24 Bharti Airtel Limited +airtel + +// akdn : 2015-04-23 Fondation Aga Khan (Aga Khan Foundation) +akdn + +// alfaromeo : 2015-07-31 Fiat Chrysler Automobiles N.V. +alfaromeo + +// alibaba : 2015-01-15 Alibaba Group Holding Limited +alibaba + +// alipay : 2015-01-15 Alibaba Group Holding Limited +alipay + +// allfinanz : 2014-07-03 Allfinanz Deutsche Vermögensberatung Aktiengesellschaft +allfinanz + +// allstate : 2015-07-31 Allstate Fire and Casualty Insurance Company +allstate + +// ally : 2015-06-18 Ally Financial Inc. +ally + +// alsace : 2014-07-02 Region Grand Est +alsace + +// alstom : 2015-07-30 ALSTOM +alstom + +// amazon : 2019-12-19 Amazon Registry Services, Inc. +amazon + +// americanexpress : 2015-07-31 American Express Travel Related Services Company, Inc. +americanexpress + +// americanfamily : 2015-07-23 AmFam, Inc. +americanfamily + +// amex : 2015-07-31 American Express Travel Related Services Company, Inc. +amex + +// amfam : 2015-07-23 AmFam, Inc. +amfam + +// amica : 2015-05-28 Amica Mutual Insurance Company +amica + +// amsterdam : 2014-07-24 Gemeente Amsterdam +amsterdam + +// analytics : 2014-12-18 Campus IP LLC +analytics + +// android : 2014-08-07 Charleston Road Registry Inc. +android + +// anquan : 2015-01-08 Beijing Qihu Keji Co., Ltd. +anquan + +// anz : 2015-07-31 Australia and New Zealand Banking Group Limited +anz + +// aol : 2015-09-17 Oath Inc. +aol + +// apartments : 2014-12-11 Binky Moon, LLC +apartments + +// app : 2015-05-14 Charleston Road Registry Inc. +app + +// apple : 2015-05-14 Apple Inc. +apple + +// aquarelle : 2014-07-24 Aquarelle.com +aquarelle + +// arab : 2015-11-12 League of Arab States +arab + +// aramco : 2014-11-20 Aramco Services Company +aramco + +// archi : 2014-02-06 Identity Digital Limited +archi + +// army : 2014-03-06 Dog Beach, LLC +army + +// art : 2016-03-24 UK Creative Ideas Limited +art + +// arte : 2014-12-11 Association Relative à la Télévision Européenne G.E.I.E. +arte + +// asda : 2015-07-31 Wal-Mart Stores, Inc. +asda + +// associates : 2014-03-06 Binky Moon, LLC +associates + +// athleta : 2015-07-30 The Gap, Inc. +athleta + +// attorney : 2014-03-20 Dog Beach, LLC +attorney + +// auction : 2014-03-20 Dog Beach, LLC +auction + +// audi : 2015-05-21 AUDI Aktiengesellschaft +audi + +// audible : 2015-06-25 Amazon Registry Services, Inc. +audible + +// audio : 2014-03-20 XYZ.COM LLC +audio + +// auspost : 2015-08-13 Australian Postal Corporation +auspost + +// author : 2014-12-18 Amazon Registry Services, Inc. +author + +// auto : 2014-11-13 XYZ.COM LLC +auto + +// autos : 2014-01-09 XYZ.COM LLC +autos + +// avianca : 2015-01-08 Avianca Inc. +avianca + +// aws : 2015-06-25 AWS Registry LLC +aws + +// axa : 2013-12-19 AXA Group Operations SAS +axa + +// azure : 2014-12-18 Microsoft Corporation +azure + +// baby : 2015-04-09 XYZ.COM LLC +baby + +// baidu : 2015-01-08 Baidu, Inc. +baidu + +// banamex : 2015-07-30 Citigroup Inc. +banamex + +// bananarepublic : 2015-07-31 The Gap, Inc. +bananarepublic + +// band : 2014-06-12 Dog Beach, LLC +band + +// bank : 2014-09-25 fTLD Registry Services LLC +bank + +// bar : 2013-12-12 Punto 2012 Sociedad Anonima Promotora de Inversion de Capital Variable +bar + +// barcelona : 2014-07-24 Municipi de Barcelona +barcelona + +// barclaycard : 2014-11-20 Barclays Bank PLC +barclaycard + +// barclays : 2014-11-20 Barclays Bank PLC +barclays + +// barefoot : 2015-06-11 Gallo Vineyards, Inc. +barefoot + +// bargains : 2013-11-14 Binky Moon, LLC +bargains + +// baseball : 2015-10-29 MLB Advanced Media DH, LLC +baseball + +// basketball : 2015-08-20 Fédération Internationale de Basketball (FIBA) +basketball + +// bauhaus : 2014-04-17 Werkhaus GmbH +bauhaus + +// bayern : 2014-01-23 Bayern Connect GmbH +bayern + +// bbc : 2014-12-18 British Broadcasting Corporation +bbc + +// bbt : 2015-07-23 BB&T Corporation +bbt + +// bbva : 2014-10-02 BANCO BILBAO VIZCAYA ARGENTARIA, S.A. +bbva + +// bcg : 2015-04-02 The Boston Consulting Group, Inc. +bcg + +// bcn : 2014-07-24 Municipi de Barcelona +bcn + +// beats : 2015-05-14 Beats Electronics, LLC +beats + +// beauty : 2015-12-03 XYZ.COM LLC +beauty + +// beer : 2014-01-09 Registry Services, LLC +beer + +// bentley : 2014-12-18 Bentley Motors Limited +bentley + +// berlin : 2013-10-31 dotBERLIN GmbH & Co. KG +berlin + +// best : 2013-12-19 BestTLD Pty Ltd +best + +// bestbuy : 2015-07-31 BBY Solutions, Inc. +bestbuy + +// bet : 2015-05-07 Identity Digital Limited +bet + +// bharti : 2014-01-09 Bharti Enterprises (Holding) Private Limited +bharti + +// bible : 2014-06-19 American Bible Society +bible + +// bid : 2013-12-19 dot Bid Limited +bid + +// bike : 2013-08-27 Binky Moon, LLC +bike + +// bing : 2014-12-18 Microsoft Corporation +bing + +// bingo : 2014-12-04 Binky Moon, LLC +bingo + +// bio : 2014-03-06 Identity Digital Limited +bio + +// black : 2014-01-16 Identity Digital Limited +black + +// blackfriday : 2014-01-16 Registry Services, LLC +blackfriday + +// blockbuster : 2015-07-30 Dish DBS Corporation +blockbuster + +// blog : 2015-05-14 Knock Knock WHOIS There, LLC +blog + +// bloomberg : 2014-07-17 Bloomberg IP Holdings LLC +bloomberg + +// blue : 2013-11-07 Identity Digital Limited +blue + +// bms : 2014-10-30 Bristol-Myers Squibb Company +bms + +// bmw : 2014-01-09 Bayerische Motoren Werke Aktiengesellschaft +bmw + +// bnpparibas : 2014-05-29 BNP Paribas +bnpparibas + +// boats : 2014-12-04 XYZ.COM LLC +boats + +// boehringer : 2015-07-09 Boehringer Ingelheim International GmbH +boehringer + +// bofa : 2015-07-31 Bank of America Corporation +bofa + +// bom : 2014-10-16 Núcleo de Informação e Coordenação do Ponto BR - NIC.br +bom + +// bond : 2014-06-05 ShortDot SA +bond + +// boo : 2014-01-30 Charleston Road Registry Inc. +boo + +// book : 2015-08-27 Amazon Registry Services, Inc. +book + +// booking : 2015-07-16 Booking.com B.V. +booking + +// bosch : 2015-06-18 Robert Bosch GMBH +bosch + +// bostik : 2015-05-28 Bostik SA +bostik + +// boston : 2015-12-10 Registry Services, LLC +boston + +// bot : 2014-12-18 Amazon Registry Services, Inc. +bot + +// boutique : 2013-11-14 Binky Moon, LLC +boutique + +// box : 2015-11-12 Intercap Registry Inc. +box + +// bradesco : 2014-12-18 Banco Bradesco S.A. +bradesco + +// bridgestone : 2014-12-18 Bridgestone Corporation +bridgestone + +// broadway : 2014-12-22 Celebrate Broadway, Inc. +broadway + +// broker : 2014-12-11 Dog Beach, LLC +broker + +// brother : 2015-01-29 Brother Industries, Ltd. +brother + +// brussels : 2014-02-06 DNS.be vzw +brussels + +// build : 2013-11-07 Plan Bee LLC +build + +// builders : 2013-11-07 Binky Moon, LLC +builders + +// business : 2013-11-07 Binky Moon, LLC +business + +// buy : 2014-12-18 Amazon Registry Services, Inc. +buy + +// buzz : 2013-10-02 DOTSTRATEGY CO. +buzz + +// bzh : 2014-02-27 Association www.bzh +bzh + +// cab : 2013-10-24 Binky Moon, LLC +cab + +// cafe : 2015-02-11 Binky Moon, LLC +cafe + +// cal : 2014-07-24 Charleston Road Registry Inc. +cal + +// call : 2014-12-18 Amazon Registry Services, Inc. +call + +// calvinklein : 2015-07-30 PVH gTLD Holdings LLC +calvinklein + +// cam : 2016-04-21 Cam Connecting SARL +cam + +// camera : 2013-08-27 Binky Moon, LLC +camera + +// camp : 2013-11-07 Binky Moon, LLC +camp + +// canon : 2014-09-12 Canon Inc. +canon + +// capetown : 2014-03-24 ZA Central Registry NPC trading as ZA Central Registry +capetown + +// capital : 2014-03-06 Binky Moon, LLC +capital + +// capitalone : 2015-08-06 Capital One Financial Corporation +capitalone + +// car : 2015-01-22 XYZ.COM LLC +car + +// caravan : 2013-12-12 Caravan International, Inc. +caravan + +// cards : 2013-12-05 Binky Moon, LLC +cards + +// care : 2014-03-06 Binky Moon, LLC +care + +// career : 2013-10-09 dotCareer LLC +career + +// careers : 2013-10-02 Binky Moon, LLC +careers + +// cars : 2014-11-13 XYZ.COM LLC +cars + +// casa : 2013-11-21 Registry Services, LLC +casa + +// case : 2015-09-03 Digity, LLC +case + +// cash : 2014-03-06 Binky Moon, LLC +cash + +// casino : 2014-12-18 Binky Moon, LLC +casino + +// catering : 2013-12-05 Binky Moon, LLC +catering + +// catholic : 2015-10-21 Pontificium Consilium de Comunicationibus Socialibus (PCCS) (Pontifical Council for Social Communication) +catholic + +// cba : 2014-06-26 COMMONWEALTH BANK OF AUSTRALIA +cba + +// cbn : 2014-08-22 The Christian Broadcasting Network, Inc. +cbn + +// cbre : 2015-07-02 CBRE, Inc. +cbre + +// cbs : 2015-08-06 CBS Domains Inc. +cbs + +// center : 2013-11-07 Binky Moon, LLC +center + +// ceo : 2013-11-07 CEOTLD Pty Ltd +ceo + +// cern : 2014-06-05 European Organization for Nuclear Research ("CERN") +cern + +// cfa : 2014-08-28 CFA Institute +cfa + +// cfd : 2014-12-11 ShortDot SA +cfd + +// chanel : 2015-04-09 Chanel International B.V. +chanel + +// channel : 2014-05-08 Charleston Road Registry Inc. +channel + +// charity : 2018-04-11 Public Interest Registry +charity + +// chase : 2015-04-30 JPMorgan Chase Bank, National Association +chase + +// chat : 2014-12-04 Binky Moon, LLC +chat + +// cheap : 2013-11-14 Binky Moon, LLC +cheap + +// chintai : 2015-06-11 CHINTAI Corporation +chintai + +// christmas : 2013-11-21 XYZ.COM LLC +christmas + +// chrome : 2014-07-24 Charleston Road Registry Inc. +chrome + +// church : 2014-02-06 Binky Moon, LLC +church + +// cipriani : 2015-02-19 Hotel Cipriani Srl +cipriani + +// circle : 2014-12-18 Amazon Registry Services, Inc. +circle + +// cisco : 2014-12-22 Cisco Technology, Inc. +cisco + +// citadel : 2015-07-23 Citadel Domain LLC +citadel + +// citi : 2015-07-30 Citigroup Inc. +citi + +// citic : 2014-01-09 CITIC Group Corporation +citic + +// city : 2014-05-29 Binky Moon, LLC +city + +// cityeats : 2014-12-11 Lifestyle Domain Holdings, Inc. +cityeats + +// claims : 2014-03-20 Binky Moon, LLC +claims + +// cleaning : 2013-12-05 Binky Moon, LLC +cleaning + +// click : 2014-06-05 Internet Naming Company LLC +click + +// clinic : 2014-03-20 Binky Moon, LLC +clinic + +// clinique : 2015-10-01 The Estée Lauder Companies Inc. +clinique + +// clothing : 2013-08-27 Binky Moon, LLC +clothing + +// cloud : 2015-04-16 Aruba PEC S.p.A. +cloud + +// club : 2013-11-08 Registry Services, LLC +club + +// clubmed : 2015-06-25 Club Méditerranée S.A. +clubmed + +// coach : 2014-10-09 Binky Moon, LLC +coach + +// codes : 2013-10-31 Binky Moon, LLC +codes + +// coffee : 2013-10-17 Binky Moon, LLC +coffee + +// college : 2014-01-16 XYZ.COM LLC +college + +// cologne : 2014-02-05 dotKoeln GmbH +cologne + +// comcast : 2015-07-23 Comcast IP Holdings I, LLC +comcast + +// commbank : 2014-06-26 COMMONWEALTH BANK OF AUSTRALIA +commbank + +// community : 2013-12-05 Binky Moon, LLC +community + +// company : 2013-11-07 Binky Moon, LLC +company + +// compare : 2015-10-08 Registry Services, LLC +compare + +// computer : 2013-10-24 Binky Moon, LLC +computer + +// comsec : 2015-01-08 VeriSign, Inc. +comsec + +// condos : 2013-12-05 Binky Moon, LLC +condos + +// construction : 2013-09-16 Binky Moon, LLC +construction + +// consulting : 2013-12-05 Dog Beach, LLC +consulting + +// contact : 2015-01-08 Dog Beach, LLC +contact + +// contractors : 2013-09-10 Binky Moon, LLC +contractors + +// cooking : 2013-11-21 Registry Services, LLC +cooking + +// cookingchannel : 2015-07-02 Lifestyle Domain Holdings, Inc. +cookingchannel + +// cool : 2013-11-14 Binky Moon, LLC +cool + +// corsica : 2014-09-25 Collectivité de Corse +corsica + +// country : 2013-12-19 Internet Naming Company LLC +country + +// coupon : 2015-02-26 Amazon Registry Services, Inc. +coupon + +// coupons : 2015-03-26 Binky Moon, LLC +coupons + +// courses : 2014-12-04 Registry Services, LLC +courses + +// cpa : 2019-06-10 American Institute of Certified Public Accountants +cpa + +// credit : 2014-03-20 Binky Moon, LLC +credit + +// creditcard : 2014-03-20 Binky Moon, LLC +creditcard + +// creditunion : 2015-01-22 DotCooperation LLC +creditunion + +// cricket : 2014-10-09 dot Cricket Limited +cricket + +// crown : 2014-10-24 Crown Equipment Corporation +crown + +// crs : 2014-04-03 Federated Co-operatives Limited +crs + +// cruise : 2015-12-10 Viking River Cruises (Bermuda) Ltd. +cruise + +// cruises : 2013-12-05 Binky Moon, LLC +cruises + +// cuisinella : 2014-04-03 SCHMIDT GROUPE S.A.S. +cuisinella + +// cymru : 2014-05-08 Nominet UK +cymru + +// cyou : 2015-01-22 ShortDot SA +cyou + +// dabur : 2014-02-06 Dabur India Limited +dabur + +// dad : 2014-01-23 Charleston Road Registry Inc. +dad + +// dance : 2013-10-24 Dog Beach, LLC +dance + +// data : 2016-06-02 Dish DBS Corporation +data + +// date : 2014-11-20 dot Date Limited +date + +// dating : 2013-12-05 Binky Moon, LLC +dating + +// datsun : 2014-03-27 NISSAN MOTOR CO., LTD. +datsun + +// day : 2014-01-30 Charleston Road Registry Inc. +day + +// dclk : 2014-11-20 Charleston Road Registry Inc. +dclk + +// dds : 2015-05-07 Registry Services, LLC +dds + +// deal : 2015-06-25 Amazon Registry Services, Inc. +deal + +// dealer : 2014-12-22 Intercap Registry Inc. +dealer + +// deals : 2014-05-22 Binky Moon, LLC +deals + +// degree : 2014-03-06 Dog Beach, LLC +degree + +// delivery : 2014-09-11 Binky Moon, LLC +delivery + +// dell : 2014-10-24 Dell Inc. +dell + +// deloitte : 2015-07-31 Deloitte Touche Tohmatsu +deloitte + +// delta : 2015-02-19 Delta Air Lines, Inc. +delta + +// democrat : 2013-10-24 Dog Beach, LLC +democrat + +// dental : 2014-03-20 Binky Moon, LLC +dental + +// dentist : 2014-03-20 Dog Beach, LLC +dentist + +// desi : 2013-11-14 Desi Networks LLC +desi + +// design : 2014-11-07 Registry Services, LLC +design + +// dev : 2014-10-16 Charleston Road Registry Inc. +dev + +// dhl : 2015-07-23 Deutsche Post AG +dhl + +// diamonds : 2013-09-22 Binky Moon, LLC +diamonds + +// diet : 2014-06-26 XYZ.COM LLC +diet + +// digital : 2014-03-06 Binky Moon, LLC +digital + +// direct : 2014-04-10 Binky Moon, LLC +direct + +// directory : 2013-09-20 Binky Moon, LLC +directory + +// discount : 2014-03-06 Binky Moon, LLC +discount + +// discover : 2015-07-23 Discover Financial Services +discover + +// dish : 2015-07-30 Dish DBS Corporation +dish + +// diy : 2015-11-05 Lifestyle Domain Holdings, Inc. +diy + +// dnp : 2013-12-13 Dai Nippon Printing Co., Ltd. +dnp + +// docs : 2014-10-16 Charleston Road Registry Inc. +docs + +// doctor : 2016-06-02 Binky Moon, LLC +doctor + +// dog : 2014-12-04 Binky Moon, LLC +dog + +// domains : 2013-10-17 Binky Moon, LLC +domains + +// dot : 2015-05-21 Dish DBS Corporation +dot + +// download : 2014-11-20 dot Support Limited +download + +// drive : 2015-03-05 Charleston Road Registry Inc. +drive + +// dtv : 2015-06-04 Dish DBS Corporation +dtv + +// dubai : 2015-01-01 Dubai Smart Government Department +dubai + +// dunlop : 2015-07-02 The Goodyear Tire & Rubber Company +dunlop + +// dupont : 2015-06-25 DuPont Specialty Products USA, LLC +dupont + +// durban : 2014-03-24 ZA Central Registry NPC trading as ZA Central Registry +durban + +// dvag : 2014-06-23 Deutsche Vermögensberatung Aktiengesellschaft DVAG +dvag + +// dvr : 2016-05-26 DISH Technologies L.L.C. +dvr + +// earth : 2014-12-04 Interlink Systems Innovation Institute K.K. +earth + +// eat : 2014-01-23 Charleston Road Registry Inc. +eat + +// eco : 2016-07-08 Big Room Inc. +eco + +// edeka : 2014-12-18 EDEKA Verband kaufmännischer Genossenschaften e.V. +edeka + +// education : 2013-11-07 Binky Moon, LLC +education + +// email : 2013-10-31 Binky Moon, LLC +email + +// emerck : 2014-04-03 Merck KGaA +emerck + +// energy : 2014-09-11 Binky Moon, LLC +energy + +// engineer : 2014-03-06 Dog Beach, LLC +engineer + +// engineering : 2014-03-06 Binky Moon, LLC +engineering + +// enterprises : 2013-09-20 Binky Moon, LLC +enterprises + +// epson : 2014-12-04 Seiko Epson Corporation +epson + +// equipment : 2013-08-27 Binky Moon, LLC +equipment + +// ericsson : 2015-07-09 Telefonaktiebolaget L M Ericsson +ericsson + +// erni : 2014-04-03 ERNI Group Holding AG +erni + +// esq : 2014-05-08 Charleston Road Registry Inc. +esq + +// estate : 2013-08-27 Binky Moon, LLC +estate + +// etisalat : 2015-09-03 Emirates Telecommunications Corporation (trading as Etisalat) +etisalat + +// eurovision : 2014-04-24 European Broadcasting Union (EBU) +eurovision + +// eus : 2013-12-12 Puntueus Fundazioa +eus + +// events : 2013-12-05 Binky Moon, LLC +events + +// exchange : 2014-03-06 Binky Moon, LLC +exchange + +// expert : 2013-11-21 Binky Moon, LLC +expert + +// exposed : 2013-12-05 Binky Moon, LLC +exposed + +// express : 2015-02-11 Binky Moon, LLC +express + +// extraspace : 2015-05-14 Extra Space Storage LLC +extraspace + +// fage : 2014-12-18 Fage International S.A. +fage + +// fail : 2014-03-06 Binky Moon, LLC +fail + +// fairwinds : 2014-11-13 FairWinds Partners, LLC +fairwinds + +// faith : 2014-11-20 dot Faith Limited +faith + +// family : 2015-04-02 Dog Beach, LLC +family + +// fan : 2014-03-06 Dog Beach, LLC +fan + +// fans : 2014-11-07 ZDNS International Limited +fans + +// farm : 2013-11-07 Binky Moon, LLC +farm + +// farmers : 2015-07-09 Farmers Insurance Exchange +farmers + +// fashion : 2014-07-03 Registry Services, LLC +fashion + +// fast : 2014-12-18 Amazon Registry Services, Inc. +fast + +// fedex : 2015-08-06 Federal Express Corporation +fedex + +// feedback : 2013-12-19 Top Level Spectrum, Inc. +feedback + +// ferrari : 2015-07-31 Fiat Chrysler Automobiles N.V. +ferrari + +// ferrero : 2014-12-18 Ferrero Trading Lux S.A. +ferrero + +// fiat : 2015-07-31 Fiat Chrysler Automobiles N.V. +fiat + +// fidelity : 2015-07-30 Fidelity Brokerage Services LLC +fidelity + +// fido : 2015-08-06 Rogers Communications Canada Inc. +fido + +// film : 2015-01-08 Motion Picture Domain Registry Pty Ltd +film + +// final : 2014-10-16 Núcleo de Informação e Coordenação do Ponto BR - NIC.br +final + +// finance : 2014-03-20 Binky Moon, LLC +finance + +// financial : 2014-03-06 Binky Moon, LLC +financial + +// fire : 2015-06-25 Amazon Registry Services, Inc. +fire + +// firestone : 2014-12-18 Bridgestone Licensing Services, Inc +firestone + +// firmdale : 2014-03-27 Firmdale Holdings Limited +firmdale + +// fish : 2013-12-12 Binky Moon, LLC +fish + +// fishing : 2013-11-21 Registry Services, LLC +fishing + +// fit : 2014-11-07 Registry Services, LLC +fit + +// fitness : 2014-03-06 Binky Moon, LLC +fitness + +// flickr : 2015-04-02 Flickr, Inc. +flickr + +// flights : 2013-12-05 Binky Moon, LLC +flights + +// flir : 2015-07-23 FLIR Systems, Inc. +flir + +// florist : 2013-11-07 Binky Moon, LLC +florist + +// flowers : 2014-10-09 XYZ.COM LLC +flowers + +// fly : 2014-05-08 Charleston Road Registry Inc. +fly + +// foo : 2014-01-23 Charleston Road Registry Inc. +foo + +// food : 2016-04-21 Lifestyle Domain Holdings, Inc. +food + +// foodnetwork : 2015-07-02 Lifestyle Domain Holdings, Inc. +foodnetwork + +// football : 2014-12-18 Binky Moon, LLC +football + +// ford : 2014-11-13 Ford Motor Company +ford + +// forex : 2014-12-11 Dog Beach, LLC +forex + +// forsale : 2014-05-22 Dog Beach, LLC +forsale + +// forum : 2015-04-02 Fegistry, LLC +forum + +// foundation : 2013-12-05 Public Interest Registry +foundation + +// fox : 2015-09-11 FOX Registry, LLC +fox + +// free : 2015-12-10 Amazon Registry Services, Inc. +free + +// fresenius : 2015-07-30 Fresenius Immobilien-Verwaltungs-GmbH +fresenius + +// frl : 2014-05-15 FRLregistry B.V. +frl + +// frogans : 2013-12-19 OP3FT +frogans + +// frontdoor : 2015-07-02 Lifestyle Domain Holdings, Inc. +frontdoor + +// frontier : 2015-02-05 Frontier Communications Corporation +frontier + +// ftr : 2015-07-16 Frontier Communications Corporation +ftr + +// fujitsu : 2015-07-30 Fujitsu Limited +fujitsu + +// fun : 2016-01-14 Radix FZC +fun + +// fund : 2014-03-20 Binky Moon, LLC +fund + +// furniture : 2014-03-20 Binky Moon, LLC +furniture + +// futbol : 2013-09-20 Dog Beach, LLC +futbol + +// fyi : 2015-04-02 Binky Moon, LLC +fyi + +// gal : 2013-11-07 Asociación puntoGAL +gal + +// gallery : 2013-09-13 Binky Moon, LLC +gallery + +// gallo : 2015-06-11 Gallo Vineyards, Inc. +gallo + +// gallup : 2015-02-19 Gallup, Inc. +gallup + +// game : 2015-05-28 XYZ.COM LLC +game + +// games : 2015-05-28 Dog Beach, LLC +games + +// gap : 2015-07-31 The Gap, Inc. +gap + +// garden : 2014-06-26 Registry Services, LLC +garden + +// gay : 2019-05-23 Top Level Design, LLC +gay + +// gbiz : 2014-07-17 Charleston Road Registry Inc. +gbiz + +// gdn : 2014-07-31 Joint Stock Company "Navigation-information systems" +gdn + +// gea : 2014-12-04 GEA Group Aktiengesellschaft +gea + +// gent : 2014-01-23 Easyhost BV +gent + +// genting : 2015-03-12 Resorts World Inc Pte. Ltd. +genting + +// george : 2015-07-31 Wal-Mart Stores, Inc. +george + +// ggee : 2014-01-09 GMO Internet, Inc. +ggee + +// gift : 2013-10-17 DotGift, LLC +gift + +// gifts : 2014-07-03 Binky Moon, LLC +gifts + +// gives : 2014-03-06 Public Interest Registry +gives + +// giving : 2014-11-13 Public Interest Registry +giving + +// glass : 2013-11-07 Binky Moon, LLC +glass + +// gle : 2014-07-24 Charleston Road Registry Inc. +gle + +// global : 2014-04-17 Dot Global Domain Registry Limited +global + +// globo : 2013-12-19 Globo Comunicação e Participações S.A +globo + +// gmail : 2014-05-01 Charleston Road Registry Inc. +gmail + +// gmbh : 2016-01-29 Binky Moon, LLC +gmbh + +// gmo : 2014-01-09 GMO Internet, Inc. +gmo + +// gmx : 2014-04-24 1&1 Mail & Media GmbH +gmx + +// godaddy : 2015-07-23 Go Daddy East, LLC +godaddy + +// gold : 2015-01-22 Binky Moon, LLC +gold + +// goldpoint : 2014-11-20 YODOBASHI CAMERA CO.,LTD. +goldpoint + +// golf : 2014-12-18 Binky Moon, LLC +golf + +// goo : 2014-12-18 NTT Resonant Inc. +goo + +// goodyear : 2015-07-02 The Goodyear Tire & Rubber Company +goodyear + +// goog : 2014-11-20 Charleston Road Registry Inc. +goog + +// google : 2014-07-24 Charleston Road Registry Inc. +google + +// gop : 2014-01-16 Republican State Leadership Committee, Inc. +gop + +// got : 2014-12-18 Amazon Registry Services, Inc. +got + +// grainger : 2015-05-07 Grainger Registry Services, LLC +grainger + +// graphics : 2013-09-13 Binky Moon, LLC +graphics + +// gratis : 2014-03-20 Binky Moon, LLC +gratis + +// green : 2014-05-08 Identity Digital Limited +green + +// gripe : 2014-03-06 Binky Moon, LLC +gripe + +// grocery : 2016-06-16 Wal-Mart Stores, Inc. +grocery + +// group : 2014-08-15 Binky Moon, LLC +group + +// guardian : 2015-07-30 The Guardian Life Insurance Company of America +guardian + +// gucci : 2014-11-13 Guccio Gucci S.p.a. +gucci + +// guge : 2014-08-28 Charleston Road Registry Inc. +guge + +// guide : 2013-09-13 Binky Moon, LLC +guide + +// guitars : 2013-11-14 XYZ.COM LLC +guitars + +// guru : 2013-08-27 Binky Moon, LLC +guru + +// hair : 2015-12-03 XYZ.COM LLC +hair + +// hamburg : 2014-02-20 Hamburg Top-Level-Domain GmbH +hamburg + +// hangout : 2014-11-13 Charleston Road Registry Inc. +hangout + +// haus : 2013-12-05 Dog Beach, LLC +haus + +// hbo : 2015-07-30 HBO Registry Services, Inc. +hbo + +// hdfc : 2015-07-30 HOUSING DEVELOPMENT FINANCE CORPORATION LIMITED +hdfc + +// hdfcbank : 2015-02-12 HDFC Bank Limited +hdfcbank + +// health : 2015-02-11 DotHealth, LLC +health + +// healthcare : 2014-06-12 Binky Moon, LLC +healthcare + +// help : 2014-06-26 Innovation service Limited +help + +// helsinki : 2015-02-05 City of Helsinki +helsinki + +// here : 2014-02-06 Charleston Road Registry Inc. +here + +// hermes : 2014-07-10 HERMES INTERNATIONAL +hermes + +// hgtv : 2015-07-02 Lifestyle Domain Holdings, Inc. +hgtv + +// hiphop : 2014-03-06 Dot Hip Hop, LLC +hiphop + +// hisamitsu : 2015-07-16 Hisamitsu Pharmaceutical Co.,Inc. +hisamitsu + +// hitachi : 2014-10-31 Hitachi, Ltd. +hitachi + +// hiv : 2014-03-13 Internet Naming Company LLC +hiv + +// hkt : 2015-05-14 PCCW-HKT DataCom Services Limited +hkt + +// hockey : 2015-03-19 Binky Moon, LLC +hockey + +// holdings : 2013-08-27 Binky Moon, LLC +holdings + +// holiday : 2013-11-07 Binky Moon, LLC +holiday + +// homedepot : 2015-04-02 Home Depot Product Authority, LLC +homedepot + +// homegoods : 2015-07-16 The TJX Companies, Inc. +homegoods + +// homes : 2014-01-09 XYZ.COM LLC +homes + +// homesense : 2015-07-16 The TJX Companies, Inc. +homesense + +// honda : 2014-12-18 Honda Motor Co., Ltd. +honda + +// horse : 2013-11-21 Registry Services, LLC +horse + +// hospital : 2016-10-20 Binky Moon, LLC +hospital + +// host : 2014-04-17 Radix FZC +host + +// hosting : 2014-05-29 XYZ.COM LLC +hosting + +// hot : 2015-08-27 Amazon Registry Services, Inc. +hot + +// hoteles : 2015-03-05 Travel Reservations SRL +hoteles + +// hotels : 2016-04-07 Booking.com B.V. +hotels + +// hotmail : 2014-12-18 Microsoft Corporation +hotmail + +// house : 2013-11-07 Binky Moon, LLC +house + +// how : 2014-01-23 Charleston Road Registry Inc. +how + +// hsbc : 2014-10-24 HSBC Global Services (UK) Limited +hsbc + +// hughes : 2015-07-30 Hughes Satellite Systems Corporation +hughes + +// hyatt : 2015-07-30 Hyatt GTLD, L.L.C. +hyatt + +// hyundai : 2015-07-09 Hyundai Motor Company +hyundai + +// ibm : 2014-07-31 International Business Machines Corporation +ibm + +// icbc : 2015-02-19 Industrial and Commercial Bank of China Limited +icbc + +// ice : 2014-10-30 IntercontinentalExchange, Inc. +ice + +// icu : 2015-01-08 ShortDot SA +icu + +// ieee : 2015-07-23 IEEE Global LLC +ieee + +// ifm : 2014-01-30 ifm electronic gmbh +ifm + +// ikano : 2015-07-09 Ikano S.A. +ikano + +// imamat : 2015-08-06 Fondation Aga Khan (Aga Khan Foundation) +imamat + +// imdb : 2015-06-25 Amazon Registry Services, Inc. +imdb + +// immo : 2014-07-10 Binky Moon, LLC +immo + +// immobilien : 2013-11-07 Dog Beach, LLC +immobilien + +// inc : 2018-03-10 Intercap Registry Inc. +inc + +// industries : 2013-12-05 Binky Moon, LLC +industries + +// infiniti : 2014-03-27 NISSAN MOTOR CO., LTD. +infiniti + +// ing : 2014-01-23 Charleston Road Registry Inc. +ing + +// ink : 2013-12-05 Top Level Design, LLC +ink + +// institute : 2013-11-07 Binky Moon, LLC +institute + +// insurance : 2015-02-19 fTLD Registry Services LLC +insurance + +// insure : 2014-03-20 Binky Moon, LLC +insure + +// international : 2013-11-07 Binky Moon, LLC +international + +// intuit : 2015-07-30 Intuit Administrative Services, Inc. +intuit + +// investments : 2014-03-20 Binky Moon, LLC +investments + +// ipiranga : 2014-08-28 Ipiranga Produtos de Petroleo S.A. +ipiranga + +// irish : 2014-08-07 Binky Moon, LLC +irish + +// ismaili : 2015-08-06 Fondation Aga Khan (Aga Khan Foundation) +ismaili + +// ist : 2014-08-28 Istanbul Metropolitan Municipality +ist + +// istanbul : 2014-08-28 Istanbul Metropolitan Municipality +istanbul + +// itau : 2014-10-02 Itau Unibanco Holding S.A. +itau + +// itv : 2015-07-09 ITV Services Limited +itv + +// jaguar : 2014-11-13 Jaguar Land Rover Ltd +jaguar + +// java : 2014-06-19 Oracle Corporation +java + +// jcb : 2014-11-20 JCB Co., Ltd. +jcb + +// jeep : 2015-07-30 FCA US LLC. +jeep + +// jetzt : 2014-01-09 Binky Moon, LLC +jetzt + +// jewelry : 2015-03-05 Binky Moon, LLC +jewelry + +// jio : 2015-04-02 Reliance Industries Limited +jio + +// jll : 2015-04-02 Jones Lang LaSalle Incorporated +jll + +// jmp : 2015-03-26 Matrix IP LLC +jmp + +// jnj : 2015-06-18 Johnson & Johnson Services, Inc. +jnj + +// joburg : 2014-03-24 ZA Central Registry NPC trading as ZA Central Registry +joburg + +// jot : 2014-12-18 Amazon Registry Services, Inc. +jot + +// joy : 2014-12-18 Amazon Registry Services, Inc. +joy + +// jpmorgan : 2015-04-30 JPMorgan Chase Bank, National Association +jpmorgan + +// jprs : 2014-09-18 Japan Registry Services Co., Ltd. +jprs + +// juegos : 2014-03-20 Internet Naming Company LLC +juegos + +// juniper : 2015-07-30 JUNIPER NETWORKS, INC. +juniper + +// kaufen : 2013-11-07 Dog Beach, LLC +kaufen + +// kddi : 2014-09-12 KDDI CORPORATION +kddi + +// kerryhotels : 2015-04-30 Kerry Trading Co. Limited +kerryhotels + +// kerrylogistics : 2015-04-09 Kerry Trading Co. Limited +kerrylogistics + +// kerryproperties : 2015-04-09 Kerry Trading Co. Limited +kerryproperties + +// kfh : 2014-12-04 Kuwait Finance House +kfh + +// kia : 2015-07-09 KIA MOTORS CORPORATION +kia + +// kids : 2021-08-13 DotKids Foundation Limited +kids + +// kim : 2013-09-23 Identity Digital Limited +kim + +// kinder : 2014-11-07 Ferrero Trading Lux S.A. +kinder + +// kindle : 2015-06-25 Amazon Registry Services, Inc. +kindle + +// kitchen : 2013-09-20 Binky Moon, LLC +kitchen + +// kiwi : 2013-09-20 DOT KIWI LIMITED +kiwi + +// koeln : 2014-01-09 dotKoeln GmbH +koeln + +// komatsu : 2015-01-08 Komatsu Ltd. +komatsu + +// kosher : 2015-08-20 Kosher Marketing Assets LLC +kosher + +// kpmg : 2015-04-23 KPMG International Cooperative (KPMG International Genossenschaft) +kpmg + +// kpn : 2015-01-08 Koninklijke KPN N.V. +kpn + +// krd : 2013-12-05 KRG Department of Information Technology +krd + +// kred : 2013-12-19 KredTLD Pty Ltd +kred + +// kuokgroup : 2015-04-09 Kerry Trading Co. Limited +kuokgroup + +// kyoto : 2014-11-07 Academic Institution: Kyoto Jyoho Gakuen +kyoto + +// lacaixa : 2014-01-09 Fundación Bancaria Caixa d’Estalvis i Pensions de Barcelona, “la Caixa” +lacaixa + +// lamborghini : 2015-06-04 Automobili Lamborghini S.p.A. +lamborghini + +// lamer : 2015-10-01 The Estée Lauder Companies Inc. +lamer + +// lancaster : 2015-02-12 LANCASTER +lancaster + +// lancia : 2015-07-31 Fiat Chrysler Automobiles N.V. +lancia + +// land : 2013-09-10 Binky Moon, LLC +land + +// landrover : 2014-11-13 Jaguar Land Rover Ltd +landrover + +// lanxess : 2015-07-30 LANXESS Corporation +lanxess + +// lasalle : 2015-04-02 Jones Lang LaSalle Incorporated +lasalle + +// lat : 2014-10-16 XYZ.COM LLC +lat + +// latino : 2015-07-30 Dish DBS Corporation +latino + +// latrobe : 2014-06-16 La Trobe University +latrobe + +// law : 2015-01-22 Registry Services, LLC +law + +// lawyer : 2014-03-20 Dog Beach, LLC +lawyer + +// lds : 2014-03-20 IRI Domain Management, LLC +lds + +// lease : 2014-03-06 Binky Moon, LLC +lease + +// leclerc : 2014-08-07 A.C.D. LEC Association des Centres Distributeurs Edouard Leclerc +leclerc + +// lefrak : 2015-07-16 LeFrak Organization, Inc. +lefrak + +// legal : 2014-10-16 Binky Moon, LLC +legal + +// lego : 2015-07-16 LEGO Juris A/S +lego + +// lexus : 2015-04-23 TOYOTA MOTOR CORPORATION +lexus + +// lgbt : 2014-05-08 Identity Digital Limited +lgbt + +// lidl : 2014-09-18 Schwarz Domains und Services GmbH & Co. KG +lidl + +// life : 2014-02-06 Binky Moon, LLC +life + +// lifeinsurance : 2015-01-15 American Council of Life Insurers +lifeinsurance + +// lifestyle : 2014-12-11 Lifestyle Domain Holdings, Inc. +lifestyle + +// lighting : 2013-08-27 Binky Moon, LLC +lighting + +// like : 2014-12-18 Amazon Registry Services, Inc. +like + +// lilly : 2015-07-31 Eli Lilly and Company +lilly + +// limited : 2014-03-06 Binky Moon, LLC +limited + +// limo : 2013-10-17 Binky Moon, LLC +limo + +// lincoln : 2014-11-13 Ford Motor Company +lincoln + +// linde : 2014-12-04 Linde Aktiengesellschaft +linde + +// link : 2013-11-14 Nova Registry Ltd +link + +// lipsy : 2015-06-25 Lipsy Ltd +lipsy + +// live : 2014-12-04 Dog Beach, LLC +live + +// living : 2015-07-30 Lifestyle Domain Holdings, Inc. +living + +// llc : 2017-12-14 Identity Digital Limited +llc + +// llp : 2019-08-26 Intercap Registry Inc. +llp + +// loan : 2014-11-20 dot Loan Limited +loan + +// loans : 2014-03-20 Binky Moon, LLC +loans + +// locker : 2015-06-04 Dish DBS Corporation +locker + +// locus : 2015-06-25 Locus Analytics LLC +locus + +// loft : 2015-07-30 Annco, Inc. +loft + +// lol : 2015-01-30 XYZ.COM LLC +lol + +// london : 2013-11-14 Dot London Domains Limited +london + +// lotte : 2014-11-07 Lotte Holdings Co., Ltd. +lotte + +// lotto : 2014-04-10 Identity Digital Limited +lotto + +// love : 2014-12-22 Merchant Law Group LLP +love + +// lpl : 2015-07-30 LPL Holdings, Inc. +lpl + +// lplfinancial : 2015-07-30 LPL Holdings, Inc. +lplfinancial + +// ltd : 2014-09-25 Binky Moon, LLC +ltd + +// ltda : 2014-04-17 InterNetX, Corp +ltda + +// lundbeck : 2015-08-06 H. Lundbeck A/S +lundbeck + +// luxe : 2014-01-09 Registry Services, LLC +luxe + +// luxury : 2013-10-17 Luxury Partners, LLC +luxury + +// macys : 2015-07-31 Macys, Inc. +macys + +// madrid : 2014-05-01 Comunidad de Madrid +madrid + +// maif : 2014-10-02 Mutuelle Assurance Instituteur France (MAIF) +maif + +// maison : 2013-12-05 Binky Moon, LLC +maison + +// makeup : 2015-01-15 XYZ.COM LLC +makeup + +// man : 2014-12-04 MAN SE +man + +// management : 2013-11-07 Binky Moon, LLC +management + +// mango : 2013-10-24 PUNTO FA S.L. +mango + +// map : 2016-06-09 Charleston Road Registry Inc. +map + +// market : 2014-03-06 Dog Beach, LLC +market + +// marketing : 2013-11-07 Binky Moon, LLC +marketing + +// markets : 2014-12-11 Dog Beach, LLC +markets + +// marriott : 2014-10-09 Marriott Worldwide Corporation +marriott + +// marshalls : 2015-07-16 The TJX Companies, Inc. +marshalls + +// maserati : 2015-07-31 Fiat Chrysler Automobiles N.V. +maserati + +// mattel : 2015-08-06 Mattel Sites, Inc. +mattel + +// mba : 2015-04-02 Binky Moon, LLC +mba + +// mckinsey : 2015-07-31 McKinsey Holdings, Inc. +mckinsey + +// med : 2015-08-06 Medistry LLC +med + +// media : 2014-03-06 Binky Moon, LLC +media + +// meet : 2014-01-16 Charleston Road Registry Inc. +meet + +// melbourne : 2014-05-29 The Crown in right of the State of Victoria, represented by its Department of State Development, Business and Innovation +melbourne + +// meme : 2014-01-30 Charleston Road Registry Inc. +meme + +// memorial : 2014-10-16 Dog Beach, LLC +memorial + +// men : 2015-02-26 Exclusive Registry Limited +men + +// menu : 2013-09-11 Dot Menu Registry, LLC +menu + +// merckmsd : 2016-07-14 MSD Registry Holdings, Inc. +merckmsd + +// miami : 2013-12-19 Registry Services, LLC +miami + +// microsoft : 2014-12-18 Microsoft Corporation +microsoft + +// mini : 2014-01-09 Bayerische Motoren Werke Aktiengesellschaft +mini + +// mint : 2015-07-30 Intuit Administrative Services, Inc. +mint + +// mit : 2015-07-02 Massachusetts Institute of Technology +mit + +// mitsubishi : 2015-07-23 Mitsubishi Corporation +mitsubishi + +// mlb : 2015-05-21 MLB Advanced Media DH, LLC +mlb + +// mls : 2015-04-23 The Canadian Real Estate Association +mls + +// mma : 2014-11-07 MMA IARD +mma + +// mobile : 2016-06-02 Dish DBS Corporation +mobile + +// moda : 2013-11-07 Dog Beach, LLC +moda + +// moe : 2013-11-13 Interlink Systems Innovation Institute K.K. +moe + +// moi : 2014-12-18 Amazon Registry Services, Inc. +moi + +// mom : 2015-04-16 XYZ.COM LLC +mom + +// monash : 2013-09-30 Monash University +monash + +// money : 2014-10-16 Binky Moon, LLC +money + +// monster : 2015-09-11 XYZ.COM LLC +monster + +// mormon : 2013-12-05 IRI Domain Management, LLC +mormon + +// mortgage : 2014-03-20 Dog Beach, LLC +mortgage + +// moscow : 2013-12-19 Foundation for Assistance for Internet Technologies and Infrastructure Development (FAITID) +moscow + +// moto : 2015-06-04 Motorola Trademark Holdings, LLC +moto + +// motorcycles : 2014-01-09 XYZ.COM LLC +motorcycles + +// mov : 2014-01-30 Charleston Road Registry Inc. +mov + +// movie : 2015-02-05 Binky Moon, LLC +movie + +// msd : 2015-07-23 MSD Registry Holdings, Inc. +msd + +// mtn : 2014-12-04 MTN Dubai Limited +mtn + +// mtr : 2015-03-12 MTR Corporation Limited +mtr + +// music : 2021-05-04 DotMusic Limited +music + +// mutual : 2015-04-02 Northwestern Mutual MU TLD Registry, LLC +mutual + +// nab : 2015-08-20 National Australia Bank Limited +nab + +// nagoya : 2013-10-24 GMO Registry, Inc. +nagoya + +// natura : 2015-03-12 NATURA COSMÉTICOS S.A. +natura + +// navy : 2014-03-06 Dog Beach, LLC +navy + +// nba : 2015-07-31 NBA REGISTRY, LLC +nba + +// nec : 2015-01-08 NEC Corporation +nec + +// netbank : 2014-06-26 COMMONWEALTH BANK OF AUSTRALIA +netbank + +// netflix : 2015-06-18 Netflix, Inc. +netflix + +// network : 2013-11-14 Binky Moon, LLC +network + +// neustar : 2013-12-05 NeuStar, Inc. +neustar + +// new : 2014-01-30 Charleston Road Registry Inc. +new + +// news : 2014-12-18 Dog Beach, LLC +news + +// next : 2015-06-18 Next plc +next + +// nextdirect : 2015-06-18 Next plc +nextdirect + +// nexus : 2014-07-24 Charleston Road Registry Inc. +nexus + +// nfl : 2015-07-23 NFL Reg Ops LLC +nfl + +// ngo : 2014-03-06 Public Interest Registry +ngo + +// nhk : 2014-02-13 Japan Broadcasting Corporation (NHK) +nhk + +// nico : 2014-12-04 DWANGO Co., Ltd. +nico + +// nike : 2015-07-23 NIKE, Inc. +nike + +// nikon : 2015-05-21 NIKON CORPORATION +nikon + +// ninja : 2013-11-07 Dog Beach, LLC +ninja + +// nissan : 2014-03-27 NISSAN MOTOR CO., LTD. +nissan + +// nissay : 2015-10-29 Nippon Life Insurance Company +nissay + +// nokia : 2015-01-08 Nokia Corporation +nokia + +// northwesternmutual : 2015-06-18 Northwestern Mutual Registry, LLC +northwesternmutual + +// norton : 2014-12-04 NortonLifeLock Inc. +norton + +// now : 2015-06-25 Amazon Registry Services, Inc. +now + +// nowruz : 2014-09-04 Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti. +nowruz + +// nowtv : 2015-05-14 Starbucks (HK) Limited +nowtv + +// nra : 2014-05-22 NRA Holdings Company, INC. +nra + +// nrw : 2013-11-21 Minds + Machines GmbH +nrw + +// ntt : 2014-10-31 NIPPON TELEGRAPH AND TELEPHONE CORPORATION +ntt + +// nyc : 2014-01-23 The City of New York by and through the New York City Department of Information Technology & Telecommunications +nyc + +// obi : 2014-09-25 OBI Group Holding SE & Co. KGaA +obi + +// observer : 2015-04-30 Dog Beach, LLC +observer + +// office : 2015-03-12 Microsoft Corporation +office + +// okinawa : 2013-12-05 BRregistry, Inc. +okinawa + +// olayan : 2015-05-14 Crescent Holding GmbH +olayan + +// olayangroup : 2015-05-14 Crescent Holding GmbH +olayangroup + +// oldnavy : 2015-07-31 The Gap, Inc. +oldnavy + +// ollo : 2015-06-04 Dish DBS Corporation +ollo + +// omega : 2015-01-08 The Swatch Group Ltd +omega + +// one : 2014-11-07 One.com A/S +one + +// ong : 2014-03-06 Public Interest Registry +ong + +// onl : 2013-09-16 iRegistry GmbH +onl + +// online : 2015-01-15 Radix FZC +online + +// ooo : 2014-01-09 INFIBEAM AVENUES LIMITED +ooo + +// open : 2015-07-31 American Express Travel Related Services Company, Inc. +open + +// oracle : 2014-06-19 Oracle Corporation +oracle + +// orange : 2015-03-12 Orange Brand Services Limited +orange + +// organic : 2014-03-27 Identity Digital Limited +organic + +// origins : 2015-10-01 The Estée Lauder Companies Inc. +origins + +// osaka : 2014-09-04 Osaka Registry Co., Ltd. +osaka + +// otsuka : 2013-10-11 Otsuka Holdings Co., Ltd. +otsuka + +// ott : 2015-06-04 Dish DBS Corporation +ott + +// ovh : 2014-01-16 MédiaBC +ovh + +// page : 2014-12-04 Charleston Road Registry Inc. +page + +// panasonic : 2015-07-30 Panasonic Corporation +panasonic + +// paris : 2014-01-30 City of Paris +paris + +// pars : 2014-09-04 Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti. +pars + +// partners : 2013-12-05 Binky Moon, LLC +partners + +// parts : 2013-12-05 Binky Moon, LLC +parts + +// party : 2014-09-11 Blue Sky Registry Limited +party + +// passagens : 2015-03-05 Travel Reservations SRL +passagens + +// pay : 2015-08-27 Amazon Registry Services, Inc. +pay + +// pccw : 2015-05-14 PCCW Enterprises Limited +pccw + +// pet : 2015-05-07 Identity Digital Limited +pet + +// pfizer : 2015-09-11 Pfizer Inc. +pfizer + +// pharmacy : 2014-06-19 National Association of Boards of Pharmacy +pharmacy + +// phd : 2016-07-28 Charleston Road Registry Inc. +phd + +// philips : 2014-11-07 Koninklijke Philips N.V. +philips + +// phone : 2016-06-02 Dish DBS Corporation +phone + +// photo : 2013-11-14 Registry Services, LLC +photo + +// photography : 2013-09-20 Binky Moon, LLC +photography + +// photos : 2013-10-17 Binky Moon, LLC +photos + +// physio : 2014-05-01 PhysBiz Pty Ltd +physio + +// pics : 2013-11-14 XYZ.COM LLC +pics + +// pictet : 2014-06-26 Pictet Europe S.A. +pictet + +// pictures : 2014-03-06 Binky Moon, LLC +pictures + +// pid : 2015-01-08 Top Level Spectrum, Inc. +pid + +// pin : 2014-12-18 Amazon Registry Services, Inc. +pin + +// ping : 2015-06-11 Ping Registry Provider, Inc. +ping + +// pink : 2013-10-01 Identity Digital Limited +pink + +// pioneer : 2015-07-16 Pioneer Corporation +pioneer + +// pizza : 2014-06-26 Binky Moon, LLC +pizza + +// place : 2014-04-24 Binky Moon, LLC +place + +// play : 2015-03-05 Charleston Road Registry Inc. +play + +// playstation : 2015-07-02 Sony Interactive Entertainment Inc. +playstation + +// plumbing : 2013-09-10 Binky Moon, LLC +plumbing + +// plus : 2015-02-05 Binky Moon, LLC +plus + +// pnc : 2015-07-02 PNC Domain Co., LLC +pnc + +// pohl : 2014-06-23 Deutsche Vermögensberatung Aktiengesellschaft DVAG +pohl + +// poker : 2014-07-03 Identity Digital Limited +poker + +// politie : 2015-08-20 Politie Nederland +politie + +// porn : 2014-10-16 ICM Registry PN LLC +porn + +// pramerica : 2015-07-30 Prudential Financial, Inc. +pramerica + +// praxi : 2013-12-05 Praxi S.p.A. +praxi + +// press : 2014-04-03 Radix FZC +press + +// prime : 2015-06-25 Amazon Registry Services, Inc. +prime + +// prod : 2014-01-23 Charleston Road Registry Inc. +prod + +// productions : 2013-12-05 Binky Moon, LLC +productions + +// prof : 2014-07-24 Charleston Road Registry Inc. +prof + +// progressive : 2015-07-23 Progressive Casualty Insurance Company +progressive + +// promo : 2014-12-18 Identity Digital Limited +promo + +// properties : 2013-12-05 Binky Moon, LLC +properties + +// property : 2014-05-22 Internet Naming Company LLC +property + +// protection : 2015-04-23 XYZ.COM LLC +protection + +// pru : 2015-07-30 Prudential Financial, Inc. +pru + +// prudential : 2015-07-30 Prudential Financial, Inc. +prudential + +// pub : 2013-12-12 Dog Beach, LLC +pub + +// pwc : 2015-10-29 PricewaterhouseCoopers LLP +pwc + +// qpon : 2013-11-14 dotCOOL, Inc. +qpon + +// quebec : 2013-12-19 PointQuébec Inc +quebec + +// quest : 2015-03-26 XYZ.COM LLC +quest + +// racing : 2014-12-04 Premier Registry Limited +racing + +// radio : 2016-07-21 European Broadcasting Union (EBU) +radio + +// read : 2014-12-18 Amazon Registry Services, Inc. +read + +// realestate : 2015-09-11 dotRealEstate LLC +realestate + +// realtor : 2014-05-29 Real Estate Domains LLC +realtor + +// realty : 2015-03-19 Dog Beach, LLC +realty + +// recipes : 2013-10-17 Binky Moon, LLC +recipes + +// red : 2013-11-07 Identity Digital Limited +red + +// redstone : 2014-10-31 Redstone Haute Couture Co., Ltd. +redstone + +// redumbrella : 2015-03-26 Travelers TLD, LLC +redumbrella + +// rehab : 2014-03-06 Dog Beach, LLC +rehab + +// reise : 2014-03-13 Binky Moon, LLC +reise + +// reisen : 2014-03-06 Binky Moon, LLC +reisen + +// reit : 2014-09-04 National Association of Real Estate Investment Trusts, Inc. +reit + +// reliance : 2015-04-02 Reliance Industries Limited +reliance + +// ren : 2013-12-12 ZDNS International Limited +ren + +// rent : 2014-12-04 XYZ.COM LLC +rent + +// rentals : 2013-12-05 Binky Moon, LLC +rentals + +// repair : 2013-11-07 Binky Moon, LLC +repair + +// report : 2013-12-05 Binky Moon, LLC +report + +// republican : 2014-03-20 Dog Beach, LLC +republican + +// rest : 2013-12-19 Punto 2012 Sociedad Anonima Promotora de Inversion de Capital Variable +rest + +// restaurant : 2014-07-03 Binky Moon, LLC +restaurant + +// review : 2014-11-20 dot Review Limited +review + +// reviews : 2013-09-13 Dog Beach, LLC +reviews + +// rexroth : 2015-06-18 Robert Bosch GMBH +rexroth + +// rich : 2013-11-21 iRegistry GmbH +rich + +// richardli : 2015-05-14 Pacific Century Asset Management (HK) Limited +richardli + +// ricoh : 2014-11-20 Ricoh Company, Ltd. +ricoh + +// ril : 2015-04-02 Reliance Industries Limited +ril + +// rio : 2014-02-27 Empresa Municipal de Informática SA - IPLANRIO +rio + +// rip : 2014-07-10 Dog Beach, LLC +rip + +// rocher : 2014-12-18 Ferrero Trading Lux S.A. +rocher + +// rocks : 2013-11-14 Dog Beach, LLC +rocks + +// rodeo : 2013-12-19 Registry Services, LLC +rodeo + +// rogers : 2015-08-06 Rogers Communications Canada Inc. +rogers + +// room : 2014-12-18 Amazon Registry Services, Inc. +room + +// rsvp : 2014-05-08 Charleston Road Registry Inc. +rsvp + +// rugby : 2016-12-15 World Rugby Strategic Developments Limited +rugby + +// ruhr : 2013-10-02 dotSaarland GmbH +ruhr + +// run : 2015-03-19 Binky Moon, LLC +run + +// rwe : 2015-04-02 RWE AG +rwe + +// ryukyu : 2014-01-09 BRregistry, Inc. +ryukyu + +// saarland : 2013-12-12 dotSaarland GmbH +saarland + +// safe : 2014-12-18 Amazon Registry Services, Inc. +safe + +// safety : 2015-01-08 Safety Registry Services, LLC. +safety + +// sakura : 2014-12-18 SAKURA Internet Inc. +sakura + +// sale : 2014-10-16 Dog Beach, LLC +sale + +// salon : 2014-12-11 Binky Moon, LLC +salon + +// samsclub : 2015-07-31 Wal-Mart Stores, Inc. +samsclub + +// samsung : 2014-04-03 SAMSUNG SDS CO., LTD +samsung + +// sandvik : 2014-11-13 Sandvik AB +sandvik + +// sandvikcoromant : 2014-11-07 Sandvik AB +sandvikcoromant + +// sanofi : 2014-10-09 Sanofi +sanofi + +// sap : 2014-03-27 SAP AG +sap + +// sarl : 2014-07-03 Binky Moon, LLC +sarl + +// sas : 2015-04-02 Research IP LLC +sas + +// save : 2015-06-25 Amazon Registry Services, Inc. +save + +// saxo : 2014-10-31 Saxo Bank A/S +saxo + +// sbi : 2015-03-12 STATE BANK OF INDIA +sbi + +// sbs : 2014-11-07 ShortDot SA +sbs + +// sca : 2014-03-13 SVENSKA CELLULOSA AKTIEBOLAGET SCA (publ) +sca + +// scb : 2014-02-20 The Siam Commercial Bank Public Company Limited ("SCB") +scb + +// schaeffler : 2015-08-06 Schaeffler Technologies AG & Co. KG +schaeffler + +// schmidt : 2014-04-03 SCHMIDT GROUPE S.A.S. +schmidt + +// scholarships : 2014-04-24 Scholarships.com, LLC +scholarships + +// school : 2014-12-18 Binky Moon, LLC +school + +// schule : 2014-03-06 Binky Moon, LLC +schule + +// schwarz : 2014-09-18 Schwarz Domains und Services GmbH & Co. KG +schwarz + +// science : 2014-09-11 dot Science Limited +science + +// scot : 2014-01-23 Dot Scot Registry Limited +scot + +// search : 2016-06-09 Charleston Road Registry Inc. +search + +// seat : 2014-05-22 SEAT, S.A. (Sociedad Unipersonal) +seat + +// secure : 2015-08-27 Amazon Registry Services, Inc. +secure + +// security : 2015-05-14 XYZ.COM LLC +security + +// seek : 2014-12-04 Seek Limited +seek + +// select : 2015-10-08 Registry Services, LLC +select + +// sener : 2014-10-24 Sener Ingeniería y Sistemas, S.A. +sener + +// services : 2014-02-27 Binky Moon, LLC +services + +// ses : 2015-07-23 SES +ses + +// seven : 2015-08-06 Seven West Media Ltd +seven + +// sew : 2014-07-17 SEW-EURODRIVE GmbH & Co KG +sew + +// sex : 2014-11-13 ICM Registry SX LLC +sex + +// sexy : 2013-09-11 Internet Naming Company LLC +sexy + +// sfr : 2015-08-13 Societe Francaise du Radiotelephone - SFR +sfr + +// shangrila : 2015-09-03 Shangri‐La International Hotel Management Limited +shangrila + +// sharp : 2014-05-01 Sharp Corporation +sharp + +// shaw : 2015-04-23 Shaw Cablesystems G.P. +shaw + +// shell : 2015-07-30 Shell Information Technology International Inc +shell + +// shia : 2014-09-04 Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti. +shia + +// shiksha : 2013-11-14 Identity Digital Limited +shiksha + +// shoes : 2013-10-02 Binky Moon, LLC +shoes + +// shop : 2016-04-08 GMO Registry, Inc. +shop + +// shopping : 2016-03-31 Binky Moon, LLC +shopping + +// shouji : 2015-01-08 Beijing Qihu Keji Co., Ltd. +shouji + +// show : 2015-03-05 Binky Moon, LLC +show + +// showtime : 2015-08-06 CBS Domains Inc. +showtime + +// silk : 2015-06-25 Amazon Registry Services, Inc. +silk + +// sina : 2015-03-12 Sina Corporation +sina + +// singles : 2013-08-27 Binky Moon, LLC +singles + +// site : 2015-01-15 Radix FZC +site + +// ski : 2015-04-09 Identity Digital Limited +ski + +// skin : 2015-01-15 XYZ.COM LLC +skin + +// sky : 2014-06-19 Sky International AG +sky + +// skype : 2014-12-18 Microsoft Corporation +skype + +// sling : 2015-07-30 DISH Technologies L.L.C. +sling + +// smart : 2015-07-09 Smart Communications, Inc. (SMART) +smart + +// smile : 2014-12-18 Amazon Registry Services, Inc. +smile + +// sncf : 2015-02-19 Société Nationale des Chemins de fer Francais S N C F +sncf + +// soccer : 2015-03-26 Binky Moon, LLC +soccer + +// social : 2013-11-07 Dog Beach, LLC +social + +// softbank : 2015-07-02 SoftBank Group Corp. +softbank + +// software : 2014-03-20 Dog Beach, LLC +software + +// sohu : 2013-12-19 Sohu.com Limited +sohu + +// solar : 2013-11-07 Binky Moon, LLC +solar + +// solutions : 2013-11-07 Binky Moon, LLC +solutions + +// song : 2015-02-26 Amazon Registry Services, Inc. +song + +// sony : 2015-01-08 Sony Corporation +sony + +// soy : 2014-01-23 Charleston Road Registry Inc. +soy + +// spa : 2019-09-19 Asia Spa and Wellness Promotion Council Limited +spa + +// space : 2014-04-03 Radix FZC +space + +// sport : 2017-11-16 Global Association of International Sports Federations (GAISF) +sport + +// spot : 2015-02-26 Amazon Registry Services, Inc. +spot + +// srl : 2015-05-07 InterNetX, Corp +srl + +// stada : 2014-11-13 STADA Arzneimittel AG +stada + +// staples : 2015-07-30 Staples, Inc. +staples + +// star : 2015-01-08 Star India Private Limited +star + +// statebank : 2015-03-12 STATE BANK OF INDIA +statebank + +// statefarm : 2015-07-30 State Farm Mutual Automobile Insurance Company +statefarm + +// stc : 2014-10-09 Saudi Telecom Company +stc + +// stcgroup : 2014-10-09 Saudi Telecom Company +stcgroup + +// stockholm : 2014-12-18 Stockholms kommun +stockholm + +// storage : 2014-12-22 XYZ.COM LLC +storage + +// store : 2015-04-09 Radix FZC +store + +// stream : 2016-01-08 dot Stream Limited +stream + +// studio : 2015-02-11 Dog Beach, LLC +studio + +// study : 2014-12-11 Registry Services, LLC +study + +// style : 2014-12-04 Binky Moon, LLC +style + +// sucks : 2014-12-22 Vox Populi Registry Ltd. +sucks + +// supplies : 2013-12-19 Binky Moon, LLC +supplies + +// supply : 2013-12-19 Binky Moon, LLC +supply + +// support : 2013-10-24 Binky Moon, LLC +support + +// surf : 2014-01-09 Registry Services, LLC +surf + +// surgery : 2014-03-20 Binky Moon, LLC +surgery + +// suzuki : 2014-02-20 SUZUKI MOTOR CORPORATION +suzuki + +// swatch : 2015-01-08 The Swatch Group Ltd +swatch + +// swiss : 2014-10-16 Swiss Confederation +swiss + +// sydney : 2014-09-18 State of New South Wales, Department of Premier and Cabinet +sydney + +// systems : 2013-11-07 Binky Moon, LLC +systems + +// tab : 2014-12-04 Tabcorp Holdings Limited +tab + +// taipei : 2014-07-10 Taipei City Government +taipei + +// talk : 2015-04-09 Amazon Registry Services, Inc. +talk + +// taobao : 2015-01-15 Alibaba Group Holding Limited +taobao + +// target : 2015-07-31 Target Domain Holdings, LLC +target + +// tatamotors : 2015-03-12 Tata Motors Ltd +tatamotors + +// tatar : 2014-04-24 Limited Liability Company "Coordination Center of Regional Domain of Tatarstan Republic" +tatar + +// tattoo : 2013-08-30 Top Level Design, LLC +tattoo + +// tax : 2014-03-20 Binky Moon, LLC +tax + +// taxi : 2015-03-19 Binky Moon, LLC +taxi + +// tci : 2014-09-12 Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti. +tci + +// tdk : 2015-06-11 TDK Corporation +tdk + +// team : 2015-03-05 Binky Moon, LLC +team + +// tech : 2015-01-30 Radix FZC +tech + +// technology : 2013-09-13 Binky Moon, LLC +technology + +// temasek : 2014-08-07 Temasek Holdings (Private) Limited +temasek + +// tennis : 2014-12-04 Binky Moon, LLC +tennis + +// teva : 2015-07-02 Teva Pharmaceutical Industries Limited +teva + +// thd : 2015-04-02 Home Depot Product Authority, LLC +thd + +// theater : 2015-03-19 Binky Moon, LLC +theater + +// theatre : 2015-05-07 XYZ.COM LLC +theatre + +// tiaa : 2015-07-23 Teachers Insurance and Annuity Association of America +tiaa + +// tickets : 2015-02-05 XYZ.COM LLC +tickets + +// tienda : 2013-11-14 Binky Moon, LLC +tienda + +// tiffany : 2015-01-30 Tiffany and Company +tiffany + +// tips : 2013-09-20 Binky Moon, LLC +tips + +// tires : 2014-11-07 Binky Moon, LLC +tires + +// tirol : 2014-04-24 punkt Tirol GmbH +tirol + +// tjmaxx : 2015-07-16 The TJX Companies, Inc. +tjmaxx + +// tjx : 2015-07-16 The TJX Companies, Inc. +tjx + +// tkmaxx : 2015-07-16 The TJX Companies, Inc. +tkmaxx + +// tmall : 2015-01-15 Alibaba Group Holding Limited +tmall + +// today : 2013-09-20 Binky Moon, LLC +today + +// tokyo : 2013-11-13 GMO Registry, Inc. +tokyo + +// tools : 2013-11-21 Binky Moon, LLC +tools + +// top : 2014-03-20 .TOP Registry +top + +// toray : 2014-12-18 Toray Industries, Inc. +toray + +// toshiba : 2014-04-10 TOSHIBA Corporation +toshiba + +// total : 2015-08-06 TOTAL SE +total + +// tours : 2015-01-22 Binky Moon, LLC +tours + +// town : 2014-03-06 Binky Moon, LLC +town + +// toyota : 2015-04-23 TOYOTA MOTOR CORPORATION +toyota + +// toys : 2014-03-06 Binky Moon, LLC +toys + +// trade : 2014-01-23 Elite Registry Limited +trade + +// trading : 2014-12-11 Dog Beach, LLC +trading + +// training : 2013-11-07 Binky Moon, LLC +training + +// travel : 2015-10-09 Dog Beach, LLC +travel + +// travelchannel : 2015-07-02 Lifestyle Domain Holdings, Inc. +travelchannel + +// travelers : 2015-03-26 Travelers TLD, LLC +travelers + +// travelersinsurance : 2015-03-26 Travelers TLD, LLC +travelersinsurance + +// trust : 2014-10-16 Internet Naming Company LLC +trust + +// trv : 2015-03-26 Travelers TLD, LLC +trv + +// tube : 2015-06-11 Latin American Telecom LLC +tube + +// tui : 2014-07-03 TUI AG +tui + +// tunes : 2015-02-26 Amazon Registry Services, Inc. +tunes + +// tushu : 2014-12-18 Amazon Registry Services, Inc. +tushu + +// tvs : 2015-02-19 T V SUNDRAM IYENGAR & SONS LIMITED +tvs + +// ubank : 2015-08-20 National Australia Bank Limited +ubank + +// ubs : 2014-12-11 UBS AG +ubs + +// unicom : 2015-10-15 China United Network Communications Corporation Limited +unicom + +// university : 2014-03-06 Binky Moon, LLC +university + +// uno : 2013-09-11 Radix FZC +uno + +// uol : 2014-05-01 UBN INTERNET LTDA. +uol + +// ups : 2015-06-25 UPS Market Driver, Inc. +ups + +// vacations : 2013-12-05 Binky Moon, LLC +vacations + +// vana : 2014-12-11 Lifestyle Domain Holdings, Inc. +vana + +// vanguard : 2015-09-03 The Vanguard Group, Inc. +vanguard + +// vegas : 2014-01-16 Dot Vegas, Inc. +vegas + +// ventures : 2013-08-27 Binky Moon, LLC +ventures + +// verisign : 2015-08-13 VeriSign, Inc. +verisign + +// versicherung : 2014-03-20 tldbox GmbH +versicherung + +// vet : 2014-03-06 Dog Beach, LLC +vet + +// viajes : 2013-10-17 Binky Moon, LLC +viajes + +// video : 2014-10-16 Dog Beach, LLC +video + +// vig : 2015-05-14 VIENNA INSURANCE GROUP AG Wiener Versicherung Gruppe +vig + +// viking : 2015-04-02 Viking River Cruises (Bermuda) Ltd. +viking + +// villas : 2013-12-05 Binky Moon, LLC +villas + +// vin : 2015-06-18 Binky Moon, LLC +vin + +// vip : 2015-01-22 Registry Services, LLC +vip + +// virgin : 2014-09-25 Virgin Enterprises Limited +virgin + +// visa : 2015-07-30 Visa Worldwide Pte. Limited +visa + +// vision : 2013-12-05 Binky Moon, LLC +vision + +// viva : 2014-11-07 Saudi Telecom Company +viva + +// vivo : 2015-07-31 Telefonica Brasil S.A. +vivo + +// vlaanderen : 2014-02-06 DNS.be vzw +vlaanderen + +// vodka : 2013-12-19 Registry Services, LLC +vodka + +// volkswagen : 2015-05-14 Volkswagen Group of America Inc. +volkswagen + +// volvo : 2015-11-12 Volvo Holding Sverige Aktiebolag +volvo + +// vote : 2013-11-21 Monolith Registry LLC +vote + +// voting : 2013-11-13 Valuetainment Corp. +voting + +// voto : 2013-11-21 Monolith Registry LLC +voto + +// voyage : 2013-08-27 Binky Moon, LLC +voyage + +// vuelos : 2015-03-05 Travel Reservations SRL +vuelos + +// wales : 2014-05-08 Nominet UK +wales + +// walmart : 2015-07-31 Wal-Mart Stores, Inc. +walmart + +// walter : 2014-11-13 Sandvik AB +walter + +// wang : 2013-10-24 Zodiac Wang Limited +wang + +// wanggou : 2014-12-18 Amazon Registry Services, Inc. +wanggou + +// watch : 2013-11-14 Binky Moon, LLC +watch + +// watches : 2014-12-22 Identity Digital Limited +watches + +// weather : 2015-01-08 International Business Machines Corporation +weather + +// weatherchannel : 2015-03-12 International Business Machines Corporation +weatherchannel + +// webcam : 2014-01-23 dot Webcam Limited +webcam + +// weber : 2015-06-04 Saint-Gobain Weber SA +weber + +// website : 2014-04-03 Radix FZC +website + +// wedding : 2014-04-24 Registry Services, LLC +wedding + +// weibo : 2015-03-05 Sina Corporation +weibo + +// weir : 2015-01-29 Weir Group IP Limited +weir + +// whoswho : 2014-02-20 Who's Who Registry +whoswho + +// wien : 2013-10-28 punkt.wien GmbH +wien + +// wiki : 2013-11-07 Top Level Design, LLC +wiki + +// williamhill : 2014-03-13 William Hill Organization Limited +williamhill + +// win : 2014-11-20 First Registry Limited +win + +// windows : 2014-12-18 Microsoft Corporation +windows + +// wine : 2015-06-18 Binky Moon, LLC +wine + +// winners : 2015-07-16 The TJX Companies, Inc. +winners + +// wme : 2014-02-13 William Morris Endeavor Entertainment, LLC +wme + +// wolterskluwer : 2015-08-06 Wolters Kluwer N.V. +wolterskluwer + +// woodside : 2015-07-09 Woodside Petroleum Limited +woodside + +// work : 2013-12-19 Registry Services, LLC +work + +// works : 2013-11-14 Binky Moon, LLC +works + +// world : 2014-06-12 Binky Moon, LLC +world + +// wow : 2015-10-08 Amazon Registry Services, Inc. +wow + +// wtc : 2013-12-19 World Trade Centers Association, Inc. +wtc + +// wtf : 2014-03-06 Binky Moon, LLC +wtf + +// xbox : 2014-12-18 Microsoft Corporation +xbox + +// xerox : 2014-10-24 Xerox DNHC LLC +xerox + +// xfinity : 2015-07-09 Comcast IP Holdings I, LLC +xfinity + +// xihuan : 2015-01-08 Beijing Qihu Keji Co., Ltd. +xihuan + +// xin : 2014-12-11 Elegant Leader Limited +xin + +// xn--11b4c3d : 2015-01-15 VeriSign Sarl +कॉम + +// xn--1ck2e1b : 2015-02-26 Amazon Registry Services, Inc. +セール + +// xn--1qqw23a : 2014-01-09 Guangzhou YU Wei Information Technology Co., Ltd. +佛山 + +// xn--30rr7y : 2014-06-12 Excellent First Limited +慈善 + +// xn--3bst00m : 2013-09-13 Eagle Horizon Limited +集团 + +// xn--3ds443g : 2013-09-08 TLD REGISTRY LIMITED OY +在线 + +// xn--3pxu8k : 2015-01-15 VeriSign Sarl +点看 + +// xn--42c2d9a : 2015-01-15 VeriSign Sarl +คอม + +// xn--45q11c : 2013-11-21 Zodiac Gemini Ltd +八卦 + +// xn--4gbrim : 2013-10-04 Helium TLDs Ltd +موقع + +// xn--55qw42g : 2013-11-08 China Organizational Name Administration Center +公益 + +// xn--55qx5d : 2013-11-14 China Internet Network Information Center (CNNIC) +公司 + +// xn--5su34j936bgsg : 2015-09-03 Shangri‐La International Hotel Management Limited +香格里拉 + +// xn--5tzm5g : 2014-12-22 Global Website TLD Asia Limited +网站 + +// xn--6frz82g : 2013-09-23 Identity Digital Limited +移动 + +// xn--6qq986b3xl : 2013-09-13 Tycoon Treasure Limited +我爱你 + +// xn--80adxhks : 2013-12-19 Foundation for Assistance for Internet Technologies and Infrastructure Development (FAITID) +москва + +// xn--80aqecdr1a : 2015-10-21 Pontificium Consilium de Comunicationibus Socialibus (PCCS) (Pontifical Council for Social Communication) +католик + +// xn--80asehdb : 2013-07-14 CORE Association +онлайн + +// xn--80aswg : 2013-07-14 CORE Association +сайт + +// xn--8y0a063a : 2015-03-26 China United Network Communications Corporation Limited +联通 + +// xn--9dbq2a : 2015-01-15 VeriSign Sarl +קום + +// xn--9et52u : 2014-06-12 RISE VICTORY LIMITED +时尚 + +// xn--9krt00a : 2015-03-12 Sina Corporation +微博 + +// xn--b4w605ferd : 2014-08-07 Temasek Holdings (Private) Limited +淡马锡 + +// xn--bck1b9a5dre4c : 2015-02-26 Amazon Registry Services, Inc. +ファッション + +// xn--c1avg : 2013-11-14 Public Interest Registry +орг + +// xn--c2br7g : 2015-01-15 VeriSign Sarl +नेट + +// xn--cck2b3b : 2015-02-26 Amazon Registry Services, Inc. +ストア + +// xn--cckwcxetd : 2019-12-19 Amazon Registry Services, Inc. +アマゾン + +// xn--cg4bki : 2013-09-27 SAMSUNG SDS CO., LTD +삼성 + +// xn--czr694b : 2014-01-16 Internet DotTrademark Organisation Limited +商标 + +// xn--czrs0t : 2013-12-19 Binky Moon, LLC +商店 + +// xn--czru2d : 2013-11-21 Zodiac Aquarius Limited +商城 + +// xn--d1acj3b : 2013-11-20 The Foundation for Network Initiatives “The Smart Internet” +дети + +// xn--eckvdtc9d : 2014-12-18 Amazon Registry Services, Inc. +ポイント + +// xn--efvy88h : 2014-08-22 Guangzhou YU Wei Information Technology Co., Ltd. +新闻 + +// xn--fct429k : 2015-04-09 Amazon Registry Services, Inc. +家電 + +// xn--fhbei : 2015-01-15 VeriSign Sarl +كوم + +// xn--fiq228c5hs : 2013-09-08 TLD REGISTRY LIMITED OY +中文网 + +// xn--fiq64b : 2013-10-14 CITIC Group Corporation +中信 + +// xn--fjq720a : 2014-05-22 Binky Moon, LLC +娱乐 + +// xn--flw351e : 2014-07-31 Charleston Road Registry Inc. +谷歌 + +// xn--fzys8d69uvgm : 2015-05-14 PCCW Enterprises Limited +電訊盈科 + +// xn--g2xx48c : 2015-01-30 Nawang Heli(Xiamen) Network Service Co., LTD. +购物 + +// xn--gckr3f0f : 2015-02-26 Amazon Registry Services, Inc. +クラウド + +// xn--gk3at1e : 2015-10-08 Amazon Registry Services, Inc. +通販 + +// xn--hxt814e : 2014-05-15 Zodiac Taurus Limited +网店 + +// xn--i1b6b1a6a2e : 2013-11-14 Public Interest Registry +संगठन + +// xn--imr513n : 2014-12-11 Internet DotTrademark Organisation Limited +餐厅 + +// xn--io0a7i : 2013-11-14 China Internet Network Information Center (CNNIC) +网络 + +// xn--j1aef : 2015-01-15 VeriSign Sarl +ком + +// xn--jlq480n2rg : 2019-12-19 Amazon Registry Services, Inc. +亚马逊 + +// xn--jlq61u9w7b : 2015-01-08 Nokia Corporation +诺基亚 + +// xn--jvr189m : 2015-02-26 Amazon Registry Services, Inc. +食品 + +// xn--kcrx77d1x4a : 2014-11-07 Koninklijke Philips N.V. +飞利浦 + +// xn--kput3i : 2014-02-13 Beijing RITT-Net Technology Development Co., Ltd +手机 + +// xn--mgba3a3ejt : 2014-11-20 Aramco Services Company +ارامكو + +// xn--mgba7c0bbn0a : 2015-05-14 Crescent Holding GmbH +العليان + +// xn--mgbaakc7dvf : 2015-09-03 Emirates Telecommunications Corporation (trading as Etisalat) +اتصالات + +// xn--mgbab2bd : 2013-10-31 CORE Association +بازار + +// xn--mgbca7dzdo : 2015-07-30 Abu Dhabi Systems and Information Centre +ابوظبي + +// xn--mgbi4ecexp : 2015-10-21 Pontificium Consilium de Comunicationibus Socialibus (PCCS) (Pontifical Council for Social Communication) +كاثوليك + +// xn--mgbt3dhd : 2014-09-04 Asia Green IT System Bilgisayar San. ve Tic. Ltd. Sti. +همراه + +// xn--mk1bu44c : 2015-01-15 VeriSign Sarl +닷컴 + +// xn--mxtq1m : 2014-03-06 Net-Chinese Co., Ltd. +政府 + +// xn--ngbc5azd : 2013-07-13 International Domain Registry Pty. Ltd. +شبكة + +// xn--ngbe9e0a : 2014-12-04 Kuwait Finance House +بيتك + +// xn--ngbrx : 2015-11-12 League of Arab States +عرب + +// xn--nqv7f : 2013-11-14 Public Interest Registry +机构 + +// xn--nqv7fs00ema : 2013-11-14 Public Interest Registry +组织机构 + +// xn--nyqy26a : 2014-11-07 Stable Tone Limited +健康 + +// xn--otu796d : 2017-08-06 Jiang Yu Liang Cai Technology Company Limited +招聘 + +// xn--p1acf : 2013-12-12 Rusnames Limited +рус + +// xn--pssy2u : 2015-01-15 VeriSign Sarl +大拿 + +// xn--q9jyb4c : 2013-09-17 Charleston Road Registry Inc. +みんな + +// xn--qcka1pmc : 2014-07-31 Charleston Road Registry Inc. +グーグル + +// xn--rhqv96g : 2013-09-11 Stable Tone Limited +世界 + +// xn--rovu88b : 2015-02-26 Amazon Registry Services, Inc. +書籍 + +// xn--ses554g : 2014-01-16 KNET Co., Ltd. +网址 + +// xn--t60b56a : 2015-01-15 VeriSign Sarl +닷넷 + +// xn--tckwe : 2015-01-15 VeriSign Sarl +コム + +// xn--tiq49xqyj : 2015-10-21 Pontificium Consilium de Comunicationibus Socialibus (PCCS) (Pontifical Council for Social Communication) +天主教 + +// xn--unup4y : 2013-07-14 Binky Moon, LLC +游戏 + +// xn--vermgensberater-ctb : 2014-06-23 Deutsche Vermögensberatung Aktiengesellschaft DVAG +vermögensberater + +// xn--vermgensberatung-pwb : 2014-06-23 Deutsche Vermögensberatung Aktiengesellschaft DVAG +vermögensberatung + +// xn--vhquv : 2013-08-27 Binky Moon, LLC +企业 + +// xn--vuq861b : 2014-10-16 Beijing Tele-info Network Technology Co., Ltd. +信息 + +// xn--w4r85el8fhu5dnra : 2015-04-30 Kerry Trading Co. Limited +嘉里大酒店 + +// xn--w4rs40l : 2015-07-30 Kerry Trading Co. Limited +嘉里 + +// xn--xhq521b : 2013-11-14 Guangzhou YU Wei Information Technology Co., Ltd. +广东 + +// xn--zfr164b : 2013-11-08 China Organizational Name Administration Center +政务 + +// xyz : 2013-12-05 XYZ.COM LLC +xyz + +// yachts : 2014-01-09 XYZ.COM LLC +yachts + +// yahoo : 2015-04-02 Oath Inc. +yahoo + +// yamaxun : 2014-12-18 Amazon Registry Services, Inc. +yamaxun + +// yandex : 2014-04-10 Yandex Europe B.V. +yandex + +// yodobashi : 2014-11-20 YODOBASHI CAMERA CO.,LTD. +yodobashi + +// yoga : 2014-05-29 Registry Services, LLC +yoga + +// yokohama : 2013-12-12 GMO Registry, Inc. +yokohama + +// you : 2015-04-09 Amazon Registry Services, Inc. +you + +// youtube : 2014-05-01 Charleston Road Registry Inc. +youtube + +// yun : 2015-01-08 Beijing Qihu Keji Co., Ltd. +yun + +// zappos : 2015-06-25 Amazon Registry Services, Inc. +zappos + +// zara : 2014-11-07 Industria de Diseño Textil, S.A. (INDITEX, S.A.) +zara + +// zero : 2014-12-18 Amazon Registry Services, Inc. +zero + +// zip : 2014-05-08 Charleston Road Registry Inc. +zip + +// zone : 2013-11-14 Binky Moon, LLC +zone + +// zuerich : 2014-11-07 Kanton Zürich (Canton of Zurich) +zuerich + + +// ===END ICANN DOMAINS=== +// ===BEGIN PRIVATE DOMAINS=== +// (Note: these are in alphabetical order by company name) + +// 1GB LLC : https://www.1gb.ua/ +// Submitted by 1GB LLC +cc.ua +inf.ua +ltd.ua + +// 611coin : https://611project.org/ +611.to + +// Aaron Marais' Gitlab pages: https://lab.aaronleem.co.za +// Submitted by Aaron Marais +graphox.us + +// accesso Technology Group, plc. : https://accesso.com/ +// Submitted by accesso Team +*.devcdnaccesso.com + +// Acorn Labs : https://acorn.io +// Submitted by Craig Jellick +*.on-acorn.io + +// ActiveTrail: https://www.activetrail.biz/ +// Submitted by Ofer Kalaora +activetrail.biz + +// Adobe : https://www.adobe.com/ +// Submitted by Ian Boston and Lars Trieloff +adobeaemcloud.com +*.dev.adobeaemcloud.com +hlx.live +adobeaemcloud.net +hlx.page +hlx3.page + +// Agnat sp. z o.o. : https://domena.pl +// Submitted by Przemyslaw Plewa +beep.pl + +// Airkit : https://www.airkit.com/ +// Submitted by Grant Cooksey +airkitapps.com +airkitapps-au.com +airkitapps.eu + +// Aiven: https://aiven.io/ +// Submitted by Etienne Stalmans +aivencloud.com + +// alboto.ca : http://alboto.ca +// Submitted by Anton Avramov +barsy.ca + +// Alces Software Ltd : http://alces-software.com +// Submitted by Mark J. Titorenko +*.compute.estate +*.alces.network + +// all-inkl.com : https://all-inkl.com +// Submitted by Werner Kaltofen +kasserver.com + +// Altervista: https://www.altervista.org +// Submitted by Carlo Cannas +altervista.org + +// alwaysdata : https://www.alwaysdata.com +// Submitted by Cyril +alwaysdata.net + +// Amaze Software : https://amaze.co +// Submitted by Domain Admin +myamaze.net + +// Amazon : https://www.amazon.com/ +// Submitted by AWS Security +// Subsections of Amazon/subsidiaries will appear until "concludes" tag + +// Amazon CloudFront +// Submitted by Donavan Miller +// Reference: 54144616-fd49-4435-8535-19c6a601bdb3 +cloudfront.net + +// Amazon EC2 +// Submitted by Luke Wells +// Reference: 4c38fa71-58ac-4768-99e5-689c1767e537 +*.compute.amazonaws.com +*.compute-1.amazonaws.com +*.compute.amazonaws.com.cn +us-east-1.amazonaws.com + +// Amazon S3 +// Submitted by Luke Wells +// Reference: d068bd97-f0a9-4838-a6d8-954b622ef4ae +s3.cn-north-1.amazonaws.com.cn +s3.dualstack.ap-northeast-1.amazonaws.com +s3.dualstack.ap-northeast-2.amazonaws.com +s3.ap-northeast-2.amazonaws.com +s3-website.ap-northeast-2.amazonaws.com +s3.dualstack.ap-south-1.amazonaws.com +s3.ap-south-1.amazonaws.com +s3-website.ap-south-1.amazonaws.com +s3.dualstack.ap-southeast-1.amazonaws.com +s3.dualstack.ap-southeast-2.amazonaws.com +s3.dualstack.ca-central-1.amazonaws.com +s3.ca-central-1.amazonaws.com +s3-website.ca-central-1.amazonaws.com +s3.dualstack.eu-central-1.amazonaws.com +s3.eu-central-1.amazonaws.com +s3-website.eu-central-1.amazonaws.com +s3.dualstack.eu-west-1.amazonaws.com +s3.dualstack.eu-west-2.amazonaws.com +s3.eu-west-2.amazonaws.com +s3-website.eu-west-2.amazonaws.com +s3.dualstack.eu-west-3.amazonaws.com +s3.eu-west-3.amazonaws.com +s3-website.eu-west-3.amazonaws.com +s3.amazonaws.com +s3-ap-northeast-1.amazonaws.com +s3-ap-northeast-2.amazonaws.com +s3-ap-south-1.amazonaws.com +s3-ap-southeast-1.amazonaws.com +s3-ap-southeast-2.amazonaws.com +s3-ca-central-1.amazonaws.com +s3-eu-central-1.amazonaws.com +s3-eu-west-1.amazonaws.com +s3-eu-west-2.amazonaws.com +s3-eu-west-3.amazonaws.com +s3-external-1.amazonaws.com +s3-fips-us-gov-west-1.amazonaws.com +s3-sa-east-1.amazonaws.com +s3-us-east-2.amazonaws.com +s3-us-gov-west-1.amazonaws.com +s3-us-west-1.amazonaws.com +s3-us-west-2.amazonaws.com +s3-website-ap-northeast-1.amazonaws.com +s3-website-ap-southeast-1.amazonaws.com +s3-website-ap-southeast-2.amazonaws.com +s3-website-eu-west-1.amazonaws.com +s3-website-sa-east-1.amazonaws.com +s3-website-us-east-1.amazonaws.com +s3-website-us-west-1.amazonaws.com +s3-website-us-west-2.amazonaws.com +s3.dualstack.sa-east-1.amazonaws.com +s3.dualstack.us-east-1.amazonaws.com +s3.dualstack.us-east-2.amazonaws.com +s3.us-east-2.amazonaws.com +s3-website.us-east-2.amazonaws.com + +// AWS Cloud9 +// Submitted by: AWS Security +// Reference: 2b6dfa9a-3a7f-4367-b2e7-0321e77c0d59 +vfs.cloud9.af-south-1.amazonaws.com +webview-assets.cloud9.af-south-1.amazonaws.com +vfs.cloud9.ap-east-1.amazonaws.com +webview-assets.cloud9.ap-east-1.amazonaws.com +vfs.cloud9.ap-northeast-1.amazonaws.com +webview-assets.cloud9.ap-northeast-1.amazonaws.com +vfs.cloud9.ap-northeast-2.amazonaws.com +webview-assets.cloud9.ap-northeast-2.amazonaws.com +vfs.cloud9.ap-northeast-3.amazonaws.com +webview-assets.cloud9.ap-northeast-3.amazonaws.com +vfs.cloud9.ap-south-1.amazonaws.com +webview-assets.cloud9.ap-south-1.amazonaws.com +vfs.cloud9.ap-southeast-1.amazonaws.com +webview-assets.cloud9.ap-southeast-1.amazonaws.com +vfs.cloud9.ap-southeast-2.amazonaws.com +webview-assets.cloud9.ap-southeast-2.amazonaws.com +vfs.cloud9.ca-central-1.amazonaws.com +webview-assets.cloud9.ca-central-1.amazonaws.com +vfs.cloud9.eu-central-1.amazonaws.com +webview-assets.cloud9.eu-central-1.amazonaws.com +vfs.cloud9.eu-north-1.amazonaws.com +webview-assets.cloud9.eu-north-1.amazonaws.com +vfs.cloud9.eu-south-1.amazonaws.com +webview-assets.cloud9.eu-south-1.amazonaws.com +vfs.cloud9.eu-west-1.amazonaws.com +webview-assets.cloud9.eu-west-1.amazonaws.com +vfs.cloud9.eu-west-2.amazonaws.com +webview-assets.cloud9.eu-west-2.amazonaws.com +vfs.cloud9.eu-west-3.amazonaws.com +webview-assets.cloud9.eu-west-3.amazonaws.com +vfs.cloud9.me-south-1.amazonaws.com +webview-assets.cloud9.me-south-1.amazonaws.com +vfs.cloud9.sa-east-1.amazonaws.com +webview-assets.cloud9.sa-east-1.amazonaws.com +vfs.cloud9.us-east-1.amazonaws.com +webview-assets.cloud9.us-east-1.amazonaws.com +vfs.cloud9.us-east-2.amazonaws.com +webview-assets.cloud9.us-east-2.amazonaws.com +vfs.cloud9.us-west-1.amazonaws.com +webview-assets.cloud9.us-west-1.amazonaws.com +vfs.cloud9.us-west-2.amazonaws.com +webview-assets.cloud9.us-west-2.amazonaws.com + +// AWS Elastic Beanstalk +// Submitted by Luke Wells +// Reference: aa202394-43a0-4857-b245-8db04549137e +cn-north-1.eb.amazonaws.com.cn +cn-northwest-1.eb.amazonaws.com.cn +elasticbeanstalk.com +ap-northeast-1.elasticbeanstalk.com +ap-northeast-2.elasticbeanstalk.com +ap-northeast-3.elasticbeanstalk.com +ap-south-1.elasticbeanstalk.com +ap-southeast-1.elasticbeanstalk.com +ap-southeast-2.elasticbeanstalk.com +ca-central-1.elasticbeanstalk.com +eu-central-1.elasticbeanstalk.com +eu-west-1.elasticbeanstalk.com +eu-west-2.elasticbeanstalk.com +eu-west-3.elasticbeanstalk.com +sa-east-1.elasticbeanstalk.com +us-east-1.elasticbeanstalk.com +us-east-2.elasticbeanstalk.com +us-gov-west-1.elasticbeanstalk.com +us-west-1.elasticbeanstalk.com +us-west-2.elasticbeanstalk.com + +// (AWS) Elastic Load Balancing +// Submitted by Luke Wells +// Reference: 12a3d528-1bac-4433-a359-a395867ffed2 +*.elb.amazonaws.com.cn +*.elb.amazonaws.com + +// AWS Global Accelerator +// Submitted by Daniel Massaguer +// Reference: d916759d-a08b-4241-b536-4db887383a6a +awsglobalaccelerator.com + +// eero +// Submitted by Yue Kang +// Reference: 264afe70-f62c-4c02-8ab9-b5281ed24461 +eero.online +eero-stage.online + +// concludes Amazon + +// Amune : https://amune.org/ +// Submitted by Team Amune +t3l3p0rt.net +tele.amune.org + +// Apigee : https://apigee.com/ +// Submitted by Apigee Security Team +apigee.io + +// Apphud : https://apphud.com +// Submitted by Alexander Selivanov +siiites.com + +// Appspace : https://www.appspace.com +// Submitted by Appspace Security Team +appspacehosted.com +appspaceusercontent.com + +// Appudo UG (haftungsbeschränkt) : https://www.appudo.com +// Submitted by Alexander Hochbaum +appudo.net + +// Aptible : https://www.aptible.com/ +// Submitted by Thomas Orozco +on-aptible.com + +// ASEINet : https://www.aseinet.com/ +// Submitted by Asei SEKIGUCHI +user.aseinet.ne.jp +gv.vc +d.gv.vc + +// Asociación Amigos de la Informática "Euskalamiga" : http://encounter.eus/ +// Submitted by Hector Martin +user.party.eus + +// Association potager.org : https://potager.org/ +// Submitted by Lunar +pimienta.org +poivron.org +potager.org +sweetpepper.org + +// ASUSTOR Inc. : http://www.asustor.com +// Submitted by Vincent Tseng +myasustor.com + +// Atlassian : https://atlassian.com +// Submitted by Sam Smyth +cdn.prod.atlassian-dev.net + +// Authentick UG (haftungsbeschränkt) : https://authentick.net +// Submitted by Lukas Reschke +translated.page + +// AVM : https://avm.de +// Submitted by Andreas Weise +myfritz.net + +// AVStack Pte. Ltd. : https://avstack.io +// Submitted by Jasper Hugo +onavstack.net + +// AW AdvisorWebsites.com Software Inc : https://advisorwebsites.com +// Submitted by James Kennedy +*.awdev.ca +*.advisor.ws + +// AZ.pl sp. z.o.o: https://az.pl +// Submitted by Krzysztof Wolski +ecommerce-shop.pl + +// b-data GmbH : https://www.b-data.io +// Submitted by Olivier Benz +b-data.io + +// backplane : https://www.backplane.io +// Submitted by Anthony Voutas +backplaneapp.io + +// Balena : https://www.balena.io +// Submitted by Petros Angelatos +balena-devices.com + +// University of Banja Luka : https://unibl.org +// Domains for Republic of Srpska administrative entity. +// Submitted by Marko Ivanovic +rs.ba + +// Banzai Cloud +// Submitted by Janos Matyas +*.banzai.cloud +app.banzaicloud.io +*.backyards.banzaicloud.io + +// BASE, Inc. : https://binc.jp +// Submitted by Yuya NAGASAWA +base.ec +official.ec +buyshop.jp +fashionstore.jp +handcrafted.jp +kawaiishop.jp +supersale.jp +theshop.jp +shopselect.net +base.shop + +// BeagleBoard.org Foundation : https://beagleboard.org +// Submitted by Jason Kridner +beagleboard.io + +// Beget Ltd +// Submitted by Lev Nekrasov +*.beget.app + +// BetaInABox +// Submitted by Adrian +betainabox.com + +// BinaryLane : http://www.binarylane.com +// Submitted by Nathan O'Sullivan +bnr.la + +// Bitbucket : http://bitbucket.org +// Submitted by Andy Ortlieb +bitbucket.io + +// Blackbaud, Inc. : https://www.blackbaud.com +// Submitted by Paul Crowder +blackbaudcdn.net + +// Blatech : http://www.blatech.net +// Submitted by Luke Bratch +of.je + +// Blue Bite, LLC : https://bluebite.com +// Submitted by Joshua Weiss +bluebite.io + +// Boomla : https://boomla.com +// Submitted by Tibor Halter +boomla.net + +// Boutir : https://www.boutir.com +// Submitted by Eric Ng Ka Ka +boutir.com + +// Boxfuse : https://boxfuse.com +// Submitted by Axel Fontaine +boxfuse.io + +// bplaced : https://www.bplaced.net/ +// Submitted by Miroslav Bozic +square7.ch +bplaced.com +bplaced.de +square7.de +bplaced.net +square7.net + +// Brendly : https://brendly.rs +// Submitted by Dusan Radovanovic +shop.brendly.rs + +// BrowserSafetyMark +// Submitted by Dave Tharp +browsersafetymark.io + +// Bytemark Hosting : https://www.bytemark.co.uk +// Submitted by Paul Cammish +uk0.bigv.io +dh.bytemark.co.uk +vm.bytemark.co.uk + +// Caf.js Labs LLC : https://www.cafjs.com +// Submitted by Antonio Lain +cafjs.com + +// callidomus : https://www.callidomus.com/ +// Submitted by Marcus Popp +mycd.eu + +// Carrd : https://carrd.co +// Submitted by AJ +drr.ac +uwu.ai +carrd.co +crd.co +ju.mp + +// CentralNic : http://www.centralnic.com/names/domains +// Submitted by registry +ae.org +br.com +cn.com +com.de +com.se +de.com +eu.com +gb.net +hu.net +jp.net +jpn.com +mex.com +ru.com +sa.com +se.net +uk.com +uk.net +us.com +za.bz +za.com + +// No longer operated by CentralNic, these entries should be adopted and/or removed by current operators +// Submitted by Gavin Brown +ar.com +hu.com +kr.com +no.com +qc.com +uy.com + +// Africa.com Web Solutions Ltd : https://registry.africa.com +// Submitted by Gavin Brown +africa.com + +// iDOT Services Limited : http://www.domain.gr.com +// Submitted by Gavin Brown +gr.com + +// Radix FZC : http://domains.in.net +// Submitted by Gavin Brown +in.net +web.in + +// US REGISTRY LLC : http://us.org +// Submitted by Gavin Brown +us.org + +// co.com Registry, LLC : https://registry.co.com +// Submitted by Gavin Brown +co.com + +// Roar Domains LLC : https://roar.basketball/ +// Submitted by Gavin Brown +aus.basketball +nz.basketball + +// BRS Media : https://brsmedia.com/ +// Submitted by Gavin Brown +radio.am +radio.fm + +// c.la : http://www.c.la/ +c.la + +// certmgr.org : https://certmgr.org +// Submitted by B. Blechschmidt +certmgr.org + +// Cityhost LLC : https://cityhost.ua +// Submitted by Maksym Rivtin +cx.ua + +// Civilized Discourse Construction Kit, Inc. : https://www.discourse.org/ +// Submitted by Rishabh Nambiar & Michael Brown +discourse.group +discourse.team + +// Clever Cloud : https://www.clever-cloud.com/ +// Submitted by Quentin Adam +cleverapps.io + +// Clerk : https://www.clerk.dev +// Submitted by Colin Sidoti +clerk.app +clerkstage.app +*.lcl.dev +*.lclstage.dev +*.stg.dev +*.stgstage.dev + +// ClickRising : https://clickrising.com/ +// Submitted by Umut Gumeli +clickrising.net + +// Cloud66 : https://www.cloud66.com/ +// Submitted by Khash Sajadi +c66.me +cloud66.ws +cloud66.zone + +// CloudAccess.net : https://www.cloudaccess.net/ +// Submitted by Pawel Panek +jdevcloud.com +wpdevcloud.com +cloudaccess.host +freesite.host +cloudaccess.net + +// cloudControl : https://www.cloudcontrol.com/ +// Submitted by Tobias Wilken +cloudcontrolled.com +cloudcontrolapp.com + +// Cloudera, Inc. : https://www.cloudera.com/ +// Submitted by Kedarnath Waikar +*.cloudera.site + +// Cloudflare, Inc. : https://www.cloudflare.com/ +// Submitted by Cloudflare Team +cf-ipfs.com +cloudflare-ipfs.com +trycloudflare.com +pages.dev +r2.dev +workers.dev + +// Clovyr : https://clovyr.io +// Submitted by Patrick Nielsen +wnext.app + +// co.ca : http://registry.co.ca/ +co.ca + +// Co & Co : https://co-co.nl/ +// Submitted by Govert Versluis +*.otap.co + +// i-registry s.r.o. : http://www.i-registry.cz/ +// Submitted by Martin Semrad +co.cz + +// CDN77.com : http://www.cdn77.com +// Submitted by Jan Krpes +c.cdn77.org +cdn77-ssl.net +r.cdn77.net +rsc.cdn77.org +ssl.origin.cdn77-secure.org + +// Cloud DNS Ltd : http://www.cloudns.net +// Submitted by Aleksander Hristov +cloudns.asia +cloudns.biz +cloudns.club +cloudns.cc +cloudns.eu +cloudns.in +cloudns.info +cloudns.org +cloudns.pro +cloudns.pw +cloudns.us + +// CNPY : https://cnpy.gdn +// Submitted by Angelo Gladding +cnpy.gdn + +// Codeberg e. V. : https://codeberg.org +// Submitted by Moritz Marquardt +codeberg.page + +// CoDNS B.V. +co.nl +co.no + +// Combell.com : https://www.combell.com +// Submitted by Thomas Wouters +webhosting.be +hosting-cluster.nl + +// Coordination Center for TLD RU and XN--P1AI : https://cctld.ru/en/domains/domens_ru/reserved/ +// Submitted by George Georgievsky +ac.ru +edu.ru +gov.ru +int.ru +mil.ru +test.ru + +// COSIMO GmbH : http://www.cosimo.de +// Submitted by Rene Marticke +dyn.cosidns.de +dynamisches-dns.de +dnsupdater.de +internet-dns.de +l-o-g-i-n.de +dynamic-dns.info +feste-ip.net +knx-server.net +static-access.net + +// Craynic, s.r.o. : http://www.craynic.com/ +// Submitted by Ales Krajnik +realm.cz + +// Cryptonomic : https://cryptonomic.net/ +// Submitted by Andrew Cady +*.cryptonomic.net + +// Cupcake : https://cupcake.io/ +// Submitted by Jonathan Rudenberg +cupcake.is + +// Curv UG : https://curv-labs.de/ +// Submitted by Marvin Wiesner +curv.dev + +// Customer OCI - Oracle Dyn https://cloud.oracle.com/home https://dyn.com/dns/ +// Submitted by Gregory Drake +// Note: This is intended to also include customer-oci.com due to wildcards implicitly including the current label +*.customer-oci.com +*.oci.customer-oci.com +*.ocp.customer-oci.com +*.ocs.customer-oci.com + +// cyon GmbH : https://www.cyon.ch/ +// Submitted by Dominic Luechinger +cyon.link +cyon.site + +// Danger Science Group: https://dangerscience.com/ +// Submitted by Skylar MacDonald +fnwk.site +folionetwork.site +platform0.app + +// Daplie, Inc : https://daplie.com +// Submitted by AJ ONeal +daplie.me +localhost.daplie.me + +// Datto, Inc. : https://www.datto.com/ +// Submitted by Philipp Heckel +dattolocal.com +dattorelay.com +dattoweb.com +mydatto.com +dattolocal.net +mydatto.net + +// Dansk.net : http://www.dansk.net/ +// Submitted by Anani Voule +biz.dk +co.dk +firm.dk +reg.dk +store.dk + +// dappnode.io : https://dappnode.io/ +// Submitted by Abel Boldu / DAppNode Team +dyndns.dappnode.io + +// dapps.earth : https://dapps.earth/ +// Submitted by Daniil Burdakov +*.dapps.earth +*.bzz.dapps.earth + +// Dark, Inc. : https://darklang.com +// Submitted by Paul Biggar +builtwithdark.com + +// DataDetect, LLC. : https://datadetect.com +// Submitted by Andrew Banchich +demo.datadetect.com +instance.datadetect.com + +// Datawire, Inc : https://www.datawire.io +// Submitted by Richard Li +edgestack.me + +// DDNS5 : https://ddns5.com +// Submitted by Cameron Elliott +ddns5.com + +// Debian : https://www.debian.org/ +// Submitted by Peter Palfrader / Debian Sysadmin Team +debian.net + +// Deno Land Inc : https://deno.com/ +// Submitted by Luca Casonato +deno.dev +deno-staging.dev + +// deSEC : https://desec.io/ +// Submitted by Peter Thomassen +dedyn.io + +// Deta: https://www.deta.sh/ +// Submitted by Aavash Shrestha +deta.app +deta.dev + +// Diher Solutions : https://diher.solutions +// Submitted by Didi Hermawan +*.rss.my.id +*.diher.solutions + +// Discord Inc : https://discord.com +// Submitted by Sahn Lam +discordsays.com +discordsez.com + +// DNS Africa Ltd https://dns.business +// Submitted by Calvin Browne +jozi.biz + +// DNShome : https://www.dnshome.de/ +// Submitted by Norbert Auler +dnshome.de + +// DotArai : https://www.dotarai.com/ +// Submitted by Atsadawat Netcharadsang +online.th +shop.th + +// DrayTek Corp. : https://www.draytek.com/ +// Submitted by Paul Fang +drayddns.com + +// DreamCommerce : https://shoper.pl/ +// Submitted by Konrad Kotarba +shoparena.pl + +// DreamHost : http://www.dreamhost.com/ +// Submitted by Andrew Farmer +dreamhosters.com + +// Drobo : http://www.drobo.com/ +// Submitted by Ricardo Padilha +mydrobo.com + +// Drud Holdings, LLC. : https://www.drud.com/ +// Submitted by Kevin Bridges +drud.io +drud.us + +// DuckDNS : http://www.duckdns.org/ +// Submitted by Richard Harper +duckdns.org + +// Bip : https://bip.sh +// Submitted by Joel Kennedy +bip.sh + +// bitbridge.net : Submitted by Craig Welch, abeliidev@gmail.com +bitbridge.net + +// dy.fi : http://dy.fi/ +// Submitted by Heikki Hannikainen +dy.fi +tunk.org + +// DynDNS.com : http://www.dyndns.com/services/dns/dyndns/ +dyndns-at-home.com +dyndns-at-work.com +dyndns-blog.com +dyndns-free.com +dyndns-home.com +dyndns-ip.com +dyndns-mail.com +dyndns-office.com +dyndns-pics.com +dyndns-remote.com +dyndns-server.com +dyndns-web.com +dyndns-wiki.com +dyndns-work.com +dyndns.biz +dyndns.info +dyndns.org +dyndns.tv +at-band-camp.net +ath.cx +barrel-of-knowledge.info +barrell-of-knowledge.info +better-than.tv +blogdns.com +blogdns.net +blogdns.org +blogsite.org +boldlygoingnowhere.org +broke-it.net +buyshouses.net +cechire.com +dnsalias.com +dnsalias.net +dnsalias.org +dnsdojo.com +dnsdojo.net +dnsdojo.org +does-it.net +doesntexist.com +doesntexist.org +dontexist.com +dontexist.net +dontexist.org +doomdns.com +doomdns.org +dvrdns.org +dyn-o-saur.com +dynalias.com +dynalias.net +dynalias.org +dynathome.net +dyndns.ws +endofinternet.net +endofinternet.org +endoftheinternet.org +est-a-la-maison.com +est-a-la-masion.com +est-le-patron.com +est-mon-blogueur.com +for-better.biz +for-more.biz +for-our.info +for-some.biz +for-the.biz +forgot.her.name +forgot.his.name +from-ak.com +from-al.com +from-ar.com +from-az.net +from-ca.com +from-co.net +from-ct.com +from-dc.com +from-de.com +from-fl.com +from-ga.com +from-hi.com +from-ia.com +from-id.com +from-il.com +from-in.com +from-ks.com +from-ky.com +from-la.net +from-ma.com +from-md.com +from-me.org +from-mi.com +from-mn.com +from-mo.com +from-ms.com +from-mt.com +from-nc.com +from-nd.com +from-ne.com +from-nh.com +from-nj.com +from-nm.com +from-nv.com +from-ny.net +from-oh.com +from-ok.com +from-or.com +from-pa.com +from-pr.com +from-ri.com +from-sc.com +from-sd.com +from-tn.com +from-tx.com +from-ut.com +from-va.com +from-vt.com +from-wa.com +from-wi.com +from-wv.com +from-wy.com +ftpaccess.cc +fuettertdasnetz.de +game-host.org +game-server.cc +getmyip.com +gets-it.net +go.dyndns.org +gotdns.com +gotdns.org +groks-the.info +groks-this.info +ham-radio-op.net +here-for-more.info +hobby-site.com +hobby-site.org +home.dyndns.org +homedns.org +homeftp.net +homeftp.org +homeip.net +homelinux.com +homelinux.net +homelinux.org +homeunix.com +homeunix.net +homeunix.org +iamallama.com +in-the-band.net +is-a-anarchist.com +is-a-blogger.com +is-a-bookkeeper.com +is-a-bruinsfan.org +is-a-bulls-fan.com +is-a-candidate.org +is-a-caterer.com +is-a-celticsfan.org +is-a-chef.com +is-a-chef.net +is-a-chef.org +is-a-conservative.com +is-a-cpa.com +is-a-cubicle-slave.com +is-a-democrat.com +is-a-designer.com +is-a-doctor.com +is-a-financialadvisor.com +is-a-geek.com +is-a-geek.net +is-a-geek.org +is-a-green.com +is-a-guru.com +is-a-hard-worker.com +is-a-hunter.com +is-a-knight.org +is-a-landscaper.com +is-a-lawyer.com +is-a-liberal.com +is-a-libertarian.com +is-a-linux-user.org +is-a-llama.com +is-a-musician.com +is-a-nascarfan.com +is-a-nurse.com +is-a-painter.com +is-a-patsfan.org +is-a-personaltrainer.com +is-a-photographer.com +is-a-player.com +is-a-republican.com +is-a-rockstar.com +is-a-socialist.com +is-a-soxfan.org +is-a-student.com +is-a-teacher.com +is-a-techie.com +is-a-therapist.com +is-an-accountant.com +is-an-actor.com +is-an-actress.com +is-an-anarchist.com +is-an-artist.com +is-an-engineer.com +is-an-entertainer.com +is-by.us +is-certified.com +is-found.org +is-gone.com +is-into-anime.com +is-into-cars.com +is-into-cartoons.com +is-into-games.com +is-leet.com +is-lost.org +is-not-certified.com +is-saved.org +is-slick.com +is-uberleet.com +is-very-bad.org +is-very-evil.org +is-very-good.org +is-very-nice.org +is-very-sweet.org +is-with-theband.com +isa-geek.com +isa-geek.net +isa-geek.org +isa-hockeynut.com +issmarterthanyou.com +isteingeek.de +istmein.de +kicks-ass.net +kicks-ass.org +knowsitall.info +land-4-sale.us +lebtimnetz.de +leitungsen.de +likes-pie.com +likescandy.com +merseine.nu +mine.nu +misconfused.org +mypets.ws +myphotos.cc +neat-url.com +office-on-the.net +on-the-web.tv +podzone.net +podzone.org +readmyblog.org +saves-the-whales.com +scrapper-site.net +scrapping.cc +selfip.biz +selfip.com +selfip.info +selfip.net +selfip.org +sells-for-less.com +sells-for-u.com +sells-it.net +sellsyourhome.org +servebbs.com +servebbs.net +servebbs.org +serveftp.net +serveftp.org +servegame.org +shacknet.nu +simple-url.com +space-to-rent.com +stuff-4-sale.org +stuff-4-sale.us +teaches-yoga.com +thruhere.net +traeumtgerade.de +webhop.biz +webhop.info +webhop.net +webhop.org +worse-than.tv +writesthisblog.com + +// ddnss.de : https://www.ddnss.de/ +// Submitted by Robert Niedziela +ddnss.de +dyn.ddnss.de +dyndns.ddnss.de +dyndns1.de +dyn-ip24.de +home-webserver.de +dyn.home-webserver.de +myhome-server.de +ddnss.org + +// Definima : http://www.definima.com/ +// Submitted by Maxence Bitterli +definima.net +definima.io + +// DigitalOcean App Platform : https://www.digitalocean.com/products/app-platform/ +// Submitted by Braxton Huggins +ondigitalocean.app + +// DigitalOcean Spaces : https://www.digitalocean.com/products/spaces/ +// Submitted by Robin H. Johnson +*.digitaloceanspaces.com + +// dnstrace.pro : https://dnstrace.pro/ +// Submitted by Chris Partridge +bci.dnstrace.pro + +// Dynu.com : https://www.dynu.com/ +// Submitted by Sue Ye +ddnsfree.com +ddnsgeek.com +giize.com +gleeze.com +kozow.com +loseyourip.com +ooguy.com +theworkpc.com +casacam.net +dynu.net +accesscam.org +camdvr.org +freeddns.org +mywire.org +webredirect.org +myddns.rocks +blogsite.xyz + +// dynv6 : https://dynv6.com +// Submitted by Dominik Menke +dynv6.net + +// E4YOU spol. s.r.o. : https://e4you.cz/ +// Submitted by Vladimir Dudr +e4.cz + +// Easypanel : https://easypanel.io +// Submitted by Andrei Canta +easypanel.app +easypanel.host + +// Elementor : Elementor Ltd. +// Submitted by Anton Barkan +elementor.cloud +elementor.cool + +// En root‽ : https://en-root.org +// Submitted by Emmanuel Raviart +en-root.fr + +// Enalean SAS: https://www.enalean.com +// Submitted by Thomas Cottier +mytuleap.com +tuleap-partners.com + +// Encoretivity AB: https://encore.dev +// Submitted by André Eriksson +encr.app +encoreapi.com + +// ECG Robotics, Inc: https://ecgrobotics.org +// Submitted by +onred.one +staging.onred.one + +// encoway GmbH : https://www.encoway.de +// Submitted by Marcel Daus +eu.encoway.cloud + +// EU.org https://eu.org/ +// Submitted by Pierre Beyssac +eu.org +al.eu.org +asso.eu.org +at.eu.org +au.eu.org +be.eu.org +bg.eu.org +ca.eu.org +cd.eu.org +ch.eu.org +cn.eu.org +cy.eu.org +cz.eu.org +de.eu.org +dk.eu.org +edu.eu.org +ee.eu.org +es.eu.org +fi.eu.org +fr.eu.org +gr.eu.org +hr.eu.org +hu.eu.org +ie.eu.org +il.eu.org +in.eu.org +int.eu.org +is.eu.org +it.eu.org +jp.eu.org +kr.eu.org +lt.eu.org +lu.eu.org +lv.eu.org +mc.eu.org +me.eu.org +mk.eu.org +mt.eu.org +my.eu.org +net.eu.org +ng.eu.org +nl.eu.org +no.eu.org +nz.eu.org +paris.eu.org +pl.eu.org +pt.eu.org +q-a.eu.org +ro.eu.org +ru.eu.org +se.eu.org +si.eu.org +sk.eu.org +tr.eu.org +uk.eu.org +us.eu.org + +// Eurobyte : https://eurobyte.ru +// Submitted by Evgeniy Subbotin +eurodir.ru + +// Evennode : http://www.evennode.com/ +// Submitted by Michal Kralik +eu-1.evennode.com +eu-2.evennode.com +eu-3.evennode.com +eu-4.evennode.com +us-1.evennode.com +us-2.evennode.com +us-3.evennode.com +us-4.evennode.com + +// eDirect Corp. : https://hosting.url.com.tw/ +// Submitted by C.S. chang +twmail.cc +twmail.net +twmail.org +mymailer.com.tw +url.tw + +// Fabrica Technologies, Inc. : https://www.fabrica.dev/ +// Submitted by Eric Jiang +onfabrica.com + +// Facebook, Inc. +// Submitted by Peter Ruibal +apps.fbsbx.com + +// FAITID : https://faitid.org/ +// Submitted by Maxim Alzoba +// https://www.flexireg.net/stat_info +ru.net +adygeya.ru +bashkiria.ru +bir.ru +cbg.ru +com.ru +dagestan.ru +grozny.ru +kalmykia.ru +kustanai.ru +marine.ru +mordovia.ru +msk.ru +mytis.ru +nalchik.ru +nov.ru +pyatigorsk.ru +spb.ru +vladikavkaz.ru +vladimir.ru +abkhazia.su +adygeya.su +aktyubinsk.su +arkhangelsk.su +armenia.su +ashgabad.su +azerbaijan.su +balashov.su +bashkiria.su +bryansk.su +bukhara.su +chimkent.su +dagestan.su +east-kazakhstan.su +exnet.su +georgia.su +grozny.su +ivanovo.su +jambyl.su +kalmykia.su +kaluga.su +karacol.su +karaganda.su +karelia.su +khakassia.su +krasnodar.su +kurgan.su +kustanai.su +lenug.su +mangyshlak.su +mordovia.su +msk.su +murmansk.su +nalchik.su +navoi.su +north-kazakhstan.su +nov.su +obninsk.su +penza.su +pokrovsk.su +sochi.su +spb.su +tashkent.su +termez.su +togliatti.su +troitsk.su +tselinograd.su +tula.su +tuva.su +vladikavkaz.su +vladimir.su +vologda.su + +// Fancy Bits, LLC : http://getchannels.com +// Submitted by Aman Gupta +channelsdvr.net +u.channelsdvr.net + +// Fastly Inc. : http://www.fastly.com/ +// Submitted by Fastly Security +edgecompute.app +fastly-terrarium.com +fastlylb.net +map.fastlylb.net +freetls.fastly.net +map.fastly.net +a.prod.fastly.net +global.prod.fastly.net +a.ssl.fastly.net +b.ssl.fastly.net +global.ssl.fastly.net + +// Fastmail : https://www.fastmail.com/ +// Submitted by Marc Bradshaw +*.user.fm + +// FASTVPS EESTI OU : https://fastvps.ru/ +// Submitted by Likhachev Vasiliy +fastvps-server.com +fastvps.host +myfast.host +fastvps.site +myfast.space + +// Fedora : https://fedoraproject.org/ +// submitted by Patrick Uiterwijk +fedorainfracloud.org +fedorapeople.org +cloud.fedoraproject.org +app.os.fedoraproject.org +app.os.stg.fedoraproject.org + +// FearWorks Media Ltd. : https://fearworksmedia.co.uk +// submitted by Keith Fairley +conn.uk +copro.uk +hosp.uk + +// Fermax : https://fermax.com/ +// submitted by Koen Van Isterdael +mydobiss.com + +// FH Muenster : https://www.fh-muenster.de +// Submitted by Robin Naundorf +fh-muenster.io + +// Filegear Inc. : https://www.filegear.com +// Submitted by Jason Zhu +filegear.me +filegear-au.me +filegear-de.me +filegear-gb.me +filegear-ie.me +filegear-jp.me +filegear-sg.me + +// Firebase, Inc. +// Submitted by Chris Raynor +firebaseapp.com + +// Firewebkit : https://www.firewebkit.com +// Submitted by Majid Qureshi +fireweb.app + +// FLAP : https://www.flap.cloud +// Submitted by Louis Chemineau +flap.id + +// FlashDrive : https://flashdrive.io +// Submitted by Eric Chan +onflashdrive.app +fldrv.com + +// fly.io: https://fly.io +// Submitted by Kurt Mackey +fly.dev +edgeapp.net +shw.io + +// Flynn : https://flynn.io +// Submitted by Jonathan Rudenberg +flynnhosting.net + +// Forgerock : https://www.forgerock.com +// Submitted by Roderick Parr +forgeblocks.com +id.forgerock.io + +// Framer : https://www.framer.com +// Submitted by Koen Rouwhorst +framer.app +framercanvas.com +framer.media +framer.photos +framer.website +framer.wiki + +// Frusky MEDIA&PR : https://www.frusky.de +// Submitted by Victor Pupynin +*.frusky.de + +// RavPage : https://www.ravpage.co.il +// Submitted by Roni Horowitz +ravpage.co.il + +// Frederik Braun https://frederik-braun.com +// Submitted by Frederik Braun +0e.vc + +// Freebox : http://www.freebox.fr +// Submitted by Romain Fliedel +freebox-os.com +freeboxos.com +fbx-os.fr +fbxos.fr +freebox-os.fr +freeboxos.fr + +// freedesktop.org : https://www.freedesktop.org +// Submitted by Daniel Stone +freedesktop.org + +// freemyip.com : https://freemyip.com +// Submitted by Cadence +freemyip.com + +// FunkFeuer - Verein zur Förderung freier Netze : https://www.funkfeuer.at +// Submitted by Daniel A. Maierhofer +wien.funkfeuer.at + +// Futureweb OG : http://www.futureweb.at +// Submitted by Andreas Schnederle-Wagner +*.futurecms.at +*.ex.futurecms.at +*.in.futurecms.at +futurehosting.at +futuremailing.at +*.ex.ortsinfo.at +*.kunden.ortsinfo.at +*.statics.cloud + +// GDS : https://www.gov.uk/service-manual/technology/managing-domain-names +// Submitted by Stephen Ford +independent-commission.uk +independent-inquest.uk +independent-inquiry.uk +independent-panel.uk +independent-review.uk +public-inquiry.uk +royal-commission.uk +campaign.gov.uk +service.gov.uk + +// CDDO : https://www.gov.uk/guidance/get-an-api-domain-on-govuk +// Submitted by Jamie Tanna +api.gov.uk + +// Gehirn Inc. : https://www.gehirn.co.jp/ +// Submitted by Kohei YOSHIDA +gehirn.ne.jp +usercontent.jp + +// Gentlent, Inc. : https://www.gentlent.com +// Submitted by Tom Klein +gentapps.com +gentlentapis.com +lab.ms +cdn-edges.net + +// Ghost Foundation : https://ghost.org +// Submitted by Matt Hanley +ghost.io + +// GignoSystemJapan: http://gsj.bz +// Submitted by GignoSystemJapan +gsj.bz + +// GitHub, Inc. +// Submitted by Patrick Toomey +githubusercontent.com +githubpreview.dev +github.io + +// GitLab, Inc. +// Submitted by Alex Hanselka +gitlab.io + +// Gitplac.si - https://gitplac.si +// Submitted by Aljaž Starc +gitapp.si +gitpage.si + +// Glitch, Inc : https://glitch.com +// Submitted by Mads Hartmann +glitch.me + +// Global NOG Alliance : https://nogalliance.org/ +// Submitted by Sander Steffann +nog.community + +// Globe Hosting SRL : https://www.globehosting.com/ +// Submitted by Gavin Brown +co.ro +shop.ro + +// GMO Pepabo, Inc. : https://pepabo.com/ +// Submitted by Hosting Div +lolipop.io +angry.jp +babyblue.jp +babymilk.jp +backdrop.jp +bambina.jp +bitter.jp +blush.jp +boo.jp +boy.jp +boyfriend.jp +but.jp +candypop.jp +capoo.jp +catfood.jp +cheap.jp +chicappa.jp +chillout.jp +chips.jp +chowder.jp +chu.jp +ciao.jp +cocotte.jp +coolblog.jp +cranky.jp +cutegirl.jp +daa.jp +deca.jp +deci.jp +digick.jp +egoism.jp +fakefur.jp +fem.jp +flier.jp +floppy.jp +fool.jp +frenchkiss.jp +girlfriend.jp +girly.jp +gloomy.jp +gonna.jp +greater.jp +hacca.jp +heavy.jp +her.jp +hiho.jp +hippy.jp +holy.jp +hungry.jp +icurus.jp +itigo.jp +jellybean.jp +kikirara.jp +kill.jp +kilo.jp +kuron.jp +littlestar.jp +lolipopmc.jp +lolitapunk.jp +lomo.jp +lovepop.jp +lovesick.jp +main.jp +mods.jp +mond.jp +mongolian.jp +moo.jp +namaste.jp +nikita.jp +nobushi.jp +noor.jp +oops.jp +parallel.jp +parasite.jp +pecori.jp +peewee.jp +penne.jp +pepper.jp +perma.jp +pigboat.jp +pinoko.jp +punyu.jp +pupu.jp +pussycat.jp +pya.jp +raindrop.jp +readymade.jp +sadist.jp +schoolbus.jp +secret.jp +staba.jp +stripper.jp +sub.jp +sunnyday.jp +thick.jp +tonkotsu.jp +under.jp +upper.jp +velvet.jp +verse.jp +versus.jp +vivian.jp +watson.jp +weblike.jp +whitesnow.jp +zombie.jp +heteml.net + +// GOV.UK Platform as a Service : https://www.cloud.service.gov.uk/ +// Submitted by Tom Whitwell +cloudapps.digital +london.cloudapps.digital + +// GOV.UK Pay : https://www.payments.service.gov.uk/ +// Submitted by Richard Baker +pymnt.uk + +// UKHomeOffice : https://www.gov.uk/government/organisations/home-office +// Submitted by Jon Shanks +homeoffice.gov.uk + +// GlobeHosting, Inc. +// Submitted by Zoltan Egresi +ro.im + +// GoIP DNS Services : http://www.goip.de +// Submitted by Christian Poulter +goip.de + +// Google, Inc. +// Submitted by Eduardo Vela +run.app +a.run.app +web.app +*.0emm.com +appspot.com +*.r.appspot.com +codespot.com +googleapis.com +googlecode.com +pagespeedmobilizer.com +publishproxy.com +withgoogle.com +withyoutube.com +*.gateway.dev +cloud.goog +translate.goog +*.usercontent.goog +cloudfunctions.net +blogspot.ae +blogspot.al +blogspot.am +blogspot.ba +blogspot.be +blogspot.bg +blogspot.bj +blogspot.ca +blogspot.cf +blogspot.ch +blogspot.cl +blogspot.co.at +blogspot.co.id +blogspot.co.il +blogspot.co.ke +blogspot.co.nz +blogspot.co.uk +blogspot.co.za +blogspot.com +blogspot.com.ar +blogspot.com.au +blogspot.com.br +blogspot.com.by +blogspot.com.co +blogspot.com.cy +blogspot.com.ee +blogspot.com.eg +blogspot.com.es +blogspot.com.mt +blogspot.com.ng +blogspot.com.tr +blogspot.com.uy +blogspot.cv +blogspot.cz +blogspot.de +blogspot.dk +blogspot.fi +blogspot.fr +blogspot.gr +blogspot.hk +blogspot.hr +blogspot.hu +blogspot.ie +blogspot.in +blogspot.is +blogspot.it +blogspot.jp +blogspot.kr +blogspot.li +blogspot.lt +blogspot.lu +blogspot.md +blogspot.mk +blogspot.mr +blogspot.mx +blogspot.my +blogspot.nl +blogspot.no +blogspot.pe +blogspot.pt +blogspot.qa +blogspot.re +blogspot.ro +blogspot.rs +blogspot.ru +blogspot.se +blogspot.sg +blogspot.si +blogspot.sk +blogspot.sn +blogspot.td +blogspot.tw +blogspot.ug +blogspot.vn + +// Goupile : https://goupile.fr +// Submitted by Niels Martignene +goupile.fr + +// Government of the Netherlands: https://www.government.nl +// Submitted by +gov.nl + +// Group 53, LLC : https://www.group53.com +// Submitted by Tyler Todd +awsmppl.com + +// GünstigBestellen : https://günstigbestellen.de +// Submitted by Furkan Akkoc +günstigbestellen.de +günstigliefern.de + +// Hakaran group: http://hakaran.cz +// Submitted by Arseniy Sokolov +fin.ci +free.hr +caa.li +ua.rs +conf.se + +// Handshake : https://handshake.org +// Submitted by Mike Damm +hs.zone +hs.run + +// Hashbang : https://hashbang.sh +hashbang.sh + +// Hasura : https://hasura.io +// Submitted by Shahidh K Muhammed +hasura.app +hasura-app.io + +// Heilbronn University of Applied Sciences - Faculty Informatics (GitLab Pages): https://www.hs-heilbronn.de +// Submitted by Richard Zowalla +pages.it.hs-heilbronn.de + +// Hepforge : https://www.hepforge.org +// Submitted by David Grellscheid +hepforge.org + +// Heroku : https://www.heroku.com/ +// Submitted by Tom Maher +herokuapp.com +herokussl.com + +// Hibernating Rhinos +// Submitted by Oren Eini +ravendb.cloud +ravendb.community +ravendb.me +development.run +ravendb.run + +// home.pl S.A.: https://home.pl +// Submitted by Krzysztof Wolski +homesklep.pl + +// Hong Kong Productivity Council: https://www.hkpc.org/ +// Submitted by SECaaS Team +secaas.hk + +// Hoplix : https://www.hoplix.com +// Submitted by Danilo De Franco +hoplix.shop + + +// HOSTBIP REGISTRY : https://www.hostbip.com/ +// Submitted by Atanunu Igbunuroghene +orx.biz +biz.gl +col.ng +firm.ng +gen.ng +ltd.ng +ngo.ng +edu.scot +sch.so + +// HostyHosting (hostyhosting.com) +hostyhosting.io + +// Häkkinen.fi +// Submitted by Eero Häkkinen +häkkinen.fi + +// Ici la Lune : http://www.icilalune.com/ +// Submitted by Simon Morvan +*.moonscale.io +moonscale.net + +// iki.fi +// Submitted by Hannu Aronsson +iki.fi + +// iliad italia: https://www.iliad.it +// Submitted by Marios Makassikis +ibxos.it +iliadboxos.it + +// Impertrix Solutions : +// Submitted by Zhixiang Zhao +impertrixcdn.com +impertrix.com + +// Incsub, LLC: https://incsub.com/ +// Submitted by Aaron Edwards +smushcdn.com +wphostedmail.com +wpmucdn.com +tempurl.host +wpmudev.host + +// Individual Network Berlin e.V. : https://www.in-berlin.de/ +// Submitted by Christian Seitz +dyn-berlin.de +in-berlin.de +in-brb.de +in-butter.de +in-dsl.de +in-dsl.net +in-dsl.org +in-vpn.de +in-vpn.net +in-vpn.org + +// info.at : http://www.info.at/ +biz.at +info.at + +// info.cx : http://info.cx +// Submitted by Jacob Slater +info.cx + +// Interlegis : http://www.interlegis.leg.br +// Submitted by Gabriel Ferreira +ac.leg.br +al.leg.br +am.leg.br +ap.leg.br +ba.leg.br +ce.leg.br +df.leg.br +es.leg.br +go.leg.br +ma.leg.br +mg.leg.br +ms.leg.br +mt.leg.br +pa.leg.br +pb.leg.br +pe.leg.br +pi.leg.br +pr.leg.br +rj.leg.br +rn.leg.br +ro.leg.br +rr.leg.br +rs.leg.br +sc.leg.br +se.leg.br +sp.leg.br +to.leg.br + +// intermetrics GmbH : https://pixolino.com/ +// Submitted by Wolfgang Schwarz +pixolino.com + +// Internet-Pro, LLP: https://netangels.ru/ +// Submitted by Vasiliy Sheredeko +na4u.ru + +// iopsys software solutions AB : https://iopsys.eu/ +// Submitted by Roman Azarenko +iopsys.se + +// IPiFony Systems, Inc. : https://www.ipifony.com/ +// Submitted by Matthew Hardeman +ipifony.net + +// IServ GmbH : https://iserv.de +// Submitted by Mario Hoberg +iservschule.de +mein-iserv.de +schulplattform.de +schulserver.de +test-iserv.de +iserv.dev + +// I-O DATA DEVICE, INC. : http://www.iodata.com/ +// Submitted by Yuji Minagawa +iobb.net + +// Jelastic, Inc. : https://jelastic.com/ +// Submitted by Ihor Kolodyuk +mel.cloudlets.com.au +cloud.interhostsolutions.be +users.scale.virtualcloud.com.br +mycloud.by +alp1.ae.flow.ch +appengine.flow.ch +es-1.axarnet.cloud +diadem.cloud +vip.jelastic.cloud +jele.cloud +it1.eur.aruba.jenv-aruba.cloud +it1.jenv-aruba.cloud +keliweb.cloud +cs.keliweb.cloud +oxa.cloud +tn.oxa.cloud +uk.oxa.cloud +primetel.cloud +uk.primetel.cloud +ca.reclaim.cloud +uk.reclaim.cloud +us.reclaim.cloud +ch.trendhosting.cloud +de.trendhosting.cloud +jele.club +amscompute.com +clicketcloud.com +dopaas.com +hidora.com +paas.hosted-by-previder.com +rag-cloud.hosteur.com +rag-cloud-ch.hosteur.com +jcloud.ik-server.com +jcloud-ver-jpc.ik-server.com +demo.jelastic.com +kilatiron.com +paas.massivegrid.com +jed.wafaicloud.com +lon.wafaicloud.com +ryd.wafaicloud.com +j.scaleforce.com.cy +jelastic.dogado.eu +fi.cloudplatform.fi +demo.datacenter.fi +paas.datacenter.fi +jele.host +mircloud.host +paas.beebyte.io +sekd1.beebyteapp.io +jele.io +cloud-fr1.unispace.io +jc.neen.it +cloud.jelastic.open.tim.it +jcloud.kz +upaas.kazteleport.kz +cloudjiffy.net +fra1-de.cloudjiffy.net +west1-us.cloudjiffy.net +jls-sto1.elastx.net +jls-sto2.elastx.net +jls-sto3.elastx.net +faststacks.net +fr-1.paas.massivegrid.net +lon-1.paas.massivegrid.net +lon-2.paas.massivegrid.net +ny-1.paas.massivegrid.net +ny-2.paas.massivegrid.net +sg-1.paas.massivegrid.net +jelastic.saveincloud.net +nordeste-idc.saveincloud.net +j.scaleforce.net +jelastic.tsukaeru.net +sdscloud.pl +unicloud.pl +mircloud.ru +jelastic.regruhosting.ru +enscaled.sg +jele.site +jelastic.team +orangecloud.tn +j.layershift.co.uk +phx.enscaled.us +mircloud.us + +// Jino : https://www.jino.ru +// Submitted by Sergey Ulyashin +myjino.ru +*.hosting.myjino.ru +*.landing.myjino.ru +*.spectrum.myjino.ru +*.vps.myjino.ru + +// Jotelulu S.L. : https://jotelulu.com +// Submitted by Daniel Fariña +jotelulu.cloud + +// Joyent : https://www.joyent.com/ +// Submitted by Brian Bennett +*.triton.zone +*.cns.joyent.com + +// JS.ORG : http://dns.js.org +// Submitted by Stefan Keim +js.org + +// KaasHosting : http://www.kaashosting.nl/ +// Submitted by Wouter Bakker +kaas.gg +khplay.nl + +// Kakao : https://www.kakaocorp.com/ +// Submitted by JaeYoong Lee +ktistory.com + +// Kapsi : https://kapsi.fi +// Submitted by Tomi Juntunen +kapsi.fi + +// Keyweb AG : https://www.keyweb.de +// Submitted by Martin Dannehl +keymachine.de + +// KingHost : https://king.host +// Submitted by Felipe Keller Braz +kinghost.net +uni5.net + +// KnightPoint Systems, LLC : http://www.knightpoint.com/ +// Submitted by Roy Keene +knightpoint.systems + +// KoobinEvent, SL: https://www.koobin.com +// Submitted by Iván Oliva +koobin.events + +// KUROKU LTD : https://kuroku.ltd/ +// Submitted by DisposaBoy +oya.to + +// Katholieke Universiteit Leuven: https://www.kuleuven.be +// Submitted by Abuse KU Leuven +kuleuven.cloud +ezproxy.kuleuven.be + +// .KRD : http://nic.krd/data/krd/Registration%20Policy.pdf +co.krd +edu.krd + +// Krellian Ltd. : https://krellian.com +// Submitted by Ben Francis +krellian.net +webthings.io + +// LCube - Professional hosting e.K. : https://www.lcube-webhosting.de +// Submitted by Lars Laehn +git-repos.de +lcube-server.de +svn-repos.de + +// Leadpages : https://www.leadpages.net +// Submitted by Greg Dallavalle +leadpages.co +lpages.co +lpusercontent.com + +// Lelux.fi : https://lelux.fi/ +// Submitted by Lelux Admin +lelux.site + +// Lifetime Hosting : https://Lifetime.Hosting/ +// Submitted by Mike Fillator +co.business +co.education +co.events +co.financial +co.network +co.place +co.technology + +// Lightmaker Property Manager, Inc. : https://app.lmpm.com/ +// Submitted by Greg Holland +app.lmpm.com + +// linkyard ldt: https://www.linkyard.ch/ +// Submitted by Mario Siegenthaler +linkyard.cloud +linkyard-cloud.ch + +// Linode : https://linode.com +// Submitted by +members.linode.com +*.nodebalancer.linode.com +*.linodeobjects.com +ip.linodeusercontent.com + +// LiquidNet Ltd : http://www.liquidnetlimited.com/ +// Submitted by Victor Velchev +we.bs + +// Localcert : https://localcert.dev +// Submitted by Lann Martin +*.user.localcert.dev + +// localzone.xyz +// Submitted by Kenny Niehage +localzone.xyz + +// Log'in Line : https://www.loginline.com/ +// Submitted by Rémi Mach +loginline.app +loginline.dev +loginline.io +loginline.services +loginline.site + +// Lokalized : https://lokalized.nl +// Submitted by Noah Taheij +servers.run + +// Lõhmus Family, The +// Submitted by Heiki Lõhmus +lohmus.me + +// LubMAN UMCS Sp. z o.o : https://lubman.pl/ +// Submitted by Ireneusz Maliszewski +krasnik.pl +leczna.pl +lubartow.pl +lublin.pl +poniatowa.pl +swidnik.pl + +// Lug.org.uk : https://lug.org.uk +// Submitted by Jon Spriggs +glug.org.uk +lug.org.uk +lugs.org.uk + +// Lukanet Ltd : https://lukanet.com +// Submitted by Anton Avramov +barsy.bg +barsy.co.uk +barsyonline.co.uk +barsycenter.com +barsyonline.com +barsy.club +barsy.de +barsy.eu +barsy.in +barsy.info +barsy.io +barsy.me +barsy.menu +barsy.mobi +barsy.net +barsy.online +barsy.org +barsy.pro +barsy.pub +barsy.ro +barsy.shop +barsy.site +barsy.support +barsy.uk + +// Magento Commerce +// Submitted by Damien Tournoud +*.magentosite.cloud + +// May First - People Link : https://mayfirst.org/ +// Submitted by Jamie McClelland +mayfirst.info +mayfirst.org + +// Mail.Ru Group : https://hb.cldmail.ru +// Submitted by Ilya Zaretskiy +hb.cldmail.ru + +// Mail Transfer Platform : https://www.neupeer.com +// Submitted by Li Hui +cn.vu + +// Maze Play: https://www.mazeplay.com +// Submitted by Adam Humpherys +mazeplay.com + +// mcpe.me : https://mcpe.me +// Submitted by Noa Heyl +mcpe.me + +// McHost : https://mchost.ru +// Submitted by Evgeniy Subbotin +mcdir.me +mcdir.ru +mcpre.ru +vps.mcdir.ru + +// Mediatech : https://mediatech.by +// Submitted by Evgeniy Kozhuhovskiy +mediatech.by +mediatech.dev + +// Medicom Health : https://medicomhealth.com +// Submitted by Michael Olson +hra.health + +// Memset hosting : https://www.memset.com +// Submitted by Tom Whitwell +miniserver.com +memset.net + +// Messerli Informatik AG : https://www.messerli.ch/ +// Submitted by Ruben Schmidmeister +messerli.app + +// MetaCentrum, CESNET z.s.p.o. : https://www.metacentrum.cz/en/ +// Submitted by Zdeněk Šustr +*.cloud.metacentrum.cz +custom.metacentrum.cz + +// MetaCentrum, CESNET z.s.p.o. : https://www.metacentrum.cz/en/ +// Submitted by Radim Janča +flt.cloud.muni.cz +usr.cloud.muni.cz + +// Meteor Development Group : https://www.meteor.com/hosting +// Submitted by Pierre Carrier +meteorapp.com +eu.meteorapp.com + +// Michau Enterprises Limited : http://www.co.pl/ +co.pl + +// Microsoft Corporation : http://microsoft.com +// Submitted by Public Suffix List Admin +*.azurecontainer.io +azurewebsites.net +azure-mobile.net +cloudapp.net +azurestaticapps.net +1.azurestaticapps.net +2.azurestaticapps.net +centralus.azurestaticapps.net +eastasia.azurestaticapps.net +eastus2.azurestaticapps.net +westeurope.azurestaticapps.net +westus2.azurestaticapps.net + +// minion.systems : http://minion.systems +// Submitted by Robert Böttinger +csx.cc + +// Mintere : https://mintere.com/ +// Submitted by Ben Aubin +mintere.site + +// MobileEducation, LLC : https://joinforte.com +// Submitted by Grayson Martin +forte.id + +// Mozilla Corporation : https://mozilla.com +// Submitted by Ben Francis +mozilla-iot.org + +// Mozilla Foundation : https://mozilla.org/ +// Submitted by glob +bmoattachments.org + +// MSK-IX : https://www.msk-ix.ru/ +// Submitted by Khannanov Roman +net.ru +org.ru +pp.ru + +// Mythic Beasts : https://www.mythic-beasts.com +// Submitted by Paul Cammish +hostedpi.com +customer.mythic-beasts.com +caracal.mythic-beasts.com +fentiger.mythic-beasts.com +lynx.mythic-beasts.com +ocelot.mythic-beasts.com +oncilla.mythic-beasts.com +onza.mythic-beasts.com +sphinx.mythic-beasts.com +vs.mythic-beasts.com +x.mythic-beasts.com +yali.mythic-beasts.com +cust.retrosnub.co.uk + +// Nabu Casa : https://www.nabucasa.com +// Submitted by Paulus Schoutsen +ui.nabu.casa + +// Net at Work Gmbh : https://www.netatwork.de +// Submitted by Jan Jaeschke +cloud.nospamproxy.com + +// Netlify : https://www.netlify.com +// Submitted by Jessica Parsons +netlify.app + +// Neustar Inc. +// Submitted by Trung Tran +4u.com + +// ngrok : https://ngrok.com/ +// Submitted by Alan Shreve +ngrok.io + +// Nimbus Hosting Ltd. : https://www.nimbushosting.co.uk/ +// Submitted by Nicholas Ford +nh-serv.co.uk + +// NFSN, Inc. : https://www.NearlyFreeSpeech.NET/ +// Submitted by Jeff Wheelhouse +nfshost.com + +// Noop : https://noop.app +// Submitted by Nathaniel Schweinberg +*.developer.app +noop.app + +// Northflank Ltd. : https://northflank.com/ +// Submitted by Marco Suter +*.northflank.app +*.build.run +*.code.run +*.database.run +*.migration.run + +// Noticeable : https://noticeable.io +// Submitted by Laurent Pellegrino +noticeable.news + +// Now-DNS : https://now-dns.com +// Submitted by Steve Russell +dnsking.ch +mypi.co +n4t.co +001www.com +ddnslive.com +myiphost.com +forumz.info +16-b.it +32-b.it +64-b.it +soundcast.me +tcp4.me +dnsup.net +hicam.net +now-dns.net +ownip.net +vpndns.net +dynserv.org +now-dns.org +x443.pw +now-dns.top +ntdll.top +freeddns.us +crafting.xyz +zapto.xyz + +// nsupdate.info : https://www.nsupdate.info/ +// Submitted by Thomas Waldmann +nsupdate.info +nerdpol.ovh + +// No-IP.com : https://noip.com/ +// Submitted by Deven Reza +blogsyte.com +brasilia.me +cable-modem.org +ciscofreak.com +collegefan.org +couchpotatofries.org +damnserver.com +ddns.me +ditchyourip.com +dnsfor.me +dnsiskinky.com +dvrcam.info +dynns.com +eating-organic.net +fantasyleague.cc +geekgalaxy.com +golffan.us +health-carereform.com +homesecuritymac.com +homesecuritypc.com +hopto.me +ilovecollege.info +loginto.me +mlbfan.org +mmafan.biz +myactivedirectory.com +mydissent.net +myeffect.net +mymediapc.net +mypsx.net +mysecuritycamera.com +mysecuritycamera.net +mysecuritycamera.org +net-freaks.com +nflfan.org +nhlfan.net +no-ip.ca +no-ip.co.uk +no-ip.net +noip.us +onthewifi.com +pgafan.net +point2this.com +pointto.us +privatizehealthinsurance.net +quicksytes.com +read-books.org +securitytactics.com +serveexchange.com +servehumour.com +servep2p.com +servesarcasm.com +stufftoread.com +ufcfan.org +unusualperson.com +workisboring.com +3utilities.com +bounceme.net +ddns.net +ddnsking.com +gotdns.ch +hopto.org +myftp.biz +myftp.org +myvnc.com +no-ip.biz +no-ip.info +no-ip.org +noip.me +redirectme.net +servebeer.com +serveblog.net +servecounterstrike.com +serveftp.com +servegame.com +servehalflife.com +servehttp.com +serveirc.com +serveminecraft.net +servemp3.com +servepics.com +servequake.com +sytes.net +webhop.me +zapto.org + +// NodeArt : https://nodeart.io +// Submitted by Konstantin Nosov +stage.nodeart.io + +// Nucleos Inc. : https://nucleos.com +// Submitted by Piotr Zduniak +pcloud.host + +// NYC.mn : http://www.information.nyc.mn +// Submitted by Matthew Brown +nyc.mn + +// Observable, Inc. : https://observablehq.com +// Submitted by Mike Bostock +static.observableusercontent.com + +// Octopodal Solutions, LLC. : https://ulterius.io/ +// Submitted by Andrew Sampson +cya.gg + +// OMG.LOL : +// Submitted by Adam Newbold +omg.lol + +// Omnibond Systems, LLC. : https://www.omnibond.com +// Submitted by Cole Estep +cloudycluster.net + +// OmniWe Limited: https://omniwe.com +// Submitted by Vicary Archangel +omniwe.site + +// One.com: https://www.one.com/ +// Submitted by Jacob Bunk Nielsen +123hjemmeside.dk +123hjemmeside.no +123homepage.it +123kotisivu.fi +123minsida.se +123miweb.es +123paginaweb.pt +123sait.ru +123siteweb.fr +123webseite.at +123webseite.de +123website.be +123website.ch +123website.lu +123website.nl +service.one +simplesite.com +simplesite.com.br +simplesite.gr +simplesite.pl + +// One Fold Media : http://www.onefoldmedia.com/ +// Submitted by Eddie Jones +nid.io + +// Open Social : https://www.getopensocial.com/ +// Submitted by Alexander Varwijk +opensocial.site + +// OpenCraft GmbH : http://opencraft.com/ +// Submitted by Sven Marnach +opencraft.hosting + +// OpenResearch GmbH: https://openresearch.com/ +// Submitted by Philipp Schmid +orsites.com + +// Opera Software, A.S.A. +// Submitted by Yngve Pettersen +operaunite.com + +// Orange : https://www.orange.com +// Submitted by Alexandre Linte +tech.orange + +// Oursky Limited : https://authgear.com/, https://skygear.io/ +// Submitted by Authgear Team , Skygear Developer +authgear-staging.com +authgearapps.com +skygearapp.com + +// OutSystems +// Submitted by Duarte Santos +outsystemscloud.com + +// OVHcloud: https://ovhcloud.com +// Submitted by Vincent Cassé +*.webpaas.ovh.net +*.hosting.ovh.net + +// OwnProvider GmbH: http://www.ownprovider.com +// Submitted by Jan Moennich +ownprovider.com +own.pm + +// OwO : https://whats-th.is/ +// Submitted by Dean Sheather +*.owo.codes + +// OX : http://www.ox.rs +// Submitted by Adam Grand +ox.rs + +// oy.lc +// Submitted by Charly Coste +oy.lc + +// Pagefog : https://pagefog.com/ +// Submitted by Derek Myers +pgfog.com + +// Pagefront : https://www.pagefronthq.com/ +// Submitted by Jason Kriss +pagefrontapp.com + +// PageXL : https://pagexl.com +// Submitted by Yann Guichard +pagexl.com + +// Paywhirl, Inc : https://paywhirl.com/ +// Submitted by Daniel Netzer +*.paywhirl.com + +// pcarrier.ca Software Inc: https://pcarrier.ca/ +// Submitted by Pierre Carrier +bar0.net +bar1.net +bar2.net +rdv.to + +// .pl domains (grandfathered) +art.pl +gliwice.pl +krakow.pl +poznan.pl +wroc.pl +zakopane.pl + +// Pantheon Systems, Inc. : https://pantheon.io/ +// Submitted by Gary Dylina +pantheonsite.io +gotpantheon.com + +// Peplink | Pepwave : http://peplink.com/ +// Submitted by Steve Leung +mypep.link + +// Perspecta : https://perspecta.com/ +// Submitted by Kenneth Van Alstyne +perspecta.cloud + +// PE Ulyanov Kirill Sergeevich : https://airy.host +// Submitted by Kirill Ulyanov +lk3.ru + +// Planet-Work : https://www.planet-work.com/ +// Submitted by Frédéric VANNIÈRE +on-web.fr + +// Platform.sh : https://platform.sh +// Submitted by Nikola Kotur +bc.platform.sh +ent.platform.sh +eu.platform.sh +us.platform.sh +*.platformsh.site +*.tst.site + +// Platter: https://platter.dev +// Submitted by Patrick Flor +platter-app.com +platter-app.dev +platterp.us + +// Plesk : https://www.plesk.com/ +// Submitted by Anton Akhtyamov +pdns.page +plesk.page +pleskns.com + +// Port53 : https://port53.io/ +// Submitted by Maximilian Schieder +dyn53.io + +// Porter : https://porter.run/ +// Submitted by Rudraksh MK +onporter.run + +// Positive Codes Technology Company : http://co.bn/faq.html +// Submitted by Zulfais +co.bn + +// Postman, Inc : https://postman.com +// Submitted by Rahul Dhawan +postman-echo.com +pstmn.io +mock.pstmn.io +httpbin.org + +//prequalifyme.today : https://prequalifyme.today +//Submitted by DeepakTiwari deepak@ivylead.io +prequalifyme.today + +// prgmr.com : https://prgmr.com/ +// Submitted by Sarah Newman +xen.prgmr.com + +// priv.at : http://www.nic.priv.at/ +// Submitted by registry +priv.at + +// privacytools.io : https://www.privacytools.io/ +// Submitted by Jonah Aragon +prvcy.page + +// Protocol Labs : https://protocol.ai/ +// Submitted by Michael Burns +*.dweb.link + +// Protonet GmbH : http://protonet.io +// Submitted by Martin Meier +protonet.io + +// Publication Presse Communication SARL : https://ppcom.fr +// Submitted by Yaacov Akiba Slama +chirurgiens-dentistes-en-france.fr +byen.site + +// pubtls.org: https://www.pubtls.org +// Submitted by Kor Nielsen +pubtls.org + +// PythonAnywhere LLP: https://www.pythonanywhere.com +// Submitted by Giles Thomas +pythonanywhere.com +eu.pythonanywhere.com + +// QOTO, Org. +// Submitted by Jeffrey Phillips Freeman +qoto.io + +// Qualifio : https://qualifio.com/ +// Submitted by Xavier De Cock +qualifioapp.com + +// QuickBackend: https://www.quickbackend.com +// Submitted by Dani Biro +qbuser.com + +// Rad Web Hosting: https://radwebhosting.com +// Submitted by Scott Claeys +cloudsite.builders + +// Redgate Software: https://red-gate.com +// Submitted by Andrew Farries +instances.spawn.cc + +// Redstar Consultants : https://www.redstarconsultants.com/ +// Submitted by Jons Slemmer +instantcloud.cn + +// Russian Academy of Sciences +// Submitted by Tech Support +ras.ru + +// QA2 +// Submitted by Daniel Dent (https://www.danieldent.com/) +qa2.com + +// QCX +// Submitted by Cassandra Beelen +qcx.io +*.sys.qcx.io + +// QNAP System Inc : https://www.qnap.com +// Submitted by Nick Chang +dev-myqnapcloud.com +alpha-myqnapcloud.com +myqnapcloud.com + +// Quip : https://quip.com +// Submitted by Patrick Linehan +*.quipelements.com + +// Qutheory LLC : http://qutheory.io +// Submitted by Jonas Schwartz +vapor.cloud +vaporcloud.io + +// Rackmaze LLC : https://www.rackmaze.com +// Submitted by Kirill Pertsev +rackmaze.com +rackmaze.net + +// Rakuten Games, Inc : https://dev.viberplay.io +// Submitted by Joshua Zhang +g.vbrplsbx.io + +// Rancher Labs, Inc : https://rancher.com +// Submitted by Vincent Fiduccia +*.on-k3s.io +*.on-rancher.cloud +*.on-rio.io + +// Read The Docs, Inc : https://www.readthedocs.org +// Submitted by David Fischer +readthedocs.io + +// Red Hat, Inc. OpenShift : https://openshift.redhat.com/ +// Submitted by Tim Kramer +rhcloud.com + +// Render : https://render.com +// Submitted by Anurag Goel +app.render.com +onrender.com + +// Repl.it : https://repl.it +// Submitted by Lincoln Bergeson +firewalledreplit.co +id.firewalledreplit.co +repl.co +id.repl.co +repl.run + +// Resin.io : https://resin.io +// Submitted by Tim Perry +resindevice.io +devices.resinstaging.io + +// RethinkDB : https://www.rethinkdb.com/ +// Submitted by Chris Kastorff +hzc.io + +// Revitalised Limited : http://www.revitalised.co.uk +// Submitted by Jack Price +wellbeingzone.eu +wellbeingzone.co.uk + +// Rico Developments Limited : https://adimo.co +// Submitted by Colin Brown +adimo.co.uk + +// Riseup Networks : https://riseup.net +// Submitted by Micah Anderson +itcouldbewor.se + +// Rochester Institute of Technology : http://www.rit.edu/ +// Submitted by Jennifer Herting +git-pages.rit.edu + +// Rocky Enterprise Software Foundation : https://resf.org +// Submitted by Neil Hanlon +rocky.page + +// Rusnames Limited: http://rusnames.ru/ +// Submitted by Sergey Zotov +биз.рус +ком.рус +крым.рус +мир.рус +мск.рус +орг.рус +самара.рус +сочи.рус +спб.рус +я.рус + +// Salesforce.com, Inc. https://salesforce.com/ +// Submitted by Michael Biven +*.builder.code.com +*.dev-builder.code.com +*.stg-builder.code.com + +// Sandstorm Development Group, Inc. : https://sandcats.io/ +// Submitted by Asheesh Laroia +sandcats.io + +// SBE network solutions GmbH : https://www.sbe.de/ +// Submitted by Norman Meilick +logoip.de +logoip.com + +// Scaleway : https://www.scaleway.com/ +// Submitted by Rémy Léone +fr-par-1.baremetal.scw.cloud +fr-par-2.baremetal.scw.cloud +nl-ams-1.baremetal.scw.cloud +fnc.fr-par.scw.cloud +functions.fnc.fr-par.scw.cloud +k8s.fr-par.scw.cloud +nodes.k8s.fr-par.scw.cloud +s3.fr-par.scw.cloud +s3-website.fr-par.scw.cloud +whm.fr-par.scw.cloud +priv.instances.scw.cloud +pub.instances.scw.cloud +k8s.scw.cloud +k8s.nl-ams.scw.cloud +nodes.k8s.nl-ams.scw.cloud +s3.nl-ams.scw.cloud +s3-website.nl-ams.scw.cloud +whm.nl-ams.scw.cloud +k8s.pl-waw.scw.cloud +nodes.k8s.pl-waw.scw.cloud +s3.pl-waw.scw.cloud +s3-website.pl-waw.scw.cloud +scalebook.scw.cloud +smartlabeling.scw.cloud +dedibox.fr + +// schokokeks.org GbR : https://schokokeks.org/ +// Submitted by Hanno Böck +schokokeks.net + +// Scottish Government: https://www.gov.scot +// Submitted by Martin Ellis +gov.scot +service.gov.scot + +// Scry Security : http://www.scrysec.com +// Submitted by Shante Adam +scrysec.com + +// Securepoint GmbH : https://www.securepoint.de +// Submitted by Erik Anders +firewall-gateway.com +firewall-gateway.de +my-gateway.de +my-router.de +spdns.de +spdns.eu +firewall-gateway.net +my-firewall.org +myfirewall.org +spdns.org + +// Seidat : https://www.seidat.com +// Submitted by Artem Kondratev +seidat.net + +// Sellfy : https://sellfy.com +// Submitted by Yuriy Romadin +sellfy.store + +// Senseering GmbH : https://www.senseering.de +// Submitted by Felix Mönckemeyer +senseering.net + +// Sendmsg: https://www.sendmsg.co.il +// Submitted by Assaf Stern +minisite.ms + +// Service Magnet : https://myservicemagnet.com +// Submitted by Dave Sanders +magnet.page + +// Service Online LLC : http://drs.ua/ +// Submitted by Serhii Bulakh +biz.ua +co.ua +pp.ua + +// Shift Crypto AG : https://shiftcrypto.ch +// Submitted by alex +shiftcrypto.dev +shiftcrypto.io + +// ShiftEdit : https://shiftedit.net/ +// Submitted by Adam Jimenez +shiftedit.io + +// Shopblocks : http://www.shopblocks.com/ +// Submitted by Alex Bowers +myshopblocks.com + +// Shopify : https://www.shopify.com +// Submitted by Alex Richter +myshopify.com + +// Shopit : https://www.shopitcommerce.com/ +// Submitted by Craig McMahon +shopitsite.com + +// shopware AG : https://shopware.com +// Submitted by Jens Küper +shopware.store + +// Siemens Mobility GmbH +// Submitted by Oliver Graebner +mo-siemens.io + +// SinaAppEngine : http://sae.sina.com.cn/ +// Submitted by SinaAppEngine +1kapp.com +appchizi.com +applinzi.com +sinaapp.com +vipsinaapp.com + +// Siteleaf : https://www.siteleaf.com/ +// Submitted by Skylar Challand +siteleaf.net + +// Skyhat : http://www.skyhat.io +// Submitted by Shante Adam +bounty-full.com +alpha.bounty-full.com +beta.bounty-full.com + +// Small Technology Foundation : https://small-tech.org +// Submitted by Aral Balkan +small-web.org + +// Smoove.io : https://www.smoove.io/ +// Submitted by Dan Kozak +vp4.me + +// Snowflake Inc : https://www.snowflake.com/ +// Submitted by Faith Olapade +streamlitapp.com + +// Snowplow Analytics : https://snowplowanalytics.com/ +// Submitted by Ian Streeter +try-snowplow.com + +// SourceHut : https://sourcehut.org +// Submitted by Drew DeVault +srht.site + +// Stackhero : https://www.stackhero.io +// Submitted by Adrien Gillon +stackhero-network.com + +// Staclar : https://staclar.com +// Submitted by Q Misell +musician.io +// Submitted by Matthias Merkel +novecore.site + +// staticland : https://static.land +// Submitted by Seth Vincent +static.land +dev.static.land +sites.static.land + +// Storebase : https://www.storebase.io +// Submitted by Tony Schirmer +storebase.store + +// Strategic System Consulting (eApps Hosting): https://www.eapps.com/ +// Submitted by Alex Oancea +vps-host.net +atl.jelastic.vps-host.net +njs.jelastic.vps-host.net +ric.jelastic.vps-host.net + +// Sony Interactive Entertainment LLC : https://sie.com/ +// Submitted by David Coles +playstation-cloud.com + +// SourceLair PC : https://www.sourcelair.com +// Submitted by Antonis Kalipetis +apps.lair.io +*.stolos.io + +// SpaceKit : https://www.spacekit.io/ +// Submitted by Reza Akhavan +spacekit.io + +// SpeedPartner GmbH: https://www.speedpartner.de/ +// Submitted by Stefan Neufeind +customer.speedpartner.de + +// Spreadshop (sprd.net AG) : https://www.spreadshop.com/ +// Submitted by Martin Breest +myspreadshop.at +myspreadshop.com.au +myspreadshop.be +myspreadshop.ca +myspreadshop.ch +myspreadshop.com +myspreadshop.de +myspreadshop.dk +myspreadshop.es +myspreadshop.fi +myspreadshop.fr +myspreadshop.ie +myspreadshop.it +myspreadshop.net +myspreadshop.nl +myspreadshop.no +myspreadshop.pl +myspreadshop.se +myspreadshop.co.uk + +// Standard Library : https://stdlib.com +// Submitted by Jacob Lee +api.stdlib.com + +// Storj Labs Inc. : https://storj.io/ +// Submitted by Philip Hutchins +storj.farm + +// Studenten Net Twente : http://www.snt.utwente.nl/ +// Submitted by Silke Hofstra +utwente.io + +// Student-Run Computing Facility : https://www.srcf.net/ +// Submitted by Edwin Balani +soc.srcf.net +user.srcf.net + +// Sub 6 Limited: http://www.sub6.com +// Submitted by Dan Miller +temp-dns.com + +// Supabase : https://supabase.io +// Submitted by Inian Parameshwaran +supabase.co +supabase.in +supabase.net +su.paba.se + +// Symfony, SAS : https://symfony.com/ +// Submitted by Fabien Potencier +*.s5y.io +*.sensiosite.cloud + +// Syncloud : https://syncloud.org +// Submitted by Boris Rybalkin +syncloud.it + +// Synology, Inc. : https://www.synology.com/ +// Submitted by Rony Weng +dscloud.biz +direct.quickconnect.cn +dsmynas.com +familyds.com +diskstation.me +dscloud.me +i234.me +myds.me +synology.me +dscloud.mobi +dsmynas.net +familyds.net +dsmynas.org +familyds.org +vpnplus.to +direct.quickconnect.to + +// Tabit Technologies Ltd. : https://tabit.cloud/ +// Submitted by Oren Agiv +tabitorder.co.il +mytabit.co.il +mytabit.com + +// TAIFUN Software AG : http://taifun-software.de +// Submitted by Bjoern Henke +taifun-dns.de + +// Tailscale Inc. : https://www.tailscale.com +// Submitted by David Anderson +beta.tailscale.net +ts.net + +// TASK geographical domains (www.task.gda.pl/uslugi/dns) +gda.pl +gdansk.pl +gdynia.pl +med.pl +sopot.pl + +// team.blue https://team.blue +// Submitted by Cedric Dubois +site.tb-hosting.com + +// Teckids e.V. : https://www.teckids.org +// Submitted by Dominik George +edugit.io +s3.teckids.org + +// Telebit : https://telebit.cloud +// Submitted by AJ ONeal +telebit.app +telebit.io +*.telebit.xyz + +// Thingdust AG : https://thingdust.com/ +// Submitted by Adrian Imboden +*.firenet.ch +*.svc.firenet.ch +reservd.com +thingdustdata.com +cust.dev.thingdust.io +cust.disrec.thingdust.io +cust.prod.thingdust.io +cust.testing.thingdust.io +reservd.dev.thingdust.io +reservd.disrec.thingdust.io +reservd.testing.thingdust.io + +// ticket i/O GmbH : https://ticket.io +// Submitted by Christian Franke +tickets.io + +// Tlon.io : https://tlon.io +// Submitted by Mark Staarink +arvo.network +azimuth.network +tlon.network + +// Tor Project, Inc. : https://torproject.org +// Submitted by Antoine Beaupré +bloxcms.com +townnews-staging.com + +// TrafficPlex GmbH : https://www.trafficplex.de/ +// Submitted by Phillipp Röll +12hp.at +2ix.at +4lima.at +lima-city.at +12hp.ch +2ix.ch +4lima.ch +lima-city.ch +trafficplex.cloud +de.cool +12hp.de +2ix.de +4lima.de +lima-city.de +1337.pictures +clan.rip +lima-city.rocks +webspace.rocks +lima.zone + +// TransIP : https://www.transip.nl +// Submitted by Rory Breuk +*.transurl.be +*.transurl.eu +*.transurl.nl + +// TransIP: https://www.transip.nl +// Submitted by Cedric Dubois +site.transip.me + +// TuxFamily : http://tuxfamily.org +// Submitted by TuxFamily administrators +tuxfamily.org + +// TwoDNS : https://www.twodns.de/ +// Submitted by TwoDNS-Support +dd-dns.de +diskstation.eu +diskstation.org +dray-dns.de +draydns.de +dyn-vpn.de +dynvpn.de +mein-vigor.de +my-vigor.de +my-wan.de +syno-ds.de +synology-diskstation.de +synology-ds.de + +// Typedream : https://typedream.com +// Submitted by Putri Karunia +typedream.app + +// Typeform : https://www.typeform.com +// Submitted by Sergi Ferriz +pro.typeform.com + +// Uberspace : https://uberspace.de +// Submitted by Moritz Werner +uber.space +*.uberspace.de + +// UDR Limited : http://www.udr.hk.com +// Submitted by registry +hk.com +hk.org +ltd.hk +inc.hk + +// UNIVERSAL DOMAIN REGISTRY : https://www.udr.org.yt/ +// see also: whois -h whois.udr.org.yt help +// Submitted by Atanunu Igbunuroghene +name.pm +sch.tf +biz.wf +sch.wf +org.yt + +// United Gameserver GmbH : https://united-gameserver.de +// Submitted by Stefan Schwarz +virtualuser.de +virtual-user.de + +// Upli : https://upli.io +// Submitted by Lenny Bakkalian +upli.io + +// urown.net : https://urown.net +// Submitted by Hostmaster +urown.cloud +dnsupdate.info + +// .US +// Submitted by Ed Moore +lib.de.us + +// VeryPositive SIA : http://very.lv +// Submitted by Danko Aleksejevs +2038.io + +// Vercel, Inc : https://vercel.com/ +// Submitted by Connor Davis +vercel.app +vercel.dev +now.sh + +// Viprinet Europe GmbH : http://www.viprinet.com +// Submitted by Simon Kissel +router.management + +// Virtual-Info : https://www.virtual-info.info/ +// Submitted by Adnan RIHAN +v-info.info + +// Voorloper.com: https://voorloper.com +// Submitted by Nathan van Bakel +voorloper.cloud + +// Voxel.sh DNS : https://voxel.sh/dns/ +// Submitted by Mia Rehlinger +neko.am +nyaa.am +be.ax +cat.ax +es.ax +eu.ax +gg.ax +mc.ax +us.ax +xy.ax +nl.ci +xx.gl +app.gp +blog.gt +de.gt +to.gt +be.gy +cc.hn +blog.kg +io.kg +jp.kg +tv.kg +uk.kg +us.kg +de.ls +at.md +de.md +jp.md +to.md +indie.porn +vxl.sh +ch.tc +me.tc +we.tc +nyan.to +at.vg +blog.vu +dev.vu +me.vu + +// V.UA Domain Administrator : https://domain.v.ua/ +// Submitted by Serhii Rostilo +v.ua + +// Vultr Objects : https://www.vultr.com/products/object-storage/ +// Submitted by Niels Maumenee +*.vultrobjects.com + +// Waffle Computer Inc., Ltd. : https://docs.waffleinfo.com +// Submitted by Masayuki Note +wafflecell.com + +// WebHare bv: https://www.webhare.com/ +// Submitted by Arnold Hendriks +*.webhare.dev + +// WebHotelier Technologies Ltd: https://www.webhotelier.net/ +// Submitted by Apostolos Tsakpinis +reserve-online.net +reserve-online.com +bookonline.app +hotelwithflight.com + +// WeDeploy by Liferay, Inc. : https://www.wedeploy.com +// Submitted by Henrique Vicente +wedeploy.io +wedeploy.me +wedeploy.sh + +// Western Digital Technologies, Inc : https://www.wdc.com +// Submitted by Jung Jin +remotewd.com + +// WIARD Enterprises : https://wiardweb.com +// Submitted by Kidd Hustle +pages.wiardweb.com + +// Wikimedia Labs : https://wikitech.wikimedia.org +// Submitted by Arturo Borrero Gonzalez +wmflabs.org +toolforge.org +wmcloud.org + +// WISP : https://wisp.gg +// Submitted by Stepan Fedotov +panel.gg +daemon.panel.gg + +// Wizard Zines : https://wizardzines.com +// Submitted by Julia Evans +messwithdns.com + +// WoltLab GmbH : https://www.woltlab.com +// Submitted by Tim Düsterhus +woltlab-demo.com +myforum.community +community-pro.de +diskussionsbereich.de +community-pro.net +meinforum.net + +// Woods Valldata : https://www.woodsvalldata.co.uk/ +// Submitted by Chris Whittle +affinitylottery.org.uk +raffleentry.org.uk +weeklylottery.org.uk + +// WP Engine : https://wpengine.com/ +// Submitted by Michael Smith +// Submitted by Brandon DuRette +wpenginepowered.com +js.wpenginepowered.com + +// Wix.com, Inc. : https://www.wix.com +// Submitted by Shahar Talmi +wixsite.com +editorx.io + +// XenonCloud GbR: https://xenoncloud.net +// Submitted by Julian Uphoff +half.host + +// XnBay Technology : http://www.xnbay.com/ +// Submitted by XnBay Developer +xnbay.com +u2.xnbay.com +u2-local.xnbay.com + +// XS4ALL Internet bv : https://www.xs4all.nl/ +// Submitted by Daniel Mostertman +cistron.nl +demon.nl +xs4all.space + +// Yandex.Cloud LLC: https://cloud.yandex.com +// Submitted by Alexander Lodin +yandexcloud.net +storage.yandexcloud.net +website.yandexcloud.net + +// YesCourse Pty Ltd : https://yescourse.com +// Submitted by Atul Bhouraskar +official.academy + +// Yola : https://www.yola.com/ +// Submitted by Stefano Rivera +yolasite.com + +// Yombo : https://yombo.net +// Submitted by Mitch Schwenk +ybo.faith +yombo.me +homelink.one +ybo.party +ybo.review +ybo.science +ybo.trade + +// Yunohost : https://yunohost.org +// Submitted by Valentin Grimaud +ynh.fr +nohost.me +noho.st + +// ZaNiC : http://www.za.net/ +// Submitted by registry +za.net +za.org + +// Zine EOOD : https://zine.bg/ +// Submitted by Martin Angelov +bss.design + +// Zitcom A/S : https://www.zitcom.dk +// Submitted by Emil Stahl +basicserver.io +virtualserver.io +enterprisecloud.nu + +// ===END PRIVATE DOMAINS=== diff --git a/src/main/resources/native-cipher-arm.so b/src/main/resources/native-cipher-arm.so new file mode 100644 index 0000000000000000000000000000000000000000..82587e839724b86814d2f73d3a23d4c49fdcf3ac GIT binary patch literal 74744 zcmeHw33!uL*8fdXC|H&jkRqT>3krf15Jo^?NLx19%Fz0uqfXkU=^|}X(v-zA5(EVW zm54L=SA+`Ar{IRmH_~xNi#jv7jTIfmJt@fGUKEi!)ck+vF6qsiv}LyM`Tw6MZ=dwM z_ndRjJ@?#m&)weST|HyoOtZi7tn>7|T=Vl-CJ!oUTowlyC z2duk+CHU6NN$ASV8Cl)Ac;Y_?AG!wNGZ-H$K6GW^LrpXspAq=bbrC+J@EL>8#rV8D zX6>J9UDwXM{^Lh)du;jpKYsGnU+ynh`cdBA+uyo-^YllLm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6vr0HzRwSU5m+&W(yu42;k&Jet9k_q2x2m%RIfC zK|Hek^8T2F*NO2Y`E4>GU~f@>x(P4k)$;~HCtc~%L+QJm!oO$!k;6K1pZF|fr{g2r pBm0%^KTF-Y1pnT@k;8H+Ac(SF$xCM@vE-*b$2kU=1WZ}we*v|PV66ZE literal 0 HcmV?d00001 diff --git a/src/main/resources/native-compress-arm.so b/src/main/resources/native-compress-arm.so new file mode 100644 index 0000000000000000000000000000000000000000..6272a16f72c37f483ee74df90d2f9caf8a59552f GIT binary patch literal 141832 zcmeF43!Gh5b^rIdGa-`)kQXG9=-it`iQy4m3IQ~C5+H%_Oh9O{W+sy%8SIo{;@t)8$~}r}*8yL?>ww1}?@v^ET(5+CtS2a|_iCv3YN!|PPxx#X z?^Pa+6B=EQh4S+I^Z*y{g4N%ZKWSd3=Vd4Oiskny6$a+wJ=VL5dZP1C|HcHsMWMaH z__83h7w@4v*0%}ZQ1SfBuW|qI)K!1*qt(ftqi%cC=a(=3(k)Al`Pa{>i8phN;}Ty+ za3#4JRjxHV!?};;PjknNxi`tK8h2+^e#RKLZrhluTNhk%*3JuV?Od2S*F+eI z)49&zI*aRVTxWBg!!?`he6DwL<+=2C0oR503XEK6*prv~N{@cG<&!ebRTAjn+ z<TtqgO{H^^}%-@ z`^==fuKezq?|OLCKVQA)${X6+cdfnV*QdUJ&(v8beD2CWz2=n6C#tqqjr`@6-~94- zi~Gm_`kMFLvH6ZI)$f00{gU0g&im?xXMfxM{Y^WX|LEVJI_}1&_cuN8)XD3=P=DbU z-hS8e_dj;S9aW!Q^_PG7fA;_Ml7D+~&l}fY@b*9Z>E~W(YCQhr`|tbio>gD^`IL{| zH+=i0e|FU=PrZ3(_4Wr(xTb3O+`qc@nBiag`HM5Z_RCLv|DM2#L2ngEe8r^x#TD*& zmra6Vh2qmmO19;HA0lI*eCcnt9GLV)T#|kH-%2vZmS>Wd-4BHSbC~%+`5Okw|HUBm z%U-erw7VPlf#_)hcA$1Q57KVyAn?-lEL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v-*f=q{hrVb8btR{3=<}YgA=gxknm_=zJE87a7+vT=VEj|#wx%O@V4JPM)2|yx zOFjX=F`z$p;+0BX2eQAv*w61hRR!Vs^*+ni;Oc+y8zVlZXMd+L#`TXd;GrChbdox&H*$ucyjL z^1BqlcCJW3KRGL`-v^E~!RHG%$?xt2r5$#=eU)p%G|XFHe&-_CF2Zo70HXl?8P8i^ zeh(u!_A4o=v9SK8g8K5i8NrJD>J$3^Nv<#5l;76~ZoD8rfaoXeXA0`e?{EZX%fN93 z8f$ObfehWhv@gHc5v-IC1YD`G{jYsL!b#=`n9f~Wr17L=3v{FycD)vD+^L{eVnUbYY}hNb`KX_kJb_9d9KFZ%*MzhwKa lOX`1vl{)HgsemU*`$ExnC-*KK;nX+j`v2=Caa~yd{{R;taL)h$ literal 0 HcmV?d00001 diff --git a/src/main/resources/native-compress.so b/src/main/resources/native-compress.so new file mode 100644 index 0000000000000000000000000000000000000000..ef316ca4524faf2299bac8e620d21652205b8faa GIT binary patch literal 113288 zcmeFa3w%`7wLd-+5(tP)uwb$Ek@{#!@qt!b5U3N(=uwG{k67;Y0f~cZd-4$S0J^56TnQgv<;Tpw54t8rFO9j$1OG0AR7MLKm-H0w*H@UY!{jS; zPc``*mu2wpsy~KrdOPLSn0$>3v?7J>LQ{a_I^|t~eB{gF{uy@qt~BKh)(&Mu6rFs7|4zcca{T)c{+)t< zr{W*~K7xNJ&sTwer{mul_%{*%&c?rU@b5hQ`vm??#y{t8n(+jk2)NVnFNA-i{(RbV zuUVA{{H^1^`|=qxhAjE7 zr``%Y`tpRYK3(&S{q3)x|1F(ycnpdCHkiBhITkDi3 zL!bERo^N*^ch`&>_UNBq`RLA+o14|GE-g{iEsr3XCU~8AXo#%zd8thL=TAn*g^15fzS?w{~q8OD86x!`1(QO zDL>`-SNL}kB2F%hMEF+xqx=^B%@8_A`5t~vQz(o4`>WJzl&|Ca8g5a?w^aBx$~W<& z8u53)@$X9p&x;=*r&Olth7Fz%f14qn@AvBX#uz+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QTA zgU&(~8qAxj!09=(S2-)FLI)G+xEAQPk(*+chb;pPA)Y82MFz2etsWlMv_mtH#7u8v z01fCOJuEgR);Ci|P6LOn4eZrfc9m+n6;eti)v|1Q}t@Be}0 zuX={^7ZZKu1tXqyR^lH+#yat89&a|(5F)UB=Bq8U)Po*`i+TM@ao0Rtc9l_ zIev83|KG^Ifm#FDLO6dkK3lS zp!O60xQDv4X7~POM#iBYvyuCVYmV1Bfhhl@Ee}Ps`dr{gJ+mu%uh{fe`%#`>!5qa0 z#|1ISZ)&t@`IP#Ki+%^{7(T+wPiy}l@jrm2CE?}wR6X(gKw2K^JOZBEtZe(j>%3;< zc(ot)Uj~(1?cfP literal 0 HcmV?d00001 diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_any.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_any.txt new file mode 100644 index 0000000..f8d35b3 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_any.txt @@ -0,0 +1,155 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// ASHKENAZIC + +// A, E, I, O, P, U should create variants, but a, e, i, o, u should not create any new variant +// Q = ü ; Y = ä = ö +// H = initial "H" in German/English + +// CONSONANTS +"b" "" "" "(b|v[spanish])" +"J" "" "" "z" // Argentina Spanish: "ll" = /Z/, but approximately /Z/ = /z/ + +// VOWELS +// "ALL" DIPHTHONGS are interchangeable BETWEEN THEM and with monophthongs of which they are composed ("D" means "diphthong") +// {a,o} are totally interchangeable if non-stressed; in German "a/o" can actually be from "ä/ö" (that are equivalent to "e") +// {i,e} are interchangeable if non-stressed, while in German "u" can actually be from "ü" (that is equivalent to "i") + +"aiB" "" "[bp]" "(D|Dm)" +"AiB" "" "[bp]" "(D|Dm)" +"oiB" "" "[bp]" "(D|Dm)" +"OiB" "" "[bp]" "(D|Dm)" +"uiB" "" "[bp]" "(D|Dm)" +"UiB" "" "[bp]" "(D|Dm)" +"eiB" "" "[bp]" "(D|Dm)" +"EiB" "" "[bp]" "(D|Dm)" +"iiB" "" "[bp]" "(D|Dm)" +"IiB" "" "[bp]" "(D|Dm)" + +"aiB" "" "[dgkstvz]" "(D|Dn)" +"AiB" "" "[dgkstvz]" "(D|Dn)" +"oiB" "" "[dgkstvz]" "(D|Dn)" +"OiB" "" "[dgkstvz]" "(D|Dn)" +"uiB" "" "[dgkstvz]" "(D|Dn)" +"UiB" "" "[dgkstvz]" "(D|Dn)" +"eiB" "" "[dgkstvz]" "(D|Dn)" +"EiB" "" "[dgkstvz]" "(D|Dn)" +"iiB" "" "[dgkstvz]" "(D|Dn)" +"IiB" "" "[dgkstvz]" "(D|Dn)" + +"B" "" "[bp]" "(o|om[polish]|im[polish])" +"B" "" "[dgkstvz]" "(a|o|on[polish]|in[polish])" +"B" "" "" "(a|o)" + +"aiF" "" "[bp]" "(D|Dm)" +"AiF" "" "[bp]" "(D|Dm)" +"oiF" "" "[bp]" "(D|Dm)" +"OiF" "" "[bp]" "(D|Dm)" +"uiF" "" "[bp]" "(D|Dm)" +"UiF" "" "[bp]" "(D|Dm)" +"eiF" "" "[bp]" "(D|Dm)" +"EiF" "" "[bp]" "(D|Dm)" +"iiF" "" "[bp]" "(D|Dm)" +"IiF" "" "[bp]" "(D|Dm)" + +"aiF" "" "[dgkstvz]" "(D|Dn)" +"AiF" "" "[dgkstvz]" "(D|Dn)" +"oiF" "" "[dgkstvz]" "(D|Dn)" +"OiF" "" "[dgkstvz]" "(D|Dn)" +"uiF" "" "[dgkstvz]" "(D|Dn)" +"UiF" "" "[dgkstvz]" "(D|Dn)" +"eiF" "" "[dgkstvz]" "(D|Dn)" +"EiF" "" "[dgkstvz]" "(D|Dn)" +"iiF" "" "[dgkstvz]" "(D|Dn)" +"IiF" "" "[dgkstvz]" "(D|Dn)" + +"F" "" "[bp]" "(i|im[polish]|om[polish])" +"F" "" "[dgkstvz]" "(i|in[polish]|on[polish])" +"F" "" "" "i" + +"P" "" "" "(o|u)" + +"I" "[aeiouAEIBFOUQY]" "" "i" +"I" "" "[^aeiouAEBFIOU]e" "(Q[german]|i|D[english])" // "line" +"I" "" "$" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk[german])" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts[german])" +"Its" "" "$" "its" +"I" "" "" "(Q[german]|i)" + +"lE" "[bdfgkmnprsStvzZ]" "$" "(li|il[english])" // Apple < Appel +"lE" "[bdfgkmnprsStvzZ]" "" "(li|il[english]|lY[german])" // Applebaum < Appelbaum + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" + +"ai" "" "" "(D|a|i)" +"Ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"Oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" +"Ui" "" "" "(D|u|i)" +"ei" "" "" "(D|i)" +"Ei" "" "" "(D|i)" + +"iA" "" "$" "(ia|io)" +"iA" "" "" "(ia|io|iY[german])" +"A" "" "[^aeiouAEBFIOU]e" "(a|o|Y[german]|D[english])" // "plane" + +"E" "i[^aeiouAEIOU]" "" "(i|Y[german]|[english])" // Wineberg (vineberg/vajneberg) --> vajnberg +"E" "a[^aeiouAEIOU]" "" "(i|Y[german]|[english])" // Shaneberg (shaneberg/shejneberg) --> shejnberg + +"e" "" "[fklmnprstv]$" "i" +"e" "" "ts$" "i" +"e" "" "$" "i" +"e" "[DaoiuAOIUQY]" "" "i" +"e" "" "[aoAOQY]" "i" +"e" "" "" "(i|Y[german])" + +"E" "" "[fklmnprst]$" "i" +"E" "" "ts$" "i" +"E" "" "$" "i" +"E" "[DaoiuAOIUQY]" "" "i" +"E" "" "[aoAOQY]" "i" +"E" "" "" "(i|Y[german])" + +"a" "" "" "(a|o)" + +"O" "" "[fklmnprstv]$" "o" +"O" "" "ts$" "o" +"O" "" "$" "o" +"O" "[oeiuQY]" "" "o" +"O" "" "" "(o|Y[german])" + +"A" "" "[fklmnprst]$" "(a|o)" +"A" "" "ts$" "(a|o)" +"A" "" "$" "(a|o)" +"A" "[oeiuQY]" "" "(a|o)" +"A" "" "" "(a|o|Y[german])" + +"U" "" "$" "u" +"U" "[DoiuQY]" "" "u" +"U" "" "[^k]$" "u" +"Uk" "[lr]" "$" "(uk|Qk[german])" +"Uk" "" "$" "uk" + +"sUts" "" "$" "(suts|sQts[german])" +"Uts" "" "$" "uts" +"U" "" "" "(u|Q[german])" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_common.txt new file mode 100644 index 0000000..ccb5021 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_common.txt @@ -0,0 +1,225 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_approx_common + +// REGRESSIVE ASSIMILATION OF CONSONANTS +"n" "" "[bp]" "m" + +// PECULIARITY OF "h" +"h" "" "" "" +"H" "" "" "(x|)" + +// POLISH OGONEK IMPOSSIBLE +"F" "" "[bdgkpstvzZ]h" "e" +"F" "" "[bdgkpstvzZ]x" "e" +"B" "" "[bdgkpstvzZ]h" "a" +"B" "" "[bdgkpstvzZ]x" "a" + +// "e" and "i" ARE TO BE OMITTED BEFORE (SYLLABIC) n & l: Halperin=Halpern; Frankel = Frankl, Finkelstein = Finklstein +"e" "[bdfgklmnprsStvzZ]" "[ln]$" "" +"i" "[bdfgklmnprsStvzZ]" "[ln]$" "" +"E" "[bdfgklmnprsStvzZ]" "[ln]$" "" +"I" "[bdfgklmnprsStvzZ]" "[ln]$" "" +"F" "[bdfgklmnprsStvzZ]" "[ln]$" "" +"Q" "[bdfgklmnprsStvzZ]" "[ln]$" "" +"Y" "[bdfgklmnprsStvzZ]" "[ln]$" "" + +"e" "[bdfgklmnprsStvzZ]" "[ln][bdfgklmnprsStvzZ]" "" +"i" "[bdfgklmnprsStvzZ]" "[ln][bdfgklmnprsStvzZ]" "" +"E" "[bdfgklmnprsStvzZ]" "[ln][bdfgklmnprsStvzZ]" "" +"I" "[bdfgklmnprsStvzZ]" "[ln][bdfgklmnprsStvzZ]" "" +"F" "[bdfgklmnprsStvzZ]" "[ln][bdfgklmnprsStvzZ]" "" +"Q" "[bdfgklmnprsStvzZ]" "[ln][bdfgklmnprsStvzZ]" "" +"Y" "[bdfgklmnprsStvzZ]" "[ln][bdfgklmnprsStvzZ]" "" + +"lEs" "" "" "(lEs|lz)" // Applebaum < Appelbaum (English + blend English-something forms as Finklestein) +"lE" "[bdfgkmnprStvzZ]" "" "(lE|l)" // Applebaum < Appelbaum (English + blend English-something forms as Finklestein) + +// SIMPLIFICATION: (TRIPHTHONGS & DIPHTHONGS) -> ONE GENERIC DIPHTHONG "D" +"aue" "" "" "D" +"oue" "" "" "D" + +"AvE" "" "" "(D|AvE)" +"Ave" "" "" "(D|Ave)" +"avE" "" "" "(D|avE)" +"ave" "" "" "(D|ave)" + +"OvE" "" "" "(D|OvE)" +"Ove" "" "" "(D|Ove)" +"ovE" "" "" "(D|ovE)" +"ove" "" "" "(D|ove)" + +"ea" "" "" "(D|ea)" +"EA" "" "" "(D|EA)" +"Ea" "" "" "(D|Ea)" +"eA" "" "" "(D|eA)" + +"aji" "" "" "D" +"ajI" "" "" "D" +"aje" "" "" "D" +"ajE" "" "" "D" + +"Aji" "" "" "D" +"AjI" "" "" "D" +"Aje" "" "" "D" +"AjE" "" "" "D" + +"oji" "" "" "D" +"ojI" "" "" "D" +"oje" "" "" "D" +"ojE" "" "" "D" + +"Oji" "" "" "D" +"OjI" "" "" "D" +"Oje" "" "" "D" +"OjE" "" "" "D" + +"eji" "" "" "D" +"ejI" "" "" "D" +"eje" "" "" "D" +"ejE" "" "" "D" + +"Eji" "" "" "D" +"EjI" "" "" "D" +"Eje" "" "" "D" +"EjE" "" "" "D" + +"uji" "" "" "D" +"ujI" "" "" "D" +"uje" "" "" "D" +"ujE" "" "" "D" + +"Uji" "" "" "D" +"UjI" "" "" "D" +"Uje" "" "" "D" +"UjE" "" "" "D" + +"iji" "" "" "D" +"ijI" "" "" "D" +"ije" "" "" "D" +"ijE" "" "" "D" + +"Iji" "" "" "D" +"IjI" "" "" "D" +"Ije" "" "" "D" +"IjE" "" "" "D" + +"aja" "" "" "D" +"ajA" "" "" "D" +"ajo" "" "" "D" +"ajO" "" "" "D" +"aju" "" "" "D" +"ajU" "" "" "D" + +"Aja" "" "" "D" +"AjA" "" "" "D" +"Ajo" "" "" "D" +"AjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"oja" "" "" "D" +"ojA" "" "" "D" +"ojo" "" "" "D" +"ojO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"Oja" "" "" "D" +"OjA" "" "" "D" +"Ojo" "" "" "D" +"OjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"eja" "" "" "D" +"ejA" "" "" "D" +"ejo" "" "" "D" +"ejO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"Eja" "" "" "D" +"EjA" "" "" "D" +"Ejo" "" "" "D" +"EjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"uja" "" "" "D" +"ujA" "" "" "D" +"ujo" "" "" "D" +"ujO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"Uja" "" "" "D" +"UjA" "" "" "D" +"Ujo" "" "" "D" +"UjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"ija" "" "" "D" +"ijA" "" "" "D" +"ijo" "" "" "D" +"ijO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"Ija" "" "" "D" +"IjA" "" "" "D" +"Ijo" "" "" "D" +"IjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"j" "" "" "i" + +// lander = lender = länder +"lYndEr" "" "$" "lYnder" +"lander" "" "$" "lYnder" +"lAndEr" "" "$" "lYnder" +"lAnder" "" "$" "lYnder" +"landEr" "" "$" "lYnder" +"lender" "" "$" "lYnder" +"lEndEr" "" "$" "lYnder" +"lendEr" "" "$" "lYnder" +"lEnder" "" "$" "lYnder" + +// burg = berg +"bUrk" "" "$" "(burk|berk)" +"burk" "" "$" "(burk|berk)" +"bUrg" "" "$" "(burk|berk)" +"burg" "" "$" "(burk|berk)" + +// CONSONANTS {z & Z; s & S} are approximately interchangeable +"s" "" "[rmnl]" "z" +"S" "" "[rmnl]" "z" +"s" "[rmnl]" "" "z" +"S" "[rmnl]" "" "z" + +"dS" "" "$" "S" +"dZ" "" "$" "S" +"Z" "" "$" "S" +"S" "" "$" "(S|s)" +"z" "" "$" "(S|s)" + +"S" "" "" "s" +"dZ" "" "" "z" +"Z" "" "" "z" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_cyrillic.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_cyrillic.txt new file mode 100644 index 0000000..b5b2d8e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_cyrillic.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_approx_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_english.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_english.txt new file mode 100644 index 0000000..0c85d7f --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_english.txt @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// VOWELS +"I" "" "[^aEIeiou]e" "(Q|i|D)" // like in "five" +"I" "" "$" "i" +"I" "[aEIeiou]" "" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk)" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts)" +"Its" "" "$" "its" +"I" "" "" "(i|Q)" + +"lE" "[bdfgkmnprsStvzZ]" "" "(il|li|lY)" // Applebaum < Appelbaum + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" + +"E" "D[^aeiEIou]" "" "(i|)" // Weinberg, Shaneberg (shaneberg/shejneberg) --> shejnberg +"e" "D[^aeiEIou]" "" "(i|)" + +"e" "" "" "i" +"E" "" "[fklmnprsStv]$" "i" +"E" "" "ts$" "i" +"E" "[DaoiEuQY]" "" "i" +"E" "" "[aoQY]" "i" +"E" "" "" "(Y|i)" + +"a" "" "" "(a|o)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_french.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_french.txt new file mode 100644 index 0000000..fad3548 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_french.txt @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"I" "" "$" "i" +"I" "[aEIeiou]" "" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk)" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts)" +"Its" "" "$" "its" +"I" "" "" "(i|Q)" + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" + +"a" "" "" "(a|o)" +"e" "" "" "i" + +"E" "" "[fklmnprsStv]$" "i" +"E" "" "ts$" "i" +"E" "[aoiuQ]" "" "i" +"E" "" "[aoQ]" "i" +"E" "" "" "(Y|i)" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_german.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_german.txt new file mode 100644 index 0000000..0382bfc --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_german.txt @@ -0,0 +1,72 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"I" "" "$" "i" +"I" "[aeiAEIOUouQY]" "" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk)" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts)" +"Its" "" "$" "its" +"I" "" "" "(Q|i)" + +"AU" "" "" "(D|a|u)" +"aU" "" "" "(D|a|u)" +"Au" "" "" "(D|a|u)" +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"OU" "" "" "(D|o|u)" +"oU" "" "" "(D|o|u)" +"Ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"Ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"Oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" +"Ui" "" "" "(D|u|i)" + +"e" "" "" "i" + +"E" "" "[fklmnprst]$" "i" +"E" "" "ts$" "i" +"E" "" "$" "i" +"E" "[DaoAOUiuQY]" "" "i" +"E" "" "[aoAOQY]" "i" +"E" "" "" "(Y|i)" + +"O" "" "$" "o" +"O" "" "[fklmnprst]$" "o" +"O" "" "ts$" "o" +"O" "[aoAOUeiuQY]" "" "o" +"O" "" "" "(o|Y)" + +"a" "" "" "(a|o)" + +"A" "" "$" "(a|o)" +"A" "" "[fklmnprst]$" "(a|o)" +"A" "" "ts$" "(a|o)" +"A" "[aoeOUiuQY]" "" "(a|o)" +"A" "" "" "(a|o|Y)" + +"U" "" "$" "u" +"U" "[DaoiuUQY]" "" "u" +"U" "" "[^k]$" "u" +"Uk" "[lr]" "$" "(uk|Qk)" +"Uk" "" "$" "uk" +"sUts" "" "$" "(suts|sQts)" +"Uts" "" "$" "uts" +"U" "" "" "(u|Q)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_hebrew.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_hebrew.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_hebrew.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_hungarian.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_hungarian.txt new file mode 100644 index 0000000..0b2999e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_hungarian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_approx_french \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_polish.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_polish.txt new file mode 100644 index 0000000..230e2df --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_polish.txt @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"aiB" "" "[bp]" "(D|Dm)" +"oiB" "" "[bp]" "(D|Dm)" +"uiB" "" "[bp]" "(D|Dm)" +"eiB" "" "[bp]" "(D|Dm)" +"EiB" "" "[bp]" "(D|Dm)" +"iiB" "" "[bp]" "(D|Dm)" +"IiB" "" "[bp]" "(D|Dm)" + +"aiB" "" "[dgkstvz]" "(D|Dn)" +"oiB" "" "[dgkstvz]" "(D|Dn)" +"uiB" "" "[dgkstvz]" "(D|Dn)" +"eiB" "" "[dgkstvz]" "(D|Dn)" +"EiB" "" "[dgkstvz]" "(D|Dn)" +"iiB" "" "[dgkstvz]" "(D|Dn)" +"IiB" "" "[dgkstvz]" "(D|Dn)" + +"B" "" "[bp]" "(o|om|im)" +"B" "" "[dgkstvz]" "(o|on|in)" +"B" "" "" "o" + +"aiF" "" "[bp]" "(D|Dm)" +"oiF" "" "[bp]" "(D|Dm)" +"uiF" "" "[bp]" "(D|Dm)" +"eiF" "" "[bp]" "(D|Dm)" +"EiF" "" "[bp]" "(D|Dm)" +"iiF" "" "[bp]" "(D|Dm)" +"IiF" "" "[bp]" "(D|Dm)" + +"aiF" "" "[dgkstvz]" "(D|Dn)" +"oiF" "" "[dgkstvz]" "(D|Dn)" +"uiF" "" "[dgkstvz]" "(D|Dn)" +"eiF" "" "[dgkstvz]" "(D|Dn)" +"EiF" "" "[dgkstvz]" "(D|Dn)" +"iiF" "" "[dgkstvz]" "(D|Dn)" +"IiF" "" "[dgkstvz]" "(D|Dn)" + +"F" "" "[bp]" "(i|im|om)" +"F" "" "[dgkstvz]" "(i|in|on)" +"F" "" "" "i" + +"P" "" "" "(o|u)" + +"I" "" "$" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk)" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts)" +"Its" "" "$" "its" +"I" "[aeiAEBFIou]" "" "i" +"I" "" "" "(i|Q)" + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" + +"a" "" "" "(a|o)" +"e" "" "" "i" + +"E" "" "[fklmnprst]$" "i" +"E" "" "ts$" "i" +"E" "" "$" "i" +"E" "[DaoiuQ]" "" "i" +"E" "" "[aoQ]" "i" +"E" "" "" "(Y|i)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_romanian.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_romanian.txt new file mode 100644 index 0000000..45aefbd --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_romanian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_approx_polish \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_russian.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_russian.txt new file mode 100644 index 0000000..7644572 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_russian.txt @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"I" "" "$" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk)" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts)" +"Its" "" "$" "its" +"I" "[aeiEIou]" "" "i" +"I" "" "" "(i|Q)" + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" + +"om" "" "[bp]" "(om|im)" +"on" "" "[dgkstvz]" "(on|in)" +"em" "" "[bp]" "(im|om)" +"en" "" "[dgkstvz]" "(in|on)" +"Em" "" "[bp]" "(im|Ym|om)" +"En" "" "[dgkstvz]" "(in|Yn|on)" + +"a" "" "" "(a|o)" +"e" "" "" "i" + +"E" "" "[fklmnprsStv]$" "i" +"E" "" "ts$" "i" +"E" "[DaoiuQ]" "" "i" +"E" "" "[aoQ]" "i" +"E" "" "" "(Y|i)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_spanish.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_spanish.txt new file mode 100644 index 0000000..0b2999e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_approx_spanish.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_approx_french \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_any.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_any.txt new file mode 100644 index 0000000..07a463d --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_any.txt @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// These rules are applied after the word has been transliterated into the phonetic alphabet +// These rules are substitution rules within the phonetic character space rather than mapping rules + +// format of each entry rule in the table +// (pattern, left context, right context, phonetic) +// where +// pattern is a sequence of characters that might appear after a word has been transliterated into phonetic alphabet +// left context is the context that precedes the pattern +// right context is the context that follows the pattern +// phonetic is the result that this rule generates +// +// note that both left context and right context can be regular expressions +// ex: left context of ^ would mean start of word +// right context of $ means end of word +// +// match occurs if all of the following are true: +// portion of word matches the pattern +// that portion satisfies the context + +// A, E, I, O, P, U should create variants, but a, e, i, o, u should not create any new variant +// Q = ü ; Y = ä = ö + + +"A" "" "" "a" +"B" "" "" "a" + +"E" "" "" "e" +"F" "" "" "e" + +"I" "" "" "i" +"O" "" "" "o" +"P" "" "" "o" +"U" "" "" "u" + +"J" "" "" "l" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_approx_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_approx_common.txt new file mode 100644 index 0000000..65de710 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_approx_common.txt @@ -0,0 +1,82 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Ashkenazic + +"h" "" "$" "" +// VOICED - UNVOICED CONSONANTS +"b" "" "[fktSs]" "p" +"b" "" "p" "" +"b" "" "$" "p" +"p" "" "[gdZz]" "b" +"p" "" "b" "" + +"v" "" "[pktSs]" "f" +"v" "" "f" "" +"v" "" "$" "f" +"f" "" "[bgdZz]" "v" +"f" "" "v" "" + +"g" "" "[pftSs]" "k" +"g" "" "k" "" +"g" "" "$" "k" +"k" "" "[bdZz]" "g" +"k" "" "g" "" + +"d" "" "[pfkSs]" "t" +"d" "" "t" "" +"d" "" "$" "t" +"t" "" "[bgZz]" "d" +"t" "" "d" "" + +"s" "" "dZ" "" +"s" "" "tS" "" + +"z" "" "[pfkSt]" "s" +"z" "" "[sSzZ]" "" +"s" "" "[sSzZ]" "" +"Z" "" "[sSzZ]" "" +"S" "" "[sSzZ]" "" + +// SIMPLIFICATION OF CONSONANT CLUSTERS + +"jnm" "" "" "jm" + +// DOUBLE --> SINGLE + +"ji" "^" "" "i" +"jI" "^" "" "I" + +"a" "" "[aAB]" "" +"a" "[AB]" "" "" +"A" "" "A" "" +"B" "" "B" "" + +"b" "" "b" "" +"d" "" "d" "" +"f" "" "f" "" +"g" "" "g" "" +"k" "" "k" "" +"l" "" "l" "" +"m" "" "m" "" +"n" "" "n" "" +"p" "" "p" "" +"r" "" "r" "" +"t" "" "t" "" +"v" "" "v" "" +"z" "" "z" "" + \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_common.txt new file mode 100644 index 0000000..a5471b9 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_common.txt @@ -0,0 +1,33 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_approx_common + +"H" "" "" "h" + +// VOICED - UNVOICED CONSONANTS + +"s" "[^t]" "[bgZd]" "z" +"Z" "" "[pfkst]" "S" +"Z" "" "$" "S" +"S" "" "[bgzd]" "Z" +"z" "" "$" "s" + +"ji" "[aAoOeEiIuU]" "" "j" +"jI" "[aAoOeEiIuU]" "" "j" +"je" "[aAoOeEiIuU]" "" "j" +"jE" "[aAoOeEiIuU]" "" "j" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_cyrillic.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_cyrillic.txt new file mode 100644 index 0000000..ea1c19e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_cyrillic.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_english.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_english.txt new file mode 100644 index 0000000..ea1c19e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_english.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_french.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_french.txt new file mode 100644 index 0000000..ea1c19e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_french.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_german.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_german.txt new file mode 100644 index 0000000..3c9ba26 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_german.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_any \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_hebrew.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_hebrew.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_hebrew.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_hungarian.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_hungarian.txt new file mode 100644 index 0000000..ea1c19e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_hungarian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_polish.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_polish.txt new file mode 100644 index 0000000..9921bc2 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_polish.txt @@ -0,0 +1,23 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"B" "" "" "a" +"F" "" "" "e" +"P" "" "" "o" + +"E" "" "" "e" +"I" "" "" "i" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_romanian.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_romanian.txt new file mode 100644 index 0000000..ea1c19e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_romanian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_russian.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_russian.txt new file mode 100644 index 0000000..ad74856 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_russian.txt @@ -0,0 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"E" "" "" "e" +"I" "" "" "i" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_spanish.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_spanish.txt new file mode 100644 index 0000000..ea1c19e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_exact_spanish.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_hebrew_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_hebrew_common.txt new file mode 100644 index 0000000..fbf3ba9 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_hebrew_common.txt @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include ash_exact_approx_common + +"ts" "" "" "C" // for not confusion Gutes [=guts] and Guts [=guc] +"tS" "" "" "C" // same reason +"S" "" "" "s" +"p" "" "" "f" +"b" "^" "" "b" +"b" "" "" "(b|v)" + +"J" "" "" "l" +"ja" "" "" "i" +"jA" "" "" "i" +"jB" "" "" "i" +"je" "" "" "i" +"jE" "" "" "i" +"jF" "" "" "i" +"aj" "" "" "i" +"Aj" "" "" "i" +"Bj" "" "" "i" +"Fj" "" "" "i" +"I" "" "" "i" +"Q" "" "" "i" +"j" "" "" "i" + +"a" "^" "" "1" +"A" "^" "" "1" +"B" "^" "" "1" +"e" "^" "" "1" +"E" "^" "" "1" +"F" "^" "" "1" +"Y" "^" "" "1" + +"a" "" "$" "1" +"A" "" "$" "1" +"B" "" "$" "1" +"e" "" "$" "1" +"E" "" "$" "1" +"F" "" "$" "1" +"Y" "" "$" "1" + +"a" "" "" "" +"A" "" "" "" +"B" "" "" "" +"e" "" "" "" +"E" "" "" "" +"F" "" "" "" +"Y" "" "" "" + +"oj" "^" "" "(u|vi)" +"Oj" "^" "" "(u|vi)" +"uj" "^" "" "(u|vi)" +"Uj" "^" "" "(u|vi)" + +"oj" "" "" "u" +"Oj" "" "" "u" +"uj" "" "" "u" +"Uj" "" "" "u" + +"ou" "^" "" "(u|v|1)" +"o" "^" "" "(u|v|1)" +"O" "^" "" "(u|v|1)" +"P" "^" "" "(u|v|1)" +"U" "^" "" "(u|v|1)" +"u" "^" "" "(u|v|1)" + +"o" "" "$" "(u|1)" +"O" "" "$" "(u|1)" +"P" "" "$" "(u|1)" +"u" "" "$" "(u|1)" +"U" "" "$" "(u|1)" + +"ou" "" "" "u" +"o" "" "" "u" +"O" "" "" "u" +"P" "" "" "u" +"U" "" "" "u" + +"VV" "" "" "u" // alef/ayin + vov from ruleshebrew +"V" "" "" "v" // tsvey-vov from ruleshebrew;; only Ashkenazic +"L" "^" "" "1" // alef/ayin from ruleshebrew +"L" "" "$" "1" // alef/ayin from ruleshebrew +"L" "" "" " " // alef/ayin from ruleshebrew +"WW" "^" "" "(vi|u)" // vav-yod from ruleshebrew +"WW" "" "" "u" // vav-yod from ruleshebrew +"W" "^" "" "(u|v)" // vav from ruleshebrew +"W" "" "" "u" // vav from ruleshebrew + + //"g" "" "" "(g|Z)" + //"z" "" "" "(z|Z)" + //"d" "" "" "(d|dZ)" + +"TB" "^" "" "t" // tav from ruleshebrew; only Ashkenazic +"TB" "" "$" "s" // tav from ruleshebrew; only Ashkenazic +"TB" "" "" "(t|s)" // tav from ruleshebrew; only Ashkenazic +"T" "" "" "t" // tet from ruleshebrew + + //"k" "" "" "(k|x)" + //"x" "" "" "(k|x)" +"K" "" "" "k" // kof and initial kaf from ruleshebrew +"X" "" "" "x" // khet and final kaf from ruleshebrew + +"H" "^" "" "(x|1)" +"H" "" "$" "(x|1)" +"H" "" "" "(x|)" +"h" "^" "" "1" +"h" "" "" "" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_lang.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_lang.txt new file mode 100644 index 0000000..fc3012c --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_lang.txt @@ -0,0 +1,206 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// ASHKENAZIC + +// 1. following are rules to accept the language +// 1.1 Special letter combinations +zh polish+russian+german+english true +eau french true +[aoeiuäöü]h german true +^vogel german, true +vogel$ german true +witz german true +tz$ german+russian+english true +^tz russian+english true +güe spanish true +güi spanish true +ghe romanian true +ghi romanian true +vici$ romanian true +schi$ romanian true +chsch german true +tsch german true +ssch german true +sch$ german+russian true +^sch german+russian true +^rz polish true +rz$ polish+german true +[^aoeiuäöü]rz polish true +rz[^aoeiuäöü] polish true +cki$ polish true +ska$ polish true +cka$ polish true +ue german+russian true +ae german+russian+english true +oe german+french+russian+english true +th$ german true +^th german true +th[^aoeiu] german true +mann german true +cz polish true +cy polish true +niew polish true +stein german true +heim$ german true +heimer$ german true +ii$ russian true +iy$ russian true +yy$ russian true +yi$ russian true +yj$ russian true +ij$ russian true +gaus$ russian true +gauz$ russian true +gauz$ russian true +goltz$ russian true +gol'tz$ russian true +golts$ russian true +gol'ts$ russian true +^goltz russian true +^gol'tz russian true +^golts russian true +^gol'ts russian true +gendler$ russian true +gejmer$ russian true +gejm$ russian true +geimer$ russian true +geim$ russian true +geymer russian true +geym$ russian true +gof$ russian true +thal german true +zweig german true +ck$ german+english true +c$ polish+romanian+hungarian true +sz polish+hungarian true +gue spanish+french true +gui spanish+french true +guy french true +cs$ hungarian true +^cs hungarian true +dzs hungarian true +zs$ hungarian true +^zs hungarian true +^wl polish true +^wr polish+english+german true + +gy$ hungarian true +gy[aeou] hungarian true +gy hungarian+russian true +ly hungarian+russian+polish true +ny hungarian+russian+polish true +ty hungarian+russian+polish true + +// 1.2 special characters +â romanian+french true +ă romanian true +à french true +ä german true +á hungarian+spanish true +ą polish true +ć polish true +ç french true +ę polish true +é french+hungarian+spanish true +è french true +ê french true +í hungarian+spanish true +î romanian+french true +ł polish true +ń polish true +ñ spanish true +ó polish+hungarian+spanish true +ö german+hungarian true +õ hungarian true +ş romanian true +ś polish true +ţ romanian true +ü german+hungarian true +ù french true +ű hungarian true +ú hungarian+spanish true +ź polish true +ż polish true + +ß german true + +// Every Cyrillic word has at least one Cyrillic vowel (аёеоиуыэюя) +а cyrillic true +ё cyrillic true +о cyrillic true +е cyrillic true +и cyrillic true +у cyrillic true +ы cyrillic true +э cyrillic true +ю cyrillic true +я cyrillic true + +// Hebrew +א hebrew true +ב hebrew true +ג ebrew true +ד hebrew true +ה hebrew true +ו hebrew true +ז hebrew true +ח hebrew true +ט hebrew true +י hebrew true +כ hebrew true +ל hebrew true +מ hebrew true +נ hebrew true +ס hebrew true +ע hebrew true +פ hebrew true +צ hebrew true +ק hebrew true +ר hebrew true +ש hebrew true +ת hebrew true + + +// 2. following are rules to reject the language +// Every Latin character word has at least one Latin vowel +a cyrillic+hebrew false +o cyrillic+hebrew false +e cyrillic+hebrew false +i cyrillic+hebrew false +y cyrillic+hebrew+romanian false +u cyrillic+hebrew false + +v[^aoeiuäüö] german false // in german "v" can be found before a vowel only +y[^aoeiu] german false // in german "y" usually appears only in the last position; sometimes before a vowel +c[^aohk] german false +dzi german+english+french false +ou german false +aj german+english+french false +ej german+english+french false +oj german+english+french false +uj german+english+french false +k romanian false +v polish false +ky polish false +eu russian+polish false +w french+romanian+spanish+hungarian+russian false +kie french+spanish false +gie french+romanian+spanish false +q hungarian+polish+russian+romanian false +sch hungarian+polish+french+spanish false +^h russian false diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_languages.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_languages.txt new file mode 100644 index 0000000..272e4e9 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_languages.txt @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +any +cyrillic +english +french +german +hebrew +hungarian +polish +romanian +russian +spanish diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_any.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_any.txt new file mode 100644 index 0000000..ac8271b --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_any.txt @@ -0,0 +1,332 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//ASHKENAZIC + +// CONVERTING FEMININE TO MASCULINE +"yna" "" "$" "(in[russian]|ina)" +"ina" "" "$" "(in[russian]|ina)" +"liova" "" "$" "(lof[russian]|lef[russian]|lova)" +"lova" "" "$" "(lof[russian]|lef[russian]|lova)" +"ova" "" "$" "(of[russian]|ova)" +"eva" "" "$" "(ef[russian]|eva)" +"aia" "" "$" "(aja|i[russian])" +"aja" "" "$" "(aja|i[russian])" +"aya" "" "$" "(aja|i[russian])" + +"lowa" "" "$" "(lova|lof[polish]|l[polish]|el[polish])" +"kowa" "" "$" "(kova|kof[polish]|k[polish]|ek[polish])" +"owa" "" "$" "(ova|of[polish]|)" +"lowna" "" "$" "(lovna|levna|l[polish]|el[polish])" +"kowna" "" "$" "(kovna|k[polish]|ek[polish])" +"owna" "" "$" "(ovna|[polish])" +"lówna" "" "$" "(l|el[polish])" // polish +"kówna" "" "$" "(k|ek[polish])" // polish +"ówna" "" "$" "" // polish + +"a" "" "$" "(a|i[polish])" + +// CONSONANTS (integrated: German, Polish, Russian, Romanian and English) + +"rh" "^" "" "r" +"ssch" "" "" "S" +"chsch" "" "" "xS" +"tsch" "" "" "tS" + +"sch" "" "[ei]" "(sk[romanian]|S|StS[russian])" // german +"sch" "" "" "(S|StS[russian])" // german + +"ssh" "" "" "S" + +"sh" "" "[äöü]" "sh" // german +"sh" "" "[aeiou]" "(S[russian+english]|sh)" +"sh" "" "" "S" // russian+english + +"kh" "" "" "(x[russian+english]|kh)" + +"chs" "" "" "(ks[german]|xs|tSs[russian+english])" + + // French "ch" is currently disabled + //array("ch" "" "[ei]" "(x|tS|k[romanian]|S[french])" + //array("ch" "" "" "(x|tS[russian+english]|S[french])" + +"ch" "" "[ei]" "(x|k[romanian]|tS[russian+english])" +"ch" "" "" "(x|tS[russian+english])" + +"ck" "" "" "(k|tsk[polish])" + +"czy" "" "" "tSi" +"cze" "" "[bcdgkpstwzż]" "(tSe|tSF)" +"ciewicz" "" "" "(tsevitS|tSevitS)" +"siewicz" "" "" "(sevitS|SevitS)" +"ziewicz" "" "" "(zevitS|ZevitS)" +"riewicz" "" "" "rjevitS" +"diewicz" "" "" "djevitS" +"tiewicz" "" "" "tjevitS" +"iewicz" "" "" "evitS" +"ewicz" "" "" "evitS" +"owicz" "" "" "ovitS" +"icz" "" "" "itS" +"cz" "" "" "tS" // Polish + +"cia" "" "[bcdgkpstwzż]" "(tSB[polish]|tsB)" +"cia" "" "" "(tSa[polish]|tsa)" +"cią" "" "[bp]" "(tSom[polish]|tsom)" +"cią" "" "" "(tSon[polish]|tson)" +"cię" "" "[bp]" "(tSem[polish]|tsem)" +"cię" "" "" "(tSen[polish]|tsen)" +"cie" "" "[bcdgkpstwzż]" "(tSF[polish]|tsF)" +"cie" "" "" "(tSe[polish]|tse)" +"cio" "" "" "(tSo[polish]|tso)" +"ciu" "" "" "(tSu[polish]|tsu)" + +"ci" "" "$" "(tsi[polish]|tSi[polish+romanian]|tS[romanian]|si)" +"ci" "" "" "(tsi[polish]|tSi[polish+romanian]|si)" +"ce" "" "[bcdgkpstwzż]" "(tsF[polish]|tSe[polish+romanian]|se)" +"ce" "" "" "(tSe[polish+romanian]|tse[polish]|se)" +"cy" "" "" "(si|tsi[polish])" + +"ssz" "" "" "S" // Polish +"sz" "" "" "S" // Polish; actually could also be Hungarian /s/, disabled here + +"ssp" "" "" "(Sp[german]|sp)" +"sp" "" "" "(Sp[german]|sp)" +"sst" "" "" "(St[german]|st)" +"st" "" "" "(St[german]|st)" +"ss" "" "" "s" + +"sia" "" "[bcdgkpstwzż]" "(SB[polish]|sB[polish]|sja)" +"sia" "" "" "(Sa[polish]|sja)" +"sią" "" "[bp]" "(Som[polish]|som)" +"sią" "" "" "(Son[polish]|son)" +"się" "" "[bp]" "(Sem[polish]|sem)" +"się" "" "" "(Sen[polish]|sen)" +"sie" "" "[bcdgkpstwzż]" "(SF[polish]|sF|zi[german])" +"sie" "" "" "(se|Se[polish]|zi[german])" +"sio" "" "" "(So[polish]|so)" +"siu" "" "" "(Su[polish]|sju)" +"si" "" "" "(Si[polish]|si|zi[german])" +"s" "" "[aeiouäöë]" "(s|z[german])" + +"gue" "" "" "ge" +"gui" "" "" "gi" +"guy" "" "" "gi" +"gh" "" "[ei]" "(g[romanian]|gh)" + +"gauz" "" "$" "haus" +"gaus" "" "$" "haus" +"gol'ts" "" "$" "holts" +"golts" "" "$" "holts" +"gol'tz" "" "$" "holts" +"goltz" "" "" "holts" +"gol'ts" "^" "" "holts" +"golts" "^" "" "holts" +"gol'tz" "^" "" "holts" +"goltz" "^" "" "holts" +"gendler" "" "$" "hendler" +"gejmer" "" "$" "hajmer" +"gejm" "" "$" "hajm" +"geymer" "" "$" "hajmer" +"geym" "" "$" "hajm" +"geimer" "" "$" "hajmer" +"geim" "" "$" "hajm" +"gof" "" "$" "hof" + +"ger" "" "$" "ger" +"gen" "" "$" "gen" +"gin" "" "$" "gin" + +"gie" "" "$" "(ge|gi[german]|ji[french])" +"gie" "" "" "ge" +"ge" "[yaeiou]" "" "(gE|xe[spanish]|dZe[english+romanian])" +"gi" "[yaeiou]" "" "(gI|xi[spanish]|dZi[english+romanian])" +"ge" "" "" "(gE|dZe[english+romanian]|hE[russian]|xe[spanish])" +"gi" "" "" "(gI|dZi[english+romanian]|hI[russian]|xi[spanish])" +"gy" "" "[aeouáéóúüöőű]" "(gi|dj[hungarian])" +"gy" "" "" "(gi|d[hungarian])" +"g" "[jyaeiou]" "[aouyei]" "g" +"g" "" "[aouei]" "(g|h[russian])" + +"ej" "" "" "(aj|eZ[french+romanian]|ex[spanish])" +"ej" "" "" "aj" + +"ly" "" "[au]" "l" +"li" "" "[au]" "l" +"lj" "" "[au]" "l" +"lio" "" "" "(lo|le[russian])" +"lyo" "" "" "(lo|le[russian])" +"ll" "" "" "(l|J[spanish])" + +"j" "" "[aoeiuy]" "(j|dZ[english]|x[spanish]|Z[french+romanian])" +"j" "" "" "(j|x[spanish])" + +"pf" "" "" "(pf|p|f)" +"ph" "" "" "(ph|f)" + +"qu" "" "" "(kv[german]|k)" + +"rze" "t" "" "(Se[polish]|re)" // polish +"rze" "" "" "(rze|rtsE[german]|Ze[polish]|re[polish]|rZe[polish])" +"rzy" "t" "" "(Si[polish]|ri)" // polish +"rzy" "" "" "(Zi[polish]|ri[polish]|rZi)" +"rz" "t" "" "(S[polish]|r)" // polish +"rz" "" "" "(rz|rts[german]|Z[polish]|r[polish]|rZ[polish])" // polish + +"tz" "" "$" "(ts|tS[english+german])" +"tz" "^" "" "(ts|tS[english+german])" +"tz" "" "" "(ts[english+german+russian]|tz)" + +"zh" "" "" "(Z|zh[polish]|tsh[german])" + +"zia" "" "[bcdgkpstwzż]" "(ZB[polish]|zB[polish]|zja)" +"zia" "" "" "(Za[polish]|zja)" +"zią" "" "[bp]" "(Zom[polish]|zom)" +"zią" "" "" "(Zon[polish]|zon)" +"zię" "" "[bp]" "(Zem[polish]|zem)" +"zię" "" "" "(Zen[polish]|zen)" +"zie" "" "[bcdgkpstwzż]" "(ZF[polish]|zF[polish]|ze|tsi[german])" +"zie" "" "" "(ze|Ze[polish]|tsi[german])" +"zio" "" "" "(Zo[polish]|zo)" +"ziu" "" "" "(Zu[polish]|zju)" +"zi" "" "" "(Zi[polish]|zi|tsi[german])" + +"thal" "" "$" "tal" +"th" "^" "" "t" +"th" "" "[aeiou]" "(t[german]|th)" +"th" "" "" "t" // german +"vogel" "" "" "(vogel|fogel[german])" +"v" "^" "" "(v|f[german])" + +"h" "[aeiouyäöü]" "" "" //german +"h" "" "" "(h|x[romanian+polish])" +"h" "^" "" "(h|H[english+german])" // H can be exact "h" or approximate "kh" + + // VOWELS +"yi" "^" "" "i" + + //"e" "" "$" "(e|)" // French & English rule disabled except for final -ine +"e" "in" "$" "(e|[french])" + +"ii" "" "$" "i" // russian +"iy" "" "$" "i" // russian +"yy" "" "$" "i" // russian +"yi" "" "$" "i" // russian +"yj" "" "$" "i" // russian +"ij" "" "$" "i" // russian + +"aue" "" "" "aue" +"oue" "" "" "oue" + +"au" "" "" "(au|o[french])" +"ou" "" "" "(ou|u[french])" + +"ue" "" "" "(Q|uje[russian])" +"ae" "" "" "(Y[german]|aje[russian]|ae)" +"oe" "" "" "(Y[german]|oje[russian]|oe)" +"ee" "" "" "(i[english]|aje[russian]|e)" + +"ei" "" "" "aj" +"ey" "" "" "aj" +"eu" "" "" "(aj[german]|oj[german]|eu)" + +"i" "[aou]" "" "j" +"y" "[aou]" "" "j" + +"ie" "" "[bcdgkpstwzż]" "(i[german]|e[polish]|ije[russian]|je)" +"ie" "" "" "(i[german]|e[polish]|ije[russian]|je)" +"ye" "" "" "(je|ije[russian])" + +"i" "" "[au]" "j" +"y" "" "[au]" "j" +"io" "" "" "(jo|e[russian])" +"yo" "" "" "(jo|e[russian])" + +"ea" "" "" "(ea|ja[romanian])" +"e" "^" "" "(e|je[russian])" +"oo" "" "" "(u[english]|o)" +"uu" "" "" "u" + +// LANGUAGE SPECIFIC CHARACTERS +"ć" "" "" "(tS[polish]|ts)" // polish +"ł" "" "" "l" // polish +"ń" "" "" "n" // polish +"ñ" "" "" "(n|nj[spanish])" +"ś" "" "" "(S[polish]|s)" // polish +"ş" "" "" "S" // romanian +"ţ" "" "" "ts" // romanian +"ż" "" "" "Z" // polish +"ź" "" "" "(Z[polish]|z)" // polish + +"où" "" "" "u" // french + +"ą" "" "[bp]" "om" // polish +"ą" "" "" "on" // polish +"ä" "" "" "(Y|e)" // german +"á" "" "" "a" // hungarian +"ă" "" "" "(e[romanian]|a)" //romanian +"à" "" "" "a" // french +"â" "" "" "a" //french+romanian +"é" "" "" "e" +"è" "" "" "e" // french +"ê" "" "" "e" // french +"ę" "" "[bp]" "em" // polish +"ę" "" "" "en" // polish +"í" "" "" "i" +"î" "" "" "i" +"ö" "" "" "Y" +"ő" "" "" "Y" // hungarian +"ó" "" "" "(u[polish]|o)" +"ű" "" "" "Q" +"ü" "" "" "Q" +"ú" "" "" "u" +"ű" "" "" "Q" // hungarian + +"ß" "" "" "s" // german +"'" "" "" "" +"\"" "" "" "" + +"a" "" "[bcdgkpstwzż]" "(A|B[polish])" +"e" "" "[bcdgkpstwzż]" "(E|F[polish])" +"o" "" "[bcćdgklłmnńrsśtwzźż]" "(O|P[polish])" + + // LATIN ALPHABET +"a" "" "" "A" +"b" "" "" "b" +"c" "" "" "(k|ts[polish])" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "O" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "U" +"v" "" "" "v" +"w" "" "" "v" // English disabled +"x" "" "" "ks" +"y" "" "" "i" +"z" "" "" "(ts[german]|z)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_cyrillic.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_cyrillic.txt new file mode 100644 index 0000000..f766466 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_cyrillic.txt @@ -0,0 +1,100 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"ця" "" "" "tsa" +"цю" "" "" "tsu" +"циа" "" "" "tsa" +"цие" "" "" "tse" +"цио" "" "" "tso" +"циу" "" "" "tsu" +"сие" "" "" "se" +"сио" "" "" "so" +"зие" "" "" "ze" +"зио" "" "" "zo" + +"гауз" "" "$" "haus" +"гаус" "" "$" "haus" +"гольц" "" "$" "holts" +"геймер" "" "$" "hajmer" +"гейм" "" "$" "hajm" +"гоф" "" "$" "hof" +"гер" "" "$" "ger" +"ген" "" "$" "gen" +"гин" "" "$" "gin" +"г" "(й|ё|я|ю|ы|а|е|о|и|у)" "(а|е|о|и|у)" "g" +"г" "" "(а|е|о|и|у)" "(g|h)" + +"ля" "" "" "la" +"лю" "" "" "lu" +"лё" "" "" "(le|lo)" +"лио" "" "" "(le|lo)" +"ле" "" "" "(lE|lo)" + +"ийе" "" "" "je" +"ие" "" "" "je" +"ыйе" "" "" "je" +"ые" "" "" "je" +"ий" "" "(а|о|у)" "j" +"ый" "" "(а|о|у)" "j" + +"ий" "" "$" "i" +"ый" "" "$" "i" + +"ё" "" "" "(e|jo)" + +"ей" "^" "" "(jaj|aj)" +"е" "(а|е|о|у)" "" "je" +"е" "^" "" "je" +"эй" "" "" "aj" +"ей" "" "" "aj" + +"ауе" "" "" "aue" +"ауэ" "" "" "aue" + +"а" "" "" "a" +"б" "" "" "b" +"в" "" "" "v" +"г" "" "" "g" +"д" "" "" "d" +"е" "" "" "E" +"ж" "" "" "Z" +"з" "" "" "z" +"и" "" "" "I" +"й" "" "" "j" +"к" "" "" "k" +"л" "" "" "l" +"м" "" "" "m" +"н" "" "" "n" +"о" "" "" "o" +"п" "" "" "p" +"р" "" "" "r" +"с" "" "с" "" +"с" "" "" "s" +"т" "" "" "t" +"у" "" "" "u" +"ф" "" "" "f" +"х" "" "" "x" +"ц" "" "" "ts" +"ч" "" "" "tS" +"ш" "" "" "S" +"щ" "" "" "StS" +"ъ" "" "" "" +"ы" "" "" "I" +"ь" "" "" "" +"э" "" "" "E" +"ю" "" "" "ju" +"я" "" "" "ja" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_english.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_english.txt new file mode 100644 index 0000000..e35285f --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_english.txt @@ -0,0 +1,107 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// CONSONANTS +"tch" "" "" "tS" +"ch" "" "" "(tS|x)" +"ck" "" "" "k" +"cc" "" "[iey]" "ks" // success, accent +"c" "" "c" "" +"c" "" "[iey]" "s" // circle +"c" "" "" "k" // candy +"gh" "^" "" "g" // ghost +"gh" "" "" "(g|f|w)" // burgh | tough | bough +"gn" "" "" "(gn|n)" +"g" "" "[iey]" "(g|dZ)" // get, gem, giant, gigabyte +// "th" "" "" "(6|8|t)" +"th" "" "" "t" +"kh" "" "" "x" +"ph" "" "" "f" +"sch" "" "" "(S|sk)" +"sh" "" "" "S" +"who" "^" "" "hu" +"wh" "^" "" "w" + +"h" "" "$" "" // hard to find an example that isn't in a name +"h" "" "[^aeiou]" "" // hard to find an example that isn't in a name +"h" "^" "" "H" +"h" "" "" "h" + +"j" "" "" "dZ" +"kn" "^" "" "n" // knight +"mb" "" "$" "m" +"ng" "" "$" "(N|ng)" +"pn" "^" "" "(pn|n)" +"ps" "^" "" "(ps|s)" +"qu" "" "" "kw" +"q" "" "" "k" +"tia" "" "" "(So|Sa)" +"tio" "" "" "So" +"wr" "^" "" "r" +"w" "" "" "(w|v)" // the variant "v" is for spellings coming from German/Polish +"x" "^" "" "z" +"x" "" "" "ks" + +// VOWELS +"y" "^" "" "j" +"y" "^" "[aeiouy]" "j" +"yi" "^" "" "i" +"aue" "" "" "aue" +"oue" "" "" "(aue|oue)" +"ai" "" "" "(aj|e)" // rain | said +"ay" "" "" "aj" +"a" "" "[^aeiou]e" "aj" // plane (actually "ej") +"a" "" "" "(e|o|a)" // hat | call | part +"ei" "" "" "(aj|i)" // weigh | receive +"ey" "" "" "(aj|i)" // hey | barley +"ear" "" "" "ia" // tear +"ea" "" "" "(i|e)" // reason | treasure +"ee" "" "" "i" // between +"e" "" "[^aeiou]e" "i" // meter +"e" "" "$" "(|E)" // blame, badge +"e" "" "" "E" // bed +"ie" "" "" "i" // believe +"i" "" "[^aeiou]e" "aj" // five +"i" "" "" "I" // hit -- Morse disagrees, feels it should go to I +"oa" "" "" "ou" // toad +"oi" "" "" "oj" // join +"oo" "" "" "u" // food +"ou" "" "" "(u|ou)" // through | tough | could +"oy" "" "" "oj" // boy +"o" "" "[^aeiou]e" "ou" // rode +"o" "" "" "(o|a)" // hot -- Morse disagrees, feels it should go to 9 +"u" "" "[^aeiou]e" "(ju|u)" // cute | flute +"u" "" "r" "(e|u)" // turn -- Morse disagrees, feels it should go to E +"u" "" "" "(u|a)" // put +"y" "" "" "i" + +// TRIVIAL +"b" "" "" "b" +"d" "" "" "d" +"f" "" "" "f" +"g" "" "" "g" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"p" "" "" "p" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"v" "" "" "v" +"z" "" "" "z" + diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_french.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_french.txt new file mode 100644 index 0000000..926c6f5 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_french.txt @@ -0,0 +1,91 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Ashkenazic + +// CONSONANTS +"kh" "" "" "x" // foreign +"ph" "" "" "f" + +"ç" "" "" "s" +"x" "" "" "ks" +"ch" "" "" "S" +"c" "" "[eiyéèê]" "s" +"c" "" "" "k" +"gn" "" "" "(n|gn)" +"g" "" "[eiy]" "Z" +"gue" "" "$" "k" +"gu" "" "[eiy]" "g" + //array("aill" "" "e" "aj" // non Jewish + //array("ll" "" "e" "(l|j)" // non Jewish +"que" "" "$" "k" +"qu" "" "" "k" +"q" "" "" "k" +"s" "[aeiouyéèê]" "[aeiouyéèê]" "z" +"h" "[bdgt]" "" "" // translit from Arabic +"h" "" "$" "" // foreign +"j" "" "" "Z" +"w" "" "" "v" +"ouh" "" "[aioe]" "(v|uh)" +"ou" "" "[aeio]" "v" +"uo" "" "" "(vo|o)" +"u" "" "[aeio]" "v" + +// VOWELS +"aue" "" "" "aue" +"eau" "" "" "o" + //array("au" "" "" "(o|au)" // non Jewish +"ai" "" "" "aj" // [e] is non Jewish +"ay" "" "" "aj" // [e] is non Jewish +"é" "" "" "e" +"ê" "" "" "e" +"è" "" "" "e" +"à" "" "" "a" +"â" "" "" "a" +"où" "" "" "u" +"ou" "" "" "u" +"oi" "" "" "oj" // [ua] is non Jewish +"ei" "" "" "aj" // [e] is non Jewish +"ey" "" "" "aj" // [e] non Jewish + //array("eu" "" "" "(e|o)" // non Jewish +"y" "[ou]" "" "j" +"e" "" "$" "(e|)" +"i" "" "[aou]" "j" +"y" "" "[aoeu]" "j" +"y" "" "" "i" + + // TRIVIAL +"a" "" "" "a" +"b" "" "" "b" +"d" "" "" "d" +"e" "" "" "E" // only Ashkenazic +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "I" // only Ashkenazic +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_german.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_german.txt new file mode 100644 index 0000000..424b8ea --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_german.txt @@ -0,0 +1,128 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Ashkenazic + +// CONSONANTS +"ziu" "" "" "tsu" +"zia" "" "" "tsa" +"zio" "" "" "tso" + +"ssch" "" "" "S" +"chsch" "" "" "xS" +"ewitsch" "" "$" "evitS" +"owitsch" "" "$" "ovitS" +"evitsch" "" "$" "evitS" +"ovitsch" "" "$" "ovitS" +"witsch" "" "$" "vitS" +"vitsch" "" "$" "vitS" +"sch" "" "" "S" + +"chs" "" "" "ks" +"ch" "" "" "x" +"ck" "" "" "k" +"c" "" "[eiy]" "ts" + +"sp" "^" "" "Sp" +"st" "^" "" "St" +"ssp" "" "" "(Sp|sp)" +"sp" "" "" "(Sp|sp)" +"sst" "" "" "(St|st)" +"st" "" "" "(St|st)" +"pf" "" "" "(pf|p|f)" +"ph" "" "" "(ph|f)" +"qu" "" "" "kv" + +"ewitz" "" "$" "(evits|evitS)" +"ewiz" "" "$" "(evits|evitS)" +"evitz" "" "$" "(evits|evitS)" +"eviz" "" "$" "(evits|evitS)" +"owitz" "" "$" "(ovits|ovitS)" +"owiz" "" "$" "(ovits|ovitS)" +"ovitz" "" "$" "(ovits|ovitS)" +"oviz" "" "$" "(ovits|ovitS)" +"witz" "" "$" "(vits|vitS)" +"wiz" "" "$" "(vits|vitS)" +"vitz" "" "$" "(vits|vitS)" +"viz" "" "$" "(vits|vitS)" +"tz" "" "" "ts" + +"thal" "" "$" "tal" +"th" "^" "" "t" +"th" "" "[äöüaeiou]" "(t|th)" +"th" "" "" "t" +"rh" "^" "" "r" +"h" "[aeiouyäöü]" "" "" +"h" "^" "" "H" + +"ss" "" "" "s" +"s" "" "[äöüaeiouy]" "(z|s)" +"s" "[aeiouyäöüj]" "[aeiouyäöü]" "z" +"ß" "" "" "s" + + // VOWELS +"ij" "" "$" "i" +"aue" "" "" "aue" +"ue" "" "" "Q" +"ae" "" "" "Y" +"oe" "" "" "Y" +"ü" "" "" "Q" +"ä" "" "" "(Y|e)" +"ö" "" "" "Y" +"ei" "" "" "aj" +"ey" "" "" "aj" +"eu" "" "" "(aj|oj)" +"i" "[aou]" "" "j" +"y" "[aou]" "" "j" +"ie" "" "" "I" +"i" "" "[aou]" "j" +"y" "" "[aoeu]" "j" + + // FOREIGN LETTERs +"ñ" "" "" "n" +"ã" "" "" "a" +"ő" "" "" "o" +"ű" "" "" "u" +"ç" "" "" "s" + + // ALPHABET +"a" "" "" "A" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "O" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "U" +"v" "" "" "(f|v)" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "i" +"z" "" "" "ts" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_hebrew.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_hebrew.txt new file mode 100644 index 0000000..a85104a --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_hebrew.txt @@ -0,0 +1,62 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Ashkenazic + +"אי" "" "" "i" +"עי" "" "" "i" +"עו" "" "" "VV" +"או" "" "" "VV" + +"ג׳" "" "" "Z" +"ד׳" "" "" "dZ" + +"א" "" "" "L" +"ב" "" "" "b" +"ג" "" "" "g" +"ד" "" "" "d" + +"ה" "^" "" "1" +"ה" "" "$" "1" +"ה" "" "" "" + +"וו" "" "" "V" +"וי" "" "" "WW" +"ו" "" "" "W" +"ז" "" "" "z" +"ח" "" "" "X" +"ט" "" "" "T" +"יי" "" "" "i" +"י" "" "" "i" +"ך" "" "" "X" +"כ" "^" "" "K" +"כ" "" "" "k" +"ל" "" "" "l" +"ם" "" "" "m" +"מ" "" "" "m" +"ן" "" "" "n" +"נ" "" "" "n" +"ס" "" "" "s" +"ע" "" "" "L" +"ף" "" "" "f" +"פ" "" "" "f" +"ץ" "" "" "C" +"צ" "" "" "C" +"ק" "" "" "K" +"ר" "" "" "r" +"ש" "" "" "s" +"ת" "" "" "TB" // only Ashkenazic diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_hungarian.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_hungarian.txt new file mode 100644 index 0000000..3d47b89 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_hungarian.txt @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// ASHKENAZIC + +// CONSONANTS +"sz" "" "" "s" +"zs" "" "" "Z" +"cs" "" "" "tS" + +"ay" "" "" "(oj|aj)" +"ai" "" "" "(oj|aj)" +"aj" "" "" "(oj|aj)" + +"ei" "" "" "aj" // German element +"ey" "" "" "aj" // German element + +"y" "[áo]" "" "j" +"i" "[áo]" "" "j" +"ee" "" "" "(aj|e)" // actually ej +"ely" "" "" "(aj|eli)" // actually ej +"ly" "" "" "(j|li)" +"gy" "" "[aeouáéóúüöőű]" "dj" +"gy" "" "" "(d|gi)" +"ny" "" "[aeouáéóúüöőű]" "nj" +"ny" "" "" "(n|ni)" +"ty" "" "[aeouáéóúüöőű]" "tj" +"ty" "" "" "(t|ti)" + +"qu" "" "" "(ku|kv)" +"h" "" "$" "" + +// VOWELS +"á" "" "" "a" +"é" "" "" "e" +"í" "" "" "i" +"ó" "" "" "o" +"ö" "" "" "Y" +"ő" "" "" "Y" +"ú" "" "" "u" +"ü" "" "" "Q" +"ű" "" "" "Q" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "ts" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "(S|s)" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_polish.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_polish.txt new file mode 100644 index 0000000..374b4e2 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_polish.txt @@ -0,0 +1,185 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Ashkenazic + +// CONVERTING FEMININE TO MASCULINE +"ska" "" "$" "ski" +"cka" "" "$" "tski" +"lowa" "" "$" "(lova|lof|l|el)" +"kowa" "" "$" "(kova|kof|k|ek)" +"owa" "" "$" "(ova|of|)" +"lowna" "" "$" "(lovna|levna|l|el)" +"kowna" "" "$" "(kovna|k|ek)" +"owna" "" "$" "(ovna|)" +"lówna" "" "$" "(l|el)" +"kówna" "" "$" "(k|ek)" +"ówna" "" "$" "" +"a" "" "$" "(a|i)" + + // CONSONANTS +"czy" "" "" "tSi" +"cze" "" "[bcdgkpstwzż]" "(tSe|tSF)" +"ciewicz" "" "" "(tsevitS|tSevitS)" +"siewicz" "" "" "(sevitS|SevitS)" +"ziewicz" "" "" "(zevitS|ZevitS)" +"riewicz" "" "" "rjevitS" +"diewicz" "" "" "djevitS" +"tiewicz" "" "" "tjevitS" +"iewicz" "" "" "evitS" +"ewicz" "" "" "evitS" +"owicz" "" "" "ovitS" +"icz" "" "" "itS" +"cz" "" "" "tS" +"ch" "" "" "x" + +"cia" "" "[bcdgkpstwzż]" "(tSB|tsB)" +"cia" "" "" "(tSa|tsa)" +"cią" "" "[bp]" "(tSom|tsom)" +"cią" "" "" "(tSon|tson)" +"cię" "" "[bp]" "(tSem|tsem)" +"cię" "" "" "(tSen|tsen)" +"cie" "" "[bcdgkpstwzż]" "(tSF|tsF)" +"cie" "" "" "(tSe|tse)" +"cio" "" "" "(tSo|tso)" +"ciu" "" "" "(tSu|tsu)" +"ci" "" "" "(tSi|tsI)" +"ć" "" "" "(tS|ts)" + +"ssz" "" "" "S" +"sz" "" "" "S" +"sia" "" "[bcdgkpstwzż]" "(SB|sB|sja)" +"sia" "" "" "(Sa|sja)" +"sią" "" "[bp]" "(Som|som)" +"sią" "" "" "(Son|son)" +"się" "" "[bp]" "(Sem|sem)" +"się" "" "" "(Sen|sen)" +"sie" "" "[bcdgkpstwzż]" "(SF|sF|se)" +"sie" "" "" "(Se|se)" +"sio" "" "" "(So|so)" +"siu" "" "" "(Su|sju)" +"si" "" "" "(Si|sI)" +"ś" "" "" "(S|s)" + +"zia" "" "[bcdgkpstwzż]" "(ZB|zB|zja)" +"zia" "" "" "(Za|zja)" +"zią" "" "[bp]" "(Zom|zom)" +"zią" "" "" "(Zon|zon)" +"zię" "" "[bp]" "(Zem|zem)" +"zię" "" "" "(Zen|zen)" +"zie" "" "[bcdgkpstwzż]" "(ZF|zF)" +"zie" "" "" "(Ze|ze)" +"zio" "" "" "(Zo|zo)" +"ziu" "" "" "(Zu|zju)" +"zi" "" "" "(Zi|zI)" + +"że" "" "[bcdgkpstwzż]" "(Ze|ZF)" +"że" "" "[bcdgkpstwzż]" "(Ze|ZF|ze|zF)" +"że" "" "" "Ze" +"źe" "" "" "(Ze|ze)" +"ży" "" "" "Zi" +"źi" "" "" "(Zi|zi)" +"ż" "" "" "Z" +"ź" "" "" "(Z|z)" + +"rze" "t" "" "(Se|re)" +"rze" "" "" "(Ze|re|rZe)" +"rzy" "t" "" "(Si|ri)" +"rzy" "" "" "(Zi|ri|rZi)" +"rz" "t" "" "(S|r)" +"rz" "" "" "(Z|r|rZ)" + +"lio" "" "" "(lo|le)" +"ł" "" "" "l" +"ń" "" "" "n" +"qu" "" "" "k" +"s" "" "s" "" + + // VOWELS +"ó" "" "" "(u|o)" +"ą" "" "[bp]" "om" +"ę" "" "[bp]" "em" +"ą" "" "" "on" +"ę" "" "" "en" + +"ije" "" "" "je" +"yje" "" "" "je" +"iie" "" "" "je" +"yie" "" "" "je" +"iye" "" "" "je" +"yye" "" "" "je" + +"ij" "" "[aou]" "j" +"yj" "" "[aou]" "j" +"ii" "" "[aou]" "j" +"yi" "" "[aou]" "j" +"iy" "" "[aou]" "j" +"yy" "" "[aou]" "j" + +"rie" "" "" "rje" +"die" "" "" "dje" +"tie" "" "" "tje" +"ie" "" "[bcdgkpstwzż]" "F" +"ie" "" "" "e" + +"aue" "" "" "aue" +"au" "" "" "au" + +"ei" "" "" "aj" +"ey" "" "" "aj" +"ej" "" "" "aj" + +"ai" "" "" "aj" +"ay" "" "" "aj" +"aj" "" "" "aj" + +"i" "[ou]" "" "j" +"y" "[ou]" "" "j" +"i" "" "[aou]" "j" +"y" "" "[aeou]" "j" + +"a" "" "[bcdgkpstwzż]" "B" +"e" "" "[bcdgkpstwzż]" "(E|F)" +"o" "" "[bcćdgklłmnńrsśtwzźż]" "P" + +// ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "ts" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "(h|x)" +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "I" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_romanian.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_romanian.txt new file mode 100644 index 0000000..544a290 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_romanian.txt @@ -0,0 +1,66 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"j" "" "" "Z" + +"ce" "" "" "tSe" +"ci" "" "" "(tSi|tS)" +"ch" "" "[ei]" "k" +"ch" "" "" "x" // foreign +"c" "" "" "k" + +"gi" "" "" "(dZi|dZ)" +"g" "" "[ei]" "dZ" +"gh" "" "" "g" + +"ei" "" "" "aj" +"i" "[aou]" "" "j" +"i" "" "[aeou]" "j" +"ţ" "" "" "ts" +"ş" "" "" "S" +"h" "" "" "(x|h)" + +"qu" "" "" "k" +"q" "" "" "k" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "i" + +"î" "" "" "i" +"ea" "" "" "ja" +"ă" "" "" "(e|a)" +"aue" "" "" "aue" + +"a" "" "" "a" +"b" "" "" "b" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"i" "" "" "I" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_russian.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_russian.txt new file mode 100644 index 0000000..f023c25 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_russian.txt @@ -0,0 +1,164 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// CONVERTING FEMININE TO MASCULINE +"yna" "" "$" "(in|ina)" +"ina" "" "$" "(in|ina)" +"liova" "" "$" "(lof|lef)" +"lova" "" "$" "(lof|lef|lova)" +"ova" "" "$" "(of|ova)" +"eva" "" "$" "(ef|ova)" +"aia" "" "$" "(aja|i)" +"aja" "" "$" "(aja|i)" +"aya" "" "$" "(aja|i)" + + //SPECIFIC CONSONANTS +"tsya" "" "" "tsa" +"tsyu" "" "" "tsu" +"tsia" "" "" "tsa" +"tsie" "" "" "tse" +"tsio" "" "" "tso" +"tsye" "" "" "tse" +"tsyo" "" "" "tso" +"tsiu" "" "" "tsu" +"sie" "" "" "se" +"sio" "" "" "so" +"zie" "" "" "ze" +"zio" "" "" "zo" +"sye" "" "" "se" +"syo" "" "" "so" +"zye" "" "" "ze" +"zyo" "" "" "zo" + +"gauz" "" "$" "haus" +"gaus" "" "$" "haus" +"gol'ts" "" "$" "holts" +"golts" "" "$" "holts" +"gol'tz" "" "$" "holts" +"goltz" "" "$" "holts" +"gejmer" "" "$" "hajmer" +"gejm" "" "$" "hajm" +"geimer" "" "$" "hajmer" +"geim" "" "$" "hajm" +"geymer" "" "$" "hajmer" +"geym" "" "$" "hajm" +"gendler" "" "$" "hendler" +"gof" "" "$" "hof" +"gojf" "" "$" "hojf" +"goyf" "" "$" "hojf" +"goif" "" "$" "hojf" +"ger" "" "$" "ger" +"gen" "" "$" "gen" +"gin" "" "$" "gin" +"gg" "" "" "g" +"g" "[jaeoiuy]" "[aeoiu]" "g" +"g" "" "[aeoiu]" "(g|h)" + +"kh" "" "" "x" +"ch" "" "" "(tS|x)" // in DJSRE the rule is simpler:"ch" "" "" "tS"); +"sch" "" "" "(StS|S)" +"ssh" "" "" "S" +"sh" "" "" "S" +"zh" "" "" "Z" +"tz" "" "$" "ts" // not in DJSRE +"tz" "" "" "(ts|tz)" // not in DJSRE +"c" "" "[iey]" "s" // not in DJSRE +"c" "" "" "k" // not in DJSRE +"qu" "" "" "(kv|k)" // not in DJSRE +"q" "" "" "k" // not in DJSRE +"s" "" "s" "" + +"w" "" "" "v" // not in DJSRE +"x" "" "" "ks" // not in DJSRE + + //SPECIFIC VOWELS +"lya" "" "" "la" +"lyu" "" "" "lu" +"lia" "" "" "la" // not in DJSRE +"liu" "" "" "lu" // not in DJSRE +"lja" "" "" "la" // not in DJSRE +"lju" "" "" "lu" // not in DJSRE +"le" "" "" "(lo|lE)" //not in DJSRE +"lyo" "" "" "(lo|le)" //not in DJSRE +"lio" "" "" "(lo|le)" + +"ije" "" "" "je" +"ie" "" "" "je" +"iye" "" "" "je" +"iie" "" "" "je" +"yje" "" "" "je" +"ye" "" "" "je" +"yye" "" "" "je" +"yie" "" "" "je" + +"ij" "" "[aou]" "j" +"iy" "" "[aou]" "j" +"ii" "" "[aou]" "j" +"yj" "" "[aou]" "j" +"yy" "" "[aou]" "j" +"yi" "" "[aou]" "j" + +"io" "" "" "(jo|e)" +"i" "" "[au]" "j" +"i" "[aou]" "" "j" // not in DJSRE +"ei" "" "" "aj" // not in DJSRE +"ey" "" "" "aj" // not in DJSRE +"ej" "" "" "aj" +"yo" "" "" "(jo|e)" //not in DJSRE +"y" "" "[au]" "j" +"y" "[aiou]" "" "j" // not in DJSRE + +"ii" "" "$" "i" // not in DJSRE +"iy" "" "$" "i" // not in DJSRE +"yy" "" "$" "i" // not in DJSRE +"yi" "" "$" "i" // not in DJSRE +"yj" "" "$" "i" +"ij" "" "$" "i" + +"e" "^" "" "(je|E)" // in DJSRE the rule is simpler:"e" "^" "" "je"); +"ee" "" "" "(aje|i)" // in DJSRE the rule is simpler:"ee" "" "" "(eje|aje)"); +"e" "[aou]" "" "je" +"y" "" "" "I" +"oo" "" "" "(oo|u)" // not in DJSRE +"'" "" "" "" +"\"" "" "" "" + +"aue" "" "" "aue" + +// TRIVIAL +"a" "" "" "a" +"b" "" "" "b" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" // not in DJSRE +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_spanish.txt b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_spanish.txt new file mode 100644 index 0000000..ff1b919 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/ash_rules_spanish.txt @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Ashkenazic = Argentina + +// CONSONANTS +"ñ" "" "" "(n|nj)" + +"ch" "" "" "(tS|dZ)" // dZ is typical for Argentina +"h" "[bdgt]" "" "" // translit. from Arabic +"h" "" "$" "" // foreign + +"j" "" "" "x" +"x" "" "" "ks" +"ll" "" "" "(l|Z)" // Z is typical for Argentina, only Ashkenazic +"w" "" "" "v" // foreign words + +"v" "" "" "(b|v)" +"b" "" "" "(b|v)" +"m" "" "[bpvf]" "(m|n)" + +"c" "" "[ei]" "s" +"c" "" "" "k" + +"z" "" "" "(z|s)" // as "c" befoire "e" or "i", in Spain it is like unvoiced English "th" + +"gu" "" "[ei]" "(g|gv)" // "gv" because "u" can actually be "ü" +"g" "" "[ei]" "(x|g)" // "g" only for foreign words + +"qu" "" "" "k" +"q" "" "" "k" + +"uo" "" "" "(vo|o)" +"u" "" "[aei]" "v" + +"y" "" "" "(i|j|S|Z)" // S or Z are peculiar to South America; only Ashkenazic + + // VOWELS +"ü" "" "" "v" +"á" "" "" "a" +"é" "" "" "e" +"í" "" "" "i" +"ó" "" "" "o" +"ú" "" "" "u" + + // TRIVIAL +"a" "" "" "a" +"d" "" "" "d" +"e" "" "" "E" // Only Ashkenazic +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "I" // Only Ashkenazic +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_any.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_any.txt new file mode 100644 index 0000000..9a705fd --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_any.txt @@ -0,0 +1,131 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERIC +// A, E, I, O, P, U should create variants, but a, e, i, o, u should not create any new variant +// Q = ü ; Y = ä = ö +// EE = final "e" (english or french) + +// VOWELS + // "ALL" DIPHTHONGS are interchangeable BETWEEN THEM and with monophthongs of which they are composed ("D" means "diphthong") + // {a,o} are totally interchangeable if non-stressed; in German "a/o" can actually be from "ä/ö" (that are equivalent to "e") + // {i,e} are interchangeable if non-stressed, while in German "u" can actually be from "ü" (that is equivalent to "i") + +"mb" "" "" "(mb|b[greeklatin])" +"mp" "" "" "(mp|b[greeklatin])" +"ng" "" "" "(ng|g[greeklatin])" + +"B" "" "[fktSs]" "(p|f[spanish])" +"B" "" "p" "" +"B" "" "$" "(p|f[spanish])" +"V" "" "[pktSs]" "(f|p[spanish])" +"V" "" "f" "" +"V" "" "$" "(f|p[spanish])" +"B" "" "" "(b|v[spanish])" +"V" "" "" "(v|b[spanish])" + + // French word-final and word-part-final letters +"t" "" "$" "(t|[french])" +"g" "n" "$" "(g|[french])" +"k" "n" "$" "(k|[french])" +"p" "" "$" "(p|[french])" +"r" "[Ee]" "$" "(r|[french])" +"s" "" "$" "(s|[french])" +"t" "[aeiouAEIOU]" "[^aeiouAEIOU]" "(t|[french])" // Petitjean +"s" "[aeiouAEIOU]" "[^aeiouAEIOU]" "(s|[french])" // Groslot, Grosleau + //array("p" "[aeiouAEIOU]" "[^aeiouAEIOU]" "(p|[french])" + +"I" "[aeiouAEIBFOUQY]" "" "i" +"I" "" "[^aeiouAEBFIOU]e" "(Q[german]|i|D[english])" // "line" +"I" "" "$" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk[german])" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts[german])" +"Its" "" "$" "its" +"I" "" "" "(Q[german]|i)" + +"lEE" "[bdfgkmnprsStvzZ]" "" "(li|il[english])" // Apple = Appel +"rEE" "[bdfgkmnprsStvzZ]" "" "(ri|ir[english])" +"lE" "[bdfgkmnprsStvzZ]" "" "(li|il[english]|lY[german])" // Applebaum < Appelbaum +"rE" "[bdfgkmnprsStvzZ]" "" "(ri|ir[english]|rY[german])" + +"EE" "" "" "(i|)" +"ea" "" "" "(D|a|i)" + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"eu" "" "" "(D|e|u)" + +"ai" "" "" "(D|a|i)" +"Ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"Oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" +"Ui" "" "" "(D|u|i)" +"ei" "" "" "(D|i)" +"Ei" "" "" "(D|i)" + +"iA" "" "$" "(ia|io)" +"iA" "" "" "(ia|io|iY[german])" +"A" "" "[^aeiouAEBFIOU]e" "(a|o|Y[german]|D[english])" // "plane" + + +"E" "i[^aeiouAEIOU]" "" "(i|Y[german]|[english])" // Wineberg (vineberg/vajneberg) --> vajnberg +"E" "a[^aeiouAEIOU]" "" "(i|Y[german]|[english])" // Shaneberg (shaneberg/shejneberg) --> shejnberg + +"E" "" "[fklmnprst]$" "i" +"E" "" "ts$" "i" +"E" "" "$" "i" +"E" "[DaoiuAOIUQY]" "" "i" +"E" "" "[aoAOQY]" "i" +"E" "" "" "(i|Y[german])" + +"P" "" "" "(o|u)" + +"O" "" "[fklmnprstv]$" "o" +"O" "" "ts$" "o" +"O" "" "$" "o" +"O" "[oeiuQY]" "" "o" +"O" "" "" "(o|Y[german])" +"O" "" "" "o" + +"A" "" "[fklmnprst]$" "(a|o)" +"A" "" "ts$" "(a|o)" +"A" "" "$" "(a|o)" +"A" "[oeiuQY]" "" "(a|o)" +"A" "" "" "(a|o|Y[german])" +"A" "" "" "(a|o)" + +"U" "" "$" "u" +"U" "[DoiuQY]" "" "u" +"U" "" "[^k]$" "u" +"Uk" "[lr]" "$" "(uk|Qk[german])" +"Uk" "" "$" "uk" +"sUts" "" "$" "(suts|sQts[german])" +"Uts" "" "$" "uts" +"U" "" "" "(u|Q[german])" +"U" "" "" "u" + +"e" "" "[fklmnprstv]$" "i" +"e" "" "ts$" "i" +"e" "" "$" "i" +"e" "[DaoiuAOIUQY]" "" "i" +"e" "" "[aoAOQY]" "i" +"e" "" "" "(i|Y[german])" + +"a" "" "" "(a|o)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_arabic.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_arabic.txt new file mode 100644 index 0000000..e7ced2c --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_arabic.txt @@ -0,0 +1,26 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"1a" "" "" "(D|a)" +"1i" "" "" "(D|i|e)" +"1u" "" "" "(D|u|o)" +"j1" "" "" "(ja|je|jo|ju|j)" +"1" "" "" "(a|e|i|o|u|)" +"u" "" "" "(o|u)" +"i" "" "" "(i|e)" +"p" "" "$" "p" +"p" "" "" "(p|b)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_common.txt new file mode 100644 index 0000000..3678415 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_common.txt @@ -0,0 +1,233 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERIC + +#include gen_exact_approx_common + +// DUTCH +"van" "^" "[bp]" "(vam|)" +"van" "^" "" "(van|)" + +// REGRESSIVE ASSIMILATION OF CONSONANTS +"n" "" "[bp]" "m" + +// PECULIARITY OF "h" +"h" "" "" "" +"H" "" "" "(x|)" + +// "e" and "i" ARE TO BE OMITTED BEFORE (SYLLABIC) n & l: Halperin=Halpern; Frankel = Frankl, Finkelstein = Finklstein +// but Andersen & Anderson should match +"sen" "[rmnl]" "$" "(zn|zon)" +"sen" "" "$" "(sn|son)" +"sEn" "[rmnl]" "$" "(zn|zon)" +"sEn" "" "$" "(sn|son)" + +"e" "[BbdfgklmnprsStvzZ]" "[ln]$" "" +"i" "[BbdfgklmnprsStvzZ]" "[ln]$" "" +"E" "[BbdfgklmnprsStvzZ]" "[ln]$" "" +"I" "[BbdfgklmnprsStvzZ]" "[ln]$" "" +"Q" "[BbdfgklmnprsStvzZ]" "[ln]$" "" +"Y" "[BbdfgklmnprsStvzZ]" "[ln]$" "" + +"e" "[BbdfgklmnprsStvzZ]" "[ln][BbdfgklmnprsStvzZ]" "" +"i" "[BbdfgklmnprsStvzZ]" "[ln][BbdfgklmnprsStvzZ]" "" +"E" "[BbdfgklmnprsStvzZ]" "[ln][BbdfgklmnprsStvzZ]" "" +"I" "[BbdfgklmnprsStvzZ]" "[ln][BbdfgklmnprsStvzZ]" "" +"Q" "[BbdfgklmnprsStvzZ]" "[ln][BbdfgklmnprsStvzZ]" "" +"Y" "[BbdfgklmnprsStvzZ]" "[ln][BbdfgklmnprsStvzZ]" "" + +"lEs" "" "" "(lEs|lz)" // Applebaum < Appelbaum (English + blend English-something forms as Finklestein) +"lE" "[bdfgkmnprStvzZ]" "" "(lE|l)" // Applebaum < Appelbaum (English + blend English-something forms as Finklestein) + +// SIMPLIFICATION: (TRIPHTHONGS & DIPHTHONGS) -> ONE GENERIC DIPHTHONG "D" +"aue" "" "" "D" +"oue" "" "" "D" + +"AvE" "" "" "(D|AvE)" +"Ave" "" "" "(D|Ave)" +"avE" "" "" "(D|avE)" +"ave" "" "" "(D|ave)" + +"OvE" "" "" "(D|OvE)" +"Ove" "" "" "(D|Ove)" +"ovE" "" "" "(D|ovE)" +"ove" "" "" "(D|ove)" + +"ea" "" "" "(D|ea)" +"EA" "" "" "(D|EA)" +"Ea" "" "" "(D|Ea)" +"eA" "" "" "(D|eA)" + +"aji" "" "" "D" +"ajI" "" "" "D" +"aje" "" "" "D" +"ajE" "" "" "D" + +"Aji" "" "" "D" +"AjI" "" "" "D" +"Aje" "" "" "D" +"AjE" "" "" "D" + +"oji" "" "" "D" +"ojI" "" "" "D" +"oje" "" "" "D" +"ojE" "" "" "D" + +"Oji" "" "" "D" +"OjI" "" "" "D" +"Oje" "" "" "D" +"OjE" "" "" "D" + +"eji" "" "" "D" +"ejI" "" "" "D" +"eje" "" "" "D" +"ejE" "" "" "D" + +"Eji" "" "" "D" +"EjI" "" "" "D" +"Eje" "" "" "D" +"EjE" "" "" "D" + +"uji" "" "" "D" +"ujI" "" "" "D" +"uje" "" "" "D" +"ujE" "" "" "D" + +"Uji" "" "" "D" +"UjI" "" "" "D" +"Uje" "" "" "D" +"UjE" "" "" "D" + +"iji" "" "" "D" +"ijI" "" "" "D" +"ije" "" "" "D" +"ijE" "" "" "D" + +"Iji" "" "" "D" +"IjI" "" "" "D" +"Ije" "" "" "D" +"IjE" "" "" "D" + +"aja" "" "" "D" +"ajA" "" "" "D" +"ajo" "" "" "D" +"ajO" "" "" "D" +"aju" "" "" "D" +"ajU" "" "" "D" + +"Aja" "" "" "D" +"AjA" "" "" "D" +"Ajo" "" "" "D" +"AjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"oja" "" "" "D" +"ojA" "" "" "D" +"ojo" "" "" "D" +"ojO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"Oja" "" "" "D" +"OjA" "" "" "D" +"Ojo" "" "" "D" +"OjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"eja" "" "" "D" +"ejA" "" "" "D" +"ejo" "" "" "D" +"ejO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"Eja" "" "" "D" +"EjA" "" "" "D" +"Ejo" "" "" "D" +"EjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"uja" "" "" "D" +"ujA" "" "" "D" +"ujo" "" "" "D" +"ujO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"Uja" "" "" "D" +"UjA" "" "" "D" +"Ujo" "" "" "D" +"UjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"ija" "" "" "D" +"ijA" "" "" "D" +"ijo" "" "" "D" +"ijO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"Ija" "" "" "D" +"IjA" "" "" "D" +"Ijo" "" "" "D" +"IjO" "" "" "D" +"Aju" "" "" "D" +"AjU" "" "" "D" + +"j" "" "" "i" + +// lander = lender = länder +"lYndEr" "" "$" "lYnder" +"lander" "" "$" "lYnder" +"lAndEr" "" "$" "lYnder" +"lAnder" "" "$" "lYnder" +"landEr" "" "$" "lYnder" +"lender" "" "$" "lYnder" +"lEndEr" "" "$" "lYnder" +"lendEr" "" "$" "lYnder" +"lEnder" "" "$" "lYnder" + +// burg = berg +"burk" "" "$" "(burk|berk)" +"bUrk" "" "$" "(burk|berk)" +"burg" "" "$" "(burk|berk)" +"bUrg" "" "$" "(burk|berk)" +"Burk" "" "$" "(burk|berk)" +"BUrk" "" "$" "(burk|berk)" +"Burg" "" "$" "(burk|berk)" +"BUrg" "" "$" "(burk|berk)" + +// CONSONANTS {z & Z; s & S} are approximately interchangeable +"s" "" "[rmnl]" "z" +"S" "" "[rmnl]" "z" +"s" "[rmnl]" "" "z" +"S" "[rmnl]" "" "z" + +"dS" "" "$" "S" +"dZ" "" "$" "S" +"Z" "" "$" "S" +"S" "" "$" "(S|s)" +"z" "" "$" "(S|s)" + +"S" "" "" "s" +"dZ" "" "" "z" +"Z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_cyrillic.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_cyrillic.txt new file mode 100644 index 0000000..70aa992 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_cyrillic.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_czech.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_czech.txt new file mode 100644 index 0000000..91aa28b --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_czech.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_french \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_dutch.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_dutch.txt new file mode 100644 index 0000000..91aa28b --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_dutch.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_french \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_english.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_english.txt new file mode 100644 index 0000000..0c85d7f --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_english.txt @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// VOWELS +"I" "" "[^aEIeiou]e" "(Q|i|D)" // like in "five" +"I" "" "$" "i" +"I" "[aEIeiou]" "" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk)" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts)" +"Its" "" "$" "its" +"I" "" "" "(i|Q)" + +"lE" "[bdfgkmnprsStvzZ]" "" "(il|li|lY)" // Applebaum < Appelbaum + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" + +"E" "D[^aeiEIou]" "" "(i|)" // Weinberg, Shaneberg (shaneberg/shejneberg) --> shejnberg +"e" "D[^aeiEIou]" "" "(i|)" + +"e" "" "" "i" +"E" "" "[fklmnprsStv]$" "i" +"E" "" "ts$" "i" +"E" "[DaoiEuQY]" "" "i" +"E" "" "[aoQY]" "i" +"E" "" "" "(Y|i)" + +"a" "" "" "(a|o)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_french.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_french.txt new file mode 100644 index 0000000..e4e900a --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_french.txt @@ -0,0 +1,25 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" + +"a" "" "" "(a|o)" +"e" "" "" "i" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_german.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_german.txt new file mode 100644 index 0000000..b04ff51 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_german.txt @@ -0,0 +1,73 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +"I" "" "$" "i" +"I" "[aeiAEIOUouQY]" "" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk)" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts)" +"Its" "" "$" "its" +"I" "" "" "(Q|i)" + +"AU" "" "" "(D|a|u)" +"aU" "" "" "(D|a|u)" +"Au" "" "" "(D|a|u)" +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"OU" "" "" "(D|o|u)" +"oU" "" "" "(D|o|u)" +"Ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"Ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"Oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" +"Ui" "" "" "(D|u|i)" + +"e" "" "" "i" + +"E" "" "[fklmnprst]$" "i" +"E" "" "ts$" "i" +"E" "" "$" "i" +"E" "[DaoAOUiuQY]" "" "i" +"E" "" "[aoAOQY]" "i" +"E" "" "" "(Y|i)" + +"O" "" "$" "o" +"O" "" "[fklmnprst]$" "o" +"O" "" "ts$" "o" +"O" "[aoAOUeiuQY]" "" "o" +"O" "" "" "(o|Y)" + +"a" "" "" "(a|o)" + +"A" "" "$" "(a|o)" +"A" "" "[fklmnprst]$" "(a|o)" +"A" "" "ts$" "(a|o)" +"A" "[aoeOUiuQY]" "" "(a|o)" +"A" "" "" "(a|o|Y)" + +"U" "" "$" "u" +"U" "[DaoiuUQY]" "" "u" +"U" "" "[^k]$" "u" +"Uk" "[lr]" "$" "(uk|Qk)" +"Uk" "" "$" "uk" +"sUts" "" "$" "(suts|sQts)" +"Uts" "" "$" "uts" +"U" "" "" "(u|Q)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_greek.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_greek.txt new file mode 100644 index 0000000..91aa28b --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_greek.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_french \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt new file mode 100644 index 0000000..8dc8d95 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt @@ -0,0 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_french + +"N" "" "" "" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_hebrew.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_hebrew.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_hebrew.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_hungarian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_hungarian.txt new file mode 100644 index 0000000..3adaf2a --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_hungarian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_french diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_italian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_italian.txt new file mode 100644 index 0000000..3adaf2a --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_italian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_french diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_polish.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_polish.txt new file mode 100644 index 0000000..fc68f11 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_polish.txt @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +"aiB" "" "[bp]" "(D|Dm)" +"oiB" "" "[bp]" "(D|Dm)" +"uiB" "" "[bp]" "(D|Dm)" +"eiB" "" "[bp]" "(D|Dm)" +"EiB" "" "[bp]" "(D|Dm)" +"iiB" "" "[bp]" "(D|Dm)" +"IiB" "" "[bp]" "(D|Dm)" + +"aiB" "" "[dgkstvz]" "(D|Dn)" +"oiB" "" "[dgkstvz]" "(D|Dn)" +"uiB" "" "[dgkstvz]" "(D|Dn)" +"eiB" "" "[dgkstvz]" "(D|Dn)" +"EiB" "" "[dgkstvz]" "(D|Dn)" +"iiB" "" "[dgkstvz]" "(D|Dn)" +"IiB" "" "[dgkstvz]" "(D|Dn)" + +"B" "" "[bp]" "(o|om|im)" +"B" "" "[dgkstvz]" "(o|on|in)" +"B" "" "" "o" + +"aiF" "" "[bp]" "(D|Dm)" +"oiF" "" "[bp]" "(D|Dm)" +"uiF" "" "[bp]" "(D|Dm)" +"eiF" "" "[bp]" "(D|Dm)" +"EiF" "" "[bp]" "(D|Dm)" +"iiF" "" "[bp]" "(D|Dm)" +"IiF" "" "[bp]" "(D|Dm)" + +"aiF" "" "[dgkstvz]" "(D|Dn)" +"oiF" "" "[dgkstvz]" "(D|Dn)" +"uiF" "" "[dgkstvz]" "(D|Dn)" +"eiF" "" "[dgkstvz]" "(D|Dn)" +"EiF" "" "[dgkstvz]" "(D|Dn)" +"iiF" "" "[dgkstvz]" "(D|Dn)" +"IiF" "" "[dgkstvz]" "(D|Dn)" + +"F" "" "[bp]" "(i|im|om)" +"F" "" "[dgkstvz]" "(i|in|on)" +"F" "" "" "i" + +"P" "" "" "(o|u)" + +"I" "" "$" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk)" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts)" +"Its" "" "$" "its" +"I" "[aeiAEBFIou]" "" "i" +"I" "" "" "(i|Q)" + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" + +"a" "" "" "(a|o)" +"e" "" "" "i" + +"E" "" "[fklmnprst]$" "i" +"E" "" "ts$" "i" +"E" "" "$" "i" +"E" "[DaoiuQ]" "" "i" +"E" "" "[aoQ]" "i" +"E" "" "" "(Y|i)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_portuguese.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_portuguese.txt new file mode 100644 index 0000000..91aa28b --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_portuguese.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_french \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_romanian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_romanian.txt new file mode 100644 index 0000000..b500abf --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_romanian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_polish \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_russian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_russian.txt new file mode 100644 index 0000000..e17bee9 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_russian.txt @@ -0,0 +1,48 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// VOWELS +"I" "" "$" "i" +"I" "" "[^k]$" "i" +"Ik" "[lr]" "$" "(ik|Qk)" +"Ik" "" "$" "ik" +"sIts" "" "$" "(sits|sQts)" +"Its" "" "$" "its" +"I" "[aeiEIou]" "" "i" +"I" "" "" "(i|Q)" + +"au" "" "" "(D|a|u)" +"ou" "" "" "(D|o|u)" +"ai" "" "" "(D|a|i)" +"oi" "" "" "(D|o|i)" +"ui" "" "" "(D|u|i)" + +"om" "" "[bp]" "(om|im)" +"on" "" "[dgkstvz]" "(on|in)" +"em" "" "[bp]" "(im|om)" +"en" "" "[dgkstvz]" "(in|on)" +"Em" "" "[bp]" "(im|Ym|om)" +"En" "" "[dgkstvz]" "(in|Yn|on)" + +"a" "" "" "(a|o)" +"e" "" "" "i" + +"E" "" "[fklmnprsStv]$" "i" +"E" "" "ts$" "i" +"E" "[DaoiuQ]" "" "i" +"E" "" "[aoQ]" "i" +"E" "" "" "(Y|i)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_spanish.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_spanish.txt new file mode 100644 index 0000000..565a1d4 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_spanish.txt @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_french + +"B" "" "" "(b|v)" +"V" "" "" "(b|v)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_turkish.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_turkish.txt new file mode 100644 index 0000000..91aa28b --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_approx_turkish.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_approx_french \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_any.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_any.txt new file mode 100644 index 0000000..7c2d0dd --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_any.txt @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERAL + // A, E, I, O, P, U should create variants, + // EE = final "e" (english & french) + // V, B from Spanish + // but a, e, i, o, u should not create any new variant +"EE" "" "$" "e" + +"A" "" "" "a" +"E" "" "" "e" +"I" "" "" "i" +"O" "" "" "o" +"P" "" "" "o" +"U" "" "" "u" + +"B" "" "[fktSs]" "p" +"B" "" "p" "" +"B" "" "$" "p" +"V" "" "[pktSs]" "f" +"V" "" "f" "" +"V" "" "$" "f" + +"B" "" "" "b" +"V" "" "" "v" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_approx_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_approx_common.txt new file mode 100644 index 0000000..bc274c9 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_approx_common.txt @@ -0,0 +1,79 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERAL +"h" "" "$" "" + +// VOICED - UNVOICED CONSONANTS +"b" "" "[fktSs]" "p" +"b" "" "p" "" +"b" "" "$" "p" +"p" "" "[vgdZz]" "b" // Ashk: "v" excluded (everythere) +"p" "" "b" "" + +"v" "" "[pktSs]" "f" +"v" "" "f" "" +"v" "" "$" "f" +"f" "" "[vbgdZz]" "v" +"f" "" "v" "" + +"g" "" "[pftSs]" "k" +"g" "" "k" "" +"g" "" "$" "k" +"k" "" "[vbdZz]" "g" +"k" "" "g" "" + +"d" "" "[pfkSs]" "t" +"d" "" "t" "" +"d" "" "$" "t" +"t" "" "[vbgZz]" "d" +"t" "" "d" "" + +"s" "" "dZ" "" +"s" "" "tS" "" + +"z" "" "[pfkSt]" "s" +"z" "" "[sSzZ]" "" +"s" "" "[sSzZ]" "" +"Z" "" "[sSzZ]" "" +"S" "" "[sSzZ]" "" + +// SIMPLIFICATION OF CONSONANT CLUSTERS +"jnm" "" "" "jm" + +// DOUBLE --> SINGLE +"ji" "^" "" "i" +"jI" "^" "" "I" + +"a" "" "[aA]" "" +"a" "A" "" "" +"A" "" "A" "" + +"b" "" "b" "" +"d" "" "d" "" +"f" "" "f" "" +"g" "" "g" "" +"j" "" "j" "" +"k" "" "k" "" +"l" "" "l" "" +"m" "" "m" "" +"n" "" "n" "" +"p" "" "p" "" +"r" "" "r" "" +"t" "" "t" "" +"v" "" "v" "" +"z" "" "z" "" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_arabic.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_arabic.txt new file mode 100644 index 0000000..f92adeb --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_arabic.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"1" "" "" "" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_common.txt new file mode 100644 index 0000000..12b739f --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_common.txt @@ -0,0 +1,32 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_exact_approx_common + +"H" "" "" "" + +// VOICED - UNVOICED CONSONANTS +"s" "[^t]" "[bgZd]" "z" +"Z" "" "[pfkst]" "S" +"Z" "" "$" "S" +"S" "" "[bgzd]" "Z" +"z" "" "$" "s" + +"ji" "[aAoOeEiIuU]" "" "j" +"jI" "[aAoOeEiIuU]" "" "j" +"je" "[aAoOeEiIuU]" "" "j" +"jE" "[aAoOeEiIuU]" "" "j" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_cyrillic.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_cyrillic.txt new file mode 100644 index 0000000..9032f78 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_cyrillic.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_exact_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_czech.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_czech.txt new file mode 100644 index 0000000..9032f78 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_czech.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_exact_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_dutch.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_dutch.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_dutch.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_english.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_english.txt new file mode 100644 index 0000000..9032f78 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_english.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_exact_russian \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_french.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_french.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_french.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_german.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_german.txt new file mode 100644 index 0000000..4bd77fd --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_german.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_exact_any \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_greek.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_greek.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_greek.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_greeklatin.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_greeklatin.txt new file mode 100644 index 0000000..64499f7 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_greeklatin.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"N" "" "" "n" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_hebrew.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_hebrew.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_hebrew.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_hungarian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_hungarian.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_hungarian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_italian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_italian.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_italian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_polish.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_polish.txt new file mode 100644 index 0000000..0e5a467 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_polish.txt @@ -0,0 +1,23 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"B" "" "" "a" +"F" "" "" "e" +"P" "" "" "o" + +"E" "" "" "e" +"I" "" "" "i" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_portuguese.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_portuguese.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_portuguese.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_romanian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_romanian.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_romanian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_russian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_russian.txt new file mode 100644 index 0000000..ad74856 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_russian.txt @@ -0,0 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"E" "" "" "e" +"I" "" "" "i" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_spanish.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_spanish.txt new file mode 100644 index 0000000..a10fea7 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_spanish.txt @@ -0,0 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"B" "" "" "b" +"V" "" "" "v" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_turkish.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_turkish.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_exact_turkish.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_hebrew_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_hebrew_common.txt new file mode 100644 index 0000000..4b274f2 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_hebrew_common.txt @@ -0,0 +1,113 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include gen_exact_approx_common + +"ts" "" "" "C" // for not confusion Gutes [=guts] and Guts [=guc] +"tS" "" "" "C" // same reason +"S" "" "" "s" +"p" "" "" "f" +"b" "^" "" "b" +"b" "" "" "(b|v)" +"B" "" "" "(b|v)" // Spanish "b" +"V" "" "" "v" // Spanish "v" +"EE" "" "" "(1|)" // final "e" (english & french) + +"ja" "" "" "i" +"jA" "" "" "i" +"je" "" "" "i" +"jE" "" "" "i" +"aj" "" "" "i" +"Aj" "" "" "i" +"I" "" "" "i" +"j" "" "" "i" + +"a" "^" "" "1" +"A" "^" "" "1" +"e" "^" "" "1" +"E" "^" "" "1" +"Y" "^" "" "1" + +"a" "" "$" "1" +"A" "" "$" "1" +"e" "" "$" "1" +"E" "" "$" "1" +"Y" "" "$" "1" + +"a" "" "" "" +"A" "" "" "" +"e" "" "" "" +"E" "" "" "" +"Y" "" "" "" + +"oj" "^" "" "(u|vi)" +"Oj" "^" "" "(u|vi)" +"uj" "^" "" "(u|vi)" +"Uj" "^" "" "(u|vi)" + +"oj" "" "" "u" +"Oj" "" "" "u" +"uj" "" "" "u" +"Uj" "" "" "u" + +"ou" "^" "" "(u|v|1)" +"o" "^" "" "(u|v|1)" +"O" "^" "" "(u|v|1)" +"P" "^" "" "(u|v|1)" +"U" "^" "" "(u|v|1)" +"u" "^" "" "(u|v|1)" + +"o" "" "$" "(u|1)" +"O" "" "$" "(u|1)" +"P" "" "$" "(u|1)" +"u" "" "$" "(u|1)" +"U" "" "$" "(u|1)" + +"ou" "" "" "u" +"o" "" "" "u" +"O" "" "" "u" +"P" "" "" "u" +"U" "" "" "u" + +"VV" "" "" "u" // alef/ayin + vov from ruleshebrew +"V" "" "" "v" // tsvey-vov from ruleshebrew;; only Ashkenazic +"L" "^" "" "1" // alef/ayin from ruleshebrew +"L" "" "$" "1" // alef/ayin from ruleshebrew +"L" "" "" " " // alef/ayin from ruleshebrew +"WW" "^" "" "(vi|u)" // vav-yod from ruleshebrew +"WW" "" "" "u" // vav-yod from ruleshebrew +"W" "^" "" "(u|v)" // vav from ruleshebrew +"W" "" "" "u" // vav from ruleshebrew + + //"g" "" "" "(g|Z)" + //"z" "" "" "(z|Z)" + //"d" "" "" "(d|dZ)" + +"TB" "^" "" "t" // tav from ruleshebrew +"TB" "" "" "(t|s)" // tav from ruleshebrew; s is only Ashkenazic +"T" "" "" "t" // tet from ruleshebrew + + //"k" "" "" "(k|x)" + //"x" "" "" "(k|x)" +"K" "" "" "k" // kof and initial kaf from ruleshebrew +"X" "" "" "x" // khet and final kaf from ruleshebrew + +"H" "^" "" "(x|1)" +"H" "" "$" "(x|1)" +"H" "" "" "(x|)" +"h" "^" "" "1" +"h" "" "" "" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_lang.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_lang.txt new file mode 100644 index 0000000..ad28cf5 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_lang.txt @@ -0,0 +1,295 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERIC + +// 1. following are rules to accept the language +// 1.1 Special letter combinations +^o’ english true +^o' english true +^mc english true +^fitz english true +ceau french+romanian true +eau romanian true +eau$ french true // mp: I've added this +eaux$ french true // mp: I've added this +ault$ french true +oult$ french true +eux$ french true +eix$ french true +glou$ greeklatin true +uu dutch true +tx spanish true +witz german true +tz$ german+russian+english true +^tz russian+english true +poulos$ greeklatin true +pulos$ greeklatin true +iou greeklatin true +sj$ dutch true +^sj dutch true +güe spanish true +güi spanish true +ghe romanian+greeklatin true +ghi romanian+greeklatin true +escu$ romanian true +esco$ romanian true +vici$ romanian true +schi$ romanian true +ii$ russian true +iy$ russian true +yy$ russian true +yi$ russian true +^rz polish true +rz$ polish+german true +[bcdfgklmnpstwz]rz polish true +rz[bcdfghklmnpstw] polish true +cki$ polish true +ska$ polish true +cka$ polish true +ae german+russian+english true +oe german+french+russian+english+dutch true +th$ german+english true +^th german+english+greeklatin true +mann german true +cz polish true +cy polish+greeklatin true +niew polish true +etti$ italian true +eti$ italian true +ati$ italian true +ato$ italian true +[aoei]no$ italian true +[aoei]ni$ italian true +esi$ italian true +oli$ italian true +field$ english true +stein german true +heim$ german true +heimer$ german true +thal german true +zweig german true +[aeou]h german true +äh german true +öh german true +üh german true +[ln]h[ao]$ portuguese true +[ln]h[aou] portuguese+french+german+dutch+czech+spanish+turkish true +chsch german true +tsch german true +sch$ german+russian true +^sch german+russian true +ck$ german+english true +c$ polish+romanian+hungarian+czech+turkish true +sz polish+hungarian true +cs$ hungarian true +^cs hungarian true +dzs hungarian true +zs$ hungarian true +^zs hungarian true +^wl polish true +^wr polish+english+german+dutch true + +gy$ hungarian true +gy[aeou] hungarian true +gy hungarian+russian+french+greeklatin true +guy french true +gu[ei] spanish+french+portuguese true +gu[ao] spanish+portuguese true +gi[aou] italian+greeklatin true + +ly hungarian+russian+polish+greeklatin true +ny hungarian+russian+polish+spanish+greeklatin true +ty hungarian+russian+polish+greeklatin true + +// 1.2 special characters +ć polish true +ç french+spanish+portuguese+turkish true +č czech true +ď czech true +ğ turkish true +ł polish true +ń polish true +ñ spanish true +ň czech true +ř czech true +ś polish true +ş romanian+turkish true +š czech true +ţ romanian true +ť czech true +ź polish true +ż polish true + +ß german true + +ä german true +á hungarian+spanish+portuguese+czech+greeklatin true +â romanian+french+portuguese true +ă romanian true +ą polish true +à portuguese true +ã portuguese true +ę polish true +é french+hungarian+czech+greeklatin true +è french+spanish+italian true +ê french true +ě czech true +ê french+portuguese true +í hungarian+spanish+portuguese+czech+greeklatin true +î romanian+french true +ı turkish true +ó polish+hungarian+spanish+italian+portuguese+czech+greeklatin true +ö german+hungarian+turkish true +ô french+portuguese true +õ portuguese+hungarian true +ò italian+spanish true +ű hungarian true +ú hungarian+spanish+portuguese+czech+greeklatin true +ü german+hungarian+spanish+portuguese+turkish true +ù french true +ů czech true +ý czech+greeklatin true + +// Every Cyrillic word has at least one Cyrillic vowel (аёеоиуыэюя) +а cyrillic true +ё cyrillic true +о cyrillic true +е cyrillic true +и cyrillic true +у cyrillic true +ы cyrillic true +э cyrillic true +ю cyrillic true +я cyrillic true + +// Every Greek word has at least one Greek vowel +α greek true +ε greek true +η greek true +ι greek true +ο greek true +υ greek true +ω greek true + +// Arabic (only initial) +ا arabic true // alif (isol + init) +ب arabic true // ba' +ت arabic true // ta' +ث arabic true // tha' +ج arabic true // jim +ح arabic true // h.a' +خ' arabic true // kha' +د arabic true // dal (isol + init) +ذ arabic true // dhal (isol + init) +ر arabic true // ra' (isol + init) +ز arabic true // za' (isol + init) +س arabic true // sin +ش arabic true // shin +ص arabic true // s.ad +ض arabic true // d.ad +ط arabic true // t.a' +ظ arabic true // z.a' +ع arabic true // 'ayn +غ arabic true // ghayn +ف arabic true // fa' +ق arabic true // qaf +ك arabic true // kaf +ل arabic true // lam +م arabic true // mim +ن arabic true // nun +ه arabic true // ha' +و arabic true // waw (isol + init) +ي arabic true // ya' + +آ arabic true // alif madda +إ arabic true // alif + diacritic +أ arabic true // alif + hamza +ؤ arabic true // waw + hamza +ئ arabic true // ya' + hamza +لا arabic true // ligature l+a + +// Hebrew +א hebrew true +ב hebrew true +ג hebrew true +ד hebrew true +ה hebrew true +ו hebrew true +ז hebrew true +ח hebrew true +ט hebrew true +י hebrew true +כ hebrew true +ל hebrew true +מ hebrew true +נ hebrew true +ס hebrew true +ע hebrew true +פ hebrew true +צ hebrew true +ק hebrew true +ר hebrew true +ש hebrew true +ת hebrew true + +// 2. following are rules to reject the language + +// Every Latin character word has at least one Latin vowel +a cyrillic+hebrew+greek+arabic false +o cyrillic+hebrew+greek+arabic false +e cyrillic+hebrew+greek+arabic false +i cyrillic+hebrew+greek+arabic false +y cyrillic+hebrew+greek+arabic+romanian+dutch false +u cyrillic+hebrew+greek+arabic false + +j italian false +j[^aoeiuy] french+spanish+portuguese+greeklatin false +g czech false +k romanian+spanish+portuguese+french+italian false +q hungarian+polish+russian+romanian+czech+dutch+turkish+greeklatin false +v polish false +w french+romanian+spanish+hungarian+russian+czech+turkish+greeklatin false +x czech+hungarian+dutch+turkish false // polish excluded from the list + +dj spanish+turkish false +v[^aoeiu] german false // in german, "v" can be found before a vowel only +y[^aoeiu] german false // in german, "y" usually appears only in the last position; sometimes before a vowel +c[^aohk] german false +dzi german+english+french+turkish false +ou german false +a[eiou] turkish false // no diphthongs in Turkish +ö[eaiou] turkish false +ü[eaiou] turkish false +e[aiou] turkish false +i[aeou] turkish false +o[aieu] turkish false +u[aieo] turkish false +aj german+english+french+dutch false +ej german+english+french+dutch false +oj german+english+french+dutch false +uj german+english+french+dutch false +eu russian+polish false +ky polish false +kie french+spanish+greeklatin false +gie portuguese+romanian+spanish+greeklatin false +ch[aou] italian false +ch turkish false +son$ german false +sc[ei] french false +sch hungarian+polish+french+spanish false +^h russian false diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_languages.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_languages.txt new file mode 100644 index 0000000..b54b9e8 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_languages.txt @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +any +arabic +cyrillic +czech +dutch +english +french +german +greek +greeklatin +hebrew +hungarian +italian +polish +portuguese +romanian +russian +spanish +turkish diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_any.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_any.txt new file mode 100644 index 0000000..c951dd1 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_any.txt @@ -0,0 +1,367 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // format of each entry rule in the table + // (pattern, left context, right context, phonetic) + // where + // pattern is a sequence of characters that might appear in the word to be transliterated + // left context is the context that precedes the pattern + // right context is the context that follows the pattern + // phonetic is the result that this rule generates + // + // note that both left context and right context can be regular expressions + // ex: left context of ^ would mean start of word + // left context of [aeiouy] means following a vowel + // right context of [^aeiouy] means preceding a consonant + // right context of e$ means preceding a final e + +//GENERIC + +// CONVERTING FEMININE TO MASCULINE +"yna" "" "$" "(in[russian]|ina)" +"ina" "" "$" "(in[russian]|ina)" +"liova" "" "$" "(lova|lof[russian]|lef[russian])" +"lova" "" "$" "(lova|lof[russian]|lef[russian]|l[czech]|el[czech])" +"kova" "" "$" "(kova|kof[russian]|k[czech]|ek[czech])" +"ova" "" "$" "(ova|of[russian]|[czech])" +"ová" "" "$" "(ova|[czech])" +"eva" "" "$" "(eva|ef[russian])" +"aia" "" "$" "(aja|i[russian])" +"aja" "" "$" "(aja|i[russian])" +"aya" "" "$" "(aja|i[russian])" + +"lowa" "" "$" "(lova|lof[polish]|l[polish]|el[polish])" +"kowa" "" "$" "(kova|kof[polish]|k[polish]|ek[polish])" +"owa" "" "$" "(ova|of[polish]|)" +"lowna" "" "$" "(lovna|levna|l[polish]|el[polish])" +"kowna" "" "$" "(kovna|k[polish]|ek[polish])" +"owna" "" "$" "(ovna|[polish])" +"lówna" "" "$" "(l|el)" // polish +"kówna" "" "$" "(k|ek)" // polish +"ówna" "" "$" "" // polish +"á" "" "$" "(a|i[czech])" +"a" "" "$" "(a|i[polish+czech])" + +// CONSONANTS +"pf" "" "" "(pf|p|f)" +"que" "" "$" "(k[french]|ke|kve)" +"qu" "" "" "(kv|k)" + +"m" "" "[bfpv]" "(m|n)" +"m" "[aeiouy]" "[aeiouy]" "m" +"m" "[aeiouy]" "" "(m|n[french+portuguese])" // nasal + +"ly" "" "[au]" "l" +"li" "" "[au]" "l" +"lio" "" "" "(lo|le[russian])" +"lyo" "" "" "(lo|le[russian])" + //array("ll" "" "" "(l|J[spanish])" // Disabled Argentinian rule +"lt" "u" "$" "(lt|[french])" + +"v" "^" "" "(v|f[german]|b[spanish])" + +"ex" "" "[aáuiíoóeéêy]" "(ez[portuguese]|eS[portuguese]|eks|egz)" +"ex" "" "[cs]" "(e[portuguese]|ek)" +"x" "u" "$" "(ks|[french])" + +"ck" "" "" "(k|tsk[polish+czech])" +"cz" "" "" "(tS|tsz[czech])" // Polish + + //Processing of "h" in various combinations +"rh" "^" "" "r" +"dh" "^" "" "d" +"bh" "^" "" "b" + +"ph" "" "" "(ph|f)" +"kh" "" "" "(x[russian+english]|kh)" + +"lh" "" "" "(lh|l[portuguese])" +"nh" "" "" "(nh|nj[portuguese])" + +"ssch" "" "" "S" // german +"chsch" "" "" "xS" // german +"tsch" "" "" "tS" // german + + ///"desch" "^" "" "deS" + ///"desh" "^" "" "(dES|de[french])" + ///"des" "^" "[^aeiouy]" "(dEs|de[french])" + +"sch" "[aeiouy]" "[ei]" "(S|StS[russian]|sk[romanian+italian])" +"sch" "[aeiouy]" "" "(S|StS[russian])" +"sch" "" "[ei]" "(sk[romanian+italian]|S|StS[russian])" +"sch" "" "" "(S|StS[russian])" +"ssh" "" "" "S" + +"sh" "" "[äöü]" "sh" // german +"sh" "" "[aeiou]" "(S[russian+english]|sh)" +"sh" "" "" "S" + +"zh" "" "" "(Z[english+russian]|zh|tsh[german])" + +"chs" "" "" "(ks[german]|xs|tSs[russian+english])" +"ch" "" "[ei]" "(x|tS[spanish+english+russian]|k[romanian+italian]|S[portuguese+french])" +"ch" "" "" "(x|tS[spanish+english+russian]|S[portuguese+french])" + +"th" "^" "" "t" // english+german+greeklatin +"th" "" "[äöüaeiou]" "(t[english+german+greeklatin]|th)" +"th" "" "" "t" // english+german+greeklatin + +"gh" "" "[ei]" "(g[romanian+italian+greeklatin]|gh)" + +"ouh" "" "[aioe]" "(v[french]|uh)" +"uh" "" "[aioe]" "(v|uh)" +"h" "." "$" "" // match h at the end of words, but not as a single letter: difference to the original version +"h" "[aeiouyäöü]" "" "" // german +"h" "^" "" "(h|x[romanian+greeklatin]|H[english+romanian+polish+french+portuguese+italian+spanish])" + + //Processing of "ci" "ce" & "cy" +"cia" "" "" "(tSa[polish]|tsa)" // Polish +"cią" "" "[bp]" "(tSom|tsom)" // Polish +"cią" "" "" "(tSon[polish]|tson)" // Polish +"cię" "" "[bp]" "(tSem[polish]|tsem)" // Polish +"cię" "" "" "(tSen[polish]|tsen)" // Polish +"cie" "" "" "(tSe[polish]|tse)" // Polish +"cio" "" "" "(tSo[polish]|tso)" // Polish +"ciu" "" "" "(tSu[polish]|tsu)" // Polish + +"sci" "" "$" "(Si[italian]|stsi[polish+czech]|dZi[turkish]|tSi[polish+romanian]|tS[romanian]|si)" +"sc" "" "[ei]" "(S[italian]|sts[polish+czech]|dZ[turkish]|tS[polish+romanian]|s)" +"ci" "" "$" "(tsi[polish+czech]|dZi[turkish]|tSi[polish+romanian]|tS[romanian]|si)" +"cy" "" "" "(si|tsi[polish])" +"c" "" "[ei]" "(ts[polish+czech]|dZ[turkish]|tS[polish+romanian]|k[greeklatin]|s)" + + //Processing of "s" +"sç" "" "[aeiou]" "(s|stS[turkish])" +"ssz" "" "" "S" // polish +"sz" "^" "" "(S|s[hungarian])" // polish +"sz" "" "$" "(S|s[hungarian])" // polish +"sz" "" "" "(S|s[hungarian]|sts[german])" // polish +"ssp" "" "" "(Sp[german]|sp)" +"sp" "" "" "(Sp[german]|sp)" +"sst" "" "" "(St[german]|st)" +"st" "" "" "(St[german]|st)" +"ss" "" "" "s" +"sj" "^" "" "S" // dutch +"sj" "" "$" "S" // dutch +"sj" "" "" "(sj|S[dutch]|sx[spanish]|sZ[romanian+turkish])" + +"sia" "" "" "(Sa[polish]|sa[polish]|sja)" +"sią" "" "[bp]" "(Som[polish]|som)" // polish +"sią" "" "" "(Son[polish]|son)" // polish +"się" "" "[bp]" "(Sem[polish]|sem)" // polish +"się" "" "" "(Sen[polish]|sen)" // polish +"sie" "" "" "(se|sje|Se[polish]|zi[german])" + +"sio" "" "" "(So[polish]|so)" +"siu" "" "" "(Su[polish]|sju)" + +"si" "[äöëaáuiíoóeéêy]" "" "(Si[polish]|si|zi[portuguese+french+italian+german])" +"si" "" "" "(Si[polish]|si|zi[german])" +"s" "[aáuiíoóeéêy]" "[aáuíoóeéêy]" "(s|z[portuguese+french+italian+german])" +"s" "" "[aeouäöë]" "(s|z[german])" +"s" "[aeiouy]" "[dglmnrv]" "(s|z|Z[portuguese]|[french])" // Groslot +"s" "" "[dglmnrv]" "(s|z|Z[portuguese])" + + //Processing of "g" +"gue" "" "$" "(k[french]|gve)" // portuguese+spanish +"gu" "" "[ei]" "(g[french]|gv[portuguese+spanish])" // portuguese+spanish +"gu" "" "[ao]" "gv" // portuguese+spanish +"guy" "" "" "gi" // french + +"gli" "" "" "(glI|l[italian])" +"gni" "" "" "(gnI|ni[italian+french])" +"gn" "" "[aeou]" "(n[italian+french]|nj[italian+french]|gn)" + +"ggie" "" "" "(je[greeklatin]|dZe)" // dZ is Italian +"ggi" "" "[aou]" "(j[greeklatin]|dZ)" // dZ is Italian + +"ggi" "[yaeiou]" "[aou]" "(gI|dZ[italian]|j[greeklatin])" +"gge" "[yaeiou]" "" "(gE|xe[spanish]|gZe[portuguese+french]|dZe[english+romanian+italian+spanish]|je[greeklatin])" +"ggi" "[yaeiou]" "" "(gI|xi[spanish]|gZi[portuguese+french]|dZi[english+romanian+italian+spanish]|i[greeklatin])" +"ggi" "" "[aou]" "(gI|dZ[italian]|j[greeklatin])" + +"gie" "" "$" "(ge|gi[german]|ji[french]|dZe[italian])" +"gie" "" "" "(ge|gi[german]|dZe[italian]|je[greeklatin])" +"gi" "" "[aou]" "(i[greeklatin]|dZ)" // dZ is Italian + +"ge" "[yaeiou]" "" "(gE|xe[spanish]|Ze[portuguese+french]|dZe[english+romanian+italian+spanish])" +"gi" "[yaeiou]" "" "(gI|xi[spanish]|Zi[portuguese+french]|dZi[english+romanian+italian+spanish])" +"ge" "" "" "(gE|xe[spanish]|hE[russian]|je[greeklatin]|Ze[portuguese+french]|dZe[english+romanian+italian+spanish])" +"gi" "" "" "(gI|xi[spanish]|hI[russian]|i[greeklatin]|Zi[portuguese+french]|dZi[english+romanian+italian+spanish])" +"gy" "" "[aeouáéóúüöőű]" "(gi|dj[hungarian])" +"gy" "" "" "(gi|d[hungarian])" +"g" "[yaeiou]" "[aouyei]" "g" +"g" "" "[aouei]" "(g|h[russian])" + + //Processing of "j" +"ij" "" "" "(i|ej[dutch]|ix[spanish]|iZ[french+romanian+turkish+portuguese])" +"j" "" "[aoeiuy]" "(j|dZ[english]|x[spanish]|Z[french+romanian+turkish+portuguese])" + + //Processing of "z" +"rz" "t" "" "(S[polish]|r)" // polish +"rz" "" "" "(rz|rts[german]|Z[polish]|r[polish]|rZ[polish])" + +"tz" "" "$" "(ts|tS[english+german])" +"tz" "^" "" "(ts[english+german+russian]|tS[english+german])" +"tz" "" "" "(ts[english+german+russian]|tz)" + +"zia" "" "[bcdgkpstwzż]" "(Za[polish]|za[polish]|zja)" +"zia" "" "" "(Za[polish]|zja)" +"zią" "" "[bp]" "(Zom[polish]|zom)" // polish +"zią" "" "" "(Zon[polish]|zon)" // polish +"zię" "" "[bp]" "(Zem[polish]|zem)" // polish +"zię" "" "" "(Zen[polish]|zen)" // polish +"zie" "" "[bcdgkpstwzż]" "(Ze[polish]|ze[polish]|ze|tsi[german])" +"zie" "" "" "(ze|Ze[polish]|tsi[german])" +"zio" "" "" "(Zo[polish]|zo)" +"ziu" "" "" "(Zu[polish]|zju)" +"zi" "" "" "(Zi[polish]|zi|tsi[german]|dzi[italian]|tsi[italian]|si[spanish])" + +"z" "" "$" "(s|ts[german]|ts[italian]|S[portuguese])" // ts It, s/S/Z Port, s in Sp, z Fr +"z" "" "[bdgv]" "(z|dz[italian]|Z[portuguese])" // dz It, Z/z Port, z Sp & Fr +"z" "" "[ptckf]" "(s|ts[italian]|S[portuguese])" // ts It, s/S/z Port, z/s Sp + + // VOWELS +"aue" "" "" "aue" +"oue" "" "" "(oue|ve[french])" +"eau" "" "" "o" // French + +"ae" "" "" "(Y[german]|aje[russian]|ae)" +"ai" "" "" "aj" +"au" "" "" "(au|o[french])" +"ay" "" "" "aj" +"ão" "" "" "(au|an)" // Port +"ãe" "" "" "(aj|an)" // Port +"ãi" "" "" "(aj|an)" // Port +"ea" "" "" "(ea|ja[romanian])" +"ee" "" "" "(i[english]|aje[russian]|e)" +"ei" "" "" "(aj|ej)" +"eu" "" "" "(eu|Yj[german]|ej[german]|oj[german]|Y[dutch])" +"ey" "" "" "(aj|ej)" +"ia" "" "" "ja" +"ie" "" "" "(i[german]|e[polish]|ije[russian]|Q[dutch]|je)" +"ii" "" "$" "i" // russian +"io" "" "" "(jo|e[russian])" +"iu" "" "" "ju" +"iy" "" "$" "i" // russian +"oe" "" "" "(Y[german]|oje[russian]|u[dutch]|oe)" +"oi" "" "" "oj" +"oo" "" "" "(u[english]|o)" +"ou" "" "" "(ou|u[french+greeklatin]|au[dutch])" +"où" "" "" "u" // french +"oy" "" "" "oj" +"õe" "" "" "(oj|on)" // Port +"ua" "" "" "va" +"ue" "" "" "(Q[german]|uje[russian]|ve)" +"ui" "" "" "(uj|vi|Y[dutch])" +"uu" "" "" "(u|Q[dutch])" +"uo" "" "" "(vo|o)" +"uy" "" "" "uj" +"ya" "" "" "ja" +"ye" "" "" "(je|ije[russian])" +"yi" "^" "" "i" +"yi" "" "$" "i" // russian +"yo" "" "" "(jo|e[russian])" +"yu" "" "" "ju" +"yy" "" "$" "i" // russian + +"i" "[áóéê]" "" "j" +"y" "[áóéê]" "" "j" + +"e" "^" "" "(e|je[russian])" +"e" "" "$" "(e|EE[english+french])" + +// LANGUAGE SPECIFIC CHARACTERS +"ą" "" "[bp]" "om" // polish +"ą" "" "" "on" // polish +"ä" "" "" "(Y|e)" +"á" "" "" "a" // Port & Sp +"à" "" "" "a" +"â" "" "" "a" +"ã" "" "" "(a|an)" // Port +"ă" "" "" "(e[romanian]|a)" // romanian +"č" "" "" "tS" // czech +"ć" "" "" "(tS[polish]|ts)" // polish +"ç" "" "" "(s|tS[turkish])" +"ď" "" "" "(d|dj[czech])" +"ę" "" "[bp]" "em" // polish +"ę" "" "" "en" // polish +"é" "" "" "e" +"è" "" "" "e" +"ê" "" "" "e" +"ě" "" "" "(e|je[czech])" +"ğ" "" "" "" // turkish +"í" "" "" "i" +"î" "" "" "i" +"ı" "" "" "(i|e[turkish]|[turkish])" +"ł" "" "" "l" +"ń" "" "" "(n|nj[polish])" // polish +"ñ" "" "" "(n|nj[spanish])" +"ó" "" "" "(u[polish]|o)" +"ô" "" "" "o" // Port & Fr +"õ" "" "" "(o|on[portuguese]|Y[hungarian])" +"ò" "" "" "o" // Sp & It +"ö" "" "" "Y" +"ř" "" "" "(r|rZ[czech])" +"ś" "" "" "(S[polish]|s)" +"ş" "" "" "S" // romanian+turkish +"š" "" "" "S" // czech +"ţ" "" "" "ts" // romanian +"ť" "" "" "(t|tj[czech])" +"ű" "" "" "Q" // hungarian +"ü" "" "" "(Q|u[portuguese+spanish])" +"ú" "" "" "u" +"ů" "" "" "u" // czech +"ù" "" "" "u" // french +"ý" "" "" "i" // czech +"ż" "" "" "Z" // polish +"ź" "" "" "(Z[polish]|z)" + +"ß" "" "" "s" // german +"'" "" "" "" // russian +"\"" "" "" "" // russian + +"o" "" "[bcćdgklłmnńrsśtwzźż]" "(O|P[polish])" + + // LATIN ALPHABET +"a" "" "" "A" +"b" "" "" "B" +"c" "" "" "(k|ts[polish+czech]|dZ[turkish])" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" + //array("g" "" "" "(g|x[dutch])" // Dutch sound disabled +"g" "" "" "g" +"h" "" "" "(h|x[romanian]|H[french+portuguese+italian+spanish])" +"i" "" "" "I" +"j" "" "" "(j|x[spanish]|Z[french+romanian+turkish+portuguese])" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "O" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "(s|S[portuguese])" +"t" "" "" "t" +"u" "" "" "U" +"v" "" "" "V" +"w" "" "" "(v|w[english+dutch])" +"x" "" "" "(ks|gz|S[portuguese+spanish])" // S/ks Port & Sp, gz Sp, It only ks +"y" "" "" "i" +"z" "" "" "(z|ts[german]|dz[italian]|ts[italian]|s[spanish])" // ts/dz It, z Port & Fr, z/s Sp diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_arabic.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_arabic.txt new file mode 100644 index 0000000..9f03511 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_arabic.txt @@ -0,0 +1,76 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// General +"ا" "" "" "a" // alif isol & init +"ب" "" "$" "b" +"ب" "" "" "b1" // ba' isol +"ت" "" "$" "t" +"ت" "" "" "t1" // ta' isol +"ث" "" "$" "t" +"ث" "" "" "t1" // tha' isol +"ج" "" "$" "(dZ|Z)" +"ج" "" "" "(dZ1|Z1)" // jim isol +"ح" "^" "" "1" +"ح" "" "$" "1" +"ح" "" "" "(h1|1)" // h.a' isol +"خ" "" "$" "x" +"خ" "" "" "x1" // kha' isol +"د" "" "$" "d" +"د" "" "" "d1" // dal isol & init +"ذ" "" "$" "d" +"ذ" "" "" "d1" // dhal isol & init +"ر" "" "$" "r" +"ر" "" "" "r1" // ra' isol & init +"ز" "" "$" "z" +"ز" "" "" "z1" // za' isol & init +"س" "" "$" "s" +"س" "" "" "s1" // sin isol +"ش" "" "$" "S" +"ش" "" "" "S1" // shin isol +"ص" "" "$" "s" +"ص" "" "" "s1" // s.ad isol +"ض" "" "$" "d" +"ض" "" "" "d1" // d.ad isol +"ط" "" "$" "t" +"ط" "" "" "t1" // t.a' isol +"ظ" "" "$" "z" +"ظ" "" "" "z1" // z.a' isol +"ع" "^" "" "1" +"ع" "" "$" "1" +"ع" "" "" "(h1|1)" // ayin isol +"غ" "" "$" "g" +"غ" "" "" "g1" // ghayin isol +"ف" "" "$" "f" +"ف" "" "" "f1" // fa' isol +"ق" "" "$" "k" +"ق" "" "" "k1" // qaf isol +"ك" "" "$" "k" +"ك" "" "" "k1" // kaf isol +"ل" "" "$" "l" +"ل" "" "" "l1" // lam isol +"م" "" "$" "m" +"م" "" "" "m1" // mim isol +"ن" "" "$" "n" +"ن" "" "" "n1" // nun isol +"ه" "^" "" "1" +"ه" "" "$" "1" +"ه" "" "" "(h1|1)" // h isol +"و" "" "$" "(u|v)" +"و" "" "" "(u|v1)" // waw, isol + init +"ي‎" "" "$" "(i|j)" +"ي‎" "" "" "(i|j1)" // ya' isol diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_cyrillic.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_cyrillic.txt new file mode 100644 index 0000000..cc710f6 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_cyrillic.txt @@ -0,0 +1,99 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERAL +"ця" "" "" "tsa" +"цю" "" "" "tsu" +"циа" "" "" "tsa" +"цие" "" "" "tse" +"цио" "" "" "tso" +"циу" "" "" "tsu" +"сие" "" "" "se" +"сио" "" "" "so" +"зие" "" "" "ze" +"зио" "" "" "zo" +"с" "" "с" "" + +"гауз" "" "$" "haus" +"гаус" "" "$" "haus" +"гольц" "" "$" "holts" +"геймер" "" "$" "(hejmer|hajmer)" +"гейм" "" "$" "(hejm|hajm)" +"гоф" "" "$" "hof" +"гер" "" "$" "ger" +"ген" "" "$" "gen" +"гин" "" "$" "gin" +"г" "(й|ё|я|ю|ы|а|е|о|и|у)" "(а|е|о|и|у)" "g" +"г" "" "(а|е|о|и|у)" "(g|h)" + +"ля" "" "" "la" +"лю" "" "" "lu" +"лё" "" "" "(le|lo)" +"лио" "" "" "(le|lo)" +"ле" "" "" "(lE|lo)" + +"ийе" "" "" "je" +"ие" "" "" "je" +"ыйе" "" "" "je" +"ые" "" "" "je" +"ий" "" "(а|о|у)" "j" +"ый" "" "(а|о|у)" "j" +"ий" "" "$" "i" +"ый" "" "$" "i" + +"ей" "^" "" "(jej|ej)" +"е" "(а|е|о|у)" "" "je" +"е" "^" "" "je" +"эй" "" "" "ej" +"ей" "" "" "ej" + +"ауе" "" "" "aue" +"ауэ" "" "" "aue" + +"а" "" "" "a" +"б" "" "" "b" +"в" "" "" "v" +"г" "" "" "g" +"д" "" "" "d" +"е" "" "" "E" +"ё" "" "" "(e|jo)" +"ж" "" "" "Z" +"з" "" "" "z" +"и" "" "" "I" +"й" "" "" "j" +"к" "" "" "k" +"л" "" "" "l" +"м" "" "" "m" +"н" "" "" "n" +"о" "" "" "o" +"п" "" "" "p" +"р" "" "" "r" +"с" "" "" "s" +"т" "" "" "t" +"у" "" "" "u" +"ф" "" "" "f" +"х" "" "" "x" +"ц" "" "" "ts" +"ч" "" "" "tS" +"ш" "" "" "S" +"щ" "" "" "StS" +"ъ" "" "" "" +"ы" "" "" "I" +"ь" "" "" "" +"э" "" "" "E" +"ю" "" "" "ju" +"я" "" "" "ja" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_czech.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_czech.txt new file mode 100644 index 0000000..1cdf73b --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_czech.txt @@ -0,0 +1,67 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"ch" "" "" "x" +"qu" "" "" "(k|kv)" +"aue" "" "" "aue" +"ei" "" "" "(ej|aj)" +"i" "[aou]" "" "j" +"i" "" "[aeou]" "j" + +"č" "" "" "tS" +"š" "" "" "S" +"ň" "" "" "n" +"ť" "" "" "(t|tj)" +"ď" "" "" "(d|dj)" +"ř" "" "" "(r|rZ)" + +"á" "" "" "a" +"é" "" "" "e" +"í" "" "" "i" +"ó" "" "" "o" +"ú" "" "" "u" +"ý" "" "" "i" +"ě" "" "" "(e|je)" +"ů" "" "" "u" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "ts" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "(h|g)" +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "(k|kv)" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_dutch.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_dutch.txt new file mode 100644 index 0000000..45843ac --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_dutch.txt @@ -0,0 +1,78 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// CONSONANTS +"ssj" "" "" "S" +"sj" "" "" "S" +"ch" "" "" "x" +"c" "" "[eiy]" "ts" +"ck" "" "" "k" // German +"pf" "" "" "(pf|p|f)" // German +"ph" "" "" "(ph|f)" +"qu" "" "" "kv" +"th" "^" "" "t" // German +"th" "" "[äöüaeiou]" "(t|th)" // German +"th" "" "" "t" // German +"ss" "" "" "s" +"h" "[aeiouy]" "" "" + +// VOWELS +"aue" "" "" "aue" +"ou" "" "" "au" +"ie" "" "" "(Q|i)" +"uu" "" "" "(Q|u)" +"ee" "" "" "e" +"eu" "" "" "(Y|Yj)" // Dutch Y +"aa" "" "" "a" +"oo" "" "" "o" +"oe" "" "" "u" +"ij" "" "" "ej" +"ui" "" "" "(Y|uj)" +"ei" "" "" "(ej|aj)" // Dutch ej + +"i" "" "[aou]" "j" +"y" "" "[aeou]" "j" +"i" "[aou]" "" "j" +"y" "[aeou]" "" "j" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "(g|x)" +"h" "" "" "h" +"i" "" "" "(i|Q)" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "(u|Q)" +"v" "" "" "v" +"w" "" "" "(w|v)" +"x" "" "" "ks" +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_english.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_english.txt new file mode 100644 index 0000000..7250d69 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_english.txt @@ -0,0 +1,113 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERAL + +// CONSONANTS +"�" "" "" "" // O�Neill +"'" "" "" "" // O�Neill +"mc" "^" "" "mak" // McDonald +"tz" "" "" "ts" // Fitzgerald +"tch" "" "" "tS" +"ch" "" "" "(tS|x)" +"ck" "" "" "k" +"cc" "" "[iey]" "ks" // success, accent +"c" "" "c" "" +"c" "" "[iey]" "s" // circle + +"gh" "^" "" "g" // ghost +"gh" "" "" "(g|f|w)" // burgh | tough | bough +"gn" "" "" "(gn|n)" +"g" "" "[iey]" "(g|dZ)" // get, gem, giant, gigabyte +// "th" "" "" "(6|8|t)" +"th" "" "" "t" +"kh" "" "" "x" +"ph" "" "" "f" +"sch" "" "" "(S|sk)" +"sh" "" "" "S" +"who" "^" "" "hu" +"wh" "^" "" "w" + +"h" "" "$" "" // hard to find an example that isn't in a name +"h" "" "[^aeiou]" "" // hard to find an example that isn't in a name +"h" "^" "" "H" + +"kn" "^" "" "n" // knight +"mb" "" "$" "m" +"ng" "" "$" "(N|ng)" +"pn" "^" "" "(pn|n)" +"ps" "^" "" "(ps|s)" +"qu" "" "" "kw" +"tia" "" "" "(So|Sa)" +"tio" "" "" "So" +"wr" "^" "" "r" +"x" "^" "" "z" + +// VOWELS +"y" "^" "" "j" +"y" "^" "[aeiouy]" "j" +"yi" "^" "" "i" +"aue" "" "" "aue" +"oue" "" "" "(aue|oue)" +"ai" "" "" "(aj|ej|e)" // rain | said +"ay" "" "" "(aj|ej)" +"a" "" "[^aeiou]e" "ej" // plane +"ei" "" "" "(ej|aj|i)" // weigh | receive +"ey" "" "" "(ej|aj|i)" // hey | barley +"ear" "" "" "ia" // tear +"ea" "" "" "(i|e)" // reason | treasure +"ee" "" "" "i" // between +"e" "" "[^aeiou]e" "i" // meter +"e" "" "$" "(|E)" // blame, badge +"ie" "" "" "i" // believe +"i" "" "[^aeiou]e" "aj" // five +"oa" "" "" "ou" // toad +"oi" "" "" "oj" // join +"oo" "" "" "u" // food +"ou" "" "" "(u|ou)" // through | tough | could +"oy" "" "" "oj" // boy +"o" "" "[^aeiou]e" "ou" // rode +"u" "" "[^aeiou]e" "(ju|u)" // cute | flute +"u" "" "r" "(e|u)" // turn -- Morse disagrees, feels it should go to E + +// LATIN ALPHABET +"a" "" "" "(e|o|a)" // hat | call | part +"b" "" "" "b" +"c" "" "" "k" // candy +"d" "" "" "d" +"e" "" "" "E" // bed +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "I" +"j" "" "" "dZ" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "(o|a)" // hot +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "(u|a)" // put +"v" "" "" "v" +"w" "" "" "(w|v)" // the variant "v" is for spellings coming from German/Polish +"x" "" "" "ks" +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_french.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_french.txt new file mode 100644 index 0000000..dc6b320 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_french.txt @@ -0,0 +1,114 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERAL + +// CONSONANTS +"lt" "u" "$" "(lt|)" // Renault +"c" "n" "$" "(k|)" // Tronc +//"f" "" "" "(f|)" // Clef +"d" "" "$" "(t|)" // Durand +"g" "n" "$" "(k|)" // Gang +"p" "" "$" "(p|)" // Trop, Champ +"r" "e" "$" "(r|)" // Barbier +"t" "" "$" "(t|)" // Murat, Constant +"z" "" "$" "(s|)" + +"ds" "" "$" "(ds|)" +"ps" "" "$" "(ps|)" // Champs +"rs" "e" "$" "(rs|)" +"ts" "" "$" "(ts|)" +"s" "" "$" "(s|)" // Denis + +"x" "u" "$" "(ks|)" // Arnoux + +"s" "[aeéèêiou]" "[^aeéèêiou]" "(s|)" // Deschamps, Malesherbes, Groslot +"t" "[aeéèêiou]" "[^aeéèêiou]" "(t|)" // Petitjean + +"kh" "" "" "x" // foreign +"ph" "" "" "f" + +"ç" "" "" "s" +"x" "" "" "ks" +"ch" "" "" "S" +"c" "" "[eiyéèê]" "s" + +"gn" "" "" "(n|gn)" +"g" "" "[eiy]" "Z" +"gue" "" "$" "k" +"gu" "" "[eiy]" "g" +"aill" "" "e" "aj" // non Jewish +"ll" "" "e" "(l|j)" // non Jewish +"que" "" "$" "k" +"qu" "" "" "k" +"s" "[aeiouyéèê]" "[aeiouyéèê]" "z" +"h" "[bdgt]" "" "" // translit from Arabic + +"m" "[aeiouy]" "[aeiouy]" "m" +"m" "[aeiouy]" "" "(m|n)" // nasal + +"ou" "" "[aeio]" "v" +"u" "" "[aeio]" "v" + +// VOWELS +"aue" "" "" "aue" +"eau" "" "" "o" +"au" "" "" "(o|au)" // non Jewish +"ai" "" "" "(e|aj)" // [e] is non Jewish +"ay" "" "" "(e|aj)" // [e] is non Jewish +"é" "" "" "e" +"ê" "" "" "e" +"è" "" "" "e" +"à" "" "" "a" +"â" "" "" "a" +"où" "" "" "u" +"ou" "" "" "u" +"oi" "" "" "(oj|va)" // [va] (actually "ua") is non Jewish +"ei" "" "" "(aj|ej|e)" // [e] is non Jewish +"ey" "" "" "(aj|ej|e)" // [e] non Jewish +"eu" "" "" "(ej|Y)" // non Jewish +"y" "[ou]" "" "j" +"e" "" "$" "(e|)" +"i" "" "[aou]" "j" +"y" "" "[aoeu]" "j" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"j" "" "" "Z" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "(u|Q)" +"v" "" "" "v" +"w" "" "" "v" +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_german.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_german.txt new file mode 100644 index 0000000..4d1b628 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_german.txt @@ -0,0 +1,129 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERIC + +// CONSONANTS +"ewitsch" "" "$" "evitS" +"owitsch" "" "$" "ovitS" +"evitsch" "" "$" "evitS" +"ovitsch" "" "$" "ovitS" +"witsch" "" "$" "vitS" +"vitsch" "" "$" "vitS" +"ssch" "" "" "S" +"chsch" "" "" "xS" +"sch" "" "" "S" + +"ziu" "" "" "tsu" +"zia" "" "" "tsa" +"zio" "" "" "tso" + +"chs" "" "" "ks" +"ch" "" "" "x" +"ck" "" "" "k" +"c" "" "[eiy]" "ts" + +"sp" "^" "" "Sp" +"st" "^" "" "St" +"ssp" "" "" "(Sp|sp)" +"sp" "" "" "(Sp|sp)" +"sst" "" "" "(St|st)" +"st" "" "" "(St|st)" +"pf" "" "" "(pf|p|f)" +"ph" "" "" "(ph|f)" +"qu" "" "" "kv" + +"ewitz" "" "$" "(evits|evitS)" +"ewiz" "" "$" "(evits|evitS)" +"evitz" "" "$" "(evits|evitS)" +"eviz" "" "$" "(evits|evitS)" +"owitz" "" "$" "(ovits|ovitS)" +"owiz" "" "$" "(ovits|ovitS)" +"ovitz" "" "$" "(ovits|ovitS)" +"oviz" "" "$" "(ovits|ovitS)" +"witz" "" "$" "(vits|vitS)" +"wiz" "" "$" "(vits|vitS)" +"vitz" "" "$" "(vits|vitS)" +"viz" "" "$" "(vits|vitS)" +"tz" "" "" "ts" + +"thal" "" "$" "tal" +"th" "^" "" "t" +"th" "" "[äöüaeiou]" "(t|th)" +"th" "" "" "t" +"rh" "^" "" "r" +"h" "[aeiouyäöü]" "" "" +"h" "^" "" "H" + +"ss" "" "" "s" +"s" "" "[äöüaeiouy]" "(z|s)" +"s" "[aeiouyäöüj]" "[aeiouyäöü]" "z" +"ß" "" "" "s" + + +// VOWELS +"ij" "" "$" "i" +"aue" "" "" "aue" +"ue" "" "" "Q" +"ae" "" "" "Y" +"oe" "" "" "Y" +"ü" "" "" "Q" +"ä" "" "" "(Y|e)" +"ö" "" "" "Y" +"ei" "" "" "(aj|ej)" +"ey" "" "" "(aj|ej)" +"eu" "" "" "(Yj|ej|aj|oj)" +"i" "[aou]" "" "j" +"y" "[aou]" "" "j" +"ie" "" "" "I" +"i" "" "[aou]" "j" +"y" "" "[aoeu]" "j" + +// FOREIGN LETTERs +"ñ" "" "" "n" +"ã" "" "" "a" +"ő" "" "" "o" +"ű" "" "" "u" +"ç" "" "" "s" + +// LATIN ALPHABET +"a" "" "" "A" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "O" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "U" +"v" "" "" "(f|v)" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "i" +"z" "" "" "ts" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_greek.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_greek.txt new file mode 100644 index 0000000..7912e0e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_greek.txt @@ -0,0 +1,97 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"αυ" "" "$" "af" // "av" before vowels and voiced consonants, "af" elsewhere +"αυ" "" "(κ|π|σ|τ|φ|θ|χ|ψ)" "af" +"αυ" "" "" "av" +"ευ" "" "$" "ef" // "ev" before vowels and voiced consonants, "ef" elsewhere +"ευ" "" "(κ|π|σ|τ|φ|θ|χ|ψ)" "ef" +"ευ" "" "" "ev" +"ηυ" "" "$" "if" // "iv" before vowels and voiced consonants, "if" elsewhere +"ηυ" "" "(κ|π|σ|τ|φ|θ|χ|ψ)" "if" +"ηυ" "" "" "iv" +"ου" "" "" "u" // [u:] + +"αι" "" "" "aj" // modern [e] +"ει" "" "" "ej" // modern [i] +"οι" "" "" "oj" // modern [i] +"ωι" "" "" "oj" +"ηι" "" "" "ej" +"υι" "" "" "i" // modern Greek "i" + +"γγ" "(ε|ι|η|α|ο|ω|υ)" "(ε|ι|η)" "(nj|j)" +"γγ" "" "(ε|ι|η)" "j" +"γγ" "(ε|ι|η|α|ο|ω|υ)" "" "(ng|g)" +"γγ" "" "" "g" +"γκ" "^" "" "g" +"γκ" "(ε|ι|η|α|ο|ω|υ)" "(ε|ι|η)" "(nj|j)" +"γκ" "" "(ε|ι|η)" "j" +"γκ" "(ε|ι|η|α|ο|ω|υ)" "" "(ng|g)" +"γκ" "" "" "g" +"γι" "" "(α|ο|ω|υ)" "j" +"γι" "" "" "(gi|i)" +"γε" "" "(α|ο|ω|υ)" "j" +"γε" "" "" "(ge|je)" + +"κζ" "" "" "gz" +"τζ" "" "" "dz" +"σ" "" "(β|γ|δ|μ|ν|ρ)" "z" + +"μβ" "" "" "(mb|b)" +"μπ" "^" "" "b" +"μπ" "(ε|ι|η|α|ο|ω|υ)" "" "mb" +"μπ" "" "" "b" // after any consonant +"ντ" "^" "" "d" +"ντ" "(ε|ι|η|α|ο|ω|υ)" "" "(nd|nt)" // Greek is "nd" +"ντ" "" "" "(nt|d)" // Greek is "d" after any consonant + +"ά" "" "" "a" +"έ" "" "" "e" +"ή" "" "" "(i|e)" +"ί" "" "" "i" +"ό" "" "" "o" +"ύ" "" "" "(Q|i|u)" +"ώ" "" "" "o" +"ΰ" "" "" "(Q|i|u)" +"ϋ" "" "" "(Q|i|u)" +"ϊ" "" "" "j" + +"α" "" "" "a" +"β" "" "" "(v|b)" // modern "v", old "b" +"γ" "" "" "g" +"δ" "" "" "d" // modern like "th" in English "them", old "d" +"ε" "" "" "e" +"ζ" "" "" "z" +"η" "" "" "(i|e)" // modern "i", old "e:" +"ι" "" "" "i" +"κ" "" "" "k" +"λ" "" "" "l" +"μ" "" "" "m" +"ν" "" "" "n" +"ξ" "" "" "ks" +"ο" "" "" "o" +"π" "" "" "p" +"ρ" "" "" "r" +"σ" "" "" "s" +"ς" "" "" "s" +"τ" "" "" "t" +"υ" "" "" "(Q|i|u)" // modern "i", old like German "ü" +"φ" "" "" "f" +"θ" "" "" "t" // old greek like "th" in English "theme" +"χ" "" "" "x" +"ψ" "" "" "ps" +"ω" "" "" "o" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_greeklatin.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_greeklatin.txt new file mode 100644 index 0000000..8e81dc9 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_greeklatin.txt @@ -0,0 +1,118 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"au" "" "$" "af" +"au" "" "[kpstfh]" "af" +"au" "" "" "av" +"eu" "" "$" "ef" +"eu" "" "[kpstfh]" "ef" +"eu" "" "" "ev" +"ou" "" "" "u" + +"gge" "[aeiouy]" "" "(nje|je)" // aggelopoulos +"ggi" "[aeiouy]" "[aou]" "(nj|j)" +"ggi" "[aeiouy]" "" "(ni|i)" +"gge" "" "" "je" +"ggi" "" "" "i" +"gg" "[aeiouy]" "" "(ng|g)" +"gg" "" "" "g" +"gk" "^" "" "g" +"gke" "[aeiouy]" "" "(nje|je)" +"gki" "[aeiouy]" "" "(ni|i)" +"gke" "" "" "je" +"gki" "" "" "i" +"gk" "[aeiouy]" "" "(ng|g)" +"gk" "" "" "g" +"nghi" "" "[aouy]" "Nj" +"nghi" "" "" "(Ngi|Ni)" +"nghe" "" "[aouy]" "Nj" +"nghe" "" "" "(Nje|Nge)" +"ghi" "" "[aouy]" "j" +"ghi" "" "" "(gi|i)" +"ghe" "" "[aouy]" "j" +"ghe" "" "" "(je|ge)" +"ngh" "" "" "Ng" +"gh" "" "" "g" +"ngi" "" "[aouy]" "Nj" +"ngi" "" "" "(Ngi|Ni)" +"nge" "" "[aouy]" "Nj" +"nge" "" "" "(Nje|Nge)" +"gi" "" "[aouy]" "j" +"gi" "" "" "(gi|i)" // what about Pantazis = Pantagis ??? +"ge" "" "[aouy]" "j" +"ge" "" "" "(je|ge)" +"ng" "" "" "Ng" // fragakis = fraggakis = frangakis; angel = agel = aggel + +"i" "" "[aeou]" "j" +"i" "[aeou]" "" "j" +"y" "" "[aeou]" "j" +"y" "[aeou]" "" "j" +"yi" "" "[aeou]" "j" +"yi" "" "" "i" + +"ch" "" "" "x" +"kh" "" "" "x" +"dh" "" "" "d" // actually as "th" in English "that" +"dj" "" "" "dZ" // Turkish words +"ph" "" "" "f" +"th" "" "" "t" +"kz" "" "" "gz" +"tz" "" "" "dz" +"s" "" "[bgdmnr]" "z" + +"mb" "" "" "(mb|b)" // Liberis = Limperis = Limberis +"mp" "^" "" "b" +"mp" "[aeiouy]" "" "mp" +"mp" "" "" "b" +"nt" "^" "" "d" +"nt" "[aeiouy]" "" "(nd|nt)" // Greek "nd" +"nt" "" "" "(nt|d)" // Greek "d" after any consonant + +"á" "" "" "a" +"é" "" "" "e" +"í" "" "" "i" +"ó" "" "" "o" +"óu" "" "" "u" +"ú" "" "" "u" +"ý" "" "" "(i|Q|u)" // [ü] + +"a" "" "" "a" +"b" "" "" "(b|v)" // beta: modern "v", old "b" +"c" "" "" "k" +"d" "" "" "d" // modern like "th" in English "them", old "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "x" +"i" "" "" "i" +"j" "" "" "(j|Z)" // Panajotti = Panaiotti; Louijos = Louizos; Pantajis = Pantazis = Pantagis +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"ο" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" // foreign +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" // foreign +"x" "" "" "ks" +"y" "" "" "(i|Q|u)" // [ü] +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_hebrew.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_hebrew.txt new file mode 100644 index 0000000..df14002 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_hebrew.txt @@ -0,0 +1,62 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// General = Ashkenazic + +"אי" "" "" "i" +"עי" "" "" "i" +"עו" "" "" "VV" +"או" "" "" "VV" + +"ג׳" "" "" "Z" +"ד׳" "" "" "dZ" + +"א" "" "" "L" +"ב" "" "" "b" +"ג" "" "" "g" +"ד" "" "" "d" + +"ה" "^" "" "1" +"ה" "" "$" "1" +"ה" "" "" "" + +"וו" "" "" "V" +"וי" "" "" "WW" +"ו" "" "" "W" +"ז" "" "" "z" +"ח" "" "" "X" +"ט" "" "" "T" +"יי" "" "" "i" +"י" "" "" "i" +"ך" "" "" "X" +"כ" "^" "" "K" +"כ" "" "" "k" +"ל" "" "" "l" +"ם" "" "" "m" +"מ" "" "" "m" +"ן" "" "" "n" +"נ" "" "" "n" +"ס" "" "" "s" +"ע" "" "" "L" +"ף" "" "" "f" +"פ" "" "" "f" +"ץ" "" "" "C" +"צ" "" "" "C" +"ק" "" "" "K" +"ר" "" "" "r" +"ש" "" "" "s" +"ת" "" "" "TB" // only Ashkenazic diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_hungarian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_hungarian.txt new file mode 100644 index 0000000..93e3925 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_hungarian.txt @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERAL + +// CONSONANTS +"sz" "" "" "s" +"zs" "" "" "Z" +"cs" "" "" "tS" + +"ay" "" "" "(oj|aj)" +"ai" "" "" "(oj|aj)" +"aj" "" "" "(oj|aj)" + +"ei" "" "" "(aj|ej)" // German element +"ey" "" "" "(aj|ej)" // German element + +"y" "[áo]" "" "j" +"i" "[áo]" "" "j" +"ee" "" "" "(ej|e)" +"ely" "" "" "(ej|eli)" +"ly" "" "" "(j|li)" +"gy" "" "[aeouáéóúüöőű]" "dj" +"gy" "" "" "(d|gi)" +"ny" "" "[aeouáéóúüöőű]" "nj" +"ny" "" "" "(n|ni)" +"ty" "" "[aeouáéóúüöőű]" "tj" +"ty" "" "" "(t|ti)" +"qu" "" "" "(ku|kv)" +"h" "" "$" "" + +// SPECIAL VOWELS +"á" "" "" "a" +"é" "" "" "e" +"í" "" "" "i" +"ó" "" "" "o" +"ú" "" "" "u" +"ö" "" "" "Y" +"ő" "" "" "Y" +"ü" "" "" "Q" +"ű" "" "" "Q" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "ts" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "(S|s)" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_italian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_italian.txt new file mode 100644 index 0000000..3c13fa4 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_italian.txt @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"kh" "" "" "x" // foreign + +"gli" "" "" "(l|gli)" +"gn" "" "[aeou]" "(n|nj|gn)" +"gni" "" "" "(ni|gni)" + +"gi" "" "[aeou]" "dZ" +"gg" "" "[ei]" "dZ" +"g" "" "[ei]" "dZ" +"h" "[bdgt]" "" "g" // gh is It; others from Arabic translit +"h" "" "$" "" // foreign + +"ci" "" "[aeou]" "tS" +"ch" "" "[ei]" "k" +"sc" "" "[ei]" "S" +"cc" "" "[ei]" "tS" +"c" "" "[ei]" "tS" +"s" "[aeiou]" "[aeiou]" "z" + +"i" "[aeou]" "" "j" +"i" "" "[aeou]" "j" +"y" "[aeou]" "" "j" // foreign +"y" "" "[aeou]" "j" // foreign + +"qu" "" "" "k" +"uo" "" "" "(vo|o)" +"u" "" "[aei]" "v" + +"�" "" "" "e" +"�" "" "" "e" +"�" "" "" "o" +"�" "" "" "o" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"j" "" "" "(Z|dZ|j)" // foreign +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" // foreign +"x" "" "" "ks" // foreign +"y" "" "" "i" // foreign +"z" "" "" "(ts|dz)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_polish.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_polish.txt new file mode 100644 index 0000000..f46c92c --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_polish.txt @@ -0,0 +1,185 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERIC + +// CONVERTING FEMININE TO MASCULINE +"ska" "" "$" "ski" +"cka" "" "$" "tski" +"lowa" "" "$" "(lova|lof|l|el)" +"kowa" "" "$" "(kova|kof|k|ek)" +"owa" "" "$" "(ova|of|)" +"lowna" "" "$" "(lovna|levna|l|el)" +"kowna" "" "$" "(kovna|k|ek)" +"owna" "" "$" "(ovna|)" +"lówna" "" "$" "(l|el)" +"kówna" "" "$" "(k|ek)" +"ówna" "" "$" "" +"a" "" "$" "(a|i)" + +// CONSONANTS +"czy" "" "" "tSi" +"cze" "" "[bcdgkpstwzż]" "(tSe|tSF)" +"ciewicz" "" "" "(tsevitS|tSevitS)" +"siewicz" "" "" "(sevitS|SevitS)" +"ziewicz" "" "" "(zevitS|ZevitS)" +"riewicz" "" "" "rjevitS" +"diewicz" "" "" "djevitS" +"tiewicz" "" "" "tjevitS" +"iewicz" "" "" "evitS" +"ewicz" "" "" "evitS" +"owicz" "" "" "ovitS" +"icz" "" "" "itS" +"cz" "" "" "tS" +"ch" "" "" "x" + +"cia" "" "[bcdgkpstwzż]" "(tSB|tsB)" +"cia" "" "" "(tSa|tsa)" +"cią" "" "[bp]" "(tSom|tsom)" +"cią" "" "" "(tSon|tson)" +"cię" "" "[bp]" "(tSem|tsem)" +"cię" "" "" "(tSen|tsen)" +"cie" "" "[bcdgkpstwzż]" "(tSF|tsF)" +"cie" "" "" "(tSe|tse)" +"cio" "" "" "(tSo|tso)" +"ciu" "" "" "(tSu|tsu)" +"ci" "" "" "(tSi|tsI)" +"ć" "" "" "(tS|ts)" + +"ssz" "" "" "S" +"sz" "" "" "S" +"sia" "" "[bcdgkpstwzż]" "(SB|sB|sja)" +"sia" "" "" "(Sa|sja)" +"sią" "" "[bp]" "(Som|som)" +"sią" "" "" "(Son|son)" +"się" "" "[bp]" "(Sem|sem)" +"się" "" "" "(Sen|sen)" +"sie" "" "[bcdgkpstwzż]" "(SF|sF|se)" +"sie" "" "" "(Se|se)" +"sio" "" "" "(So|so)" +"siu" "" "" "(Su|sju)" +"si" "" "" "(Si|sI)" +"ś" "" "" "(S|s)" + +"zia" "" "[bcdgkpstwzż]" "(ZB|zB|zja)" +"zia" "" "" "(Za|zja)" +"zią" "" "[bp]" "(Zom|zom)" +"zią" "" "" "(Zon|zon)" +"zię" "" "[bp]" "(Zem|zem)" +"zię" "" "" "(Zen|zen)" +"zie" "" "[bcdgkpstwzż]" "(ZF|zF)" +"zie" "" "" "(Ze|ze)" +"zio" "" "" "(Zo|zo)" +"ziu" "" "" "(Zu|zju)" +"zi" "" "" "(Zi|zI)" + +"że" "" "[bcdgkpstwzż]" "(Ze|ZF)" +"że" "" "[bcdgkpstwzż]" "(Ze|ZF|ze|zF)" +"że" "" "" "Ze" +"źe" "" "" "(Ze|ze)" +"ży" "" "" "Zi" +"źi" "" "" "(Zi|zi)" +"ż" "" "" "Z" +"ź" "" "" "(Z|z)" + +"rze" "t" "" "(Se|re)" +"rze" "" "" "(Ze|re|rZe)" +"rzy" "t" "" "(Si|ri)" +"rzy" "" "" "(Zi|ri|rZi)" +"rz" "t" "" "(S|r)" +"rz" "" "" "(Z|r|rZ)" + +"lio" "" "" "(lo|le)" +"ł" "" "" "l" +"ń" "" "" "n" +"qu" "" "" "k" +"s" "" "s" "" + +// VOWELS +"ó" "" "" "(u|o)" +"ą" "" "[bp]" "om" +"ę" "" "[bp]" "em" +"ą" "" "" "on" +"ę" "" "" "en" + +"ije" "" "" "je" +"yje" "" "" "je" +"iie" "" "" "je" +"yie" "" "" "je" +"iye" "" "" "je" +"yye" "" "" "je" + +"ij" "" "[aou]" "j" +"yj" "" "[aou]" "j" +"ii" "" "[aou]" "j" +"yi" "" "[aou]" "j" +"iy" "" "[aou]" "j" +"yy" "" "[aou]" "j" + +"rie" "" "" "rje" +"die" "" "" "dje" +"tie" "" "" "tje" +"ie" "" "[bcdgkpstwzż]" "F" +"ie" "" "" "e" + +"aue" "" "" "aue" +"au" "" "" "au" + +"ei" "" "" "aj" +"ey" "" "" "aj" +"ej" "" "" "aj" + +"ai" "" "" "aj" +"ay" "" "" "aj" +"aj" "" "" "aj" + +"i" "[aeou]" "" "j" +"y" "[aeou]" "" "j" +"i" "" "[aou]" "j" +"y" "" "[aeou]" "j" + +"a" "" "[bcdgkpstwzż]" "B" +"e" "" "[bcdgkpstwzż]" "(E|F)" +"o" "" "[bcćdgklłmnńrsśtwzźż]" "P" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "ts" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "(h|x)" +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "I" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_portuguese.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_portuguese.txt new file mode 100644 index 0000000..19cab4e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_portuguese.txt @@ -0,0 +1,105 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"kh" "" "" "x" // foreign +"ch" "" "" "S" +"ss" "" "" "s" +"sc" "" "[ei]" "s" +"sç" "" "[aou]" "s" +"ç" "" "" "s" +"c" "" "[ei]" "s" +// "c" "" "[aou]" "(k|C)" + +"s" "^" "" "s" +"s" "[aáuiíoóeéêy]" "[aáuiíoóeéêy]" "z" +"s" "" "[dglmnrv]" "(Z|S)" // Z is Brazil + +"z" "" "$" "(Z|s|S)" // s and S in Brazil +"z" "" "[bdgv]" "(Z|z)" // Z in Brazil +"z" "" "[ptckf]" "(s|S|z)" // s and S in Brazil + +"gu" "" "[eiu]" "g" +"gu" "" "[ao]" "gv" +"g" "" "[ei]" "Z" +"qu" "" "[eiu]" "k" +"qu" "" "[ao]" "kv" + +"uo" "" "" "(vo|o|u)" +"u" "" "[aei]" "v" + +"lh" "" "" "l" +"nh" "" "" "nj" +"h" "[bdgt]" "" "" // translit. from Arabic +"h" "" "$" "" // foreign + +"ex" "" "[aáuiíoóeéêy]" "(ez|eS|eks)" // ez in Brazil +"ex" "" "[cs]" "e" + +"y" "[aáuiíoóeéê]" "" "j" +"y" "" "[aeiíou]" "j" +"m" "" "[bcdfglnprstv]" "(m|n)" // maybe to add a rule for m/n before a consonant that disappears [preceding vowel becomes nasalized] +"m" "" "$" "(m|n)" // maybe to add a rule for final m/n that disappears [preceding vowel becomes nasalized] + +"ão" "" "" "(au|an|on)" +"ãe" "" "" "(aj|an)" +"ãi" "" "" "(aj|an)" +"õe" "" "" "(oj|on)" +"i" "[aáuoóeéê]" "" "j" +"i" "" "[aeou]" "j" + +"â" "" "" "a" +"à" "" "" "a" +"á" "" "" "a" +"ã" "" "" "(a|an|on)" +"é" "" "" "e" +"ê" "" "" "e" +"í" "" "" "i" +"ô" "" "" "o" +"ó" "" "" "o" +"õ" "" "" "(o|on)" +"ú" "" "" "u" +"ü" "" "" "u" + +"aue" "" "" "aue" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "(e|i)" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"j" "" "" "Z" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "(o|u)" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "S" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" +"x" "" "" "(S|ks)" +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_romanian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_romanian.txt new file mode 100644 index 0000000..d706b6a --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_romanian.txt @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"ce" "" "" "tSe" +"ci" "" "" "(tSi|tS)" +"ch" "" "[ei]" "k" +"ch" "" "" "x" // foreign + +"gi" "" "" "(dZi|dZ)" +"g" "" "[ei]" "dZ" +"gh" "" "" "g" + +"i" "[aeou]" "" "j" +"i" "" "[aeou]" "j" +"ţ" "" "" "ts" +"ş" "" "" "S" +"qu" "" "" "k" + +"î" "" "" "i" +"ea" "" "" "ja" +"ă" "" "" "(e|a)" +"aue" "" "" "aue" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "(x|h)" +"i" "" "" "I" +"j" "" "" "Z" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_russian.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_russian.txt new file mode 100644 index 0000000..d222d43 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_russian.txt @@ -0,0 +1,142 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//GENERAL// CONVERTING FEMININE TO MASCULINE +"yna" "" "$" "(in|ina)" +"ina" "" "$" "(in|ina)" +"liova" "" "$" "(lof|lef)" +"lova" "" "$" "(lof|lef|lova)" +"ova" "" "$" "(of|ova)" +"eva" "" "$" "(ef|ova)" +"aia" "" "$" "(aja|i)" +"aja" "" "$" "(aja|i)" +"aya" "" "$" "(aja|i)" + +//SPECIAL CONSONANTS +"tsya" "" "" "tsa" +"tsyu" "" "" "tsu" +"tsia" "" "" "tsa" +"tsie" "" "" "tse" +"tsio" "" "" "tso" +"tsye" "" "" "tse" +"tsyo" "" "" "tso" +"tsiu" "" "" "tsu" +"sie" "" "" "se" +"sio" "" "" "so" +"zie" "" "" "ze" +"zio" "" "" "zo" +"sye" "" "" "se" +"syo" "" "" "so" +"zye" "" "" "ze" +"zyo" "" "" "zo" + +"ger" "" "$" "ger" +"gen" "" "$" "gen" +"gin" "" "$" "gin" +"gg" "" "" "g" +"g" "[jaeoiuy]" "[aeoiu]" "g" +"g" "" "[aeoiu]" "(g|h)" + +"kh" "" "" "x" +"ch" "" "" "(tS|x)" +"sch" "" "" "(StS|S)" +"ssh" "" "" "S" +"sh" "" "" "S" +"zh" "" "" "Z" +"tz" "" "$" "ts" +"tz" "" "" "(ts|tz)" +"c" "" "[iey]" "s" +"qu" "" "" "(kv|k)" +"s" "" "s" "" + +//SPECIAL VOWELS +"lya" "" "" "la" +"lyu" "" "" "lu" +"lia" "" "" "la" // not in DJSRE +"liu" "" "" "lu" // not in DJSRE +"lja" "" "" "la" // not in DJSRE +"lju" "" "" "lu" // not in DJSRE +"le" "" "" "(lo|lE)" //not in DJSRE +"lyo" "" "" "(lo|le)" //not in DJSRE +"lio" "" "" "(lo|le)" + +"ije" "" "" "je" +"ie" "" "" "je" +"iye" "" "" "je" +"iie" "" "" "je" +"yje" "" "" "je" +"ye" "" "" "je" +"yye" "" "" "je" +"yie" "" "" "je" + +"ij" "" "[aou]" "j" +"iy" "" "[aou]" "j" +"ii" "" "[aou]" "j" +"yj" "" "[aou]" "j" +"yy" "" "[aou]" "j" +"yi" "" "[aou]" "j" + +"io" "" "" "(jo|e)" +"i" "" "[au]" "j" +"i" "[aeou]" "" "j" +"yo" "" "" "(jo|e)" +"y" "" "[au]" "j" +"y" "[aeiou]" "" "j" + +"ii" "" "$" "i" +"iy" "" "$" "i" +"yy" "" "$" "i" +"yi" "" "$" "i" +"yj" "" "$" "i" +"ij" "" "$" "i" + +"e" "^" "" "(je|E)" +"ee" "" "" "(aje|i)" +"e" "[aou]" "" "je" +"oo" "" "" "(oo|u)" +"'" "" "" "" +"\"" "" "" "" + +"aue" "" "" "aue" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "E" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "I" +"j" "" "" "j" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" +"x" "" "" "ks" +"y" "" "" "I" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_spanish.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_spanish.txt new file mode 100644 index 0000000..0ee273e --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_spanish.txt @@ -0,0 +1,85 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// GENERAL + +// Includes both Spanish (Castillian) & Catalan + +// CONSONANTS +"ñ" "" "" "(n|nj)" +"ny" "" "" "nj" // Catalan +"ç" "" "" "s" // Catalan + +"ig" "[aeiou]" "" "(tS|ig)" // tS is Catalan +"ix" "[aeiou]" "" "S" // Catalan +"tx" "" "" "tS" // Catalan +"tj" "" "$" "tS" // Catalan +"tj" "" "" "dZ" // Catalan +"tg" "" "" "(tg|dZ)" // dZ is Catalan +"ch" "" "" "(tS|dZ)" // dZ is typical for Argentina +"bh" "" "" "b" // translit. from Arabic +"h" "[dgt]" "" "" // translit. from Arabic +"h" "" "$" "" // foreign +//"ll" "" "" "(l|Z)" // Z is typical for Argentina, only Ashkenazic +"m" "" "[bpvf]" "(m|n)" +"c" "" "[ei]" "s" +// "c" "" "[aou]" "(k|C)" +"gu" "" "[ei]" "(g|gv)" // "gv" because "u" can actually be "ü" +"g" "" "[ei]" "(x|g|dZ)" // "g" only for foreign words; dZ is Catalan +"qu" "" "" "k" + +"uo" "" "" "(vo|o)" +"u" "" "[aei]" "v" + +// SPECIAL VOWELS +"ü" "" "" "v" +"á" "" "" "a" +"é" "" "" "e" +"í" "" "" "i" +"ó" "" "" "o" +"ú" "" "" "u" +"à" "" "" "a" // Catalan +"è" "" "" "e" // Catalan +"ò" "" "" "o" // Catalan + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "B" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"j" "" "" "(x|Z)" // Z is Catalan +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "V" +"w" "" "" "v" // foreign words +"x" "" "" "(ks|gz|S)" // ks is Spanish, all are Catalan +"y" "" "" "(i|j)" +"z" "" "" "(z|s)" // as "c" befoire "e" or "i", in Spain it is like unvoiced English "th" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_turkish.txt b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_turkish.txt new file mode 100644 index 0000000..261e62b --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_turkish.txt @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"ç" "" "" "tS" +"ğ" "" "" "" // to show that previous vowel is long +"ş" "" "" "S" +"ü" "" "" "Q" +"ö" "" "" "Y" +"ı" "" "" "(e|i|)" // as "e" in English "label" + +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "dZ" +"d" "" "" "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"j" "" "" "Z" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" // foreign words +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" // foreign words +"x" "" "" "ks" // foreign words +"y" "" "" "j" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/lang.txt b/src/main/resources/org/apache/commons/codec/language/bm/lang.txt new file mode 100644 index 0000000..e6672d9 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/lang.txt @@ -0,0 +1,16 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_any.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_any.txt new file mode 100644 index 0000000..a709ef4 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_any.txt @@ -0,0 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// SEPHARDIC + +"E" "" "" "" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_common.txt new file mode 100644 index 0000000..df3325a --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_common.txt @@ -0,0 +1,115 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include sep_exact_approx_common + +"bens" "^" "" "(binz|s)" +"benS" "^" "" "(binz|s)" +"ben" "^" "" "(bin|)" + +"abens" "^" "" "(abinz|binz|s)" +"abenS" "^" "" "(abinz|binz|s)" +"aben" "^" "" "(abin|bin|)" + +"els" "^" "" "(ilz|alz|s)" +"elS" "^" "" "(ilz|alz|s)" +"el" "^" "" "(il|al|)" +"als" "^" "" "(alz|s)" +"alS" "^" "" "(alz|s)" +"al" "^" "" "(al|)" + +//"dels" "^" "" "(dilz|s)" +//"delS" "^" "" "(dilz|s)" +"del" "^" "" "(dil|)" +"dela" "^" "" "(dila|)" +//"delo" "^" "" "(dila|)" +"da" "^" "" "(da|)" +"de" "^" "" "(di|)" +//"des" "^" "" "(dis|dAs|)" +//"di" "^" "" "(di|)" +//"dos" "^" "" "(das|dus|)" + +"oa" "" "" "(va|a|D)" +"oe" "" "" "(vi|D)" +"ae" "" "" "D" + +/// "s" "" "$" "(s|)" // Attia(s) +/// "C" "" "" "s" // "c" could actually be "�" + +"n" "" "[bp]" "m" + +"h" "" "" "(|h|f)" // sound "h" (absent) can be expressed via /x/, Cojab in Spanish = Kohab ; Hakim = Fakim +"x" "" "" "h" + +// DIPHTHONGS ARE APPROXIMATELY equivalent +"aja" "^" "" "(Da|ia)" +"aje" "^" "" "(Di|Da|i|ia)" +"aji" "^" "" "(Di|i)" +"ajo" "^" "" "(Du|Da|iu|ia)" +"aju" "^" "" "(Du|iu)" + +"aj" "" "" "D" +"ej" "" "" "D" +"oj" "" "" "D" +"uj" "" "" "D" +"au" "" "" "D" +"eu" "" "" "D" +"ou" "" "" "D" + +"a" "^" "" "(a|)" // Arabic + +"ja" "^" "" "ia" +"je" "^" "" "i" +"jo" "^" "" "(iu|ia)" +"ju" "^" "" "iu" + +"ja" "" "" "a" +"je" "" "" "i" +"ji" "" "" "i" +"jo" "" "" "u" +"ju" "" "" "u" + +"j" "" "" "i" + +// CONSONANTS {z & Z & dZ; s & S} are approximately interchangeable +"s" "" "[rmnl]" "z" +"S" "" "[rmnl]" "z" +"s" "[rmnl]" "" "z" +"S" "[rmnl]" "" "z" + +"dS" "" "$" "S" +"dZ" "" "$" "S" +"Z" "" "$" "S" +"S" "" "$" "(S|s)" +"z" "" "$" "(S|s)" + +"S" "" "" "s" +"dZ" "" "" "z" +"Z" "" "" "z" + +"i" "" "$" "(i|)" // often in Arabic +"e" "" "" "i" + +"o" "" "$" "(a|u)" +"o" "" "" "u" + +// special character to deal correctly in Hebrew match +"B" "" "" "b" +"V" "" "" "v" + +// Arabic +"p" "^" "" "b" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_french.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_french.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_french.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_hebrew.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_hebrew.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_hebrew.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_italian.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_italian.txt new file mode 100644 index 0000000..b73ee89 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_italian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include sep_approx_french \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_portuguese.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_portuguese.txt new file mode 100644 index 0000000..d1ea6be --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_portuguese.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include sep_approx_french diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_spanish.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_spanish.txt new file mode 100644 index 0000000..d1ea6be --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_approx_spanish.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include sep_approx_french diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_any.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_any.txt new file mode 100644 index 0000000..9d5ac2b --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_any.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"E" "" "" "e" \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_approx_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_approx_common.txt new file mode 100644 index 0000000..b045182 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_approx_common.txt @@ -0,0 +1,79 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Sephardic + +"h" "" "$" "" + +// VOICED - UNVOICED CONSONANTS +"b" "" "[fktSs]" "p" +"b" "" "p" "" +"b" "" "$" "p" +"p" "" "[vgdZz]" "b" +"p" "" "b" "" + +"v" "" "[pktSs]" "f" +"v" "" "f" "" +"v" "" "$" "f" +"f" "" "[vbgdZz]" "v" +"f" "" "v" "" + +"g" "" "[pftSs]" "k" +"g" "" "k" "" +"g" "" "$" "k" +"k" "" "[vbdZz]" "g" +"k" "" "g" "" + +"d" "" "[pfkSs]" "t" +"d" "" "t" "" +"d" "" "$" "t" +"t" "" "[vbgZz]" "d" +"t" "" "d" "" + +"s" "" "dZ" "" +"s" "" "tS" "" + +"z" "" "[pfkSt]" "s" +"z" "" "[sSzZ]" "" +"s" "" "[sSzZ]" "" +"Z" "" "[sSzZ]" "" +"S" "" "[sSzZ]" "" + +// SIMPLIFICATION OF CONSONANT CLUSTERS +"nm" "" "" "m" + +// DOUBLE --> SINGLE +"ji" "^" "" "i" + +"a" "" "a" "" +"b" "" "b" "" +"d" "" "d" "" +"e" "" "e" "" +"f" "" "f" "" +"g" "" "g" "" +"i" "" "i" "" +"k" "" "k" "" +"l" "" "l" "" +"m" "" "m" "" +"n" "" "n" "" +"o" "" "o" "" +"p" "" "p" "" +"r" "" "r" "" +"t" "" "t" "" +"u" "" "u" "" +"v" "" "v" "" +"z" "" "z" "" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_common.txt new file mode 100644 index 0000000..b3df9cc --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_common.txt @@ -0,0 +1,32 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include sep_exact_approx_common + +"h" "" "" "" +//"C" "" "" "k" // c that can actually be � + +// VOICED - UNVOICED CONSONANTS +"s" "[^t]" "[bgZd]" "z" +"Z" "" "[pfkst]" "S" +"Z" "" "$" "S" +"S" "" "[bgzd]" "Z" +"z" "" "$" "s" + +//special character to deal correctly in Hebrew match +"B" "" "" "b" +"V" "" "" "v" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_french.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_french.txt new file mode 100644 index 0000000..77937b5 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_french.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Sephadic \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_hebrew.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_hebrew.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_hebrew.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_italian.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_italian.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_italian.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_portuguese.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_portuguese.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_portuguese.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_spanish.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_spanish.txt new file mode 100644 index 0000000..f082a18 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_exact_spanish.txt @@ -0,0 +1,18 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// empty \ No newline at end of file diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_hebrew_common.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_hebrew_common.txt new file mode 100644 index 0000000..cf505ec --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_hebrew_common.txt @@ -0,0 +1,86 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include sep_exact_approx_common + +"E" "" "" "" // final French "e": only in Sephardic + +"ts" "" "" "C" // for not confusion Gutes [=guts] and Guts [=guc] +"tS" "" "" "C" // same reason +"S" "" "" "s" +"p" "" "" "f" +"b" "^" "" "b" +"b" "" "" "(b|v)" + +"ja" "" "" "i" +"je" "" "" "i" +"aj" "" "" "i" +"j" "" "" "i" + +"a" "^" "" "1" +"e" "^" "" "1" +"a" "" "$" "1" +"e" "" "$" "1" + +"a" "" "" "" +"e" "" "" "" + +"oj" "^" "" "(u|vi)" +"uj" "^" "" "(u|vi)" + +"oj" "" "" "u" +"uj" "" "" "u" + +"ou" "^" "" "(u|v|1)" +"o" "^" "" "(u|v|1)" +"u" "^" "" "(u|v|1)" + +"o" "" "$" "(u|1)" +"u" "" "$" "(u|1)" + +"ou" "" "" "u" +"o" "" "" "u" + +"VV" "" "" "u" // alef/ayin + vov from ruleshebrew +"L" "^" "" "1" // alef/ayin from ruleshebrew +"L" "" "$" "1" // alef/ayin from ruleshebrew +"L" "" "" " " // alef/ayin from ruleshebrew +"WW" "^" "" "(vi|u)" // vav-yod from ruleshebrew +"WW" "" "" "u" // vav-yod from ruleshebrew +"W" "^" "" "(u|v)" // vav from ruleshebrew +"W" "" "" "u" // vav from ruleshebrew + +// "g" "" "" "(g|Z)" +// "z" "" "" "(z|Z)" +// "d" "" "" "(d|dZ)" + +"T" "" "" "t" // tet from ruleshebrew + +// "k" "" "" "(k|x)" +// "x" "" "" "(k|x)" +"K" "" "" "k" // kof and initial kaf from ruleshebrew +"X" "" "" "x" // khet and final kaf from ruleshebrew + +// special for Spanish initial B/V +"B" "" "" "v" +"V" "" "" "b" + +"H" "^" "" "(x|1)" +"H" "" "$" "(x|1)" +"H" "" "" "(x|)" +"h" "^" "" "1" +"h" "" "" "" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_lang.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_lang.txt new file mode 100644 index 0000000..7bdd6d2 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_lang.txt @@ -0,0 +1,105 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// SEPHARDIC + +// 1. following are rules to accept the language +// 1.1 Special letter combinations +eau french true +ou french true +gni italian+french true +tx spanish true +tj spanish true +gy french true +guy french true + +sh spanish+portuguese true // English, but no sign for /sh/ in these languages + +lh portuguese true +nh portuguese true +ny spanish true + +gue spanish+french true +gui spanish+french true +gia italian true +gie italian true +gio italian true +giu italian true + +// 1.2 special characters +ñ spanish true +â portuguese+french true +á portuguese+spanish true +à portuguese true +ã portuguese true +ê french+portuguese true +í portuguese+spanish true +î french true +ô french+portuguese true +õ portuguese true +ò italian+spanish true +ú portuguese+spanish true +ù french true +ü portuguese+spanish true + +// Hebrew +א hebrew true +ב hebrew true +ג hebrew true +ד hebrew true +ה hebrew true +ו hebrew true +ז hebrew true +ח hebrew true +ט hebrew true +י hebrew true +כ hebrew true +ל hebrew true +מ hebrew true +נ hebrew true +ס hebrew true +ע hebrew true +פ hebrew true +צ hebrew true +ק hebrew true +ר hebrew true +ש hebrew true +ת hebrew true + +// 2. following are rules to reject the language + +// Every Latin character word has at least one Latin vowel +a hebrew false +o hebrew false +e hebrew false +i hebrew false +y hebrew false +u hebrew false + +kh spanish false +gua italian false +guo italian false +ç italian false +cha italian false +cho italian false +chu italian false +j italian false +dj spanish false +sce french false +sci french false +ó french false +è portuguese false diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_languages.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_languages.txt new file mode 100644 index 0000000..b896876 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_languages.txt @@ -0,0 +1,23 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +any +french +hebrew +italian +portuguese +spanish diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_any.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_any.txt new file mode 100644 index 0000000..126af74 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_any.txt @@ -0,0 +1,155 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// SEPHARDIC: INCORPORATES Portuguese + Italian + Spanish(+Catalan) + French + +// CONSONANTS +"ph" "" "" "f" // foreign +"sh" "" "" "S" // foreign +"kh" "" "" "x" // foreign + +"gli" "" "" "(gli|l[italian])" +"gni" "" "" "(gni|ni[italian+french])" +"gn" "" "[aeou]" "(n[italian+french]|nj[italian+french]|gn)" +"gh" "" "" "g" // It + translit. from Arabic +"dh" "" "" "d" // translit. from Arabic +"bh" "" "" "b" // translit. from Arabic +"th" "" "" "t" // translit. from Arabic +"lh" "" "" "l" // Port +"nh" "" "" "nj" // Port + +"ig" "[aeiou]" "" "(ig|tS[spanish])" +"ix" "[aeiou]" "" "S" // Sp +"tx" "" "" "tS" // Sp +"tj" "" "$" "tS" // Sp +"tj" "" "" "dZ" // Sp +"tg" "" "" "(tg|dZ[spanish])" + +"gi" "" "[aeou]" "dZ" // italian +"g" "" "y" "Z" // french +"gg" "" "[ei]" "(gZ[portuguese+french]|dZ[italian+spanish]|x[spanish])" +"g" "" "[ei]" "(Z[portuguese+french]|dZ[italian+spanish]|x[spanish])" + +"guy" "" "" "gi" +"gue" "" "$" "(k[french]|ge)" +"gu" "" "[ei]" "(g|gv)" // not It +"gu" "" "[ao]" "gv" // not It + +"ñ" "" "" "(n|nj)" +"ny" "" "" "nj" + +"sc" "" "[ei]" "(s|S[italian])" +"sç" "" "[aeiou]" "s" // not It +"ss" "" "" "s" +"ç" "" "" "s" // not It + +"ch" "" "[ei]" "(k[italian]|S[portuguese+french]|tS[spanish]|dZ[spanish])" +"ch" "" "" "(S|tS[spanish]|dZ[spanish])" + +"ci" "" "[aeou]" "(tS[italian]|si)" +"cc" "" "[eiyéèê]" "(tS[italian]|ks[portuguese+french+spanish])" +"c" "" "[eiyéèê]" "(tS[italian]|s[portuguese+french+spanish])" +//"c" "" "[aou]" "(k|C[portuguese+spanish])" // "C" means that the actual letter could be "ç" (cedille omitted) + +"s" "^" "" "s" +"s" "[aáuiíoóeéêy]" "[aáuiíoóeéêy]" "(s[spanish]|z[portuguese+french+italian])" +"s" "" "[dglmnrv]" "(z|Z[portuguese])" + +"z" "" "$" "(s|ts[italian]|S[portuguese])" // ts It, s/S/Z Port, s in Sp, z Fr +"z" "" "[bdgv]" "(z|dz[italian]|Z[portuguese])" // dz It, Z/z Port, z Sp & Fr +"z" "" "[ptckf]" "(s|ts[italian]|S[portuguese])" // ts It, s/S/z Port, z/s Sp +"z" "" "" "(z|dz[italian]|ts[italian]|s[spanish])" // ts/dz It, z Port & Fr, z/s Sp + +"que" "" "$" "(k[french]|ke)" +"qu" "" "[eiu]" "k" +"qu" "" "[ao]" "(kv|k)" // k is It + +"ex" "" "[aáuiíoóeéêy]" "(ez[portuguese]|eS[portuguese]|eks|egz)" +"ex" "" "[cs]" "(e[portuguese]|ek)" + +"m" "" "[cdglnrst]" "(m|n[portuguese])" +"m" "" "[bfpv]" "(m|n[portuguese+spanish])" +"m" "" "$" "(m|n[portuguese])" + +"b" "^" "" "(b|V[spanish])" +"v" "^" "" "(v|B[spanish])" + +// VOWELS +"eau" "" "" "o" // Fr + +"ouh" "" "[aioe]" "(v[french]|uh)" +"uh" "" "[aioe]" "(v|uh)" +"ou" "" "[aioe]" "v" // french +"uo" "" "" "(vo|o)" +"u" "" "[aie]" "v" + +"i" "[aáuoóeéê]" "" "j" +"i" "" "[aeou]" "j" +"y" "[aáuiíoóeéê]" "" "j" +"y" "" "[aeiíou]" "j" +"e" "" "$" "(e|E[french])" + +"ão" "" "" "(au|an)" // Port +"ãe" "" "" "(aj|an)" // Port +"ãi" "" "" "(aj|an)" // Port +"õe" "" "" "(oj|on)" // Port +"où" "" "" "u" // Fr +"ou" "" "" "(ou|u[french])" + +"â" "" "" "a" // Port & Fr +"à" "" "" "a" // Port +"á" "" "" "a" // Port & Sp +"ã" "" "" "(a|an)" // Port +"é" "" "" "e" +"ê" "" "" "e" // Port & Fr +"è" "" "" "e" // Sp & Fr & It +"í" "" "" "i" // Port & Sp +"î" "" "" "i" // Fr +"ô" "" "" "o" // Port & Fr +"ó" "" "" "o" // Port & Sp & It +"õ" "" "" "(o|on)" // Port +"ò" "" "" "o" // Sp & It +"ú" "" "" "u" // Port & Sp +"ü" "" "" "u" // Port & Sp + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "(b|v[spanish])" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"j" "" "" "(x[spanish]|Z)" // not It +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "(s|S[portuguese])" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "(v|b[spanish])" +"w" "" "" "v" // foreign +"x" "" "" "(ks|gz|S[portuguese+spanish])" // S/ks Port & Sp, gz Sp, It only ks +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_french.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_french.txt new file mode 100644 index 0000000..6278200 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_french.txt @@ -0,0 +1,91 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Sephardic + +// CONSONANTS +"kh" "" "" "x" // foreign +"ph" "" "" "f" + +"ç" "" "" "s" +"x" "" "" "ks" +"ch" "" "" "S" +"c" "" "[eiyéèê]" "s" +"c" "" "" "k" +"gn" "" "" "(n|gn)" +"g" "" "[eiy]" "Z" +"gue" "" "$" "k" +"gu" "" "[eiy]" "g" +//"aill" "" "e" "aj" // non Jewish +//"ll" "" "e" "(l|j)" // non Jewish +"que" "" "$" "k" +"qu" "" "" "k" +"q" "" "" "k" +"s" "[aeiouyéèê]" "[aeiouyéèê]" "z" +"h" "[bdgt]" "" "" // translit from Arabic +"h" "" "$" "" // foreign +"j" "" "" "Z" +"w" "" "" "v" +"ouh" "" "[aioe]" "(v|uh)" +"ou" "" "[aeio]" "v" +"uo" "" "" "(vo|o)" +"u" "" "[aeio]" "v" + +// VOWELS +"aue" "" "" "aue" +"eau" "" "" "o" +//"au" "" "" "(o|au)" // non Jewish +"ai" "" "" "aj" // [e] is non Jewish +"ay" "" "" "aj" // [e] is non Jewish +"é" "" "" "e" +"ê" "" "" "e" +"è" "" "" "e" +"à" "" "" "a" +"â" "" "" "a" +"où" "" "" "u" +"ou" "" "" "u" +"oi" "" "" "oj" // [ua] is non Jewish +"ei" "" "" "ej" // [e] is non Jewish, in Ashk should be aj +"ey" "" "" "ej" // [e] non Jewish, in Ashk should be aj +//"eu" "" "" "(e|o)" // non Jewish +"y" "[ou]" "" "j" +"e" "" "$" "(e|)" +"i" "" "[aou]" "j" +"y" "" "[aoeu]" "j" +"y" "" "" "i" + +// TRIVIAL +"a" "" "" "a" +"b" "" "" "b" +"d" "" "" "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_hebrew.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_hebrew.txt new file mode 100644 index 0000000..6b313bc --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_hebrew.txt @@ -0,0 +1,62 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Sephardic + +"אי" "" "" "i" +"עי" "" "" "i" +"עו" "" "" "VV" +"או" "" "" "VV" + +"ג׳" "" "" "Z" +"ד׳" "" "" "dZ" + +"א" "" "" "L" +"ב" "" "" "b" +"ג" "" "" "g" +"ד" "" "" "d" + +"ה" "^" "" "1" +"ה" "" "$" "1" +"ה" "" "" "" + +"וו" "" "" "V" +"וי" "" "" "WW" +"ו" "" "" "W" +"ז" "" "" "z" +"ח" "" "" "X" +"ט" "" "" "T" +"יי" "" "" "i" +"י" "" "" "i" +"ך" "" "" "X" +"כ" "^" "" "K" +"כ" "" "" "k" +"ל" "" "" "l" +"ם" "" "" "m" +"מ" "" "" "m" +"ן" "" "" "n" +"נ" "" "" "n" +"ס" "" "" "s" +"ע" "" "" "L" +"ף" "" "" "f" +"פ" "" "" "f" +"ץ" "" "" "C" +"צ" "" "" "C" +"ק" "" "" "K" +"ר" "" "" "r" +"ש" "" "" "s" +"ת" "" "" "T" // Special for Sephardim diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_italian.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_italian.txt new file mode 100644 index 0000000..7687d73 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_italian.txt @@ -0,0 +1,76 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"kh" "" "" "x" // foreign + +"gli" "" "" "(l|gli)" +"gn" "" "[aeou]" "(n|nj|gn)" +"gni" "" "" "(ni|gni)" + +"gi" "" "[aeou]" "dZ" +"gg" "" "[ei]" "dZ" +"g" "" "[ei]" "dZ" +"h" "[bdgt]" "" "g" // gh is It; others from Arabic translit + +"ci" "" "[aeou]" "tS" +"ch" "" "[ei]" "k" +"sc" "" "[ei]" "S" +"cc" "" "[ei]" "tS" +"c" "" "[ei]" "tS" +"s" "[aeiou]" "[aeiou]" "z" + +"i" "[aeou]" "" "j" +"i" "" "[aeou]" "j" +"y" "[aeou]" "" "j" // foreign +"y" "" "[aeou]" "j" // foreign + +"qu" "" "" "k" +"uo" "" "" "(vo|o)" +"u" "" "[aei]" "v" + +"�" "" "" "e" +"�" "" "" "e" +"�" "" "" "o" +"�" "" "" "o" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"j" "" "" "(Z|dZ|j)" // foreign +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" // foreign +"x" "" "" "ks" // foreign +"y" "" "" "i" // foreign +"z" "" "" "(ts|dz)" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_portuguese.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_portuguese.txt new file mode 100644 index 0000000..6359c7c --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_portuguese.txt @@ -0,0 +1,104 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"kh" "" "" "x" // foreign +"ch" "" "" "S" +"ss" "" "" "s" +"sc" "" "[ei]" "s" +"sç" "" "[aou]" "s" +"ç" "" "" "s" +"c" "" "[ei]" "s" +// "c" "" "[aou]" "(k|C)" + +"s" "^" "" "s" +"s" "[aáuiíoóeéêy]" "[aáuiíoóeéêy]" "z" +"s" "" "[dglmnrv]" "(Z|S)" // Z is Brazil + +"z" "" "$" "(Z|s|S)" // s and S in Brazil +"z" "" "[bdgv]" "(Z|z)" // Z in Brazil +"z" "" "[ptckf]" "(s|S|z)" // s and S in Brazil + +"gu" "" "[eiu]" "g" +"gu" "" "[ao]" "gv" +"g" "" "[ei]" "Z" +"qu" "" "[eiu]" "k" +"qu" "" "[ao]" "kv" + +"uo" "" "" "(vo|o|u)" +"u" "" "[aei]" "v" + +"lh" "" "" "l" +"nh" "" "" "nj" +"h" "[bdgt]" "" "" // translit. from Arabic + +"ex" "" "[aáuiíoóeéêy]" "(ez|eS|eks)" // ez in Brazil +"ex" "" "[cs]" "e" + +"y" "[aáuiíoóeéê]" "" "j" +"y" "" "[aeiíou]" "j" +"m" "" "[bcdfglnprstv]" "(m|n)" // maybe to add a rule for m/n before a consonant that disappears [preceding vowel becomes nasalized] +"m" "" "$" "(m|n)" // maybe to add a rule for final m/n that disappears [preceding vowel becomes nasalized] + +"ão" "" "" "(au|an|on)" +"ãe" "" "" "(aj|an)" +"ãi" "" "" "(aj|an)" +"õe" "" "" "(oj|on)" +"i" "[aáuoóeéê]" "" "j" +"i" "" "[aeou]" "j" + +"â" "" "" "a" +"à" "" "" "a" +"á" "" "" "a" +"ã" "" "" "(a|an|on)" +"é" "" "" "e" +"ê" "" "" "e" +"í" "" "" "i" +"ô" "" "" "o" +"ó" "" "" "o" +"õ" "" "" "(o|on)" +"ú" "" "" "u" +"ü" "" "" "u" + +"aue" "" "" "aue" + +// LATIN ALPHABET +"a" "" "" "a" +"b" "" "" "b" +"c" "" "" "k" +"d" "" "" "d" +"e" "" "" "(e|i)" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"j" "" "" "Z" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "(o|u)" +"p" "" "" "p" +"q" "" "" "k" +"r" "" "" "r" +"s" "" "" "S" +"t" "" "" "t" +"u" "" "" "u" +"v" "" "" "v" +"w" "" "" "v" +"x" "" "" "(S|ks)" +"y" "" "" "i" +"z" "" "" "z" diff --git a/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_spanish.txt b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_spanish.txt new file mode 100644 index 0000000..26dd340 --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_spanish.txt @@ -0,0 +1,95 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//Sephardic + +// Includes both Spanish (Castillian) & Catalan + +// CONSONANTS +"ñ" "" "" "(n|nj)" +"ny" "" "" "nj" // Catalan +"ç" "" "" "s" // Catalan + +"ig" "[aeiou]" "" "(tS|ig)" // tS is Catalan +"ix" "[aeiou]" "" "S" // Catalan +"tx" "" "" "tS" // Catalan +"tj" "" "$" "tS" // Catalan +"tj" "" "" "dZ" // Catalan +"tg" "" "" "(tg|dZ)" // dZ is Catalan +"ch" "" "" "(tS|dZ)" // dZ is typical for Argentina +"bh" "" "" "b" // translit. from Arabic +"h" "[dgt]" "" "" // translit. from Arabic + +"j" "" "" "(x|Z)" // Z is Catalan +"x" "" "" "(ks|gz|S)" // ks is Spanish, all are Catalan + +//"ll" "" "" "(l|Z)" // Z is typical for Argentina, only Ashkenazic +"w" "" "" "v" // foreign words + +"v" "^" "" "(B|v)" +"b" "^" "" "(b|V)" +"v" "" "" "(b|v)" +"b" "" "" "(b|v)" +"m" "" "[bpvf]" "(m|n)" + +"c" "" "[ei]" "s" +// "c" "" "[aou]" "(k|C)" +"c" "" "" "k" + +"z" "" "" "(z|s)" // as "c" befoire "e" or "i", in Spain it is like unvoiced English "th" + +"gu" "" "[ei]" "(g|gv)" // "gv" because "u" can actually be "ü" +"g" "" "[ei]" "(x|g|dZ)" // "g" only for foreign words; dZ is Catalan + +"qu" "" "" "k" +"q" "" "" "k" + +"uo" "" "" "(vo|o)" +"u" "" "[aei]" "v" + +// "y" "" "" "(i|j|S|Z)" // S or Z are peculiar to South America; only Ashkenazic +"y" "" "" "(i|j)" + +// VOWELS +"ü" "" "" "v" +"á" "" "" "a" +"é" "" "" "e" +"í" "" "" "i" +"ó" "" "" "o" +"ú" "" "" "u" +"à" "" "" "a" // Catalan +"è" "" "" "e" // Catalan +"ò" "" "" "o" // Catalan + +// TRIVIAL +"a" "" "" "a" +"d" "" "" "d" +"e" "" "" "e" +"f" "" "" "f" +"g" "" "" "g" +"h" "" "" "h" +"i" "" "" "i" +"k" "" "" "k" +"l" "" "" "l" +"m" "" "" "m" +"n" "" "" "n" +"o" "" "" "o" +"p" "" "" "p" +"r" "" "" "r" +"s" "" "" "s" +"t" "" "" "t" +"u" "" "" "u" diff --git a/src/main/resources/org/apache/commons/codec/language/dmrules.txt b/src/main/resources/org/apache/commons/codec/language/dmrules.txt new file mode 100644 index 0000000..06f6fea --- /dev/null +++ b/src/main/resources/org/apache/commons/codec/language/dmrules.txt @@ -0,0 +1,200 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Format +// "pattern" "replacement at start of word" "replacement before a vowel" "replacement in other cases" + +// Vowels + +"a" "0" "" "" +"e" "0" "" "" +"i" "0" "" "" +"o" "0" "" "" +"u" "0" "" "" + +// Consonants + +"b" "7" "7" "7" +"d" "3" "3" "3" +"f" "7" "7" "7" +"g" "5" "5" "5" +"h" "5" "5" "" +"k" "5" "5" "5" +"l" "8" "8" "8" +"m" "6" "6" "6" +"n" "6" "6" "6" +"p" "7" "7" "7" +"q" "5" "5" "5" +"r" "9" "9" "9" +"s" "4" "4" "4" +"t" "3" "3" "3" +"v" "7" "7" "7" +"w" "7" "7" "7" +"x" "5" "54" "54" +"y" "1" "" "" +"z" "4" "4" "4" + +// Romanian t-cedilla and t-comma should be equivalent +"ţ" "3|4" "3|4" "3|4" +"ț" "3|4" "3|4" "3|4" + +// Polish characters (e-ogonek and a-ogonek): default case branch either not coded or 6 +"ę" "" "" "|6" +"ą" "" "" "|6" + +// Other terms + +"schtsch" "2" "4" "4" +"schtsh" "2" "4" "4" +"schtch" "2" "4" "4" +"shtch" "2" "4" "4" +"shtsh" "2" "4" "4" +"stsch" "2" "4" "4" +"ttsch" "4" "4" "4" +"zhdzh" "2" "4" "4" +"shch" "2" "4" "4" +"scht" "2" "43" "43" +"schd" "2" "43" "43" +"stch" "2" "4" "4" +"strz" "2" "4" "4" +"strs" "2" "4" "4" +"stsh" "2" "4" "4" +"szcz" "2" "4" "4" +"szcs" "2" "4" "4" +"ttch" "4" "4" "4" +"tsch" "4" "4" "4" +"ttsz" "4" "4" "4" +"zdzh" "2" "4" "4" +"zsch" "4" "4" "4" +"chs" "5" "54" "54" +"csz" "4" "4" "4" +"czs" "4" "4" "4" +"drz" "4" "4" "4" +"drs" "4" "4" "4" +"dsh" "4" "4" "4" +"dsz" "4" "4" "4" +"dzh" "4" "4" "4" +"dzs" "4" "4" "4" +"sch" "4" "4" "4" +"sht" "2" "43" "43" +"szt" "2" "43" "43" +"shd" "2" "43" "43" +"szd" "2" "43" "43" +"tch" "4" "4" "4" +"trz" "4" "4" "4" +"trs" "4" "4" "4" +"tsh" "4" "4" "4" +"tts" "4" "4" "4" +"ttz" "4" "4" "4" +"tzs" "4" "4" "4" +"tsz" "4" "4" "4" +"zdz" "2" "4" "4" +"zhd" "2" "43" "43" +"zsh" "4" "4" "4" +"ai" "0" "1" "" +"aj" "0" "1" "" +"ay" "0" "1" "" +"au" "0" "7" "" +"cz" "4" "4" "4" +"cs" "4" "4" "4" +"ds" "4" "4" "4" +"dz" "4" "4" "4" +"dt" "3" "3" "3" +"ei" "0" "1" "" +"ej" "0" "1" "" +"ey" "0" "1" "" +"eu" "1" "1" "" +"fb" "7" "7" "7" +"ia" "1" "" "" +"ie" "1" "" "" +"io" "1" "" "" +"iu" "1" "" "" +"ks" "5" "54" "54" +"kh" "5" "5" "5" +"mn" "66" "66" "66" +"nm" "66" "66" "66" +"oi" "0" "1" "" +"oj" "0" "1" "" +"oy" "0" "1" "" +"pf" "7" "7" "7" +"ph" "7" "7" "7" +"sh" "4" "4" "4" +"sc" "2" "4" "4" +"st" "2" "43" "43" +"sd" "2" "43" "43" +"sz" "4" "4" "4" +"th" "3" "3" "3" +"ts" "4" "4" "4" +"tc" "4" "4" "4" +"tz" "4" "4" "4" +"ui" "0" "1" "" +"uj" "0" "1" "" +"uy" "0" "1" "" +"ue" "0" "1" "" +"zd" "2" "43" "43" +"zh" "4" "4" "4" +"zs" "4" "4" "4" + +// Branching cases + +"c" "4|5" "4|5" "4|5" +"ch" "4|5" "4|5" "4|5" +"ck" "5|45" "5|45" "5|45" +"rs" "4|94" "4|94" "4|94" +"rz" "4|94" "4|94" "4|94" +"j" "1|4" "|4" "|4" + + +// ASCII foldings + +ß=s +à=a +á=a +â=a +ã=a +ä=a +å=a +æ=a +ç=c +è=e +é=e +ê=e +ë=e +ì=i +í=i +î=i +ï=i +ð=d +ñ=n +ò=o +ó=o +ô=o +õ=o +ö=o +ø=o +ù=u +ú=u +û=u +ý=y +ý=y +þ=b +ÿ=y +ć=c +ł=l +ś=s +ż=z +ź=z diff --git a/src/main/resources/org/apache/http/client/version.properties b/src/main/resources/org/apache/http/client/version.properties new file mode 100644 index 0000000..aed4c10 --- /dev/null +++ b/src/main/resources/org/apache/http/client/version.properties @@ -0,0 +1,29 @@ +# +# ==================================================================== +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ==================================================================== +# +# This software consists of voluntary contributions made by many +# individuals on behalf of the Apache Software Foundation. For more +# information on the Apache Software Foundation, please see +# . +# +info.module = HttpClient +info.release = 4.5.14 +info.timestamp = ${mvn.timestamp} +# timestamp requires Maven 2.1 diff --git a/src/main/resources/org/apache/http/version.properties b/src/main/resources/org/apache/http/version.properties new file mode 100644 index 0000000..0932671 --- /dev/null +++ b/src/main/resources/org/apache/http/version.properties @@ -0,0 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +info.module = httpcore +info.release = 4.4.16 +info.timestamp = ${mvn.timestamp} +# timestamp requires Maven 2.1 diff --git a/src/main/resources/org/apache/maven/model/pom-4.0.0.xml b/src/main/resources/org/apache/maven/model/pom-4.0.0.xml new file mode 100644 index 0000000..11a640f --- /dev/null +++ b/src/main/resources/org/apache/maven/model/pom-4.0.0.xml @@ -0,0 +1,144 @@ + + + + + + + 4.0.0 + + + + central + Central Repository + https://repo.maven.apache.org/maven2 + default + + false + + + + + + + central + Central Repository + https://repo.maven.apache.org/maven2 + default + + false + + + + + + ${project.basedir}/target + ${project.build.directory}/classes + ${project.artifactId}-${project.version} + ${project.build.directory}/test-classes + ${project.basedir}/src/main/java + ${project.basedir}/src/main/scripts + ${project.basedir}/src/test/java + + + ${project.basedir}/src/main/resources + + + + + ${project.basedir}/src/test/resources + + + + + + + + maven-antrun-plugin + 3.1.0 + + + maven-assembly-plugin + 3.7.1 + + + maven-dependency-plugin + 3.7.0 + + + maven-release-plugin + 3.0.1 + + + + + + + ${project.build.directory}/site + + + + + + release-profile + + + + performRelease + true + + + + + + + true + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + + true + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + + true + maven-deploy-plugin + + + + + + + + diff --git a/src/main/resources/org/jline/nativ/FreeBSD/x86/libjlinenative.so b/src/main/resources/org/jline/nativ/FreeBSD/x86/libjlinenative.so new file mode 100644 index 0000000000000000000000000000000000000000..13258b54ec0ff88dbeff89a99fbe7042e614d3f9 GIT binary patch literal 8945 zcmb_i4QyN2b-t8TTWuAKb(C1iyp(Z-z{XrkvgO20j7)!&Ekl-Q{ZNjb`I#o4L@Jc1 zk&li&Sgo^H7v&gYO1$-FKUjxktp~V+0e3@+467CgcD!Mm;RRVRWUDbafQ)LXi>7Ip z+2y|P{*X^HoixQRba?K$=jWb#?z#89cdxz}8tC)+e4iA$)QVc+Lp@O^Lb}$eqYcZN{ z0ekho2l{o7Jf*fCGRpduaM2tmI765!M8du&mh8D67#_@^@^IaXVvACbN#6 zu_iLnX&b^5X|z{u-F?Iw*3vzxXf|tS#k4)0wH@I&$7ZOV5y@;6gh-}iPD(hjN!tOP zK@DQEmY%g|W+9PE9-fTFtZXow4z>%+jz^s+IzF7uT3IKWfyeetTF^T(#k&sUjBRLNd!(N;iPPt1Bi`!vuaReFYzSeLa zzLd@}yGt*cye+-REKUH#^{XY67de^)+1D>ix`{L!uP;ctnKXZ{pOrMTGZ7&DO-Zww z*hqR_(k-OhNS}~2S&8kWXC=LvbSLRUlBQ^47wItQvHUwD?o!<%XmQ}#^9v6MapIL7 zq;mTUr*1&vRvs*>6rF6^l<_=d;#mcq073)9NAl%|1LNTW=;G1`5Q(1y#oiWD!y*6`1&}l{z|^?t>&x! zF?{`IHDBi$V;R{76WK2yUkkbV!dye)-oo!5$1=-@ZWLV|mM_S#L`pAof-$u@JRT{H z-9Tto4!&%z^<$W;zoWVJ#=EP(cDr|1m3R5j+nBeL%N!Ka;?>GXmf&kC_jb`OE|c>~ zxuuF6$0X&xwoI-@c}TevGBVdVcK6RAln=dy?qBqZU##QW7KwyY-zgQZRTLLx2X7VK zzpAD&>C~T)8WdX|+h>>jm`M|l%l9K5bM?i)e(x8hQUYs5Oo_d1I${!cgpu7&(%PZwBaeq%iY>r`I{b-5-@wv^{1%>F}7g|X&* z=xToKT48Q|`}-$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-Y>EEa1(?x9=U!L-H6*NwKf%fmv|f%P-dUB~1`p?`0xs{Ez>Yb)p3tk53;{kq5AK94^8f5t-xKo>kT{SkPJ z%{sY>iC_%Zb3LO&!`49m$f#w3>Rm>Kc3FMHU3)@ScW7t-pcL5M2K0Jjls$j>qcH9!G{zHSkmF^9p zx;7L$HuXxs^3759JC#b#*fUWldBn!JVt94WL^H=wecH~<*r}~sP~DBMK`Wh^w4|^l zrLElqP#jR=){Om(_mfXpy-yBy?dk6kv%6`fsZEbB^ zIOp@K;QE7X20tH7*y<9RsPwaGTQ$G Dz}Ifv literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/FreeBSD/x86_64/libjlinenative.so b/src/main/resources/org/jline/nativ/FreeBSD/x86_64/libjlinenative.so new file mode 100644 index 0000000000000000000000000000000000000000..fa506463291fce80485fd655ea3deb3583fb666f GIT binary patch literal 11637 zcmcgy3vg7|c|Ougpn$ZJc}3tPUOP%7I_aX7Atu;zw0hp9E0B?Z^2%k|y-15!T6On| zhs)IRsG_-DWGiu#annwVJBjV-v<+=Z1}B|bwJ?t)9aCy2OwtA>276_|kOmXgj=lZ< z^SHWuwZisHr$@T`pYy-YfBy5I|J=uUv^CsTTvYTiCX0tX$cj)OnKc#Y^=&7ppqjr$z7Ck7p0tn zL!=l*!7|Zg4_!86b7lR*03}D=FThoWs}k28xSU0r$x-Bo5?o{-$&n7~b3U$lxXN*P zaaG{59gg~J#RCoFF6ZtAGuh%Uq|@g{qMgK5h@afFpn(3dS@=Hz{5`nb#Q>s^{=eh+ zU*@K&eR(2ZnuY)1EO_$Y0(kH|O@gC5gL)O4ssDM2KfToF;AU(kT7~Ri3w%DO5IY1= zXk1K>_s319?*?GH9^D_IY9tYV#6UAP?;+B8!7?o_1D0Q2r7@CC7J_v#xYcXJ|= zP8(^~XY{2FlbPm$ev(eHcshaxizlOIf|=1C!$doU8rXO(Ibie;fFlv#)f0{CX@5HD z4=~+`Ma&2~-jz=4X)}_7#YTUOwKq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X&y1I28t(Lr2tERVY2zIpUO|9*rb(~>svx7U9)O!-iU6F*&A6@mx;C_b3 z(t(6w8ZrOM)qwyT0I2%{6Gy*dgMEDmSaR1Myf+5Eex>TabzRGJ_o^YfRxRpS)u;RA zPtLsGJ&Aa~(H}A6dku^$iq{sYNa_Hp4;!g|BXMs%s%!DiTTiBXbk3}EZhdVSf?>g~ z_Z$11FSeQ9vSnScBh<_`$NRf*psj5dCCy3!KbEHJp|xRmKQ>EUU0wZ3sZXzGYuAPJ z_5I;wBv#lyTTY#8D>w?9i)-&TQho7cS{}^PW9g*c8|jZF3>J+G24mO2bbq2Ql z;S^Nvo^{t}kb*L{kL^j;?+tyxq~%REe;0In)zilqZ_me7sc}Z-X-L=MOX)We1uA-G rIg#1es18C-pR{zIl~l(t?J1MTJ>{uNI!RgZOy{&-y};ql>Cyf#UomJ_ literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/Linux-musl/arm64/libjlinenative.so b/src/main/resources/org/jline/nativ/Linux-musl/arm64/libjlinenative.so new file mode 100644 index 0000000000000000000000000000000000000000..6b6a5b66a8dda40ba568279fe572870f23e083ff GIT binary patch literal 14088 zcmeHOe{fS*cD~XR4mOT4U>gUgAPm`Iy+IZ(WXO+gWXWJm9B{F-$t=vsvMfM}YZuA24qwpn8_6{>{xHw#tsEn5A2i)I7UHlxNjD;i}vVv}64lq;5U zOb2CGn9i5tb-xNVoAA8xQH_yG&r2Lr!czKu$WeO_n(`%ZhiorX|87e=naZMA1o=|r zWylX9uRvaaycGF&kSURE%aIpT0f}T*A}>UK1o?i6T*_lsq66pPIa`*=Zw1K3$Yx}H zDwKtXL8-swpCytf-76@3ijeappV}l0jUV;PyhdanUX*Vb6pO>X=WS-HqxQ(2FUSAl zVC&ZEUmmajx1XKeh%j1G*SdnlA$@Cix|dm%+J9@?TZ?)8o$b`X{PA*rA?B5TTWo|3ni*vEONwZ zIZ@gEK8gRKY?s%$KUDGA!YbR1p-ib$+W)?^e~WBaICpzny~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xg6IX#ft;dqd zs)P2-z{Y@WM_kO{Au8?0DnTmPy5&| zecU*We+HN>tV?9Uxo;ONQe z&3+zXD}y#4bu?EW2W~#$kjQ7<;F-Z|BSvN3u(AJZ1CKd+R`;&j)K^+ZVb4)dfVnj1 zfjJM%d0@^1a~_!Uz?=u>JTT{hISoQxEXHC%)%IuZfhd;k}U(f1BX@vwSCq z?N$OK@*6 z6bQMRgk?|btCqd4;9g;A?r05mv}hDp2`vGS&qYl6)aDBbi+X3$67sa;S-sY33HX~` zA(yat_R6cLdz&H4B~8NV3Itpongl;Xv8%=Fh5>%)!XJy;fTpY|7!($_zoo^~8v0HB z&+-fLKrzm7$@75e2NKBf#PP@ThK3QJn*1!!^Cn3%$V;}s|L4>>!}2_@m|A7S)E+%@ z`#itsw+X~&dG$vDC^O}GNi0gdzGx*O9>W9aPRjFyl5|u8Q~S^DmrHrO#PPgk%JZD$ z>Aqj8{ZE2NHu1W`>s*qePM_HC%%g9+dim7(l-gnX{-sa2S2t5$F1Y+V91{hIE~UzE zLY=;SUYD7s;#2K^PRduvHrC4poGJZYL7%wDv>ui8%;T5o_cg2|wS8BLeDcRG@<%Uk z^T105JbtY26+F-fb%yail>Ge-10`j7rmurfE@pY&r}8bD0OO>1GJcr7ld zI^8B4W*nWRqJrOlpkh6NmJ$j9DI^U?I+9gd4knQcd9bP)BBDwM0=#d MAL*HRW_f1+7r*Y2;Q#;t literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/Linux-musl/x86_64/libjlinenative.so b/src/main/resources/org/jline/nativ/Linux-musl/x86_64/libjlinenative.so new file mode 100644 index 0000000000000000000000000000000000000000..78dbdb48bb6c4b54aaef0faafe8f5195598ce70a GIT binary patch literal 14024 zcmeHOeQ;CPm4B9PqJVi81Z`AEHfkzTlLTQApd`VGWn}xwkqN&+hon=$(7c`JHpmz4zSvuJoS1S{tgf6%{G66f1Wq7dSS^Rq*-Lp>mw0QcrfQJvY}YdGsOXR8b_g+D(AT z&e_~;I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3T2FHf^ceT4rH2Yg#( literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/Linux/arm64/libjlinenative.so b/src/main/resources/org/jline/nativ/Linux/arm64/libjlinenative.so new file mode 100644 index 0000000000000000000000000000000000000000..a5953000fa18368a9c7c517d6e2608bde2d63f1c GIT binary patch literal 14248 zcmeHOe{fXCec!t$u=x>L1|cxm<^Z)N8aN4IV}d>Q=_Dk?$bcmgsB!1%ba%j+)17*E zU@6dA#!Q>KPDdA$lBS+9rEZHfZK5{Nfa4TwoW_%+9Tmrf*#1Lcl3`pLU@*215bEc< zyWhL_-ra%Hrqk(6AH4hSet+$Ezx&;N`}TeH?8=r#x638?GQ@WT)jU%b#-|DAYjgp? zCzgwe_?;tWOWp}NQeLV2UWH;Pq=fpN2-5NU6#e*p$_9r0ZiO#16l6Icz4Yo9W0sl#>?OL zd5A_lq^kn=Ox$$M!A-8apDLDXF3R(8&)2vG1i$sb`GKGR-nTw_=VIxBwqJbj;$8oG zaYy?jdyjtQa_P^0cjLXgHr?>P_Tg7|ZM?XzcfyXZee>*s-GB1$3(v2qU-|BZfvy=l zzJ7VxiuJV@29CYAVa~;~f4wKRy6OGHjl*QtEiXe%5*w%Fvl!^nupV!wQr|pWvB1BD zW2RZ^Tx>ys`^Y$g3ybjoRS~?q2%g5#Lkb<&x+45NMev&-?{Vm$YAtRL6&%;M(Qu*u zUWEQKM8L2I43?`*@=p=VXDH-Tnnv+EO-vOxW?Pt19Fh1b;sXjOT+II^l&6U);*rlu zv^cGR7}4#nbF{lcwwph`KPke0RNEQV0sN}g@5Tfv)URtr`g>06DVwDfyoEYlaol8o zjkaGed%~yr_iF#F()|A-_0JH_eoY3R^!(%=saAv(5YK9SzxHQTWhd{^eT#I?XRkb4yn|W+qdCM9MUUxj7Px2(!8U zaWfQ7gttVJsc@qG@%m^y7H$u8M#G9$m|_Nd0;C`ijeH4=t9O{KT0?y_kW7Y?V)dG4 zb8W089termfgJ%ep4ehO9gW1oW-O43>@Z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0%6^~jI6%Uu64nisP1-c?ZG!};n{CK5ar2`QpyjY^UuI61HFR;`0fHl^V|gk6GL0MeP%u5wSdzJ;1wM^uc|I3m$medFUAVZQA?@4g42b4rTZ@@=BW!M^T{IVR?S<<-cPZ){f$SbGtk) zZ$j4EKEKxEizL`_?*-;^pF literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/Linux/armv6/libjlinenative.so b/src/main/resources/org/jline/nativ/Linux/armv6/libjlinenative.so new file mode 100644 index 0000000000000000000000000000000000000000..bfe35207695696e6fbda1fc580d62e60163c305f GIT binary patch literal 14056 zcmeHOeQ;dWb-!1^;r)8RCN{b|C69*xmX=i*jXU{$NoO|xM=YGETj{anGZ?|PxLMN|i7Nq>OLbL;aX)S(y zqN-ikq8hxL#Z8j0<%!>IP*5ccEmi+U=(y36&<=%pK()*F05^c&06yV7Xae~@7v2We z(1bie^X@3-V<10}SlCe-32?)@R>{>j7TCmL0pr$w%$&=a-)P&Tk)mZ1IcvnLOwwr%;h zgZEwtoGSkDUrlwNUH+xF)_?MAeLp*MYIxOw*^fQ+gZ@j>p3~xMA~3W`Nzxne_lqP zH!84xi&h3~1OBi~epwmagZhma8h4519OyfEzIh zPPudl?d?H(oJ-^j$JslaPC2=JB%5~};q>%xcVh8ud~YI`k7xV0cO}!Qcza6RzjA%L&Pi69>myyax z_r~*)eEvhmpk!-4np>1yA_rxcZ8SfciVVlaaC{hA1uBqqvLcxnj0SS)zB`t_D5o->vHxMz68Q&=EAr z&BSwxdw9Kzxqp!k0{=UZnkpzgbXX8;`9 z4(RBBT&aGrYx-+97G|2EvupW-(|_xqyrjP8pyxDT4`2iI^`c%c^w9=k|Fg8;wSBoC z{%r@}6J&q-&SBV>G}A^g@$;|G&%gc>z_JVHl-;cVcSS$OA_?6#APD^%fLj1(;RgZR z(a#yq$=^V?2p%m?`6r4E!DB_skNTm)j3-=}SqB;656@zXtQG@>bJe0SQ+IZJb`H8l z@ObeMY&tY>tT^V{?E{~_^!dk&>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4>g4S}pOA|DYqB{Q-bU2A{s89Ph;Z|DW^7tG6ghAN%z^0PUlky!+Z}4v}PH zn}qKJv>fl?AzPKBSSD@j3!tc%`gphAWPeZ}SmN&i)W^BRM7cFGr+&yIybOS@j4H)= z+d{0>1TbZoehSce(x+@h2{7X(+QjrLfGH<#LM)2ps2|OnFO%zrTvG)(KI7;*WZwt5 z7c0nJ=gR5+w%v>fi!wRt;WH7jmU{$p=9?Gt2>c%}Vx7JUIj%RIG>_Prmf{u2O~M&A p%DM4z-24EpNjV3AnGWNn>kssxg4X)@IBLq>0YmjWW7gAh{{uOu);s_J literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/Linux/armv7/libjlinenative.so b/src/main/resources/org/jline/nativ/Linux/armv7/libjlinenative.so new file mode 100644 index 0000000000000000000000000000000000000000..ae3fa0c8a98d4805264b36faaab9d89f83e8ed98 GIT binary patch literal 13404 zcmeHOeRP!7nZJ`s!T>j&&R=X!2+*a51G;2+XzzSF@X&?# z5P6a*yKOk(2mDN8{cO-S$kp~uJFL&Kk>`M{Aa}!d@x(8`er4vzyXNj`di?j@w=CNC z;NCYc%!h0qh`KXC#o40rV6pQXdFk1e-+yJ>QOc-8JJ*92f|!8VLcNTw89(k<05gY%jm?+^K)RW68yLpFJ3EYVz4)2=*EkdmCWS^xp#b?~N3BKjbx7c=RLNOT)ra`}4W^Zdapvxwgczm5+8t{fg-B7IU@N6?IRE53qcpxrn8)`gTBlS_QU(|X#yq;)m zmuGi46bX1D-bARwQ(KRGeW*3&jdgh8VzF4R|5sgi)&bEL*6btwgjiL6y zu4`x|e7gb(ZzAz0<{;VEgfBiNy-*y+uGwg!E8=Ynh_*l* ztO`^h^u$Cs)VePb3OnLaM;U>Sxpl%5@Ou+pEa}#GTwl>@o~v7v1R{PdZ*VZ-uCLit zg$drb?4X=bXb$bo;LQn%cK*?j6YKJ{q@4Fy z-g~kQzR|8@m%-}|?gY<;&9&sXsjVl+jje)wwh)`ivvAJ_zaDzoO=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yR`%6QxTXC14B?^tRq}^n+=`#Ne_zk3L;OmOl2iRRpkcM| zlbPU?@>><7tnKngfR6U|?>dGYw(K kN&Khra$#woTG(<(*;kx+4VF#*k9ffd<(K?-=*KSqKX*6n4FCWD literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/Linux/x86/libjlinenative.so b/src/main/resources/org/jline/nativ/Linux/x86/libjlinenative.so new file mode 100644 index 0000000000000000000000000000000000000000..50b7cfe2b25eed29264c1fddd8e990f795566498 GIT binary patch literal 15920 zcmeHOe{@vUoxhU=7&XFBqm3HN0I7nDLjoKYm963xroq2=7 z1E;|;>hv)sB39kn%30}_wyw36RjKP54F&1ZJ;-`my6B3Y*fXqI!PT<5THk&?_q{iH zneZds{E;r=|))%42~`7R+!v@Y9s@OO@xTfg_t+kfMjxqmx#7n#^;;PYIDer5oR!d)Ie9 znDNgi|9xJ1b>7AYpKM+<@?%sRljygV+{ipaN6o}Gsx1M04rnQZY$ob$aN&lmW$Dv4 z0PzbzR&pbATNZwLmRyVaFI+A}4A?KB=R3h~f}uxE`7!8At`K6gDW3+vtx$+nrd$Yn zw-+JarW}C$I^<4MJ^)@|!=Hk^%b{;H_08blpJ~h?w!aSYw@c} z{^%wp9Jr%87z(Ti#M+|49yJo3Se?c|doUVkQ@z0+G~DyAHH#kJ>wMtTC_9(B`s zP-nZVLOm0|H2LB`QL}^=+P5#IsbatgEf4R2F#_ zFUe#}J&QB>63k+U$iWJhBYB?uW&Z4cx#B@w1J*jT_x|ro*0xe9-2fKe@;9l zWjrK_E;r>}Qf9Vm9_0Zke~jOb0mw3GMa4rM1EYWGVH9tD`6l?9`ZjB&?&9zDuc%jP zcb!62_E1%I&+6Um)p&!96?DRb^ zpMT@mXbE-)KFv&wYG=36ji#oAhDYI{BgK+A3L>E1%v>mQ6yD?OB~AAVm+ZJ!HO@&J^n?bjgN(Bjhv z?nX-zrygz8F7l$Np(nN719j@565^|dQK6C0UbL3j?}p!huU(?YU0yvt?9+GbmBlW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ocog%WsipJq+G_zPR_~J=533Z~CKEWbNaApY5*cJI5i} zVvWc8cL`-;@(ZA=ZBBEcmIOk z{@>PI$x)pX$c{FDHquq+1n6i{bxxo{TYx2x_jBq%Lz=62LZRV?BdUcam`RL$_#f=4H*6%A&p5nph6KG50@|)U?dMUcv31e-U zuGI!lZaCo0L7UgSGrsBU!WzCP-zlZn&@1C^I#qgKsW19X^5NB6PPHI9WKs1Q&uzBd zT;8m`^vWY@*I@4@5hEtQD0|h<>*YpA@`JWbC#Fmup6x-MnsLga*E#wXQ|+=fnOT*0 z8@lPInMAZctX%&15A8$kGu`|mSKq5%Flg$~Y-;HaYpa*(ODF83ME$EYGvnmY9lb9f zIPp4dk5<@4H@#O!2M>N5I)CS($FJ91SZ`YUazO3Ivy7m94{T=K{H(L#?#8)>gG>iW zW?kN=k!w>V(ZAyVWb@O(TP`i@ac_;YZoLk6xN(2IL7V;+(dL=P>~$Ycr*Cg{xxZ2N z#gOV(WdW51R2EQKKxF}y1ymMLSwLk0l?7B5P+34_0hI+*7EoD0WdW51R2EQKKxF}y i1ymMLSwLk0l?7B5P+34_0hI+*7EoD0Wr2Uc1^x%FN6XOw literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/Mac/x86_64/libjlinenative.jnilib b/src/main/resources/org/jline/nativ/Mac/x86_64/libjlinenative.jnilib new file mode 100644 index 0000000000000000000000000000000000000000..611ec2c5377d4fe9c14c847be93f5c488f92fe73 GIT binary patch literal 33024 zcmeHv2UJtZ_wY*yy$dLcU}%aW@In!kBB3T25Cs%LjWI-slpqO;owBGAQ7miSMXa#O z+EHw4!-8G0u(nkfT~M(r*xoOO61sB0o@hhk*Kl1rL|YVMh!J4r0saEG|RKmc?>- z7zrb}6nUX(i1?T*(KrIjW%2fJy@@4X8Ar(tt_>|HCy9!;(I#q=FwX<^)PIM>0n+W0=uVkxc0gmh=;= zK#f)Cu?rlO)<~Q!Jsr%b3(s$r%p&s5c0xX@P@jmTe{rNOtwmbk`mm(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3V% zU#Df}gj2(vUeDYs7&m`$_xY)sXSxibcWJmeVB@iufs=(}bvVZBPquv7ymrv%LLKaI zOS0qTfay7&g5Hr20uH^hPOZ@jbzC>k$!(F=$wohKwKo+5ZXLSFD_E+jzxvrk+@#3q znU2uysNbvnFsxtq*vN=yZoj-fofWv!FLuu`HzVig9!ItIJ04p$hqkX*>h+Wq}Q>f)PyCi@S!oY;@`>2Ybogb5aPE(0D|U1sdCi1BR>bsO-! z+x6pm+o+4TRxjgeR{C}sb53uJ?h^gs=S3gFMxTrwTPyqGm;7!>^;T&>r2&-&R2ooe zK&1hd22>hQX+Wg`l?GHAP-#G=0hI<+8c=CKr2&-&R2ooeK&1hd22>hQX+Wg`l?GHA UP-#G=0hI<+8c=EAKdFKL14@(Uw*UYD literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/Windows/arm64/jlinenative.dll b/src/main/resources/org/jline/nativ/Windows/arm64/jlinenative.dll new file mode 100644 index 0000000000000000000000000000000000000000..dcd3c45c488ac4f746de756b8048923fb3427980 GIT binary patch literal 80384 zcmeFa3wTu3)i=J+Idf*tOm34KnS@{l0vIBfa8po}$qh&dBqRaxQbR}v63LBR1QaD) z)F|+lDAsFVVry-PRIvpMXe%mOZ0+}=QfsZRqM${^eh4VU3;F-nK4;IInM@$q_Iuv< z`8N+|_F8MNz4qE`t-ba>`^*_;UAvq~j4=x?^Pk6z^Z_piJu+oaB->&CYLpQz3#@AI(K!QJEyS3U0Yx29X*t>qFlx*yCN97;>wvU zPGbKJS;yHBcbFW>SU!+f^iJI|D4iT`B|SMTGiK!^f5|#fOM`$snJoaKHxfl}T&Enb zVr;#gv0EA$n_|f1MF(_5Kfb@cjLjgVm9b(^LZqOOIEjmz1y4B$_{dq`Ub4?SGxYf40f!_u(PFiQ_rmprD{|BfEUc zNxlyc@m+cu$Hxyv(Ez^TDF4n$z7G%he8~S}0DW&_ZmIpMC>D3J@ZOV!9GkPxnsncY+sY-T7;S_fp7thOtWrpv_lG zN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$(k#jHZN9LP-`zlt|Dd66_>Jd zrwZhEk;1iz8B%bDj1-+^v~ZkrGy#{H65SM;O3)e52Qpe0=!i-oWu){-+etpkK0=br zasMQKu+?uJos_e!Zr^7wJv|46g%*44f{X?)(MX)310vx_`%F5gFil7~H z8?%7;`^#;>;)QIUsLP?rwxQXPe|6As1_Rhd(Du2@z7GpXH5yd6GTk7JZ_lR!tEntL zX?%M=cr{%+KI89+TWVzbbhfHsr;MuYs<_+lcj2hqhe0d6di5I^nY@FzmTPPPM7$KZ zTMo9LCnd58yX91aU1)Mvi-dAhcg+*7erANncoDi&)1UT&0n9Y2u;Rj;yGq}D;8xE{ z*<9N37-#cPc%M0K6y-Oq7&r4 zq8-R~lZAD?3071mSX13A7wDL~E>mlA6Iw5v&|1^3Gixp5t>wa*Cz%@WFz!{8lKS!k zN~#o;A2hGhJb%Edv;Un#VEXyu@f50{V)IW0;wIApiKhEFcw!y*h~ zX`vmOavo@6dc#LkiUaINIhpo(yqP4j7ZIXlqWs%G%%s-vo)d z`;(zNEtAm)02FeV9IGNse-wa*Vf1YkK6XgB%-a&#Jlow3gQ-5oh?}c#<7~{X(&T8a zqH0GRa|}1^NHW(`I+?Pwm$a398!Mn(k&K0QLm8(E$dXl(i57j3Wt98dVe8UrWXH>7 zD?Dvz7x$lpTY&2;M_r1&NR8KC!htT$Hg4QUJtuClr}`)}RQ(L^E@6kJyK&Sj5>7-q zd9<&PPR~5SNqRjbTq0B-(jGT@?CKE(YiXEjCLC$F*6g2S{3f)ght5`@Z+@h+?c{es z4PI;Y(QevmSu@MqF_Pv;Ip+KpKJSxCOB;c@R+YkiH0GL)4X3ued~24Ls6=;FDu*py QpX5uY6ViA8?tTmWAHy>?n*aa+ literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/Windows/x86/jlinenative.dll b/src/main/resources/org/jline/nativ/Windows/x86/jlinenative.dll new file mode 100644 index 0000000000000000000000000000000000000000..3d644506832903e23ea56f16c821646552807d6c GIT binary patch literal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l!JZ_R~)Jm1iLDLbBu%f&Ygf|Z zb6&VwN(t(=a$wxugW(Aqac^K`rmcggin}bMMfyg0#tk6c*Yzd^;`V6t2p3-JpE2d` gwRwm_w$!dILXD3R-CN~u2WuMQ`JABg#+b$YKgH;lF8}}l literal 0 HcmV?d00001 diff --git a/src/main/resources/org/jline/nativ/jlinenative.properties b/src/main/resources/org/jline/nativ/jlinenative.properties new file mode 100644 index 0000000..1c3ec36 --- /dev/null +++ b/src/main/resources/org/jline/nativ/jlinenative.properties @@ -0,0 +1,17 @@ +# +# Copyright 2019 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +version=4.4.0 diff --git a/src/main/resources/org/jline/utils/ansi.caps b/src/main/resources/org/jline/utils/ansi.caps new file mode 100644 index 0000000..4f6567f --- /dev/null +++ b/src/main/resources/org/jline/utils/ansi.caps @@ -0,0 +1,23 @@ +# Reconstructed via infocmp from file: /usr/share/terminfo/61/ansi +ansi|ansi/pc-term compatible with color, + am, mc5i, mir, msgr, + colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64, + acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, + bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, + cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, + cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, + cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, + dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, + el1=\E[1K, home=\E[H, hpa=\E[%i%p1%dG, ht=\E[I, hts=\EH, + ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, + indn=\E[%p1%dS, invis=\E[8m, kbs=^H, kcbt=\E[Z, kcub1=\E[D, + kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, + mc4=\E[4i, mc5=\E[5i, nel=\r\E[S, op=\E[39;49m, + rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rin=\E[%p1%dT, + rmacs=\E[10m, rmpch=\E[10m, rmso=\E[m, rmul=\E[m, + s0ds=\E(B, s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, + setab=\E[4%p1%dm, setaf=\E[3%p1%dm, + sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, + sgr0=\E[0;10m, smacs=\E[11m, smpch=\E[11m, smso=\E[7m, + smul=\E[4m, tbc=\E[2g, u6=\E[%i%d;%dR, u7=\E[6n, + u8=\E[?%[;0123456789]c, u9=\E[c, vpa=\E[%i%p1%dd, diff --git a/src/main/resources/org/jline/utils/capabilities.txt b/src/main/resources/org/jline/utils/capabilities.txt new file mode 100644 index 0000000..2d146f3 --- /dev/null +++ b/src/main/resources/org/jline/utils/capabilities.txt @@ -0,0 +1,473 @@ +# +# Copyright (c) 2002-2016, the original author or authors. +# +# This software is distributable under the BSD license. See the terms of the +# BSD license in the documentation provided with this software. +# +# https://opensource.org/licenses/BSD-3-Clause +# + +auto_left_margin, bw, bw +auto_right_margin, am, am +back_color_erase, bce, ut +can_change, ccc, cc +ceol_standout_glitch, xhp, xs +col_addr_glitch, xhpa, YA +cpi_changes_res, cpix, YF +cr_cancels_micro_mode, crxm, YB +dest_tabs_magic_smso, xt, xt +eat_newline_glitch, xenl, xn +erase_overstrike, eo, eo +generic_type, gn, gn +hard_copy, hc, hc +hard_cursor, chts, HC +has_meta_key, km, km +has_print_wheel, daisy, YC +has_status_line, hs, hs +hue_lightness_saturation, hls, hl +insert_null_glitch, in, in +lpi_changes_res, lpix, YG +memory_above, da, da +memory_below, db, db +move_insert_mode, mir, mi +move_standout_mode, msgr, ms +needs_xon_xoff, nxon, nx +no_esc_ctlc, xsb, xb +no_pad_char, npc, NP +non_dest_scroll_region, ndscr, ND +non_rev_rmcup, nrrmc, NR +over_strike, os, os +prtr_silent, mc5i, 5i +row_addr_glitch, xvpa, YD +semi_auto_right_margin, sam, YE +status_line_esc_ok, eslok, es +tilde_glitch, hz, hz +transparent_underline, ul, ul +xon_xoff, xon, xo +columns, cols, co +init_tabs, it, it +label_height, lh, lh +label_width, lw, lw +lines, lines, li +lines_of_memory, lm, lm +magic_cookie_glitch, xmc, sg +max_attributes, ma, ma +max_colors, colors, Co +max_pairs, pairs, pa +maximum_windows, wnum, MW +no_color_video, ncv, NC +num_labels, nlab, Nl +padding_baud_rate, pb, pb +virtual_terminal, vt, vt +width_status_line, wsl, ws +bit_image_entwining, bitwin, Yo +bit_image_type, bitype, Yp +buffer_capacity, bufsz, Ya +buttons, btns, BT +dot_horz_spacing, spinh, Yc +dot_vert_spacing, spinv, Yb +max_micro_address, maddr, Yd +max_micro_jump, mjump, Ye +micro_col_size, mcs, Yf +micro_line_size, mls, Yg +number_of_pins, npins, Yh +output_res_char, orc, Yi +output_res_horz_inch, orhi, Yk +output_res_line, orl, Yj +output_res_vert_inch, orvi, Yl +print_rate, cps, Ym +wide_char_size, widcs, Yn +acs_chars, acsc, ac +back_tab, cbt, bt +bell, bel, bl +carriage_return, cr, cr +change_char_pitch, cpi, ZA +change_line_pitch, lpi, ZB +change_res_horz, chr, ZC +change_res_vert, cvr, ZD +change_scroll_region, csr, cs +char_padding, rmp, rP +clear_all_tabs, tbc, ct +clear_margins, mgc, MC +clear_screen, clear, cl +clr_bol, el1, cb +clr_eol, el, ce +clr_eos, ed, cd +column_address, hpa, ch +command_character, cmdch, CC +create_window, cwin, CW +cursor_address, cup, cm +cursor_down, cud1, do +cursor_home, home, ho +cursor_invisible, civis, vi +cursor_left, cub1, le +cursor_mem_address, mrcup, CM +cursor_normal, cnorm, ve +cursor_right, cuf1, nd +cursor_to_ll, ll, ll +cursor_up, cuu1, up +cursor_visible, cvvis, vs +define_char, defc, ZE +delete_character, dch1, dc +delete_line, dl1, dl +dial_phone, dial, DI +dis_status_line, dsl, ds +display_clock, dclk, DK +down_half_line, hd, hd +ena_acs, enacs, eA +enter_alt_charset_mode, smacs, as +enter_am_mode, smam, SA +enter_blink_mode, blink, mb +enter_bold_mode, bold, md +enter_ca_mode, smcup, ti +enter_delete_mode, smdc, dm +enter_dim_mode, dim, mh +enter_doublewide_mode, swidm, ZF +enter_draft_quality, sdrfq, ZG +enter_insert_mode, smir, im +enter_italics_mode, sitm, ZH +enter_leftward_mode, slm, ZI +enter_micro_mode, smicm, ZJ +enter_near_letter_quality, snlq, ZK +enter_normal_quality, snrmq, ZL +enter_protected_mode, prot, mp +enter_reverse_mode, rev, mr +enter_secure_mode, invis, mk +enter_shadow_mode, sshm, ZM +enter_standout_mode, smso, so +enter_subscript_mode, ssubm, ZN +enter_superscript_mode, ssupm, ZO +enter_underline_mode, smul, us +enter_upward_mode, sum, ZP +enter_xon_mode, smxon, SX +erase_chars, ech, ec +exit_alt_charset_mode, rmacs, ae +exit_am_mode, rmam, RA +exit_attribute_mode, sgr0, me +exit_ca_mode, rmcup, te +exit_delete_mode, rmdc, ed +exit_doublewide_mode, rwidm, ZQ +exit_insert_mode, rmir, ei +exit_italics_mode, ritm, ZR +exit_leftward_mode, rlm, ZS +exit_micro_mode, rmicm, ZT +exit_shadow_mode, rshm, ZU +exit_standout_mode, rmso, se +exit_subscript_mode, rsubm, ZV +exit_superscript_mode, rsupm, ZW +exit_underline_mode, rmul, ue +exit_upward_mode, rum, ZX +exit_xon_mode, rmxon, RX +fixed_pause, pause, PA +flash_hook, hook, fh +flash_screen, flash, vb +form_feed, ff, ff +from_status_line, fsl, fs +goto_window, wingo, WG +hangup, hup, HU +init_1string, is1, i1 +init_2string, is2, is +init_3string, is3, i3 +init_file, if, if +init_prog, iprog, iP +initialize_color, initc, Ic +initialize_pair, initp, Ip +insert_character, ich1, ic +insert_line, il1, al +insert_padding, ip, ip +key_a1, ka1, K1 +key_a3, ka3, K3 +key_b2, kb2, K2 +key_backspace, kbs, kb +key_beg, kbeg, @1 +key_btab, kcbt, kB +key_c1, kc1, K4 +key_c3, kc3, K5 +key_cancel, kcan, @2 +key_catab, ktbc, ka +key_clear, kclr, kC +key_close, kclo, @3 +key_command, kcmd, @4 +key_copy, kcpy, @5 +key_create, kcrt, @6 +key_ctab, kctab, kt +key_dc, kdch1, kD +key_dl, kdl1, kL +key_down, kcud1, kd +key_eic, krmir, kM +key_end, kend, @7 +key_enter, kent, @8 +key_eol, kel, kE +key_eos, ked, kS +key_exit, kext, @9 +key_f0, kf0, k0 +key_f1, kf1, k1 +key_f10, kf10, k; +key_f11, kf11, F1 +key_f12, kf12, F2 +key_f13, kf13, F3 +key_f14, kf14, F4 +key_f15, kf15, F5 +key_f16, kf16, F6 +key_f17, kf17, F7 +key_f18, kf18, F8 +key_f19, kf19, F9 +key_f2, kf2, k2 +key_f20, kf20, FA +key_f21, kf21, FB +key_f22, kf22, FC +key_f23, kf23, FD +key_f24, kf24, FE +key_f25, kf25, FF +key_f26, kf26, FG +key_f27, kf27, FH +key_f28, kf28, FI +key_f29, kf29, FJ +key_f3, kf3, k3 +key_f30, kf30, FK +key_f31, kf31, FL +key_f32, kf32, FM +key_f33, kf33, FN +key_f34, kf34, FO +key_f35, kf35, FP +key_f36, kf36, FQ +key_f37, kf37, FR +key_f38, kf38, FS +key_f39, kf39, FT +key_f4, kf4, k4 +key_f40, kf40, FU +key_f41, kf41, FV +key_f42, kf42, FW +key_f43, kf43, FX +key_f44, kf44, FY +key_f45, kf45, FZ +key_f46, kf46, Fa +key_f47, kf47, Fb +key_f48, kf48, Fc +key_f49, kf49, Fd +key_f5, kf5, k5 +key_f50, kf50, Fe +key_f51, kf51, Ff +key_f52, kf52, Fg +key_f53, kf53, Fh +key_f54, kf54, Fi +key_f55, kf55, Fj +key_f56, kf56, Fk +key_f57, kf57, Fl +key_f58, kf58, Fm +key_f59, kf59, Fn +key_f6, kf6, k6 +key_f60, kf60, Fo +key_f61, kf61, Fp +key_f62, kf62, Fq +key_f63, kf63, Fr +key_f7, kf7, k7 +key_f8, kf8, k8 +key_f9, kf9, k9 +key_find, kfnd, @0 +key_help, khlp, %1 +key_home, khome, kh +key_ic, kich1, kI +key_il, kil1, kA +key_left, kcub1, kl +key_ll, kll, kH +key_mark, kmrk, %2 +key_message, kmsg, %3 +key_move, kmov, %4 +key_next, knxt, %5 +key_npage, knp, kN +key_open, kopn, %6 +key_options, kopt, %7 +key_ppage, kpp, kP +key_previous, kprv, %8 +key_print, kprt, %9 +key_redo, krdo, %0 +key_reference, kref, &1 +key_refresh, krfr, &2 +key_replace, krpl, &3 +key_restart, krst, &4 +key_resume, kres, &5 +key_right, kcuf1, kr +key_save, ksav, &6 +key_sbeg, kBEG, &9 +key_scancel, kCAN, &0 +key_scommand, kCMD, *1 +key_scopy, kCPY, *2 +key_screate, kCRT, *3 +key_sdc, kDC, *4 +key_sdl, kDL, *5 +key_select, kslt, *6 +key_send, kEND, *7 +key_seol, kEOL, *8 +key_sexit, kEXT, *9 +key_sf, kind, kF +key_sfind, kFND, *0 +key_shelp, kHLP, #1 +key_shome, kHOM, #2 +key_sic, kIC, #3 +key_sleft, kLFT, #4 +key_smessage, kMSG, %a +key_smove, kMOV, %b +key_snext, kNXT, %c +key_soptions, kOPT, %d +key_sprevious, kPRV, %e +key_sprint, kPRT, %f +key_sr, kri, kR +key_sredo, kRDO, %g +key_sreplace, kRPL, %h +key_sright, kRIT, %i +key_srsume, kRES, %j +key_ssave, kSAV, !1 +key_ssuspend, kSPD, !2 +key_stab, khts, kT +key_sundo, kUND, !3 +key_suspend, kspd, &7 +key_undo, kund, &8 +key_up, kcuu1, ku +keypad_local, rmkx, ke +keypad_xmit, smkx, ks +lab_f0, lf0, l0 +lab_f1, lf1, l1 +lab_f10, lf10, la +lab_f2, lf2, l2 +lab_f3, lf3, l3 +lab_f4, lf4, l4 +lab_f5, lf5, l5 +lab_f6, lf6, l6 +lab_f7, lf7, l7 +lab_f8, lf8, l8 +lab_f9, lf9, l9 +label_format, fln, Lf +label_off, rmln, LF +label_on, smln, LO +meta_off, rmm, mo +meta_on, smm, mm +micro_column_address, mhpa, ZY +micro_down, mcud1, ZZ +micro_left, mcub1, Za +micro_right, mcuf1, Zb +micro_row_address, mvpa, Zc +micro_up, mcuu1, Zd +newline, nel, nw +order_of_pins, porder, Ze +orig_colors, oc, oc +orig_pair, op, op +pad_char, pad, pc +parm_dch, dch, DC +parm_delete_line, dl, DL +parm_down_cursor, cud, DO +parm_down_micro, mcud, Zf +parm_ich, ich, IC +parm_index, indn, SF +parm_insert_line, il, AL +parm_left_cursor, cub, LE +parm_left_micro, mcub, Zg +parm_right_cursor, cuf, RI +parm_right_micro, mcuf, Zh +parm_rindex, rin, SR +parm_up_cursor, cuu, UP +parm_up_micro, mcuu, Zi +pkey_key, pfkey, pk +pkey_local, pfloc, pl +pkey_xmit, pfx, px +plab_norm, pln, pn +print_screen, mc0, ps +prtr_non, mc5p, pO +prtr_off, mc4, pf +prtr_on, mc5, po +pulse, pulse, PU +quick_dial, qdial, QD +remove_clock, rmclk, RC +repeat_char, rep, rp +req_for_input, rfi, RF +reset_1string, rs1, r1 +reset_2string, rs2, r2 +reset_3string, rs3, r3 +reset_file, rf, rf +restore_cursor, rc, rc +row_address, vpa, cv +save_cursor, sc, sc +scroll_forward, ind, sf +scroll_reverse, ri, sr +select_char_set, scs, Zj +set_attributes, sgr, sa +set_background, setb, Sb +set_bottom_margin, smgb, Zk +set_bottom_margin_parm, smgbp, Zl +set_clock, sclk, SC +set_color_pair, scp, sp +set_foreground, setf, Sf +set_left_margin, smgl, ML +set_left_margin_parm, smglp, Zm +set_right_margin, smgr, MR +set_right_margin_parm, smgrp, Zn +set_tab, hts, st +set_top_margin, smgt, Zo +set_top_margin_parm, smgtp, Zp +set_window, wind, wi +start_bit_image, sbim, Zq +start_char_set_def, scsd, Zr +stop_bit_image, rbim, Zs +stop_char_set_def, rcsd, Zt +subscript_characters, subcs, Zu +superscript_characters, supcs, Zv +tab, ht, ta +these_cause_cr, docr, Zw +to_status_line, tsl, ts +tone, tone, TO +underline_char, uc, uc +up_half_line, hu, hu +user0, u0, u0 +user1, u1, u1 +user2, u2, u2 +user3, u3, u3 +user4, u4, u4 +user5, u5, u5 +user6, u6, u6 +user7, u7, u7 +user8, u8, u8 +user9, u9, u9 +wait_tone, wait, WA +xoff_character, xoffc, XF +xon_character, xonc, XN +zero_motion, zerom, Zx +alt_scancode_esc, scesa, S8 +bit_image_carriage_return, bicr, Yv +bit_image_newline, binel, Zz +bit_image_repeat, birep, Xy +char_set_names, csnm, Zy +code_set_init, csin, ci +color_names, colornm, Yw +define_bit_image_region, defbi, Yx +device_type, devt, dv +display_pc_char, dispc, S1 +end_bit_image_region, endbi, Yy +enter_pc_charset_mode, smpch, S2 +enter_scancode_mode, smsc, S4 +exit_pc_charset_mode, rmpch, S3 +exit_scancode_mode, rmsc, S5 +get_mouse, getm, Gm +key_mouse, kmous, Km +mouse_info, minfo, Mi +pc_term_options, pctrm, S6 +pkey_plab, pfxl, xl +req_mouse_pos, reqmp, RQ +scancode_escape, scesc, S7 +set0_des_seq, s0ds, s0 +set1_des_seq, s1ds, s1 +set2_des_seq, s2ds, s2 +set3_des_seq, s3ds, s3 +set_a_background, setab, AB +set_a_foreground, setaf, AF +set_color_band, setcolor, Yz +set_lr_margin, smglr, ML +set_page_length, slines, YZ +set_tb_margin, smgtb, MT +enter_horizontal_hl_mode, ehhlm, Xh +enter_left_hl_mode, elhlm, Xl +enter_low_hl_mode, elohlm, Xo +enter_right_hl_mode, erhlm, Xr +enter_top_hl_mode, ethlm, Xt +enter_vertical_hl_mode, evhlm, Xv +set_a_attributes, sgr1, sA +set_pglen_inch, slength, sL diff --git a/src/main/resources/org/jline/utils/colors.txt b/src/main/resources/org/jline/utils/colors.txt new file mode 100644 index 0000000..0e08642 --- /dev/null +++ b/src/main/resources/org/jline/utils/colors.txt @@ -0,0 +1,265 @@ +# +# Copyright (c) 2002-2018, the original author or authors. +# +# This software is distributable under the BSD license. See the terms of the +# BSD license in the documentation provided with this software. +# +# https://opensource.org/licenses/BSD-3-Clause +# + +black +maroon +green +olive +navy +purple +teal +silver +grey +red +lime +yellow +blue +fuchsia +aqua +white +grey0 +navyblue +darkblue +blue3 +blue3a +blue1 +darkgreen +deepskyblue4 +deepskyblue4a +deepskyblue4b +dodgerblue3 +dodgerblue2 +green4 +springgreen4 +turquoise4 +deepskyblue3 +deepskyblue3a +dodgerblue1 +green3 +springgreen3 +darkcyan +lightseagreen +deepskyblue2 +deepskyblue1 +green3a +springgreen3a +springgreen2 +cyan3 +darkturquoise +turquoise2 +green1 +springgreen2a +springgreen1 +mediumspringgreen +cyan2 +cyan1 +darkred +deeppink4 +purple4 +purple4a +purple3 +blueviolet +orange4 +grey37 +mediumpurple4 +slateblue3 +slateblue3a +royalblue1 +chartreuse4 +darkseagreen4 +paleturquoise4 +steelblue +steelblue3 +cornflowerblue +chartreuse3 +darkseagreen4a +cadetblue +cadetbluea +skyblue3 +steelblue1 +chartreuse3a +palegreen3 +seagreen3 +aquamarine3 +mediumturquoise +steelblue1a +chartreuse2 +seagreen2 +seagreen1 +seagreen1a +aquamarine1 +darkslategray2 +darkreda +deeppink4a +darkmagenta +darkmagentaa +darkviolet +purplea +orange4a +lightpink4 +plum4 +mediumpurple3 +mediumpurple3a +slateblue1 +yellow4 +wheat4 +grey53 +lightslategrey +mediumpurple +lightslateblue +yellow4a +darkolivegreen3 +darkseagreen +lightskyblue3 +lightskyblue3a +skyblue2 +chartreuse2a +darkolivegreen3a +palegreen3a +darkseagreen3 +darkslategray3 +skyblue1 +chartreuse1 +lightgreen +lightgreena +palegreen1 +aquamarine1a +darkslategray1 +red3 +deeppink4b +mediumvioletred +magenta3 +darkvioleta +purpleb +darkorange3 +indianred +hotpink3 +mediumorchid3 +mediumorchid +mediumpurple2 +darkgoldenrod +lightsalmon3 +rosybrown +grey63 +mediumpurple2a +mediumpurple1 +gold3 +darkkhaki +navajowhite3 +grey69 +lightsteelblue3 +lightsteelblue +yellow3 +darkolivegreen3b +darkseagreen3a +darkseagreen2 +lightcyan3 +lightskyblue1 +greenyellow +darkolivegreen2 +palegreen1a +darkseagreen2a +darkseagreen1 +paleturquoise1 +red3a +deeppink3 +deeppink3a +magenta3a +magenta3b +magenta2 +darkorange3a +indianreda +hotpink3a +hotpink2 +orchid +mediumorchid1 +orange3 +lightsalmon3a +lightpink3 +pink3 +plum3 +violet +gold3a +lightgoldenrod3 +tan +mistyrose3 +thistle3 +plum2 +yellow3a +khaki3 +lightgoldenrod2 +lightyellow3 +grey84 +lightsteelblue1 +yellow2 +darkolivegreen1 +darkolivegreen1a +darkseagreen1a +honeydew2 +lightcyan1 +red1 +deeppink2 +deeppink1 +deeppink1a +magenta2a +magenta1 +orangered1 +indianred1 +indianred1a +hotpink +hotpinka +mediumorchid1a +darkorange +salmon1 +lightcoral +palevioletred1 +orchid2 +orchid1 +orange1 +sandybrown +lightsalmon1 +lightpink1 +pink1 +plum1 +gold1 +lightgoldenrod2a +lightgoldenrod2b +navajowhite1 +mistyrose1 +thistle1 +yellow1 +lightgoldenrod1 +khaki1 +wheat1 +cornsilk1 +grey100 +grey3 +grey7 +grey11 +grey15 +grey19 +grey23 +grey27 +grey30 +grey35 +grey39 +grey42 +grey46 +grey50 +grey54 +grey58 +grey62 +grey66 +grey70 +grey74 +grey78 +grey82 +grey85 +grey89 +grey93 diff --git a/src/main/resources/org/jline/utils/dumb-color.caps b/src/main/resources/org/jline/utils/dumb-color.caps new file mode 100644 index 0000000..41c36bb --- /dev/null +++ b/src/main/resources/org/jline/utils/dumb-color.caps @@ -0,0 +1,4 @@ +dumb-color|80-column dumb tty with 256 coors, + am, + colors#256, cols#80, + bel=^G, cr=^M, cud1=^J, ind=^J, diff --git a/src/main/resources/org/jline/utils/dumb.caps b/src/main/resources/org/jline/utils/dumb.caps new file mode 100644 index 0000000..25fae8c --- /dev/null +++ b/src/main/resources/org/jline/utils/dumb.caps @@ -0,0 +1,5 @@ +# Reconstructed via infocmp from file: /usr/share/terminfo/64/dumb +dumb|80-column dumb tty, + am, + cols#80, + bel=^G, cr=^M, cud1=^J, ind=^J, diff --git a/src/main/resources/org/jline/utils/rxvt-basic.caps b/src/main/resources/org/jline/utils/rxvt-basic.caps new file mode 100644 index 0000000..c00219c --- /dev/null +++ b/src/main/resources/org/jline/utils/rxvt-basic.caps @@ -0,0 +1,41 @@ +# Reconstructed via infocmp from file: /lib/terminfo/r/rxvt-basic +rxvt-basic|rxvt-m|rxvt terminal base (X Window System), + am, bce, eo, km, mir, msgr, xenl, xon, + cols#80, it#8, lines#24, + acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, + bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, + clear=\E[H\E[2J, cnorm=\E[?25h, cr=\r, + csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, + cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C, + cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, + dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, + enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, + hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, + il=\E[%p1%dL, il1=\E[L, ind=\n, is1=\E[?47l\E=\E[?1l, + is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, + kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, + kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^?, + kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, + kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, + kend=\E[8~, kent=\EOM, kf1=\E[11~, kf10=\E[21~, + kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, + kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, + kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf21=\E[23$, + kf22=\E[24$, kf23=\E[11\^, kf24=\E[12\^, kf25=\E[13\^, + kf26=\E[14\^, kf27=\E[15\^, kf28=\E[17\^, kf29=\E[18\^, + kf3=\E[13~, kf30=\E[19\^, kf31=\E[20\^, kf32=\E[21\^, + kf33=\E[23\^, kf34=\E[24\^, kf35=\E[25\^, kf36=\E[26\^, + kf37=\E[28\^, kf38=\E[29\^, kf39=\E[31\^, kf4=\E[14~, + kf40=\E[32\^, kf41=\E[33\^, kf42=\E[34\^, kf43=\E[23@, + kf44=\E[24@, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, + kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, + kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, + rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8, + rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, + rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, + rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E=\E[?1000l\E[?25h, + s0ds=\E(B, s1ds=\E(0, sc=\E7, + sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, + sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, + smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, + vpa=\E[%i%p1%dd, diff --git a/src/main/resources/org/jline/utils/rxvt-unicode-256color.caps b/src/main/resources/org/jline/utils/rxvt-unicode-256color.caps new file mode 100644 index 0000000..fdaaadb --- /dev/null +++ b/src/main/resources/org/jline/utils/rxvt-unicode-256color.caps @@ -0,0 +1,44 @@ +# Reconstructed via infocmp from file: /lib/terminfo/r/rxvt-unicode-256color +rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System), + am, bce, bw, ccc, eo, hs, km, mc5i, mir, msgr, npc, xenl, xon, + btns#5, colors#0x100, cols#80, it#8, lines#24, lm#0, ncv#0, + pairs#0x7fff, + acsc=+C\,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, + bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, + clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=\r, + csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, + cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C, + cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, + cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, + dl1=\E[M, dsl=\E]2;\007, ech=\E[%p1%dX, ed=\E[J, el=\E[K, + el1=\E[1K, enacs=, flash=\E[?5h$<20/>\E[?5l, fsl=^G, + home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, + ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\n, indn=\E[%p1%dS, + initc=\E]4;%p1%d;rgb\:%p2%{65535}%*%{1000}%/%4.4X/%p3%{65535}%*%{1000}%/%4.4X/%p4%{65535}%*%{1000}%/%4.4X\E\\, + is1=\E[!p, + is2=\E[r\E[m\E[2J\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l, + kDC=\E[3$, kEND=\E[8$, kFND=\E[1$, kHOM=\E[7$, kIC=\E[2$, + kLFT=\E[d, kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, + ka3=\EOy, kb2=\EOu, kbs=^?, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, + kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, + kdch1=\E[3~, kel=\E[8\^, kend=\E[8~, kent=\EOM, kf1=\E[11~, + kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, + kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, + kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, + kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, + kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, + kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, + mc0=\E[i, mc4=\E[4i, mc5=\E[5i, op=\E[39;49m, rc=\E8, + rev=\E[7m, ri=\EM, rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B, + rmam=\E[?7l, rmcup=\E[r\E[?1049l, rmir=\E[4l, rmkx=\E>, + rmso=\E[27m, rmul=\E[24m, rs1=\Ec, + rs2=\E[r\E[m\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l, + s0ds=\E(B, s1ds=\E(0, s2ds=\E*B, s3ds=\E+B, sc=\E7, + setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm, + setb=%?%p1%{7}%>%t\E[48;5;%p1%dm%e\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;, + setf=%?%p1%{7}%>%t\E[38;5;%p1%dm%e\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;, + sgr=\E[%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, + sgr0=\E[m\E(B, sitm=\E[3m, smacs=\E(0, smam=\E[?7h, + smcup=\E[?1049h, smir=\E[4h, smkx=\E=, smso=\E[7m, + smul=\E[4m, tbc=\E[3g, tsl=\E]2;, u6=\E[%i%d;%dR, u7=\E[6n, + u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, diff --git a/src/main/resources/org/jline/utils/rxvt-unicode.caps b/src/main/resources/org/jline/utils/rxvt-unicode.caps new file mode 100644 index 0000000..3ff3455 --- /dev/null +++ b/src/main/resources/org/jline/utils/rxvt-unicode.caps @@ -0,0 +1,44 @@ +# Reconstructed via infocmp from file: /lib/terminfo/r/rxvt-unicode +rxvt-unicode|rxvt-unicode terminal (X Window System), + am, bce, bw, ccc, eo, hs, km, mc5i, mir, msgr, npc, xenl, xon, + btns#5, colors#88, cols#80, it#8, lines#24, lm#0, ncv#0, + pairs#7744, + acsc=+C\,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, + bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, + clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=\r, + csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, + cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C, + cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, + cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, + dl1=\E[M, dsl=\E]2;\007, ech=\E[%p1%dX, ed=\E[J, el=\E[K, + el1=\E[1K, enacs=, flash=\E[?5h$<20/>\E[?5l, fsl=^G, + home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, + ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\n, indn=\E[%p1%dS, + initc=\E]4;%p1%d;rgb\:%p2%{65535}%*%{1000}%/%4.4X/%p3%{65535}%*%{1000}%/%4.4X/%p4%{65535}%*%{1000}%/%4.4X\E\\, + is1=\E[!p, + is2=\E[r\E[m\E[2J\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l, + kDC=\E[3$, kEND=\E[8$, kFND=\E[1$, kHOM=\E[7$, kIC=\E[2$, + kLFT=\E[d, kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, + ka3=\EOy, kb2=\EOu, kbs=^?, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, + kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, + kdch1=\E[3~, kel=\E[8\^, kend=\E[8~, kent=\EOM, kf1=\E[11~, + kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, + kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, + kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, + kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, + kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, + kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, + mc0=\E[i, mc4=\E[4i, mc5=\E[5i, op=\E[39;49m, rc=\E8, + rev=\E[7m, ri=\EM, rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B, + rmam=\E[?7l, rmcup=\E[r\E[?1049l, rmir=\E[4l, rmkx=\E>, + rmso=\E[27m, rmul=\E[24m, rs1=\Ec, + rs2=\E[r\E[m\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l, + s0ds=\E(B, s1ds=\E(0, s2ds=\E*B, s3ds=\E+B, sc=\E7, + setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm, + setb=%?%p1%{7}%>%t\E[48;5;%p1%dm%e\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;, + setf=%?%p1%{7}%>%t\E[38;5;%p1%dm%e\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;, + sgr=\E[%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, + sgr0=\E[m\E(B, sitm=\E[3m, smacs=\E(0, smam=\E[?7h, + smcup=\E[?1049h, smir=\E[4h, smkx=\E=, smso=\E[7m, + smul=\E[4m, tbc=\E[3g, tsl=\E]2;, u6=\E[%i%d;%dR, u7=\E[6n, + u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, diff --git a/src/main/resources/org/jline/utils/rxvt.caps b/src/main/resources/org/jline/utils/rxvt.caps new file mode 100644 index 0000000..3c26621 --- /dev/null +++ b/src/main/resources/org/jline/utils/rxvt.caps @@ -0,0 +1,43 @@ +# Reconstructed via infocmp from file: /lib/terminfo/r/rxvt +rxvt|rxvt terminal emulator (X Window System), + am, bce, eo, km, mir, msgr, xenl, xon, + colors#8, cols#80, it#8, lines#24, ncv@, pairs#64, + acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, + bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, + clear=\E[H\E[2J, cnorm=\E[?25h, cr=\r, + csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, + cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C, + cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, + dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, + enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, + hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, + il=\E[%p1%dL, il1=\E[L, ind=\n, is1=\E[?47l\E=\E[?1l, + is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, + kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, + kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^?, + kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, + kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, + kend=\E[8~, kent=\EOM, kf1=\E[11~, kf10=\E[21~, + kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, + kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, + kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf21=\E[23$, + kf22=\E[24$, kf23=\E[11\^, kf24=\E[12\^, kf25=\E[13\^, + kf26=\E[14\^, kf27=\E[15\^, kf28=\E[17\^, kf29=\E[18\^, + kf3=\E[13~, kf30=\E[19\^, kf31=\E[20\^, kf32=\E[21\^, + kf33=\E[23\^, kf34=\E[24\^, kf35=\E[25\^, kf36=\E[26\^, + kf37=\E[28\^, kf38=\E[29\^, kf39=\E[31\^, kf4=\E[14~, + kf40=\E[32\^, kf41=\E[33\^, kf42=\E[34\^, kf43=\E[23@, + kf44=\E[24@, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, + kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, + kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, + op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, + rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m, + rmul=\E[24m, + rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, + rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E=\E[?1000l\E[?25h, + s0ds=\E(B, s1ds=\E(0, sc=\E7, setab=\E[4%p1%dm, + setaf=\E[3%p1%dm, + sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, + sgr0=\E[m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, + smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, + vpa=\E[%i%p1%dd, diff --git a/src/main/resources/org/jline/utils/screen-256color.caps b/src/main/resources/org/jline/utils/screen-256color.caps new file mode 100644 index 0000000..8f71e88 --- /dev/null +++ b/src/main/resources/org/jline/utils/screen-256color.caps @@ -0,0 +1,27 @@ +# Reconstructed via infocmp from file: /usr/share/terminfo/73/screen-256color +screen-256color|GNU Screen with 256 colors, + am, km, mir, msgr, xenl, + colors#256, cols#80, it#8, lines#24, ncv#3, pairs#32767, + acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, + bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, + clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M, + csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, + cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, + cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, + cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, + dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, + flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, + il=\E[%p1%dL, il1=\E[L, ind=^J, initc@, is2=\E)0, kbs=^H, + kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, + kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, + kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, + kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, + khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, + nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, + rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, + rmul=\E[24m, rs2=\Ec\E[?1000l\E[?25h, sc=\E7, + setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, + setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, + sgr=\E[0%?%p6%t;1%;%?%p1%t;3%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, + sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h, + smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, diff --git a/src/main/resources/org/jline/utils/screen.caps b/src/main/resources/org/jline/utils/screen.caps new file mode 100644 index 0000000..93018e1 --- /dev/null +++ b/src/main/resources/org/jline/utils/screen.caps @@ -0,0 +1,26 @@ +# Reconstructed via infocmp from file: /usr/share/terminfo/73/screen +screen|VT 100/ANSI X3.64 virtual terminal, + am, km, mir, msgr, xenl, + colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64, + acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, + bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, + clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M, + csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, + cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, + cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, + cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, + dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, + flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, + il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcbt=\E[Z, + kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, + kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, + kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, + kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, + khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, + nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, + rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, + rmul=\E[24m, rs2=\Ec\E[?1000l\E[?25h, sc=\E7, + setab=\E[4%p1%dm, setaf=\E[3%p1%dm, + sgr=\E[0%?%p6%t;1%;%?%p1%t;3%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, + sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h, + smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, diff --git a/src/main/resources/org/jline/utils/windows-256color.caps b/src/main/resources/org/jline/utils/windows-256color.caps new file mode 100644 index 0000000..9dbf1d8 --- /dev/null +++ b/src/main/resources/org/jline/utils/windows-256color.caps @@ -0,0 +1,27 @@ +windows-256color|windows with 256 colors terminal compatibility, + am, mc5i, mir, msgr, + colors#256, cols#80, it#8, lines#24, ncv#3, pairs#64, + bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, + cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, + cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, + cuu=\E[%p1%dA, cuu1=\E[A, + il=\E[%p1%dL, il1=\E[L, + dl=\E[%p1%dM, dl1=\E[M, + ech=\E[%p1%dX, + el=\E[K, ed=\E[J, + el1=\E[1K, home=\E[H, hpa=\E[%i%p1%dG, + ind=^J, + invis=\E[8m, kbs=^H, kcbt=\E[Z, + kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, + khome=\E[H, + op=\E[39;49m, + rev=\E[7m, + rmacs=\E[10m, rmpch=\E[10m, rmso=\E[m, rmul=\E[m, + setab=\E[4%p1%dm, setaf=\E[3%p1%dm, + sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, + sgr0=\E[0;10m, + smso=\E[7m, + smul=\E[4m, + kdch1=\E[3~, kich1=\E[2~, kend=\E[4~, knp=\E[6~, kpp=\E[5~, + kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~, + kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, diff --git a/src/main/resources/org/jline/utils/windows-conemu.caps b/src/main/resources/org/jline/utils/windows-conemu.caps new file mode 100644 index 0000000..f5caa44 --- /dev/null +++ b/src/main/resources/org/jline/utils/windows-conemu.caps @@ -0,0 +1,30 @@ +windows-conemu|conemu windows terminal, + am, mc5i, mir, msgr, + colors#256, cols#80, it#8, lines#24, ncv#3, pairs#64, + bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, + cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, + cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, + cuu=\E[%p1%dA, cuu1=\E[A, + civis=\E[?25l, cvvis=\E[?25h, + smcup=\E[?1049h, rmcup=\E[?1049l, + rc=\E8, sc=\E7, + il=\E[%p1%dL, il1=\E[L, + dl=\E[%p1%dM, dl1=\E[M, + ech=\E[%p1%dX, + el=\E[K, ed=\E[J, + el1=\E[1K, home=\E[H, hpa=\E[%i%p1%dG, + ind=^J, + invis=\E[8m, kbs=^H, kcbt=\E[Z, + kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, + khome=\E[H, + op=\E[39;49m, + rev=\E[7m, + rmacs=\E[10m, rmpch=\E[10m, rmso=\E[m, rmul=\E[m, + setab=\E[4%p1%dm, setaf=\E[3%p1%dm, + sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, + sgr0=\E[0;10m, + smso=\E[7m, + smul=\E[4m, + kdch1=\E[3~, kich1=\E[2~, kend=\E[4~, knp=\E[6~, kpp=\E[5~, + kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~, + kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, diff --git a/src/main/resources/org/jline/utils/windows-vtp.caps b/src/main/resources/org/jline/utils/windows-vtp.caps new file mode 100644 index 0000000..4ce8015 --- /dev/null +++ b/src/main/resources/org/jline/utils/windows-vtp.caps @@ -0,0 +1,33 @@ +windows-vtp|windows with virtual terminal processing, + am, mc5i, mir, msgr, + colors#256, cols#80, it#8, lines#24, ncv#3, pairs#64, + bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, + cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\n, + cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, + cuu=\E[%p1%dA, cuu1=\E[A, + il=\E[%p1%dL, il1=\E[L, + dl=\E[%p1%dM, dl1=\E[M, + ech=\E[%p1%dX, + el=\E[K, ed=\E[J, + el1=\E[1K, home=\E[H, hpa=\E[%i%p1%dG, + ind=^J, + invis=\E[8m, kbs=^H, kcbt=\E[Z, + kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, + khome=\E[H, + op=\E[39;49m, + rev=\E[7m, + rmacs=\E[10m, rmpch=\E[10m, rmso=\E[m, rmul=\E[m, + setab=\E[4%p1%dm, setaf=\E[3%p1%dm, + sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, + sgr0=\E[0;10m, + smso=\E[7m, + smul=\E[4m, + kdch1=\E[3~, kich1=\E[2~, kend=\E[4~, knp=\E[6~, kpp=\E[5~, + kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~, + kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, + smcup=\E[?1049h, rmcup=\E[?1049l, indn=\E[%p1%dS, rin=\E[%p1%dT, + ich=\E[%p1%d@, dch=\E[%p1%dP, ech=\E[%p1%dX, il=\E[%p1%dL, dl=\E[%p1%dM, + sc=\E7, rc=\E8, cnorm=\E[?12l\E[?25h, civis=\E[?25l, cvvis=\E[?12h\E[?25h, + smkx=\E[?1h\E=, rmkx=\E[?1l\E>, u6=\E[%i%d;%dR, u7=\E[6n, + hts=\EH, smacs=\E(0, rmacs=\E(B, + csr=\E[%i%p1%d;%p2%dr, diff --git a/src/main/resources/org/jline/utils/windows.caps b/src/main/resources/org/jline/utils/windows.caps new file mode 100644 index 0000000..6ba52ea --- /dev/null +++ b/src/main/resources/org/jline/utils/windows.caps @@ -0,0 +1,27 @@ +windows|windows terminal compatibility, + am, mc5i, mir, msgr, + colors#16, cols#80, it#8, lines#24, ncv#3, pairs#64, + bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, + cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, + cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, + cuu=\E[%p1%dA, cuu1=\E[A, + il=\E[%p1%dL, il1=\E[L, + dl=\E[%p1%dM, dl1=\E[M, + ech=\E[%p1%dX, + el=\E[K, ed=\E[J, + el1=\E[1K, home=\E[H, hpa=\E[%i%p1%dG, + ind=^J, + invis=\E[8m, kbs=^H, kcbt=\E[Z, + kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, + khome=\E[H, + op=\E[39;49m, + rev=\E[7m, + rmacs=\E[10m, rmpch=\E[10m, rmso=\E[m, rmul=\E[m, + setab=\E[4%p1%dm, setaf=\E[3%p1%dm, + sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, + sgr0=\E[0;10m, + smso=\E[7m, + smul=\E[4m, + kdch1=\E[3~, kich1=\E[2~, kend=\E[4~, knp=\E[6~, kpp=\E[5~, + kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~, + kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, diff --git a/src/main/resources/org/jline/utils/xterm-256color.caps b/src/main/resources/org/jline/utils/xterm-256color.caps new file mode 100644 index 0000000..08c915d --- /dev/null +++ b/src/main/resources/org/jline/utils/xterm-256color.caps @@ -0,0 +1,51 @@ +# Reconstructed via infocmp from file: /usr/share/terminfo/78/xterm-256color +xterm-256color|xterm with 256 colors, + am, bce, ccc, km, mc5i, mir, msgr, npc, xenl, + colors#256, cols#80, it#8, lines#24, pairs#32767, + acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, + bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, + clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M, + csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, + cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, + cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, + cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, + dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, + flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, + ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, + ind=^J, indn=\E[%p1%dS, + initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, + invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kDC=\E[3;2~, + kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~, kLFT=\E[1;2D, + kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C, kb2=\EOE, kbs=^H, + kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, + kdch1=\E[3~, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~, + kf11=\E[23~, kf12=\E[24~, kf13=\E[1;2P, kf14=\E[1;2Q, + kf15=\E[1;2R, kf16=\E[1;2S, kf17=\E[15;2~, kf18=\E[17;2~, + kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, + kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, + kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R, kf28=\E[1;5S, + kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~, + kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~, + kf35=\E[23;5~, kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, + kf39=\E[1;6R, kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, + kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~, + kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~, + kf48=\E[24;6~, kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, + kf51=\E[1;3R, kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~, + kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~, + kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~, + kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~, + kf8=\E[19~, kf9=\E[20~, khome=\EOH, kich1=\E[2~, + kind=\E[1;2B, kmous=\E[M, knp=\E[6~, kpp=\E[5~, + kri=\E[1;2A, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El, + memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, + rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l, + rmir=\E[4l, rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m, + rmul=\E[24m, rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, + setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, + setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, + sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, + sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h, + smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m, + smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, + u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, diff --git a/src/main/resources/org/jline/utils/xterm.caps b/src/main/resources/org/jline/utils/xterm.caps new file mode 100644 index 0000000..307adbe --- /dev/null +++ b/src/main/resources/org/jline/utils/xterm.caps @@ -0,0 +1,51 @@ +# Reconstructed via infocmp from file: /usr/share/terminfo/78/xterm +xterm|xterm terminal emulator (X Window System), + am, bce, km, mc5i, mir, msgr, npc, xenl, + colors#8, cols#80, it#8, lines#24, pairs#64, + acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, + bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, + clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M, + csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, + cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, + cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, + cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, + dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, + flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, + ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, + ind=^J, indn=\E[%p1%dS, invis=\E[8m, + is2=\E[!p\E[?3;4l\E[4l\E>, kDC=\E[3;2~, kEND=\E[1;2F, + kHOM=\E[1;2H, kIC=\E[2;2~, kLFT=\E[1;2D, kNXT=\E[6;2~, + kPRV=\E[5;2~, kRIT=\E[1;2C, kb2=\EOE, kbs=^H, kcbt=\E[Z, + kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, + kdch1=\E[3~, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~, + kf11=\E[23~, kf12=\E[24~, kf13=\E[1;2P, kf14=\E[1;2Q, + kf15=\E[1;2R, kf16=\E[1;2S, kf17=\E[15;2~, kf18=\E[17;2~, + kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, + kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, + kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R, kf28=\E[1;5S, + kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~, + kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~, + kf35=\E[23;5~, kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, + kf39=\E[1;6R, kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, + kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~, + kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~, + kf48=\E[24;6~, kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, + kf51=\E[1;3R, kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~, + kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~, + kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~, + kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~, + kf8=\E[19~, kf9=\E[20~, khome=\EOH, kich1=\E[2~, + kind=\E[1;2B, kmous=\E[M, knp=\E[6~, kpp=\E[5~, + kri=\E[1;2A, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El, + memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, + rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l, + rmir=\E[4l, rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m, + rmul=\E[24m, rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, + setab=\E[4%p1%dm, setaf=\E[3%p1%dm, + setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, + setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, + sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, + sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h, + smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m, + smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, + u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, diff --git a/src/main/resources/overview.html b/src/main/resources/overview.html new file mode 100644 index 0000000..7c004c1 --- /dev/null +++ b/src/main/resources/overview.html @@ -0,0 +1,23 @@ + + +

Overview

+Sisu is a modular
JSR-330-based container that supports classpath scanning, auto-binding, and dynamic auto-wiring. +

+Sisu uses Google-Guice to perform dependency injection and provide the core JSR330 support, but removes the need to write explicit bindings in Guice modules: +

+Guice.createInjector(
+  new {@link org.eclipse.sisu.wire WireModule}(                       // auto-wires unresolved dependencies
+    new {@link org.eclipse.sisu.space SpaceModule}(                     // scans and binds @Named components
+      new {@link org.eclipse.sisu.space URLClassSpace}( classloader )    // abstracts class/resource finding
+) ) );
+
+In the example above the {@code SpaceModule} scans the classpath using the {@code ClassSpace} abstraction. Any classes annotated with a {@code @Qualifier} annotation like {@code @Named} +will be bound as components, making them visible to the {@link org.eclipse.sisu.inject BeanLocator} and surrounding {@code WireModule} (constructed around the set of modules making up +the application; in this example there is only one, the {@code SpaceModule}). +

+The {@code WireModule} uses the Guice introspection SPI to analyze all bindings in the application and apply various rules to finish wiring the configuration. Unsatisfied {@code @Inject} +requirements are populated using the {@code BeanLocator} which provides a lookup service across all injectors it knows about, allowing for plugin-style solutions. As well as individual +components, the {@code WireModule} can satisfy requests for component collections like Lists and Maps (using {@code @Named} values as keys). It also cleans up duplicate and overridden +bindings, and merges {@link org.eclipse.sisu.Parameters} bindings. + + diff --git a/src/main/resources/yggdrasil_session_pubkey.der b/src/main/resources/yggdrasil_session_pubkey.der new file mode 100644 index 0000000000000000000000000000000000000000..9c79a3aa4771da1f15af37a2af0898f878ad816f GIT binary patch literal 550 zcmV+>0@?jAf&wBi4F(A+hDe6@4FLfG1potr0uKN%f&vNxf&u{m%20R*skxUv>`)yD7%qARQ>bP36CtP}x@~Z9*VkPYUS6pWrZtT#q)8GCbf0*5+4Pyw;#Tq!Aq{bDO|Iw<43LnG*#4;?Z&LM71zXE@J`@_dMl`?qQ1 z@3qR;mm=XG_-{G#4vhRxmZiQslrTtB_&7&0ECnD9)gZ}j`e&Je+s