Comments (11)
Hi, are you sure that the statistic sources you have selected are actually populated? For the scoreboard you can check by displaying the scoreboard objective in the sidebar, for PlaceholderAPI you can check by running /papi parse me %placeholder%
. If this doesn't show the statistics then that's the problem.
Otherwise, can you upload you config file here? (btw, merry Christmas :)
from webstats.
Hey, thanks for getting back.
Running /papi parse me %placeholder%.
gives only the placeholder as a response, with no statistics/data.
In any case, I selected Deaths as the only statistic in the column so far and it shows no results, even when I intentionally trigger a player death. I have attached my config file. (GitHub doesn't support native .yml so I have to compress it as a .zip)
Merry Christmas to you too! 😄
from webstats.
In the columns you specify which columns should show, not which statistics are actually gathered. That is configured further down in the file, under "objectives" and "placeholders". By default, WebStats will gather all available scoreboard objectives (that's the "*" under objectives). (I'll admit that the config file has become quite confusing/convoluted after adding so many features over the years)
Now, I think you don't have anything installed that gives any statistic. The vanillatweaks datapacks "track statistics" and "track raw statistics" put the Deaths statistic on the scoreboard, along with many more. When you have added those datapacks, WebStats should display the Deaths statistic with your current config. Hope this helps!
from webstats.
Hey, thanks for clarifying.
I have installed both datapacks from VanillaTweaks (Track Statistics and Track Raw Statistics) and restarted the server but the page still isn't updating.
This is the output when I checked what the datapacks were tracking:
Could I be missing something? Do I need to set up the datapack further? (I assumed it was plug and play)
Could I also suggest putting a requirement in this wiki to say that these datapacks are a necessary requirement? 😅
from webstats.
If you display the scoreboard objective on the sidebar (I think it's called ts_deaths
: /scoreboard objectives setdisplay sidebar ts_deaths
), does it show the amount of deaths? These datapacks only track statistics starting from the moment they are installed, so you may need to trigger a death :)
Thanks for the suggestion, I will see where I can put this in the wiki (probably multiple pages). These datapacks aren't directly required though. WebStats is just meant to display statistics that are already gathered (and I mean statistics in general, not the ones on the statistics screen in-game). You just need some plugin or datapack that provides statistics.
from webstats.
So I checked in-game and it shows the deaths, but on the web it's still not showing 🤔
from webstats.
Can you open ip:port/stats.json
in your browser and see if the stats are present there?
from webstats.
Hey,
Server IP right? Nothing is found. :-/
from webstats.
The same ip and port you entered in index.html
. If that doesn't return anything there may be an error in the server console.
from webstats.
There is an output/I can see player names and online players in scoreboard, but there doesn't seem to be any stats present.
example:
{
"online": {
"Maarloo": true,
"Bacenzz": true,
"ItzRainbowMC": true
},
"scoreboard": {
"entries": [
"buseton",
"stikybamboo",
"MeijoGG",
"#continue",
"100000",
"Dinosymptom",
"Bacenzz",
"beugy",
"Steeno44",
"ArchydaCookie",
"buyonly",
"skils_",
"Maarloo",
"0PedroSantos0",
"AugustForster45",
"Siga_TBH",
"Ethanyapl7",
"#steps",
"catgifmax",
"MIGHTBEMEISTA",
"Djenssen12",
"Autismo_Veggies",
"FoxRio",
"killerpanda993",
"kyuch",
"100",
"_V_O_V_",
"1200",
"klevmeister",
"#doTileDrops",
"ItzRainbowMC"
],
"columns": [],
"scores": {}
},
"playernames": [
"MIGHTBEMEISTA"
],
"units": {}
}```
from webstats.
I really don't know what is going on. It does find a list of players that have scores on the scoreboard, but not the actual scores...
I can't reproduce this behaviour on a new/clean paper 1.20.4-355
server with WebStats 1.10.0
and using your uploaded config file, maybe you're running a weird server version or some other plugin is messing with it?
from webstats.
Related Issues (20)
- Sorting direction indicator
- Expose saved `stats.csv` to web
- In-cell bar graph
- How to create? And step-by-step config generator HOT 14
- Column ordering does not seem to work HOT 2
- Zero-values gives errors or empty cells HOT 8
- TypeError: this.rows.get(...) is undefined HOT 3
- Column unit display improvements
- Warn about soon-to-expire TLS certificate
- Discord webhook does not update HOT 5
- Set icon for Discord Webhook HOT 1
- Webpage show nothing but Compact, hide players and "loading..." HOT 7
- Custom player names and server row improvements HOT 7
- SkinsRestorer integration
- Command to remove stored placeholders for player
- Question about serve-webpage HOT 1
- Config item to define "empty" text per placeholder
- I don't have any data of players's stats HOT 2
- Automatic TLS certificate renewal using acme.sh
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 webstats.