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

Release 1.0.4 error #27

Open
ChefMC opened this issue Jan 13, 2024 · 3 comments
Open

Release 1.0.4 error #27

ChefMC opened this issue Jan 13, 2024 · 3 comments

Comments

@ChefMC
Copy link

ChefMC commented Jan 13, 2024

After updating from 1.0.4-SNAPSHOT to just 1.0.4 (from GitHub releases page) I getting this startup error:

[23:20:05 WARN] [net.elytrium.fastmotd.thirdparty.serializer.language.reader.YamlReader]: Skipping node prefix due to missing field
[23:20:05 ERROR]: Couldn't pass ProxyInitializeEvent to fastmotd
java.lang.IllegalStateException: Got unknown marker when reading map: n
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.YamlReader.readMapFromMarker(YamlReader.java:455) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.YamlReader.readMap(YamlReader.java:255) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readMap(AbstractReader.java:335) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readMapByType(AbstractReader.java:285) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readByType(AbstractReader.java:210) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readAndDeserializeByType(AbstractReader.java:176) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readNode(AbstractReader.java:135) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.YamlReader.readSerializableObject(YamlReader.java:137) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readByType(AbstractReader.java:239) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readAndDeserializeByType(AbstractReader.java:176) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readNode(AbstractReader.java:135) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.YamlReader.readSerializableObject(YamlReader.java:137) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readByType(AbstractReader.java:239) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readAndDeserializeByType(AbstractReader.java:176) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readNode(AbstractReader.java:135) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.YamlReader.readSerializableObject(YamlReader.java:137) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.reader.AbstractReader.readSerializableObject(AbstractReader.java:76) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.object.AbstractSerializable.load(AbstractSerializable.java:119) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.object.AbstractSerializable.load(AbstractSerializable.java:108) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.serializer.language.object.AbstractSerializable.reload(AbstractSerializable.java:75) ~[?:?]
        at net.elytrium.fastmotd.FastMOTD.reload(FastMOTD.java:145) ~[?:?]
        at net.elytrium.fastmotd.FastMOTD.onProxyInitialization(FastMOTD.java:141) ~[?:?]
        at net.elytrium.fastmotd.Lmbda$4.execute(Unknown Source) ~[?:?]
        at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
        at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:597) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
        at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:478) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]

config.yml:

version: "1.0.4-SNAPSHOT"
# Available serializers:
# LEGACY_AMPERSAND - "&c&lExample &c&9Text".
# LEGACY_SECTION - "§c§lExample §c§9Text".
# MINIMESSAGE - "<bold><red>Example</red> <blue>Text</blue></bold>". (https://webui.adventure.kyori.net/)
# GSON - "[{"text":"Example","bold":true,"color":"red"},{"text":" ","bold":true},{"text":"Text","bold":true,"color":"blue"}]". (https://minecraft.tools/en/json_text.php/)
# GSON_COLOR_DOWNSAMPLING - Same as GSON, but uses downsampling.
serializer: LEGACY_AMPERSAND
prefix: "FastMOTD &6>>"

main:
  version-name: "Mine.by"
  descriptions:
    - "&a▛&2▜ &7&lИГРАЙ НА &c&lMINE&a&l.BY&7!{NL}&2▙&a▟ &2Версия игры: &c1.8 &2-&c 1.16.5"
  favicons:
    - "server-icon.png"
  information:
    - "&aДавай к нам!"
  # How frequently online player count will be updated (in ms)
  update-rate: 3000
  # VARIABLE - from max-count parameter
  # ADD_SOME - will add up the number from max-count parameter to current online players amount
  max-count-type: VARIABLE
  max-count: 75000
  fake-online-add-single: 0
  fake-online-add-percent: 0
  # Accepted values: from 0.0 to 1.0.
  # Keep this value as low as possible
  # Set -1 to disable PNG recompression
  png-quality: 0.0
  log-pings: false
  # Separate MOTDs/favicons/information for different protocol versions
  # See https://wiki.vg/Protocol_version_numbers
  versions:
    # null = disabled
    descriptions: null
    # null = disabled
    favicons: null
    # null = disabled
    information: null
  domains:
    example.com:25565:
      description:
        - "Description for example.com"
      favicon:
        - "server-icon.png"
      information:
        - "Information for example.com"

maintenance:
  maintenance-enabled: false
  show-version: true
  should-kick-on-join: true
  kick-whitelist:
    - "127.0.0.1"
  kick-message: "&6Ведутся технические работы. &eПожалуйста, зайдите позже"
  version-name: "Технические работы"
  descriptions:
    - "&cMine&a.by&r | &6Ведутся технические работы"
  favicons:
    - "server-icon.png"
  information:
    - "&eСвязаться с нами:"
    - "&bhttps://mine.by/support"
  # -1 = disabled
  override-online: -1
  # -1 = disabled
  override-max-online: -1
  # Separate MOTDs/favicons/information for different protocol versions
  # See https://wiki.vg/Protocol_version_numbers
  versions:
    # null = disabled
    descriptions: null
    # null = disabled
    favicons: null
    # null = disabled
    information: null
  domains:
    example.com:25565:
      description:
        - "Description for example.com"
      favicon:
        - "server-icon.png"
      information:
        - "Information for example.com"
  command:
    usage: "{PRFX} Формат: &6/maintenance <off|on|toggle>"

shutdown-scheduler:
  # Server will stop accepting new connections
  shutdown-scheduler-enabled: false
  # Server will shut down after everyone has left the server
  shutdown-on-zero-players: false
  whitelist:
    - "127.0.0.1"
@ChefMC
Copy link
Author

ChefMC commented Jan 13, 2024

Before updating plugin I was get this error:

[23:23:16 ERROR] [fastmotd]: ****************************************
[23:23:16 WARN] [fastmotd]: The new FastMOTD update was found, please update.
[23:23:16 ERROR] [fastmotd]: https://github.com/Elytrium/FastMOTD/releases/
[23:23:16 ERROR] [fastmotd]: ****************************************
[23:23:16 ERROR]: Couldn't pass ProxyInitializeEvent to fastmotd
java.lang.NoSuchMethodError: 'com.velocitypowered.proxy.protocol.packet.Disconnect com.velocitypowered.proxy.protocol.packet.Disconnect.create(net.kyori.adventure.text.Component, com.velocitypowered.api.network.ProtocolVersion)'
        at net.elytrium.fastmotd.FastMOTD.lambda$reload$0(FastMOTD.java:202) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.fastprepare.PreparedPacket.prepare(PreparedPacket.java:132) ~[?:?]
        at net.elytrium.fastmotd.thirdparty.fastprepare.PreparedPacket.prepare(PreparedPacket.java:118) ~[?:?]
        at net.elytrium.fastmotd.FastMOTD.reload(FastMOTD.java:202) ~[?:?]
        at net.elytrium.fastmotd.FastMOTD.onProxyInitialization(FastMOTD.java:142) ~[?:?]
        at net.elytrium.fastmotd.Lmbda$4.execute(Unknown Source) ~[?:?]
        at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
        at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:597) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
        at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:478) ~[velocity-3.3.0-SNAPSHOT-320.jar:3.3.0-SNAPSHOT (git-08c03aae-b320)]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]

@ChefMC
Copy link
Author

ChefMC commented Jan 13, 2024

Velocity version is 3.3.0-SNAPSHOT-320

@ChefMC
Copy link
Author

ChefMC commented Jan 14, 2024

On Velocity 3.2.0 all working fine, but it's outdated and LimboAPI/LimboFilter doesn't support it

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

1 participant