HostNameWhiteList
1.4[Bungee or Bukkit] Redirect users who try to connect to your server using an unofficial domain
Note
As of 1.4, this is a universal plugin meaning you can use it with either BungeeCord or Bukkit.
To put it simply, you can place the jar in the BungeeCord plugins folder or the Bukkit plugins folder.
Description
This plugin creates a whitelist of host names that can connect to your servers. This plugin is useful to block other domains (i.e. unofficial domains that you don't have ownership of) that are linking to your server while also providing a helpful message to the end user that redirects them to the official address. This plugin may also be useful if you have changed your server IP and want to redirect your users to a new one.
Source Code
Github
Commands
Aliases: hostnamewhitelist, hnw
/hnw reload
- Reloads configuration
- permission: hostnamewhitelist.admin
Configuration
# Message that is displayed on the MOTD or when a player tries to connect
warning: '&cYou entered the wrong IP address, please use &3example.com &c instead'
# Block legacy players since we can't check which hostname they are connecting from
block-legacy: true
# Ignore hostname capitalization
ignore-case: true
# Players can only connect through the following host names
allowed-host-names:
- 'localhost'
Screenshots


Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta