Custom PlayerList with team support

Hello Developers! :roblox_light:

I want to share with you a custom PlayerList for your projects! You can replace the standard Roblox PlayerList with the one I made

The script updates the list of players when they join/exit the game, and even if the player changes the team, all players will see up-to-date information. :coefficients:

How do I set my group and ranks?

Instruction
  1. Set your group ID to Line 74
  2. Set your parameters in the ChangeTeam function, line 74-81

Get a custom PlayerList

Screenshots

Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2023-04-11 083819

Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2023-04-15 213838

Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2023-04-10 192947

Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2023-04-10 193321

UpdateLogs - Sometimes I will post changes that I make to the code and publish so that you know what you should expect

UpdateLogs

In version 2.1.9, problems with dimensions have been fixed so now there should be no problems with dimensions on any devices

In version 2.1.8, the function of checking the number of characters in the player’s nickname has been added. If the number of characters exceeds 15, then after 15 you will see three dots and no more. If the player’s nickname is less than 15 characters, then you will see just the full nickname of the player

The PlayerList has been updated to version 2.1.5, I removed updating the list of players using while(1) do and now the list is updated via the RunService and the UpdatePlayerList function

24 Likes

this actually looks good, im probably gonna use this soon

1 Like

Don’t know if it is just me put it does not put my name and someone else’s name.
image
It also appears to be out of frame, looking at the screenshots it was supposed to be Nyxaris, hope you have a great day, this is one of my first comments and im looking forward for the improvement of the Playerlist.

Just realized the name is out of frame, might wanna check on that.
image

Most likely you don’t have any team, which is why the script stops working and shows an error in the console. I fixed this problem in version 2.1.0. Just re-add PlayerList to your project and everything will work :wink:

There should be a way of making it work without needing Teams though

Yes I’m already working on it right now and will update the PlayerList soon

2 Likes

The name actually shows now but it is still out of frame unless the windows are rescaled.

Oops, i meant to reply to Nyxaris.

It actually has size issues. As far as I know, this problem only occurs in the studio, if you publish your project and go through the game, then everything should be fine. In any case, I will work on the dimensions in the near future

1 Like

Thank you for the reply, one small suggestion that might lag a bit, i think putting the user’s icon near their user would modernize the look, maybe add the function of pressing the user and seeing the normal buttons Roblox would display like Friend and Examine Avatar.

I’ll probably work on it in the future

1 Like

Changing the Icon to another one, does not seem to work for me

while wait(1) do
	for i, v in pairs(game.Players:GetChildren()) do
    if v:GetPropertyChangedSignal("Team") then
			ChangeTeam(v)
		end
	end
....
end

Hey I was wondering, does the above code in this scoreboard create a bunch of property change signal connections that are never disconnected? or do property changed signals not duplicate if they are repeated? This is run every second for every player.

Hello!
Have you changed the icon through a script? Are you sure that you have replaced the group ID and configured the ranks in the script according to your group?

Yes, the above code in the leaderboard creates connections for property change signals that are never disabled. The GetPropertyChangedSignal method creates a new RBXScriptSignal object each time it is called. Therefore, the ChangeTeam function creates a new signal connection every time it is called

I fixed this problem in the new version of PlayerList in order to update the list of players not every second, but only when it is necessary, using RunService and the UpdatePlayerList function, respectively, this will not cause problems with the performance of the game

The group ID and ranks have been inserted correctly, and the icons that was originally there works perfectly. But when I change one of the Icon ID’s to one of my own decals they don’t seem to be visible. I do not get any errors in the output:))

Can you send a screenshot of what you get as a result?

This is the initial results i get when loading in


I have tried going on the marketplace, and finding an image. Aswell as uploading my own in asset manager

Most likely you don’t see the icon because of size issues. Did you launch the game through the studio?