Essentials in Vanilla (substantial datapack 1.15.2/1.16)

  • check_circle Functions
                    • 23 diamonds
                    • 16,957 views, 45 today
                    • 1,521 downloads, 7 today
                    • 62 comments
                    • 21 favorites
                    avatar CubeDeveloper
                    Level 47 : Master Blockhead
                    80
                    Substantial Pack By CubeDeveloper


                    DISCLAIMER: please do not change the /gamerule keepInventory directly, you can instead use the command /trigger keepInventory to do so. The reason being that I had to create a custom death loot drop system, and changing the gamerule would stop the system from working properly.

                    If you want to equip an helmet simply put it in your offhand slot :)



                    Adding this datapack to your vanilla minecraft server (tested in 1.15.2, it should also work in 1.16 snapshots) will allow players to use a variety of commands similar to the ones you can use in the essentials plugin. The datapack includes these commands:


                    /function substantial:a/op (gives OP permissions to the player executing the function)
                    /trigger help (opens up the help tab)
                    /trigger sethome set n (create or replace an existing home)
                    /trigger set_max_home set n (sets the maximum amount of homes per player, OP only)
                    /trigger keepInventory (changes the keepInventory gamerule, OP only)
                    /trigger helmet (used to unequip your helmet)

                    /trigger home set n (teleports you to the specified home)
                    /trigger set_spawn (sets the world spawn at your position and rotation)
                    /trigger spawn (teleports you to the spawn, if it has been set before)
                    /trigger set_tp_delay set s (sets the amount of seconds you need to wait between multiple teleports)
                    /trigger tpa set ID (sends a teleport request to the player with the specified ID)
                    /trigger tpacc (accepts a pending teleport request)
                    /trigger back (teleports you back to your previous location)



                    Permissions datapack: https://www.planetminecraft.com/data-pack/permissions-in-vanilla-1-15-2-1-16-datapack/

                    Permissions list :
                    substantial.+ (adds every substantial permission)
                    substantial.- (removes every substantial permission)
                    substantial.default (adds default permissions)


                    Default :
                    substantial.sethome
                    substantial.helmet
                    substantial.spawn
                    substantial.tpacc
                    substantial.back
                    substantial.home
                    substantial.tpa


                    Admin :
                    substantial.keepInventory
                    substantial.set_tp_delay
                    substantial.set_max_home
                    substantial.set_spawn



                    I hope you guys will find this datapack useful, it didn't took me that long to make but I'm kinda proud of how it turned out being. In the future I will publish more datapacks based on bukkit plugin (all compatible with this) so if you are interested stay tuned for updates :D

                    If you experience any bugs while using this datapack please join my discord server, there is a channel dedicated to bug reports. You will also get featured in the next update log :)


                    🎮 My discord server: https://discord.gg/rcTtS3d
                    🎥 YT Channel: https://www.youtube.com/channel/UCPe-Jo3jX9bVuSNWmB1Y2dA
                    CreditImamoMC for giving me inspiration for this pack
                    CompatibilityMinecraft 1.15
                    toMinecraft 1.16
                    Tags

                    8 Update Logs

                    Substantial update #8 : 06/24/2020 9:56:34 amJun 24th, 2020

                    Fixed a major bug that basically made the datapack unusable, just a really dumb mistake on my part ;-;
                    LOAD MORE LOGS

                    1
                    11/20/2020 8:39 pm
                    Level 19 : Journeyman Miner
                    notnew12345
                    Just to let you know I got a idea for more permissions like: [​/trigger wild, /trigger set_tp_distance & /trigger set_tpwild_delay].
                    2
                    07/18/2020 8:20 am
                    Level 1 : New Miner
                    dzible
                    Hello !

                    We got a big probleme with the latest version of your datapack. When we die, we loose some part of our stuff (like armor, block or tools/weapon)



                    In the update 6 we didn't have this problem but we couldn't try the 7th update.
                    3
                    07/02/2020 3:38 pm
                    Level 1 : New Miner
                    TheZentiix
                    problem with the ¨¨datachip¨¨ in the helmet slot

                    I have a problem with the button (¨¨data chip¨¨) that is in the box where the helmet should go, it does not let me remove the datachip and I would like to know some option to be able to remove it.
                    2
                    07/02/2020 6:46 pm
                    Level 5 : Apprentice Miner
                    UncleMattJG
                    the button saves NTB data for the teleport commands i beleave. you cant remove it. if you want a helmet on you have to put it in your off hand and it will be swapped onto your head! and the NTB data will be transferred to your helmet.



                    Is that right CubeDeveloper
                    2
                    07/07/2020 3:42 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Thanks @UncleMattJG for the explanation! That's right, the button isn't supposed to be removed, I use it to store useful nbt tags such as the different home locations
                    2
                    07/02/2020 2:07 am
                    Level 5 : Apprentice Miner
                    UncleMattJG
                    i am unable to turn keepInventory off at all. where should i look?

                    ive tried removing keepInventory from the permission files and when i use the command /gamerule keppInventory false something changes it back automaticaly. how do i sto pthis from happening?
                    2
                    07/02/2020 7:12 am
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    To use /trigger keepInventory you need the required permissions, here is how to obtain them:

                    /function substantial:a/op

                    or:

                    /tag @s add substantial.+

                    now you should be able to turn it on/off
                    2
                    07/02/2020 6:38 pmhistory
                    Level 5 : Apprentice Miner
                    UncleMattJG
                    im already op

                    do i need to use /trigger keepInventory set [​something]



                    plus, how do you set owner/mod etc?
                    2
                    07/07/2020 3:46 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    If you want more control over permissions you can download my Permissiins datapack that works with substantial, there is also a YT video tutorial that explains how to use it
                    2
                    07/06/2020 2:04 am
                    Level 5 : Apprentice Miner
                    UncleMattJG
                    found the keepInventory problem. the line



                    gamerule keepInventory true

                    was added to the top of

                    substantial-1-8\data\substantial\functions\step.mcfunction
                    1
                    07/07/2020 3:45 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Wait, don't remove that line from the step function. That's why I've created a custom keepInventory system. In order for the datapack to work correctly the original keepInventory gamerule must be always set to true, if you have op permissions you can use /trigger keepInventory to change it, but don't modify the actual gamerule.
                    2
                    06/28/2020 10:41 am
                    Level 1 : New Crafter
                    skythebro
                    The

                    keepInventory
                    set_tp_delay
                    set_max_home
                    set_spawn
                    functions/triggers seem to be completely broken in 1.16.
                    2
                    06/28/2020 11:12 am
                    Level 1 : New Crafter
                    skythebro
                    seem to have fixed it by using that op command : /function substantial:a/op
                    2
                    06/29/2020 10:37 am
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    yeah using /function substantial:a/op grants you all substantial permissions, if you are interested in creating your own custom permissions you can also download my Permissions datapack which is compatible with substantial, there is a tutorial on the planet minecraft page aswell:

                    https://www.planetminecraft.com/data-pack/permissions-in-vanilla-1-15-2-1-16-datapack/

                    you can also use these default commands:

                    /tag @s add substantial.+ grants all substantial permissions
                    /tag @s add substantial.- removes all substantial permissions
                    /tag @s add substantial.default grants default substantial permissions
                    2
                    06/23/2020 8:44 pm
                    Level 1 : New Miner
                    Latin_Loser
                    I think it still needs another update for 1.16 because so far I haven't gotten it to work even when following the video provided
                    1
                    06/24/2020 9:39 am
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    It seems like with the 1.16 update the datapack no longer works correctly, I'm currently trying to fix all the bugs and I'll update the pack as soon as possible :)
                    2
                    06/23/2020 6:46 pm
                    Level 6 : Apprentice Miner
                    TribTrub
                    does this work in singleplayer 1.16?
                    I'm asking because I installed the datapack, and none of the /trigger commands work.
                    2
                    06/24/2020 9:39 am
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    It seems like with the 1.16 update the datapack no longer works correctly, I'm currently trying to fix all the bugs and I'll update the pack as soon as possible :)
                    2
                    05/09/2020 12:04 pmhistory
                    Level 1 : New Miner
                    dzible
                    I can't see the result of command since i put it on my world, like /gamemode creative where i can't see the usual "your gamemode has been set to creative or somethinh like that. And i can't loose xp too
                    2
                    05/09/2020 8:46 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    If you want to see command feedback type /gamerule sendCommandFeedback true, I disable it in every datapack I make because it makes the /trigger command less intrusive, since it doesn't show in chat the updated score. What do you mean when you say that you can't lose xp?
                    1
                    05/10/2020 11:37 am
                    Level 1 : New Miner
                    dzible
                    What i mean when i say i did'nt loose xp is when i die, i don't loose xp. (if i enchant something i loose it)
                    2
                    05/07/2020 11:34 amhistory
                    Level 1 : New Miner
                    Davedave0002
                    /trigger helmet doesn't seem to work. It won't even auto complete when typing the command. I updated from the 1.1 version to the 1.6 version recently. I deleted the entirety of the old version before putting the new one in.
                    1
                    05/07/2020 6:51 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Thank you for the report! You can try to set your substantial permissions with /tag @s add substantial.default, if you still can't use the command try to do /trigger help, can you see the command to remove the helmet listed there?

                    If all others command work then it's most likely a bug, I'll test the pack a bit more to figure out why that happens :)
                    2
                    05/09/2020 2:07 pm
                    Level 1 : New Miner
                    Davedave0002
                    I added the tag and it seems to work now. Thank you.
                    1
                    05/10/2020 4:42 am
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    I'm glad it works now :)
                    2
                    05/05/2020 2:12 am
                    Level 1 : New Miner
                    EnderMineVN
                    Can you add tp command llike : /trigger tp set <id that r next to the ping on the tab list> (only for OP)
                    1
                    05/05/2020 1:00 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Nice suggestion! I will add it in a future update :)
                    3
                    05/03/2020 11:11 am
                    Level 1 : New Miner
                    Janglemation
                    I used set_spawn thinking it would be like a warp, but it overrides bed spawning, which i don't want. Is there any way to disable this?
                    1
                    05/03/2020 8:06 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    In the current substantial version you get teleported to the spawn after dying and there is no real way of disabling it, thank you for the suggestion, I can add the option in a future update. What you can do instead is type /trigger back to return to your previous location (whenever you die the death position gets saved, so you can quickly come back to retrieve your items) what you can also do is /trigger sethome, that you can later use to return to a previously setted home
                    2
                    04/30/2020 11:59 am
                    Level 11 : Journeyman Miner
                    SuperSlayer369
                    There is a bug in update #5 where substantial/functions/commands/setup no longer works, so the triggers are not created and the datapack is broken. I really hope this bug gets fixed soon because, as I said, I was planning to use this datapack for my Realm which I was planning to purchase and release either on May 1st (the first day of the month) or May 9th (my 13th birthday). Oh well, I guess I can just use update #4.
                    1
                    04/30/2020 8:21 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Thank you very much for the report! You aren't the only one having issues with the latest substantial version, I'll fix this bug as soon as possible. As you can see I'm very bad at finding bugs, so your comments are always appreciated :)
                    2
                    04/29/2020 2:45 pmhistory
                    Level 1 : New Miner
                    Poetic_Phantom
                    So the /trigger keepinventory command isnt actually turning it off, why is that? do i gotta do /reload or something?
                    1
                    04/30/2020 8:42 am
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    /trigger keepInventory doesn't change the standard minecraft gamerule, I had to recreate the death loot mechanic for the datapack to work. It should work just like the normal keepInventory gamerule tho, when it's false you should drop your items upon death, and if it's true you won't :)
                    2
                    05/01/2020 1:08 am
                    Level 1 : New Miner
                    Poetic_Phantom
                    ya i figured thats how it worked! but loot wasnt being dropped upon death on false or true
                    1
                    05/01/2020 4:38 am
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    It seems like there are some bugs with the latest substantial version, I'll fix them as soon as possible :)
                    2
                    04/26/2020 10:21 pm
                    Level 9 : Apprentice Artist
                    angelkiwi
                    You're so awesome for doing this!!!
                    2
                    04/27/2020 4:46 am
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Thank you! I would like to recreate a ton more plugins in vanilla, since it seems like this one has been used by quite some people.Next plugin will probably be permissions, and economy :)
                    2
                    04/27/2020 7:15 am
                    Level 11 : Journeyman Miner
                    SuperSlayer369
                    I can't wait for more!
                    2
                    04/27/2020 5:19 am
                    Level 9 : Apprentice Artist
                    angelkiwi
                    That sounds amazing tbh! You're so ambitious for tackling this, but I love it for it! I'll finally be able to have these while playing LAN with my fiance, which is SO freaking useful since we only like to play in vanilla single player. You've definitely made MY life easier, and I'd give you all the emeralds if I could.
                    I eagerly wait to see what you create next!
                    2
                    04/27/2020 9:27 am
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Thank you very much! This type of comments keep me motivated to do my best :D
                    2
                    04/27/2020 6:25 pm
                    Level 9 : Apprentice Artist
                    angelkiwi
                    You're doing great! Excited to see where you go. :)
                    1
                    04/27/2020 7:21 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Thanks again! I've just uploaded a permission datapack that works along this one :)
                    2
                    04/25/2020 12:23 pm
                    Level 11 : Journeyman Miner
                    SuperSlayer369
                    I know that I have already posted 2 replies and I am sorry for bothering you (and very grateful that you replied to me) but am I allowed to edit the teams?
                    1
                    04/25/2020 2:07 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Sure! Feel free to modify it however you want, if you publish your own version maybe just give me credit for the original datapack, apart from that you can use/modify it as you please :)
                    2
                    04/26/2020 8:35 am
                    Level 11 : Journeyman Miner
                    SuperSlayer369
                    Thank you so much! I won't publish it and I will give you credit, I just wanted to change the teams and add things like rtp, ban, and such.
                    2
                    04/25/2020 8:09 am
                    Level 1 : New Miner
                    Slyc
                    Nice data pack but how can I delete it fully because I want to reinstall because the commands that I can trigger is duplicated
                    1
                    04/25/2020 2:10 pmhistory
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    Thanks for the comment! You are right, I forgot to add a function that lets you reset everything, in case you want to reinstall it. The tedious way would be to do this:

                    /gamerule sendCommandFeedback true

                    /scoreboard objectives list

                    Then use this command to remove the objectives:

                    /scoreboard objectives remove tp_accept
                    /scoreboard objectives remove tp_request
                    /scoreboard objectives remove "objective name here"
                    2
                    04/25/2020 7:32 amhistory
                    Level 1 : New Miner
                    Davedave0002
                    Nice data pack, but I don't want the custom death system. Is there a way to remove it without breaking the entire pack? I also want to remove the helmet mechanic as well.
                    2
                    04/25/2020 2:05 pm
                    Level 47 : Master Blockhead
                    CubeDeveloper
                    The custom death mechanic is needed for the datapack to work, I hope it's not too annoying. I need to store NBT tags inside of your helmet slot, that is why swapping helmets is done by putting them in the offhand and why I implemented the custom death loot system
                    2
                    04/25/2020 3:05 pmhistory
                    Level 1 : New Miner
                    Davedave0002
                    I see. I'm testing it right now and I realize I can't remove the helmet when I equip it. What do I do when I want to remove the helmet and go back to the button?



                    Edit: Further testing was done with death mechanics. It appears that when you have a completely full inventory and die with the data pack's 'keepInventory' function turned off, 5 random inventory slots with the exception of your armor and off-hand slots, are completely destroyed.
                    Planet Minecraft Logo

                    Website

                    © 2010 - 2021
                    www.planetminecraft.com

                    Welcome