BungeeCord online players problem

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ImM7mqd

Member
Jun 4, 2019
1
0
0
29
so when i put the online player numbers on a specific bungeeserver and no one in the server it says:

Online: <none>

can someone help me?

set online players Code:


Code:
every 1 seconds:
    set {_Pvp} to size of all bungeecord players on server "Pvp"

Menu Code:

Code:
on right click holding a compass:
    play sound "Note_pling" to player with volume 100.0 and pitch 5
    open chest with 1 Rows named "&cSelector" for player
    wait 0.5 second
    format slot 0 of player with stone sword named "&e&lPvp" with lore "&a%{_Pvp}%" to close then run [bungeecord connect player to "Pvp"]

the problem is when nobody is on Pvp server it says <none> so how can i set it to 0?

Sorry for bad english
[doublepost=1565612965,1565612841][/doublepost]and also i put the Skungee, umbaska, skellet plugins and skelletproxy
 
Replace from {_Pvp} to {pvp}.

If the data is to be permanent, temporary data should not be used.
[doublepost=1565881361,1565881120][/doublepost]Or without having to use the data,

format slot 0 of player with .... with lore “%size of all bungeecord players on server “”Pvp””%” close ...
 
Status
Not open for further replies.