Newspaper
Newspaper is the plugin to use to get information around your server as quickly as possible.
- Download Released Builds
- Plugin Statistics
- Report Bugs/Suggest Features
- Using the Newspaper API
- Support Us!
- Github Page
- Make a Donation
Information
Newspaper is used to help notify users on your server about what is currently going on. You can edit the newspaper accordingly, going with what is happing on your server. For example, you could say 'Vote for our server at [link]' or 'New PvP server has been released!', then the majority of the players on your server would know about all of these events, just by reading the newspaper.
Installing the plugin itself is easy. Just drag the .jar file that you downloaded into your server's plugins folder, and do the same with any addons. Once it's installed, you can start up the server, and use all of the features as you would with any other plugin.
Permissions/Commands
- newspaper.admin: Access to all admin actions, such as creating a [News] sign
- /news | /newspaper: Base command for newspaper
- /news [book|map]: Get the newspaper in the form of a book or a map
- /news [reload]: Reload the newspaper config file
Features
- Type /news to get the newspaper, in the form of a book or a map!
- Create a [News] or [Newspaper] sign to get the news with!
- Charge money to buy the newspaper
- Easily spread the word about important information
- More coming soon!
To-do List
- SQL support to view news on your website
- Color support for maps
- Message on join
- Custom newspapers in separate .txt files
Written out newspapers on maps (not sure if i still should)Improve color systemSoft-depend on Vault
Known Bugs
- Restarting the server resets all newspaper maps
Creating a Newspaper
Maps
You will need to go into the map.txt file, and edit it accordingly. You may need to mess around a bit, otherwise the map cuts off the text. That's why it's recommended to start new lines often so that everything shows up on your newspaper. Keep in mind that color symbols aren't currently supported on maps.
Books
With books, it's easy enough. Edit the news.txt file accordingly, and if you need to start a new page, insert '=== NEW PAGE ===' on it's own line. Color symbols are supported for books, any '&' symbols you make in that file will show up as colors in the newspaper.
Please!!update to 1.7.2
Are you going to update for 1.7.9 any time soon?
@saxons12
try Editing it with Notepad++
Better than Notepad
how to make a newspaper map? like:
/news map
??
I have edited the news.txt but when I type /news I get and empty book. Why is this happening?
@ursak
Yeah, as of now, you will need to order a new newspaper map after the server is restarted.
"Restarting the server resets all newspaper maps"
My server does a rscheduled restart once every 24h. Does this mean that if I use maps as newspaper I'll not have any news to read after the restart?
@bobbshields
Update your server computer to java seven.
Hello, this plugin sounds very nice but is not working on my server. My server is running git-Bukkit-1.4.7-R1.0-94-g141dcf0-b2735jnks (MC: 1.5.1) (Implementing API version 1.5.1-R0.1
And here is the console output at load:
11:51:59 [SEVERE] Could not load 'plugins/Newspaper.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/KeybordPiano459/Newspaper/Newspaper : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.java:239)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:217)
at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:55)
at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11)
at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:105)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:379)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.UnsupportedClassVersionError: me/KeybordPiano459/Newspaper/Newspaper : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173)
... 9 more
@ExstoCraft
Did you set the newspaper's contents?...
for some reason its coming up blank when players buy the newspaper?
@RifFox
That wouldn't be a bad idea, I just added it to the changelog :)
Hello!
Is it possible to add more newspapers? something like typing /news gives player a book with default text (from news.txt), and /news {name} gives a book filled with text from {name}.txt
Thanks for a great plugin!
@elnawe
Lol, do you have a stack trace or the console log or anything? It's been working for me.
@x_clucky
That isn't the purpose of this plugin really, I'm probably not going to add it.
Hi, I have a report. My server says this: "The UpdateChecker URL is invalid! Please let KeyboardPiano459 know!"
Now, you know :)
EDIT By the way, nice plugin!
Is it possible to make this plugin hook into a twitter feed? Because that would just be simply amazing!
@MiachBiatch
The thing about that is that with the command, you can only set the newspaper to one line. I'm going to try to come up with a more sophisticated way than with a command, and I have one in mind.
Oh, and is it possible to be able to edit the news.txt file command-wise, so I can give a permission node to my admins so Im not the only one able to change the newspaper?
Cheers
@MiachBiatch
Thanks :)
@KeybordPiano459
Excellent, I look forward to it!
And thanks for the quick reply, you do a good job!