Skip to content

Commit

Permalink
make the paths match
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Sep 9, 2024
1 parent 54bb9e8 commit 6bb1988
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ public void registerComments(CommentsConfiguration conf) {
public static final Property<String> crate_location_format = newProperty("crates.list.per-crate", "<dark_gray>[<blue>{id}<dark_gray>]: <red>{crate_name}<dark_gray>, <red>{world}<dark_gray>, <red>{x}<dark_gray>, <red>{y}<dark_gray>, <red>{z}");

@Comment("A list of available placeholders: {name}")
public static final Property<String> crate_teleported = newProperty("crate.teleport.success", "<red>You have been teleported to the location with the name: <gold>{name}.");
public static final Property<String> crate_teleported = newProperty("crates.teleport.success", "<red>You have been teleported to the location with the name: <gold>{name}.");

@Comment("A list of available placeholders: {id}")
public static final Property<String> crate_cannot_teleport = newProperty("crate.teleport.failed", "<red>There is no location with the name: <gold>{id}.");
public static final Property<String> crate_cannot_teleport = newProperty("crates.teleport.failed", "<red>There is no location with the name: <gold>{id}.");

@Comment({
"This will add a notice to a prize, if the prize has reached max pulls.",
"If this message is empty, it will not add the lore to prizes.",
"",
"A list of available placeholders: {maxpulls}, {pulls}"
})
public static final Property<String> crate_prize_max_pulls = newProperty("crate.pulls.max", "<red>This prize can no longer be obtained, {pulls}/{maxpulls}");
public static final Property<String> crate_prize_max_pulls = newProperty("crates.pulls.max", "<red>This prize can no longer be obtained, {pulls}/{maxpulls}");
}
11 changes: 11 additions & 0 deletions paper/src/main/resources/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,17 @@ crates:
- ""
- "<bold><gold>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</gold></bold>"
per-crate: "<dark_gray>[<blue>{id}<dark_gray>]: <red>{crate_name}<dark_gray>, <red>{world}<dark_gray>, <red>{x}<dark_gray>, <red>{y}<dark_gray>, <red>{z}"
teleport:
# A list of available placeholders: {name}
success: '<red>You have been teleported to the location with the name: <gold>{name}.'
# A list of available placeholders: {id}
failed: '<red>There is no location with the name: <gold>{id}.'
pulls:
# This will add a notice to a prize, if the prize has reached max pulls.
# If this message is empty, it will not add the lore to prizes.
#
# A list of available placeholders: {maxpulls}, {pulls}
max: '<red>This prize can no longer be obtained, {pulls}/{maxpulls}'
# All messages related to commands.
command:
open:
Expand Down

0 comments on commit 6bb1988

Please sign in to comment.