/Tukui/config/config.lua

http://github.com/Asphyxia/Tukui · Lua · 266 lines · 234 code · 25 blank · 7 comment · 0 complexity · 66a86088357463db7615125d2d68a285 MD5 · raw file

  1. local T, C, L = unpack(select(2, ...)) -- Import: T - functions, constants, variables; C - config; L - locales
  2. C["general"] = {
  3. ["autoscale"] = true, -- mainly enabled for users that don't want to mess with the config file
  4. ["uiscale"] = 0.71, -- set your value (between 0.64 and 1) of your uiscale if autoscale is off
  5. ["overridelowtohigh"] = false, -- EXPERIMENTAL ONLY! override lower version to higher version on a lower reso.
  6. ["multisampleprotect"] = true, -- i don't recommend this because of shitty border but, voila!
  7. ["backdropcolor"] = {0,0,0}, -- default backdrop color of panels
  8. ["bordercolor"] = {.125, .125, .125}, -- default border color of panels
  9. ["blizzardreskin"] = true -- reskin all Blizzard frames
  10. }
  11. C["unitframes"] = {
  12. -- layout
  13. ["style"] = "Asphyxia", -- unitframe style, choose from ("Asphyxia", "Smelly" or "Tukui")
  14. -- general options
  15. ["enable"] = true, -- do i really need to explain this?
  16. ["hideunitframes"] = false, -- hide unitframes when out of combat.
  17. ["enemyhcolor"] = true, -- enemy target (players) color by hostility, very useful for healer.
  18. ["unitcastbar"] = true, -- enable tukui castbar
  19. ["cblatency"] = true, -- enable castbar latency
  20. ["cbicons"] = true, -- enable icons on castbar
  21. ["cbspark"] = true, -- enable castbar spark
  22. ["auratimer"] = true, -- enable timers on buffs/debuffs
  23. ["auratextscale"] = 11, -- the font size of buffs/debuffs timers on unitframes
  24. ["playerauras"] = false, -- enable auras
  25. ["targetauras"] = true, -- enable auras on target unit frame
  26. ["lowThreshold"] = 20, -- global low threshold, for low mana warning.
  27. ["targetpowerpvponly"] = false, -- enable power text on pvp target only
  28. ["totdebuffs"] = false, -- enable tot debuffs (high reso only)
  29. ["showtotalhpmp"] = false, -- change the display of info text on player and target with XXXX/Total.
  30. ["showsmooth"] = true, -- enable smooth bar
  31. ["charportrait"] = true, -- you DO NOT want to turn portrait off if you are using "Asphyxia2" style.
  32. ["classicon"] = true, -- Class icon on unitframes.
  33. ["maintank"] = false, -- enable maintank
  34. ["mainassist"] = false, -- enable mainassist
  35. ["unicolor"] = true, -- enable unicolor theme
  36. ["combatfeedback"] = true, -- enable combattext on player and target.
  37. ["playeraggro"] = true, -- color player border to red if you have aggro on current target.
  38. ["healcomm"] = true, -- enable healprediction support.
  39. ["onlyselfdebuffs"] = false, -- display only our own debuffs applied on target
  40. ["showfocustarget"] = true, -- show focus target
  41. ["bordercolor"] = { 0, 0, 0, 1 }, -- unit frames panel border color
  42. ["extendedpet"] = true, -- extended pet frame
  43. ["pettarget"] = true, -- show pet target frame
  44. ["showsolo"] = true, -- show raid frames when solo (DPS only)
  45. ["gradienthealth"] = true, -- change raid health color based on health percent.
  46. ["gradient"] = { -- health gradient color if unicolor is true.
  47. 4.5, 0.1, 0.1, -- R, G, B (low HP)
  48. 0.6, 0.3, 0.3, -- R, G, B (medium HP)
  49. 0.2, 0.2, 0.2, -- R, G, B (high HP)
  50. },
  51. -- raid layout (if one of them is enabled)
  52. ["showrange"] = true, -- show range opacity on raidframes
  53. ["raidalphaoor"] = 0.3, -- alpha of unitframes when unit is out of range
  54. ["gridonly"] = true, -- enable grid only mode for all healer mode raid layout.
  55. ["showsymbols"] = true, -- show symbol.
  56. ["aggro"] = true, -- show aggro on all raids layouts
  57. ["raidunitdebuffwatch"] = true, -- track important spell to watch in pve for grid mode.
  58. ["gridhealthvertical"] = false, -- enable vertical grow on health bar for grid mode.
  59. ["showplayerinparty"] = true, -- show my player frame in party
  60. ["gridscale"] = 1, -- set the healing grid scaling
  61. -- boss frames
  62. ["showboss"] = true, -- enable boss unit frames for PVELOL encounters.
  63. -- priest only plugin
  64. ["weakenedsoulbar"] = true, -- show weakened soul bar
  65. -- class bar
  66. ["classbar"] = true, -- enable tukui classbar over player unit
  67. }
  68. C["arena"] = {
  69. ["unitframes"] = true, -- enable tukz arena unitframes (requirement : tukui unitframes enabled)
  70. }
  71. C["interruptanncounce"] = {
  72. ["enable"] = true, -- enable/disable interrupt announce
  73. }
  74. C["auras"] = {
  75. ["player"] = true, -- enable tukui buffs/debuffs
  76. }
  77. C["actionbar"] = {
  78. ["enable"] = true, -- enable tukui action bars
  79. ["hotkey"] = true, -- enable hotkey display because it was a lot requested
  80. ["hideshapeshift"] = false, -- hide shapeshift or totembar because it was a lot requested.
  81. ["showgrid"] = true, -- show grid on empty button
  82. ["buttonsize"] = 27, -- normal buttons size
  83. ["petbuttonsize"] = 27, -- pet & stance buttons size
  84. ["stancebuttonsize"] = 27, -- pet & stance buttons size
  85. ["buttonspacing"] = 4, -- buttons spacing
  86. ["vertical_rightbars"] = false, -- vertical or horizontal right bars
  87. ["vertical_shapeshift"] = false, -- (NOT FOR SHAMANS/TOTEMS) vertical or horizontal shapeshift bar
  88. ["mainswap"] = false, -- swap bottom actionbars (main bar on top)
  89. ["macrotext"] = false, -- display macro text on buttons.
  90. }
  91. C["castbar"] = {
  92. ["classcolor"] = true, -- classcolor
  93. ["castbarcolor"] = {.150, .150, .150, 1}, -- color if classcolor = false
  94. ["nointerruptcolor"] = { 1, 0, 0, 1 }, -- color of casts which can't be interrupted
  95. }
  96. C["Addon_Skins"] = {
  97. ["background"] = false, -- Create a Panel that has the exactly same size as the right chat, placed at the bottomright (for addon placement)
  98. ["combat_toggle"] = false, -- Shows the Addon Background, Omen, Recount & Skada infight, hides out of fight
  99. ["Recount"] = true, -- Enable Recount Skin
  100. ["Skada"] = true, -- Enable Skada Skin
  101. ["Omen"] = true, -- Enable Omen Skin
  102. ["TinyDPS"] = true, -- Enable TinyDPS Skin
  103. ["DBM"] = true, -- skins DBM
  104. ["bigwigs"] = true, -- skins BigWigs
  105. ["embedright"] = "None", -- Addon to embed to the right frame ("Recount", & "Skada")
  106. ["embedrighttoggle"] = true,
  107. }
  108. C["sCombo"] = {
  109. ["enable"] = true, -- Enable sCombo-Addon for combopoints instead of default cp-display
  110. ["energybar"] = false, -- show energy-Bar below cp bar
  111. }
  112. C["bags"] = {
  113. ["enable"] = true, -- enable an all in one bag mod that fit tukui perfectly
  114. }
  115. C["map"] = {
  116. ["location_panel"] = true, -- show location panel at top of the screen
  117. }
  118. C["loot"] = {
  119. ["lootframe"] = true, -- reskin the loot frame to fit tukui
  120. ["rolllootframe"] = true, -- reskin the roll frame to fit tukui
  121. ["autogreed"] = true, -- auto-dez or auto-greed item at max level, auto-greed Frozen orb
  122. }
  123. C["cooldown"] = {
  124. ["enable"] = true, -- do i really need to explain this?
  125. ["treshold"] = 8, -- show decimal under X seconds and text turn red
  126. }
  127. C["datatext"] = {
  128. ["fps_ms"] = 0, -- show fps and ms on panels
  129. ["system"] = 0, -- show total memory and others systems infos on panels
  130. ["bags"] = 5, -- show space used in bags on panels
  131. ["gold"] = 6, -- show your current gold on panels
  132. ["wowtime"] = 12, -- show time on panels
  133. ["guild"] = 1, -- show number on guildmate connected on panels
  134. ["dur"] = 0, -- show your equipment durability on panels.
  135. ["friends"] = 2, -- show number of friends connected.
  136. ["dps_text"] = 0, -- show a dps meter on panels
  137. ["hps_text"] = 0, -- show a heal meter on panels
  138. ["power"] = 7, -- show your attackpower/spellpower/healpower/rangedattackpower whatever stat is higher gets displayed
  139. ["haste"] = 8, -- show your haste rating on panels.
  140. ["crit"] = 9, -- show your crit rating on panels.
  141. ["avd"] = 0, -- show your current avoidance against the level of the mob your targeting
  142. ["armor"] = 0, -- show your armor value against the level mob you are currently targeting
  143. ["currency"] = 0, -- show your tracked currency on panels
  144. ["hit"] = 11, -- show hit rating
  145. ["mastery"] =10, -- show mastery rating
  146. ["micromenu"] = 4, -- add a micro menu thought datatext
  147. ["regen"] = 0, -- show mana regeneration
  148. ["profession"] = 0, -- show profession
  149. ["calltoarms"] = 3, -- Call to arms pvp
  150. ["expertise"] = 0, -- show your expertise rating
  151. ["enable_specswitcher"] = true, -- Show talents
  152. -- Color Datatext
  153. ["classcolored"] = false, -- classcolored datatext
  154. ["color"] = {0.4, 0.4, 0.5}, -- datatext color (if classcolored = false) -- 0.15, 0.49, 0.69
  155. ["battleground"] = true, -- enable 3 stats in battleground only that replace stat1,stat2,stat3.
  156. ["bgannouncer"] = false, -- enable an announcer mod for BGs.
  157. ["time24"] = false, -- set time to 24h format.
  158. ["localtime"] = false, -- set time to local time instead of server time.
  159. ["fontsize"] = 12, -- font size for panels.
  160. }
  161. C["databars"] = {
  162. ["settings"] = {
  163. ["vertical"] = false, -- decend vertically...why?! it's so GAY!!!
  164. ["height"] = 17, -- set the height of the bars
  165. ["width"] = 100, -- set the width of the bars
  166. ["spacing"] = 3, -- amount of spacing between bars
  167. ["padding"] = 3, -- amount of space between sections (skip a number to make a new "section", e.g. fps:3, latency:4, memory:5, bags:7)
  168. },
  169. ["framerate"] = 1,
  170. ["latency"] = 2,
  171. ["memory"] = 3,
  172. ["durability"] = 4,
  173. ["currency"] = true,
  174. ["reputation"] = true, -- show bars with reputation
  175. ["reps"] = { -- Show 5 factions of your choice, including your guild.
  176. "Hellscream's Reach",
  177. "Therazane",
  178. "Dragonmaw Clan",
  179. "Guardians of Hyjal",
  180. "Systematic Chaos",
  181. },
  182. }
  183. C["asphyxia_panels"] = {
  184. ["asphyxiatalent"] = true, -- enable or disable talent switcher module (replaces specswitcher datatext).
  185. }
  186. C["chat"] = {
  187. ["enable"] = true, -- blah
  188. ["width"] = 378, -- adjust the chatframe width
  189. ["height"] = 175, -- adjust the chatframe height
  190. ["whispersound"] = true, -- play a sound when receiving whisper
  191. ["justifyRight"] = false, -- set right chat frame text to the right
  192. ["background"] = true, -- Dont make it false!!!
  193. ["rightchat"] = true, -- set loot window to right chatframe
  194. ["rightchatnumber"] = 4, -- Rightchat-background is attached to ChatFrameX ..X = value
  195. }
  196. C["nameplate"] = {
  197. ["enable"] = true, -- enable nice skinned nameplates that fit into tukui
  198. ["showhealth"] = true, -- show health text on nameplate
  199. ["enhancethreat"] = true, -- threat features based on if your a tank or not
  200. ["combat"] = false, -- only show enemy nameplates in-combat.
  201. ["goodcolor"] = {75/255, 175/255, 76/255}, -- good threat color (tank shows this with threat, everyone else without)
  202. ["badcolor"] = {0.78, 0.25, 0.25}, -- bad threat color (opposite of above)
  203. ["transitioncolor"] = {218/255, 197/255, 92/255}, -- threat color when gaining threat
  204. ["trackcc"] = true, --track all CC debuffs
  205. ["trackdebuffs"] = true, --track players debuffs only (debuff list derived from classtimer spell list)
  206. }
  207. C["tooltip"] = {
  208. ["enable"] = true, -- true to enable this mod, false to disable
  209. ["hidecombat"] = false, -- hide bottom-right tooltip when in combat
  210. ["hidebuttons"] = false, -- always hide action bar buttons tooltip.
  211. ["hideuf"] = false, -- hide tooltip on unitframes
  212. ["cursor"] = false, -- tooltip via cursor only
  213. }
  214. C["merchant"] = {
  215. ["sellgrays"] = true, -- automaticly sell grays?
  216. ["autorepair"] = true, -- automaticly repair?
  217. ["guildrepair"] = true, -- automatically use guild funds to repair (if available) -- guild repair only if autorepair == true
  218. ["sellmisc"] = true, -- sell defined items automatically
  219. }
  220. C["error"] = {
  221. ["enable"] = true, -- true to enable this mod, false to disable
  222. filter = { -- what messages to not hide
  223. [INVENTORY_FULL] = true, -- inventory is full will not be hidden by default
  224. },
  225. }
  226. C["invite"] = {
  227. ["autoaccept"] = false, -- auto-accept invite from guildmate and friends.
  228. }
  229. C["buffreminder"] = {
  230. ["enable"] = true, -- this is now the new innerfire warning script for all armor/aspect class.
  231. ["sound"] = true, -- enable warning sound notification for reminder.
  232. ["raidbuffreminder"] = true, -- enable panel with missing raid buffs next to the minimap
  233. }