Project Zomboid

Project Zomboid

121 ratings
SSR: Newsboard
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
145.395 KB
23 Oct, 2017 @ 9:54am
30 Aug, 2023 @ 1:52am
25 Change Notes ( view )

Subscribe to download
SSR: Newsboard

In 1 collection by Oneline
SpiffoSpace Russia
5 items
Description
This mod implements newsboard with real-time updates

Tested on Build 41.78

Client-side installation:
1) Subscribe
2) Enjoy

Server-side installation:
Step 1: Java mod (optional)
Install of java mod is required for new server command to work.

Download the latest version of java mod[drive.google.com] and unpack the archive to pzserver.
If your server is running on Windows, open the batch file you use to launch it and replace zombie.network.GameServer with zombie.SSROverride.
If your server is running on Linux, use start-server-jm.sh script to launch it.

forceTab command allows users with access level of observer and above to show other player a specific tab of news panel and lock close button for N seconds.
/forcetab "username" tab_id time
If time is not specified, close button will be locked for 10 seconds.
If player is surrounded by zombies, panel won't show up.

Step 2: Configuration
After installing mod to your server, launch it and go to Zomboid\Lua\NFO directory. A config file named config.ini will be generated with the following parameters:
showPanelOnEveryLogin=false // if false panel show up only if player hasn't seen the latest version of the document checkSafetyWithinSquares=0 // prevents panel appearing if zombies detected in X squares from player lockPanelForSeconds=0 // if greater than 0, close button will be locked for X seconds on update

After you're done changing settings, restart the server and login into the game. Upon joining you'll see a panel with demo layout from default.txt.
Refer to the syntax below in order to edit and fill in the document.
To send players an update change the number at <VERSION: 1.0> and save the text file.
To create a separate layout for specific language make a copy of default.txt with the name X.txt, where X is a language code (e.g. en, fr, es, ko, ru, etc).

Syntax:
<PAGE> - Splits pages <LINE> - Defines new line <H1> - Defines the most important heading <H2> - Defines the most least important heading <CENTRE> - Specifies the alignment to centre <LEFT> - Specifies the alignment to left side <RIGHT> - Specifies the alignment to right side <LINK:X> (url without protocol) - Creates a button to copy text with one click <SIZE:X> (small/medium/large) - Specifies text size <IMAGE:X> - (path to file) - Represents an image <IMAGECENTRE:> - Represents an image in centre <RGB:1.0,1.0,1.0> (0.0-1.0) - Specifies text color using RGB values <HEX:X> (000000-ffffff) - Specifies text color using HEX values <RED> - Specifies red text color <GREEN> - Specifies green text color <BLUE> - Specifies blue text color <ORANGE> - Specifies orange text color
Note: images must be placed into media/ui folder of your own mod.



Join my discord server for updates and support:
[discord.gg]

If you like my mods, please, consider donating.
Even $1 is highly appreciated and shows that you care.
[boosty.to]
[www.blockchain.com]

Redistribution of this mod without explicit permission from the original creator is prohibited under any circumstances. This includes, but not limited to, uploading this mod to the Steam Workshop or any other site, distribution as part of another mod or modpack, distribution of modified versions. The product can be published on Steam only through an account with the name Oneline.

© 2017-2023 Oneline
[theindiestone.com]

Workshop ID: 1178773471
Mod ID: ssr-news
Popular Discussions View All (1)
7
10 Aug, 2024 @ 10:45pm
Bug Reports
Oneline
106 Comments
Oneline  [author] 30 May @ 5:38am 
@Rick Grimes не раньше, чем вернут мультиплеер.
Rick Grimes 29 May @ 9:12am 
будет в 42?
Stray 26 Sep, 2024 @ 4:07am 
No worries. Thanks anyways.
Oneline  [author] 25 Sep, 2024 @ 11:08pm 
@Stray sorry, but no. I don't allow repacking/reuploading my mods.
Stray 25 Sep, 2024 @ 1:18am 
Hi @Oneline, great mod to have. Can I add this to my modpack? Thank you.
S4ro 6 Sep, 2024 @ 8:06am 
it's clear now ty XD
Oneline  [author] 6 Sep, 2024 @ 7:54am 
@S4ro you must close each page with <PAGE> tag, even if you only have one page.
S4ro 6 Sep, 2024 @ 6:50am 
got the problem, i had to close the pages with PAGE and the end
Oneline  [author] 5 Apr, 2024 @ 11:16pm 
no, either your image is corrupted or you did something wrong. Make sure it's real png, not renamed jpeg.
S4ro 5 Apr, 2024 @ 9:47pm 
my result is an empty page, the resolution is 700x700 is it too big?