Advent Calendar (40+ Rewards & All Gamemodes)

(4)
(26)
You can always read the reviews or discuss this product
Media gallery
Showcase video
Buy product
In short

From the 1st of December to the 24th, your players will be able to open an advent calendar square every day with a chance to win a reward. Merry Christmas everyone!

The addon comes with 40+ pre-configured rewards that you can enable/disable to your liking.

The addon will work on all gamemodes, but some rewards are gamemode specific. Make sure to enable/disable the ones that suits your servers compatibility.


πŸŽ… Advent Calendar
  • Calendar can open up when the player spawns.
  • It can also be opened via a chat command.
  • You can also spawn an NPC that lets players access the calendar. This is optional.
  • You are able to configure the likeliness of each reward. This is how you define chances for a reward to be given vs others.
  • Optionally, you can enable rewards only for specific dates. See this knowledge base article.


πŸ“œ Calendar History
  • Calendar history shows all squares opened by all players on the server during Christmas.
  • The history is cached, but updates upon request after 10 minutes.
  • This can be configured for longer/shorter cache values.


πŸ† Coal Leaderboard
  • The coal leaderboard shows who collects the most coal during Christmas.
  • It will show the top 10 players in the list.
  • The list is also cached for performance and updates upon request after 10 minutes.


πŸ’΅ Valuta Rewards


πŸͺ™ PointShop Rewards


πŸ’― XP Rewards


πŸš— Car Dealer Rewards


βš”οΈ WiltOS Rewards


πŸ”« Weapon Rewards
  • Give random weapon from list.
  • Give weapon ammunition.
  • Give weapon skin with Easy Skins
  • Give permanent weapon with PermaWeapons


πŸ›‘οΈ Other Rewards


πŸ’Ύ MySQL Support
  • By default the addon saves using SQLite that comes with GMod.
  • You can enable MySQLOO saving. See the "Setup" tab.
  • Both options are efficient to use, however, mysqloo is recommended.

πŸ’» bLogs Support
  • The addon supports bLogs.
  • Logs when a player opens a square (player name, square, reward name).


🌎 Language System
  • English
  • French
  • Danish
  • Spanish
  • Polish
  • Russian
  • German


I will gladly add any reward to the script if you just leave a comment in the discussion section, or if you as an existing customer open a support ticket with your request. It can be for anything pretty much, but I would prefer if it had something to do with something publicly available or a gmodstore script.


Discord Server

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 support ticket on GModStore.

This addon supports all gamemodes.

Extract ch_advent_calendar to your addons folder.

Please visit the Setup & Customizing tab to see how you configure the addon.


CONTENT

There's a single content pack that you must add to your servers workshop collection.

Workshop


SEE THE SETUP TAB FOR NPC AND MYSQL DETAILS

SETUP NPC

The NPC is completely optional. If you want to use it then you can enable it in the config.

To spawn it simply join the server as as super admin.

Run console command in-game ch_advent_setnpcpos to spawn it.

It will face in your direction.


MYSQLOO

By default the addon saved using sqlite (default build into gmod). If you wish to enable MySQLOO then you can do so.

Go to the file lua/ch_advent_calendar/server/sv_sql.lua

Set the CH_Advent.SQL.UseMySQLOO config to true

Then fill in your information below. This will of course require that you have the MySQLOO module by FredyH.


CONFIG

The configure the general aspects of the addon go to ch_advent_calendar/lua/ch_advent_calendar/shared/sh_config.lua

The configure the rewards go to ch_advent_calendar/lua/ch_advent_calendar/shared/sh_rewards.lua

--[[
	General
--]]
CH_Advent.Config.Language = "en" -- Set the language of the script.

CH_Advent.Config.NotificationTime = 10 -- How long will notifications last?

CH_Advent.Config.BottomMenuText = "Community Name β€’ Advent Calendar 2024"

CH_Advent.Config.CanOpenMissedSquares = true -- Should players be able to open missed squares?

--[[
	Menu
--]]
CH_Advent.Config.OpenMenuOnConnect = true -- Should the advent calendar open when they spawn after connecting?

CH_Advent.Config.UseChatCommand = true -- Should we enable the chat command?
CH_Advent.Config.MenuChatCommand = "!advent" -- Chat command to open the menu

CH_Advent.Config.ShowRewardTooltip = true -- When hovering over an opened square should we show a tooltip with the reward they got?
--[[
	History
--]]
CH_Advent.Config.HistoryCacheTime = 600 -- We keep the cache of the history for 600 seconds. After that it will be fetched from the DB upon next request.
CH_Advent.Config.LeaderboardCacheTime = 600 -- We keep the cache of the leaderboard for 600 seconds. After that it will be fetched from the DB upon next request.

--[[
	Reward
--]]
CH_Advent.Config.ConfettiOnReward = true -- Emit a confetti effect from the player when opening a reward (not coal)
CH_Advent.Config.SoundEmitOnReward = true -- Emit a sound from the player when opening a reward (not coal)

CH_Advent.Config.RewardXPOnOpenSquare = true -- Aside from the other reward in a square, should we give an amount of XP when opening a square (regardless of the reward)?
CH_Advent.Config.RewardXPAmount = 25 -- If enabled above we give this XP every time they open a square.

You are also able to configure each square color in the calendar.

If you find any problems with the script, please create a support ticket with details of the situation and a copypaste of the error in console.

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 open a support ticket and I'll see if I can assist with solving the conflict.

Thank you!

Credits

Banners and icons by astral

Font is Outfit and Caveat Brush by Google

User interface design inspiration from Claire Pinor on Dribbble

Idea from Maurice

If you like this script, you should check out some of my other addons for DarkRP. Just click the banner to open the script page in a new tab.

Product reviews

5.00 average based on 4 reviews

Cheese Man
Merry Christmas
Great addon paired with other Christmas addons like Christmas presents as well as a map change. Lot of my players loved the different types of rewards that could get along with the coal mechanic. Was also very easy on my end to config and change/update the rewards possible
By Cheese Man -
(version 1.0.5)
Mistress Kenway
Wonderful Addon & Support
Awesome addon, really brings an incentive to players to consistently log-on. Extremely easy to work with also providing tons of customizable features, Props to CH.
By Mistress Kenway -
(version 1.0.7)
Zeatth
Great addon for the Holidays
Couldn't ask for a better advent calendar and the perfect time to be released. UI is easily the best Craphead has done and works very well. Quick support with any questions or issues. Would highly recommend for Christmas to give your players some rewards daily leading to the big day!
By Zeatth -
(version 1.0.6)
TheStarHD
Good addon and Great Support
This addon is super cool, and no matter what you want to add the creator helps you make it possible, great addon, great support.
By TheStarHD -
(Never downloaded)
Buy product
Crap-Head ApS πŸ”¨
52 products - 1 members
Looking for reliable and easy-to-use game server hosting with free Anycast and DDoS protection? Get 30% off your first payment at Physgun with the coupon code gmodstore at checkout.
Product details
Views:
3,744
Purchases:
49
Added:
Updated:
Price:
$9.99
Categories:
Languages:
Russian, English, German, Polish, Danish, French, Spanish
Requirements
None specified
Actions
Report
Search products...