COWMODSКаталог модов

RestartAR

Restart with countdown

Автор: marioneto4ka6,2 тыс.13обновлён 18 июн. 2026 г.
СнаряжениеУправлениеУтилиты

Описание

RestartAR

Automatic Server Restarts with Discord Integration & Notifications

GitHub Modrinth Spigot

bstats

RestartAR is a powerful yet lightweight plugin that enables automatic and manual server restarts with full in-game notifications and Discord webhook support. Perfect for keeping your Minecraft server running smoothly without hassle.


✅ Features

  • Scheduled automatic restarts
    Configure exact restart times and dates via config.yml.

  • Manual restart command
    Instantly trigger a restart whenever you need.

  • Customizable notification system
    Supports chat messages, titles, action bars, and boss bars.

  • Discord integration
    Sends restart messages to a specified channel using a webhook (or JDA bot integration).

  • ⚙️ Pre-restart command execution
    Run commands before restart (e.g., saving data, kicking players, etc.).

  • Easy configuration
    Clean and simple config.yml and lang.yml setup.

  • Fully compatible with the latest Spigot/Paper versions


Installation

  1. Download RestartAR.jar
  2. Place it in your /plugins folder
  3. Restart your server
  4. Configure config.yml to your liking

⚙️ Configuration

# Language selection (available: "en", "ru")
# Choose the language for the plugin's messages.
language: "en"

# Notification method for restart
# Specify how the restart countdown will be displayed to players.
# Possible values:
# - "chat" (only in chat)
# - "actionbar" (only in Action Bar)
# - "bossbar" (only in Boss Bar)
# - "title" (only in Title)
# Example: ["chat"] - will show only in chat
# Example: ["bossbar", "actionbar", "title"] - will show in BossBar, ActionBar, and Title
notification-type: ["actionbar"]

# BossBar settings
# Configure the color of the BossBar if "bossbar" is selected for notifications.
# Possible values: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
bossbar-color: "RED"

# Countdown announcement times (in seconds)
# This is the list of times (in seconds) when an announcement will be made during the countdown to restart.
countdown-announcements: [60, 30, 10, 5, 4, 3, 2, 1]

# If true, the title will update every second instead of using the specified title countdown times.
title-update-every-second: false

# Countdown announcement times for title (if "title" is enabled)
# Define specific times when the countdown will be shown in the title (if title notifications are enabled).
title-countdown-announcements: [60, 40, 30, 20, 10, 5, 4, 3, 2, 1]

# Default restart time (if not specified in the command)
# This is the default time (in seconds) the server will restart after the command is run if no specific time is given.
default-restart-time: 60

# Whether to execute pre-restart commands
# If set to true, the pre-restart commands will be executed before restarting the server.
execute-pre-restart-commands: false

# Time before restart (in seconds) to execute pre-restart commands
# This specifies the time (in seconds) before the restart at which the pre-restart commands should be executed.
pre-restart-execute-time: 0

# Commands to execute before restart
# List of commands that will be executed before the server restarts. For example, you might want to save all data.
pre-restart-commands:
  - "save-all"
  - "say The server is restarting!"

# Enable or disable scheduled restarts based on date/time
# Set this to true if you want to enable automatic restarts at specific times.
enable-scheduled-restarts: false

# Dates and times for automatic restart (format: yyyy-MM-dd HH:mm:ss or just HH:mm:ss)
# List of dates and times when the server should automatically restart. Use full date-time or just the time.
restart-dates:
  # Example with full date and time
  - "2025-03-08 03:00:00"
  - "2025-03-09 15:00:00"
  # Example with just time (no date)
  - "03:00:00"
  - "15:00:00"

# Discord bot settings
discord-mode: "none"  # "bot" - use a bot, "webhook" - use a webhook, "none" - disable Discord messages

# Bot settings (used if discord-mode = "bot")
discord-bot-token: "YOUR_BOT_TOKEN_HERE"  # Your Discord bot token
discord-channel-id: "YOUR_CHANNEL_ID_HERE"  # ID of the channel where messages will be sent

# Webhook settings (used if discord-mode = "webhook")
discord-webhook-url: "https://discord.com/api/webhooks/YOUR_WEBHOOK_URL"  # Your Discord webhook URL
discord-avatar-url: "https://your.avatar.url"
discord-thumbnail-url: "https://your.thumbnail.url"
discord-footer-icon-url: "https://your.footer.icon.url"
discord-username: "YourCustomUsername"
discord-footer-text: "YourCustomFooterText"

Последние версии

Все версии →
release

RestartAR 2.0.0

2.0.0
18 июн. 2026 г.1,4 тыс.Minecraft: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bukkit, paper, purpur, spigot
Скачать
Что нового
support up to version 26.2
release

RestartAR 1.9.8

1.9.8
6 нояб. 2025 г.2,7 тыс.Minecraft: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10bukkit, paper, purpur, spigot
Скачать
Что нового
- Added ConfigUpdater for automatic configuration updates - Added custom webhook message text support - Improved code structure and readability - Updated main config structure and language files
release

RestartAR 1.9.7 - BugFix

1.9.7
9 окт. 2025 г.356Minecraft: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10bukkit, paper, purpur, spigot
Скачать
Что нового
- Code Structure: Optimized and cleaned up - Version Support: Compatible with 1.17 → 1.21.10 - Languages: Added German and Ukrainian - Bug Fixes: Fixed issues with scheduled restarts and Discord notifications
release

RestartAR 1.9.6

1.9.6
6 окт. 2025 г.66Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9bukkit, paper, purpur, spigot
Скачать
Что нового
Support for all notifications for scheduled restarts.
release

RestartAR 1.9.5 - Timezone Support for Scheduled Restarts

1.9.5
22 сент. 2025 г.166Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
- Added the ability to set a timezone in the config (`timezone`). - If the field is empty, the server's local time is used. - All scheduled restarts now respect the selected timezone for countdowns and messages.
release

RestartAR 1.9.4

1.9.4
16 июн. 2025 г.742Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5bukkit, paper, purpur, spigot
Скачать
Что нового
Taiwan Support thx bro discord: tw_johnjohn2011.
release

RestartAR 1.9.3

1.9.3
16 июн. 2025 г.38Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5bukkit, paper, purpur, spigot
Скачать
Что нового
fix bug
release

RestartAR 1.9.2

1.9.2
30 мая 2025 г.81Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5bukkit, paper, purpur, spigot
Скачать
release

RestartAR 1.9.1

1.9.1
10 мая 2025 г.88Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5bukkit, paper, purpur, spigot
Скачать
Что нового
%restartar_last_seconds% %restartar_last_hhmmss% %restartar_last_formatted%
release

RestartAR 1.9.0

1.9.0
26 апр. 2025 г.87Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5bukkit, paper, purpur, spigot
Скачать
Что нового
- Added the `/ar now` command for immediate server restart. - Added the `/ar disablefeedback` command to disable notifications for admins. - Added the `/ar scheduled` command to display scheduled restarts. - Fixed a permissions issue, now only players with the correct permissions can see admin notifications. - Removed unused notifications from the code. - Removed the `%date%` placeholder. - Improved code structure and organization. - Added support for `setTabCompleter` for better command auto-completion. I wasn't able to finish the rest of the update yet, but a similar set of changes will be released later as version 1.9.1. As for what's coming after 1.9.1, I'm not sure yet. If you have any ideas or suggestions, feel free to reach out to me on Discord