Newsletter
Newsletter v1.0.2

Well, hello! This is my very first plugin. I wanted a light-weight news plugin that can display ...well... news! So I went on and learned how to make a Server Plugin with my fairly small java abilities. I have to say: I learned lots while coding this plugin and even though it won't become a "big deal", I'm happy if there's at least someone out there who can use Newsletter!
XepherX~
Functions
As mentioned above, this Plugin is meant to be a newsreader. It reads a certain file and spits it out!
One can edit this news-file either directly ingame or with any desired text-editor.
Download
Plugin
Jar File: dev.bukkit.org
Source: Included in .jar file
Tranlations
German: PasteBin
Configuration
In order to configure this Plugin, just simply drag & drop it into the plugins folder.
After the very first startup, it will create a file called news.txt in the root directory of your server (where your craftbukkit.jar sits).
Of course, the Plugin has Permission Support. The Nodes are as follows:
| With Permission Plugin | Without Permission Plugin | ||
| /news | newsletter.news | requires nothing | |
| /news set | newsletter.news.set | requires OP | |
| /news notify | newsletter.news.notify | requires OP | |
| /news reload | newsletter.news.reload | requires OP | |
| /news help | newsletter.news.help | requires nothing | |
| update notification | newsletter.news.set | requires OP | |
| %time% timestamp | requires nothing | requires nothing | |
| %date% timestamp | requires nothing | requires nothing | |
| %br% new line | requires nothing | requires nothing |
Planned Features / To-Do
none yet!
Changelog
Version 1.0.2:
~ Reduced file size. Massively.
~ Fixed stuff to ensure compatibility with Bukkit 1.3.1
Version 1.0.1:
+ added new line tag "%br%"
+ added possibility to toggle prefix
Version 1.0.0:
~ Cleaned up the code. Massively.
~ Fixed the regex-bug not liking $ in news.
Version 0.7.0:
+ Version listener. Players with the permission newsletter.news.set will get notified wether there are updates or not.
+ Timestamps. %date% to get the server's date, %time% to get the server's time. duh.
Version 0.6.0
Beta! woo!
+ added command to notify players manually.
Version 0.5.0:
First published Version
+ Added config.yml
+ Added possibility to translate the Plugin
+ Added german Translation
~ Changed the Prefix to be dynamic
~ BUGFIXESSSS
Version 0.4.0:
+ Added Permission support!
~ MOAR bugfixes
Version 0.3.0:
+ Added ingame editing method for news
+ Plugin now sends out a broadcast that the news were updated
~ Bugfixes
~ Tidyed the code
Version 0.2.0:
+ Addec Color Support!
Version 0.1.0:
Initial Release
+ One was able to get a news.txt read by the plugin
-
View User Profile
-
Send Message
Posted Mar 2, 2014there a way to make the newsletter show on player login by chance? Very cool plugin, btw!
-
View User Profile
-
Send Message
Posted Feb 25, 2013Hi, I am really enjoying this plugin, however one little frustration. It keeps saying the plugin is out of date and telling me to get a more updated version. I can't use the more updated version on my server and would really like it to stop saying this. I changed the files but it keeps coming back and doing it. How can I disable this please?
-
View User Profile
-
Send Message
Posted Nov 14, 2012Feature request: make it so that the reload command works from the console. It's a nuisance to have to login just to update the news. When I try from the console, it tells me
-
View User Profile
-
Send Message
Posted Oct 15, 2012No pics :(
Would the be possible: I have headlines displayed and if you click on it (like a link), it will show it to you in full. eg New server aveliable Rules have been changed Admins started a youtube series
And lets say i click 3rd one. Now this appears: The following Admins have started a new series on the server.....
I think it might be possible in YML (using 4 spaces after each headline on a new line...)
-
View User Profile
-
Send Message
Posted Sep 15, 2012@GumbyDammit
"Does it mean that users with that permission will be notified if there is an update to the Newsletter plugin?"
Exactly this is the case.
-
View User Profile
-
Send Message
Posted Sep 10, 2012"Version listener. Players with the permission newsletter.news.set will get notified wether there are updates or not."
Can anyone explain what this means? Does it mean that users with that permission will be notified if there is an update to the Newsletter plugin? Or does it mean that users with this permission will be notified if there is updated content in the newsletter itself?
-
View User Profile
-
Send Message
Posted Aug 13, 2012Hello! This would be great but if this is a possibility, could you post pictures, and tell us how it works, Like if it is an actual item that someone picks up or something else?
-
View User Profile
-
Send Message
Posted Jul 23, 2012@Ferrocane
woah... I dun did goofed, appearently. Gonna recompile ASAP.
-
View User Profile
-
Send Message
Posted Jul 7, 20124.1 MB? What. No. I... no. Wtf?
-
View User Profile
-
Send Message
Posted Jul 7, 2012@Melonking I am also getting this problem.
XepherX, I have made a ticket for you :)
-
View User Profile
-
Send Message
Posted May 27, 2012@TTlabambaTT
hi! Done as requested! but please file a ticket suggesting new features :)
-
View User Profile
-
Send Message
Posted May 24, 2012I would love to see the ability to start a new line when I go to the next line in the config because at the moment it all looks messed up. Also the ability to not add text next to the "[NEWSLETTER]" and have that on the top line. Hope you can get this done because there just aren't any good simple news plugins. (I need this to add links to websites that give people info about various plugins I am using)
-
View User Profile
-
Send Message
Posted May 16, 2012pic?
-
View User Profile
-
Send Message
Posted May 5, 2012Love it but im getting an odd bug, I changed some of the colors and formatting of the prefix in settings, but now it shows up as ?8[?cNews?8]?f: every time. Even If I totally revert it to default and then reload, it still shoes as white with all the ?'s
-
View User Profile
-
Send Message
Posted Apr 16, 2012@Laurenz77
Thank you kindly for showing your support!
-
View User Profile
-
Send Message
Posted Apr 15, 2012Awesome plugin! But please put in a newline command! Thx - also for the german translation :D Continue your hard work, Laurenz77
-
View User Profile
-
Send Message
Posted Mar 4, 2012@Avous
Thank you very much for your support! I will, as soon as I have enough time, implement your awesome features! I opened a ticket with your suggestions in order to not forget them.
Thanks again!
-
View User Profile
-
Send Message
Posted Feb 24, 2012I'd personally love this plugin but I have a few requests, can you make a Breaking News type thing where when we enter it every hour or two it sends a server broadcast
other than that, can you add a date and time option(I prefer a changable 12/24 hour mode) so when you type like /setnews %time %date The Server has installed Newsletter. it shows up as
10:39AM 2/24/2012: The Server has installed Newsletter.(new line here) 04:52PM 2/21/2012: Haven has opened its Monorail for Business(new line here) [Previous entry here](new line here) [Previous entry here](new line here) [Continued...]
and for breaking news it would be like...
/Bnews %time %date The Server will be brought down for Scheduled Maintenance at Noon for Ten Minutes!
then of course it would show up every hour
-
View User Profile
-
Send Message
Posted Feb 11, 2012@TheWebNinja
First of all: Thank you for showing your support! Now to the questions:
Would you like an ingame possibility to add line breaks?
-
View User Profile
-
Send Message
Posted Feb 9, 2012This is a great plugin! Very light weight and exactly what I need. Question though...does it support color and how to you make line breaks?