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 youWhen 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
- DarkRP Money
- TTT Credits
- Give tokens with mTokens
- Give cryptocurrencies with Cryptos
- Give credits with Onyx Store
- Give points with CH Purge
- Give money to bank account with ATM
- Give credits for Brick's Credit Store

- 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

- Give XP with gLevel
- Give XP with DarkRP Essentials or Brick's Essentials
- Give XP with Sublime Levels
- Give XP with Vrondakis Level System
- Give XP with GlorifiedLeveling
- Give XP with Elite XP System

- Give car with Modern Car Dealer
- Give car with Realistic Car Dealer
- Give car with William's Car Dealer


- Give random weapon
- Give weapon ammunition
- Give armor
- Give case with VoidCases
- Whitelist team with Billy's Whitelist
- No gravity
- Speed booster
- Give candy with Zero´s PumpkinNight (Halloween / Christmas Script)
- Activate a global boost with Boost Upgrades
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
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
Spawn and position as many trees as you'd like. Use your in-game console to save them with the command
You can use the command
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
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
To customize the rewards, go to
GENERAL CONFIG:
REWARD EXAMPLES:
There is a longer description and explanation of what each element does in the
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"
}
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,
}
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.