
NewPlayerItem
create a plugin that whenever somebody new join the server i want the console or the plugin to execute this command /lootbox givekey joinedplayer common 2
00—FreehytaleServer2026.01.24mod
NewPlayerItem Mod
Overview
This mod automatically welcomes new players to your server by giving them 2 common lootbox keys as soon as they join. No setup required - just drop the mod in and every player who connects gets their free keys instantly!
Features
- Automatic Rewards: Every player receives 2 common lootbox keys when joining
- Instant Delivery: Keys are given immediately upon connection - no waiting or manual commands needed
- Console Integration: Uses the server's console to execute commands safely
- Zero Configuration: Works right out of the box with no settings to tweak
How to Use
- Install the mod on your Hytale server
- That's it! The mod runs automatically
- When a player joins, they'll automatically receive 2 common lootbox keys
The mod executes the following command for each new player:
/lootbox givekey <playername> common 2
Tips & Tricks
- Make sure you have a lootbox plugin installed that supports the
/lootbox givekeycommand - Players will receive keys every time they join (not just first-time joins)
- Check your server console logs to see when keys are given out
Known Limitations
- This mod gives keys to all players on every join, not just first-time joiners
- Requires a separate lootbox plugin that provides the
/lootbox givekeycommand