MCPcopy Index your code
hub / github.com/TCPShield/RealIP

github.com/TCPShield/RealIP @2.8.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.8.1 ↗ · + Follow
220 symbols 465 edges 50 files 86 documented · 39%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

TCPShield

TCPShield is the plugin for the same named DDoS mitigation service TCPShield.

This plugin is responsible for validating clients join via the TCPShield network. It also parses passed IP addresses so the server is aware of the real player IP address.

Compatibility

TCPShield is compatible with Spigot / CraftBukkit, BungeeCord and Velocity.

When using Spigot / CraftBukkit, ProtocolLib needs to be installed.

Setup

Setting up the plugin is easy as pie. Please follow these guidelines.

Compiling

In order to compile TCPShield, install Gradle and run the following command in the project folder:

gradle build

The dependencies should install themselves automatically. After the build has finished, the compiled jar file can be found under /build/libs.

Support

See Contact

Contributors

These wonderful contributors have helped TCPShield make this plugin better!

Extension points exported contracts — how you extend this code

PlayerProvider (Interface)
A player provider for TCPShield handling [8 implementers]
src/main/java/net/tcpshield/tcpshield/provider/PlayerProvider.java
PacketProvider (Interface)
A packet provider for TCPShield handling [8 implementers]
src/main/java/net/tcpshield/tcpshield/provider/PacketProvider.java
TCPShieldPlugin (Interface)
The base/provider for all entry points/main classes [3 implementers]
src/main/java/net/tcpshield/tcpshield/TCPShieldPlugin.java

Core symbols most depended-on inside this repo

getDebugger
called by 17
src/main/java/net/tcpshield/tcpshield/TCPShieldPlugin.java
getPrivateField
called by 14
src/main/java/net/tcpshield/tcpshield/util/ReflectionUtil.java
getConfigProvider
called by 13
src/main/java/net/tcpshield/tcpshield/TCPShieldPlugin.java
warn
called by 12
src/main/java/net/tcpshield/tcpshield/util/Debugger.java
getPlugin
called by 10
src/main/java/net/tcpshield/tcpshield/bukkit/provider/BukkitImplProvider.java
disconnect
called by 8
src/main/java/net/tcpshield/tcpshield/provider/PlayerProvider.java
setFinalField
called by 8
src/main/java/net/tcpshield/tcpshield/util/ReflectionUtil.java
getName
called by 7
src/main/java/net/tcpshield/tcpshield/provider/PlayerProvider.java

Shape

Method 169
Class 47
Interface 3
Enum 1

Languages

Java100%

Modules by API surface

src/main/java/net/tcpshield/tcpshield/provider/ConfigProvider.java14 symbols
src/main/java/net/tcpshield/tcpshield/velocity/handler/VelocityPlayer.java10 symbols
src/main/java/net/tcpshield/tcpshield/velocity/TCPShieldVelocity.java7 symbols
src/main/java/net/tcpshield/tcpshield/util/ReflectionUtil.java7 symbols
src/main/java/net/tcpshield/tcpshield/util/Debugger.java7 symbols
src/main/java/net/tcpshield/tcpshield/bungee/handler/BungeePlayer.java7 symbols
src/main/java/net/tcpshield/tcpshield/bukkit/protocollib/handler/ProtocolLibPlayer.java7 symbols
src/main/java/net/tcpshield/tcpshield/bukkit/paper/handler/PaperPlayer.java7 symbols
src/main/java/net/tcpshield/tcpshield/velocity/handler/VelocityHandshakeHandler.java6 symbols
src/main/java/net/tcpshield/tcpshield/velocity/VelocityConfig.java6 symbols
src/main/java/net/tcpshield/tcpshield/util/validation/timestamp/TimestampValidator.java6 symbols
src/main/java/net/tcpshield/tcpshield/provider/PlayerProvider.java6 symbols

For agents

$ claude mcp add RealIP \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact