Adam Eliáš

i have a question

Kodari AI
KodariOct 23 at 12:09 pm 1

Sure—what’s your question?

Adam Eliáš

can i import a datapack in to you and you will do something with it

Kodari AI
KodariOct 23 at 12:10 pm 1

Yes. Add the existing datapack project to this workspace from the workspace view, then tell me what you’d like me to do with it—such as explain how it works, fix an issue, or add a feature. I can’t import it into the workspace for you.

Adam Eliáš

how

Kodari AI
KodariOct 23 at 12:10 pm 1

In the Kodari workspace view, choose Add existing project and select your datapack project. Once it appears in this workspace, tell me what you’d like to ask about it.

Adam Eliáš

you have it?

Kodari AI
KodariOct 23 at 12:11 pm 1

Yes—I have OptiFine_1 (2) in this workspace. It’s a Minecraft datapack project. What’s your question?

Adam Eliáš

can you make it so that when i do /trigger nuke and i will get some thing out of it or even do it nothing from it will show up in the console

Kodari AI
KodariOct 23 at 12:13 pm 1

The datapack already gives you a nukeshot fishing rod with /trigger orbital set 2, but /trigger nuke isn’t set up. Do you want /trigger nuke to give you that same rod—and by “nothing in the console,” do you mean no messages in the server console, or no messages in your in-game chat either?

Adam Eliáš

only the console i want the messages in my chat so i can see the menu just the console

Kodari AI
KodariOct 23 at 12:16 pm 1
Delegated to OptiFine_1 (2) Queued
Modify this Minecraft datapack so the authorized player can use `/trigger nuke` to open the existing Orbital Strike Cannon chat menu, while keeping that menu visible in chat and suppressing command feedback/log output associated with using `/trigger nuke` as much as vanilla datapack mechanics allow. Existing relevant files: `data/optifine_1/function/load.mcfunction` defines trigger objectives including `orbital`; `data/optifine_1/function/tick.mcfunction` enables `orbital` only for ColdMangoX and dispatches positive orbital scores; `data/optifine_1/function/trigger/menu.mcfunction` sends the menu via tellraw; `data/optifine_1/function/trigger/handle.mcfunction` processes orbital values; pack format 101. Implement a separate `nuke` trigger objective enabled only for ColdMangoX and processed to invoke the existing menu (do not replace or break the orbital menu/actions). Reset the trigger score after handling and make sure unauthorized players cannot use it. Preserve the tellraw chat menu. Investigate the appropriate vanilla mechanism for keeping `/trigger nuke` feedback out of the server console; do not unnecessarily disable unrelated logging/chat or change global gamerules unless truly required. If Minecraft cannot suppress only this command's server-console logging from a datapack, leave the least invasive implementation and clearly state that limitation in your completion report rather than changing broad settings. Do not add tests. Finish by making the requested datapack file changes only.

I’ve started adding /trigger nuke so it opens the existing menu in your chat, while keeping console output suppressed as far as the datapack allows. I’ll avoid changing server-wide logging unless it’s necessary.

Adam Eliáš

keep it same in any other way

Kodari AI
KodariOct 23 at 12:16 pm 1

Understood—I’ll keep everything else unchanged. The only intended change is making /trigger nuke open the existing chat menu, without affecting the current orbital trigger or other datapack behavior.

Adam Eliáš

so its same as before but only thing is that it dosent show up on console

Kodari AI
KodariOct 23 at 12:17 pm 1

Got it—keep the existing behavior and menu unchanged. One limitation: a datapack can’t silence only /trigger nuke in the server console; turning off command logging would also affect other commands. I won’t change server-wide logging settings.

Report from 1 project
TaskModify this Minecraft datapack so the authorized player can use `/trigger nuke` to open the existing Orbital Strike Cannon chat menu, while keeping that menu visible in chat and suppressing command fe...
  1. Add a separate nuke trigger objective and enable/process it only for ColdMangoX.

  2. Route successful triggers through a small handler that opens the existing tellraw menu and resets the score.

  3. Leave global gamerules unchanged; vanilla datapacks cannot silence only this command’s normal feedback/server logging.Added the separate nuke trigger. Only ColdMangoX is enabled to use it; a positive score opens the existing tellraw menu and is then reset. The existing orbital trigger and its actions are unchanged.

Vanilla has no datapack mechanism to suppress feedback or server-console logging for just /trigger nuke. The relevant gamerules (sendCommandFeedback and logAdminCommands) apply broadly, so I left them unchanged. The menu remains visible via tellraw.

To install: download the ZIP using the export button, extract the datapack folder into world/datapacks/, run /reload, and check /datapack list. As ColdMangoX, test with /trigger nuke; /function optifine_1:trigger/menu directly displays the menu.

Kodari AI
KodariOct 23 at 12:18 pm 1

I kept the existing orbital trigger and menu actions unchanged. /trigger nuke now opens that menu in your chat, but a datapack can’t hide only that command’s output from the server console. The settings that affect it also apply to other commands, so I left them alone.

I couldn’t run a build check because datapack projects aren’t compilable through the workspace tool.

Adam Eliáš

EVERY THING UNCHANGED EXEPT NO MESSAGE IN CONSOLE ?

Kodari AI
KodariOct 23 at 12:19 pm 1

I understand: you want everything to work exactly as before, but no /trigger nuke message in the console.

A datapack can’t hide just that command’s console log. Doing so needs a server plugin or a server-side log filter; the vanilla setting affects other commands too. So I can’t make that one exception in this datapack without changing something else.

Adam Eliáš

how do i do that

Kodari AI
KodariOct 23 at 12:20 pm 1

If you own the server, enter this in the server console:

Plain Text
gamerule logAdminCommands false

That stops admin-command logging broadly, not just /trigger nuke. Your menu should still appear in chat because the datapack sends it separately with tellraw. To turn command logging back on:

Plain Text
gamerule logAdminCommands true

To hide only /trigger nuke while leaving other command logs alone, you’ll need a server plugin or a host-side log filter; a datapack can’t do that selectively. Avoid changing sendCommandFeedback if you want to keep other command feedback unchanged.

Adam Eliáš

so i can even take the original one and and just do /gamerule log_admin_commands false ?

Kodari AI
KodariOct 23 at 12:22 pm 1

Yes—you can use the original datapack and set that gamerule. In-game, run:

Mcfunction
/gamerule log_admin_commands false

Your menu should still appear in chat. This suppresses logging for all admin commands, not just /trigger nuke. If your Minecraft version doesn’t recognize the underscored name, use tab-completion after /gamerule—some versions call it logAdminCommands.

Adam Eliáš

but the console will remain emopty

Kodari AI
KodariOct 23 at 12:44 pm 1

No. log_admin_commands false only disables admin-command logging; it doesn’t make the console empty. The console can still show server messages, player joins/leaves, warnings, errors, and other output. It also isn’t a reliable way to hide only /trigger nuke—it affects command logging broadly.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code