Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

11.0.4-BETA: Failed to start #2934

Open
cayoten opened this issue Dec 24, 2024 · 2 comments
Open

11.0.4-BETA: Failed to start #2934

cayoten opened this issue Dec 24, 2024 · 2 comments

Comments

@cayoten
Copy link

cayoten commented Dec 24, 2024

Are you using MySQL?

No

Are you using a proxy?

No

"/version ChatControlRed" - plugin version

11.0.4-BETA

Optional: Error log

NA

ZIP of "/chc debug"

NA

Steps to reproduce

Start the plugin, and view the error below:

[21:12:20 INFO]: [ChatControl] Enabling ChatControl v11.0.4-BETA
[21:12:20 INFO]: [ChatControl]  ____ _  _ ____ ___ ____ ____ _  _ ___ ____ ____ _     
[21:12:20 INFO]: [ChatControl]  |    |__| |__|  |  |    |  | |\ |  |  |__/ |  | |    
[21:12:20 INFO]: [ChatControl]  |___ |  | |  |  |  |___ |__| | \|  |  |  \ |__| |___
[21:12:21 INFO]: org.mineacademy.chatcontrol.lib.exception.FoException: Report: Server name can only contains alphanumeric characters, '_' and '-'.
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.ValidCore.checkBoolean(ValidCore.java:73)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.platform.FoundationPlatform.setCustomServerName(FoundationPlatform.java:186)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.platform.Platform.setCustomServerName(Platform.java:410)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.settings.Settings.loadProxySettings(Settings.java:1259)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.settings.Settings.init(Settings.java:1202)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.settings.YamlStaticConfig.invokeMethodsIn(YamlStaticConfig.java:143)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.settings.YamlStaticConfig.invokeAll(YamlStaticConfig.java:121)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.settings.YamlStaticConfig.invokeInitMethods(YamlStaticConfig.java:107)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.settings.YamlStaticConfig.load(YamlStaticConfig.java:65)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.platform.AutoRegisterScanner.registerSettings(AutoRegisterScanner.java:233)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.platform.AutoRegisterScanner.scanAndRegister(AutoRegisterScanner.java:94)
[21:12:21 INFO]:        at ChatControl-11.0.4-BETA.jar//org.mineacademy.chatcontrol.lib.platform.BukkitPlugin.onEnable(BukkitPlugin.java:385)
[21:12:21 INFO]:        at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202)
[21:12:21 INFO]:        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109)
[21:12:21 INFO]: [ChatControl]     ___                  _ 
[21:12:21 INFO]: [ChatControl]    / _ \  ___  _ __  ___| |
[21:12:21 INFO]: [ChatControl]   | | | |/ _ \| '_ \/ __| |
[21:12:21 INFO]: [ChatControl]   | |_| | (_) | |_) \__ \_|
[21:12:21 INFO]: [ChatControl]    \___/ \___/| .__/|___(_)
[21:12:21 INFO]: [ChatControl]              |_|          
[21:12:21 INFO]: [ChatControl] !-----------------------------------------------------!
[21:12:21 INFO]: [ChatControl]  Error loading ChatControl v11.0.4-BETA, plugin is disabled!
[21:12:21 INFO]: [ChatControl]  Running on Paper 1.21.4-R0.1-SNAPSHOT & Java 21.0.2
[21:12:21 INFO]: [ChatControl] !-----------------------------------------------------!
[21:12:21 INFO]: [ChatControl]  Error: Report: Server name can only contains alphanumeric characters, '_' and '-'.
[21:12:21 INFO]: [ChatControl] !-----------------------------------------------------!
@Provant15
Copy link

I've also received this - same issue. I've ensured both server name and MOTD does not contain any characters other than alphanumeric.

@cayoten
Copy link
Author

cayoten commented Dec 25, 2024

In the new proxy.yml, you need to set a "Server Name" that's one word, and not connecting. It's on line 16 detailed in the photo below. I set mine to "NestCraft".

image

It would be nice if this was clarified on startup, or automatically set to something like "My-Server".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants