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!
Server Rules Module
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.
This module enables sever owner to enable and enforce set of Server Rules. Certain actions of the players can be restricted, until they have accepted the Server ruleset.
Support is provided as well as suggestions are accepted on my Discord here
Server Rules module offers:
- Prevent player actions as: mining, digging, loitering, tree chopping until they have accepted server rules.
- Module has own AuthProvider, which means it does not mess or interfere with Server's established laws or demographic systems and allows for module to have more granular control on what players can and cannot do.
- Provides means for the admins to help protect the server from players, who log just for short time and create mess on the server.
- Ability to customise Rules popup - it supports all standard Eco's formatting- such as: <b> <color=yellow> <u> or icons.
- Ability to customise confirmation button that displays the required info to the player, prior to the rules acceptance.
- Ability to customise deny message that appears when player who did not accept server rules, tries to execute denied action.
- Ability to customise notification being sent to players when they join the server.
- Easy reloads, without the need of a server restart.
- Configuration of the plugin can be displayed at any time, without the need to dig into the files themselves.
- Possibility to require a password for the Rules acceptance, that can be hidden somewhere within Rules text. It helps assure that players actually read the popup
- Ability to easily display players, who have not accepted the rules yet.
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
Future plans:
- This module will be extended in the future to allow the ability to prevent or limit certain actions for exact amount of time , issue temporary bans and such.
Requirements:
As any module of NidToolbox set, it requires nid-core version 1.0.1+ module, available in the main forum thread: here
How to install:
- Unpack .zip archive
- Copy nid-rules.dll to Mods\NidToolbox\Modules
Settings files:
Config files are located at Configs\Mods\NidToolbox\
ServerRules.json - stores configuration options of the plugin.
Rules.txt - stores text for the Rules popup. Supports standard Eco's formatting tags .i.e <b> <u> <color> or even icons.
RulesConfirmMessage.txt - stores the text for the Confirmation Button (see below) that displays the final conformation message to the player, prior for them accepting the rules. The lookout of this button can be tested via /rules-showbutton command. Button text also supports standard Eco's formatting tags .i.e <b> <u> <color> or even icons.
RulesDenyMessge.txt - stores the text for the Action Denied Message (see below) that displays when user that have not accepted server rules, tries to execute forbidden action. The lookout of this message can be tested via /rules-testdeny command. Supports standard Eco's formatting tags .i.e <b> <u> <color> or even icons.
RulesNotification.txt - stores the text for the Notification Message (see below) which is sent as mail (bell notification) to the user when they join the server. The lookout of this message can be tested via /rules-testNotifycommand. Supports standard Eco's formatting tags .i.e <b> <u> <color> or even icons.
All config files are created upon first start of the plugin.
See below for examples.
Rules.json
{
"Info1": "NidToolbox Light: Rules settings.",
"RulesEnabled": true,
"PreventClaiming": false,
"AllowStarterCamp": true,
"PreventChopping": false,
"PreventMining": false,
"PreventLittering": false,
"PasswordEnabled": false,
"Password": "someSecretPassword",
"InformEveryone": true,
"RulesWindowTitle": "Server Rules"
}
Display More
RulesEnabled sets the module enabled or disabled, can be set in game via /rules-enable command.
InformEveryone toggles the message to be sent to everyone on the server, when someone accepts the rules.
PreventClaiming prevents claiming action until player accepted server rules, can be toggled in game via /rules-prevent claiming with bool true or false.
AllowStarterCamp allows placing starting camp for new players, even if server prevents claiming land until rules acceptance.
PreventChopping prevents tree chopping action until player accepted server rules, can be toggled in game via /rules-prevent chopping with bool true or false.
PreventMining prevents mining action until player accepted server rules (this also includes digging action), can be toggled in game via /rules-prevent mining with bool true or false.
PreventLittering prevents dropping trash action until player accepted server rules, can be toggled in game via /rules-prevent littering with bool true or false.
PasswordEnabled sets password requirement to true or false, can be toggled in game via /rules-requirepass with bool true or false.
Password sets the actual password, can be changed in game via /rules-password.
RulesWindowTitle sets the title of the rules window.[/tt].
See below for the list of all available commands in this module with their example usage.
Rules.txt
<color=green><b>Server Rules</b></color>
1.
2.
3.
4.
Have fun!
<i>Server admins</i>
RulesConfirmMessage.txt, affects this button in game: (click to see the image)
RulesDenyMessage.txt, affects this message in game: (click to see the image)
RulesNotification.txt, affects this message in game: (click to see the image)
Example screenshots:
Available commands:
/help nidRules
Displays information about all commands contained within this module.
/rules-reload
Reloads Rules message from the Rules.txt file.
/nidrules-reload
/rules-reload
/rules-show
Shows current Rules popup.
/rules-show
/rules-show
/rules-enable
Sets the whole module to enabled or disabled state
/rules-enable bool trueFalse
/rules-enable trueFalse
/rules-prevent
Prevents set action from being used by player until they accept the rules. Accepts the following options as actionName claiming chopping littering mining
/rules-prevent string actionName bool true or false
/rules-prevent actionName, trueFalse
/rules-not
Displays the set of players who have not accepted the server ruleset yet.
/rules-not
/rules-not
/rules-requirepass
Sets the password requirement for rules acceptance.
/rules-requirepass-title bool trueFalse
/rules-requirepass trueFalse
/rules-password
Sets the actual password.
/rules-password string password
/rules-password password
/rules-WindowTitle
Sets the window title for Server Rules pop-up.
/rules-WindowTitle string title
/rules-WindowTitle title
/rules-showconfig
Shows the current configuration of the module
/rules-showconfig
/rules-showconfig
/rules-showbutton
Shows confirmation button to test how it looks. Clicking yes or no has no effect, as this is just a test.
/rules-showbutton
/rules-showbutton
/rules-testDeny
Shows deny message to test how it looks.
/rules-testDeny
/rules-testDeny
/rules-testNotify
Sends user a notification to test how it looks.
/rules-testNotify
/rules-testNotify
/rules-accept
Allows to accept server rules, triggers confirmation button to appear for the accepting player.
/rules-accept string password (it is optional)
/rules-accept password
-
Version none
-
nid -
May 4, 2024 at 12:17 PM -
106 Byte -
151 Downloads
Main mod page changed
-
-
Version 1.10.3
-
nid -
April 13, 2024 at 3:26 PM -
16.45 kB -
278 Downloads
Added text tokens support.
-
-
Version 1.10.2
-
nid -
April 8, 2024 at 3:14 PM -
16.39 kB -
310 Downloads
Updates module with the changes brought by Eco 10.2.
-
-
Version 1.10.1
-
nid -
December 22, 2023 at 8:53 PM -
16.37 kB -
452 Downloads
nid-Rules:
InformEveryone property will be set to false on new configs, to avoild sending info on rules acceptance to all server users by default. Admins can still enable it if they want.
InformEveryone will post to feed only without triggering the popup. -
-
Version 1.10.0
-
nid -
December 17, 2023 at 12:58 PM -
16.24 kB -
455 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.4
-
nid -
June 28, 2023 at 7:06 PM -
15.96 kB -
337 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.3
-
nid -
June 27, 2023 at 9:38 AM -
15.56 kB -
213 Downloads
Fixes wrong command mentioned in RulesConfirmMessage.txt file.
Your configs will be updated automatically if you are using the default message.
-
-
Version 1.7.2
-
nid -
June 17, 2023 at 1:44 PM -
15.12 kB -
207 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 -
December 21, 2022 at 12:05 PM -
15.67 kB -
246 Downloads
* Updated project to net7.
-
-
Version 1.6.0
-
nid -
August 31, 2022 at 11:29 PM -
16.55 kB -
299 Downloads
* Updated Auth Provider to changes in Eco 9.6.
* Updated module to Eco version 9.6.0
* Updated to net6.
* REQUIRES: EM-Framework 3.3.0-beta2 or higher
-