• Welcome to our brand new Garry's Mod asset marketplace! Publishing in these categories is currently invite-only. Interested in publishing your Gmod assets on BuiltByBit? Click here to apply!

Christmas Trees + Presents v3.1.5

35+ Rewards & All Gamemodes
  • 1.png
  • 2.png
  • 3.png
  • 4.png
  • 5.png
  • 6.png
  • 1.png
  • 2.png
  • 3.png
  • 4.png
  • 5.png
  • 6.png

SHOWCASE VIDEO​


About Christmas Trees + Presents​

Through the configuration you can modify and enable/disable all available rewards as you wish. With a little Lua knowledge, you can easily add your own rewards if the ones by default doesn't suit you :)

When a present gets picked up, it gets removed. After x seconds (customized), all presents re-spawn so everybody has a chance to get them on a daily basis.


🎄 Trees + Present

  • 35+ different rewards.
  • Daily rewards. Players can get one present per day.
  • Enable and disable rewards individually as you please.
  • 5 custom present models & custom Christmas tree model.
  • 9 custom skins for the presents.
  • Set the color of presents exactly how you want them.
  • The Christmas tree light moves around and looks really nice.
  • Spawn and position Christmas trees through the Q menu.
  • Supports all gamemodes.

💵 Valuta Rewards

🪙 PointShop Rewards
  • PointShop 1 Points
  • PointShop 1 specific item
  • PointShop 2 points
  • PointShop 2 premium points
  • PointShop 2 specific item
  • PointShop 2 random item
  • PointShop 2 random item from config
  • Give item with SH Pointshop
  • Give standard points with SH Pointshop
  • Give premium points with SH Pointshop
  • Give item with Advanced Accessory
💯 XP Rewards
🚗 Car Dealer Rewards
⚔️ WiltOS Rewards
🛡️ Other Rewards

💻 bLogs Support

  • The addon supports bLogs.
  • Logs when a player opens a present (player name, reward name).

Other details​

This addon supports DarkRP 2.7.0+

Extract christmass_trees_presents to addons.

Once you've done that, you must setup Christmas trees in-game. To do that, you must first of all be an administrator on the server.

For gamemodes that supports the Q menu (derives from Sandbox) you can find the Christmas tree entity in Q Menu -> Entities -> Crap-Head Scripts -> Christmas Tree

For gamemodes that does not support the Q menu (TTT for example) you can use the console command ch_christmas_spawntree to spawn a tree at your aim.

Spawn and position as many trees as you'd like. Use your in-game console to save them with the command ch_christmas_tree_save

You can use the command ch_christmas_tree_clear to remove all trees and their saved file.

ADDING CONTENT

The content is automatically set to download for your clients. Everything is uploaded to the workshop to make it as easy as possible.

You will still need to put the workshop into your servers workshop collection, so that the workshop also downloads for the server.

https://steamcommunity.com/sharedfiles/filedetails/?id=1551303042
To customize the general settings, go to christmas_trees_presents/lua/ch_christmas_trees/shared/christmas_config.lua

To customize the rewards, go to christmas_trees_presents/lua/ch_christmas_trees/shared/christmas_config_rewards.lua

GENERAL CONFIG:
Code:
-- SET LANGUAGE
-- Available languages: English: en - Danish: da - German: de - Polish: pl - Russian: ru - Spanish: es - French: fr - Portuguese: pt - Chinese: cn - Turkish: tr
CH_Christmas.Config.Language = "en" -- Set the language of the script.

-- Default Configuration
CH_Christmas.Tree.OnlyEnabledDecember = false -- Should players only be able to take presents during December?

CH_Christmas.Tree.RespawnTimer = 18000 -- How many seconds between presents respawning under the tree. If you are using TTT it will respawn the trees every round. [Default = 18000]
CH_Christmas.Tree.NotifyDisplayTime = 15 -- For how long the notifications should stay on the screen? [Default = 15]

-- Christmas Presents
CH_Christmas.Tree.PresentColors = { -- A selection of colors that the presents can get.
    Color( 175, 18, 18, 255 ), -- red
    Color( 19, 119, 3, 255 ), -- green
    Color( 190, 60, 215, 255 ), -- purple
    Color( 255, 221, 0, 255 ), -- yellow
    Color( 200, 200, 200, 255 ), -- gray
    Color( 12, 28, 112, 255 ) -- blue
}

CH_Christmas.Tree.PresentModels = { -- The present models (I WOULD ADVISE NOT EDITING THIS UNLESS YOU WANT TO USE YOUR OWN CUSTOM MODELS)
    "models/craphead_scripts/christmas/presents/present_01.mdl",
    "models/craphead_scripts/christmas/presents/present_02.mdl",
    "models/craphead_scripts/christmas/presents/present_03.mdl",
    "models/craphead_scripts/christmas/presents/present_04.mdl",
    "models/craphead_scripts/christmas/presents/present_05.mdl"
}
REWARD EXAMPLES:
Code:
--[[
    DARKRP MONEY
--]]
local MinDarkRPMoney = 5000 -- The minimum amount of money they can get from a present.
local MaxDarkRPMoney = 10000 -- The maximum amount of money they can get from a present.

CH_Christmas.Rewards[ 1 ] = {
    Name = "DarkRP Money",
    Enabled = true,
    RewardFunction = function( ply )
        local randommoney = math.random( MinDarkRPMoney, MaxDarkRPMoney )
 
        ply:addMoney( randommoney )
        ply:CH_Christmas_Notify( CH_Christmas.LangString( "Your present contained" ) .." ".. DarkRP.formatMoney( randommoney ) )
    end,
}
There is a longer description and explanation of what each element does in the christmas_config_rewards.lua file. You are also welcome to open a ticket if you need help adding a custom reward.

Discord Server & Support​

I own a Discord server for customers and anyone else who wish to join. I will occasionally provide exclusive offers and help with minor issues that might occur with my scripts. If you have a more serious problem, please create a conversation with me onsite.

Conflicting addons is not to be said if I will support that or not. This is something I will decide upon confrontation about a conflicting addon. If you have found a conflicting addon, then feel free to create a conversation and I'll see if I can assist with solving the conflict.


discord.png
Buy a license now
$4.50
EULA: Standard EULA
New: Now supporting cryptocurrency payments!
Share and earn
Refer this resource and earn a 10% commission.
204 Views
0 Purchases
0 Downloads
Feb 6, 2025 Published
Dec 9, 2024 Updated
Not yet rated
22.9 KB File size
Languages
  1. English
  2. Spanish
  3. French
  4. Turkish
  5. Danish
Includes DRM
No
Source access
Closed source & unobfuscated
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
Reward Medals, 3D2D Show/Hide Medals, Authorize Staff
Not yet rated
3 purchases
This DLC expands the DarkRP Fire System with exclusive weapons and entities.
Not yet rated
1 purchase
Fire Fighters, Extinguishers, Fire Axe, Fire Trucks
Not yet rated
1 purchase
Custom Models, Blend Sequences & Donator Features
Not yet rated
1 purchase
Miner Shelf, Power Sources, Cables, Animations & Custom Models
Not yet rated
1 purchase
Share and earn
Refer this resource and earn a 10% commission.
204 Views
0 Purchases
0 Downloads
Feb 6, 2025 Published
Dec 9, 2024 Updated
Not yet rated
22.9 KB File size
Languages
  1. English
  2. Spanish
  3. French
  4. Turkish
  5. Danish
Includes DRM
No
Source access
Closed source & unobfuscated
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
Reward Medals, 3D2D Show/Hide Medals, Authorize Staff
Not yet rated
3 purchases
This DLC expands the DarkRP Fire System with exclusive weapons and entities.
Not yet rated
1 purchase
Fire Fighters, Extinguishers, Fire Axe, Fire Trucks
Not yet rated
1 purchase
Custom Models, Blend Sequences & Donator Features
Not yet rated
1 purchase
Miner Shelf, Power Sources, Cables, Animations & Custom Models
Not yet rated
1 purchase
Top