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

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

No permission to download
Thanks for @hami for reporting the issues.
  • Fixed timers posting message: "timer expired" on inactive home timers;
  • Fixed timers behavior causing server instability in specific circumstances.
  • Added an ability to set caloric or/and monetary cost to Home Teleport Module. This requires that global currency is set on the server. Global currency can be set in Treasury by the world leader; Thanks to @hami for suggestion!
  • Fixed various spelling mistakes;
  • Added new commands:
    • nid-HomeRequireCalories - accepts true/false value. When set to true, users will be charged calories each time they want to teleport home.
    • nid-HomeRequireCost - accepts true/false value. When set to true, users will be charged monetary amount each time they want to teleport home. Requires that global currency is set on server. Global currency can be set by the world leader in the Treasury.
    • nid-HomeCaloriesAmount - accept float value and sets the calories cost to set amount, for example nid-HomeCaloriesAmount 200 will charge users with 200 calories each time they teleport.
    • nid-HomeCostAmount - accepts float value, sets monetary cost to specified amount.
  • New commands with example usage and syntax can be found in NidToolbox QuickSheet
  • These settings can also be changed within the Settings.json file in the HomeTeleportModule section:
    Code:
    "HomeTeleportModule": {
    "TimerEnabled": true,
    "TimerMinutes": 60.0,
    "CostCaloriesEnabled": true,
    "CostCaloriesAmount": 43.0,
    "CostGlobalCurrencyEnabled": true,
    "CostGlobalCurrencyAmount": 1.24
    }
1hometelcosts.png
2Error.png
3Error.png
3ledger.png
  • Fixed date and time parsing error on some system locales for temporary bans; Thanks to @HaioPai
  • Temporary bans will be sorted based on their expiration time, with closest to expire being listed first;
  • Fixed display bug - days not displayed on temporary bans with duration longer than one day;
  • Fixed display bug - days not being included in console output when initiating new ban;
  • Fixed: Properly marking loaded temporary bans as malformed if user to which they were assigned no longer exists (useful when server owner starts a new world and forgets to remove old temporary bans file);
  • Added page with all commands and example usages: https://bit.ly/33V3Obm
  • Added new command nid-LogChat allowing for switching chat logger on and off from within the game. Syntax of the command is:
    Code:
    /nid-LogChat true
    to enable the chat logger and
    Code:
    /nid-LogChat false
    to disable it.

bansSorted.png
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 Chat Logging - to enable edit NidToolbox\Config\Settings.json and change LogChat to true. Log files are stored in NidToolbox\Logs\ChatLog. Files are named according to the date for example: 22-10-2019.log and will contain all chat from 0:00 to 23:59 on that day.
  • 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!
Top Bottom