PayTime icon

PayTime -----

A Plugin for Changing Time & Weather with In-Game Currency




Recent Changes:
- Updated hex color code format from %#FFFFFF% to <#FFFFFF>
- Improved configuration structure for better organization
- Enhanced error handling and debug logging
- Added support for configurable weather duration
- Added new admin commands:
- /paytime debug - Toggle debug mode (requires paytime.admin)
- /paytime reload - Reload plugin configuration (requires paytime.admin)
- /paytime help - Show detailed command help (requires paytime.admin)
----------, Apr 22, 2025

Fixed minor mistype with /paytime if entered invalid argument
----------, Dec 31, 2022

- Added /paytime clear - Changes weather to clear - Permission: paytime.clear
- Added /paytime storm - Changes weather to storm - Permission: paytime.storm


Updated Config.yml
Code (YAML):
# Price to change time/weather to day, night, storm, or clear
day_price
: 10000
night_price
: 1000
storm_price
: 10000
clear_price
: 1000

# Enable Broadcast message when player pays for day, night, storm, or clear
broadcast
: true

# Plugin prefix
prefix
: "&7[&6PayTime&7]&r"

# Message to broadcast to the server when a player changes the time or weather
broadcast_time_message
: "&e%player%&r has paid to change the time to &e%time%."
broadcast_weather_message
: "&e%player%&r has paid to change the weather to &e%weather%."

# Currency Symbol (Leave blank for no symbol)
currency_symbol
: "$"

# Message to send to player when they do not have enough money to change the time or weather
not_enough_money
: "You do not have enough money to change the time."

# Message to send to player when they successfully change the time or weather
time_changed
: "You have paid &a%price% &rto change the time to &e%time%."
weather_changed
: "You have paid &a%price% &rto change the weather to &e%weather%."

# Message to send to player when they try to change the time/weather to a time/weather that it already is
time_already_day
: "The time is already day."
time_already_night
: "The time is already night."
weather_already_clear
: "The weather is already clear."
weather_already_stormy
: "The weather is already stormy."

# Message to send to player when they do not have permission to change the time or weather
invalid_permission
: "%#f54242%You do not have permission to execute this command."

# Message to send to player when they use the /paytime reload command
config_reload
: "&aConfig reloaded."
----------, Dec 31, 2022

Updated Config.yml below

- Added command /paytime price - Permission: paytime.price
- Added Currency Symbol
- Added Suffixes for Amounts bigger than 999

Code (YAML):
# Price to change time to day
day_price
: 10000

# Price to change time to night
night_price
: 1000

# Enable Broadcast message when player pays for day or night
broadcast
: true

# Plugin prefix
prefix
: "&7[&6PayTime&7]&r"

# Message to broadcast to the server when a player changes the time
broadcast_message
: "&e%player%&r has paid to change the time to &e%time%."

# Currency Symbol (Leave blank for no symbol)
currency_symbol
: "$"

# Message to send to player when they do not have enough money to change the time
not_enough_money
: "You do not have enough money to change the time."

# Message to send to player when they successfully change the time
time_changed
: "You have paid &a%price% &rto change the time to &e%time%."

# Message to send to player when they try to change the time to a time that it already is
time_already_day
: "The time is already day."
time_already_night
: "The time is already night."

# Message to send to player when they do not have permission to change the time
invalid_permission
: "%#f54242%You do not have permission to execute this command."

# Message to send to player when they use the /paytime reload command
config_reload
: "&aConfig reloaded."
----------, Dec 31, 2022

Update due to a mistake in the last update pertaining to the prices for day & night. For some reason I have over looked the default config.yml mistaking - & _. Also, added so you can choose whether when day or night is purchased it can be broadcasted globally to other players. Updated config below

Code (YAML):
# Price to change time to day
day_price
: 100

# Price to change time to night
night_price
: 100

# Enable Broadcast message when player pays for day or night
broadcast
: false

# Plugin prefix
prefix
: "&7[&6PayTime&7]&r"

# Message to broadcast to the server when a player changes the time
broadcast_message
: "&e%player%&r has paid to change the time to &e%time%."

# Message to send to player when they do not have enough money to change the time
not_enough_money
: "You do not have enough money to change the time."

# Message to send to player when they successfully change the time
time_changed
: "You have paid &a%price% &rto change the time to &e%time%."

# Message to send to player when they try to change the time to a time that it already is
time_already_day
: "The time is already day."
time_already_night
: "The time is already night."

# Message to send to player when they do not have permission to change the time
invalid_permission
: "%#f54242%You do not have permission to execute this command."

# Message to send to player when they use the /paytime reload command
config_reload
: "&aConfig reloaded."
----------, Dec 31, 2022

Fixed the default config.yml within the .jar itself explaining what each field/value is
----------, Dec 28, 2022

Resource Information
Author:
----------
Total Downloads: 164
First Release: Dec 28, 2022
Last Update: Apr 22, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings