Skip to content

Broadcast a message when a banned/unwhitelisted player attempts to join

License

Notifications You must be signed in to change notification settings

ItalianDevs4PM/BannedBroadcast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BannedBroadcast

Version: 1.1.0

For PocketMine: 1.6.2dev and above (API 3.0.0-ALPHA7)

License

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

Overview

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.

Commands

/bb on|off toggles the banned alert

/unwl on|off toggles the unwhitelisted alert

The config.yml file

This plugin has a config.yml file which allows you to customize displayed messages.

Let's see how it works:

Structure of config.yml file

---
# 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!"

...

Variables

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.

Credits

This plugin is developed by @ItalianDevs4PM (@AryToNeX, @EvolSoft, @fycarman, @luca28pet, @XEmAX32, @NikoZazza)

Follow us on GitHub, PocketMine Forums and Twitter!

About

Broadcast a message when a banned/unwhitelisted player attempts to join

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages