improved default configs
@@ -138,7 +138,7 @@ public class NameplateManagerImpl implements NameplateManager {
|
||||
}
|
||||
|
||||
private void saveDefaultNameplates() {
|
||||
String[] png_list = new String[]{"cat", "egg", "cheems", "wither", "xmas", "halloween", "hutao", "starsky", "trident", "rabbit"};
|
||||
String[] png_list = new String[]{"egg", "xmas", "halloween", "hutao", "starsky", "trident", "rabbit", "sign", "game", "enter", "panda", "angel", "banner"};
|
||||
String[] part_list = new String[]{"_left.png", "_middle.png", "_right.png", ".yml"};
|
||||
for (String name : png_list) {
|
||||
for (String part : part_list) {
|
||||
|
||||
@@ -131,30 +131,31 @@ switch-text:
|
||||
switch: "%np_equipped_nameplate%"
|
||||
default: ""
|
||||
case:
|
||||
'wither': "<gradient:#FF0000:#000000:%np_gradient_3%>"
|
||||
'halloween': "<gradient:#FF0000:#000000:%np_gradient_3%>"
|
||||
'hutao': "<gradient:#FFFFFF:#FF4500:%np_gradient_3%>"
|
||||
'rabbit': "<gradient:#FFFFFF:#DB7093:%np_gradient_3%>"
|
||||
'starsky': "<gradient:#FFFFF0:#696969:%np_gradient_3%>"
|
||||
'trident': "<gradient:#E1FFFF:#008B8B:%np_gradient_10%>"
|
||||
'cheems': "<gradient:#C0C0C0:#F5F5F5:%np_gradient_5%>"
|
||||
'egg': "<gradient:#FFFFFF:#FFA500:%np_gradient_5%>"
|
||||
'cat': "<gradient:#FFFFFF:#1E90FF:%np_gradient_5%>"
|
||||
'xmas': "<gradient:#FFFFFF:#FF4500:%np_gradient_5%>"
|
||||
'xmas': "<WHITE>"
|
||||
'angel': "<#8B4513>"
|
||||
'sign': "<BLACK>"
|
||||
'banner': "<WHITE>"
|
||||
'enter': "<WHITE>"
|
||||
nameplate_color_suffix:
|
||||
switch: "%np_equipped_nameplate%"
|
||||
default: ""
|
||||
case:
|
||||
'wither': "</gradient>"
|
||||
'halloween': "</gradient>"
|
||||
'hutao': "</gradient>"
|
||||
'rabbit': "</gradient>"
|
||||
'starsky': "</gradient>"
|
||||
'trident': "</gradient>"
|
||||
'cheems': "</gradient>"
|
||||
'egg': "</gradient>"
|
||||
'cat': "</gradient>"
|
||||
'xmas': "</gradient>"
|
||||
'xmas': "</WHITE>"
|
||||
'angel': "</#8B4513>"
|
||||
'sign': "</WHITE>"
|
||||
'enter': "</WHITE>"
|
||||
world:
|
||||
switch: '%player_world%'
|
||||
case:
|
||||
|
||||
13
backend/src/main/resources/contents/nameplates/angel.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
display-name: Angel
|
||||
left:
|
||||
image: angel_left
|
||||
height: 16
|
||||
ascent: 14
|
||||
middle:
|
||||
image: angel_middle
|
||||
height: 16
|
||||
ascent: 14
|
||||
right:
|
||||
image: angel_right
|
||||
height: 16
|
||||
ascent: 14
|
||||
BIN
backend/src/main/resources/contents/nameplates/angel_left.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
backend/src/main/resources/contents/nameplates/angel_middle.png
Normal file
|
After Width: | Height: | Size: 1006 B |
BIN
backend/src/main/resources/contents/nameplates/angel_right.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
13
backend/src/main/resources/contents/nameplates/banner.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
display-name: Banner
|
||||
left:
|
||||
image: banner_left
|
||||
height: 16
|
||||
ascent: 13
|
||||
middle:
|
||||
image: banner_middle
|
||||
height: 16
|
||||
ascent: 13
|
||||
right:
|
||||
image: banner_right
|
||||
height: 16
|
||||
ascent: 13
|
||||
BIN
backend/src/main/resources/contents/nameplates/banner_left.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
backend/src/main/resources/contents/nameplates/banner_middle.png
Normal file
|
After Width: | Height: | Size: 1000 B |
BIN
backend/src/main/resources/contents/nameplates/banner_right.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 396 B |
|
Before Width: | Height: | Size: 194 B |
|
Before Width: | Height: | Size: 391 B |
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -1,13 +1,13 @@
|
||||
display-name: Sad Cat
|
||||
display-name: Enter
|
||||
left:
|
||||
image: cat_left
|
||||
image: enter_left
|
||||
height: 16
|
||||
ascent: 12
|
||||
middle:
|
||||
image: cat_middle
|
||||
image: enter_middle
|
||||
height: 16
|
||||
ascent: 12
|
||||
right:
|
||||
image: cat_right
|
||||
image: enter_right
|
||||
height: 16
|
||||
ascent: 12
|
||||
BIN
backend/src/main/resources/contents/nameplates/enter_left.png
Normal file
|
After Width: | Height: | Size: 957 B |
BIN
backend/src/main/resources/contents/nameplates/enter_middle.png
Normal file
|
After Width: | Height: | Size: 958 B |
BIN
backend/src/main/resources/contents/nameplates/enter_right.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
@@ -1,13 +1,13 @@
|
||||
display-name: Thank you, Cheems
|
||||
display-name: Video Game Console
|
||||
left:
|
||||
image: cheems_left
|
||||
image: game_left
|
||||
height: 16
|
||||
ascent: 12
|
||||
middle:
|
||||
image: cheems_middle
|
||||
image: game_middle
|
||||
height: 16
|
||||
ascent: 12
|
||||
right:
|
||||
image: cheems_right
|
||||
image: game_right
|
||||
height: 16
|
||||
ascent: 12
|
||||
BIN
backend/src/main/resources/contents/nameplates/game_left.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
backend/src/main/resources/contents/nameplates/game_middle.png
Normal file
|
After Width: | Height: | Size: 958 B |
BIN
backend/src/main/resources/contents/nameplates/game_right.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
@@ -1,13 +1,13 @@
|
||||
display-name: Wither Rose
|
||||
display-name: Panda
|
||||
left:
|
||||
image: wither_left
|
||||
image: panda_left
|
||||
height: 16
|
||||
ascent: 12
|
||||
middle:
|
||||
image: wither_middle
|
||||
image: panda_middle
|
||||
height: 16
|
||||
ascent: 12
|
||||
right:
|
||||
image: wither_right
|
||||
image: panda_right
|
||||
height: 16
|
||||
ascent: 12
|
||||
|
Before Width: | Height: | Size: 957 B After Width: | Height: | Size: 997 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1015 B |
|
Before Width: | Height: | Size: 928 B After Width: | Height: | Size: 999 B |
13
backend/src/main/resources/contents/nameplates/sign.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
display-name: Oak Sign
|
||||
left:
|
||||
image: sign_left
|
||||
height: 16
|
||||
ascent: 14
|
||||
middle:
|
||||
image: sign_middle
|
||||
height: 16
|
||||
ascent: 14
|
||||
right:
|
||||
image: sign_right
|
||||
height: 16
|
||||
ascent: 14
|
||||
BIN
backend/src/main/resources/contents/nameplates/sign_left.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
backend/src/main/resources/contents/nameplates/sign_middle.png
Normal file
|
After Width: | Height: | Size: 1023 B |
BIN
backend/src/main/resources/contents/nameplates/sign_right.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -19,6 +19,7 @@ package net.momirealms.customnameplates.bukkit.compatibility;
|
||||
|
||||
import me.clip.placeholderapi.PlaceholderAPI;
|
||||
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.momirealms.customnameplates.api.CustomNameplates;
|
||||
import net.momirealms.customnameplates.api.CustomNameplatesAPI;
|
||||
import net.momirealms.customnameplates.api.feature.OffsetFont;
|
||||
@@ -235,6 +236,9 @@ public class NameplatesExtraExpansion extends PlaceholderExpansion {
|
||||
String minuteStr = (minutes < 10) ? "0" + minutes : String.valueOf(minutes);
|
||||
return hours + ":" + minuteStr;
|
||||
}
|
||||
case "newline" -> {
|
||||
return "\n";
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Project settings
|
||||
# Rule: [major update].[feature update].[bug fix]
|
||||
project_version=3.0.10.2
|
||||
project_version=3.0.11
|
||||
config_version=32
|
||||
project_group=net.momirealms
|
||||
|
||||
|
||||