• check_circle Functions
  • 3,014 views, 4 today
  • 83 downloads, 0 today
  • 18
  • 14
  • 8
SpruceStudios's Avatar SpruceStudios
Level 40 : Master Procrastinator
28
"Hello There" is a simple server-side data pack that gives players starting items the first time they log onto the server / world.

You can also do things like run command, sounds, and particle effects when players join. The entire data pack can be configured by unzipping it and going to data/wlc/functions/newplayer.mcfunction

By default, they're given 64 baked potatoes.
They're also given a Default Waystone if the data pack "Waystones" by KawaMood is installed. This is to show an example of how custom items can be given to players.

This data pack was created with performance in mind, and shouldn't create lag.

Please remember to check the license when using this.
CompatibilityMinecraft 1.16
toMinecraft 1.20
Tags

1 Update Logs

Page Update #1 : by SpruceStudios 09/11/2023 4:12:32 amSep 11th, 2023

Fixed download link not working on Linux

Create an account or sign in to comment.

2
09/12/2023 11:34 am
Level 12 : Journeyman Artist
zaporizhzhian
zaporizhzhian's Avatar
how do i change .mcfunction files?
1
09/13/2023 6:25 pm
Level 40 : Master Procrastinator
SpruceStudios
SpruceStudios's Avatar
You'll need to open it with a text editing software.
4
09/08/2023 2:45 pm
Level 2 : Apprentice Explorer
RHM77
RHM77's Avatar
GENERAL KENOBI
2
09/06/2023 6:05 am
Level 61 : High Grandmaster Sweetheart
imalittlhigh
imalittlhigh's Avatar
wouldn't id be more performant to use advancements instead of a looping function?
1
09/06/2023 5:37 pmhistory
Level 40 : Master Procrastinator
SpruceStudios
SpruceStudios's Avatar
If the advancement's trigger was minecraft:tick, then it would be a bit slower. I'm not sure if there's an advancement trigger for joining a world though. That would make it faster.
2
09/07/2023 5:49 pm
Level 37 : Artisan Birb
BluVibes
BluVibes's Avatar
Rather than an advancement for joining a world, you could just make a location advancement that checks for if the player is missing some random flag that they wouldnt have by just joining, ie On Fire or Sneaking

But I dont see how thats any less efficient than a tick advancement, each to their own
1
09/07/2023 6:16 pm
Level 40 : Master Procrastinator
SpruceStudios
SpruceStudios's Avatar
Idk. The current version only runs a function every five seconds or so - so lag isn't really a problem.
2
09/07/2023 3:35 am
Level 61 : High Grandmaster Sweetheart
imalittlhigh
imalittlhigh's Avatar
you could just add it as a child of the base mc advancement ^^ (with it as a condition)
Also im pretty sure advs dont run for players that already have them
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome