Trash Motd
Trash Motd v1.7
What It Does
Please read the config! Also, the plugin has been renamed in version 1.6 and now only supports 1.7.8+ Use versions lower than 1.6 for support for outdated versions on bukkit
- Pick a random MoTD every time the server is pinged
- Display an info board with set text for a set time after joining the server
- Hook into other plugins to provide more variables
- Display text when you put your cursor over the player amount in the server list
- Confuse players that ping your server :)
What It Doesn't Do
- Make pretty colors and rainbows
- Force players to join your server
- Make you money
Pictures
Videos
Commands (v1.7)
Command | Description | Permission | |
---|---|---|---|
/tm reload | Reloads the config | rapidmotd.reload | |
/tm help | Show the commands and help | - | |
/tm list | Lists the MOTD's | rapidmotd.list | |
/tm add <line#> <text> | Adds an MOTD to the list | rapidmotd.add | |
/tm del <line#> | Deletes an MOTD from the list | trashmotd.del | |
/tm about | Show CPx1989's bragging rights! | - |
Permissions (v1.7)
Permission | Default | |
---|---|---|
trashmotd.reload | No | |
trashmotd.list | No | |
trashmotd.add | No | |
trashmotd.del | No | |
trashmotd.* | OP |
Variables (v1.7)
The Config
Planned Features
- Variables - ✔
- In-Game Commands - ✔
- Auto-Update - ✔
- Scoreboard on join! - ✔
- More Variables! - ✔
- Even MORE Variables! - ✘
External Connections (Metrics, Auto-Update, Skins)
Trash Motd uses Metrics and has an Auto-Update feature!
It also grabs skins from the Minecraft Amazon servers for the Player's head on server ping option.
All three options can be disabled in the plugins config.
Credit and Help
Blue_Mustache for the player's skin as the server image and saving player data.
SniperzCiinema for the extra variables.
@Shippy2208
Sorry guys...my pc broke and I have been having internet issues so I have no plans to keep this updated...If someone wants the source just use jd-gui to decompile and you can take the project over but message me if you do and I will add you to this project
@CPx1989
Keep Number 2, 3, 5, 6
Planning for a full recode and final version for all versions of bukkit from 1.7+ until no longer supported. Also, please tell me what things you want me to keep in:
I plan to have a release after I finish some personal things but I expect to have a partial or full release by the end of July
Ok i got my MOTD's to work but now every time I change the scoreboard in the console it just resets like the motd use to. Also, the scoreboard vanishes after a few seconds and doesnt come back
@jpcuber109
you must use the plugins command to reload and sometimes this doesnt always work
Hey CPx1989, I type in alot of motds for my server but every time i refresh the server to get them running, My config resets! here is my MOTD config part.
@Shippy2208
Have you checked the logs. There must be an error or incompatibility somewhere.
UPDATE: I am working on a partial recode slimming it up a bit and cutting things for better functionality
@CPx1989
I have no errors in my console and here is my config.
Board:
Enabled: true
Display Time: 30
Update Time: 7
Title: '&2Board &3Display'
Lines:
- '&c&oWelcome'
- '%player%'
- '%break%'
- '&a&oOnline:'
- '%numplayers%/%maxplayers%'
- '%break%'
- '&a&oVersion:'
- '%shortversion%'
@CPx1989
Thanks, and you shouldn't!! It's hard to find a good MOTD plugin that fits my needs.
@FuZeEclipse The plugin could be outdated...I will see if I can get a version out soon but I am planning on discontinuing the plugin in the near future
@CPx1989
Sorry I lied actually. Just updated to latest snapshot and now I'm getting this
31.05 20:27:04 [Server] INFO ... 9 more 31.05 20:27:04 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at java.lang.Class.forName(Unknown Source) [?:1.7.0_51] 31.05 20:27:04 [Server] INFO at java.lang.Class.forName0(Native Method) [?:1.7.0_51] 31.05 20:27:04 [Server] INFO Caused by: java.lang.NoClassDefFoundError: com/comphenix/protocol/events/PacketListener 31.05 20:27:04 [Server] INFO at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at net.minecraft.server.v1_7_R3.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerList.<init>(PlayerList.java:68) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at org.bukkit.craftbukkit.v1_7_R3.CraftServer.<init>(CraftServer.java:317) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:355) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] 31.05 20:27:04 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/comphenix/protocol/events/PacketListener 31.05 20:27:04 [Server] ERROR Could not load 'plugins/TrashMotd-1.6.jar' in folder 'plugins'
@FuZeEclipse
Is your protocol lib updated?
UPDATE: I might have to discontinue this project as I do not have time to maintain it but if anyone would like to take it over please message me.
[18:11:14] [Server thread/ERROR]: [TrashMotd] Unhandled exception occured in onPacketSending(PacketEvent) for TrashMotd java.lang.NullPointerException at com.CPx1989.tmotd.util.TrashHandler.checkHoverVariables(TrashHandler.java:83) [TrashMotd-1.6.jar:?] at com.CPx1989.tmotd.util.TrashHandler.handlePing(TrashHandler.java:61) [TrashMotd-1.6.jar:?] at com.CPx1989.tmotd.TrashMoTD$2.onPacketSending(TrashMoTD.java:81) [TrashMotd-1.6.jar:?] at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:612) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:588) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.NettyProtocolInjector.packetQueued(NettyProtocolInjector.java:267) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.NettyProtocolInjector.onPacketSending(NettyProtocolInjector.java:235) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:260) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.ChannelInjector.access$300(ChannelInjector.java:51) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:236) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:213) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:100) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:76) [ProtocolLib-3.3.1.jar:?] at net.minecraft.server.v1_7_R3.NetworkManager.b(NetworkManager.java:122) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.NetworkManager.handle(NetworkManager.java:100) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_51] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_51] at com.comphenix.protocol.injector.netty.ChannelInjector.invokeSendPacket(ChannelInjector.java:481) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.ChannelInjector.access$400(ChannelInjector.java:51) [ProtocolLib-3.3.1.jar:?] at com.comphenix.protocol.injector.netty.ChannelInjector$4.run(ChannelInjector.java:353) [ProtocolLib-3.3.1.jar:?] at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:600) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit_beta_3084.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] [18:11:14] [Server thread/ERROR]: Parameters: net.minecraft.server.v1_7_R3.PacketStatusOutServerInfo@71b4cd48[ b=net.minecraft.server.v1_7_R3.ServerPing@15116c4a timestamp=1401577874748 ]
Getting this alot. Also, one thing I would recommend for this plugins is this http://puu.sh/99L8z/5537cc6694.png
@Shippy2208
Please check your config and read the posted information and also if you do have an error post the log...I am not a mind reader and the plugin wasnt built for 100% compatibility.
Why does the scoreboard not work?
I am using Craftbukkit 1.7.9-R0.2 and TrashMOTD 1.6
@dmsgktn111
If you are using utf-8 which is supported then just open the config in notepad(plus plus) or another editor and use the actual symbol and not the code for it
This plugin, do you support Unicode characters?
I tried a method such as \u2500 but I can not.
, Please tell me if there is a way to be able to use Unicode characters.
I am using the version 1.5 of NoNoMoTD 1.7.2 version.
@RandomPerson12333
That would be possible except if the staff list was too big it would go to a scroller which is possible if you want it to be like that
UPDATE: So looking back over the code I made many errors and I also am going to take out many of the variables as plugins are changing rapidly from the update but this will be a slightly big change to the code with the coming 1.8 update
UPDATE 2: Complete change of plugin...many changed to config and new data folder! You will want to read everything because much has changed!
UPDATE 3: Busy with work and finals so the plugin will be set aside till mid/end of May. Sorry :(
@CPx1989
Basically a "Show online staff" variable on the message board.
@RandomPerson12333
Elaborate a little bit more...what do you mean?