IPChange
Hello everybody, Deep from within the labs of Triook, A.K.A. The Place where kyle0440 & CainFool Spend all night (and part of the morning) awake and making plugins, We present to you our newest creation, IPChange!
Have you ever wanted a smooth transition in changing ports, domains, or IP addresses for your Minecraft server? Well now there's a solution!
What this plugin does
The function of this plugin is to inform players in multiple ways that they need to use a new IP Address/Hostname/Port to connect to the server. This information can be delivered to the player via either an in-game message (with a customizable after-join delay) or an automagical kick with customizable message (both with color code support!)
Configuration
settings: current-ip: Put the IP that people should be connecting to, such as mc.triook.com. All other requests will be met with the options you specify below.
current-port: Specify the port that people should be using to connect to your server. Minecraft default is 25565.
kick-message: Specify the kick message that players will get if they try to connect with the wrong hostname/port when kick-enable is set to true. Color support! (BE SURE TO USE 'APOSTROPHES' AROUND THE MESSAGE)
kick-enable: true or false. If set to true, players connecting using an incorrect Hostname/IP/Port will be kicked using the above message.
message-enable: true or false. If set to true, and kick-message is set to false, when people join the server with the incorrect Hostname/IP/Port they will get the message specified below after the message-delay time has passed.
message: Put the message you want to be sent to people when they join if message-enable is set to true. Color support! (BE SURE TO USE 'APOSTROPHES' AROUND THE MESSAGE)
message-delay: The time in seconds to wait after a join from an incorrect hostname before sending the above message.
debug: true or false. If set to true, console will get messages about which hostname people are using to join, and which one they should be using.
COMMANDS & PERMISSIONS
There are none, it is all done through the configuration file!
PLANNED FEATURES (WILL IMPLEMENT WITHIN OUR LIMISTRATIONS!)
- Logging to an independent txt file (For hostname usage, analytic purposes)
- Hostname whitelist, for custom hostnames being used for security purposes (A WorldGuard Feature)
- User Whitelist
COMING IN 1.3
- An Update to the AutoUpdater :P
PROBLEMS? FOR FASTER RESPONSE, CREATE A TICKET!
-
-
-
-
@dazhawk12
Try using https://www.spigotmc.org/resources/hostname-whitelister-hostnamex.20492/ and do /debug true to see what the plugin sees the user joining as.
Okay, I have a bungeecord network, and I have install this on the factions server because ppl were connecting directly to the ip not the bungeenetwork, but now that I have installed this, nobody can connect to the factions server at all
I'm having trouble, whenever I change my IP and refresh my server and join with the ip it tells me "Can't resolve hostname." Can you please tell me what to do or how to fix, thanks.
when i changed the ip and tested it all that happened was it said that it was an unknown host can you help in anyway
@SkeletonGamez
It should still work. If it doesn't, let me know.
It is version Minecraft 1.3.1 and 1.3.2 Can you please make it for Minecraft 1.7.2 and 1.7.4?
Ah thanks! Needed this :D
it keeps saying "You cannot join when the server has no database connection." So what am i supposed to do? even when i try to connect to the ip i make it, it shows "cannot resolve hostname" if anyone can help me, please help me!
@Icee2199
Example 1: I have a server running on play.triook.com. I want to use a new domain, playtriook.com I redirect both domains to my IP, and set up IPChange to only accept connections from a current IP of playtriook.com. So, when people try to connect with play.triook.com, they will either get kicked or get a message telling them they need to start using the new IP, playtriook.com
Example 2: I run multiple servers at home. Say I wanted to start using a new port for a new server, without just cutting off connections and having people come to my website to find the new port. Let's say I've always run it off of 12345, now I want it on 56789. I would forward both ports to the server's internal IP, then using IPChange, set the current port to 56789. So, for a temporary time, people connecting using the old IP could connect to the server, but they are informed that they must connect using the new method, or they won't be able to connect soon.
The basic idea of the plugin is to change Hostnames/Ports without losing users. It helps to provide a "buffer" of time where people can transition.
I'm sure there are many more uses than these two I have specified here, as well.
Hope this helps!
@Icee2199
He means as long as the IP's both point to your server.
@kyle0440 Hmm, So if i just run my server normally with this plugin then whenever the IP changes it will give you the new one. Or if not what do you mean by reachable.
@Icee2199
Yes, but only if both IPs are reachable.
So if the ip changes, and they try to connect with the other ip It tells them the new one?
Thanks saved my company with this plugin!!! MC Legacy Hosting moved servers and had to tell everyone of the new ip's
@djdog66
The config auto-generates in your server's /plugins/IPChange directory.
Where can I find the config its not in the file