(As will become apparent when you start reading, I'm talking about Java Edition.)

Commands in Minecraft are very versatile, and new updates are making them even more versatile. There are lots of different questions out there that ask for how to accomplish different tasks, from as simple as giving items with enchantments, to complicated stuff like teleporting to scoreboard values.

But now I'm going to get into the more technical stuff.

Minecraft is known for being Turing-complete, not only in redstone, but also in commands, meaning that there's no limit to what the commands and redstone can do. It could even be argued that learning MC commands is similar to learning a new coding language, but having it integrated into a video game.

Being an avid computer science student, there are lots of questions related to the more scripting side of commands floating around in my brain. I want to find some place to post them and get answers, but I want to ask whether they would be appreciated here. I'm not as concerned about getting answers quickly, this is a question about whether these questions would be welcome on this great knowledge base. Some of the questions I would ask include things like:

  1. How do I concatenate two strings in NBT?
  2. How do I split a string at an arbitrary index in NBT?
  3. How do I convert between different data types in NBT?

But I'm not sure whether I'm beginning to push the boundaries of gaming here. To what extent will these types of questions be welcomed? If not, what other sites would accept such questions?

This goes without saying, but of course I'll research this stuff first, but I doubt I'll find much because not many people "code" in Minecraft.

  • 3
  • 1
    I'd say as long as it's in the game (scoreboard, commands, ...) it fits in here just fine. Coding questions outside of the game (plugin development, scripting, etc.) should be asked on SO.
    – dly
    Nov 24, 2020 at 8:12
  • WRT the three examples, they're all probably best suited to be asked here; the acceptable scope on other SEs, especially SO is too narrow for those questions.
    – MBraedley
    Nov 24, 2020 at 16:11
  • In my opinion I think that that should be okay, but one thing to keep in mind is that different people think certain things are off topic, and anything beyond the realm of WASD playing the basic game seems to get people calling it off-topic sometimes.
    – Penguin
    Nov 24, 2020 at 16:14
  • 1
    The last two questions are off-topic because they are trivially reducible to "how do I represent floating point numbers using integers", which is not at all gaming-specific. I'm less sure about the first question.
    – pppery
    Nov 24, 2020 at 21:03
  • That's actually the same question, as a representation of floating-point numbers necessarily includes a way of converting them to native integers.
    – pppery
    Nov 24, 2020 at 21:15
  • @BoogaRoo but if the constant fear is the “gimme da code” question, then stack overflow should have the same constant fear. Of course there will be people saying “gimme the code” and plenty of people already do that.
    – Penguin
    Nov 24, 2020 at 22:13
  • 1
    @Penguin & BoogaRoo - RE 'gimme teh codez' - you've both touched on what is known as the Help Vampire problem, and we have tools (close reasons) to limit their reach. Basically, be diligent in flagging/closing as 'Needs focus' ("How do I build a minigame in Minecraft?"), or 'Needs details or clarity' ("My command isn't working help")
    – Robotnik Mod
    Nov 24, 2020 at 22:31
  • @Robotnik xD that article is really deep into roleplay
    – Penguin
    Nov 24, 2020 at 23:20
  • @pppery I've replaced these questions with others. Are these questions better fits? Nov 25, 2020 at 0:26
  • I agree that your replacement questions are probably on topic.
    – pppery
    Nov 25, 2020 at 3:18

1 Answer 1


The example questions you've listed are nowhere near as complex as some that have already been "accepted" on this site and also answered. Here are some of my personal highlights:

If a question is about an entire commands system that is even more complex, it's still fine to ask about some general ideas and input, for example this has been done here: How do I display how many ore are in a single vein?

It's mainly just a matter of scope. If someone dumps a 1000 character command into the question and says "this no work, plz fix" or if someone demands an entire adventure map to be made for them, then the question is too broad and should be more focused.

The answers to your first and second question are mainly made complicated by the fact that Minecraft doesn't have proper string manipulation commands, but there are workarounds. All three questions sound like they could be valuable additions to this Q&A site.

  • That sounds great! I've slightly changed my exact list of questions that I will choose to ask to make them simpler, and they can be applied to more complicated problems. Nov 26, 2020 at 16:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .