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.
NIDTOOLBOX' DOWNLOAD LOCATION CHANGED TO -> https://eco.mod.io <-
! UP TO DATE DOCUMENTATION ONLY UNDER THE ABOVE ADDRESS !
I had to limit the amout of places I need to update the texts whenever I add or remove commands and update individual modules, sorry!
Timed Messages
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 timed messages that trigger either at a specific hour or every X minutes ⏰
Support is provided as well as suggestions are accepted on my Discord here
Timed Messages module allows:
- Easy creation, sending and display of messages that are based on specific timer.
- Your messages can follow set time zone of your choosing, see nid-core module to see how to set own time zone.
- Module can store multiple messages, which can all have their own timers.
- Two types of timed messages available: Timer Messages - triggering every X minutes and Scheduled Messages - triggering at specific hour.
- Messages accept all the formatting options and colors.
- Messages can be displayed in game chat as well as in a PopUp window.
- Configuration easily viewable in an "at-glance" window.
(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-timedmessages.dll to Mods\NidToolbox\Modules
Settings files:
Config files are located at:
- Configs\Mods\NidToolbox\TimedMessages.json - contains module settings.
Configuration:
Module operates on 24 hour clock. 5 pm is 17:00, 5 am is 5:00
Timed Messages are created and configured via usage of in game commands.
After creation basic message, it is possible to edit it's full text in a configuration file, allowing for easier adding of formatting tags.
Module contains example messages that are created and activated at the plugin first load. These can be viewed for some example usage.
There are currently two timed messages types:
- Timer Message - this message will trigger every X minutes, for example "Stay hydrated reminder" that will trigger every 30 minutes in game.
- Scheduled Message - this message will trigger at a specific hour, for example "Restart Announcement 30 min to reboot" will trigger at 5:30 every day.
Adding new message is as simple as issuing /timer-add or /sched-add and specifying the details. For more information, check the available commands.
MANUAL CONFIG EDITS: When editing config file by hand, be careful when changing the hour and minutes attribute of the scheduled messages. Avoid leading zeros ,as the automatic config loader does not like these.
Your file will be checked when reloaded in game.
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.
All of the data is read directly from the server, from already available sources, with the exception to USERSPEAKONLINE and USERSPEAKONLINEDATE these two are counted from the moment of installing NidToolbox and can be set manually via respective commands.
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).
{{USERSPEAKONLINE}} // most users online (integer)
{{USERSPEAKONLINEDATE}} // when the online peak users occurred (string) i.e. 12-May-2024 16:24
{{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).
Display More
Common commands:
/timer-reload
Reloads settings of the module. Useful if you have edited the config file manually. Will check if the file is correct, before loading it into the server.
/timer-log
Enables or disables logging to log file.
/timer-log bool trueFalse
/timer-log true/false
/timer-console
Enables or disables reporting in the console.
/timer-console bool trueFalse
/timer-console true/false
Timer Messages commands:
/help Timer
Displays information about all commands related to Timer Messages.
/timer-Enable
Enables or disables timer messages.
/timer-Enable bool trueFalse
/timer-enable true/false
/timer-ShowMsg
Displays message configuration in a separate window.
/timer-ShowMsg string title
/timer-ShowMsg messageTitle
/timer-list
Lists all timer messages.
/timer-List
/timer-list
/timer-Add
Adds new timer message. Timer must be given in minutes
/timer-Add string title, string msgText, float timer, bool showAsPopUp
/timer-add My New Timer Message, <color=yellow>Some nice text</color>, 20, false
/timer-Del
Deletes timer Message.
/timer-Del string title
/timer-Del messageTitle
/timer-Minutes
Changes the default timer of the message. This will change the default timer for the message, it will take effect once the current timer has elapsed.
/timer-Minutes string title, float minutes
/timer-Minutes messageTitle, 20
/timer-Running
Changes the running timer of the timer message. This will alter the timer that message is currently under. Has no effect on the default timer.
/timer-Running string title, float minutes
/timer-Running messageTitle, 20
/timer-PopUp
Changes the show as PopUp window attribute of the message.
/timer-PopUp string title, bool true/False
/timer-PopUp messageTitle, false
/timer-Rename
Changes the title of the message.
/timer-Rename string title, string newTitle
/timer-Rename oldTitle, newTitle
/timer-Text
Changes the text of the message.
/timer-Text string title, string newText
/timer-Rename title, newText
/timer-Active
Activates or Deactivates the chosen timer message. Allows to disable the specific message, without disabling the whole module.
/timer-Active string title, bool true/False
/timer-Active messageTitle, true
Scheduled Messages commands:
/help Sched
Displays information about all commands related to Scheduled Messages.
/sched-Enable
Enables or disables scheduled messages.
/sched-Enable bool trueFalse
/sched-enable true/false
/sched-ShowMsg
Displays message configuration in a separate window.
/sched-ShowMsg string title
/sched-ShowMsg messageTitle
/sched-list
Lists all scheduled messages.
/sched-List
/sched-list
/sched-Add
Adds new scheduled message.
/sched-Add string title, string msgText, int hour, int minutes, bool showAsPopUp
For example: Message that is supposed to be shown at 14:02:
/sched-add My New Scheduled Message, <color=yellow>Some nice text</color>, 14, 02, false
/sched-Del
Deletes scheduled Message.
/sched-Del string title
/sched-Del messageTitle
/sched-Time
Changes the time at which scheduled message will trigger.
/sched-Time string title, int hour, int minutes
/sched-Time messageTitle, 14, 02
/sched-PopUp
Changes the show as PopUp window attribute of the message.
/sched-PopUp string title, bool true/False
/sched-PopUp messageTitle, false
/sched-Rename
Changes the title of the message.
/sched-Rename string title, string newTitle
/sched-Rename oldTitle, newTitle
/sched-Text
Changes the text of the message.
/sched-Text string title, string newText
/sched-Rename title, newText
/sched-Active
Activates or Deactivates the chosen timer message. Allows to disable the specific message, without disabling the whole module.
/sched-Active string title, bool true/False
/sched-Active messageTitle, true
-
Version none
-
nid -
May 4, 2024 at 12:16 PM -
106 Byte -
344 Downloads
Main mod page changed
-
-
Version 1.10.2
-
nid -
April 13, 2024 at 3:26 PM -
15.98 kB -
572 Downloads
Added text tokens support.
-
-
Version 1.10.1
-
nid -
December 27, 2023 at 5:21 PM -
15.86 kB -
803 Downloads
Timed Messages: 1.10.1
CodeFixed /timer-enable command not being registered at all in command handler. Fixed /sched-enable reporting that the list is empty, despite it having valid elements.
-
-
Version 1.10.0
-
nid -
December 17, 2023 at 12:56 PM -
15.85 kB -
772 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 -
May 8, 2023 at 3:01 AM -
15.85 kB -
498 Downloads
Fixed bug happening when several timed messages have exact same title.
-
-
Version 1.7.2
-
nid -
March 22, 2023 at 2:51 AM -
14.94 kB -
664 Downloads
* Updates both modules to take advantage of newly added time zone settings to nid-Core.
+ Requires nid-Core 1.7.6!
* IMPORTANT: Requires EM-Framework 3.4.5+
-
-
Version 1.7.1
-
nid -
December 21, 2022 at 12:05 PM -
16.12 kB -
517 Downloads
* Updated project to net7.
-
-
Version 1.7.0
-
nid -
November 23, 2022 at 9:10 PM -
15.94 kB -
512 Downloads
Compatibility with Eco 9.7
-
-
Version 1.6.0
-
nid -
August 31, 2022 at 11:31 PM -
16.87 kB -
561 Downloads
* Updated module to Eco version 9.6.0
* Updated to net6.
* REQUIRES: EM-Framework 3.3.0-beta2 or higher
-
-
Version 1.5.1
-
nid -
June 3, 2022 at 12:46 PM -
16.33 kB -
567 Downloads
* Added magic glue to code, needed due to changes in nid-Core INidSchedulable interface.
* Requires nid-Core 1.5.5
* REQUIRES: EM-Framework 3.2 or higher
-