[v3!] TopbarPlus v3.0.0 | Construct intuitive topbar icons; customise them with themes, dropdowns, captions, labels and much more

@ForeverHD Please can you look into this as well, thanks!

Sure can, is this happening in a game with R6 or R15?

I believe this might be happening because GetCoreGuiEnabled for Emotes still returns true (for enabled) even when disabled within games using R6. I can update TopbarPlus to account for this if that’s the issue.

R15:
image

R6:
image

1 Like

Looking into this further I think it’s caused by the ‘Beta’ label offset for Voice Chat instead of the SetLeftOffset:

This activates on PC if your game has VoiceChatEnabled but remains invisible if your server size is larger than the maximum required for VoiceChat (I believe 50).

I recommend:

  1. Increasing the offset to 190 IconController.setLeftOffset(190)
  2. Disabling Voice Chat or reducing your server size to be less than 50 players
1 Like

Thanks for the quick reply. I don’t have voice chat enabled in this game and server size is 8 players.

Yes, can confirm this is happening for R6.

Thanks for your feedback, I’ve created a feature request as this is currently impossible to check for:

As a temporary patch I’ll introduce an IconController variable in 2.8.0 which you can update manually.

1 Like

v2.8.0

Highlights🕺

  • :earth_americas: Localization compatability
  • :lollipop: RichText compatability
  • :sparkles: New methods
  • :sparkles: New events
  • :bug: Many improvements and bug fixes

image

You can find all the chunky details here: :hippopotamus:


:warning: Important

If your game uses VoiceChat you must add the following code alongside your TopbarPlus code:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local IconController = require(ReplicatedStorage.Icon.IconController)
IconController.voiceChatEnabled = true

This is to overcome an issue from Roblox’s BETA label explained in more detail here.


:pineapple: Credit

Thanks to everyone who reported bugs and helped in this update:

15 Likes

Hey! I recently implemented TopbarPlus into my game, and my chat icon keeps disappearing. I’ve narrowed it down to TopbarPlus because when I disable the script, the chat icon will stay. Essentially what happens is when you click off of chat, the chat box and icon disappears for a few seconds, then reappears.

Before chat disappears:
Screenshot 2022-10-03 114539

After chat disappears:
Screenshot 2022-10-03 114626

Any idea how to fix this?

1 Like

Replaced buttons on the side of the screen with top bar buttons :heart_eyes:

4 Likes

and @BillB1ox https://devforum.roblox.com/t/topbarplus-v280-construct-intuitive-topbar-icons-customise-them-with-themes-dropdowns-captions-labels-and-much-more/1017485/599?u=foreverhd

This can now be achieved in v2.9.0 by doing:

IconController.disableControllerOption(true)

@AridFights1 https://devforum.roblox.com/t/topbarplus-v280-construct-intuitive-topbar-icons-customise-them-with-themes-dropdowns-captions-labels-and-much-more/1017485/168

Debounce is now also an official method in v2.9.0 :+1:

icon:debounce(seconds)
3 Likes

image
image
Exit being named Ex?

image
I stop hovering and it becomes this huge?
For you to know, this is the only thing inside it (I’ve renamed it to Leave and it’s still occuring)

image
I have tried this work around and still nothing

1 Like

Are there any errors in the output?

Nope, just the screenshots I have shown which have weird behaviour (exit not being fully rendered and only ex shows), (when selected and un-hovered the button doesn’t return to the “normal” state with the size of an empty label)

Also you confused me and i thought u were @ForeverHD

2 Likes

You should set IconController.voiceChatEnabled to nil so everytime I won’t get a warning when I already set the value to false

--------------- I DON'T NEED TO DELETE THIS ---------------
		localPlayer.PlayerGui:WaitForChild("TopbarPlus", 999)
		task.delay(10, function()
			checkVoiceChatManuallyEnabled()
			if IconController.voiceChatEnabled == nil and success and enabledForUser and isStudio then
				warn("⚠️TopbarPlus Action Required⚠️ If VoiceChat is enabled within your experience it's vital you set IconController.voiceChatEnabled to true ``require(game.ReplicatedStorage.Icon.IconController).voiceChatEnabled = true`` otherwise the BETA label will not be accounted for within your live servers. This warning will disappear after doing so. Feel free to delete this warning if you have not enabled VoiceChat within your experience.")
			end
		end)
		------------------------------------------------------------------------------------------------------------
1 Like

Good spot amigo, will add :+1:

@hatespine repo place file please

1 Like

Here: Icon TopBar showcase bug - Roblox

cool resource
image

Please provide a description about the error and why its happening. Then someone could help.

(I was on reddit so sorry for not the quick coming)

I dont know what happened, i just slapped it into ReplicatedStorage and apparently that happened

-- This retrieves the theme module under Icon
local iconModule = game:GetService("ReplicatedStorage").Icon
local Icon = require(iconModule)
local Themes = require(iconModule.Themes)

-- Here we utilise the many other icon methods. You can view all of them at the docs.
Icon.new()
:setImage(6326373239)
:setLabel("Nanoblox")
:setCaption("Nanoblox Caption")
:setTip("Open Nanoblox Panel (v)")
:bindToggleKey(Enum.KeyCode.V)
:setProperty("deselectWhenOtherIconSelected", false)
:set("iconFont", Enum.Font.GothamSemibold)
:setRight()
:notify()
:setTheme(Themes.YourThemeName)
:bindEvent("selected", function(icon)
	print("selected!")
end)
:bindEvent("deselected", function(icon)
	print("deselected!")
end)
:setDropdown({
	Icon.new()
	:setLabel("Item 1")
	,
	Icon.new()
	:setLabel("Item 2")
	,
	Icon.new()
	:setLabel("Item 3")
	,
	Icon.new()
	:setLabel("Item 4")
	,
})

image
image