#Leaderboard Placeholders

1 messages · Page 1 of 1 (latest)

graceful quarry
#

I need an Placeholder for all crops harvested, also if anyone know how to give the top players points for each leaderboard section that would be great. I will also pay money if someone helps me to make this leaderboard system.

graceful quarry
turbid hearth
#

You don t have placeholder ?

#

Papi placeholder

#

And Check in statistic

graceful quarry
#

we checked everywhere

turbid hearth
#

On statistic

#

%kill_mobs%

#

Look

restive wedge
#

how much you paying xd

#

honestly, This is easily Achievable through Available Plugins

#

We're looking at PAPI, Conditional Events, and whatever currency plugin You're Using

restive wedge
graceful quarry
restive wedge
restive wedge
#

Also, I was referring to the automatic rewards

graceful quarry
#

yes its working now

graceful quarry
#

but its too late i hired someone to make the plugin for leaderboards from scratch

restive wedge
graceful quarry
#

its not that easy to do a weekly leaderboards with points just from deluxemenus

restive wedge
#

If i was to do it in config only, I'd use:

  • Deluxemenus (To store the names and data)
  • Conditional Events (To run the event of giving the rewards to each winner)
  • Score (For Variables)
#

but yeah

#

doing in code is better, as it's more efficient

cinder yew
#

@restive wedge what should I do when I want to take a players place and have it add up to a total leaderboard like the same in the image sent above. Say player 1 has top 1 in every leaderboard. he would have a total of 30 points

cinder yew
#

okay so ajlb basically just ranks them right? say I would have to assign values per position the same one in the images sent above. Say top 1 is 50points top 2 is 40 and etc. How can I assign values to each position so that I can also place it in deluxemenus to show whos the top 1 in total

#

@restive wedge like how to assign values to every position

#

so i can make like a central leaderboard on all the types per say

restive wedge
#

Lore:

  • placeholder for pos1
  • Placeholder for pos2
  • placeholder for pos3
    ...
cinder yew
#

what i meant was

#

how do i get the total points they have

restive wedge
#

O

cinder yew
#

like sum of all their points

#

per leaderboard type

cinder yew
#

i have no problem with the individual rankings, im just asking for insights on what you do to assign points to each position

#

and how to go on about it

#

what plugin should i use

restive wedge
cinder yew
#

yes. say visualize it like this

leaderboard 1 leaderboard 2
pos 1: 10 points pos 1: 10 points
pos 2 : 5 points pos 2: 5 points
... .....

#

say those are the leaderboards

#

player 1 is in pos1 on both

#

so hed have 20 points

#

so in the main leaderboard ranking,

main leaderboard
pos1: player 1 = 20 points
pos2: player 2 = 10 points

#

can i use SCore to set values?

modest birch
#

?

modest birch
restive wedge
#

you should test it

restive wedge
#

and do this

#

use %ajlb_lb_<board>_<number>_<type>_name% to get the name of the top player, or player in that position

modest birch
#

I made it

restive wedge
#

ok i'm kinda confused

modest birch
#

I used conditionalevents and javascript

restive wedge
#

let me organise the logic

restive wedge
modest birch
#

Ai helped me

restive wedge
#

ai doesn't work good with conditional events btw

modest birch
#

For javascript its good

cinder yew
#

How to deal with blockstates? Like since %statistics_mine_block:potato% still procs a +1 value even if it isnt fully grown

modest birch
#

Ai made this

cinder yew
cinder yew
restive wedge
# cinder yew Aight, tyt

create a variable in score with your board name and time. let's say, money-daily, money-weekly, money-monthly

Then use commands to set the value of those placeholders for the user to %ajlb_position_vault_eco_balance_daily%, %ajlb_position_vault_eco_balance_weekly%, %ajlb_position_vault_eco_balance_monthly%. You get the position of the player in each leaderboard.

Then do /papi parse me %utils_{math_{ajlb_lb_vault_eco_balance_{score_variables_money-daily}_daily_value}+{ajlb_lb_vault_eco_balance_{score_variables_money-weekly}_weekly_value}+{ajlb_lb_vault_eco_balance_{score_variables_money-monthly}_monthly_value}}%

#

you need maths and utils expansion for this

cinder yew
#

what does the utils expansion do

#

thanks so much bro for having the time to teach!

restive wedge
restive wedge
#

lmk if it works