SRVCron (1.8-1.20) [Scheduler | Events | Jobs | Conditions | Spigot/Bungee] icon

SRVCron (1.8-1.20) [Scheduler | Events | Jobs | Conditions | Spigot/Bungee] -----

Create tasks, schedule everything you need. Control what happens on your server. Manage everything.



Continuation of the well-known Cron plugin - MC-Cron.
All credits goes to the original author - TheTadeSK.

SRV-Cron is a all-in-one minecraft server scheduler that has many features to schedule jobs for certain times or in-game events.

It is a continuation of a well-known Cron plugin - MC-Cron with a lot of additional and expanded features that original MC-Cron plugin does not provide, such as PlaceholderAPI support, sending commands as players, variable actions and condition checking.

_________________________________________________


# FEATURES


These are some of the features that this plugin provides.

Customizable jobs;
Various command execution;
Execute commands by every online player;
Send title messages to every online player;
Play sounds to every online player;
Filter command action receivers by a condition or permission;
Event jobs & commands;
Start-up commands;
Delayed command execution (/timer);
BungeeCord support;
PlaceholderAPI support;


AVAILABLE EVENTS
(Use these values in configuration)
- join-event
- quit-event
- weather-change-event
- world-load-event
- player-bed-enter-event
- player-change-world-event
- player-gamemode-change-event
- player-kick-event
- chat-event
- command-event
- item-pickup-event
- player-advancement-done-event

BUILT-IN PLACEHOLDERS
- {player_name} - for events that relate to a player.
- {world_name} - for events that relate to a world.

.. and bunch more event-specific placeholders, read more at:
https://github.com/M0diis/SRV-Cron/wiki/Configuration#events

You can use both placeholders if event relates to both player and a world (ex. player-change-world-event)

BungeeCord has only two events available, join & quit.
_________________________________________________


# COMMANDS & PERMISIONS


RUN COMMAND AFTER SPECIFIED SECONDS
Command: /timer <seconds> <command>
Permission: srvcron.command.timer

RELOAD CONFIGURATION & JOBS
Command: /srvcron reload
Permission: srvcron.command.reload

RUN CRON OR EVENT JOB MANUALLY
Command: /srvcron run <job-name> or /srvcron run event <event-name>
Permission: srvcron.command.run

SUSPEND JOB EXECUTION
Command: /srvcron suspend <job-name>
Permission: srvcron.command.suspend

RESUME JOB EXECUTION
Command: /srvcron resume <job-name>
Permission: srvcron.command.resume

JOB INFORMATION
Command: /srvcron jobinfo <job-name>
Permission: srvcron.command.jobinfo

JOB & EVENT LIST
Command: /srvcron list [events]
Permission: srvcron.command.list
_________________________________________________


# CONFIGURATION


Configuration is pretty simple and easy to understand.
For more detailed explanation, visit Github wiki page:

Configuration · M0diis/SRV-Cron Wiki

DEFAULT CONFIGURATION
Code (YAML):

jobs
:
  save
:
    time
: every 1 hour
    commands
:
    - say Saving world!
    - save- all
    - say Save Complete!
  restart
:
    time
: every 1 day of week at 6:00
    commands
:
    - say Server restart in 10 seconds!
    - timer 10 stop
  tps
:
    time
: every 30 minutes
    commands
:
    - tps
# If you do not want to use any event jobs, use:
# event-jobs: { }
event-jobs
:
  join-event
:
    welcome
:
      time
: 1
      commands
:
      - tell {player_name } Hello!
      - <ALL> [CHAT ] Hello {player_name }!
  quit-event
:
    bye
:
      time
: 5
      commands
:
      - say {player_name } left the game few seconds ago.
  player-gamemode-change-event
:
    notify
:
      time
: 0
      commands
:
      - '<ALL> [TEXT (PERM:staff.notify.gamemode ) ] Player {player_name } changed his gamemode from {from_gamemode } to {to_gamemode }.'
startup
:
  commands
:
  - say Server was started!
  - timer 60 say Server is online for 1 minute!
  - save- all
 
_________________________________________________


# API


For more detailed explanation, visit Github wiki page:
API · M0diis/SRV-Cron Wiki (github.com)

There are currently 3 events that are fired upon certain actions.

CronJobDispatchEvent
CronJobDispatchEvent
StartupCommandDispatchEvent

You can also interact with the API.

_________________________________________________

MY OTHER PLUGINS

CoreCord - CoreProtect integration for Discord.
ExtraEnchants - Simple additional enchantments for your server.
AntiAnvilRename - Prevent players from renaming certain items using anvils.
SimpleBombs - Customizable bombs for prison and other servers.
VenturaCalendar - In-game calendar with customizable events and much more.
OnlinePlayersGUI - Online players in a GUI. Filter by conditions, placeholders.

Resources from M0dii - all plugins.
_________________________________________________

Please leave a positive review if the plugin works as intended, if you have an issue contact me on discord provided or open an issue on github.

Buy me some coffee:

[​IMG]

Resource Information
Author:
----------
Total Downloads: 1,944
First Release: Mar 1, 2022
Last Update: Oct 16, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings