kube
This commit is contained in:
1 parent
bf75b0e150
commit
387258d01f
6 files changed
+35
-2
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 333 B |
@@ -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))
|
||||
})
|
||||
@@ -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",
|
||||
},
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
Platform.mods.kubejs.name = 'PatataPack'
|
||||
Reference in new issue
Block a user