Minecraft Data Packs / Challenge

Secret Life SMP (Java Data Pack)

  • check_circle Functions
  • 15,092 views, 18 today
  • 1,253 downloads, 0 today
  • 45
  • 43
  • 88
Required Resource Pack
Kirbycope's Avatar Kirbycope
Level 56 : Grandmaster Programmer
138
ToDo: Additional sound effects.

Notes:
  - To start each session, click the text in the book. They must be done in order!
    - To get the books run, `function secret:session-start`
  - To gift a heart to the nearest player, run `function secret:gift`. Limited to one per session!

The Secret

  • Players can earn hearts by completing their secret for the session.
  • Players can gain up to 10 hearts by finishing their secret and turning it into the Secret Keeper.
  • If the player redeems their secret their hearts will fill to 30, after they fill to 30 they will receive items instead of hearts until they get to 10 things given.
  • Players can decide to receive a harder secret and receive up to 20 hearts upon completion. However, if they fail this harder secret, the player loses 10 hearts. (The player cannot reroll their task if they have already failed.)
  • If they tell any player what their task is, they lose instantly, unless the secret specifies that it may be shared under a certain condition. If the task is a hard task, they also lose 10 hearts.
      - Once a player completes their task, this rule no longer applies to them. (They must press the "Success" button and get their rewards first.)
  • Yellow lives are able to guess a player's secret once for each player. If they manage to guess correctly, that player fails their secret. If they get it wrong, they cannot interrogate that person again for the rest of the session.
  • Red lives can no longer attack Yellow or Green lives without any provocation, like in previous seasons, nor do they have the ability to instantly fail someone's secret by guessing it. Instead, they get a task focused on killing or hurting another player, and once that task has been completed, they immediately get a new task. Each task completed will reward them with 5 hearts, and failing to complete a task by the end of the session does not constitute a fail, but the task gets replaced at the start of the next session.

Health

  • Like in 3rd Life, players get 3 lives each.
  • Players begin with 30 hearts, and cannot regenerate health by traditional means.
  • Once per session, players can "Gift" a free heart that is not taken from their heart total to any other player of their choice. This extra heart can put the player above 30 hearts. There is no other way to exchange hearts between players.
  • Players can still receive extra hearts from golden apples during the period of the absorption effect.
  • Red names can receive up to 10 hearts by killing another player (5 per kill)
  • Red names lose 2 hearts when they fail a task

Lives

  • Unlike the previous season, only Red lives can intentionally kill other players.
  • Upon dying, players respawn on their next life with 30 full hearts.
  • There is no boogeyman this season.
  • Keep Inventory is also on, so if someone dies, they keep their inventory and XP.

Drops

  • All hostile mobs have a chance to drop their egg. These eggs can also be obtained by completing secrets.
      - Though you can make spawners for most any hostile mob using the new crafting recipe (shown below), creeper spawners are NOT allowed due to op gunpowder farming.

Crafting

  • A new crafting recipe was added for spawners. This recipe includes 8 iron bars equally distributed across the crafting grid excluding the middle, like how one would make a chest with wood.
      - Creeper spawners are not allowed.

    Thanks to @cubage for building the Secret Keeper!
    CompatibilityMinecraft 1.13
    toMinecraft 1.20
    Tags

    32 Update Logs

    Update #32 : by Kirbycope 12/16/2023 1:28:46 amDec 16th, 2023

    Added Session 9!
    LOAD MORE LOGS

    Create an account or sign in to comment.

    1
    04/04/2024 4:02 pm
    Level 27 : Expert Cow
    solangeloo
    solangeloo's Avatar
    yo, I used this but I only have one problem. in secret life when you succeed it gives you the amount of hearts succeed gives u capped off at 30 hearts then gives you items if you have any extra heart that u didnt use, for example if i had 25 hearts and I succeeded I would be at 30 and gain 5 random items from an item pool. this isnt present in the datapack and I wanted to ask if it was intentional or not
    1
    04/04/2024 9:07 pmhistory
    Level 56 : Grandmaster Programmer
    Kirbycope
    Kirbycope's Avatar
    This is present and shown in the video demo, too.
    Here is the source code, github.com/kirbycope/secret-life-datapack/blob/main/datapacks/secret/data/secret/functions/reward.mcfunction
    1
    04/07/2024 9:39 am
    Level 27 : Expert Cow
    solangeloo
    solangeloo's Avatar
    yo, great plugin but do you know if I can somehow edit a task that is linked to multiple people, for example i wanna make a task where 3 people have to do the same thing together and they all get that task, or for example or somebody has a specific task and some people are tied to that task but the person who has the task doesnt know that the others are tied to it, basically just making it so if somebody gets a specific task thats tied to other people other people also get that task and have to do it
    1
    04/07/2024 2:25 pm
    Level 56 : Grandmaster Programmer
    Kirbycope
    Kirbycope's Avatar
    You can edit the books to say whatever you like, here is a link to the file for Session 1:https://github.com/kirbycope/secret-life-datapack/blob/main/datapacks%2Fsecret%2Fdata%2Fsecret%2Ffunctions%2Fsession1.mcfunction
    Edit them locally and you're all set.
    1
    04/08/2024 10:43 am
    Level 27 : Expert Cow
    solangeloo
    solangeloo's Avatar
    I know how to edit the tasks themselves but is there a way to tie tasks to multiple people? for example if one person gets a task other people also get that same task tied to that person, like in secret life when grian and etho had to get a warden and a wither to fight
    1
    04/05/2024 12:30 pm
    Level 27 : Expert Cow
    solangeloo
    solangeloo's Avatar
    I have no idea why it doesnt work for me
    1
    02/22/2024 1:04 pmhistory
    Level 1 : New Miner
    Arbit_
    Arbit_'s Avatar
    When I try start the session it says: You cannot trigger this objective yet. Help please because I am creating a server for my friends very soon

    Thanks!,
    Arbit_
    1
    02/20/2024 1:56 pm
    Level 1 : New Miner
    BOBIK2024
    BOBIK2024's Avatar
    Hello, I have an idea for you! You can do it when you answered correctly, a passage opens in the rock, personally, when I started watching videos on this datapack, I thought so at first!
    1
    02/11/2024 10:10 pm
    Level 1 : New Miner
    wvminecraftkid
    wvminecraftkid's Avatar
    So when i open this it doesnt give me the books, and when i try to start it manually it gives me the your secret is... 3 2 1 loop. Can someone help?
    1
    02/12/2024 4:02 pm
    Level 56 : Grandmaster Programmer
    Kirbycope
    Kirbycope's Avatar
    To get the books run, `function secret:session-start`. The loop means something happened with the scoreboards. You can run `init-world` and/or `init-player` to set them up again.
    Planet Minecraft

    Website

    © 2010 - 2024
    www.planetminecraft.com

    Welcome