From c98f6a656ef781aac5464e0f8da15c31013c86bc Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Fri, 30 Jul 2021 16:30:52 -0700 Subject: [PATCH] Change "cleaner" chat command to "ctool" --- TODO.txt | 1 - changelog.txt | 14 +++++++------- chat.lua | 4 ++-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/TODO.txt b/TODO.txt index a79691b..9333bc6 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,4 +9,3 @@ TODO: - add "xrotate" & "zrorate" modes for pencil - fix pencil "write" mode when pointing to side of node (node gets placed below) - move HTML docs to gh-pages branch -- change "cleaner" chat command to something like "cleanertool" or "ctool" diff --git a/changelog.txt b/changelog.txt index a302fe6..463af85 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,12 @@ v1.2 ---- - added API +- added support for unregistering ores (unsafe) +- added setting for enabling "unsafe" methods & commands +- all types are loaded from /cleaner.json file +- added localization support +- added Spanish localization +- added pencil tool for erasing, adding, & swapping nodes - added chat commands: - remove_entities - remove_nodes @@ -9,13 +15,7 @@ v1.2 - replace_nodes - find_unknown_nodes - remove_ores (unsafe) -- added support for unregistering ores (unsafe) -- added setting for enabling "unsafe" methods & commands -- all types are loaded from /cleaner.json file -- added localization support -- added Spanish localization -- added pencil tool for erasing, adding, & swapping nodes -- added "cleaner" chat command for managing pencil tool settings + - ctool (manages pencil tool settings) v1.1 ---- diff --git a/chat.lua b/chat.lua index ae8fbf2..bee3a2a 100644 --- a/chat.lua +++ b/chat.lua @@ -465,10 +465,10 @@ end --- Manages settings for wielded cleaner tool. -- --- @chatcmd cleaner +-- @chatcmd ctool -- @param action Action to execute. Can be "status", "setmode", or "setnode". -- @param value Mode or node to be set for tool. -core.register_chatcommand("cleaner", { +core.register_chatcommand("ctool", { privs = {server=true}, description = S("Manage settings for wielded cleaner tool.") .. "\n\n" .. S("Params:") .. "\n action: Action to execute. Can be one of \"status\", \"setmode\", or \"setnode\"."