✔️ Create toast style notifications for all your players ✔️
- Create toast style notifications for all your players
---
#
# ░████████╗░█████╗░░█████╗░░██████╗████████╗██████╗░██████╗░░█████╗░░█████╗░██████╗░░█████╗░░█████╗░░██████╗████████╗███████╗██████╗░
# ░╚══██╔══╝██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗
# ░░░░██║░░░██║░░██║███████║╚█████╗░░░░██║░░░██████╦╝██████╔╝██║░░██║███████║██║░░██║██║░░╚═╝███████║╚█████╗░░░░██║░░░█████╗░░██████╔╝
# ░░░░██║░░░██║░░██║██╔══██║░╚═══██╗░░░██║░░░██╔══██╗██╔══██╗██║░░██║██╔══██║██║░░██║██║░░██╗██╔══██║░╚═══██╗░░░██║░░░██╔══╝░░██╔══██╗
# ░░░░██║░░░╚█████╔╝██║░░██║██████╔╝░░░██║░░░██████╦╝██║░░██║╚█████╔╝██║░░██║██████╔╝╚█████╔╝██║░░██║██████╔╝░░░██║░░░███████╗██║░░██║
# ░░░░╚═╝░░░░╚════╝░╚═╝░░╚═╝╚═════╝░░░░╚═╝░░░╚═════╝░╚═╝░░╚═╝░╚════╝░╚═╝░░╚═╝╚═════╝░░╚════╝░╚═╝░░╚═╝╚═════╝░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝
title: "§d[ToastBroadcaster]" # Title toast
broadcast:
delay: 60 # Delay message
message: # All message broadcast
- "§a1"
- "§b2"
- "§c3"
...
- You can access to ToastBroadcaster by using
ToastBroadcaster::getInstance()
- sendToast usage:
$player = $event->getPlayer();
$title = "[Title]";
$subtitle = "Toast";
ToastBroadcaster::getInstance()->sendToast($player, $title, $subtitle);
- broadcastToast usage:
$player = $event->getPlayer();
$title = "[Title]";
$subtitle = "Toast";
ToastBroadcaster::getInstance()->broadcastToast($title, $subtitle);
- Step 1: Click the
Direct Download
button to download the plugin- Step 2: move the file
ToastBroadcaster.phar
into the fileplugins
- Step 3: Restart server for plugins to work