server.lua

Documentation for server.lua Configuration

Drill Item Configuration

Config.MenuItem = "dh_drill"
  • Description: Specifies the item required to initiate the drilling process.

  • Example: "dh_drill" means players need this item to start drilling.

Dont forget to add the item dh_drill to the item list. An example of how to add to qb-inventory and ox-inventory can be found in the items.lua file

Ore Deletion Chance

Config.DeleteOreChance = 10
  • Description: Sets the probability (in percentage) that an ore will be removed after a successful drill.

  • Example: 10 means there is a 10% chance of the ore disappearing post-drilling.

Money Type for Jobs and Quests

Config.MoneyType = "cash"
  • Description: Determines whether the player receives job payment as cash or bank balance.

  • Options: "cash" or "bank"

Config.MoneyTypeQuest = "cash"
  • Description: Specifies the method of payment (cash or bank) for completing quests.

  • Options: "cash" or "bank"

Webhook Configuration

Config.Webhook = "https://discord.com/api/webhooks/890000000000000000/"
  • Description: URL for sending logs or notifications to a Discord channel.

  • Note: Replace with your webhook URL for proper functionality.

Last updated