Version: 1.1.0
For PocketMine: 1.6.2dev and above (API 3.0.0-ALPHA7)
Copyleft (<C) 2015-2017 ItalianDevs4PM
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
This simple plugin allows to OPs (or everyone who have bb.ban
and bb.whitelist
permissions) to know when a banned or unwhitelisted player attempts to join.
/bb on|off
toggles the banned alert
/unwl on|off
toggles the unwhitelisted alert
This plugin has a config.yml file which allows you to customize displayed messages.
Let's see how it works:
---
# BannedBroadcast v1.1.0 by @ItalianDevs4PM <NikoZazza, fycarman, luca28pet, XEmAX32, AryToNex, EvolSoft>
# Switch for banned messages
# If true the plugin will send messages to players.
banned-switch: true
# Write here the message you want to display when a banned player attempts to join
# Variables: {player} , {ip}
banned-message: "{player} [{ip}] attempted to join but he/she is banned!"
# Switch for unwhitelisted messages
# If true the plugin will send messages to players.
unwhitelisted-switch: true
# Write here the message you want to display when a unwhitelisted player attempts to join
# Variables: {player} , {ip}
unwhitelisted-message: "{player} [{ip}] attempted to join but he/she isn't in the whitelist!"
...
There are two variables: {player}
and {ip}
{player}
shows the banned or unwhitelisted player's nickname.
{ip}
shows the banned or unwhitelisted player's IP address.
This plugin is developed by @ItalianDevs4PM (@AryToNeX, @EvolSoft, @fycarman, @luca28pet, @XEmAX32, @NikoZazza)
Follow us on GitHub, PocketMine Forums and Twitter!