DirkScripts

dirk-3dme | config.lua

Dec 28th, 2023
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.60 KB | None | 0 0
  1. Config = {
  2.   identifierType     = "fivem", --## This is the identifier type that will be used to save the designs.
  3.   allowCustomDesigns = true, --## allow players to use the commands to upload their own designs
  4.   lockCustomToRole   = false, --## Bunch of roles that can use the custom designs can also be false to allow everyone to use this feature
  5.   --[[
  6.     addBackgroundImageCommand = "dirk-3dme:uploadBackground", --## This is the command that will be used to upload the background image
  7.     addLogoImageCommand       = "dirk-3dme:uploadLogo", --## This is the command that will be used to upload the logo image
  8.   ]]
  9.  
  10.   baseDesign = {
  11.     backgroundOpacity  = "0.5", --## This is the opacity of the background
  12.     backgroundLogo     = "imgs/serverLogo.png",
  13.     backgroundLogoSize = "100% 100%",
  14.     background      = "imgs/background.png",
  15.     backgroundSize  = "cover",
  16.     bubbleOutline   = "solid 2px #000",
  17.     bubbleTextColor = "black",
  18.     bubbleColor     = "rgba(255, 255, 255, 1.0)",
  19.     messageOutline  = "2px solid white",
  20.   },  
  21.  
  22.  
  23.   --## CHAT COMMAND SUGGESTION STUFF
  24.   enterMessageText      = "Insert the message you wish to display here", --## used for the chat suggestion
  25.   uploadBGSuggestion    = "Upload a background image for your 3DME",
  26.   uploadLogoSuggestion  = "Upload a logo image for your 3DME",
  27.   theURL                = "The URL of the image you wish to upload",
  28.  
  29.  
  30.   offset              = vector3(1.3, 0.0, 1.3), --## Will be off to the side of the ped
  31.   textDisplayDistance = 25.0, --## how far to show the text
  32.  
  33.  
  34.  
  35.   textTypes = {
  36.     ['do'] = {
  37.       label = "Do",
  38.       icon  = "fas fa-question-circle",
  39.       timeout = 5000,
  40.       chatSuggestion = "Use this command to describe what your character is doing. For example: /do is wearing a black jacket and jeans.",
  41.       -- OPTIONAL DESIGN PER COMMAND
  42.       --[[
  43.         design = {
  44.           backgroundOpacity  = "0.5", --## This is the opacity of the background
  45.           backgroundLogo     = "imgs/serverLogo.png",
  46.           backgroundLogoSize = "100% 100%",
  47.           background      = "imgs/background.png",
  48.           backgroundSize  = "cover",
  49.           bubbleOutline   = "solid 2px #000",
  50.           bubbleTextColor = "black",
  51.           bubbleColor     = "rgba(255, 255, 255, 1.0)",
  52.           messageOutline  = "2px solid white",
  53.         },
  54.       ]]
  55.     },
  56.  
  57.     ['me'] = {
  58.       label = "Me",
  59.       icon  = "fas fa-info-circle",
  60.       timeout = 5000,
  61.       chatSuggestion = "Use this command to describe what your character is doing. For example: /do is wearing a black jacket and jeans.",
  62.     }
  63.   }
  64. }
  65.  
  66.  
  67.  
Add Comment
Please, Sign In to add comment