• check_circle Functions
  • 3,070 views, 2 today
  • 86 downloads, 0 today
  • 18
  • 14
  • 8
SpruceStudios's Avatar SpruceStudios
Level 41 : Master Procrastinator
29
"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.

zaporizhzhian
09/12/2023 11:34 am
Level 12 : Journeyman Artist
zaporizhzhian's Avatar
how do i change .mcfunction files?
2
SpruceStudios
09/13/2023 6:25 pm
Level 41 : Master Procrastinator
SpruceStudios's Avatar
You'll need to open it with a text editing software.
1
RHM77
09/08/2023 2:45 pm
Level 2 : Apprentice Explorer
RHM77's Avatar
GENERAL KENOBI
4
imalittlhigh
09/06/2023 6:05 am
Level 62 : High Grandmaster Sweetheart
imalittlhigh's Avatar
wouldn't id be more performant to use advancements instead of a looping function?
2
SpruceStudios
09/06/2023 5:37 pm
Level 41 : Master Procrastinator
history
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.
1
BluVibes
09/07/2023 5:49 pm
Level 37 : Artisan Birb
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
2
SpruceStudios
09/07/2023 6:16 pm
Level 41 : Master Procrastinator
SpruceStudios's Avatar
Idk. The current version only runs a function every five seconds or so - so lag isn't really a problem.
1
imalittlhigh
09/07/2023 3:35 am
Level 62 : High Grandmaster Sweetheart
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
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome