question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an option to return completely empty "players":[] lists in (Internal/JsonFile)ClientUpdateComponent

See original GitHub issue

Hello. In our map, we are hidden the player list completely by removing handlers from JS. But the list is still can be accessed anyway via making a custom request to the [internal] web server, and that server every time responds with a JSON that contains ..., "players": [{..., "account": "Player name"}, ...] list so every player can see full list of connected players (vanished too).

I think that this is a security/privacy issue and it should be fixed

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
molorcommented, Jan 13, 2022

Hmm, I was set it to false and now it’s return an empty list, exactly what I’m needed… so I’m wasted two months instead of… but I don’t have hiddenplayers.txt file inside dynmap folder and that’s why I didn’t know about this /:

Anyway, thanks @generrosity, I think that now this issue can be closed

0reactions
generrositycommented, Dec 4, 2021

Looking in the config - you could have a empty ‘whitelist’ of users. An empty list would then return that [ ] empty list?

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java return an empty list - Stack Overflow
emptyList() returns an immutable list, i.e., a list to which you cannot add elements if you want to perform any operation on your...
Read more >
Python Empty List Tutorial – How to Create ... - freeCodeCamp
You can add elements to an empty list using the methods append() and insert() : append() adds the element to the end of...
Read more >
FlightList return empty list - SAP Community
Hi, I have run FlightList example but the table is empty. I have add a bapiret table for message, but it also is...
Read more >
Create an Excel Drop Down List Without Blanks - YouTube
This video will cover the following:- How to create and update named ranges- How to create drop down lists - How to adjust...
Read more >
Return whole list instead of empty array if no search term is set
My problem is: I want to output the whole list if no search term is set. But fuse.js returns (for logical reasons) an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found