From 74dca541ca7f02a7ea77629593e761afd0a21bd4 Mon Sep 17 00:00:00 2001 From: Samuel Voeller <12182390+xCykrix@users.noreply.github.com> Date: Wed, 17 Apr 2024 13:48:15 +0000 Subject: [PATCH] feat: update readme and plugin.yml --- README.md | 9 ++++++++- src/main/resources/plugin.yml | 6 ++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fdd529a..c1ef0ff 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,11 @@ Commands - /dynamiclights lock (dynamiclights.lock) - Prevents placing Lanterns and Torches from the offhand. Useful for held lights while exploring or eating. +- /dynamiclights toggle (dynamiclights.toggle) + - Toggle the rendering of lights for your client to reduce client impact. +- /dynamiclights reload (dynamiclights.reload) + - Dynamically reload the `lights.yml` configuration to add or adjust light levels. + - `config.yml` requires a restart due to async tasks at this time. ## FAQ @@ -21,6 +26,8 @@ location for all online players asynchronously. At the player's head location, DynamicLights will send a block change packet to all players within the culling range. DynamicLights does NOT modify the world. +This plugin requires ProtocolLib to be present. + #### Can I change which items glow and work underwater? Yes! In the "lights.yml" file you can add any item from @@ -43,7 +50,7 @@ provide verioned and shaded assets associated with this plugin. 1. Update POM XML Plugins and Dependencies. 2. Update POM XML Version. 3. Build Plugin -4. Verify in 1.17 to 1.20.1 +4. Verify in 1.17 to Latest Version 5. Update GitHub Source Code 6. Tag Version to Last Commit 7. Add Release diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 46bb360..711ded0 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -15,3 +15,9 @@ permissions: dynamiclights.lock: description: "Toggle placing light sources from your off hand." default: true + dynamiclights.toggle: + description: "Toggle rendering of light sources for your client." + default: true + dynamiclights.reload: + description: "Reload the lights.yml configuration file." + default: false