Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Jul 28, 2024
1 parent 52f22c9 commit 8319995
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ public void registerComments(CommentsConfiguration conf) {
conf.setComment("crate.preview", "The preview settings.");
conf.setComment("crate.keys", "Settings related to how keys function.");

conf.setComment("crate.unsupported-settings", "Settings that are not supported and can be removed at anytime.");

conf.setComment("crate.keys.inventory-settings", "Settings related to a player's inventory is not empty.");

conf.setComment("crate.quad-crate", "Settings related to QuadCrate");
Expand All @@ -72,7 +70,8 @@ public void registerComments(CommentsConfiguration conf) {
"true -> uses minimessage",
"false -> uses legacy color codes",
"",
"Note: inventory titles won't update during Cosmic Crate while this is false."
"Note: inventory titles won't update during Cosmic Crate while this is false.",
"Warning: legacy color codes is highly likely to be removed in the future."
})
public static final Property<Boolean> minimessage_toggle = newProperty("root.use-minimessage", true);

Expand All @@ -82,7 +81,8 @@ public void registerComments(CommentsConfiguration conf) {
"true -> uses the old one",
"false -> uses the new one",
"",
"MiniMessage has to be turned off as this format uses legacy color codes."
"Note: MiniMessage has to be turned off as this format uses legacy color codes.",
"Warning: this feature will only work as long as legacy color codes aren't removed"
})
public static final Property<Boolean> item_editor_toggle = newProperty("root.use-old-editor", false);

Expand Down
6 changes: 5 additions & 1 deletion src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ root:
# false -> uses legacy color codes
#
# Note: inventory titles won't update during Cosmic Crate while this is false.
# Warning: legacy color codes is highly likely to be removed in the future.
use-minimessage: true
# This option defines what in-game editor format is used in CrazyCrates
#
# true -> uses the old one
# false -> uses the new one
#
# Note: MiniMessage has to be turned off as this format uses legacy color codes.
# Warning: this feature will only work as long as legacy color codes aren't removed
use-old-editor: false
# This option will tell the plugin to send all messages as action bars or messages in chat.
#
Expand Down Expand Up @@ -185,4 +189,4 @@ crate:
timer: 300
# What worlds do you want Crates to be disabled in?
disabled-worlds:
- world_nether
- world_nether

0 comments on commit 8319995

Please sign in to comment.