public void MyProps (PlayerJoinEvent event){ if (event.getPlayer().getName().equalsIgnoreCase("Splated")){ event.setJoinMessage(ChatColor.DARK_GREEN + "Splated" +ChatColor.WHITE +" Creator of this Mod, has joined the game."); } } So I been thinking about adding some sort of credit for my self when I join servers running my mod. i was thinking it would be cool to use the "authors:" from plugin.yml to give people who helped credit too. but I'm not sure of the code needed to read the authors line.
cool idea it would nice to know if the author of a plugin I was running joined my server but i have no clue as to codes sorry
Splated Moved to correct forum. Also this practice is somewhat frowned upon, some people may not want to use your plugin at all
In addition, you must document this on your project page, or else your file will be denied. However, like Butkicker12 mentioned, this is frowned upon. Take a look at this nice link.
Please don't, as a server admin I don't like the idea of users that I do not know having their name spammed on the server when they join. At least provide a config option and make it known on the project page. As BukkitDev staff, np98765 has basically covered everything.