#function command not working

1 messages · Page 1 of 1 (latest)

summer pulsar
#

I just downloaded the "From the fog" datapack and tried to add it to my server. But when i try to use the command it says unknown function (i have op). What can i do to fix this? Have i downloaded something wrong?

royal boltBOT
# summer pulsar I just downloaded the "From the fog" datapack and tried to add it to my server. ...

It's possible there might be an issue with how the datapack or resource pack was installed. First, ensure the datapack is correctly placed in your server's datapacks folder. Then, ensure the resource pack is also added correctly, and it should also be placed in the resource packs folder if necessary. You can access the config using the command /function fromthefog:admin/config. If the problem persists, please double-check that the resource and datapack are from the same .zip and verify all files are correctly configured. If you are using Forge, ensure that mod resources are above Minecraft in the resourcepack list.

If these steps don't resolve the issue, it might be useful to double-check the file integrity or re-download the datapack.

summer pulsar
#

what do you mean by the same .zip?

royal boltBOT
# summer pulsar what do you mean by the same .zip?

The resource pack and the datapack for "From the Fog" come bundled together in the same .zip file. This means when you download "From the Fog," you should receive a single .zip file containing both the resource and datapack. You need to extract this .zip file and place its contents in the appropriate folders: the datapack files should go into your server's datapacks folder, and the resource pack files should be placed in your resourcepacks folder. This setup ensures everything works correctly, including any functions or commands.

summer pulsar
#

i dont think i have that, i downloaded thye datapack from modrinth, its a zip file which i extracted and when i open the file it has the license file, 2 pack files, a data file and an assets file

royal boltBOT
# summer pulsar i dont think i have that, i downloaded thye datapack from modrinth, its a zip fi...

It sounds like you have the correct .zip file, as the contents suggest it includes both the datapack (data and pack.mcmeta files) and the resource pack (assets folder). Here's what you should do to set it up correctly:

  1. Place the entire extracted contents (without separating them) into the datapacks folder of your Minecraft server. This ensures the server recognizes and loads the datapack.

  2. Additionally, the assets folder within that extracted contents can be placed into your game's resourcepacks folder if you're running the game, to ensure the resource pack is activated for visual and audio effects.

By doing this, you should have the datapack and resource pack both configured correctly. After restarting the server, try the command again and see if it works. If there are still issues, ensure no files were accidentally misplaced during this process.

summer pulsar
#

im pretty sure i did everything, it still doesnt work

royal boltBOT
# summer pulsar im pretty sure i did everything, it still doesnt work

If you've placed the full contents of the .zip into the datapacks folder and it's still not recognizing the command, the issue might be related to how the server is loading the datapack. Here are a few more steps to troubleshoot:

  1. Check Datapack Loading: Use the /datapack list command in your server console or game to ensure that the datapack is listed and marked as enabled.

  2. Reload Datapacks: You can also try reloading the datapacks by entering /reload in the server console or if you're in-game with appropriate privileges.

  3. Server Log: Look through the server log for any errors related to datapacks during startup, which might give more context about what's failing.

  4. File Structure: Ensure the structure of the folder you placed in the datapacks folder isn't nested incorrectly. The pack.mcmeta, data, and assets folders should be directly in the first level of the unzipped folder you placed.

If you're still unsure, you can do a fresh download of the pack from Modrinth to verify there were no issues during download or extraction, and repeat the setup. If the issue persist, consider reaching out to the server staff or through more specific support channels.

summer pulsar
#

i dont have a "pack.mcmeta" only 2 pack files

royal boltBOT
# summer pulsar i dont have a "pack.mcmeta" only 2 pack files

If the file is missing or incorrect, it could explain why the datapack isn't being recognized. A proper datapack should have a pack.mcmeta file at the top level of its directory. This file tells Minecraft important information about the datapack, such as its format version.

You could try downloading the datapack again from Modrinth to ensure you have all the necessary files. Once you have all the correct files:

  1. Ensure that in the root of the unzipped folder you place into the datapacks folder, there are:

    • pack.mcmeta file
    • data folder
    • assets folder
  2. If the pack still doesn't contain pack.mcmeta, it's possible there might be an issue with the download source or how the files are being extracted.

Having these files set correctly should allow the server to recognize and enable the datapack. If this still doesn't resolve the issue, it might be helpful to get specific assistance from someone familiar with Modrinth's hosting or files.

summer pulsar
#

the files type is mcmeta but there isnt a name like pack.mcmeta

royal boltBOT
# summer pulsar the files type is mcmeta but there isnt a name like pack.mcmeta

The pack.mcmeta file name is crucial for the datapack to be recognized by Minecraft. It sounds like the file has the correct .mcmeta extension, but possibly not the right base name. Double-check the file name:

  1. File Name: Ensure the file is named exactly pack.mcmeta. The name needs to be precise, as Minecraft will look specifically for pack.mcmeta to load the datapack.

  2. Naming: It's possible that your file or operating system settings are hiding file extensions. Make sure it isn't hiding .mcmeta and thus incorrectly naming the file (for example, pack.mcmeta.mcmeta).

After renaming the file (if needed), ensure this file is directly within the root directory of the unzipped folder you placed into your server's datapacks folder. This should help the server recognize and load the datapack correctly.

If you're still experiencing difficulties, you can try downloading the pack again to ensure no files were improperly named during extraction.

summer pulsar
#

okay i renamed it but what do i do with the other pack file which is an image

royal boltBOT
# summer pulsar okay i renamed it but what do i do with the other pack file which is an image

The image file you're referring to is likely pack.png. This file is usually an optional image associated with the datapack for identification purposes and doesn't affect whether the datapack functions correctly.

Here's what you should do:

  1. Keep the pack.png in the same directory as pack.mcmeta. This setup is typical for datapacks and resource packs.

  2. Ensure that your folder structure looks like this:

    • pack.mcmeta
    • pack.png (optional, for visual representation)
    • data (folder)
    • assets (if present as a part of the pack)

Make sure that after renaming and setting up the files correctly, you place the folder (containing pack.mcmeta and data along with the other necessary folders) directly into the datapacks folder on your server. Then, restart the server and check if the issue is resolved. If further difficulties persist, consider checking for any server-specific issues, or errors in the log, or reaching out for more technical support.

summer pulsar
#

still does not work, though the server recognises the pack

royal boltBOT
verbal cliff
summer pulsar
#

1.21.5

royal boltBOT
# summer pulsar 1.21.5

That might be the issue, as "From The Fog" is designed for specific versions of Minecraft, typically released versions prior to 1.21.5. You should verify the version compatibility on the download page from Modrinth or their official documentation to ensure you're using a supported Minecraft version for the datapack. If there's a mismatch, you may need to adjust your server's Minecraft version accordingly or check for an updated pack that supports 1.21.5.

verbal cliff
#

there is no 1.21.5 version available

royal boltBOT
verbal cliff
#

Twilight I've got it from here

summer pulsar
#

oh my

#

im so stupid

verbal cliff
#

The latest version is for 1.20.4-1.20.6

summer pulsar
#

okay yes i just realized

#

thank you for the help and when is the new version coming out