Custom Message Display
OriginalNovember 10, 2024Less than 1 minute
Custom Message Display
PlayerEvents.chat((event) => {
let { player, message, server } = event;
server.tell([
Text.yellow(player.displayName),
" ",
Text.gray("»"),
" ",
Text.white(message),
]);
event.cancel();
});