CustomServerTime icon

CustomServerTime -----

Set a custom date for your server, perfect for RPG servers



Other Plugins by ShermansWorld:
CharacterCards, Governor, SimpleLockpicking, RaidsPerRegion

CSTIcon.png

Dependencies:
PlaceholderAPI (PAPI)

Description:

This plugin allows you to set a custom date on your server (day, month, year) that actually updates with each Minecraft day!

Usage:

Do not forget to change the world in the config if it is not named "world"! The starting date can be changed in the config. Edit date.yml to set your initial date. Edit config.yml to edit months and the date format.

You would then need to reload the config with /customservertime reload to push changes.

Commands:
/date
-
Shows the date
/customservertime reload - Reloads the config.yml
/finddate [epoch time] - Find when a date happened or will happen given an epoch time timestamp

Permissions:
customservertime.reload - Gives access to the reload command

Placeholders:

Use %customservertime_date%

Example using PAPI with the TAB plugin:
[​IMG]
[​IMG]


Code (Text):

# ========================================
# |   CustomServerTime by ShermansWorld  |
# ========================================

# Source: https://github.com/ShermansWorld/CustomServerTime

# This file contains configuration options for the plugin.
# To change the current date edit the "date.yml" file.

# !! Do not change this !!
config-version: 3

# =====================================
# |          GENERAL SETTINGS         |
# =====================================


# The world in which time will pass
World: world

# The names of each month along with size in days
Months:
  1:
    Name: "January"
    Length: 31
  2:
    Name: "February"
    Length: 28
  3:
    Name: "March"
    Length: 31
  4:
    Name: "April"
    Length: 30
  5:
    Name: "May"
    Length: 31
  6:
    Name: "June"
    Length: 30
  7:
    Name: "July"
    Length: 31
  8:
    Name: "August"
    Length: 31
  9:
    Name: "September"
    Length: 30
  10:
    Name: "October"
    Length: 31
  11:
    Name: "November"
    Length: 30
  12:
    Name: "December"
    Length: 31
   
# =====================================
# |              OPTIONS              |
# =====================================

# The date mode is used to determine the format in which to display
# Placeholders:
#  @DAY - The day value
#  @DAY_SUFFIX - The suffix of the day value (i.e. the 'st' in '21st')
#  @MONTH - The number value of the month
#  @MONTH_NAME - The name of the month
#  @MONTH_LENGTH - The length of the month
#  @YEAR - The year value

# The format with default configuration will appear as "February 20th, 1998"
DateFormat: "@MONTH_NAME @DAY@DAY_SUFFIX, @YEAR"

 
Resource Information
Author:
----------
Total Downloads: 465
First Release: Jan 31, 2021
Last Update: Aug 25, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings