How do i make people spawn with nothing?
I cant find a proper answer online but ive been wanting to make a realm with my friends that has a horror mod downloaded but I dont want them to know the mod is on the realm. I tested it and when someone new spawns they get the cog and book explaining the mod. How do I make it so they dont spawn with these?
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
1) try and edit the local mod code to find and remove the part of code that gives players the items.
2) turn cheats on, get a command block, hide it at bedrock level of the spawn point, and either have it specifically remove the items you want it to, OR have it removing all items from all inventories until everyone is online and secretly turn off command blocks before they start breaking stuff.
If you do the command block method, be aware that they MIGHT spot the barest hint of the items as they log in, and you'll need to turn commandblockoutput (or whatever its called now) off to prevent the output messages when the block clears inventories.
A repeating command block at spawn or a small function that runs on join can delete those items before players notice.
Editing the mod itself also works, but that is much riskier unless you are comfortable changing mod code.