Comments (15)
Hmm interesting. Taking a look now.
from mc-status-widget-for-minecraft.
As far as I’m aware, the enable-query is disabled on the server. But I can double check with the server owner.
from mc-status-widget-for-minecraft.
Ah, my bad. The enable query is set to true. Just confirmed with the server owner.
Edit: I’ve updated the post to more accuratly describe the issue.
from mc-status-widget-for-minecraft.
I’ve updated the imgur link to include a screenshot with a player online.
from mc-status-widget-for-minecraft.
So it looks like a bug in the API i am using: https://api.mcsrvstat.us/1/waifu-technologies.moe
for some reason it is returning that enable-query is turned off on the server, but returning the list of names anyway. I have contacted the API owner to see if i can get some more info on whats going on.
from mc-status-widget-for-minecraft.
Sounds great, let's hope we can get it resolved :)
It's a small issue anyway, but still something that needs a fix.
from mc-status-widget-for-minecraft.
Can you by any chance ask the server owner if in his server.properties list he has
query.port=25565
if not can he add it and if it is set to a different port set it to 25565 and restart the server?
Thanks!
from mc-status-widget-for-minecraft.
Server owner here, is that TCP or UDP?
from mc-status-widget-for-minecraft.
actually both. The server status is pulled over the TCP ping protocol
http://wiki.vg/Protocol
and the user list is pulled over UDP using the query protocol
http://wiki.vg/Query
from mc-status-widget-for-minecraft.
Oh, in that case just opening up the UDP side of it in my firewall should do the trick.
from mc-status-widget-for-minecraft.
That seems to have fixed the issue. An error regarding that would be nice though ;)
from mc-status-widget-for-minecraft.
It's pretty hard to accurately determine if something isn't listening on the port, if it's null routed, or just not open in the firewall. For example my firewall is configured to just drop the packet, instead of rejecting it.
The easiest way is to just list multiple possible reasons and let users go over them before having to open a bug report.
from mc-status-widget-for-minecraft.
That is indeed an option.
But as he was able to still retrieve the player names, while still giving out an error that enable-query needed to be true, it should be needed to showcase the error regarding setting enable-query to true anyway. Simply only look at the array of player names, that should already be sufficient afaik.
from mc-status-widget-for-minecraft.
Yea this is a bit complicated. Feiko is right. it appears UDP is not actually required to get the list of players. The first thing i am going to do is check the list of players and show them in the app even if query is set to false.
The problem is for servers that have UDP turned off but have no players on the server. In that state there is no way to know if enable-query is on and UDP is off(Which is fine), or if enable-query is just turned off.
I think i will update it so that in that case there is no message/error shown unless there are people on the server but we are still unable to get the list of players.
from mc-status-widget-for-minecraft.
fixed in commit de0332b
from mc-status-widget-for-minecraft.
Related Issues (20)
- Certain Server Issues HOT 4
- Feature request: notifications HOT 1
- IOS 14 widget style HOT 4
- Notification Option HOT 1
- How can I get the pre macos 11 version? HOT 2
- “Offline” doesn’t show correctly in the widget. HOT 3
- MC Status Widget not Working HOT 2
- Feature Request - Apple Watch app/complication support HOT 8
- Add bedrock server support in app HOT 5
- Bedrock Server Status Support HOT 1
- Terminal HOT 2
- iCloud Syncing Support HOT 2
- Fetching incorrect port HOT 4
- Lockscreen Widget Support HOT 1
- Add Server banners HOT 3
- Format MOTD HOT 1
- Feature Request - Minecraft plugin or standalone app for push notifications and analytics HOT 1
- Display issue HOT 1
- Display issue
- Monitoring bedrock server not possible on macOS
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 mc-status-widget-for-minecraft.