ToastBroadcaster
Incompatible con la versión actual de PocketMine-MP — Could not load plugin 'ToastBroadcaster': Incompatible API version (plugin requires one of: 4.0.0) · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).
ToastBroadcaster | v1.0.0
✔️ Create toast style notifications for all your players ✔️
Features
- Create toast style notifications for all your players
Config
░████████╗░█████╗░░█████╗░░██████╗████████╗██████╗░██████╗░░█████╗░░█████╗░██████╗░░█████╗░░█████╗░░██████╗████████╗███████╗██████╗░
░╚══██╔══╝██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗
░░░░██║░░░██║░░██║███████║╚█████╗░░░░██║░░░██████╦╝██████╔╝██║░░██║███████║██║░░██║██║░░╚═╝███████║╚█████╗░░░░██║░░░█████╗░░██████╔╝
░░░░██║░░░██║░░██║██╔══██║░╚═══██╗░░░██║░░░██╔══██╗██╔══██╗██║░░██║██╔══██║██║░░██║██║░░██╗██╔══██║░╚═══██╗░░░██║░░░██╔══╝░░██╔══██╗
░░░░██║░░░╚█████╔╝██║░░██║██████╔╝░░░██║░░░██████╦╝██║░░██║╚█████╔╝██║░░██║██████╔╝╚█████╔╝██║░░██║██████╔╝░░░██║░░░███████╗██║░░██║
░░░░╚═╝░░░░╚════╝░╚═╝░░╚═╝╚═════╝░░░░╚═╝░░░╚═════╝░╚═╝░░╚═╝░╚════╝░╚═╝░░╚═╝╚═════╝░░╚════╝░╚═╝░░╚═╝╚═════╝░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝
title: "§d[ToastBroadcaster]" # Title toast broadcast: delay: 60 # Delay message message: # All message broadcast
- "§a1"
- "§b2"
- "§c3" ...
For Developer
-
You can access to ToastBroadcaster by using ToastBroadcaster::getInstance()
-
sendToast usage:
event->getPlayer(); subtitle = "Toast"; ToastBroadcaster::getInstance()->sendToast(title, $subtitle);
- broadcastToast usage:
event->getPlayer(); subtitle = "Toast"; ToastBroadcaster::getInstance()->broadcastToast(subtitle);
Install
-
Step 1: Click the Direct Download button to download the plugin
-
Step 2: move the file ToastBroadcaster.phar into the file plugins
-
Step 3: Restart server for plugins to work