This commit is contained in:
2024-09-15 15:24:12 +02:00
parent bf75b0e150
commit 387258d01f
6 changed files with 35 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 333 B

View File

@@ -0,0 +1,6 @@
ServerEvents.customCommand('patata', event => {
event.player.give(Item.of('kubejs:golden_potato', 64))
})
ServerEvents.customCommand('paint', event => {
event.player.give(Item.of('kubejs:golden_potato', 64))
})

View File

@@ -0,0 +1,14 @@
PlayerEvents.loggedIn((event) => {
event.player.paint({
last_message: {
type: "text",
text: Text.of('Ongi etorri!').green().bold(),
scale: 5,
x: $screenW /2,
y: $screenH /2,
alignX: "center",
alignY: "center",
draw: "always",
},
});
});

View File

@@ -0,0 +1 @@
Platform.mods.kubejs.name = 'PatataPack'