rcore.cz
  • rcore.cz
  • Store
  • Discord
  • Web administration
  • Our store
  • YouTube
  • 🐌CFX Auth system
    • CFX Auth system
    • Transfer script to another account
    • Error: You lack the required entitlement
    • Error: syntax error near '<\1>'
  • Server
    • Updating server
    • onesync
  • Administration
    • How to change IP
    • Forgot your password?
  • FAQ
    • General issues
    • Cannot verify license
    • Cannot hear any music
    • ECONNRESET: Unable to execute a query
  • paid resources
    • 🏑rcore_airhockey
      • How To Play
      • Spawning a Hockey Table
    • 💪rcore_armwrestling
      • How to place arm table
    • 🎴rcore_banners
      • How to Begin
      • How to Update
      • Common issues & solutions
      • Installation
      • Inventory Items
      • Configs
        • General
        • Billboards
        • Business
        • Permissions
        • Job
        • Config
      • Guides
        • How to change UI logo?
        • How to create new server banner?
        • How to create business?
        • How to buy billboard?
        • How to place banner?
        • Cannot see banners?
        • Expired images
      • API
    • 🏀rcore_basketball
      • Configure new hoop
    • 🏓rcore_beerpong
      • How to use
    • 📹rcore_bodycam
      • Integration
      • Anticheat
      • Recordings don't save
    • 🎳rcore_bowling
      • Configure new alley
    • 🎥rcore_cam
      • Integration
      • Anticheat
    • ⛺rcore_camping
      • Installation
      • Config
      • Consumable Beer
      • OX Inventory
      • Frameworks
      • API
    • 🎪rcore_carnival
      • Create new minigame
    • 🃏rcore_casino
      • Installing Maps
        • UncleJust Casino
        • DlcIplLoader
        • Gabz Casino
        • NoPixel Casino
        • K4MB1 Casino
        • rcore_casino_interior
        • Underground Casino Paleto
        • K4MB1 Enterable Diamond Casino
        • Patoche Casino
        • Clawles: Casino Los Santos
        • Molo Casino
        • Jurassic Jackpot Casino
      • Standalone Version
      • Custom Framework
      • Installing on QBCore
      • Installing on ESX
      • Installing Inventory Items
      • The Cashier
      • Society
      • Lucky Wheel & Podium Vehicle
      • Table Games
      • Slot Machines
      • Casino Bar
      • Inside Track
      • Translations
      • Discord Hook
      • MYSQL Info
      • CasinoControl (Exports)
      • Casino Job & Office
      • Changing Odds
    • 👕rcore_clothes
      • Dark theme
      • Adding a new clothes shop
      • Components
      • Restriction for certian job
      • Custom clothes price
      • Clothes blacklist / Whitelist
      • esx_accessories
      • qb_apartments
      • cui_character
      • API: Open outfits
      • API: Open clothes shop
    • 🎽rcore_clothing 🆕
      • How to begin
      • Installation
      • Migration
      • Configs
        • Main config
        • Price config
        • Shop config
        • Peds config
        • Undress clothes
      • FAQ
      • Admin mode
        • Modes
        • Image debugging
        • Stock management
      • Adding replace/addon clothes
      • Categorize clothing automatically
      • API
      • Troubleshooting
      • Integration
        • Multichar integration guide
        • esx_multicharacter
        • esx_multicharacter OLD
        • qb-multicharacter
        • crm_multichar
        • codem_multichar
        • okok_multichar
        • qbox_multichar
        • ESX vms_multichar
        • QB vms_multichar
        • qs-multicharacter
        • um_multichar
        • wais_multicharacter v2
        • zr_multichar
        • zsx_multicharacter
    • 💃rcore_dance
      • Installation
      • Config
      • FAQ
      • Troubleshooting
      • API
    • 📱rcore_dispatch
      • Config
      • Add alerts
      • Add jobs
      • Locales
      • Logs
      • Integrations
      • Framework
      • Voice and radio
    • 🔒rcore_doorlock
      • Installation
      • Configuration
      • Migration
      • Business
        • Configuration
        • Locksmith Example
      • Inventory Items
      • Keychain
      • API
    • 🍺rcore_drunk
      • How to place drink on table
      • Create new item drink
      • ox inventory
      • API
      • How to use
    • 🥚rcore_easter
      • Installation
      • Configuration
      • API
    • ⛽rcore_fuel
      • Installation
        • ESX
        • QBCore
      • Inventory
        • ESX
        • QBCore
        • ox_inventory
      • Config
        • New fuel station
        • Change fuel type for vehicle
        • Change fuel capacity for vehicle
        • Setting fuel station to be ownable
        • Wrong fuel type
        • Change gas price
      • Integrations
        • API
        • Vehicle keys integrations
        • Hud/Garage integration
      • Server
        • Commands
    • 🔫rcore_gangs
      • API
        • Client
        • Server
      • Integration
        • Framework
        • Inventory
        • Dispatch
      • Localization
      • Configuration
        • Custom gang zone
    • 🚙rcore_garage
      • qb-phone missing garages name
      • missing screenshots
    • 📙rcore_guidebook
      • Installation
      • Config
      • Data permissions
      • API
      • Themes
      • 📙V1 Docs
        • Installation
        • API
        • Themes
    • 🔫rcore_gunshop
      • QBCore Installation
      • ESX Installation
      • How to change pricing
      • How to enable sales of weapons
      • Enabling MK2 weapons on QBCore
      • Adding the ammunation job for QBCore
      • Adding the ammunation job for ESX
    • 🎯rcore_gunrange
      • Installation
      • API
      • Troubleshooting
      • Frequently Asked Questions
      • Gun Range Editor
    • 🏨rcore_hotel
      • How to add another hotel example
      • esx_inventoryhud
      • Quasar inventory
      • OX inventory
      • MF inventory
      • Custom wardrobe
    • 🧑rcore_identity
      • How to change date format
      • esx_kasharacter
    • 🟠rcore_job_blips
      • Installation
      • Configuration
      • Blip Setup
      • Group Setup
      • API
    • ⛳rcore_minigolf
      • Builder
      • Company
      • Config
    • 🚛rcore_missionpack_legal
      • Migrate from old version
    • 🚗rcore_pdm
      • Missing images
      • Blips on minimap
      • Vehicles in stock
      • Missing vehicle names
      • Edit the speed of the vehicle in UI
      • Boss menu + locations
      • Displayed vehicle in the shop
      • How to add a vehicle with a new category
      • QBCore
        • Import missing vehicles from qbcore to rcore_pdm
        • Job data for QBCore framework
        • Import vehicles from database to qbcore
    • 🏓rcore_pingpong
      • How To Play
      • Spawning a Pong Table
      • Match Settings
    • 🤽‍♀️rcore_pool
      • Anticheat
      • How to place pool table
    • 👮rcore_police
      • Installation
      • How to Update
      • Features
      • Inventory
      • Deployer
      • Configs
        • Main Config
      • API
        • Client
        • Server
    • ⛓️rcore_prison
      • Migration from V1
      • How to Begin
      • How to Update
      • Installation
      • Inventory items
      • Configs
        • Main Config
      • Guides
        • Deployer
        • Changing minigame for Cigarette packaging
        • Changing Prison jobs reward
        • Configuring Permissions
        • How to translate in-game panel
        • How to define own stats for Prison GYM?
        • How to define/change default Prisoner outfits?
        • How to define own Prison map?
      • Features
        • Prison Break
        • Solitary
        • Cigar packaging
        • Canteen
        • Dealer
        • Dashboard
        • Chair system
        • Prison Prolog
      • Integrations
        • Inventory
        • Inventory items
      • API
        • Client
        • Server
      • ⛓️V1 Docs
        • Config
        • Inventory
        • API
          • Client
          • Server
        • Locales system
        • Interiors presets
        • Camera prolog
        • Outfits
    • 📻rcore_radiocar
      • API
        • Radio item
        • Marker for buying radio
    • 📋rcore_report
      • Installation
      • API
      • Ace Permissions
      • Config
      • UI Config
      • Features
      • Console Logs
      • Custom Data
      • Responsivity
    • 🏪rcore_shops
      • Add new shop
      • How to add weapon
      • Hide blip on minimap / map
      • Restrict shop to certain job
    • 🔠rcore_shortcuts
      • API
      • Commands and Hotkeys
      • Permissions
      • Notifications
      • Limits
      • Styles
    • ✨rcore_spray
      • ESX instalation
      • QBCore instalation
      • OX Inventory instalation
      • How to add a new image
      • How to add a new font
      • Gang integration
      • Anticheat
    • 📈rcore_stats
      • Installation
      • Permissions
      • Configs
        • Main config
        • Performance
        • Units
        • Other
      • Translation
      • Changing Default Values
      • API
        • Integration
        • Delete
        • Other
    • 👹rcore_tattoos
      • Installation
      • Migrations
      • Add-on tattoos
      • Config
      • Custom Framework
      • Design
      • Tattoo config options
      • Tattoo permissions
      • Troubleshooting
      • API
      • Integrations
        • qb-gangs
      • Business update
        • Config
        • Simple Business
        • Business with jobs
        • Default settings
    • 📺rcore_television
      • How to add a new television
    • 🔧rcore_tuning
      • Editing your config
      • Configuring your framework
      • Job integration
      • Item integration
      • Editing tuning prices
    • 📋rcore_whiteboard
      • Whiteboard type & data
      • Position editor
      • API
      • FAQ
    • 🎁rcore_xmas
      • Installation
      • Configuration
      • Inventory Items
      • Snowball Damage
      • API
    • 📻xradio
      • API
      • Custom menu
      • Ox inventory
  • free resources
    • rcore_arcade
      • How to add msdos games
Powered by GitBook
On this page
  • Debug
  • Positions
  • File preview

Was this helpful?

  1. paid resources
  2. rcore_easter

Configuration

PreviousInstallationNextAPI

Last updated 1 year ago

Was this helpful?

🗒️ All values are properly described in config file of the script. Configuration file is located in rcore_easter/config.lua!

Debug

If you have any issue with script and you don't know how to solve it, set Debug = true in configuration file to see additional informations printed to client console (F8) and server console. Screenshots will help our support to solve faster and better your problem in ticket.

Positions

You can set up positions of easter eggs in the rcore_easter/positions.lua file. You can add as many positions as you want. We also prepared debug mode so you simply see all points on map. To enable this go to config.lua and change Config.DebugPoints from false to true. Restart the script, and you should see red blips around the map and green lines at different positions.

Map points

Position tool

🗒️ This feature need to be enabled in config please change Config.DebugPoints to true

We add simple tool to help you with adding positions to positions.lua file.

Commands

  • /re_addPoint - add new point

  • /re_printPoints - print all points to console in vector3 format

  • /re_clearLastPoint - remove last added point

  • /re_clearPoints - remove all points

This will help you to add points to positions.lua file. After you use command to print these positions simply add them into positions.lua file. When you restart script you will see all positions thats already in positions.lua in green color and new added points in red color.

File preview

Config = {}
Config.Debug = false
Config.DebugLevel = {
    'INFO',
    'SUCCESS',
    'CRITICAL',
    'ERROR',
    'SECURITY',
    'DEBUG',
}

Config.DebugPoints = false
Config.SpawnDistance = 100.0
Config.RewardDistanceCheck = 10.0 --User can be max 10m away from reward to get it - if zero it this check will be turned off

--Language
Config.Locale = "en"

--Framework settings
Config.Framework = Framework.ESX            -- [ESX - es_extended, QBCore - qb-core, Standalone - standalone]
Config.Inventory = Inventory.OX             -- [OX - ox_inventory, QB - qb-inventory, QS - qs-inventory, MF - mf-inventory, PS - ps-inventory, LJ - lj-inventory, CORE = core_inventory]
Config.Target = Target.OX                   -- [NONE - none (pressing E), OX - ox_target, QB - qb-target, Q - qtarget]
Config.Database = Database.MYSQL_ASYNC      -- [OX - ox_mysql, MYSQL_ASYNC - mysql-async, GHMATTI - ghmattimysql]

--Spawn logic
Config.SpawnEvery = 1000*60*5 --5 minutes
Config.SpawnDistance = 100.0 --Distance to spawn prop
Config.MaxSpawnedPoints = 3 --We will delete old points if we reach this number
Config.CheckPositionEvery = 1000

--Nearby notification (if player is nearby he will get notification about easter egg)
Config.NearbyNotification = {
    enabled = true,
    useFrameworkNotification = true,
    distance = 50.0,
}

--Models
--included models
--rcore_easter_egg_01
--rcore_easter_egg_02
--rcore_easter_egg_03
--rcore_easter_egg_04
--rcore_easter_egg_05
--rcore_easter_egg_06

Config.GlobalReward = {
    {
        name = "bread",
        count = 1
    },
    {
        name = "water",
        count = 1,
    }
}

Config.Models = {
    {
        model = "rcore_easter_egg_01",
        rewardCount = 2, --How many reward player get (randomly selected)
        reward = Config.GlobalReward
    },
    {
        model = "rcore_easter_egg_02",
        rewardCount = 2, --How many reward player get (randomly selected)
        reward = { --You can add specific items per model or use GlobalReward table
            {
                name = "vodka",
                count = 1
            },
            {
                name = "water",
                count = 1,
            }
        }
    },
    {
        model = "rcore_easter_egg_03",
        rewardCount = 2, --How many reward player get (randomly selected)
        reward = Config.GlobalReward
    },
    {
        model = "rcore_easter_egg_04",
        rewardCount = 2, --How many reward player get (randomly selected)
        reward = Config.GlobalReward
    },
    {
        model = "rcore_easter_egg_05",
        rewardCount = 2, --How many reward player get (randomly selected)
        reward = Config.GlobalReward
    },
    {
        model = "rcore_easter_egg_06",
        rewardCount = 2, --How many reward player get (randomly selected)
        reward = Config.GlobalReward
    },
}

--Pickup animation
Config.pAnimDict = 'anim@move_m@trash'
Config.pAnim = 'pickup'

--Target
Config.TargetSettings = {
    radius = 3.0,
    distance = 3.0,
    helpText = _U("target_help_text"),
    label = _U("target_label"),
    icon = "fa-solid fa-gift",
}

--If egg is spawned it create radius blip around position where is egg is spawned
Config.EnableRadiusBlip = true
Config.RadiusBlip = {
    color = 11,
    alpha = 100,
    radius = 100.0,
    minRadius = 20.0,
    sprite = 9,
    time = 1000*30, --30 s
    text = _U("blip_label"),
    changingColor = true,
    changingColorParameters = {
        1,
        17,
        3,
        2,
    }
}
🥚