Comments (13)
Edit: it seems it will load someone once they login. It doesnt load anyone that was logged already when installed. Am I correct in saying this?
Nope, anybody should be eligible really. However, did all 259 people join in the last week? If they are from old server versions (before 1.13), they may not appear until they log in and their data is upgraded by the server. Or did you maybe use a --min-playtime
and they simply didn't play that long?
How can I get a space in server name when doing --server-name. If I add a space to server name it wont work
Put it in quotes, e.g., --server-name "A name with spaces"
.
from minecraftstats.
Edit: it seems it will load someone once they login. It doesnt load anyone that was logged already when installed. Am I correct in saying this?
Nope, anybody should be eligible really. However, did all 259 people join in the last week? If they are from old server versions (before 1.13), they may not appear until they log in and their data is upgraded by the server. Or did you maybe use a
--min-playtime
and they simply didn't play that long?How can I get a space in server name when doing --server-name. If I add a space to server name it wont work
Put it in quotes, e.g.,
--server-name "A name with spaces"
.
Server was started on 1.14.2 everyone joined in the past 2 weeks yes. It's not loading some people. Min playtime is 60mins, but the people have over that I'll do the quotes thanks. Amazing thing you made here, really impressed with it
from minecraftstats.
Amazing thing you made here, really impressed with it.
Thank you! :-)
Server was started on 1.14.2 everyone joined in the past 2 weeks yes. It seems to load them once they relogged if I installed the stats while they were online so no issues there.
Hm, it's still strange and shouldn't be this way. Is there any log output that may hint that something's wrong?
What the script does to find players first is scan the server's usercache.json
to map UUIDs and names. Are the affected players in that JSON file? If they aren't, they will be added once they relog, so that may be one cause.
After that, the script checks for statistic JSON files for each known UUID, but any player who ever joined the server will have a JSON file, so this shouldn't fail.
from minecraftstats.
Amazing thing you made here, really impressed with it.
Thank you! :-)
Server was started on 1.14.2 everyone joined in the past 2 weeks yes. It seems to load them once they relogged if I installed the stats while they were online so no issues there.
Hm, it's still strange and shouldn't be this way. Is there any log output that may hint that something's wrong?
What the script does to find players first is scan the server's
usercache.json
to map UUIDs and names. Are the affected players in that JSON file? If they aren't, they will be added once they relog, so that may be one cause.After that, the script checks for statistic JSON files for each known UUID, but any player who ever joined the server will have a JSON file, so this shouldn't fail.
I edited my comment as you were replying oops. "everyone joined in the past 2 weeks yes. It's not loading some people. Min playtime is 60mins, but the people have over that"
from minecraftstats.
Ok just checked. Someone logged in, i ran update.py and they didnt appear. They relogged and i ran it again and they appeared. After running it the second time I see this "updating skin for xX_Brassman_Xx ...
"
from minecraftstats.
Hm well, the only idea I have right now is that the players aren't contained in the usercache.json
for some reason and they only appear in there after relogging. Could you check if there are any players who appear in the usercache.json
but not in the stat browser?
from minecraftstats.
Where is that file located? It’s not located in root of the folder
from minecraftstats.
It should be in your server's folder - same as the Minecraft server jar, not Minecraft Stats.
from minecraftstats.
The guy who isn’t displayed isn’t in usercache.json. His name is weedsmoker419
from minecraftstats.
OK, then that's the issue.
That file is maintained by the server to resolve player IDs to names. Minecraft Stats uses it for the same purpose.
If somebody doesn't show up there and isn't in the stats database yet, he won't be found until he logs into the server and is added to that file (possibly with some delay as for your Brassman example).
The cache entries usually a take a few weeks to expire, so not sure why your players aren't in there anymore. Maybe the file was deleted for some reason? Anyway, it's nothing that I can fix as it's part of the Minecraft server. You'll have to wait for your players to relog then. :\
(I could get the player name for an ID from the Mojang servers like I do for skins, but that would be too expensive to do every time update.py
is used)
from minecraftstats.
OK, then that's the issue.
That file is maintained by the server to resolve player IDs to names. Minecraft Stats uses it for the same purpose.If somebody doesn't show up there and isn't in the stats database yet, he won't be found until he logs into the server and is added to that file (possibly with some delay as for your Brassman example).
The cache entries usually a take a few weeks to expire, so not sure why your players aren't in there anymore. Maybe the file was deleted for some reason? Anyway, it's nothing that I can fix as it's part of the Minecraft server. You'll have to wait for your players to relog then. :\
(I could get the player name for an ID from the Mojang servers like I do for skins, but that would be too expensive to do every time
update.py
is used)
Nah I never deleted it . Is there a way to add people manually? Also thanks for the fast replies, appreciate the support
from minecraftstats.
Is there a way to add people manually?
Not yet, but I opened #46 for that (name may be a bit cryptic :-D ). Won't get to implementing it before next week I'm afraid.
from minecraftstats.
They have shown up now
from minecraftstats.
Related Issues (20)
- 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 7
- Player name cannot be displayed properly using MultiLogin HOT 2
- Event winner not shown in summary HOT 2
- all stats have nobody as best HOT 2
- Problem with player recognition on Offline-server HOT 6
- Usage of Plan webserver rather than Dynmap or others HOT 1
- Hook into Litebans Bans
- Posibility to port to Fabric
- Console "spam" on data refresh
- Error on new CLI HOT 2
- Debug Logging
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.