I was wondering if someone could make a plugin that would load frst and display a message saying "Server Loading" while the server is loading and then go back to the servers default MOTD so that players know that they can't currently join the server. i would like this because my players complain that the server is up and they can't join. if it were possible to do what i am asking, i think this would be a widely used plugin! Thanks -Vivosims
I could do this, what would you like exactly? Would you want it on startup to change the MOTD to 'Server loading' then after a couple of seconds change it back to normal?
I'm having a go at this. If someone else wants to do it then that is fine, I am just doing it as an introduction to Bukkit development. We will see how it turns out I guess.
ok thanks! and yes, i want it to say Server Loading. and then i want it to test if a player can join, and if one can then have it go back to the preset MOTD. my server takes FOREVER to load and it annoys players when it says its up but is not
Being a programmer is: 90%: WHY THE HECK WON'T THIS WORK!?!? 10%: Hey look, I made this, thats kinda cool.. Exactly!
the way the server works is that when it starts it is on but plugins are loading so players can't join. you see the server as up but when you try to join you get timed out. so in that 2-3 min when its still booting up i would like it to displaya message alerting players that they cant join yet. Please Do! then take a crack at it! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
like i have explained above, you can't join the server when the plugins are loading. trust me, i run 4 bukkit servers XP
This plugin isn't really possible. Or, at least, it isn't reliable or useful. For one, the entire point is to warn players not to connect yet, because plugins are still loading. Three problems off the top of my head: This is a plugin. It would be just as unstable as the rest of them, on load. You can't really affect load order of plugins. So this plugin could be loaded last, at which point it would be useless. The plugin that would overwrite this one could be loaded before or after this plugin, completely changing the outcome. Potentially random on each boot. It takes a few seconds to boot up, unless you've got a lot of plugins running. There's no point to this. And even if you did make it, as I said, it would be very unreliable.
FerusGrim No, not if you manage to make it load first... I think they are loaded by alphabetical order, if the plugin's name is "000BootupMOTD", it will be loaded first. You just need to change the priority of the event where you modify the MOTD and it will work ! He said his server was taking 2-3 minutes to load, he must have 50-60 plugins... thesims3 I started to look into it
You can affect the load of plugins, set it to load before worlds. This is completely possible depending on when the server starts responding to pings. You may have to respond to pings itself. I'll look into it.