Player Count Message
Player Count Message
- now animated
By: flyguy23ndm
Thanks for 20k+ downloads
made from my config
Intro
This is my first plugin and has grown much beyond my original sights and has grown in size by a factor of 20 reaching into the 10's of thousands of downloads. The plugin has recently been adapted to allow animated server pings with moving text and a gif for the server Icon. I saw someone was offering an animated config for $12 a download and I thought, I can do that and better, for free. Then, the mega-upgrade of my original plugin had begun and hopefully you will enjoy the fruits of my work. So, if you want an animated ping for you minecraft motd, you've come to the right place.
Also, the old config (earlier than v4.0) has been replaced by a new file. The server will not atuo-transfer from the old config. And I got rid of the motd.txt file.
Note, you need Protocol lib to run this plugin
Tutorial
For a tutorial with the new system, go here
Video I made, it's pretty bad but it should work :P https://www.youtube.com/watch?v=biH75H36K0Q
Commands and Permissions
Commands and permissions are here
Configs
Config explanations are here
My example config is here
Plugin Information
Tags and information about them are here
Animation information is here
Also, if you want to use an outdated version of the plugin, check out the old pages
UPDATE
Hello, I would like to apologize to anyone that wanted to use this plugin. The latest version of minecraft broke this plugin (that was a few months ago). I was discouraged by this so much that I just abandon the project and refused to look at it. This is unacceptable behavior from a content creator and I shouldn't have acted this way. I will post the source code for the broken plugin soon. This code will not work but anyone can see the code that made the magic work (undocumented scrawl is the real magic. I will never document it... that is way too much work for the time I have now). Hopefully this will be of some consolation. I may change the software so that it will work as the initial versions did without the animation. Apparently 37k of you have downloaded the software and I thank you for your support and not reporting me constantly for the small support that I have given.
here is the source code:
bukkit: https://github.com/nicholas-maltbie/PlayerCountMessage
bungee: https://github.com/nicholas-maltbie/Player-Count-Message-Bungee
Feel free to modify, copy or update the code as you please; I only request that you cite me. Also, if you make any cool projects with my work, send me a like and I'd love to see what you have made.
@ChunkieMiner
It still doesnt work. Im getting no errors except one from Protocollib which also occured when it still worked.
The Exceptioncaught ....
@P0WeRZz
I suggest you use BuildTools and use the latest spigot jar
If i load this plugin in my server, it says: Server offline. So the MOTD and animated icon wont appear. Im running v4.0 java 7 version.
Im running: git-spigot-8a983f9-e81edfc (MC 1.8) On the moment of writing that means im 13 versions behind.
@flyguy23ndm
That is what I was trying to use (v4.0 both versions of jre) and it always gave me that error so I had to switch to v3.2
@ChunkieMiner
That error points to code that does not exist in my plugin. Try re-downloading the plugin (version 4.0 or newer) and then tell me how it goes.
@flyguy23ndm
Could you please help me with my error? Click here
@ChunkieMiner
Ughh, it costs money, or you could use this free one :D
@GenesisHub
This is another plugin that is compatible with BungeeCord(Costs 12 USD) : http://www.spigotmc.org/resources/animatedmotd-original.1874/
Hello! I was wondering if its possible to get this plugin to work with BungeeCord?
I've tried using the plugin using Spigot-build #1649 with the latest ProtocolLib plugin but it doesn't seem to work, it shows up in the plugins list and generates files but when I use /pcm it replies with /pcm [arg] and if I use sub-commands it still does the same
Note: build #1649 of Spigot allows clients of 1.7 and 1.8 to join
The error log I get from console on startup:
[17:27:15] [Server thread/INFO]: [PlayerCountMessage] Enabling PlayerCountMessage v1.0
[17:27:15] [Server thread/WARN]: java.io.IOException: No such file or directory
[17:27:15] [Server thread/WARN]: at java.io.UnixFileSystem.createFileExclusively(Native Method)
[17:27:15] [Server thread/WARN]: at java.io.File.createNewFile(Unknown Source)
[17:27:15] [Server thread/WARN]: at de.manuelgu.PlayerCountMessage.PlayerCountMessage.onEnable(PlayerCountMessage.java:41)
[17:27:15] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316)
[17:27:15] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332)
[17:27:15] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417)
[17:27:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:476)
[17:27:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:394)
[17:27:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:360)
[17:27:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:334)
[17:27:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:290)
[17:27:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:210)
[17:27:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458)
[17:27:15] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)
@ThisUsernameIsMine
I'm trying to fix that, it still is a big problem. I'll try to add the essentials support, it seems like a cool idea.
I often see the below text spamming the console:
I'm running:
Also don't forget about the plugin suggestions i made:
- http://dev.bukkit.org/comments/2471507
Help Its Not Working! When I Type Commands It Said: /pcm [args] i downloaded protocol lib help like the plugin is not working
(caps alert): AMAAAZING!!!!
Can you *please* add support for Essentials nicknames i.e. displaynames? (but show the regular name when a user doesn't have a nickname)
And (if you do not mind more suggestions for your plugin):
- A variable to randomly change the MOTD's color on each server ping/refresh
- A (displayname) variable to show the name of the player who connected last
Hopefully you'll add these to PCM, i <3 its (ca)ability to animate things :)
I'm using the current version of ProtocolLib (3.6.3) and the newest release of the plugin. It doesn't seem like it wants to load. None of the commands work in game either. I get no errors in console, but the plugin just doesn't work... Any ideas?
EDIT: I actually do recieve errors. Listed here: www.pastebin.com/uzCX5Aeh
@flyguy23ndm Can you tell me what server version i need to use to be able to use this plugin i was using spigot-1649 and no luck and 1.8 is being a pain in the lower parts right now with versions and all that so i wanted to know what version is the one that everyone is using to run all the new plugins update.
Thanks
Great plugin!
@NewtPvP
Nope, due to some technical babble that I don't feel like explaining, you either have to make it so the server is animated and seen as out of date OR not animated and seen as up to date. You can just set the animation length to zero milliseconds and it will display the server info (as up to date) and skip the animation. That was a big development choice and a problem that I wasn't able to solve while coding.
Is there a way I can remove the "Version" text completely? I don't like how to displays the server as offline so I was wondering if i can remove it?
@mark1000002
Здравствуйте, я не говорю по-русски, но я могу понять, что вы сказали, с помощью Google Translate и этот ответ был переведен с помощью Google Translate. Кто-то эту ошибку раньше, и я думаю, у нас работает временное решение.Ошибка будет исправлена в следующем обновлении. Пока я не выпустить обновление, вы можете решить эту проблему путем размещения файла изображения под названием "сервер-икона", или любые ваши поле "Сервер-icon.image_name» в рамках конфигурации установлен в положение, в папке PlayerCountMessage в папке плагина.Сервер будет избежать эту ошибку и ваш значок сервер будет установлен к этому образу.
English: Hello, I don't speak Russian, but I can make out what you said using Google Translate and this response has been translated using Google Translate. Someone had that error earlier and I think we have a working temporary solution. The error will be fixed in the next update. Until I release the update, you can solve the problem by placing an image file called "server-icon", or whatever your "server-icon.image_name" field within the config is set to, in your PlayerCountMessage folder in your plugin folder. The server will avoid that error and your server icon will be set to that image.
Can you read and write English mark1000002, I can still trans ate the responses but Google Translate isn't the best and it's kinda spamming the comments?
@Dani5835
The server offline problem is caused because server listing sites don't like animated pings, I know, it's so weird. I will be able to solve it and you can provide IP's of server listing sites so your server doesn't encounter the error.
And with the server spam, someone asked about that earlier and I'm to lazy to re-formulate the response so here's what I told him: "Ha, that was one of the major problems. There is no way to solve that besides stopping the animation. You could increase your ping interval (to maybe 200ms). It occurs because the server will drop a ping every now and then, and if you increase your interval (especially if you're running a large server), the number of dropped messages, and hence the amount of lag, should decrease. Although, the 200ms ping will drop your animation to 5fps. There is a better description on the default config page on the Bukkit forums for my plugin."
Also, some of the spam could be caused by server websites that try to ping your server, and that should all be fixed next update. I finally learned how the Java server stuff works (un-related to this project but it's fun) so fixing this stuff should be possible for me now.
Sorry for writing a book for a response :P Извините за написание книги для ответа :D