CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Solved NameTags | Color of nick

    Support
    5
    21
    226
    Loading More Posts
    • 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.
    • wxdbie
      wxdbie last edited by

      java_BfHgf8QPyI.png
      Please tell me line responsible for color of nick

      val fontRenderer = fontValue.get()
      
              val bot = AntiBot.isBot(entity)
              val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f"
              val ping = if (entity is EntityPlayer) EntityUtils.getPing(entity) else 0
      
              val distanceText = if (distanceValue.get()) "§f${mc.thePlayer.getDistanceToEntity(entity).roundToInt()}m " else ""
              val pingText = if (pingValue.get() && entity is EntityPlayer) (if (ping > 200) "§c" else if (ping > 100) "§e" else "§a") + ping + "ms §f" else ""
              val healthText = if (healthValue.get()) "§f§c " + entity.health.toInt() + " ❤" else ""
              val botText = if (bot) " §c§lBot" else ""
      
              val text = "$distanceText$pingText$nameColor$tag$healthText$botText"
      
      M 1 Reply Last reply Reply Quote 1
      • M
        mems Moderator @wxdbie last edited by

        @wxdbie said in NameTags | Color of nick:

        java_BfHgf8QPyI.png
        Please tell me line responsible for color of nick

        val fontRenderer = fontValue.get()
        
                val bot = AntiBot.isBot(entity)
                val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f"
                val ping = if (entity is EntityPlayer) EntityUtils.getPing(entity) else 0
        
                val distanceText = if (distanceValue.get()) "§f${mc.thePlayer.getDistanceToEntity(entity).roundToInt()}m " else ""
                val pingText = if (pingValue.get() && entity is EntityPlayer) (if (ping > 200) "§c" else if (ping > 100) "§e" else "§a") + ping + "ms §f" else ""
                val healthText = if (healthValue.get()) "§f§c " + entity.health.toInt() + " ❤" else ""
                val botText = if (bot) " §c§lBot" else ""
        
                val text = "$distanceText$pingText$nameColor$tag$healthText$botText"
        
                val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f"
        
        wxdbie Ali00035 2 Replies Last reply Reply Quote 0
        • wxdbie
          wxdbie @mems last edited by

          @mems no, i changed those lines, and nothing changed

          M 1 Reply Last reply Reply Quote 1
          • M
            mems Moderator @wxdbie last edited by

            @wxdbie Try modifying the values in line 75.

            wxdbie 1 Reply Last reply Reply Quote 0
            • wxdbie
              wxdbie @mems last edited by

              @mems I have this in line 75: idea64_w97UHgVGlI.png

              M 1 Reply Last reply Reply Quote 1
              • M
                mems Moderator @wxdbie last edited by

                @wxdbie said in NameTags | Color of nick:

                @mems I have this in line 75: idea64_w97UHgVGlI.png

                Then find this code: glColor4f(1F, 1F, 1F, 1F)

                wxdbie 2 Replies Last reply Reply Quote 0
                • wxdbie
                  wxdbie @mems last edited by

                  @mems oh, ty ❤ 😃

                  1 Reply Last reply Reply Quote 1
                  • Topic has been marked as solved  wxdbie wxdbie 
                  • Topic has been marked as unsolved  wxdbie wxdbie 
                  • wxdbie
                    wxdbie @mems last edited by

                    @mems but for reason it did not work:
                    54077506-c663-41c2-9d46-008a1e2683a4-изображение.png
                    37189dc4-1b0c-4d54-9cc3-10a619cf0a35-изображение.png

                    M 1 Reply Last reply Reply Quote 1
                    • M
                      mems Moderator @wxdbie last edited by mems

                      @wxdbie said in NameTags | Color of nick:

                      @mems but for reason it did not work:
                      54077506-c663-41c2-9d46-008a1e2683a4-изображение.png
                      37189dc4-1b0c-4d54-9cc3-10a619cf0a35-изображение.png

                      This: val nameColor = if (bot) "§f" else if (entity.isInvisible) "§f" else if (entity.isSneaking) "§f" else "§f" worked for me.

                      Jre Screenshot 2022.05.04 - 23.30.33.79.png

                      But as it seems, you are either using a custom LiquidBounce, or the cross version edition of LiquidBounce, and I can't help with that.

                      wxdbie 1 Reply Last reply Reply Quote 0
                      • wxdbie
                        wxdbie @mems last edited by

                        @mems I use b72. yes the first method works, but only in server lobby

                        Lobby:a2d38346-d019-460a-a5bb-480b3884269c-изображение.png

                        MiniGame: 7e349aa2-4dc1-40f6-8a2f-ee9a0abfd353-изображение.png

                        M 1 Reply Last reply Reply Quote 1
                        • M
                          mems Moderator @wxdbie last edited by

                          @wxdbie said in NameTags | Color of nick:

                          @mems I use b72. yes the first method works, but only in server lobby

                          Lobby:a2d38346-d019-460a-a5bb-480b3884269c-изображение.png

                          MiniGame: 7e349aa2-4dc1-40f6-8a2f-ee9a0abfd353-изображение.png

                          This doesn't occur to me.

                          Jre Screenshot 2022.05.04 - 23.39.04.01.png

                          wxdbie 1 Reply Last reply Reply Quote 0
                          • wxdbie
                            wxdbie @mems last edited by

                            @mems said in NameTags | Color of nick:

                            This doesn't occur to me.

                            um, can server control this?

                            M 1 Reply Last reply Reply Quote 1
                            • M
                              mems Moderator @wxdbie last edited by

                              @wxdbie said in NameTags | Color of nick:

                              um, can server control this?

                              No clue. Try testing on other servers too. Either way, use b73 as the cross version code is removed.

                              wxdbie 1 Reply Last reply Reply Quote 0
                              • wxdbie
                                wxdbie @mems last edited by

                                @mems said in NameTags | Color of nick:

                                No clue. Try testing on other servers too. Either way, use b73 as the cross version code is removed.

                                hm, okay thanks 😃

                                1 Reply Last reply Reply Quote 1
                                • Ali00035
                                  Ali00035 Banned @mems last edited by

                                  @mems but you said that you cant code??? wtf!!!!!!

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Aftery last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • Ali00035
                                      Ali00035 Banned last edited by

                                      .nametags clearnames true

                                      wxdbie 2 Replies Last reply Reply Quote 0
                                      • wxdbie
                                        wxdbie @Ali00035 last edited by

                                        @stfwissue I try

                                        1 Reply Last reply Reply Quote 1
                                        • wxdbie
                                          wxdbie @Ali00035 last edited by

                                          @stfwissue ty :axocute: < 3

                                          suicidemouse33 1 Reply Last reply Reply Quote 1
                                          • Topic has been marked as solved  wxdbie wxdbie 
                                          • suicidemouse33
                                            suicidemouse33 Banned @wxdbie last edited by

                                            @wxdbie you thanked the wrong person

                                            wxdbie 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            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