Hello i’m aj the developer of aj leaderboards and in this video i’m going to be giving you a somewhat quick overview of how to create leaderboards using holograms signs heads armor stands and npcs if you would like to skip around you can do so using the time stamps but remember To not skip the first part if you skip the first part all of the rest of the steps will not work in this video we’re going to be going through the setup page on the wiki and i will be going through each step and explaining each step and how to do it In the wiki here it shows it uses statistic player kills i’m going to be using deaths to create a death’s leader board to show the players with the most deaths so first of all we’re going to want to figure out which placeholder to use so i Want to create a death’s leader board so the players with the most desk will be on top as you can see here you can find a list of placeholders here now this list is not a complete list many plugins are not listed here so you will have to check their documentation Their wikis to find their placeholders now a lot of plugins are listed here though for example i want to find a desk placeholder so the placeholder i want is a placeholder that would return the player’s deaths so you can use ctrl f to search like on Any web page then you can just type in deaths now the first thing come up here is statistic deaths which uses the statistic expansion and as you can see under the statistic expansion here there’s a command here you need to do this command otherwise the placeholder will not work If i copy this placeholder and try and use it now you can see it just outputs the placeholder so what i have to do is i have to go up here and copy this command then i run it in game then it downloads the expansion then i just reload and now if i Parse the placeholder you can see it returns zero deaths because i have not died yet on this world now that we have done this command we can see that this returns zero and it does not have any words or anything in it if the placeholder returns words aj Leaderboards cannot parse it if it has commas that is okay aj leaderboards will just remove the commas automatically and parse the number that way but it must be a number so zero will work there so now that we’ve confirmed that the placeholder outputs a number we will do aj leaderboards add Then the placeholder which is statistic desk enter and as you can see it says board successfully created so the statistic deaths is the placeholder now doing this command we have created a board in aj leaderboards called statistics underscore deaths the board is separate from the placeholder as the board is used in aj Leaderboards to reference the placeholder so for example if you ever see something that’s asking for the board name it’s asking for this right here but obviously without the quotes so now the leaderboard has been created now that we’ve created the leaderboard we can check that it’s working by doing aj leaderboards list Then the board name here we can see a top 10 displayed now this command is only for admins players are not allowed to use it is not meant for players and this is only all time but you can see there’s 10 blank slots i am not listed On this leaderboard the reason i am not listed on this leaderboard is that i have the star permission in luck perms so in order to fix that we can use luck perms user then your username permission set aj leaderboards dot don’t update dot star and then set it to false Now i can see you can see it’s successfully set it to false now if you only want to not show up in a certain leader board you can specify that there but if you can just put star in order to show up on all the leaderboards in aj leaderboards So now that we’ve set that permission to false make sure to set it to false not to true if we set it to true then it’ll do the same thing and not work if we set it to false now we can do and you can see there i am now it might Take a minute for you to show up on the leaderboard after changing that permission just because aj leaderboards only updates every 60 seconds by default you can change that in the config if you would like now that we can see that the leaderboard is working properly you can see i have Zero deaths which we verified earlier now we can go ahead and display the leaderboard so i’ve just gone over steps one and two now let’s go over step three this step is optional so if you would like to use something other than holograms you can use the timestamps at the bottom bar here To skip to one of the other steps so this is using holograms here on the wiki i have an example using the murder mystery placeholders now obviously we are not using these placeholders in this video but don’t worry i will show you how to fix them to be the correct placeholders In this tutorial i’m going to be using holographic displays which you can find by simply googling holographic displays you can see here it is and i’m going to be using the latest beta release which is 3.0 as you can see you can download it right here Since i’m using the 3.0 release i do not need holographic extension if you are using an older version you can use holographic extension i have gone ahead and already installed holographic displays on here as you can see there it is so to get started all i have to do is Holographic displays create then name the hologram so i’m going to name it death’s leaderboard and press enter now you can see there is default hologram you can change it with commands if you would like you can copy and paste each of these so for example set line one set line death’s leader board You can do it that way but i’m going to be doing it editing it in the file now that we’ve created the leaderboard we can go ahead and edit it using the file which in my opinion is easier to copy and paste things with instead of having to do it line by line So to do that we just simply go to go to your server go to plugins go to holographic displays then database.yml now this file you can see this is not the exact file as this was created on the older version of holographic displays so what i’m going to do is copy this Paste it here just for now we’ll remove this in a minute then copy all of these lines copy then remove this line here and paste now we’re going to remove this since we don’t need it anymore okay now if we save this file file save then do hd reload You can see it does this in game now the reason why it says board does not exist is because in these placeholders it is using the murder mystery wins board we have not created that board we cannot create that board because we do not have murder mystery installed on the server So let’s go to edit replace murder mystery wins replace with set replace it with statistic underscore deaths now let’s go ahead and replace all and as you can see all of these have changed to statistic underscore deaths including these ones now if we save this file and hd reload You can see now there is the medium on every line we just we’re just going to remove that because that is a part of holographic extension and we do not need that now that we’ve removed all the extra mediums we can save the file then go back in game and reload the Hologram again now you can see the leaderboard is displayed but it still says murder mystery so we’re going to change that real quick deaths save reload now we can see we have a death’s leader board now if i die then in a minute this value will update So while we’re waiting for that value to update let’s go ahead and show you how to change how fast aj leaderboards updates so let’s go to the plugins folder go to aj leaderboards then the config so this is the config for aj leaderboards you can see we have the Notated name which is this one right here no data score which is this one right here the comma which we can change if we want this we can ignore for now now this is how often it updates so by default it updates every 60 seconds let’s go ahead and change this to 5 Seconds now 5 seconds in ticks is 100 ticks the way you find that is just open a calculator and type in how many seconds you want so 5 multiplied by 20 and you can see that gives you a hundred so now we can save this file and do aj leaderboards reload now If i die you can see that in five seconds it updates and now you have a completely working death leader board displayed on a hologram okay now that we’ve displayed it on a hologram let’s say you don’t want to do a hologram you just want to do signs So i’m going to set up a quick thing made of stone right here just to put the signs on and what we’re going to do is get a sign from our inventory and just place it down you don’t have to put anything on it if you do accidentally put something on it it’s Fine um you don’t need to remove the sign so what you’re going to do is put your crosshair on the sign then do aj leaderboards signs add and then you’re going to want to put the board name which it should start to auto-complete for you so you just press tab Then then you want to put the position so i’m going to put it first and then the time type so you can see you have several options here all time daily hourly weekly monthly and weekly i’m going to do all time for now and then press enter And as you can see it updates with my my name and my deaths now i’m going to go ahead and create more signs okay now that i have created all the signs i’m going to show you how to change it so that it says deaths on the sign so Open the aj leaderboards config do that by going to the plugins folder and aj leaderboards then config.yml now what we’re going to change is this option right here so this is the default value if you don’t use ajt run then you can go ahead and replace it which is what i’m going To do so i’m going to first put the board name our board name is statistic deaths and then we’re going to put the separator character which in this option is a percent the percent just tells aj leaderboards where the board name ends and where the display name begins So what we’re going to put after that is deaths now we save the file and go in game and do aj leaderboards reload and you can see deaths has shown up on all these signs now that we’ve created signs you might want to also display heads above the signs So all you have to do for that is go and get ahead and place it above the sign so you can see i can put those there my head updated here now you don’t have to put them there you can also if this is on a wall You can put them like this as well so say you don’t want to use head blocks like this say you want to use armor stands all you have to do for that is go get an armor stand out of your inventory and place it above the sign like this And as you can see that is placed now heads are not placed on these automatically because there’s nobody on those slots if you would like to you can go ahead and put a blank player head there and aj leaderboards will override that once somebody becomes in that spot Now on top of the sign is not the only place that you can put the head you can also put the head in front of the sign like that and you can also rotate the armor stand any direction you want so for example that and the head will display this way Or you can put it this way and the head will display this way you don’t have to use big armor stands you can also use small armor stands to create a small armor stand let’s go ahead and place a normal armor stand now that we’ve placed the armor stand we Can edit it to make it small now this only works from i believe 1.16 in newer versions if you have older versions you can go ahead and google how to create small armor stands on those so we are going to do data modify entity then you can see it auto completes a Uuid that is the uid of the entity you’re looking at then we’re going to put small then set value one and you can see the arm stand is now small you can also show the arms using a similar method go now we have a small armor stand with arms Now say you would like to display the leaderboard using npcs to do that is fairly simple i’m going to be editing the example from the wiki again so let’s copy this command and paste it into our chat box now we can remove this and replace it with the one we’re using Don’t forget to also do it for this one too once we have edited the npc name to our liking we can see replace this one and this one and also change the deaths instead of kills then go ahead and press enter now you can see we have an npc with the Correct name but the skin does not match my skin to fix that we’re just going to copy the command from the weak again so copy this then paste it you can see nbc skin then don’t forget to replace the board name so we’re going to replace it with Now that we’ve replaced it with our board name we can go ahead and press enter and as you can see it is now my skin this only updates when citizen tells it to update if this isn’t updated for some for some reason but you see it is updating in this command Then you might want to contact citizens about this now see it is saying i have zero deaths that might be because i made a mistake so to check first i’m going to do citizens save to make sure it’s saved to the file then once we’ve made sure it’s saved to The file then we’re going to open the plugins folder again go to the citizens folder and open saves.yml now here you can see all of the data for the mpc we just created and also any npc you’ve ever created if we do npc id we can see it says zero So now if we go to here we can find the one that says zero and you can see here is the name placeholder now it looks like i accidentally misspelled statistic here so to fix that i’m just going to fix the spelling then save the file and do citizens reload Then you have to do this again now you can see it shows my correct number of deaths and that is it of course all of these you can change so for these if you would like to change colors you can simply open the file that i showed you how to Do earlier and change the color code same thing with the mpc or you can just change it when you’re creating it thank you for watching if you’ve had any questions during the setup feel free to join my discord and ask for support i usually answer within a few minutes Unless i’m like sleeping or something thank you for watching i hope you have a wonderful day and i’ll see you in discord maybe if you need support goodbye Video Information
This video, titled ‘ajLeaderboards tutorial’, was uploaded by ajgeiss0702 on 2022-02-10 05:30:38. It has garnered 18894 views and 308 likes. The duration of the video is 00:18:13 or 1093 seconds.
https://about.ajg0702.us/project/ajLeaderboards
Wiki here: https://wiki.ajg0702.us/ajleaderboards/
Plugin page here: https://www.spigotmc.org/resources/ajleaderboards.85548/
Timestamps 00:00 Intro 00:49 Figuring out which placeholder to use 02:30 Adding the placeholder to ajLeaderboards 03:16 Checking its working 04:56 Displaying using HolographicDisplays 08:59 Make ajLeaderboards update faster 10:24 Displaying using signs 12:40 Displaying heads 13:07 Displaying armorstands 14:52 Displaying using Citizens NPCs 17:36 Goodbye