This commit is contained in:
ChomeNS 2022-11-06 18:12:28 +07:00
parent 076ff7b966
commit 766cf10267

View file

@ -14,7 +14,7 @@ module.exports = {
bot.core.run('minecraft:tellraw @a ' + JSON.stringify( bot.core.run('minecraft:tellraw @a ' + JSON.stringify(
[ [
{ {
text: `${playername}'s uuid: `, text: `${playername}'s UUID: `,
color: 'green', color: 'green',
}, },
{ {
@ -28,7 +28,7 @@ module.exports = {
action: 'show_text', action: 'show_text',
contents: [ contents: [
{ {
text: 'Click here to copy the uuid to your clipboard', text: 'Click here to copy the UUID to your clipboard',
color: 'green', color: 'green',
}, },
], ],
@ -39,11 +39,11 @@ module.exports = {
bot.core.run('minecraft:tellraw @a ' + JSON.stringify( bot.core.run('minecraft:tellraw @a ' + JSON.stringify(
[ [
{ {
text: `Your uuid: `, text: `Your UUID: `,
color: 'green', color: 'green',
}, },
{ {
text: `${sender}`, text: sender,
color: 'aqua', color: 'aqua',
clickEvent: { clickEvent: {
action: 'copy_to_clipboard', action: 'copy_to_clipboard',