NidToolbox Server Tools: MOTD, Moderators, permission levels, announcements

8.3.X NidToolbox Server Tools: MOTD, Moderators, permission levels, announcements 1.8.2

No permission to download
Thanks to @hami and @Praefator
  • restored deed ownership change command under new name nid-ChangeDeedOwner - command allows to alter the whole deed ownership. The deed is determined from the plot the issuing player stands on.
Thanks for @hami for reporting the issues!

  • nid-ClaimPlot will now look for existing deeds and attach claimed plots to them;
  • Fixed window description for nid-PerDemographic as well as added line breaks for demographics with many members.
  • Added Preventable Actions and Temporary Bans Module - allows server admins to issue bans for specific actions, on specific players for set amount of time. Currently preventable actions include: Temporary Server Login Ban, Chopping Ban, Mining Ban, Claiming Land Ban, Chat Mute. More preventables will be added in the upcoming updates.
  • Added Server Cleanup and Maintenance category commands: ability to remove tree debris, stumps and mining rubble leftovers
  • Added following commands (use nid-Help in game for full list with categories!):
    • nid-DebrisReport - Generates report on tree debris, stumps and mining leftovers currently present on the Server. This command make take a few seconds if it wasn't run since the server has started.
    • nid-ClearTreeDebris - it will remove tree debris, stumps and fallen trees from the server. It has one minute cooldown.
    • nid-ClearRubble - it will remove mining rubble leftovers from the server. Game considers mining leftotover as a rubble if it wasn't picked up and placed on the ground. Placed rubble objects ARE not rubble in the game terms.
    • nid-PerDemographic - lists users on per demographic basis. Added this as there was no easy way to view this info in game.
    • nid-PreventChopping - accepts User targetUser, integer hours, integer minutes. It will prevent indicated user from chopping trees for the specified amount of time.
    • nid-PreventMining - syntax as above, prevents mining action.
    • nid-PreventClaiming - same syntax, prevents land claiming.
    • nid-Mute - exact same syntax - mutes player from the chat for specified time.
    • nid-BanPlayerTemporary - syntax as above, bans specified player from the server, making them unable to log and kicked if online.
    • nid-AllowChopping - accepts User targetUser - will lift the existing temporary ban from specified user, before it set timer expires.
    • nid-UnBanPlayerTemporary - syntax as above, lifts existing temporary server ban;
    • nid-AllowMining - same as above, allows mining.
    • nid-AllowClaiming - same as above allows claiming;
    • nid-UnMute - as above, allows user to use chat again;
    • nid-TransferAllClaims - accepts User currentOwner, User newOwner - Transfers property of currentOwner to newOwner.
    • nid-ClaimPlot - accepts User newOwner - claims already owned plot that the issuer stands on, for newOwner. If no owner is specified owned plot will be claimed to the issuer. This command is especially useful when building roads and in need of claiming this one plot that lies in the way of the project, without affecting rest of original owner property.
  • Fixed Bugs:
    • Fixed nid-UnclaimPlayer - this time properly unclaims the property of indicated player.
    • Fixed bug in long skill names recognition. Skill names can be indicated in any way the user likes. Spaces, no spaces, small or capital letters.
bansList.png

prevented.png

deb-report.png

perdemo.png
hotfix

  • Disabled /nid-UnclaimPlayer command due to issues with command targeting extensive number of plots. Command will be disabled for now and fixed with the next features update.
  • Improves the Claim Preventer triggering for players that did not accept the server rules in a way that it now prevents the action completely, before it occurs, rather than retracting it right after it happened.
  • Rules module has been expanded with new options and functionalities.
  • Added Rules Enforcement - giving ability to enforce rules acceptance on all players on the server.
  • Added PassPhrase functionality - it is possible to enable password which is hidden in the rules. Users who are confirming the rules will need to provide this password in order to complete the confirmation.
  • Implemented Claim Prevention - setting, users who haven't accepted server rules, cannot claim any land.
  • Changed the files organisation of the plugin within its folder - .json files are now stored in Config, textual files like Rules.txt, Motd.txt etc, are stored in Texts, Storage folder contains plugin's internal files. Logs folder will appear if Server admins enabled IP logging feature. There is no need to move your files manually, plugin will copy all your existing configs automatically upon its initialisation.
  • All txt files usually added to the plugin dll are now contained within and deployed only when needed.
  • Expanded nid-Ban command that will now also unclaim all property of the banned player. thanks for suggestion to @Kye !
  • Added following commands:
    • nid-RulesAccept - (accepts optional string password) - allows users to accept Server Rules;
    • nid-RulesPlayers - displays players who haven't accepted server rules yet;
    • nid-RulesEnforce - (accepts bool true or false) - Turns rules acceptance enforcement on or off;
    • nid-RulesForcePass - (accepts bool true or false) - Turns rules acceptance password enforcement on or off;
    • nid-RulesShowPass - Displays currently set rules password.
    • nid-RulesSetPass - (accepts string password) - allows setting password for rules acceptance, must be between 3 and 30 characters, contain only letters and no spaces.
    • nid-RulesPreventClaim - (accepts bool true or false) - With this setting on, users who haven't accepted server rules, won't be able to claim any land. Turns setting on or off.
    • nid-UnclaimPlayer - (accepts User targetPlayer) - unclaims all property of the specified player, no need to stand or be on their land to execute. IMPORTANT: targetPlayer name is case sensitive, as per client requirements.
Main configuration resides in the Settings.json file and following options are available:
Code:
    "ForceAcceptRules": true,
    "ForcePassPhrase": true,
    "PassPhrase": "secretpass",
    "PreventClaiming": true,
    "FileName": "Rules.txt"
  • FileName (string) - indicates which file should Plugin load the rules from. This is also the location plugin will save any changes to the rules. It should be already existing, valid text file. If plugin is unable to find or read the indicated file, it will set empty ruleset.
  • ForceAcceptRules (true / false) - when set to true, all players must accept rules in order to play on the server. Announcement is displayed each login until they do so.
  • ForcePassPhrase (true / false) - when set to true, players accepting server rules will have to provide this string in order to successfully confirm. It is good idea to hide is somewhere within the rules of the server so they must read them in order to uncover it.
  • PreventClaiming (true / false) - if set to true, players who haven't accepted the rules, cannot claim any land and property.
  • PassPhrase (string) - password needed by ForcePassPhrase, must be between 3 and 30 characters, contain only letters and must not contain spaces.



yes_no_rules.png


acc_failed.png


acc_succ.png


ann_claim_prevent.png


users_not_accept.png
This version is a minor hotfix:

  • Fixes problem with target of nid-ResetTalents command, reported by SweGer on Discord, thank you!
  • Messages.json renamed to TimerMessages.json, new version of the plugin will automatically update your old files and preserve your saved messages. No action needed on the user side;
  • Unified the output of timer based commands. They will now clearly state the default timers, trigger time, trigger hour and how much time is left till the event. See below for details;
  • Added Server Changelog Module. This simple module allows server admins to list recent changes they did to their Server on date-by-date basis. Changes can be then displayed by the players in the info-type window in game. *requested by @Dwezer* For details, please refer to the documentation of the plugin.
  • Timer based modules code rewritten and fully multithreaded, to enable adding new timer based modules in the future easy;
  • Module related commands will always check if the module is disabled before presenting output;
  • Added following commands:
    • nid-ShowLog - displays Server's changelog set by admins. Starts as disabled feature;
    • nid-SetServerChangelog - allows setting of the Server Changelog. Similar to Rules.txt editing the Server changelog is recommended directly in the txt file for convenience;
1261


1262


1263
  • Like
Reactions: Kye
  • Added Scheduled Messages Module. This is a type of a server message that displays at exact hour i.e. 16:52. This should be useful for any of you that require messages shown at specific and exact time.
  • Added following commands:
    • nid-ScheduledEnable / nid-ScheduledDisable - commands that toggle Scheduled Messages Module on and off.
    • nid-ScheduledList - displays list of all scheduled messages currently set;
    • nid-ScheduledSet - (accepts string messageTitle, string messageText, integer hour, integer minutes, true/false showAdPopup) - adds new scheduled message, may also be added via file edit as per usual example that will generate an announcement that will trigger as popup at 14:00 servertime:
      Code:
       /nid-ScheduledSet Garbage Collection, We will collect garbage in one hour at 15:00 servertime, 14, 00, true
    • nid-ScheduledDelete - (accepts string messageTitle) - deletes the specified message, accepts partial names and will search in the existing messages for the one specified by user;
    • nid-ScheduledTime - (accepts string messageTitle, integer hour, integer minutes) - changes the hour at which specified scheduled message will appear.
1257
  • Fixed nid-sameIP command not showing users sharing same IP Address in certain circumstances thanks @York
  • Changed how nid-sameIP displays its output
  • Added new setting FadeModName if set to true it will fade "This server is using NidToolbox" announcement.
  • Compiled against Eco version 8.3.0.
1246
  • Like
Reactions: Looh
Top Bottom