Skip to content

Couldn't pass ProxyInitializeEvent to Neutron 3.0.0 with Velocity 3.1.1 #40

@MCTGE

Description

@MCTGE

Neutron Error at startup

Version

  • Velocity: 3.1.1-SNAPSHOT
  • Neutron: neutron 3.0.0-SNAPSHOT

Issue

  • When the Velocity server is started while loading in Neutron is throwing the Couldn't pass ProxyInitializeEvent.

Console Log

`[09.12 11:53:20] [Multicraft] Starting server!
[09.12 11:53:20] [Multicraft] Loaded config for "Special: customjava16.jar"
[09.12 11:53:20] [Multicraft] Updating eula.txt file
[09.12 11:53:21] [Server] 2021-12-17:53:21,241 main WARN Advanced terminal features are not available in this environment
[09.12 11:53:21] [Server] [INFO] Booting up Velocity 3.1.1-SNAPSHOT (git-9928ba86-b96)...
[09.12 11:53:21] [Server] [INFO] Loading localizations...
[09.12 11:53:21] [Server] [INFO] Connections will use epoll channels, libdeflate (Linux x86_64) compression, OpenSSL 1.1.x (Linux x86_64) ciphers
[09.12 11:53:21] [Server] [INFO] Loading plugins...
[09.12 11:53:22] [Server] [INFO] Loaded plugin luckperms 5.3.87 by Luck
[09.12 11:53:22] [Server] [INFO] Loaded plugin maintenance 3.0.7 by kennytv
[09.12 11:53:22] [Server] [INFO] Loaded plugin neutron 3.0.0-SNAPSHOT by 
[09.12 11:53:22] [Server] [INFO] Loaded plugin nuvotifier 2.7.3 by Ichbinjoe
[09.12 11:53:22] [Server] [INFO] Loaded plugin plan 5.4 build 1516 by AuroraLS3
[09.12 11:53:22] [Server] [INFO] Loaded plugin velocityautoreconnect 1.2.3 by Flori4nK
[09.12 11:53:22] [Server] [INFO] Loaded plugin velocityguard 1.0 by KuNet
[09.12 11:53:22] [Server] [INFO] Loaded 7 plugins
[09.12 11:53:22] [Server] [INFO]         __    
[09.12 11:53:22] [Server] [INFO]   |    |__)   LuckPerms v5.3.87
[09.12 11:53:22] [Server] [INFO]   |___ |      Running on Velocity - Velocity
[09.12 11:53:22] [Server] [INFO] 
[09.12 11:53:22] [Server] [INFO] [luckperms]: Loading configuration...
[09.12 11:53:22] [Server] [INFO] [luckperms]: Loading storage provider... [H2]
[09.12 11:53:22] [Server] [INFO] [luckperms]: Loading internal permission managers...
[09.12 11:53:22] [Server] [INFO] [luckperms]: Performing initial data load...
[09.12 11:53:22] [Server] [INFO] [luckperms]: Successfully enabled. (took 470ms)
[09.12 11:53:22] [Server] [INFO] [maintenance]: Trying to open database connection... (also, you can simply ignore the SLF4J soft-warning if it shows up)
[09.12 11:53:22] [Server] [WARN] [eu.kennytv.lib.hikari.HikariConfig]: HikariPool-1 - using dataSourceClassName and ignoring jdbcUrl.
[09.12 11:53:22] [Server] [INFO] [eu.kennytv.lib.hikari.HikariDataSource]: HikariPool-1 - Starting...
[09.12 11:53:22] [Server] [INFO] [eu.kennytv.lib.hikari.HikariDataSource]: HikariPool-1 - Start completed.
[09.12 11:53:22] [Server] [INFO] [maintenance]: Done!
[09.12 11:53:22] [Server] [INFO] [neutron]: Loaded fallback locale: en_US
[09.12 11:53:22] [Server] [INFO] [neutron]: Locales loaded: 1
[09.12 11:53:22] [Server] [ERROR] Couldn't pass ProxyInitializeEvent to neutron
[09.12 11:53:22] [Server] java.lang.NoClassDefFoundErrornet/kyori/text/Component
[09.12 11:53:22] [Server] 	at me.crypnotic.neutron.manager.ModuleManager.registerSerializers(ModuleManager.java:150) ~[?:?]
[09.12 11:53:22] [Server] 	at me.crypnotic.neutron.manager.ModuleManager.init(ModuleManager.java:62) ~[?:?]
[09.12 11:53:22] [Server] 	at me.crypnotic.neutron.event.StateHandler.init(StateHandler.java:61) ~[?:?]
[09.12 11:53:22] [Server] 	at me.crypnotic.neutron.event.StateHandler.init(StateHandler.java:43) ~[?:?]
[09.12 11:53:22] [Server] 	at me.crypnotic.neutron.NeutronPlugin.onProxyInitialize(NeutronPlugin.java:86) ~[?:?]
[09.12 11:53:22] [Server] 	at me.crypnotic.neutron.Lmbda$6.execute(Unknown Source) ~[?:?]
[09.12 11:53:22] [Server] 	at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:47) ~[customjava16.jar:3.1.1-SNAPSHOT (git-9928ba86-b96)]
[09.12 11:53:22] [Server] 	at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[customjava16.jar:3.1.1-SNAPSHOT (git-9928ba86-b96)]
[09.12 11:53:22] [Server] 	at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[customjava16.jar:3.1.1-SNAPSHOT (git-9928ba86-b96)]
[09.12 11:53:22] [Server] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
[09.12 11:53:22] [Server] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
[09.12 11:53:22] [Server] 	at java.lang.Thread.run(Thread.java:831) [?:?]
[09.12 11:53:22] [Server] Caused byjava.lang.ClassNotFoundException: net.kyori.text.Component
[09.12 11:53:22] [Server] 	at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:83) ~[customjava16.jar:3.1.1-SNAPSHOT (git-9928ba86-b96)]
[09.12 11:53:22] [Server] 	at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:60) ~[customjava16.jar:3.1.1-SNAPSHOT (git-9928ba86-b96)]
[09.12 11:53:22] [Server] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
[09.12 11:53:22] [Server] 	... more
[09.12 11:53:22] [Server] [INFO] [nuvotifier]: Loaded token for website: default
[09.12 11:53:23] [Server] [INFO] [nuvotifier]: Using epoll transport to accept votes.
[09.12 11:53:23] [Server] [INFO] [nuvotifier]: Method none selected for vote forwarding: Votes will not be forwarded to backend servers.
[09.12 11:53:23] [Server] [ERROR] [nuvotifier]: Votifier was not able to bind to /0.0.0.0:8192
[09.12 11:53:23] [Server] [INFO] [plan]: 
[09.12 11:53:23] [Server] [INFO] [plan]:            ██▌
[09.12 11:53:23] [Server] [INFO] [plan]:      ██▌   ██▌
[09.12 11:53:23] [Server] [INFO] [plan]:   ██▌██▌██▌██▌  Player Analytics
[09.12 11:53:23] [Server] [INFO] [plan]:   ██▌██▌██▌██▌  v5.4 build 1516
[09.12 11:53:23] [Server] [INFO] [plan]: 
[09.12 11:53:23] [Server] [INFO] [plan]: Locale: 'Custom' by 
[09.12 11:53:23] [Server] [INFO] [plan]: Downloading MySQL Driver, this may take a while...
[09.12 11:53:23] [Server] [INFO] [plan]: You're using the latest version.
[09.12 11:53:23] [Server] [INFO] [plan]: MySQL-database connection established.
[09.12 11:53:23] [Server] [INFO] [plan]: WebServer: Certificate KeyStore File not Found: plugins/plan/Cert.jks
[09.12 11:53:23] [Server] [INFO] [plan]: WebServer: No Certificate -> Using HTTP-server for Visualization.
[09.12 11:53:23] [Server] [INFO] [plan]: WebServer: User Authorization Disabled! (Not secure over HTTP)
[09.12 11:53:23] [Server] [ERROR] [plan]: Webserver failed to bind port: java.net.BindException: Address already in use
[09.12 11:53:23] [Server] [ERROR] [plan]: WebServer was not initialized successfully. Is the port (8804) in use?
[09.12 11:53:23] [Server] [INFO] [plan]: Loading server identifying information
[09.12 11:53:23] [Server] [INFO] [plan]: Registered extension: Buycraft
[09.12 11:53:23] [Server] [INFO] [plan]: Registered extension: LuckPerms
[09.12 11:53:23] [Server] [INFO] [plan]: Player Analytics Enabled.
[09.12 11:53:23] [Server] [INFO] [de.flori4nk.velocityautoreconnect.VelocityAutoReconnect]: VelocityAutoReconnect Copyright (c) 2021 Flori4nK <contact@flori4nk.de>
[09.12 11:53:23] [Server] [INFO] [de.flori4nk.velocityautoreconnect.VelocityAutoReconnect]: VelocityAutoReconnect is licensed under the terms of the GNU General Public License, version 3.
[09.12 11:53:23] [Server] [INFO] [velocityguard]: Config loaded!
[09.12 11:53:23] [Server] [INFO] [velocityguard]: Token loaded!
[09.12 11:53:23] [Server] [INFO] Listening on /198.55.127.50:25569
[09.12 11:53:23] [Server] [INFO] Listening for GS4 query on /198.55.127.50:25577
[09.12 11:53:23] [Server] [INFO] Done (2.21s)!` 

Config

	`announcements {
enabled = true
}

command {
enabled = true

options {
	alert {
		enabled = true
		aliases = ["alert"]
	}
	
	find {
		enabled = true
		aliases = ["find"]
	}
	
	info {
		enabled = true
		aliases = ["info"]
	}
	
	glist {
		enabled = false
		aliases = ["glist"]
	}
	
	message {
		enabled = true
		aliases = ["message", "msg", "tell", "whisper"]
	}

	reply {
		enabled = true
		aliases = ["reply", "r"]
	}
	
	send {
		enabled = true
		aliases = ["send"]
		}
	}
}

connectmessages {
enabled = true

# If true, when a player has the permissions neutron.silentjoin or neutron.silentquit, Neutron
# will hide their join or quit messages respectively.
allow-silent-join-quit = true

# Join and quit messages can be configured in the locale file.
}

locale {
enabled = true

allow-translations = true

fallback-locale = "en_US"
}

serverlist {
enabled = true

motd = "&7This velocity proxy is proudly powered by &bNeutron"

player-count {
	# The server list player count has three different actions:
	# 
	# CURRENT - player count matches the number of players online
	# ONEMORE - player count shows the number of players online plus 1 
	# PING - player count shows the sum of all backend servers' max player counts. Cached every 5 minutes
	# STATIC - player count will always be the number defined under `player-count`
	#
	# `player-count` is only used with the STATIC player count type
	action = "PING"
	
	player-count = 500
}

server-preview {
    # The server list preview has three different actions:
	# 
	# MESSAGE - preview will show the messages defined under `messages`
	# PLAYERS - preview matches the vanilla server preview of showing online players
	# EMPTY - preview is empty
	#
	# `messages` is only used with the MESSAGE preview type
	action = "MESSAGE"
	
	messages = [
		"&7Powered by a &bNeutron"
	]
}
}

user {
# Default settings for the console user
console {
    name = "Console"
    }

# Advanced settings controlling how users are kept in memory
cache {
    # Maximum number of users to keep loaded
    max-size = 100

    # How long after its last access a user should stay loaded in minutes
    expiry = 30
    }
}`

Locale

`alert_message = "&7&l[&c&lALERT&7&l] &e{0}"

connect_join_message = "&b{0} &7joined the network"
connect_quit_message = "&b{0} &7left the network"

find_message = "&b{0} &7is connected to &b{1}"

info_header = "&l&7==> Information for player = &b{0}"
info_locale = "&7Locale = &b{0}"
info_ping = "&7Ping = &b{0}"
info_server = "&7Current Server = &b{0}"
info_uuid = "&7Unique Id = &b{0}"
info_version = "&7Minecraft Version = &b{0}"

invalid_usage = "&cUsage = {0}"

list_header = "&aThere are currently &b{0} &aplayers online\n&7&oHover over a server to see 	the players online"
list_message = "&a[{0}] &e{1} online"

message_sender = "&b&lme » {0} &7> &o"
message_receiver = "&b&l{0} » me &7> &o"

no_permission = "&cYou don't have permission to execute this command."
not_connected_to_server = "&cYou must be connected to a server to use this subcommand."

reply_no_recipient = "&cYou don't have anyone to reply to."

send_all = "&aAll players have been sent to &b{0}"
send_current = "&aAll players from your current server have been sent to &b{0}"
send_message = "&aYou have been sent to &b{0}"
send_player = "&b{0} &ahas been sent to &b{1}"

player_offline = "&c{0} is currently offline."
player_only_command = "&cOnly players can use this command."
player_only_subcommand = "&cOnly players can use this subcommand."

unknown_player = "&cUnknown player = {0}"
unknown_server = "&cUnknown server = {0}"`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions