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;
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
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.