Solved Multiplayer list packets

  • 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.

Farid

Active Member
Feb 5, 2017
179
11
18
23
I haven't learned shit with packets but does anyone know how to do this?


ad21bf20678321cabd1e64fc42dac6b7.gif
 
I haven't learned shit with packets but does anyone know how to do this?


ad21bf20678321cabd1e64fc42dac6b7.gif
code_language.skript:
on packet event status_server_server_info:
  put json "ServerPing" pjson 0 of event-packet in listvar {_l::*}
  delete {_l::players::sample::*}
  set {_l::players::sample::1::id} to new uuid
  set {_l::players::sample::1::name} to "&6test%nl%lol"
  set "ServerPing" pjson 0 of event-packet to json of listvar {_l::*}
for the hover
6KV6Agg.png
 
  • Like
Reactions: Wynnevir
code_language.skript:
on packet event status_server_server_info:
  put json "ServerPing" pjson 0 of event-packet in listvar {_l::*}
  delete {_l::players::sample::*}
  set {_l::players::sample::1::id} to new uuid
  set {_l::players::sample::1::name} to "&6test%nl%lol"
  set "ServerPing" pjson 0 of event-packet to json of listvar {_l::*}
for the hover
6KV6Agg.png
4.PNG
 
Status
Not open for further replies.