#Math expansion

1 messages ยท Page 1 of 1 (latest)

brave gust
#

I need help with the math expansion. I am not sure on how to use it
.

minor coral
#

%math_0_1+1% it will return 2

#

%math_0_2*1% will return 2

#

%math_0_8/4% will return 2

#

%math_0_3-1% will return 2

brave gust
#

It's like for a tab thing

minor coral
#

:/ well what exactly do u wanna do

brave gust
#

multiple worlds

#

like

#

online players

minor coral
#

do u have a placeholder that returns the amount of the users that are in a world?

brave gust
#

Like this but it only shows one world

minor coral
#

isn't that servers? not worls? wat

brave gust
#

worlds

#

its not servers

#

its all on one server lol

minor coral
#

awesome

#

well thats easy

#

u wanna count the total?

#

of all the world?

#

piece of cake!

brave gust
#

count thhe total of all of the worlds that are connected to the server

minor coral
#

%math_0_{world_players_IridiumSkyblock}+{world_players_<name>}..%

#

do that

brave gust
#

Like this?

minor coral
#

exactly!

brave gust
#

but

#

It dont work

minor coral
#

did u download the math expansion tho? ๐Ÿคจ

#

and the world expansion

brave gust
#

Yea

#

and its in my plugins folder

#

but when i do /plugins

#

it dont show

minor coral
#

do the /papi parse me %world_players_<name>% returns u a value?

#

it's not a plugin :/

#

it's an wxpansion

brave gust
#

so

#

where do i put?

minor coral
#

nowhere ๐Ÿ’€

brave gust
#

oh

minor coral
#

it's in the placeholderapi's expansion file

#

and its meant to be there

#

did u reload the plugin?

#

/papi reload

brave gust
#

Just did

minor coral
#

do the placeholder works now?

brave gust
#

That what it say

minor coral
#

without the <>

#

๐Ÿ’€

brave gust
#

ok

minor coral
#

so what about now?

brave gust
#

Nope

minor coral
#

also i just saw that in world names that use _ u ll have to put the name in * *

brave gust
#

Ok

minor coral
#

CHANGES IN 1.2.2: Now is possible to put world name between * to prevent bad world loading when world had _ in name.(%world_name_*world_the_end*%)

#

idk if its meant for the players too but ig ๐Ÿคท๐Ÿปโ€โ™‚๏ธ

brave gust
#

Like this?

#

oh

#

it worked now

#

๐Ÿ™‚

minor coral
#

cause it probably was checking it as a group

brave gust
minor coral
#

instead of a world

brave gust
minor coral
#

yuh ik

brave gust
#

lol

minor coral
#

but it also supports %world_players_<group>_<worldname>%

brave gust
#

oh

lunar tree
#

uh

#

you want all the worlds in the server, or just specific worlds?

#

because if you want all of them, you can just use %server_online% and not have to worry about math or anything else