Comments (6)
but then that shows the BadWolfMC: An Adult Minecraft Server as the overall page name in the tab.
That's because the server name is inserted into the <title>
tag of the webserver. If anything, this would be a browser issue, because I do not believe the client script should be responsible for parsing the actual content out of that string.
In any event, the server name is not meant to contain HTML.
My actual MOTD uses MiniMessage gradients (https://gyazo.com/8200c356b9d6157128a62ff866454cea), which as mentioned did show correctly in the previous version of MinecraftStats.
Would you give me the MOTD from your server.properties
so I can properly test this?
from minecraftstats.
I confused myself before, I'm on a Bungee/Waterfall setup and my Bungee MOTD is in MiniMessage using a plugin that gives the pretty MOTD.
My MOTD in server.properties
for all of the Paper servers was motd=§9Create yourself @ §awww.badwolfmc.com§3\!
I enter this as \u00A79Create yourself @ \u00A7awww.badwolfmc.com\u00A73!
and it automatically converts it on server restart to the section symbol. This is what is giving the bugged image I linked first.
I also wondered if, since I'm using multiple Paper servers as data source, if something is happening trying to combine the MOTDs or something? They are otherwise all the same on all the servers.
from minecraftstats.
I also wondered if, since I'm using multiple Paper servers as data source, if something is happening trying to combine the MOTDs or something? They are otherwise all the same on all the servers.
No, MinecraftStats gets the first MOTD that it finds, so if you use BungeeCord and have multiple sources configured, the first source that has a server.properties
with a MOTD set will determine the MOTD displayed in the web frontend.
My MOTD in
server.properties
for all of the Paper servers wasmotd=§9Create yourself @ §awww.badwolfmc.com§3\!
I enter this as\u00A79Create yourself @ \u00A7awww.badwolfmc.com\u00A73!
and it automatically converts it on server restart to the section symbol. This is what is giving the bugged image I linked first.
When I use motd=§9Create yourself @ §awww.badwolfmc.com§3\!
, it turns into motd=\u00C2\u00A79Create yourself @ \u00C2\u00A7awww.badwolfmc.com\u00C2\u00A73\!
once I start the server (Spigot). The \u00C2
is the encoding for the character Â
that we see in your first image. I don't know why Spigot / Paper (maybe even vanilla) do this, but this seems like a bug in the server to me, nothing I would be fixing in MinecraftStats.
If I use motd=\u00A79Create yourself @ \u00A7awww.badwolfmc.com\u00A73!
, everything works fine for me in version 3.2.0, which fixes any trouble caused by the "section symbol" (§
).
from minecraftstats.
Hi i have a motd like \u00a76=== Conterstine Subs [PBE-DEV] ===\u00a7r\n\u00a79Furro Power\u00a7r - \u00a7aMantenido por @MrDoc94
but when reload the paper server (1.21.1) turns into §6\=\=\= Conterstine Subs [PBE-DEV] \=\=\=§r\n§9Furro Power§r - §aMantenido por @MrDoc94
and fail to load
from minecraftstats.
This may be fixed by 3.3.0.
from minecraftstats.
Testes in latest version and still has the error.
The site show this in console.
and the issue is the motd format.
from minecraftstats.
Related Issues (20)
- Minecraft 1.20 HOT 1
- Distance ridden on camels is counted against horses
- Excluding players by name pattern
- Disabling stats in the plugin
- data → unpackWebFiles is ignored HOT 1
- JSON.parse: bad control character in string literal HOT 9
- BlueMap webserver support HOT 1
- Events have invalid end date
- Error trying to parse BlueMap config in Paper HOT 4
- Active players JSON not generated when there are no players HOT 1
- Handling /tick HOT 2
- Server motd with non-ascii characters can't be processed properly HOT 2
- Integrated Webserver for the Plugin HOT 2
- squaremap webserver support. HOT 1
- Subtract number of broken blocks from number of placed blocks HOT 2
- Awards with different Values HOT 1
- [Bug] java.lang.NoClassDefFoundError: net/skinsrestorer/api/SkinsRestorerAPI HOT 9
- Player name cannot be displayed properly using MultiLogin HOT 2
- Event winner not shown in summary HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraftstats.