Skip to content

Commit 2c55b55

Browse files
committed
Release v1.0.2
1 parent 992c9e6 commit 2c55b55

File tree

5 files changed

+23
-87
lines changed

5 files changed

+23
-87
lines changed

CHANGELOGS.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

buildSrc/src/main/kotlin/eternalcode-java.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "com.eternalcode"
7-
version = "1.0.1"
7+
version = "1.0.2"
88

99
checkstyle {
1010
toolVersion = "10.12.5"

eternalcore-core/src/main/java/com/eternalcode/core/translation/implementation/ENTranslation.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -380,22 +380,7 @@ public static class ENBorderSection implements BorderSection {
380380
@Getter
381381
@Contextual
382382
public static class ENDecorationItemsSection implements DecorationItemsSection {
383-
public List<ConfigItem> items = List.of(
384-
ConfigItem.builder()
385-
.withName("&8» &6Example item")
386-
.withLore(Collections.singletonList("<gray>Click to set time to day"))
387-
.withMaterial(Material.YELLOW_CARPET)
388-
.withSlot(18)
389-
.withCommands(List.of("day"))
390-
.build(),
391-
ConfigItem.builder()
392-
.withName("&8» &6Example item 2")
393-
.withLore(Collections.singletonList("<gray>Click to set time to night"))
394-
.withMaterial(Material.BLUE_CARPET)
395-
.withSlot(19)
396-
.withCommands(List.of("night"))
397-
.build()
398-
);
383+
public List<ConfigItem> items = List.of();
399384
}
400385
}
401386
}

eternalcore-core/src/main/java/com/eternalcode/core/translation/implementation/PLTranslation.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -384,22 +384,7 @@ public static class PLBorderSection implements BorderSection {
384384
@Getter
385385
@Contextual
386386
public static class PLDecorationItemsSection implements DecorationItemsSection {
387-
public List<ConfigItem> items = List.of(
388-
ConfigItem.builder()
389-
.withMaterial(Material.YELLOW_CARPET)
390-
.withName("&8» &6Przykładowy przedmiot")
391-
.withLore(Collections.singletonList("<gray>Kliknij aby ustawić dzień!"))
392-
.withSlot(18)
393-
.withCommands(List.of("day"))
394-
.build(),
395-
ConfigItem.builder()
396-
.withMaterial(Material.BLUE_CARPET)
397-
.withName("&8» &6Przykładowy przedmiot 2")
398-
.withLore(Collections.singletonList("<gray>Kliknij aby ustawić noc!"))
399-
.withSlot(19)
400-
.withCommands((List.of("night")))
401-
.build()
402-
);
387+
public List<ConfigItem> items = List.of();
403388
}
404389
}
405390
}

raw_commands_docs.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,10 @@
225225
{
226226
"name": "clear ",
227227
"aliases": [],
228-
"permissions": [],
228+
"permissions": [
229+
"eternalcore.clear.other",
230+
"eternalcore.clear"
231+
],
229232
"descriptions": [
230233
"Clears inventory of player"
231234
],
@@ -236,7 +239,9 @@
236239
{
237240
"name": "clear ",
238241
"aliases": [],
239-
"permissions": [],
242+
"permissions": [
243+
"eternalcore.clear"
244+
],
240245
"descriptions": [
241246
"Clears your inventory"
242247
],
@@ -1297,6 +1302,19 @@
12971302
"\u003cplayer\u003e \u003ctarget-player\u003e"
12981303
]
12991304
},
1305+
{
1306+
"name": "teleportorandomplayer ",
1307+
"aliases": [],
1308+
"permissions": [
1309+
"eternalcore.tprp"
1310+
],
1311+
"descriptions": [
1312+
"Teleport to a random player on the server, with the option to filter op players"
1313+
],
1314+
"arguments": [
1315+
""
1316+
]
1317+
},
13001318
{
13011319
"name": "tellraw ",
13021320
"aliases": [],

0 commit comments

Comments
 (0)