Config = {} -- Discord Webhooks (zwei separate) Config.WebhookOpenings = "" -- Zeigt Kisten-Oeffnungen an (wer, welche Kiste, wann) Config.WebhookRewards = "" -- Zeigt gewonnene Belohnungen an (Spieler, Item, Rarity) -- Raritaeten mit Gewichtung -- WICHTIG: Erst wird die Rarity gewuerfelt, dann innerhalb gleichmaessig ein Item gewaehlt Config.Rarities = { ['common'] = { label = 'Gewoehnlich', emoji = '⚪', color = '#9ca3af', weight = 60 }, ['uncommon'] = { label = 'Ungewoehnlich', emoji = '🟢', color = '#4ade80', weight = 25 }, ['rare'] = { label = 'Selten', emoji = '🔵', color = '#3b82f6', weight = 10 }, ['epic'] = { label = 'Episch', emoji = '🟣', color = '#a855f7', weight = 4 }, ['legendary'] = { label = 'Legendaer', emoji = '🟠', color = '#f97316', weight = 1 }, } -- Maximale Anzahl der angezeigten History-Eintraege Config.MaxHistoryDisplay = 20 -- ===================== -- KISTEN DEFINITIONEN -- ===================== -- Jeder Key muss mit dem Item-Namen in items.sql uebereinstimmen! -- Items werden per ESX.RegisterUsableItem registriert. -- Cases koennen andere Cases als Gewinn enthalten! -- Waffen sind SELTEN — nur ab Rare/Epic/Legendary! Config.Cases = { ['case_weapons'] = { label = 'Waffen Kiste', emoji = '🔫', description = 'Attachments, Zubehoer und seltene Waffen', image = 'weaponcase', items = { -- Common (60%) — Attachments und Verbrauch { item = 'clip_attachment', label = 'Magazin', rarity = 'common', amount = 1, image = 'clip_attachment' }, { item = 'grip_attachment', label = 'Griff', rarity = 'common', amount = 1, image = 'grip_attachment' }, { item = 'flashlight_attachment', label = 'Taschenlampe', rarity = 'common', amount = 1, image = 'flashlight_attachment' }, { item = 'bandage', label = 'Verband', rarity = 'common', amount = 5, image = 'bandage' }, -- Uncommon (25%) — Bessere Attachments + Chance auf Items Kiste { item = 'suppressor_attachment', label = 'Schalldaempfer', rarity = 'uncommon', amount = 1, image = 'suppressor_attachment' }, { item = 'comp_attachment', label = 'Kompensator', rarity = 'uncommon', amount = 1, image = 'comp_attachment' }, { item = 'case_items', label = 'Items Kiste', rarity = 'uncommon', amount = 1, image = 'case' }, -- Rare (10%) — Erste Waffen! { item = 'weapon_pistol', label = 'Walther P99', rarity = 'rare', amount = 1, image = 'weapon_pistol' }, { item = 'weapon_snspistol', label = 'SNS Pistol', rarity = 'rare', amount = 1, image = 'weapon_snspistol' }, -- Epic (4%) — Bessere Waffen + Premium Kiste { item = 'weapon_combatpistol', label = 'Combat Pistol', rarity = 'epic', amount = 1, image = 'weapon_combatpistol' }, { item = 'case_premium', label = 'Premium Kiste', rarity = 'epic', amount = 1, image = 'case_premium' }, -- Legendary (1%) — Beste Waffe { item = 'weapon_pistol50', label = 'Pistol .50', rarity = 'legendary', amount = 1, image = 'weapon_pistol50' }, }, }, ['case_items'] = { label = 'Items Kiste', emoji = '📦', description = 'Alltaeglicher Bedarf und nuetzliche Items', image = 'case_items', items = { -- Common (60%) — Essen und Trinken { item = 'sandwich', label = 'Sandwich', rarity = 'common', amount = 3, image = 'sandwich' }, { item = 'water_bottle', label = 'Wasser', rarity = 'common', amount = 3, image = 'water_bottle' }, { item = 'bandage', label = 'Verband', rarity = 'common', amount = 5, image = 'bandage' }, { item = 'tosti', label = 'Grilled Cheese', rarity = 'common', amount = 3, image = 'tosti' }, { item = 'kurkakola', label = 'Cola', rarity = 'common', amount = 3, image = 'cola' }, -- Uncommon (25%) — Werkzeuge { item = 'repair_kit', label = 'Reparaturkit', rarity = 'uncommon', amount = 1, image = 'repairkit' }, { item = 'cleaning_kit', label = 'Reinigungsset', rarity = 'uncommon', amount = 1, image = 'cleaningkit' }, { item = 'lighter', label = 'Feuerzeug', rarity = 'uncommon', amount = 1, image = 'lighter' }, -- Rare (10%) — Bessere Tools + Waffen Kiste { item = 'case_weapons', label = 'Waffen Kiste', rarity = 'rare', amount = 1, image = 'weaponcase' }, -- Epic (4%) — Premium Kiste { item = 'case_premium', label = 'Premium Kiste', rarity = 'epic', amount = 1, image = 'case_premium' }, -- Legendary (1%) — Grosser Rucksack { item = 'backpack2', label = 'Grosser Rucksack', rarity = 'legendary', amount = 1, image = 'backpack2' }, }, }, ['case_premium'] = { label = 'Premium Kiste', emoji = '💎', description = 'Hochwertige Items und seltene Waffen', image = 'case_premium', items = { -- Common (60%) — Gute Basis-Items { item = 'repairkit', label = 'Reparaturkit', rarity = 'common', amount = 2, image = 'repairkit' }, { item = 'suppressor_attachment', label = 'Schalldaempfer', rarity = 'common', amount = 1, image = 'suppressor_attachment' }, { item = 'drum_attachment', label = 'Trommelmagazin', rarity = 'common', amount = 1, image = 'drum_attachment' }, -- Uncommon (25%) — Premium Attachments { item = 'advancedrepairkit', label = 'Adv. Reparaturkit', rarity = 'uncommon', amount = 1, image = 'advancedkit' }, { item = 'money', label = 'Bargeld', rarity = 'uncommon', amount = 10000, image = 'cash' }, { item = 'holoscope_attachment', label = 'Holo Visier', rarity = 'uncommon', amount = 1, image = 'holoscope_attachment' }, -- Rare (10%) — Erste Waffen { item = 'weapon_pistol', label = 'Walther P99', rarity = 'rare', amount = 1, image = 'weapon_pistol' }, { item = 'weapon_heavypistol', label = 'Heavy Pistol', rarity = 'rare', amount = 1, image = 'weapon_heavypistol' }, -- Epic (4%) — Seltene Waffen + Waffen Kiste { item = 'weapon_revolver', label = 'Revolver', rarity = 'epic', amount = 1, image = 'weapon_revolver' }, -- Legendary (1%) — AK! { item = 'weapon_assaultrifle', label = 'Assault Rifle', rarity = 'legendary', amount = 1, image = 'weapon_assaultrifle' }, }, }, }