Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. ScriptAPI
  3. Getting the text of Playerlist Tab

Getting the text of Playerlist Tab

Scheduled Pinned Locked Moved Solved ScriptAPI
17 Posts 7 Posters 1.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dntdbtD Offline
    dntdbtD Offline
    dntdbt
    wrote on last edited by
    #1

    Heyo ppl <З

    I have cool script but it works only on one of the minigames. The only possible method to check it is getting the text from Players tab

    For example, I screened the blocksmc' one
    2021-05-31_01.06.30.png

    Then, I need to get the text of the first line
    2021-05-31_01.06.30.png

    But so, I tried different methods and nothing works. I will be grateful for any sorts of your help <З

    C CzechHekC 2 Replies Last reply
    0
    • dntdbtD dntdbt

      Heyo ppl <З

      I have cool script but it works only on one of the minigames. The only possible method to check it is getting the text from Players tab

      For example, I screened the blocksmc' one
      2021-05-31_01.06.30.png

      Then, I need to get the text of the first line
      2021-05-31_01.06.30.png

      But so, I tried different methods and nothing works. I will be grateful for any sorts of your help <З

      C Offline
      C Offline
      Co丶Dynamic
      wrote on last edited by
      #2

      @dntdbt I think it's better to check the chat bar by packet

      dntdbtD 1 Reply Last reply
      0
      • C Co丶Dynamic

        @dntdbt I think it's better to check the chat bar by packet

        dntdbtD Offline
        dntdbtD Offline
        dntdbt
        wrote on last edited by
        #3

        @co丶dynamic
        Nothing writes to chat. Only possible by checking tab-list

        Plumer ManP 1 Reply Last reply
        0
        • dntdbtD dntdbt

          @co丶dynamic
          Nothing writes to chat. Only possible by checking tab-list

          Plumer ManP Offline
          Plumer ManP Offline
          Plumer Man
          wrote on last edited by
          #4

          @dntdbt 24935f90-b8a8-4874-8caf-4bfd63067323-image.png cant u just add the text if there is the link below?

          dntdbtD 1 Reply Last reply
          0
          • Plumer ManP Plumer Man

            @dntdbt 24935f90-b8a8-4874-8caf-4bfd63067323-image.png cant u just add the text if there is the link below?

            dntdbtD Offline
            dntdbtD Offline
            dntdbt
            wrote on last edited by
            #5

            @plumer-man I asked about the only upper line, now you asking about "why I can't just check the line below" and you even don't distribe how to do it, especially I just taked the screenshot of BlocksMC for an example

            Just don't ask "Can't u..", if you don't tell somebody how to do that :c

            I still can't get this line.

            Plumer ManP 2 Replies Last reply
            0
            • dntdbtD dntdbt

              @plumer-man I asked about the only upper line, now you asking about "why I can't just check the line below" and you even don't distribe how to do it, especially I just taked the screenshot of BlocksMC for an example

              Just don't ask "Can't u..", if you don't tell somebody how to do that :c

              I still can't get this line.

              Plumer ManP Offline
              Plumer ManP Offline
              Plumer Man
              wrote on last edited by
              #6

              @dntdbt is there nothing in core to find the header?

              1 Reply Last reply
              0
              • dntdbtD dntdbt

                @plumer-man I asked about the only upper line, now you asking about "why I can't just check the line below" and you even don't distribe how to do it, especially I just taked the screenshot of BlocksMC for an example

                Just don't ask "Can't u..", if you don't tell somebody how to do that :c

                I still can't get this line.

                Plumer ManP Offline
                Plumer ManP Offline
                Plumer Man
                wrote on last edited by
                #7

                @dntdbt play.server.S47PacketPlayerListHeaderFooter

                ? 1 Reply Last reply
                0
                • Plumer ManP Plumer Man

                  @dntdbt play.server.S47PacketPlayerListHeaderFooter

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  @plumer-man the db40ac6c-54b0-46ea-b366-b4234af509ee-image.png

                  Plumer ManP Senk JuS 2 Replies Last reply
                  0
                  • ? A Former User

                    @plumer-man the db40ac6c-54b0-46ea-b366-b4234af509ee-image.png

                    Plumer ManP Offline
                    Plumer ManP Offline
                    Plumer Man
                    wrote on last edited by
                    #9

                    @britishbiscuit ?

                    ? 1 Reply Last reply
                    0
                    • Plumer ManP Plumer Man

                      @britishbiscuit ?

                      ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      @plumer-man its private you can't access it

                      Plumer ManP 1 Reply Last reply
                      0
                      • ? A Former User

                        @plumer-man its private you can't access it

                        Plumer ManP Offline
                        Plumer ManP Offline
                        Plumer Man
                        wrote on last edited by
                        #11

                        @britishbiscuit https://scriptapi.liquidbounce.net/net/minecraft/network/Packet.html anything else that could be used

                        1 Reply Last reply
                        0
                        • ? A Former User

                          @plumer-man the db40ac6c-54b0-46ea-b366-b4234af509ee-image.png

                          Senk JuS Offline
                          Senk JuS Offline
                          Senk Ju
                          Admin
                          wrote on last edited by
                          #12

                          @britishbiscuit You should be able to access it through reflection.

                          1 Reply Last reply
                          0
                          • dntdbtD dntdbt

                            Heyo ppl <З

                            I have cool script but it works only on one of the minigames. The only possible method to check it is getting the text from Players tab

                            For example, I screened the blocksmc' one
                            2021-05-31_01.06.30.png

                            Then, I need to get the text of the first line
                            2021-05-31_01.06.30.png

                            But so, I tried different methods and nothing works. I will be grateful for any sorts of your help <З

                            CzechHekC Offline
                            CzechHekC Offline
                            CzechHek
                            wrote on last edited by
                            #13

                            @dntdbt

                            if (e.getPacket() instanceof S47PacketPlayerListHeaderFooter) {
                                footer = e.getPacket().getFooter()
                                header = e.getPacket().getHeader()
                            }
                            

                            @britishbiscuit said in Getting the text of Playerlist Tab:

                            @plumer-man its private you can't access it

                            getters

                            ? Plumer ManP 2 Replies Last reply
                            0
                            • CzechHekC CzechHek

                              @dntdbt

                              if (e.getPacket() instanceof S47PacketPlayerListHeaderFooter) {
                                  footer = e.getPacket().getFooter()
                                  header = e.getPacket().getHeader()
                              }
                              

                              @britishbiscuit said in Getting the text of Playerlist Tab:

                              @plumer-man its private you can't access it

                              getters

                              ? Offline
                              ? Offline
                              A Former User
                              wrote on last edited by
                              #14

                              @czechhek @Senk-Ju Thanks i didn't know that.

                              1 Reply Last reply
                              0
                              • dntdbtD Offline
                                dntdbtD Offline
                                dntdbt
                                wrote on last edited by
                                #15

                                Finally, Thank you everyone! <З

                                1 Reply Last reply
                                0
                                • CzechHekC CzechHek

                                  @dntdbt

                                  if (e.getPacket() instanceof S47PacketPlayerListHeaderFooter) {
                                      footer = e.getPacket().getFooter()
                                      header = e.getPacket().getHeader()
                                  }
                                  

                                  @britishbiscuit said in Getting the text of Playerlist Tab:

                                  @plumer-man its private you can't access it

                                  getters

                                  Plumer ManP Offline
                                  Plumer ManP Offline
                                  Plumer Man
                                  wrote on last edited by Plumer Man
                                  #16

                                  @czechhek How are you so smart
                                  @dntdbt put it to solved

                                  1 Reply Last reply
                                  0
                                  • ? Offline
                                    ? Offline
                                    A Former User
                                    wrote on last edited by
                                    #17
                                    if (event.getPacket() instanceof S47PacketPlayerListHeaderFooter) {
                                        footer = event.getPacket().getFooter().getUnformattedText() 
                                        header = event.getPacket().getHeader().getUnformattedText()
                                        // getFormattedText() if you want to include formatting codes, not recommended
                                    }
                                    

                                    getters > reflection

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    About
                                    • Terms of Service
                                    • Privacy Policy
                                    • Status
                                    • Contact Us
                                    Downloads
                                    • Releases
                                    • Source code
                                    • License
                                    Docs
                                    • Tutorials
                                    • CustomHUD
                                    • AutoSettings
                                    • ScriptAPI
                                    Community
                                    • Forum
                                    • Guilded
                                    • YouTube
                                    • Twitter
                                    • D.Tube
                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups