SimpleJoinMessage
SimpleJoinMessage
RandomJoinMessage | SimpleJoinMessage
Are you bored of seeing every time the same join, leave and kick messages? Do you want to... randomize? Or only want to set a single colored message? But maybe you want simply hide all messages.
Completly rewritten from the old SimpleJm, now to RandomJoinMessage with now COMPLETE group support! So I decided to rename this to SimpleJoinMessage. This is a LITE version of RandomJoinMessage with no group support and any other features. You can only set custom (randomized) join, leave and kick messages or prevent them completly for all.
If you want to use all features use RandomJoinMessage!
Features
This lite version of RandomJoinMessage only supports changing join, leave and kick messages, randomize them or prevent all those messages. No group support.
Click here for a comparison table between SimpleJoinMessage and RandomJoinMessage.
- Custom join message
- Custom leave message
- Custom kick message
- Prevent all of those messages
- Use players display name in the messages
- Random messages
- Color Codes
- Permission support
- Reload your configuration ingame -> No server restart needed
Installation
- Download SimpleJoinMessage and put the Jar-File into your Plugins Folder
- Restart / Reload your server
- The config has been generated in plugins/SimpleJoinMessage
- Create your configuration
- Reload configuration with /sjm-reload
- Enjoy!
Commands and Permissions
Command | Permission | Description |
---|---|---|
/sjm | simplejoinmessage.info | Info about SimpleJoinMessage |
/sjm-reload | simplejoinmessage.reload | Reload the configuration |
Configuration
Go to page Configuration.
@MrMe1003
I'm sorry, the continous integration server is temporary unavailable due to server migration. I'll try to get it up again soon!
@Minecrell
The link you provided doesn't seem to work. Is there an alternate one by chance?
@MrMe1003
Fixed join messages with VanishNoPacket in the latest dev build! Download here
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
@MrMe1003
That should already work by using %dplayer instead of %player and is probably the cause why it's not compatible with VanishNoPacket at the moment. (I'll try to fix that soon)
@Minecrell
Thank you ^_^ And it's okay. Anytime within the next week or two would be optimal for the server I'd like to use it for (Of course you take as long as you need, I don't want to rush).
Could you also let it hook into Essentials in a way that makes it so you can configure it to say their set nickname instead of their actual IGN?
@MrMe1003
I think I can add that in the next version, but it can take some time because I'm pretty busy at the moment.
Just a quick suggestion: Can you make it so this hooks into VanishNoPacket, so you can join and leave silently?
Thought you'd like to know I'm gonna be using this. :)
Thankyou
@hijak29
No problem :P
@Minecrell
Ok thank you.
@hijak29
This isn't a task of this plugin. There are some other plugins that do this, like Essentials (Motd, http://wiki.ess3.net/wiki/Help_Files#Motd) or CommandBook. There are some small plugins that do only this search on http://plugins.bukkit.org/.
@Minecrell
Well on my server it says (player) joined the game you can vote for our server at (website) have fun!
and I only want that showing to the person who joins
@hijak29
Why only show it to the player that joins or leaves? Doesn't he know that he joined the game? :P
Can I make it so that the message only shows to the player that joins or leaves and not to the whole server? Please help, Thanks,
@robotnikthingy
You have forgotten the ' on the end of line 10^^
http://dev.bukkit.org/paste/7153/
i get this error in the console
2013-02-15 02:41:10 [SEVERE] Cannot load plugins/SimpleJm/config.yml
org.bukkit.configuration.InvalidConfigurationException while parsing a block mapping
in "<string>", line 5, column 1:
join-message:
^
expected <block end>, but found Anchor
in "<string>", line 12, column 4:
- '&1%player quit the game.'
^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117)
at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
at net.minecrell.bukkit.simplejm.Config.cfg(Config.java:47)
at net.minecrell.bukkit.simplejm.Config.getPlayers(Config.java:229)
at net.minecrell.bukkit.simplejm.Config.getJoinMessage(Config.java:57)
at net.minecrell.bukkit.simplejm.JmListener.onPlayerJoin(JmListener.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_4_R1.PlayerList.c(PlayerList.java:159)
at net.minecraft.server.v1_4_R1.PlayerList.a(PlayerList.java:98)
at net.minecraft.server.v1_4_R1.PendingConnection.d(PendingConnection.java:130)
at net.minecraft.server.v1_4_R1.PendingConnection.c(PendingConnection.java:45)
at net.minecraft.server.v1_4_R1.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: while parsing a block mapping
in "<string>", line 5, column 1:
join-message:
^
expected <block end>, but found Anchor
in "<string>", line 12, column 4:
- '&1%player quit the game.'
^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
... 28 more
here is a paste of my config file
http://dev.bukkit.org/paste/7151/
@Freeezd
It doesn't take so much resources and I will release a update later this one should not use so much resources. On my server (1 gb ram) I had about 50 plugins and he didn't lag :D
Edit: finished
About how many resources does this use on a server? Looks like I'l download it but I already have like 20 plugins and don't want to lag the server more lol
@Minecrell
I meant simple cause it's not 101 features packed in one, but ok. :D
@LiLChris06
I think "Simple" depends on the experience of the user... When they work with bukkit a long time they associate other things with "Simple" than users that are using bukkit for one week... I try to make it for everyone as simple as possible (for the new users a very simple config, for the "older" users a simple config with advanced features)
Edit: The configs of my plugins are not small but I try to describe it in the header of the file as good as possible.