Welcome Message is a simple yet useful plugin that displays a welcome message that you define, (the default is [Server] Welcome to the server @p!), to a player when they join your server. the reason why I made this plugin even though there are others out there is I wanted the welcome message but without all of the other stuff that came with it. I hope you enjoy.
Like my plugins? Follow me on twitter @krooked590 for random tweets about nothing.
Features
Customizable message
Customizable sender
Edit colors of message and/or sender
Ability to turn sender off if not wanted
Easy command system for changing the settings
I have tested this plugin on every recommended version of bukkit
Setting up
To set up the config file, place the .jar in your plugins folder. Your all set.
[Optional but recommended] After you start the server stop it, then make any changes to the config.yml to get it set up to your liking.
Commands
/wm [message] new message
/wm [sender-use] true|false
/wm [message-color] color in caps exp: DARK_PURPLE
/wm [sender-name] new name
/wm [sender-color] color in caps exp: AQUA
/wm [display] displays the welcome message
/wm [delay] delay amount 0-10
/wm [color] displays a list of available colors
/wm [tip-message] new message
/wm [tip-sender-use] true|false
/wm [tip-message-color] color in caps exp: DARK_PURPLE
/wm [tip-sender-name] new name
/wm [tip-sender-color] color in caps exp: AQUA
/wm [tip-display] displays the welcome message
/wm [tip-delay] delay amount 0-10
/wm [use-tip] true|false
/wm [tip-all] true|false
/wm [message-all] true|false
Known Bugs:
Hopefully nothing :)
Version History:
v1.0 - Initial release
v1.1 - Added the ability to change settings through commands
v1.1.1 - added new command /wm color. This will display a list of available colors in the right color
v1.2 - added a Tip of the day. you can now choose if you want the welcome message to only show to players who have never been on your server before or both, you can enable a tip that will play to new players or past players please look at the commands thing above this to see what u can do also added a time delay 0-10 seconds. if you just want a standard welcome message without having to do anything just put the .jar in the plugins folder and that's it. nothing else will change if you don't want to mess with any settings. still just as simple and just as useful!
v1.2-1 - added a line of code to stop player names from being added to the config if things were false, and fixed the time delay issue.
v1.2.2 - Updated for CraftBukkit 1.2.3.
v1.2.3 - Updated for CraftBukkit 1.2.5 ; now able to edit configuration file while server is running. Make your changes, then use the /reload command to see them.
v1.2.4 - Updated for CraftBukkit 1.5.1-R0.2; you no longer need to do any type of reloading to see any changes made to any of the config settings. it will reload when needed. Also added the ability to insert a players name by adding a @p in any message. The past players list is no longer contained in the config.yml anymore. after installing this update it will create a new file called past_players.yml.
v1.2.5 - Updated for CraftBukkit 1.5.2-R0.1; Fixed and NPE when loading the pastplayers.yml also added Metrics support. If you would like to opt-out from metric just navigate to PluginMetrics --> config.yml and set the opt-out value to true.
Try it now. I have updated it and now you can change the config file to your liking whether or not the server is running. If the server is running, just use /reload to apply them.
I wish I had more information to give you. I understand how the troubleshooting works for this sort of thing. But I really don't have any more information for you than simply that it resets the config file when I restart the server.
To elaborate, I download the .jar, upload it to the plugins directory. After doing a /reload, I get the proper directory on the server. Going into that directory I get the config file. After changing that settings and saving the file (and even re-opening the file to ensure it saved properly), I then restart the server. After the restart, the config file is back to default.
Edit: I should add, that later on I read where you stated that turning off the server and then uploading and configuring would be best. This yielded the same results.
I have no idea why this isn't working for some of you if you could please let me know exactly what it is that you did I can try to figure out what is wrong but every test that I have done I have not been able to re-create the problem. I need more information then "it's broken".
I just tested the in-game commands and they seem to be working fine. I also made changes to the config while the server was off than saved the changes and that as well seems to be working fine. Please explain a little more clearly on how this plugin is broken so I can make an attempt to correct the problem. Thank you.
im not really sure what could be going on because i just did some testing and everything seemed to work well for me....make sure that when you edit the yml that the server is turned OFF and that you save your changes prior to turning the server on again. you could always just use the in game commands to change the settings as well. i will keep looking into it tho, there may be something little i missed.
sorry for not responding sooner :( i will be free hopefully tomorrow and if not then i will definitely be looking at it this week. thank you guys for your continued interest in the plugin, means a lot to me.
so the delay feature doesnt really work at this point. i will look into it a little further when i have time. please use at your risk as it may do weird stuff when alot of ppl join at one time.
Nice plugin, use it on all three of my servers :), does what it says on the tin.
Much appreciated ! Josh
@pentaside
Try it now. I have updated it and now you can change the config file to your liking whether or not the server is running. If the server is running, just use /reload to apply them.
I wish I had more information to give you. I understand how the troubleshooting works for this sort of thing. But I really don't have any more information for you than simply that it resets the config file when I restart the server.
To elaborate, I download the .jar, upload it to the plugins directory. After doing a /reload, I get the proper directory on the server. Going into that directory I get the config file. After changing that settings and saving the file (and even re-opening the file to ensure it saved properly), I then restart the server. After the restart, the config file is back to default.
Edit: I should add, that later on I read where you stated that turning off the server and then uploading and configuring would be best. This yielded the same results.
@pentaside
I have no idea why this isn't working for some of you if you could please let me know exactly what it is that you did I can try to figure out what is wrong but every test that I have done I have not been able to re-create the problem. I need more information then "it's broken".
@Bear809
I am having the same issue.
Could you please clean up the HTML code on this page? It's ugly and makes it hard to read. Thanks!
I just tested the in-game commands and they seem to be working fine. I also made changes to the config while the server was off than saved the changes and that as well seems to be working fine. Please explain a little more clearly on how this plugin is broken so I can make an attempt to correct the problem. Thank you.
This is broken.
The config resets every time i change something. In game the commands do nothin.
Works with 1.2.5
HI
is it updated to 1.2.5 ?
im not really sure what could be going on because i just did some testing and everything seemed to work well for me....make sure that when you edit the yml that the server is turned OFF and that you save your changes prior to turning the server on again. you could always just use the in game commands to change the settings as well. i will keep looking into it tho, there may be something little i missed.
I'm having major déjà vu here. I edit the config.yml file but every time the plugin reloads it reverts back to the default sample. I have to be missing something simple.....
YAY updated ;D
sorry for not responding sooner :( i will be free hopefully tomorrow and if not then i will definitely be looking at it this week. thank you guys for your continued interest in the plugin, means a lot to me.
when will there be an update for 1.2?
Doesn't seem to work in 1.2 =(.
Yes the delay works ;) Sorry that it took so long
ok so im pretty sure i fixed the time delay problem, here's the link to the file (its the same version number) http://dl.dropbox.com/u/34800755/WelcomeMessage_1.2-1.jar
so the delay feature doesnt really work at this point. i will look into it a little further when i have time. please use at your risk as it may do weird stuff when alot of ppl join at one time.
@Adonum
the delay i only have coded for 0-10 seconds