If you’re trying to make player names invisible in Minecraft using JavaScript- based solutions (often referred to as “JJS” in some server or datapack contexts), the most reliable approach is to use scoreboard teams or datapacks that control nametag visibility. There isn’t a universal “JJS” command, but the underlying mechanics are consistent across modern Minecraft versions.
The core method: scoreboard teams
Minecraft lets you hide nametags by assigning players to a team and setting
that team’s nametagVisibility to never. This works in both commands and
JavaScript-driven server environments that support Minecraft’s command API.
Basic steps:
-
Create a team:
/team add invisible -
Set nametags to never show for that team:
/team modify invisible nametagVisibility never -
Add players to the team:
/team join invisible <player>
or for everyone:
/team join invisible @a
To reverse it, either remove players from the team or change the visibility
back:
/team modify invisible nametagVisibility always This is the standard,
vanilla-compatible way and is what most “invisible name” datapacks and scripts
wrap in nicer commands.
Using datapacks or functions
Many servers package this logic into datapacks with functions you can call from JavaScript-like command chains or custom plugins. A typical pattern looks like:
/function hidetag:start– hides all nametags/function hidetag:stop– shows them again/execute as <player> run function hidetag:disable_individual– hides a specific player’s name
These functions internally run the same team commands, just organized for
reuse. If your “JJS” setup exposes functions or custom commands, look for
anything named along the lines of hidetag, hideNames, or nametag.
For browser or UI-based “JJS”
If by “JJS” you mean a JavaScript snippet running in a browser (for example, hiding names on a web-based Minecraft dashboard, Discord overlay, or stats page), the approach is different: you’d target the HTML elements that display names and hide or blur them with CSS or JS. Example pattern (conceptual):
js
document.querySelectorAll('.player-name').forEach(el => {
el.style.visibility = 'hidden'; // or
// el.style.opacity = '0';
// el.textContent = '***';
});
Or with CSS:
css
.player-name {
visibility: hidden;
}
This doesn’t affect the game itself, only what’s shown on that webpage.
Common pitfalls
- Typing the team name wrong (e.g.,
invisiblevsInvisible) will silently fail. - Some plugins override nametag visibility; if names still show, check for plugins like Essentials, NickName, or auth systems that manage display names separately.
- In singleplayer or realms without command access, you may be limited to F1 (which hides HUD and nametags temporarily) or need a datapack installed on the world.
If you can share what environment “JJS” refers to (specific server software, plugin, or website), the exact commands or code can be narrowed down further.
