> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eversi.de/llms.txt
> Use this file to discover all available pages before exploring further.

# ,incognito

export const MinecraftText = ({text, prefix = '§', cssStyle = {}, children}) => {
  let raw = text || "";
  if (!raw && children) raw = typeof children === 'string' ? children : String(children);
  let string = "";
  const segments = [];
  let style = {
    color: '#FFFFFF',
    bold: false,
    italic: false,
    underline: false,
    strikethrough: false,
    obfuscated: false
  };
  for (let i = 0; i < raw.length; i++) {
    if (raw[i] !== prefix || i + 1 >= raw.length) {
      string += raw[i];
      continue;
    }
    if (string) {
      segments.push({
        text: string,
        ...style
      });
      string = "";
    }
    const code = raw[i + 1].toLowerCase();
    i++;
    switch (code) {
      case 'l':
        style.bold = true;
        break;
      case 'o':
        style.italic = true;
        break;
      case 'n':
        style.underline = true;
        break;
      case 'm':
        style.strikethrough = true;
        break;
      case 'k':
        style.obfuscated = true;
        break;
      case 'r':
        style.color = '#FFFFFF';
        style.bold = false;
        style.italic = false;
        style.underline = false;
        style.strikethrough = false;
        style.obfuscated = false;
        break;
      default:
        if (!colours[code]) break;
        style.color = colours[code];
        style.bold = false;
        style.italic = false;
        style.underline = false;
        style.strikethrough = false;
        style.obfuscated = false;
        break;
    }
  }
  if (string) segments.push({
    text: string,
    ...style
  });
  return <div style={{
    fontFamily: '"Minecraftia", monospace',
    textShadow: '2px 2px 0px #383838',
    ...cssStyle
  }}>

      <style>
      {`
        @import url('https://fonts.cdnfonts.com/css/minecraftia');
      `}
      </style>

      {segments.map((segment, idx) => {
    const css = {
      color: segment.color,
      fontWeight: segment.bold ? 'bold' : 'normal',
      fontStyle: segment.italic ? 'italic' : 'normal',
      textDecoration: [segment.underline ? 'underline' : '', segment.strikethrough ? 'line-through' : ''].filter(Boolean).join(' ') || 'none'
    };
    if (segment.obfuscated) return <ObfuscatedText key={idx} text={segment.text} style={css} />;
    return <span key={idx} style={css}>{segment.text}</span>;
  })}
    </div>;
};

**Group:** <Badge color="blue">ѕᴛᴀɴᴅᴀʀᴅ</Badge>\
**Aliases:** `none`

### Description

A command that hides user activity from other users.

### Example Result

<Accordion title=",connect mc.glogow.pl 0 private Name">
  <MinecraftText
    prefix="&"
    text="&7Player &3User &8(&b&kName&8) &7connected to &3&kmc.glogow.pl.:25565 &7server."
    cssStyle={{
  textAlign: 'center',
  fontSize: '13px'
}}
  />
</Accordion>

<Accordion title=",connectbot 5 private 500 esBot_[r:8]">
  <MinecraftText
    prefix="&"
    text="&7Player &3User &8(&b&kName&8) &7is connecting &35 bots &7to &3&kmc.glogow.pl.:25565 &7server."
    cssStyle={{
  textAlign: 'center',
  fontSize: '13px'
}}
  />
</Accordion>
