FrpPlugin - Minecraft服务器内网穿透插件
FrpPlugin is a Bukkit plugin for Minecraft servers that facilitates intranet penetration by integrating with the frp client. This plugin offers features such as automatic downloads and updates of the frpc client, mirror acceleration for faster downloads, s
📖About FrpPlugin - Minecraft服务器内网穿透插件
FrpPlugin - Minecraft Server Intranet Penetration Plugin
Introduction
FrpPlugin is a Bukkit plugin for Minecraft servers that integrates with the frp client, enabling server administrators to easily implement intranet penetration functionality, allowing players to connect to your Minecraft server from the extranet.
Features
- Automatic downloads and updates: Automatically downloads the latest version of the frpc client from GitHub for Windows, Linux and Mac.
- Mirror Acceleration: Built-in domestic mirror source to solve the problem of slow download speed of GitHub.
- Simple Configuration: Set frpc parameters through a simple configuration file.
- Command Control: Provides a complete command system to start, stop and restart frpc in-game.
- Status Monitoring: Monitor the status of frpc in real time.
- Autostart: start frpc service automatically when the server starts.
Installation
- download the latest version of FrpPlugin.jar file
- Place the JAR file in the server's plugins directory.
- Restart the server or use the plugin manager to load the plugin.
Configuration instructions
Plugin configuration (config.yml)
## Whether to automatically start frpc when the server starts up
auto_start: true
# Whether or not to display detailed logging of frpc in the console.
verbose_logging: true
# Download settings
download.
# Whether to check for updates on startup
check_update: false
# Download timeout (seconds)
timeout: 30
frpc configuration (frpc.toml)
# frpc.toml - frp client configuration file
serverAddr = “” # frp server address
serverPort = # frp server port
token = “” # Authentication token
[[proxies]]
name = “” # proxy name
type = “tcp” # proxy type
localIP = “127.0.0.1” # Local IP
localPort = 25565 # Minecraft server port
remotePort = # remote port
Usage
List of commands
/frp start- Starts the frpc client./frp stop- stops the frpc client/frp restart- Restarts the frpc client./frp status- Checks the status of frpc./frp config- Reloads the configuration file.
Privilege nodes
/frpplugin.admin- Allow use of all FrpPlugin commands (owned by default OP)
Configuration example
Use public frp server
``toml
serverAddr = “frp.example.com” # Replace with public frp server address
serverPort = 7000
token = “your_token” # if needed
[[proxies]]
name = “minecraft-server”
type = “tcp”
localIP = “127.0.0.1”
localPort = 25565 # your Minecraft server port
remotePort = 12345 # The remote port assigned to you
Translated with DeepL.com (free version)