Solved Amount of players from another bungee server

  • 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 community!

    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.

LoneElf

Active Member
Apr 30, 2017
165
2
18
So, right now, I am making a scoreboard for my Hub, but it only shows a sertain amount of letters. So, here is my code:

command /test:
trigger:
wait 1 tick
Display scoreboard named " &a&lHUB " to player
Make score of "&8&m|&r &7Welcome Back," in scoreboard of player to 2
Make score of "&8&m|&r &b%player%!" in scoreboard of player to 1
move display of player to sidebar
So, it works, but it cuts off the letters. This is what it shows:

HUB​
|- Welco
|- LoneE

If you can help me, that would be great! Thanks!
 
Use this format instead. I dont remember what addon you need though.
code_language.skript:
command /test:
    trigger:
        wipe player's sidebar
        set name of sidebar of player to "Test"
        set score "hi" in sidebar of player to 5
 
Thanks man :emoji_slight_smile: So, I also needed to know how to get the amount of players that is on a certain bungeecord server, and I found a solution for the amount of players. I'll just paste it from the docs:
set {_numGlobal} to size of all bungeecord players
set {_numServer} to size of all bungeecord players on server "Hub"
Broadcast "%{_numGlobal}% and %{_numServer}%"

ADDON: Skellet
PLUGIN REQUIRED: SkelletProxy
The probelm is, I have a problem here in this line of code: set {_numKitPvP} to size of all bungeecord players on server "KitPvP"

Here is the console error:
code_language.skript:
[13:02:54 ERROR]: Can't understand this expression: 'size of all bungeecord players on server "KitPvP"' (scripts.sk, line 29: set {_numKitPvP} to size of all bungeecord players on server "KitPvP"')

Thanks <3
[doublepost=1499644372,1499630673][/doublepost]So, do I need to get another addon for this to work because I tried copying and pasting the code that it examples for you and just changing the HUB to KitPvP and it didn't work. Do I need to install a newer version? Thanks
[doublepost=1499663371][/doublepost]If it isn't that, is there any plugins that I could use to get the online players of another bungeecord server?
[doublepost=1499705727][/doublepost]Bump
 
Thanks man :emoji_slight_smile: So, I also needed to know how to get the amount of players that is on a certain bungeecord server, and I found a solution for the amount of players. I'll just paste it from the docs:
set {_numGlobal} to size of all bungeecord players
set {_numServer} to size of all bungeecord players on server "Hub"
Broadcast "%{_numGlobal}% and %{_numServer}%"

ADDON: Skellet
PLUGIN REQUIRED: SkelletProxy
The probelm is, I have a problem here in this line of code: set {_numKitPvP} to size of all bungeecord players on server "KitPvP"

Here is the console error:
code_language.skript:
[13:02:54 ERROR]: Can't understand this expression: 'size of all bungeecord players on server "KitPvP"' (scripts.sk, line 29: set {_numKitPvP} to size of all bungeecord players on server "KitPvP"')

Thanks <3
[doublepost=1499644372,1499630673][/doublepost]So, do I need to get another addon for this to work because I tried copying and pasting the code that it examples for you and just changing the HUB to KitPvP and it didn't work. Do I need to install a newer version? Thanks
[doublepost=1499663371][/doublepost]If it isn't that, is there any plugins that I could use to get the online players of another bungeecord server?
[doublepost=1499705727][/doublepost]Bump
Make a new thread for seperate issues
 
Sorry - My bad
[doublepost=1499789940,1499737908][/doublepost]I found out my issue: I didn't set up SkelletProxy correctly which lead to it not understanding that.
 
Status
Not open for further replies.