Configuration File
The config file lets you define different aspects of the script.
UsedLang = "en" -- make sure your language is added in the ./language folder
-- DO NOT CHANGE THESE
Language = {}
Config = {}
Config.Decks = 1
Config.Cards = {2,3,4,5,6,7,8,9,10,11,12,13,14}--"J","Q","K","A"
Config.Suits = {"♦","♤","♥","♧"}
Config.Ace = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_a.png' style='height: 48px'/>"
Config.RoyalFlush = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_a.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_k.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_q.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_j.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_10.png' style='height: 48px'/>"
Config.StraightFlush = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_5.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_6.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_7.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_8.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_9.png' style='height: 48px'/>"
Config.FourKind = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_10.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/spades_10.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_10.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/clubs_10.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_j.png' style='height: 48px'/>"
Config.FullHouse = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_6.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/spades_6.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_6.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/clubs_3.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_3.png' style='height: 48px'/>"
Config.Flush = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_9.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_2.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_6.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_5.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_q.png' style='height: 48px'/>"
Config.Street = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_9.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/clubs_10.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_j.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/spades_q.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_k.png' style='height: 48px'/>"
Config.ThreeKind = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_2.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/spades_2.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_2.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/spades_4.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_7.png' style='height: 48px'/>"
Config.TwoPairs = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_4.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/spades_4.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/spades_8.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_8.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_a.png' style='height: 48px'/>"
Config.OnePair = "<img src='nui://d_texasholdem/html/img/cards/playing_cards_01/spades_7.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_7.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/diamonds_a.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/spades_10.png' style='height: 48px'/><img src='nui://d_texasholdem/html/img/cards/playing_cards_01/hearts_3.png' style='height: 48px'/>"
-- END DO NOT CHANGE THESE
Config.Framework = "vorp2" --decide which framework u use (vorp/vorp2/redemrp/redemrp2/gum/rsg/qbc/custom)
Config.WebhookUrl = "" -- provide discord channel webhook url
Config.WebhookAvatarUrl = "" -- custom avatar url for webhook if desired
Config.WebhookLogs = { -- decide which actions should be logged
TableStarted = true,
TableEnded = true,
TableWinLooseHandling = true,
PlayerJoined = true,
PlayerLeaved = true,
PlayerRebuy = true,
PlayerPlacedBet = true,
}
Config.Commands = { -- define name for script commands
main_cmd = "th", -- main command for debug info
template_cmd = "pokerTemplate" -- activate debug mode for new poker tables
}
Config.ConsoleMSG = false --turn on prints
Config.HoldToSeeCards = false --decide if you want a "hold to see" or "click to see" cards function
Config.UsePlayerName = true --decide if the player name or the server id with a prefix should be displayed / Prefix setup in language file "NoPlayerNamePrefix"
Config.UsePlayerFullName = false --use only firstname or first and last name | only if Config.UsePlayerName is true
Config.StartKey = 0xEB2AC491 --R
Config.InfoKey = 0x1ECA87D4 --Q
Config.FoldKey = 0xD596CFB0 -- F
Config.SurrenderKey = 0x156F7119 --Backspace
Config.BetLKey = 0x6319DB71 -- ARROW UP | old BetUKey
Config.BetRKey = 0x05CA7C52 -- ARROW DOWN | old BetDKey
Config.PlaceBetKey = 0xC7B5340A -- ENTER
Config.RdyToPlayKey = 0xC7B5340A -- ENTER
Config.RebuyKey = 0xEB2AC491 --R
Config.ShowCardsLKey = 0x07B8BEAF -- Left Click | old CardsKey
Config.ShowCardsRKey = 0xC13A6564 -- Right Click | old ComCardsKey
Config.TipTime = 3500 --timer for notification events
Config.ActionTimer = 120 --timer for player input | kicks players if player wont react on his/her turn until ActionTimer * 2
Config.PlayAnimation = {
AllIn = true, -- play animation when player goes all in
Bet = true, -- play animation when player places a bet
Check = true, -- play animation when player checks
Fold = true, -- play animation when player folds
Win = true, -- play animation when one or more player wins a round
WinningWholePot = true, -- play animation when one player wins the whole pot
DealerShuffleDeck = true, -- play animation when dealer shuffles the deck
DealerDealCards = true, -- play animation when dealer deals the cards
DealerFlop = true, -- play animation when dealer reveals the flop cards
DealerTurn = true, -- play animation when dealer reveals the turn card
DealerRiver = true -- play animation when dealer reveals the river card
}
-- Table Config Entries
Config.Locations = {
["Valentine"] = {
-- blip settings (0 = disable blip, -1 = always show blip, 1+ = show blip at distance in meters)
showBlip = 75,
blipSprite = 1243830185,
blipLocation = {x = -304.53515625, y = 801.1351928710938, z = 117.97854614257812, h = 0.0},
-- general table and prompt settings
tblLod = 15,
tblCoords = {x = -304.53515625, y = 801.1351928710938, z = 117.97854614257812, h = 45.0},
Name = "Texas Hold'em",
promptRadius = 2.1,
-- table specific settings
buyIn = 2.5,
smallBlind = 0.02,
deckStyle = 1,
-- prop settings / optional
props = {
["deck"] = {model= "p_cardssplit01x_val", x= -304.4264221191406, y= 800.7904052734375, z= 118.78, h = 28.7154598236084}
},
-- delete objects / optional
delete = {}
}
}
-- Wrapper event names. Only used when TexasHoldemConfig.Framework is set to "custom"
Wrapper = {}
Wrapper.objectiveEvent = "myFrameWork:Objective"
Wrapper.TipEvent = "myFrameWork:Tip"
Wrapper.HudOverride = "myFrameWork:OverrideHUD"
Wrapper.getCharFromId = "d_texasholdem:custom:getCharacterFromId" -- calls wrapper function from compatibility.luaNeeded Table Config Entries
key
value
description
Optional Table Config Entries
key
value
description
Last updated