Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Laarryy/Anti-VPN
/ functions
Functions
1,820 in github.com/Laarryy/Anti-VPN
⨍
Functions
1,820
◇
Types & classes
315
↓ 202 callers
Method
getName
Gets the source's name. @return the source's name
API/src/main/java/me/egg82/antivpn/api/model/source/Source.java:20
↓ 197 callers
Method
equals
{@inheritDoc}
API/src/main/java/me/egg82/antivpn/api/model/source/models/SourceModel.java:12
↓ 186 callers
Method
sendMessage
(@NotNull String message)
Common/src/main/java/me/egg82/antivpn/locale/LocalizedCommandSender.java:14
↓ 175 callers
Method
isEmpty
()
Common/src/main/java/me/egg82/antivpn/locale/LocalizedArgumentDescription.java:60
↓ 167 callers
Method
error
(String msg)
Common/src/main/java/me/egg82/antivpn/logging/GELFLogger.java:325
↓ 153 callers
Method
getMessage
()
API/src/main/java/me/egg82/antivpn/api/model/source/models/TeohModel.java:20
↓ 135 callers
Method
getInstance
Return an instance of the {@link VPNAPI} service. @return The current {@link VPNAPI} service @throws IllegalStateException if not yet loaded
API/src/main/java/me/egg82/antivpn/api/VPNAPIProvider.java:21
↓ 130 callers
Method
getPlayer
Gets a player. @param uniqueId the {@link UUID} of the player to get @return a {@link CompletableFuture} - a {@link Player} object, if one matching
API/src/main/java/me/egg82/antivpn/api/model/player/PlayerManager.java:44
↓ 126 callers
Method
getCachedConfig
()
Common/src/main/java/me/egg82/antivpn/config/ConfigUtil.java:33
↓ 113 callers
Method
getString
()
Common/src/main/java/me/egg82/antivpn/web/WebRequest.java:58
↓ 98 callers
Method
getDebugOrFalse
()
Common/src/main/java/me/egg82/antivpn/config/ConfigUtil.java:53
↓ 92 callers
Method
get
()
Common/src/main/java/me/egg82/antivpn/api/VPNAPIImpl.java:29
↓ 85 callers
Method
getName
()
Common/src/main/java/me/egg82/antivpn/storage/StorageService.java:15
↓ 68 callers
Method
toString
{@inheritDoc}
API/src/main/java/me/egg82/antivpn/api/model/source/models/SourceModel.java:24
↓ 67 callers
Method
build
()
Common/src/main/java/me/egg82/antivpn/web/WebRequest.java:316
↓ 67 callers
Method
replace
(@NotNull String pkg)
Paper/src/main/java-templates/me/egg82/antivpn/PaperBootstrap.java:193
↓ 66 callers
Method
info
(String msg)
Common/src/main/java/me/egg82/antivpn/logging/GELFLogger.java:161
↓ 65 callers
Method
builder
(@NotNull URL url)
Common/src/main/java/me/egg82/antivpn/web/WebRequest.java:209
↓ 63 callers
Method
get
(@NotNull UUID uuid, @NotNull ProxyServer proxy)
Velocity/src/main/java/me/egg82/antivpn/services/lookup/PlayerLookup.java:14
↓ 51 callers
Method
getDefaultI18N
()
Common/src/main/java/me/egg82/antivpn/locale/LocaleUtil.java:30
↓ 50 callers
Method
getStorage
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:22
↓ 47 callers
Method
getText
(@NotNull MessageKey key)
Common/src/main/java/me/egg82/antivpn/locale/I18NManager.java:53
↓ 43 callers
Method
getDebug
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:50
↓ 42 callers
Method
warn
(String msg)
Common/src/main/java/me/egg82/antivpn/logging/GELFLogger.java:231
↓ 36 callers
Method
get
(@NotNull UUID uuid)
Bungee/src/main/java/me/egg82/antivpn/services/lookup/PlayerLookup.java:13
↓ 35 callers
Method
getAddress
()
Common/src/main/java/me/egg82/antivpn/config/ConfigurationFileUtil.java:844
↓ 34 callers
Method
getMCLeaksKickMessage
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:77
↓ 34 callers
Method
getVPNKickMessage
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:67
↓ 34 callers
Method
getVersion
Gets the plugin version. @return the version of the plugin running on the platform
API/src/main/java/me/egg82/antivpn/api/platform/PluginMetadata.java:14
↓ 33 callers
Method
format
(@NotNull String message)
Bungee/src/main/java/me/egg82/antivpn/locale/PluginMessageFormatter.java:20
↓ 33 callers
Method
getConsole
()
Paper/src/main/java/me/egg82/antivpn/locale/BukkitLocaleCommandUtil.java:122
↓ 33 callers
Method
getName
()
Velocity/src/main/java/me/egg82/antivpn/services/lookup/PlayerInfo.java:10
↓ 30 callers
Method
getIPManager
Gets the {@link IPManager}, responsible for managing {@link IP} instances. <p>This manager can be used to retrieve instances of {@link IP} by name or
API/src/main/java/me/egg82/antivpn/api/VPNAPI.java:60
↓ 30 callers
Method
getPlayerManager
Gets the {@link PlayerManager}, responsible for managing {@link Player} instances. <p>This manager can be used to retrieve instances of {@link Player
API/src/main/java/me/egg82/antivpn/api/VPNAPI.java:72
↓ 29 callers
Method
register
(@NotNull Class<T> clazz, @NotNull PacketSupplier<T> supplier)
Common/src/main/java/me/egg82/antivpn/messaging/PacketManager.java:26
↓ 28 callers
Method
getMCLeaksActionCommands
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:82
↓ 28 callers
Method
getVPNActionCommands
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:72
↓ 27 callers
Method
getConnection
()
Common/src/main/java/me/egg82/antivpn/web/WebRequest.java:95
↓ 26 callers
Method
queue
(int level, @Nullable String message)
Common/src/main/java/me/egg82/antivpn/logging/GELFLoggerUtil.java:90
↓ 25 callers
Method
getUuid
Gets the player's {@link UUID}. @return the player's UUID
API/src/main/java/me/egg82/antivpn/api/model/player/Player.java:18
↓ 25 callers
Method
isValidIp
(@Nullable String ip)
Common/src/main/java/me/egg82/antivpn/utils/ValidationUtil.java:31
↓ 24 callers
Method
cancel
()
Paper/src/main/java/me/egg82/antivpn/hooks/PluginHook.java:4
↓ 24 callers
Method
getCacheTime
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:45
↓ 24 callers
Method
getConsole
()
Spigot/src/main/java/me/egg82/antivpn/locale/BukkitLocaleCommandUtil.java:115
↓ 24 callers
Method
getCountry
()
API/src/main/java/me/egg82/antivpn/api/model/source/models/IPHubModel.java:39
↓ 24 callers
Method
getKey
()
Common/src/main/java/me/egg82/antivpn/locale/MessageKey.java:107
↓ 24 callers
Method
subscribe
()
Common/src/main/java/me/egg82/antivpn/messaging/NATSMessagingService.java:109
↓ 23 callers
Method
get
()
Spigot/src/main/java/me/egg82/antivpn/hooks/VaultHook.java:33
↓ 23 callers
Method
get
()
Paper/src/main/java/me/egg82/antivpn/hooks/VaultHook.java:33
↓ 22 callers
Method
cascade
Gets the cascade result from Anti-VPN using the configuration provided to the plugin. <p>You may choose to use Anti-VPN's internal cache for the resu
API/src/main/java/me/egg82/antivpn/api/model/ip/IPManager.java:148
↓ 22 callers
Method
checkMcLeaks
Gets the MCLeaks result from Anti-VPN using the configuration provided to the plugin. <p>You may choose to use Anti-VPN's internal cache for the resu
API/src/main/java/me/egg82/antivpn/api/model/player/PlayerManager.java:121
↓ 22 callers
Method
consensus
Gets the consensus result from Anti-VPN using the configuration provided to the plugin. <p>You may choose to use Anti-VPN's internal cache for the re
API/src/main/java/me/egg82/antivpn/api/model/ip/IPManager.java:205
↓ 22 callers
Method
getString
(HttpURLConnection conn)
Common/src/main/java/me/egg82/antivpn/api/model/source/AbstractSource.java:72
↓ 21 callers
Method
close
()
Common/src/main/java/me/egg82/antivpn/storage/StorageService.java:17
↓ 20 callers
Method
getName
Gets the player's username. <p>Returns null if no username is known for the user.</p> @return the player's username
API/src/main/java/me/egg82/antivpn/api/model/player/Player.java:28
↓ 20 callers
Method
getName
()
Common/src/main/java/me/egg82/antivpn/messaging/MessagingService.java:11
↓ 20 callers
Method
getSender
()
Common/src/main/java/me/egg82/antivpn/messaging/packets/Packet.java:16
↓ 20 callers
Method
getTime
(@NotNull String input)
Common/src/main/java/me/egg82/antivpn/utils/TimeUtil.java:17
↓ 20 callers
Method
getValue
()
Common/src/main/java/me/egg82/antivpn/storage/models/DataModel.java:34
↓ 20 callers
Method
newBuilder
(@NotNull String name)
Paper/src/main/java/me/egg82/antivpn/commands/arguments/KickTypeArgument.java:34
↓ 19 callers
Method
getConfig
()
Common/src/main/java/me/egg82/antivpn/config/ConfigUtil.java:23
↓ 19 callers
Method
getServer
()
Common/src/main/java/me/egg82/antivpn/messaging/packets/server/ShutdownPacket.java:38
↓ 18 callers
Method
header
(@NotNull String key, @Nullable String value)
Common/src/main/java/me/egg82/antivpn/web/WebRequest.java:233
↓ 18 callers
Method
isMcleaks
()
Common/src/main/java/me/egg82/antivpn/storage/models/PlayerModel.java:38
↓ 18 callers
Method
post
(@NotNull VPNEvent event, @NotNull EventBus<VPNEvent> eventBus)
Common/src/main/java/me/egg82/antivpn/utils/EventUtil.java:21
↓ 17 callers
Method
build
()
Spigot/src/main/java/me/egg82/antivpn/commands/arguments/KickTypeArgument.java:50
↓ 17 callers
Method
build
()
Paper/src/main/java/me/egg82/antivpn/commands/arguments/KickTypeArgument.java:50
↓ 16 callers
Method
getEventBus
Gets the {@link EventBus}, used for subscribing to internal Anti-VPN events. @return the event bus
API/src/main/java/me/egg82/antivpn/api/VPNAPI.java:126
↓ 16 callers
Method
getResult
Returns the result from the source given its configuration. @param ip the {@link IP} object to test @return a {@link CompletableFuture} - true if th
API/src/main/java/me/egg82/antivpn/api/model/source/Source.java:40
↓ 16 callers
Method
userAgent
(@NotNull String value)
Common/src/main/java/me/egg82/antivpn/web/WebRequest.java:228
↓ 15 callers
Method
getMillis
()
Common/src/main/java/me/egg82/antivpn/utils/TimeUtil.java:75
↓ 15 callers
Method
getSourceCacheTime
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:32
↓ 15 callers
Method
getSourceManager
Gets the {@link SourceManager}, responsible for managing {@link Source} instances. <p>This manager can be used to retrieve instances of {@link Source
API/src/main/java/me/egg82/antivpn/api/VPNAPI.java:84
↓ 15 callers
Method
getSources
Gets a list of all enabled {@link Source}s, in the order they are used in the Anti-VPN plugin. @return a list of sources
API/src/main/java/me/egg82/antivpn/api/model/source/SourceManager.java:164
↓ 15 callers
Method
getUnit
()
Common/src/main/java/me/egg82/antivpn/utils/TimeUtil.java:73
↓ 15 callers
Method
of
(@NotNull String name)
Paper/src/main/java/me/egg82/antivpn/commands/arguments/KickTypeArgument.java:36
↓ 14 callers
Method
getSourceConfigNode
()
Common/src/main/java/me/egg82/antivpn/api/model/source/AbstractSource.java:27
↓ 14 callers
Method
replace
(@NotNull String pkg)
Spigot/src/main/java-templates/me/egg82/antivpn/SpigotBootstrap.java:216
↓ 14 callers
Method
timeout
(@NotNull TimeUtil.Time value)
Common/src/main/java/me/egg82/antivpn/web/WebRequest.java:223
↓ 14 callers
Method
write
(@NotNull ByteBuf buffer)
Common/src/main/java/me/egg82/antivpn/messaging/packets/Packet.java:14
↓ 13 callers
Method
build
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:274
↓ 13 callers
Method
getDescription
()
Common/src/main/java/me/egg82/antivpn/locale/LocalizedArgumentDescription.java:57
↓ 13 callers
Method
getError
()
Common/src/main/java/me/egg82/antivpn/web/models/MCLeaksResultModel.java:24
↓ 13 callers
Method
getMessaging
()
Common/src/main/java/me/egg82/antivpn/config/CachedConfig.java:27
↓ 13 callers
Method
queuePacket
(@NotNull Packet packet)
Common/src/main/java/me/egg82/antivpn/utils/PacketUtil.java:61
↓ 12 callers
Method
buildRelocateInject
( Artifact.Builder builder, @NotNull File jarsDir, @NotNull List<Relocatio
Bungee/src/main/java-templates/me/egg82/antivpn/BungeeBootstrap.java:375
↓ 12 callers
Method
buildRelocateInject
( Artifact.Builder builder, @NotNull File jarsDir, @NotNull List<Relocatio
Velocity/src/main/java-templates/me/egg82/antivpn/VelocityBootstrap.java:394
↓ 12 callers
Method
getCommandManager
()
Paper/src/main/java/me/egg82/antivpn/locale/BukkitLocaleCommandUtil.java:115
↓ 12 callers
Method
getConnection
(@NotNull WebRequest request)
Common/src/main/java/me/egg82/antivpn/api/model/source/AbstractSource.java:43
↓ 12 callers
Method
getCurrentAlgorithmMethod
Gets the {@link AlgorithmMethod}, which represents the algorithm method Anti-VPN is currently using to determine IP statuses. @return the algorithm m
API/src/main/java/me/egg82/antivpn/api/model/ip/IPManager.java:129
↓ 12 callers
Method
getId
()
Common/src/main/java/me/egg82/antivpn/storage/models/BaseModel.java:41
↓ 12 callers
Method
getLocalizedText
(@NotNull MessageKey key)
Common/src/main/java/me/egg82/antivpn/locale/LocalizedCommandSender.java:32
↓ 12 callers
Method
getMcLeaksCommands
Returns the MCLeaks commands as defined in Anti-VPN's config, tailored to the player provided. @param player The {@link Player} to tailor the command
API/src/main/java/me/egg82/antivpn/api/model/player/PlayerManager.java:374
↓ 12 callers
Method
getMcLeaksKickMessage
Returns the MCLeaks kick message as defined in Anti-VPN's config, tailored to the player provided. @param player The {@link Player} to tailor the mes
API/src/main/java/me/egg82/antivpn/api/model/player/PlayerManager.java:259
↓ 12 callers
Method
getMinConsensusValue
Returns the minimum consensus value from Anti-VPN's configuration. <p>This value is the minimum consensus needed for an IP to be considered "bad" whi
API/src/main/java/me/egg82/antivpn/api/model/ip/IPManager.java:258
↓ 12 callers
Method
getVpnCommands
Returns the VPN commands as defined in Anti-VPN's config, tailored to the player provided. @param player The {@link Player} to tailor the commands to
API/src/main/java/me/egg82/antivpn/api/model/ip/IPManager.java:494
↓ 12 callers
Method
getVpnKickMessage
Returns the VPN kick message as defined in Anti-VPN's config, tailored to the player provided. @param player The {@link Player} to tailor the message
API/src/main/java/me/egg82/antivpn/api/model/ip/IPManager.java:376
↓ 12 callers
Method
parseVersion
(@NotNull String version, char separator)
Common/src/main/java/me/egg82/antivpn/utils/VersionUtil.java:106
↓ 11 callers
Method
dispatchCommand
(@NotNull String command, @NotNull CommandSender issuer, @NotNull Plugin plugin)
Paper/src/main/java/me/egg82/antivpn/bukkit/BukkitCommandUtil.java:31
↓ 11 callers
Method
getDefaultBuilder
(@NotNull String url)
Common/src/main/java/me/egg82/antivpn/api/model/source/AbstractSource.java:30
next →
1–100 of 1,820, ranked by callers