AdventCalendar icon

AdventCalendar -----

Reward your players during the month of December



WHAT IS ADVENT CALENDAR?
This plugin allows you to have an advent calendar in a GUI. With an easy to modify config and messages file, giving your players rewards couldn't be any easier.

(Aliases: /cal, /ac, /adv, /adventcalendar, /calendar)
/ac - Opens the menu (or tells you it's not December yet)
/ac (day) - Opens the menu as (day) December
/ac reload - Reloads messages.yml and config.yml

/ac - adventcalendar.use
/ac (day) - adventcalendar.anyday
/ac reload - adventcalendar.reload

upload_2022-11-29_20-13-6.png
upload_2022-11-29_20-20-40.png

Code (YAML):
prefix : '&f [&2Advent&4Calendar&f ]'

# Usable PlaceHolders for every message: %prefix%, %player%, %year%

# Send message when player does not have permission "adventcalendar.use"
no-permission
: ' %prefix% &cYou do not have permission to use this command!'

# Send message when player does not have permission "adventcalendar.reload"
no-permission-reload
: ' %prefix% &cYou do not have permission to reload the plugin!'
# Send message when player successfully reloads the plugin
message-reload-success
: ' %prefix% &aSuccessfully reloaded the messages.yml and config.yml files.'

# Send when the player opens the calendar but it is not December
not-december
: ' %prefix% &cThe Advent Calendar is only available in December!'

# Calendar GUI title
inventory-name
: '&2Advent&4Calendar'

# Send message when player has already claimed the selected day (You can use %day% for the day of the month)
reward-already-claimed
: ' %prefix% &cYou have already claimed this reward!'
# Send message when player has successfully claimed the selected day (You can use %day% for the day of the month)
reward-successfully-claimed
: ' %prefix% &aYou have successfully claimed the reward for day %day%!'
# Send the message when the reward has expired (You can use %day% for the day of the month)
reward-expired
: ' %prefix% &cThe reward has expired.'
# Send the message when the reward is not yet available (You can use %day% for the day of the month)
reward-not-available
: ' %prefix% &cThe reward is not yet available. Please wait until day %day%.'

Code (YAML):
# GUI items
items
:
  # The item used to represent days that were unclaimed and are now expired
  unclaimed-past
: 'EXPLOSIVE_MINECART'
  # The item used to represent the current day if it was unclaimed
  unclaimed-present
: 'STORAGE_MINECART'
  # The item used to represent days that were unclaimed and have not yet passed
  unclaimed-future
: 'POWERED_MINECART'
  # The item used to represent days that were claimed and are now expired
  claimed-past
: 'MINECART'
  # The item used to represent the current day if it was claimed
  claimed-present
: 'MINECART'

  # Set this to true to enchant current-day items
  enchant-current-day
: true
  # Set this to true to enchant claimed items
  enchant-claimed
: false
  # Set this to true to enchant past items
  enchant-past
: false

  # Set this to true to allow players from claiming expired days
  allow-expired
: false

  # Item names (use %day% for the day number)
  name
:
    unclaimed-past
: '&cDay %day% &8&o(Expired)'
    unclaimed-present
: '&6Day %day% &8&o(Unclaimed)'
    unclaimed-future
: '&7Day %day% &8&o(Unclaimed)'
    claimed-past
: '&aDay %day% &8&o(Claimed)'
    claimed-present
: '&2Day %day% &8&o(Claimed)'
  # Item lores (use %day% for the day number and %nl% for a new line)
  lore
:
    unclaimed-past
: '&7&oExpired!'
    unclaimed-present
: '&7Click to claim!'
    unclaimed-future
: '&7&oNot Available'
    claimed-past
: '&7&oAlready claimed!'
    claimed-present
: '&7&oAlready claimed!'

# Rewards for each day before christmas
rewards
:
  1
:
   - 'give %player% minecraft:stone 1'
  2
:
   - 'give %player% minecraft:stone 2'
  3
:
   - 'give %player% minecraft:stone 3'
  4
:
   - 'give %player% minecraft:stone 4'
  5
:
   - 'give %player% minecraft:stone 5'
  6
:
   - 'give %player% minecraft:stone 6'
  7
:
   - 'give %player% minecraft:stone 7'
  8
:
   - 'give %player% minecraft:stone 8'
  9
:
   - 'give %player% minecraft:stone 9'
  10
:
   - 'give %player% minecraft:stone 10'
  11
:
   - 'give %player% minecraft:stone 11'
  12
:
   - 'give %player% minecraft:stone 12'
  13
:
   - 'give %player% minecraft:stone 13'
  14
:
   - 'give %player% minecraft:stone 14'
  15
:
   - 'give %player% minecraft:stone 15'
  16
:
   - 'give %player% minecraft:stone 16'
  17
:
   - 'give %player% minecraft:stone 17'
  18
:
   - 'give %player% minecraft:stone 18'
  19
:
   - 'give %player% minecraft:stone 19'
  20
:
   - 'give %player% minecraft:stone 20'
  21
:
   - 'give %player% minecraft:stone 21'
  22
:
   - 'give %player% minecraft:stone 22'
  23
:
   - 'give %player% minecraft:stone 23'
  24
:
   - 'give %player% minecraft:stone 24'
    - 'give %player% minecraft:dirt 1'

version
: 1.0

The plugin has been tested with 1.8.8, 1.12.2 and 1.19.2. It should work on other versions, if so, let me know so I can add it to the compatibility list

By downloading this plugin, you agree to:
- Not post the plugin anywhere else without explicit permission.
- Not take credit for the plugin.
Resource Information
Author:
----------
Total Downloads: 152
First Release: Nov 29, 2022
Last Update: Nov 30, 2022
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings