HubReturner icon

HubReturner -----

Return to your network lobby immediately!



l.png

HubReturner is a streamlined plugin for returning to the network lobby. It has highly configurable features, including configurable commands, etc.

Features:
  • Requires Java 8 or above!
  • Multiple lobby servers
  • Prohibit from executing /lobby on blacklisted servers
  • Anti /lobby mistouch
  • Lobby matching rule (
    Prioritize the server with more/fewer players or totally random)
  • Configurable messages
  • Configurable commands
Default Commands:
  • /lobby
  • /hub
  • /main
  • /fallback
Configuration:
Code (YAML):
#----------------------------------------------------------#
#                       HubReturner                        #
#              Author: Hexsook (MysteriousHex)             #
#                     QQ: 2214912330                       #
#                Thanks for using my plugin                #
#----------------------------------------------------------#

#
# Lobby servers
#
lobbies
:
 - lobby1
  - lobby2
  - lobby3

#
# Servers that prohibit from executing /lobby
#
block-command-on
:
 - auth1

#
# Anti-mistouch confirmation time
#
anti-mistouch-time
: 3 # Seconds

#
# Lobby matching rule
#
# HIGHEST - Prioritize the server with more players
# RANDOM - Completely random
# LOWEST - Prioritize the server with fewer players
#
matching-rule
: RANDOM

#
# Command to return to lobby (requires restart after changing)
#
lobby-commands
:
 - lobby
  - hub
  - main
  - fallback

#
# Whether to prohibit players on any server configured in "lobbies" from executing /lobby
#
prevent-already-connected
: true

#
# Translations (Leave it blank and the message will not be sent)
#
messages
:
  connecting
: "&aConnecting to %server%..."
  success
: "&aSuccessfully connected to %server%!"
  already-connected
: "&cYou are already in lobbies now!"
  connection-failed
: "&cCannot connect you to any lobby server, please contact server administrators!"
  anti-mistouch
: "&e&lPlease enter /lobby again within %seconds% seconds to return to the lobby! &7(Type /lobbymistouch to disable)"
  no-servers
: "&cThere is no available lobby servers currently!"
  command-blocked
: "&cYou cannot execute this command on the current server!"
  anti-mistouch-on
: "&a/lobby anti-mistouch on!"
  anti-mistouch-off
: "&c/lobby anti-mistouch off!"
  reloaded
: "&aSuccessfully reloaded configuration!"
Code (YAML):
#----------------------------------------------------------#
#                       HubReturner                        #
#                作者: Hexsook (MysteriousHex)              #
#                     QQ: 2214912330                       #
#                      感谢使用我的插件                       #
#----------------------------------------------------------#

#
# 大厅服务器
#
lobbies
:
 - lobby1
  - lobby2
  - lobby3

#
# 禁止执行返回大厅的服务器
#
block-command-on
:
 - auth1

#
# 防误触确认时间
#
anti-mistouch-time
: 3 # Seconds

#
# 大厅匹配机制
#
# HIGHEST - 人数多的优先
# RANDOM - 完全随机
# LOWEST - 人数少的优先
#
matching-rule
: RANDOM

#
# 用于返回大厅的指令 (需要重启服务器)
#
lobby-commands
:
 - lobby
  - hub
  - main
  - fallback

#
# 是否当玩家已经在任意一个大厅服务器的时候禁止执行返回大厅
#
prevent-already-connected
: true

#
# 语言 (留空则不会发送)
#
messages
:
  connecting
: "&a正在连接 %server%..."
  success
: "&a成功连接到%server%!"
  already-connected
: "&c你已经在大厅中了!"
  connection-failed
: "&c无法将你连接到大厅服务器,请联系服务器管理员!"
  anti-mistouch
: "&e&l请在%seconds%再次输入/lobby以确认返回大厅! &7(Type /lobbymistouch to disable)"
  no-servers
: "&c当前暂无可用大厅服务器!"
  command-blocked
: "&c你无法在当前服务器上执行次命令!"
  anti-mistouch-on
: "&a/lobby防误触已开启!"
  anti-mistouch-off
: "&c/lobby防误触已关闭!"
  reloaded
: "&a成功重载配置文件!"
 


Issues?

If you find any bugs don't make a bad rating, just send a private message to me on the forum and I'll fix it as soon as possible!

Thank you for using my plugin!
[​IMG]
Resource Information
Author:
----------
Total Downloads: 43
First Release: Oct 13, 2024
Last Update: Oct 13, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings