WorldMOTD
WorldMOTD
WorldMOTD v0.3.x
A custom MOTD for every world
Craftbukkit 1.4.7-R1.0
About
WorldMOTD is a plugin with a simple, yet effective purpose: Add a MOTD for every world that is on your sever. I aim for a zero bug target along with commitment to continue this plugin's development.
Features
- Add a MOTD when a player joins the game
- Add custom MOTD messages when a player teleports to a different world
- Add Global MOTDs for basic usage
- Multi-world support
- API for Plugin Developers
Configuration and Permissions
Known Issues
- Properly override other plugins sending messages when the player joins
- Add more options
- Report issues HERE.
Todo List
BukkitDev update featurev0.2Multi-line MOTDv0.2Add an APIv0.2- Add a delay timer
- Custom player join messages
- Make plugin completely modular
- Any ideas?
@exload
Well, i renamed it to Just Playground, and Playground_nether, and still no luck.
@marubal21
Do not include spaces in the names of your worlds.
I'd like to use this plugin to replace my current MOTD plugin, but i can seem to get it to work. I think it is just not recognizing my worlds.
My world names are as follows: Bobby's Playground Bobby's Playground_nether Bobby's Playground_the_end
could someone please show me how i need to setup my config file so that it works with my world names, thank you.
@exload
It's no problem, I won't need it until 1.5 is released.
@Gunnerrrrr
Unfortunately an update will not be able to be released until Sunday night or Monday because I will be gone. I do not want to push a premature release out. There is still a bit more coding that needs to be done to maintain a modular design.
Sorry for the delay. I hope you understand and are able to work around this problem for the time being.
@exload
Sounds good!
@Gunnerrrrr
Just an update.. A beta build is almost ready but I'm not trying to push an update out. All that has to be finished is the change world MOTD. Global settings have been added along with copying settings from other worlds. Probably done by tomorrow night.
@Gunnerrrrr
Yes I am. The complete re-write of the plugin should fix the issue. I will try to get a beta build out tonight and it should solve that issue and a few others. It probably won't have any new features added. I have been extremely swamped at work which causes a severe impact on the amount of time I am able to spend coding.
@exload
Are you aware of my ticket? :0
@CommodoreAlpha
You are partially correct with your statement. I did not catch on that you were talking about the server ping event. I thought you were talking about the in-game MOTDs. In that case then, yes, you would need to listen for IPs.
Multiple line MOTDs are not possible without looking completely ridiculous.
I will get to work on this idea. Thanks for the request! Any other input on the plugin is useful as I am re-coding the entire thing.
I didn't mean multiple line MOTDs, I meant something more like one of many MOTDs. As in, when you go to your server list, you will see a server with one motd. When you refresh, you will see another motd. But multiple line motds on the server list (not displayed ingame) does sound like an excellent idea, if possible.
And as for listening for a player's IP, I do realise the potential flaw behind that. Actually, I'm not technically-minded at all, and I know no Java, but I'm pretty good with logic. When I run my server, then my client, and I click multiplayer in my client to go to the server list, I see this in my console: "-IP Number- lost connection." I concluded that everytime a player goes onto their server list, their IP connects to all servers and get their ping + motd. Likewise, the servers would know what IP addresses are connecting to them (hence the -IP lost connection- messages that sometimes pop up in the server console), but not the player accounts themselves.
In short, I requested IP rather than players because IP sounds far more... possible than players. I believe it works this way: when a user opens their server list, their IP connects to all servers, but when they log into a server, their player account connects. But I wanted the motd on the server list, which doesn't involve player connection, but rather, IP address.
Remember: this is only my speculation, I don't know if it actually works this way. If this was too confusing, I'll try to clarify it in a PM. :P
@CommodoreAlpha
This is definitely possible and I would be willing to do it, however, I will need to come up with a good system to have multiple line MOTD's for a single world. I can think of a few ideas right now..
Is there a reason you wanted this feature to specifically listen for a player's IP instead of simply his/her name? This could actually be a flaw because two different players could log into the server with the same IP and have the wrong MOTD displayed.
Could you change the command from /wm to something like /wmotd?
I use a biome-changing plugin (that I prefer over any other) called Weatherman that uses the command /wm.
Also, this is an extremely specific request, but there's a plugin called MotdManager...
http://dev.bukkit.org/server-mods/motdmanager/
It lets you display random MOTDs on the same server. Can you have a similar, but tweaked function? How I want tweaked might be a little complicated to explain, so I'll provide details and an example.
Instead of one list of MOTDs to choose from for the whole server, how about a list per world? (The per-world thing is why I'm asking you, not the other developer.) How it would work is that the plugin "knows" what last world a player's IP was in. When it "senses" that IP again, it will look for the last world it was on and display one of many motds from that world's list to that IP (and yes, it will be random).
For example, if I, the Player, connected to a server and logged off, and my last world was "world", when I would go to the server list again, I would see one of many motds selected for "world", i.e. "This is world!" or "You are entering the server's main world!".
Likewise, if I left from, say, "world_nether" and came back again, I would see one of many motds written just for that world, such as "Welcome back to the nether!"
And these would be actual MOTDs, not ingame on-join messages. If I was supposed to post this as a ticket, I'm sorry, and I will post it as a ticket. If this is something I should be asking the other developer, then sorry for wasting your time, and I will. (Although asking the other developer might not be a bad idea.)
Major re-write of this plugin coming within the nest few days! Any feature requests?
@Gunnerrrrr
You are missing the apostrophes around &6Test. It should be '&6Test'.
@exload
http://pastebin.com/8Y9TKEAk
@Gunnerrrrr
There already is variables. Look at the default config that is generated. I am unsure why it breaks when you add color codes. It seems to be working for me. Could you pastebin your config?
@exload
I just made a derppy mistake, thanks anyways :P
Suggestion, could you make some variables. Such as {PLAYER}?
EDIT: When I add color codes, it breaks it and does not work.
@Gunnerrrrr
I have just tested this on a blank test server running Craftbukkit 1.4.5-R1.0 and it still works fine. It could be a plugin conflict which you are experiencing in which case it would be awesome if you could create a ticket so that I can resolve the issue.
This doesn't seem to be working, shame.