Comments (17)
from webstats.
Hi, since the database column containing the UUIDs is named uuid, you'll need to do - [uuid, uuid]
. The second element in the list (column
in the example) is the name of the database column to use. Does that help you?
from webstats.
from webstats.
Should it create a player column in this table and write a nickname there?
from webstats.
[10:09:10] [Server thread/INFO]: [WebStats] Enabling WebStats v1.5.0
[10:09:10] [Server thread/INFO]: [WebStats] Enabled scoreboard source
[10:09:10] [Server thread/INFO]: [WebStats] Connected to database 21_site
[10:09:10] [Server thread/INFO]: [WebStats] Enabled database source
[10:09:10] [Server thread/INFO]: [WebStats] Web stats server started on port 3306
from webstats.
It does not write to the database, the conversion from uuid to player name happens "on the fly", when someone accesses the webpage.
The console output looks alright. It really should work when you look at the webpage. Does it give any warnings in the console when you load the webpage? (when you haven't set that up yet you can instead use IP:PORT/stats.json
)
from webstats.
This was my last hope for the plugin I needed to add a player name column with uuid.
from webstats.
The fact is that I'm not very interested in the web, I really liked that placeholders could be transferred to the database
from webstats.
And also because I have a website that needs a nickname to connect the economy plugin
from webstats.
Ah that was your intention. The goal of WebStats is purely to read data from sources on the Minecraft server and "write" that data to the web, not between sources on the Minecraft server. What you want is not something WebStats can do, and not something I have planned for it.
If you really can not find anything that does what you want, I may be able to write a small custom plugin for you. If you would like me to, please concretely specify what exactly you want and I'll see what I can do for you ๐
from webstats.
It will be wonderful. Almost all normal economy plugins are made for uuid, but my site only accepts a nickname to synchronize currency between servers and site
from webstats.
I thought different methods, I thought that it is possible to somehow embed a placeholder there, for example% player_name%, but this does not completely fix the problem :(. But the idea of โโconverting offlineuuid to nickname from the uuid column to username seems to be much better
from webstats.
Ok, some questions:
- to clarify, your server is in offline mode?
- with nickname, do you mean ingame name or really the nickname? (might be an EssentialsX thing? Often indicated with
~
) - so you essentially need a database table with UUID/nickname combinations so your website can look up the nickname for a given uuid?
from webstats.
yes, the server is offline. I have CMI instead of EssentialX. Like this% player_name%, game nickname. The site can only connect to a table with columns nickname and balance, the name of the columns can be changed. And the economy plugin to uuid and balance (pocket - column). It is necessary that in one table there should be uuid and username and pocket (balance).
Economy plugin called MZP-Economy and MZP-Core API
from webstats.
the nickname is the same in the game and on the site. You can also register on the site and go to the server or register on the server and go to the site. Shared account
from webstats.
I think I found another way to fix it, I'll have to change the code
from webstats.
Okay, I'll close this issue then. If you can't make it work, feel free to comment here again!
from webstats.
Related Issues (20)
- 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
- Stats not updating HOT 11
- 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
- SkinRestorerAPI not initialized HOT 6
- disabling skins breaks the website HOT 2
- https issue HOT 2
- Citizens NPCs listed in Webstats HOT 5
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.