Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.8–1.8.9
Platforms
Bukkit
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published 6 months ago
Updated last month
MySQL needed!
JSMySQLFix is REQUIRED for the Velocity version
ServerSwitch is a versatile plugin designed for both BungeeCord and Spigot servers, providing comprehensive server switch logging and serving as an alternative to OnlyProxyJoin. With ServerSwitch, you can effortlessly track player server switches and customize their join experience, enhancing your server network management capabilities.
Features:
- Server Switch Logging: ServerSwitch logs player server switches to a MySQL database, providing valuable insights into player behavior and server traffic patterns across both BungeeCord and Spigot servers.
- OnlyProxyJoin Alternative: Replace OnlyProxyJoin with ServerSwitch to control player joins and implement custom join messages and actions based on specific criteria, catering to the needs of your server network.
- Automatic Cleanup: The plugin includes a feature to automatically delete old server switch records, ensuring optimal database performance and storage efficiency for both BungeeCord and Spigot servers.
- Customizable Configuration: Easily configure the MySQL connection settings, join messages, and other plugin options through the included configuration file, offering flexibility and customization for your server network setup.
- Lightweight and Efficient: ServerSwitch is lightweight and designed for efficiency, ensuring minimal impact on both BungeeCord and Spigot server performance while delivering robust functionality for server switch logging and player join management.
Instructions:
- Place the serverswitch.jar file in the plugins folder of both your BungeeCord and Spigot servers.
- Customize the plugin settings, including the MySQL connection details and join messages, in the config.yml file located in the plugin's folder on both server types.
- Restart your BungeeCord and Spigot servers to apply the changes.
- ServerSwitch will now log player server switches and handle player joins according to your configured settings on both BungeeCord and Spigot servers.
Enhance your server network management and provide a seamless join experience for your players with ServerSwitch today!
config.yml
# Connect to your Database! (IS REQUIRED!)
database:
url: "jdbc:mysql://127.0.0.1:3306/YourDB" # Set Infos here
username: "root"
password: "password"
# YOU HAVE TO SET A SERVERNAME! THE SERVER NAME HAVE TO BE THE SAME AS THE BUNGEECORD NAME TO THIS SERVER!!
server:
# YOU HAVE TO SET A SERVERNAME! THE SERVER NAME HAVE TO BE THE SAME AS THE BUNGEECORD NAME TO THIS SERVER!!
servername: "SETITHERE!" # Example: servername: "Lobby-01"
# Set your custom messages and permissions
messages:
kick: '§cYou need to join through the proxy!'
staff_notification: '§c{player} attempted to join without going through the proxy!'
joinMessage: '§e{player} joined'
leaveMessage: '§e{player} left the server'
permissions:
notify: 'serverswitch.notify' # Set Permission here
settings:
Custom-join-leaveMessages: false
Disable-join-leaveMessages: false
bungeeconfig.yml
# Connect to your Database! (IS REQUIRED!)
database:
url: "jdbc:mysql://127.0.0.1:3306/YourDB"
username: "root"
password: "password"