Download
(348Kb)
Download
Updated: 01-12-19 04:15 AM
Pictures
File Info
Compatibility:
Zandalari and Kul Tiran (8.1.5)
Tides of Vengeance (8.1.0)
Battle for Azeroth (8.0.1)
Updated:01-12-19 04:15 AM
Created:11-11-17 05:58 AM
Downloads:3,394
Favorites:8
MD5:
Categories:Minimalistic Compilations, Graphical Compilations

StayFocusedUI (BfA live)

Version: 190112-00011
by: stayfocusedongame [More]

Minimalistic UI replacement for PvE and PvP.

UI modifications :

  • Move FPS frame on bottom left corner
  • Merge minimap's calendar button and minimap's tracking button
  • Adjust hall and garrison scales
  • Hide UIErrorFrame, unwanted bar elements and unwanted minimap elements
  • Move objective tracker on upper left corner
  • Set objective tracker max height at 75% screen
  • Clean chat frame and messages
  • Move chat frame to lower left corner
  • Move player, target and focus frames on right side closer to center
  • Move, adjust scales and clean cast bars (player, target and focus)
  • Replace portraits by class icons (player, target and focus)
  • Colorize unit frames background with class color (player, focus and target)
  • Colorize unit frames health bar with class color (player, target and focus)
  • Hide player and pet hit indicator
  • Hide target buff and debuff
  • Move boss frames on left side closer to center
  • Move arena enemies frames on left side closer to center
  • Hide boss banner
  • Hide talking head
  • Colorize action bar, units, minimap with faction color (horde, alliance and neutral)
  • Replace end caps with customized ones (horde, alliance and neutral)
  • Show paper doll item level
  • Show weapons and armors item level in bags
  • Colorize item level when greater than 90% of equipped item level
  • Collapse objectives in pvp
  • Colorize PvE nameplates by threat for all roles (green : threat status corresponding to your role, red not corresponding, orange for status warning, blue for offtank) and resize nameplates while tanking

Preferences :
  • Set game variables (raid frames, advanced combat logging, floating combat text, sound, camera, threat, screenshot ...)

Functions :
  • Enable mousewheel zoom on minimap
  • Auto quests module (accept, complet, skip details) when multiple quest available, stand by for player choice, stop automation when shift key pressed
  • Send chat messages in raid warning with specific sound (guild, guild officer, instance, instance leader, party, party leader, raid, raid leader, whisper and battle net)
  • Confirm disenchant roll
  • Confirm loot roll
  • Confirm bind on pickup loot
  • Speed up looting
  • Open mails except GM's mails and ones with cash on delivery
  • Repair equipment and sell junk when visiting a merchant
  • Learn available recipes when visiting a trainer
  • Release corpse in pvp
  • Announce minimap : rares, treasures except garrison cache (raid waning and sound)
  • Confirm summon
  • Announce spell interruption when player in party or raid
  • Enable double click fishing with or without fishing pole equipped
  • Enable double click survey

Slash commands :
  • /sf rl to reload ui
  • /sf debugon to enable LUA warnings and LUA errors
  • /sf debugon to hide LUA warnings and LUA errors
  • /sf fps to enable and disable FPS frame
  • /sf gridoff to hide screen grid frame
  • /sf gridon to show screen grid frame
  • /sf rc to perform ready check
  • /sf pull to start boss pull countdown
  • /sf stop to stop boss pul countdown

First install :

Download or install with the curse client, delete the file "layout-local.txt" in each WTF character folder (World of Warcraft\WTF\Account\AccountName\CharacterName\).

Update :

For people who had changed CVars in previous versions, remember to repeat your changes on new version.



Follow progress via github : http://github.com/stayfocusedongame/StayFocusedOnGame/projects/1

Contact via email : [email protected]

--- Version: 190112-00011
New Horde and Alliance endcaps
TECH-007 show honor as experience variable disabled
Post A Reply Comment Options
Unread 01-27-19, 03:43 AM  
stayfocusedongame
A Kobold Labourer
 
stayfocusedongame's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Re: Quest Auto Accept

Originally Posted by RixsterC
Absolutely love the UI, great work! Is there a way to turn OFF the Quest Auto Accept? I have looked but cannot seem to find it.
Sorry for the wait. In order to disable automatic acceptance of quests, you must comment or delete two functions in the file lua: STAYFOCUSEDEVENTS: QUEST_ACCEPT_CONFIRM and STAYFOCUSEDEVENTS: QUEST_DETAIL.

If you also want to disable the completion of quests you will have to comment or delete all functions starting with STAYFOCUSEDEVENTS: QUEST.
__________________
“Tell me and I'll listen. Show me and I'll understand. Involve me and I'll learn.”

Teton Lakota Indian saying
Report comment to moderator  
Reply With Quote
Unread 01-19-19, 08:08 AM  
RixsterC
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Quest Auto Accept

Absolutely love the UI, great work! Is there a way to turn OFF the Quest Auto Accept? I have looked but cannot seem to find it.
Report comment to moderator  
Reply With Quote
Unread 01-13-19, 08:54 AM  
stayfocusedongame
A Kobold Labourer
 
stayfocusedongame's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Great !
Originally Posted by Ansi
Fantastic! It works! Credit is due :-) Now I just need to find a default 3x12 actiobar :-P
__________________
“Tell me and I'll listen. Show me and I'll understand. Involve me and I'll learn.”

Teton Lakota Indian saying
Report comment to moderator  
Reply With Quote
Unread 01-13-19, 05:02 AM  
Ansi
An Aku'mai Servant
 
Ansi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 101
Uploads: 4
Fantastic! It works! Credit is due :-) Now I just need to find a default 3x12 actiobar :-P


Originally Posted by stayfocusedongame
Hi Ansi !

Thx ! Now end caps are linked to the art frame, you just have to scale, size and anchor it. Here a generic exemple :

Lua Code:
  1. -- Generic frame/event catcher
  2. MYADDON, MYADDONEVENTS = CreateFrame("FRAME", "MYADDON"), {};
  3.  
  4. function MYADDONEVENTS:ADDON_LOADED(...)
  5.         -- the new artwork :
  6.         MainMenuBarArtFrame.LeftEndCap:SetTexture("Interface\\AddOns\\MYADDON\\mytexture.png");
  7.         MainMenuBarArtFrame.RightEndCap:SetTexture("Interface\\AddOns\\MYADDON\\mytexture.png");
  8.         -- size and scale your picture
  9.         MainMenuBarArtFrame.LeftEndCap:SetHeight(130);
  10.         MainMenuBarArtFrame.RightEndCap:SetHeight(130);
  11.         MainMenuBarArtFrame.LeftEndCap:SetScale(1);
  12.         MainMenuBarArtFrame.RightEndCap:SetScale(1);
  13.         -- define a position relative to main bar (if not, end caps will not move correctly when other bars show)
  14.         MainMenuBarArtFrame.LeftEndCap:SetPoint("BOTTOM", MainMenuBar, "BOTTOM", 0, 0);
  15.         MainMenuBarArtFrame.RightEndCap:SetPoint("BOTTOM", MainMenuBar, "BOTTOM", 0, 0);
  16.      
  17. end;
  18.  
  19. --- Handler
  20. MYADDON:SetScript("OnEvent", function(self, event, ...)
  21.     MYADDONEVENTS[event](self, ...);
  22. end);
  23. for k, _ in pairs(MYADDONEVENTS) do
  24.     MYADDON:RegisterEvent(k);
  25. end;
__________________
twitter.com/ansirox
Report comment to moderator  
Reply With Quote
Unread 01-13-19, 02:54 AM  
stayfocusedongame
A Kobold Labourer
 
stayfocusedongame's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Originally Posted by Anj
Thanks for the well-commented code.
Thx
__________________
“Tell me and I'll listen. Show me and I'll understand. Involve me and I'll learn.”

Teton Lakota Indian saying
Last edited by stayfocusedongame : 01-13-19 at 02:55 AM.
Report comment to moderator  
Reply With Quote
Unread 01-13-19, 02:53 AM  
stayfocusedongame
A Kobold Labourer
 
stayfocusedongame's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Hi Ansi !

Thx ! Now end caps are linked to the art frame, you just have to scale, size and anchor it. Here a generic exemple :

Lua Code:
  1. -- Generic frame/event catcher
  2. MYADDON, MYADDONEVENTS = CreateFrame("FRAME", "MYADDON"), {};
  3.  
  4. function MYADDONEVENTS:ADDON_LOADED(...)
  5.         -- the new artwork :
  6.         MainMenuBarArtFrame.LeftEndCap:SetTexture("Interface\\AddOns\\MYADDON\\mytexture.png");
  7.         MainMenuBarArtFrame.RightEndCap:SetTexture("Interface\\AddOns\\MYADDON\\mytexture.png");
  8.         -- size and scale your picture
  9.         MainMenuBarArtFrame.LeftEndCap:SetHeight(130);
  10.         MainMenuBarArtFrame.RightEndCap:SetHeight(130);
  11.         MainMenuBarArtFrame.LeftEndCap:SetScale(1);
  12.         MainMenuBarArtFrame.RightEndCap:SetScale(1);
  13.         -- define a position relative to main bar (if not, end caps will not move correctly when other bars show)
  14.         MainMenuBarArtFrame.LeftEndCap:SetPoint("BOTTOM", MainMenuBar, "BOTTOM", 0, 0);
  15.         MainMenuBarArtFrame.RightEndCap:SetPoint("BOTTOM", MainMenuBar, "BOTTOM", 0, 0);
  16.      
  17. end;
  18.  
  19. --- Handler
  20. MYADDON:SetScript("OnEvent", function(self, event, ...)
  21.     MYADDONEVENTS[event](self, ...);
  22. end);
  23. for k, _ in pairs(MYADDONEVENTS) do
  24.     MYADDON:RegisterEvent(k);
  25. end;
__________________
“Tell me and I'll listen. Show me and I'll understand. Involve me and I'll learn.”

Teton Lakota Indian saying
Report comment to moderator  
Reply With Quote
Unread 01-13-19, 02:34 AM  
Anj
A Chromatic Dragonspawn
 
Anj's Avatar

Forum posts: 178
File comments: 503
Uploads: 0
Thanks for the well-commented code.
Report comment to moderator  
Reply With Quote
Unread 01-13-19, 01:53 AM  
Ansi
An Aku'mai Servant
 
Ansi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 101
Uploads: 4
Hi Stayfocused!

You're the first player I see who managed to change the Endcaps. I couldn't figure out how (see here https://www.wowinterface.com/forums/...ad.php?t=56413).


Would you help me make a standalone lua to change them? I see the code in your files, but I don't know how to separate it without the colours and bling :-)


Then I'll owe you a special thanks!


Lua Code:
  1. [color=#e5e5e5]function STAYFOCUSEDEVENTS:ADDON_LOADED(...)[/color]
  2. [color=#e5e5e5] local red, geen, blue;[/color]
  3. [color=#e5e5e5] if faction == "Horde" then[/color]
  4. [color=#e5e5e5]     MainMenuBarArtFrame.LeftEndCap:SetTexture("Interface\\AddOns\\StayFocusedUI\\Textures\\endcap horde.png");[/color]
  5. [color=#e5e5e5]     MainMenuBarArtFrame.RightEndCap:SetTexture("Interface\\AddOns\\StayFocusedUI\\Textures\\endcap horde.png");[/color]
  6. [color=#e5e5e5]     red = 0.55;[/color]
  7. [color=#e5e5e5]     green = 0;[/color]
  8. [color=#e5e5e5]     blue = 0;[/color]
  9. [color=#e5e5e5] elseif faction == "Alliance" then[/color]
  10. [color=#e5e5e5]     MainMenuBarArtFrame.LeftEndCap:SetTexture("Interface\\AddOns\\StayFocusedUI\\Textures\\endcap alliance.png");[/color]
  11. [color=#e5e5e5]     MainMenuBarArtFrame.RightEndCap:SetTexture("Interface\\AddOns\\StayFocusedUI\\Textures\\endcap alliance.png");[/color]
  12. [color=#e5e5e5]     red = 0.3;[/color]
  13. [color=#e5e5e5]     green = 0.4;[/color]
  14. [color=#e5e5e5]     blue = 1;[/color]
  15. [color=#e5e5e5] else[/color]
  16. [color=#e5e5e5]     MainMenuBarArtFrame.LeftEndCap:SetTexture("Interface\\AddOns\\StayFocusedUI\\Textures\\endcap neutral.png");[/color]
  17. [color=#e5e5e5]     MainMenuBarArtFrame.RightEndCap:SetTexture("Interface\\AddOns\\StayFocusedUI\\Textures\\endcap neutral.png");[/color]
  18. [color=#e5e5e5]     red = 0.98;[/color]
  19. [color=#e5e5e5]     green = 0.84;[/color]
  20. [color=#e5e5e5]     blue = 0.11;[/color]
  21. [color=#e5e5e5] end;[/color]
  22. [color=#e5e5e5]     MainMenuBarArtFrame.LeftEndCap:SetHeight(130);[/color]
  23. [color=#e5e5e5]     MainMenuBarArtFrame.RightEndCap:SetHeight(130);[/color]
  24. [color=#e5e5e5]     MainMenuBarArtFrame.LeftEndCap:SetScale(1);[/color]
  25. [color=#e5e5e5]     MainMenuBarArtFrame.RightEndCap:SetScale(1);[/color]
  26. [color=#e5e5e5]     MainMenuBarArtFrameBackground.BackgroundSmall:SetDrawLayer("ARTWORK", 1);[/color]
  27. [color=#e5e5e5]     MainMenuBarArtFrame.RightEndCap:SetDrawLayer("ARTWORK", -1);[/color]
  28. [color=#e5e5e5]     MainMenuBarArtFrame.LeftEndCap:SetPoint("BOTTOM", MainMenuBar, "BOTTOM", 0, 0);[/color]
  29. [color=#e5e5e5]     MainMenuBarArtFrame.RightEndCap:SetPoint("BOTTOM", MainMenuBar, "BOTTOM", 0, 0);[/color]
  30. [color=#e5e5e5] for i, v in pairs({MainMenuBarArtFrameBackground.WatchBar, MainMenuBarArtFrameBackground.BackgroundLarge, MainMenuBarArtFrameBackground.BackgroundSmall, MicroButtonAndBagsBar.MicroBagBar,[/color]
  31. [color=#e5e5e5]     -- ArtifactWatchBar.StatusBar.WatchBarTexture0, ArtifactWatchBar.StatusBar.WatchBarTexture1, ArtifactWatchBar.StatusBar.WatchBarTexture2, ArtifactWatchBar.StatusBar.WatchBarTexture3, ArtifactWatchBar.StatusBar.XPBarTexture0, ArtifactWatchBar.StatusBar.XPBarTexture1,[/color]
  32. [color=#e5e5e5]     -- ArtifactWatchBar.StatusBar.XPBarTexture2, ArtifactWatchBar.StatusBar.XPBarTexture3,[/color]
  33. [color=#e5e5e5]     BonusActionBarFrameTexture0, BonusActionBarFrameTexture1, BonusActionBarFrameTexture2, BonusActionBarFrameTexture3, BonusActionBarFrameTexture4, CastingBarFrameBorder, FocusFrameSpellBarBorder,[/color]
  34. [color=#e5e5e5]     FocusFrameTextureFrameTexture, FocusFrameToTTextureFrameTexture,[/color]
  35. [color=#e5e5e5]     -- HonorWatchBar.StatusBar.WatchBarTexture0, HonorWatchBar.StatusBar.WatchBarTexture1, HonorWatchBar.StatusBar.WatchBarTexture2, HonorWatchBar.StatusBar.WatchBarTexture3, HonorWatchBar.StatusBar.XPBarTexture0,[/color]
  36. [color=#e5e5e5]     -- HonorWatchBar.StatusBar.XPBarTexture1, HonorWatchBar.StatusBar.XPBarTexture2, HonorWatchBar.StatusBar.XPBarTexture3,[/color]
  37. [color=#e5e5e5]     MainMenuBarTexture0, MainMenuBarTexture1, MainMenuBarTexture2, MainMenuBarTexture3,[/color]
  38. [color=#e5e5e5]     -- MainMenuExpBar.WatchBarTexture0, MainMenuExpBar.WatchBarTexture1, MainMenuExpBar.WatchBarTexture2, MainMenuExpBar.WatchBarTexture3, MainMenuExpBar.XPBarTexture0, MainMenuExpBar.XPBarTexture1, MainMenuExpBar.XPBarTexture2, MainMenuExpBar.XPBarTexture3,[/color]
  39. [color=#e5e5e5]     MainMenuMaxLevelBar0, MainMenuMaxLevelBar1, MainMenuMaxLevelBar2, MainMenuMaxLevelBar3,[/color]
  40. [color=#e5e5e5]     MainMenuXPBarDiv1, MainMenuXPBarDiv2, MainMenuXPBarDiv3, MainMenuXPBarDiv4, MainMenuXPBarDiv5, MainMenuXPBarDiv6, MainMenuXPBarDiv7, MainMenuXPBarDiv8, MainMenuXPBarDiv9, MainMenuXPBarDiv10, MainMenuXPBarDiv11, MainMenuXPBarDiv12, MainMenuXPBarDiv13, MainMenuXPBarDiv14,[/color]
  41. [color=#e5e5e5]     MainMenuXPBarDiv15, MainMenuXPBarDiv16, MainMenuXPBarDiv17, MainMenuXPBarDiv18, MainMenuXPBarDiv19, MainMenuXPBarTextureLeftCap, MainMenuXPBarTextureMid, MainMenuXPBarTextureRightCap, MiniMapBattlefieldBorder, MiniMapLFGFrameBorder, MiniMapMailBorder, MiniMapTrackingButtonBorder,[/color]
  42. [color=#e5e5e5]     MinimapBorder, MinimapBorderTop, PartyMemberFrame1PetFrameTexture, PartyMemberFrame1Texture, PartyMemberFrame2PetFrameTexture, PartyMemberFrame2Texture, PartyMemberFrame3PetFrameTexture, PartyMemberFrame3Texture, PartyMemberFrame4PetFrameTexture, PartyMemberFrame4Texture,[/color]
  43. [color=#e5e5e5]     PetFrameTexture, PlayerFrameTexture,[/color]
  44. [color=#e5e5e5]     -- ReputationWatchBar.StatusBar.WatchBarTexture0, ReputationWatchBar.StatusBar.WatchBarTexture1, ReputationWatchBar.StatusBar.WatchBarTexture2, ReputationWatchBar.StatusBar.WatchBarTexture3, ReputationWatchBar.StatusBar.XPBarTexture0,[/color]
  45. [color=#e5e5e5]     -- ReputationWatchBar.StatusBar.XPBarTexture1, ReputationWatchBar.StatusBar.XPBarTexture2, ReputationWatchBar.StatusBar.XPBarTexture3,[/color]
  46. [color=#e5e5e5]     TargetFrameSpellBarBorder, TargetFrameTextureFrameTexture, TargetFrameToTTextureFrameTexture,[/color]
  47. [color=#e5e5e5] }) do[/color]
  48. [color=#e5e5e5]     v:SetDesaturated(true);[/color]
  49. [color=#e5e5e5]     v:SetVertexColor(red, green, blue);[/color]
  50. [color=#e5e5e5] end;[/color]
  51. [color=#e5e5e5]end;[/color]


__________________
twitter.com/ansirox
Report comment to moderator  
Reply With Quote
Unread 08-01-18, 10:15 AM  
stayfocusedongame
A Kobold Labourer
 
stayfocusedongame's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Originally Posted by Booga71
I like the UI, nice job.

One comment/question though, it seems the CVAR setting causes most of the problems or setup work for the useThe UI is how I like to playr when first installing, and it is annoying that you can't change these ingame and make them stick (e.g. your CVAR settings overwrite the user settings). Can you make these optional, or an install option where users can opt out, or use their own?

Second part to this, would anything bad happen, if a user disables all CVAR setting?
Hello,

There will be no menu in game. I like it this way.
You can modify lua file and delete or comment things you don't want. Just remmeber to do the same when you update the addon.
__________________
“Tell me and I'll listen. Show me and I'll understand. Involve me and I'll learn.”

Teton Lakota Indian saying
Report comment to moderator  
Reply With Quote
Unread 08-01-18, 06:28 AM  
Booga71
A Kobold Labourer

Forum posts: 1
File comments: 3
Uploads: 0
I like the UI, nice job.

One comment/question though, it seems the CVAR setting causes most of the problems or setup work for the user when first installing, and it is annoying that you can't change these ingame and make them stick (e.g. your CVAR settings overwrite the user settings). Can you make these optional, or an install option where users can opt out, or use their own?

Second part to this, would anything bad happen, if a user disables all CVAR setting?
Report comment to moderator  
Reply With Quote
Unread 07-23-18, 04:39 AM  
stayfocusedongame
A Kobold Labourer
 
stayfocusedongame's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Re: Guild Chat Report

Originally Posted by KylanX
Hey,

can you tell me how I can deactivate the Guild Chat Report? Every Time a Member writes a Message I get a Notification in the middle of the screen.


NG
Hi,

Modify StayFocusedUi.lua, go to line 843 and comment STAYFOCUSEDEVENTS:CHAT_MSG_GUILD(...) function. If you want to disable Officer chat report, do the same with STAYFOCUSEDEVENTS:CHAT_MSG_OFFICER(...) function.

Comment like below :
Lua Code:
  1. -- function STAYFOCUSEDEVENTS:CHAT_MSG_GUILD(...)
  2.     -- SendAs(select(1, ...), select(2, ...), "GUILD", "Interface\\AddOns\\StayFocusedUI\\Sounds\\chat_g.ogg");
  3. -- end;
  4. -- function STAYFOCUSEDEVENTS:CHAT_MSG_OFFICER(...)
  5.     -- SendAs(select(1, ...), select(2, ...), "OFFICER", "Interface\\AddOns\\StayFocusedUI\\Sounds\\chat_g.ogg");
  6. -- end;
__________________
“Tell me and I'll listen. Show me and I'll understand. Involve me and I'll learn.”

Teton Lakota Indian saying
Report comment to moderator  
Reply With Quote
Unread 07-23-18, 03:52 AM  
KylanX
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Guild Chat Report

Hey,

can you tell me how I can deactivate the Guild Chat Report? Every Time a Member writes a Message I get a Notification in the middle of the screen.


NG
Report comment to moderator  
Reply With Quote
Unread 07-22-18, 09:08 AM  
stayfocusedongame
A Kobold Labourer
 
stayfocusedongame's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Re: awesome interface

Originally Posted by shazzy
I absolutely love this UI. I just had to post and say.
Thx a lot
__________________
“Tell me and I'll listen. Show me and I'll understand. Involve me and I'll learn.”

Teton Lakota Indian saying
Report comment to moderator  
Reply With Quote
Unread 07-22-18, 08:18 AM  
shazzy
A Murloc Raider
 
shazzy's Avatar

Forum posts: 7
File comments: 22
Uploads: 0
Thumbs up awesome interface

I absolutely love this UI. I just had to post and say.
Report comment to moderator  
Reply With Quote
Unread 07-03-18, 12:33 AM  
stayfocusedongame
A Kobold Labourer
 
stayfocusedongame's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Re: chat

Originally Posted by Qrso
Hi. how do I turn off the chat? well thank you
Hi,

Could you be more precise ? All Chat window ? Guild chat report ?

Thx
__________________
“Tell me and I'll listen. Show me and I'll understand. Involve me and I'll learn.”

Teton Lakota Indian saying
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: