Coder Social home page Coder Social logo

camphqmc / serverchatheads Goto Github PK

View Code? Open in Web Editor NEW
9.0 0.0 3.0 56 KB

Use player heads in chat and more via placeholders! Credits to CatDevz for making the original Minestom code.

License: Other

Java 100.00%
polymer fabric fabric-mod minecraft minecraft-mod quilt quilt-mod polymer-mod serverside-mod

serverchatheads's People

Contributors

campersamu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

meoowe unilock

serverchatheads's Issues

Server crash

When start pre-gen world and then join server is crash

Log https://cdn.hynse.net/public/logs/mc-crash-2024-02-06_12_52_15-server.txt

Edit: after restart server skin not load
image

[13:07:35] [Server thread/INFO] (owo) Sending server config values to client
[13:07:35] [Server thread/INFO] (class_2983) [STDOUT]: Ce : player joined, pausing chunky
[13:07:35] [Server thread/INFO] (MinecraftServer) [Chunky] Task paused for minecraft:overworld.
[13:07:35] [Server thread/INFO] (arte) Applying pack to player xEglyvihbs
[13:07:35] [Server thread/INFO] (voicechat) [voicechat] Using Fabric Permissions API
[13:07:35] [Thread-36/WARN] (class_3324) Failed to get image for xEglyvihbs
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]: javax.imageio.IIOException: Can't get input stream from URL!
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1407)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at net.minecraft.class_3324.chatheads$getPlayerHead(class_3324.java:7038)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at net.minecraft.class_3324.md1a17a6$chatheads$lambda$chatheads$invokeDownloadOnJoin$0$1(class_3324.java:7020)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1228)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at net.minecraft.class_3324.md1a17a6$chatheads$lambda$chatheads$invokeDownloadOnJoin$1$0(class_3324.java:7020)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/java.lang.Thread.run(Thread.java:1583)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]: Caused by: java.net.SocketException: Connection reset
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:318)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:291)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:347)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:759)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:786)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1690)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1599)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.base/java.net.URL.openStream(URL.java:1325)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1405)
[13:07:35] [Thread-36/INFO] (class_2983) [STDERR]:      ... 5 more
[13:07:35] [Server thread/INFO] (MinecraftServer)    xEglyvihbs joined the game
[13:07:35] [Chunky-minecraft:overworld Thread/INFO] (MinecraftServer) [Chunky] Task stopped for minecraft:overworld.
[13:07:35] [Server thread/INFO] (class_3324) Async chunk loading for player xEglyvihbs completed
[13:07:36] [Server thread/WARN] (class_3244) Ignoring chat session from xEglyvihbs due to missing Services public key
[13:07:40] [Server thread/WARN] (MinecraftServer) Can't keep up! Is the server overloaded? Running 3082ms or 61 ticks behind
[13:07:48] [Server thread/INFO] (MinecraftServer)    xEglyvihbs: .
[13:07:51] [Server thread/INFO] (MinecraftServer)    xEglyvihbs: a
[13:08:36] [Server thread/INFO] (class_3898) Changing watch distance to 13
[13:08:36] [Server thread/INFO] (class_3898) Changing watch distance to 13
[13:08:36] [Server thread/INFO] (class_3898) Changing watch distance to 13```

Heads not displaying properly

@CamperSamu I just installed the mod onto my fabric 1.20.4 server. I use styled chat for chat formatting and in the config file I use the %chatheads:player% placeholder when a player sends a message.

 "chat": "%chatheads:player% <green>${player}</green> : ${message}",

When I send a message, it looks like this
Screenshot 2024-01-01 214905

Instead of a combined head

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.