As long as a user does not have at least one reviewed and activated contribution, the user is unable to edit his profile, set a avatar, title picture or a signature.
Server News
for NidToolbox Light
requries nid-core module available here
NEW - if you would like to have your server logo appear in the notifications area in messages that come from NidToolbox. Please join my Discord https://discord.nidaren.net/ and post them in #server-logos channel.
Create displayable Server News, containing most recent updates to your server.
Support is provided as well as suggestions are accepted on my Discord here
Server News module allows:
- This simple module allows server admins to list recent Server News on date-by-date basis.
- News can be then displayed by the players in a pop-up window in game via a command.
- It is possible to set the module to display the news automatically on login, and with set delay. For instant display, set delay to 1.
- Module can be reloaded at any time, without the need of a server restart. Both message and configs are then loaded from the files.
- Module is fully customizable, indcluding colors, formatting and font size.
- Title of the window can be set as well, it accepts all currently available in game colors and formatting.
- It is possible to set everything via the in-game commands but, for best results: edit both News Message and config file in the text editor, for the ease of use of all the available formatting tags.
(click to enlarge)
Requirements:
As any module of NidToolbox set, it requires nid-core version 1.0.3+ module, available in the main forum thread: here
How to install:
- Unpack .zip archive
- Copy nid-news.dll to Mods\NidToolbox\Modules
Settings files:
Config files are located at:
- Configs\Mods\NidToolbox\ServerNews.json - contains module settings.
- Configs\Mods\NidToolbox\NewsMessage.txt - contains news message.
ServerNews.json:
{
"Info1": "NidToolbox Light: Server Changelog settings.",
"WindowTitle": "<color=#add8e6><i>MyServer</i>™</color> <color=yellow>Server News</color>"
"ShowOnLogin": true,
"DisplayDelay": 1
}
ShowOnLogin - when true, Server News are displayed when player logs in.
WindowTitle - allows setting title for the window, accepts all kinds of formatting.
DisplayDelay - when ShowOnLogin is set to true, news will be displayed after the delay timer has elapsed.
IMPORTANT: Delay timer starts when the log in request is handed to the server NOT when the player appears in the world, so account additional 6-10 seconds for the word load.
NewsMessage.txt
Zitat<size=38><color=green>Server News for</color> {{USER}}</size>
<i><size=38><color=green>16-May</i></color></size><size=38><color=orange> <i>8:55</i></color><color=#ffffcc> <i><u>General Server Update</u></size></color></i>
<b>*</b> This is an <color=yellow>example changelog</color> note for your server;
<b>*</b> This message is best edited <color=yellow><i>directly from the file</i></color>.
<b>*</b> Added <i>Beautification</i> Mod;
<b>*</b> Removed <color=green>outstanding rubble</color>;
<i><size=38><color=green>7-May</i></color></size><size=38><color=orange> <i>8:55</i></color><color=#ffffcc> <i><u>Fresh Start</u></size></color></i><b>*</b> Server has been wiped. Welcome to the new Adventure!
Text Tokens
Modules that use textual files or send data, can now take advantage of the text tokens.
These allow for message customization and a way to provide current server data.
Text of Hello, {{USER}} will replaced with the current viewing user intercatable name.
//User related
{{USER}} // returns interactable player name (string).
{{USERWITHTAGS}} // returns interactable player name with their server roles (string). NOTE: This respects showInUI setting for ChatTags!
//Admins and active users
{{USERSACTIVE}} // players in Active demographic (integer).
{{USERSPEAKACTIVE}} // most the Active demographic ever had (integer).
{{ADMINSONLINE}} // admins online currently (integer).
{{USERSONLINE}} // users online currently (integer).
//Age related
{{WORLDAGE}} // how long was the world up in format XX days and YY hours (string).
//Sea levels
{{SEARISENTOTAL}} // total change in sea level in meters (integer).
{{SEARISENTODAY}} // change in sea level in last 24 hours in meters (integer).
//CO2 levels
{{CO2RISENTOTAL}} // total change in CO2 levels in PPM (integer).
{{CO2RISENTODAY}} // change in CO2 emissions in last 24 hours in PPM (integer).
{{CO2LIFETIMEPOLLUTION}} // change in CO2 emissions in total only from pollution emitters in PPM (integer).
{{CO2LIFETIMEANIMALS}} // change in CO2 emissions from animals in PPM (integer).
{{CO2LIFETIMEPLANTS}} // CO2 removed by plants in PPM (integer).
{{CO2TOTAL}} // Total CO2 present (integer).
//Temperature
{{TEMPRISENTOTAL}} // total change in temperature levels in degrees of units that server follows. (integer).
{{TEMPRISENTODAY}} // change in temperature in last 24 hours in degrees of units that server follows (integer).
{{TEMPAVERAGE}} // average global temperature in degrees of units that server follows (integer).
//Ground pollution
{{GROUNDLIFETIMEPLLUTION}} // total change in ground pollution levels in PPM (integer).
Alles anzeigen
Available commands:
/help News
Displays information about all commands contained within this module.
/news-show
Displays current server news.
/news-show
/news-show
/news-titleset
Set Server News window title.
/news-titleset string title
/news-titleset titleString
/news-reload
Reload Server News message and settings from config files.
/news-reload
/news-reload
/news-onlogin
Enable or Disable on Login News window popup.
/news-onlogin bool trueFalse
/news-onlogin true/false
/news-delay
Set News on Login display delay.
/news-delay int seconds
/news-delay 20
-
Version 1.10.1
-
nid -
13. April 2024 um 15:26 -
7,87 kB -
2 Downloads
Added text tokens support.
-
-
Version 1.10.0
-
nid -
17. Dezember 2023 um 12:57 -
7,8 kB -
131 Downloads
Patchnotes:
Major changes are listed below.
Core module:
* Added required server version checker to prevent running pre-release/newer builds on unsupported server.
* Member class can now be used in hash tables properly.
* Added display version information property to feedback on host operating system. (ie. 22H2 etc).
* Added more detailed information on branch of pre-release used on updater feedback in console.
Clean Server Module:
* Added option to preserve stumps on cleanup.
* Added more detailed breakdown to /debris-report.
* /clear-FallenTrees command now has optional argument to remove stumps, default to false.
* Fixed issue where changing the timer on periodic cleanups would also turn them on.
Chat Tags module:
* ChatTags Config files will now preserve sorting. This is useful for people who use any kind of version control for their configuration files.
* Changed ChatTag to record type and made ChatTag usable in hash tables.
* Logic for commands relating to tags, where they add, remove or modify tag properties has been chaged taking into account changes to ChatTag class.
* Command tag-show has been updated to list members properly when config file contains users from older server saves that no longer exist in the current session.
* Fixed Reputation Title and Title Occupants strings not updating due to changes in tooltips properties.
* Added a way to validate members of the tag in situations where their SlgId or SteamId gets updated or added. Thx MonzUn for reporting!
MOTD module:
* MOTD window changed to new type that has a scroller and does not cut text and has a button.
* Option added in config to add button text.
Rules module:
* Updated AuthProvider to the newest version.
Timed Messages:
* All applicable timers now use PeriodicTimer.
Player Manager module:
* Added commands to manage vehicles.
* Video will be available that shows the usage of new vehicle commands in practice.
* Added new command /player-rl - reloads module configuration from the file and validates it.
* Added new command /car-List - lists player's vehicles. Provides links that copy full, usable commands ready to paste into chat window.
* Added new command /car-TpToUsr - teleports vehicle to player.
* Added new command /car-MyCars - lists only the command issuing player's vehicles.
* Added new command /car-Rez - resurects and teleports player's vehicle to their position. Use ready commands from /car-MyCars. Subject to cooldown if enabled.
* Added new command /car-Cd - shows user's cooldown on /car-Rez command.
* Added new command /car-EnableRez - enables /car-Rez command on server.
* Added new command /car-SetCd - sets /car-Rez command cooldown.
* In next updates I will expand these commands by tp to location, consume calories cost etc.
* Changed command /on to /online as the name colided with newly added command in vanilla server, causing crash on startup.
General:
* Updated all modules to changes in newest Eco 10 release.
-
-
Version 1.7.3
-
nid -
28. Juni 2023 um 19:05 -
7,81 kB -
117 Downloads
Fixes a bug with notifications and messages being shown by various modules, where some of them would be ignored.
Migrated all remaining on login events and notifications to the new system.
Thanks for reporting the bug @Enel
-
-
Version 1.7.2
-
nid -
17. Juni 2023 um 13:41 -
7,17 kB -
104 Downloads
Update to timers and changes made in nid-core 1.7.10.
Updates to code for the upcoming Eco 10.
Requires nid-core 1.7.10.
-
-
Version 1.7.1
-
nid -
21. Dezember 2022 um 12:04 -
7,77 kB -
100 Downloads
* Updated project to net7.
-
-
Version 1.7.0
-
nid -
23. November 2022 um 21:11 -
7,62 kB -
108 Downloads
Compatibility with Eco 9.7
-
-
Version 1.6.0
-
nid -
31. August 2022 um 23:25 -
8,23 kB -
121 Downloads
* Updated module to Eco version 9.6.0
* Updated to net6.
* REQUIRES: EM-Framework 3.3.0-beta2 or higher
-
-
Version 1.5.0
-
nid -
30. April 2022 um 00:07 -
8,05 kB -
136 Downloads
* (RC.3) Module output filename updated to match namespace.
* Module updated to Eco 9.5.0
* REQUIRES: EM-Framework 3.2.0-RC.3 or higher.
-
-
Version 1.1.2
-
nid -
4. September 2021 um 07:23 -
8,15 kB -
192 Downloads
Version 1.1.2
- Compatibility patch with EM Framework 3.1.0
- Requires EM Framework 3.1.0
-
-
Version 1.1
-
nid -
24. August 2021 um 13:37 -
8,15 kB -
189 Downloads
Version 1.1
- Migrated project to Net5.
- Compatibility patch with Eco version 9.4
- Implemented DisplayDelay option in settings. Default 30 seconds. This is to ensure that news popup does not overwrite MOTD info when used in conjunction.
-