Back
The Elder Scrolls Online

LibDialog - Custom confirmation dialog with 2 buttons

Overview

LibDialog has removed LibStub support with the Greymoor API10031 update.

LibDialog has removed LibStub support with the Greymoor API10031 update.
Please use the global variable "LibDialog" in your addons instead!

LibDialog
A library to create custom dialogs for your confirmation messages, containing customizable title and body text + 2 buttons (Accept, Decline) which can run your specified callback functions.

Usage
-Download, use as standalone library or strip the manifest txt file and just use the library file within your addon.
-Load the library within your addon code using the global variable LibDialog

-Specify a new dialog for your addon, giving it a unique dialog name, and using a unique addon name:

Title of the dialog: Can be a string, an integer registered for function GetString(Integer) or a function which returns a string
Body text of the dialog: Can be a string, an integer registered for function GetString(Integer) or a function which returns a string
callbackYes: The function which will be executed as the dialog button "Accept" is pressed (Obligatory)
callbackNo: The function which will be executed as the dialog button "Decline" is pressed (Can be nil)
callbackSetup: The function which will be executed as the dialog is created (Can be nil)
forceUpdate: boolean to force the update of an already registered dialog. If false the function will exit if the dialog already exists!
additionalOptions: table with additional options of ZO_Dialogs. See description below.
textParams: table with text parameters for zo_strformat replacement of placeholders in title, mainText and/or warning texts of ZO_Dialogs. See description below.

-Show the dialog using the same unique addon and unique dialog name which you have used to register a dialog before:

data: Data which can be passed to the dialog

Amount of dialogs per addon
You can define as much dialogs as you want to as the names are unique.

Additional options and textParams

Where are the dialogs stored ingame?
The dialogs will be stored in the library variable which you have deifned via libStub, e.g. libDialog.
You can check your "libDialog" variable ingame (if you expose it to the globals) to see a list of addons which use the library, where a dialog was registered for the addon already.

You can also check the global ESO variable for dialogs

where "dialogName" is the concatenated string of uniqueAddonName and uniqueDialogName.

ABOUT THIS LISTING

This page describes LibDialog - Custom confirmation dialog with 2 buttons by Baertram. The description and screenshots are the author's own, imported from their listing on ESOUI on 24 October 2026: https://www.esoui.com/downloads/info1931-LibDialog-Customconfirmationdialogwith2buttons.html

Mythiq.net hosts no files for it. The download button goes straight to the release file on cdn.esoui.com, so you are downloading from the author's own host, not from a copy of ours.

The download count, rating and comments on this page start at zero and count Mythiq.net only. The source's own figures are not copied here — they measure a different site, and a number that cannot be checked against our own ledger is not worth printing.

Requirements

Game versions
  • 9.2.5
  • 9.1.5
  • 9.0.0
  • 8.3.5
  • 8.2.5
  • 8.1.5
API VERSION

Built for ESO API version 9.2.5, 9.1.5, 9.0.0, 8.3.5, 8.2.5. After a patch the game marks add-ons built for the previous API as out of date; the "Allow out of date add-ons" checkbox in the add-on menu loads them anyway, and most work.

LIBRARIES

Many ESO add-ons depend on a shared library — LibAddonMenu-2.0 above all — which is installed separately, exactly like an add-on. A dependency that is missing shows as the add-on simply not appearing in the list.

CONSOLE

Add-ons are PC and Mac only. There is no way to load them on console.

Installation

1. Download the archive with the button on this page and unzip it.

2. Move the unzipped folder into your add-ons directory:

Windows — Documents\Elder Scrolls Online\live\AddOns

macOS — ~/Documents/Elder Scrolls Online/live/AddOns

3. Start the game, and at the character select screen click Add-Ons.

4. Tick the add-on. If it is greyed out and marked out of date, tick "Allow out of date add-ons" at the top of the same panel.

5. Log in. Most add-ons need a /reloadui after they are first enabled.

UPDATING

Delete the old folder first. ESO loads everything it finds, and two copies of one add-on is the usual cause of "an add-on has produced an error" on login.

This release downloads from cdn.esoui.com, not from us, so there is no checksum to compare against. Scan the archive before you unpack it.

Version history

  1. v1.27 Latest 27 Oct 2023 · 2.8 KB via cdn.esoui.com · 0 downloads Download
    Version 1.27
    -Updated API
    -Added "noChoiceCallback" function parameter to the RegisterDialog API function (e.g. if you press ESC key to close the dialog)

    Version 1.26
    Reverted back to same as version 1.2.4 due to title and maintext not working properly.
    More tests needed before the 1.2.5 changes will be brought online again, sorry.

    Version 1.25
    Updated API
    -Added support for additionalOptions and textParams tables to the register dialog function
    -Added functions to add/remove an editBox to a dialog
    -Added functions to add/remove a radioButtons to a dialog, including an "OnMouseUp" handler for each radiobutton
    See the description for the API functions and the additionalOptions and textParams table descriptions.

    Version 1.24
    Updated API
    Removed LibStub support! Please use the global variable LibDialog to call the library and strip LibStub from your addons as it is obsolete.

    Version 1.23
    Fixed: Loading of library without LibStub
    Removed: UTF-8 BOM on txt file

    Version 1.22
    -Updated API fopr Elsweyr
    -Added ##IsLibrary: true tag to manifest txt
    -Added ##AddOnVersion tag to manifest txt
    -Made lib work with LibStub, or without using global variable LibDialog
    -Removed LibStub from the archive and made LibDialog optional depending on LibStub

    Version 1.21
    Fixed: Archive contained a non-wanted subfolder LibDialog_1_2 which was removed.

    Version 1.2
    Changed: API
    Fixed: Dependency to library LibStub

    Version 1.1
    Added: callBack function for dialog setup
    Added: Support for "title" and "body" to be a normal String, a registered integer for the function GetString(integer) or a function which returns the string
    Added: data can be passed to the dialog's data now (access it via dialog.data)

    Off-site on cdn.esoui.com — no checksum, because we never held this file. Link checked by our review team on 25 Oct 2026.

Comments

No comments yet.

Sign in to leave a comment.

Report this mod

Tell us if something is wrong — a file that will not work, content taken from someone else, or anything that looks unsafe. Reports go to our review team, not to the author.

Sign in to report this mod.

We use cookies to ensure that we give you the best experience on our website and improve your experience. By continuing to use this site you consent to such use of cookies.

Learn More