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.
I am using the beta build for craftbukkit 1.5.2 and the first time i used this plugin it worked just fine but when i started my server again a severe message about welcome message said error occured while enabling welcome message, is it updated? and it wont work anymore.
Thanks for the reply, that's actually exactly why this was created in the first place. i wanted just a Welcome Message and nothing more. Also i just want to say sorry for not keeping up with development on this. i got distracted by other larger projects and and just kinda stopped playing Minecraft in the process. Anyway i have made some changes to the way i handle saving and loading the config file and i finally think that all the issues people have been having with the config file resetting should be all gone now. also cleaned up A LOT of code and made this so much easier to read. plus added the ability to insert a players name by inserting @p in the message. for example: Welcome to the server @p! will show Welcome to the server krooked590! hope you enjoy this update.
Hey Krooked, I'm liking the plugin, though I'm curious, I'm running permissions Ex and I have a group with "*" in it as the permissions node, and now I can do everything including opping and deopping people but I cant do anything with the WM unless I am an OP? Is this intended? Not really a problem, just curious if it is a conflict somewhere or if this was an intention.
Thanks!
This has started working normally (without having to write-protect the file) and I can't repeat the problems I was having. I now wonder if I might have made errors that made me think it wasn't working:
a) If you manually edit config,yml and /reload, it overwrites the config.yml with the old message instead of loading the new message
b) If you manually edit config.yml and stop server, it overwrites the config.yml with the old message on shutdown
c) I was using the wrong "/wm" command - I was trying "/wm my new message" instead of "/wm message my new message"
Sorry if I was being stupid and hope this might help someone else...
Oh, and to answer a previous poster, it works with 1.3.2
I also have the same problem of the config being overwritten when I /reload or restart the bukkit server. The /wm [message] command doesn't change the message either.
The workaround I found was to edit the config file manually and then make the file read-only. I get an error when I start the server:
Thank You, at first i did not know how this work, but now thanks to you I'm able to display messages to my my friends
I have 3 questions.
1. How do you add a players name into the welcoming message : EX: "Welcome to our server Scowlingmarrow8"
or "Welcome to our server [ username (of the person who is joining in)]"
2.Can a player in my server use or see these commands that I am using? if so is there a way to block or set a specific group of users to be able to use it?( some of which I have oped, but dont won't them messing up the messages.
3. Is there a way to add a new command like /rules?
If anyone of these features are not in the current update will you consider putting them in?
@Krooked590 Here
<<reply 1479743
@MilkTorso
yes, as i have been using it without any issue
hey does it work good for 1.5.2 RO.1 ? bukkit
@bokbok800
is there anyway you can show me what was printed ion the console?
I am using the beta build for craftbukkit 1.5.2 and the first time i used this plugin it worked just fine but when i started my server again a severe message about welcome message said error occured while enabling welcome message, is it updated? and it wont work anymore.
@AlexanderMoore13
A little bit more information would be nice please.
Error in the latest version of Bukkit.
It fails to start. I tried running it by itself as well (with no other plugins) and it still fails.
My system is Win 8 x64, running Java 64-bit, latest Bukkit version. You might wanna look into it.
@Deltec_Enterprises
Thanks for the reply, that's actually exactly why this was created in the first place. i wanted just a Welcome Message and nothing more. Also i just want to say sorry for not keeping up with development on this. i got distracted by other larger projects and and just kinda stopped playing Minecraft in the process. Anyway i have made some changes to the way i handle saving and loading the config file and i finally think that all the issues people have been having with the config file resetting should be all gone now. also cleaned up A LOT of code and made this so much easier to read. plus added the ability to insert a players name by inserting @p in the message. for example: Welcome to the server @p! will show Welcome to the server krooked590! hope you enjoy this update.
@MattRob1nson Because Essentials doesn't have Tip, delay time, color, sender name, ect. These all come in handy for extra features.
Why would you need this plugin? It is included in Essentials. Totally pointless.
-craftypotato
Hey Krooked, I'm liking the plugin, though I'm curious, I'm running permissions Ex and I have a group with "*" in it as the permissions node, and now I can do everything including opping and deopping people but I cant do anything with the WM unless I am an OP? Is this intended? Not really a problem, just curious if it is a conflict somewhere or if this was an intention. Thanks!
why use this plugin ;l
Just use Essentials
@icecoldpanda
Anyone got anything?
When I start my server the config file gets cleared out. Any tip on that?
@CheesyM
This has started working normally (without having to write-protect the file) and I can't repeat the problems I was having. I now wonder if I might have made errors that made me think it wasn't working:
a) If you manually edit config,yml and /reload, it overwrites the config.yml with the old message instead of loading the new message
b) If you manually edit config.yml and stop server, it overwrites the config.yml with the old message on shutdown
c) I was using the wrong "/wm" command - I was trying "/wm my new message" instead of "/wm message my new message"
Sorry if I was being stupid and hope this might help someone else...
Oh, and to answer a previous poster, it works with 1.3.2
I also have the same problem of the config being overwritten when I /reload or restart the bukkit server. The /wm [message] command doesn't change the message either.
The workaround I found was to edit the config file manually and then make the file read-only. I get an error when I start the server:
but it does display my new message when a user joins the server!
works it with 1.3.1?
Thank You, at first i did not know how this work, but now thanks to you I'm able to display messages to my my friends
I have 3 questions.
1. How do you add a players name into the welcoming message : EX: "Welcome to our server Scowlingmarrow8" or "Welcome to our server [ username (of the person who is joining in)]"
2.Can a player in my server use or see these commands that I am using? if so is there a way to block or set a specific group of users to be able to use it?( some of which I have oped, but dont won't them messing up the messages.
3. Is there a way to add a new command like /rules?
Doesn't work for me either - same issue where the config file simply reverts. :(.
just literally downloaded so not sure if there's some other files that will help debug?
otherwise look fwd to being able to use it!
@lizardthing
thanks a lot! its people like you that make learning to program completely worth it.