Command Block

  • AlbertShym
    25th Oct 2014 Member 0 Permalink

    _____

    Edited once by AlbertShym. Last: 5th Jul 2019
  • G-LinuxorU
    25th Oct 2014 Member 0 Permalink

    https://powdertoy.co.uk/Wiki/W/Previously_requested_elements.html#CMND

    >Rejected - lua commands could be dangerous and contain viruses.

  • jward212
    25th Oct 2014 Member 0 Permalink

    yes you don't want malicious people giving you a script or command with something like os.execute(shutdown \a) when your doing school work or os.execute("start http://listen.abacus.fm/abba.m3u")  that runs every tick so you get spamed with windows(in which i've tried and is not cool)

    Edited once by jward212. Last: 25th Oct 2014
  • boxmein
    25th Oct 2014 Former Staff 2 Permalink
    Lua is way too powerful compared to what Minecraft's command blocks can do. Lua can run code in the system shell. Lua also has various control structures, which Minecraft doesn't.

    And, to cite some moderators, they don't want to add functionality that relies on how exactly particles work underneath - so when it's someday changed, then saves will not be affected. (except they kinda would)
  • bowserinator
    25th Oct 2014 Member 0 Permalink

    1. Lua can contain viruses

    2. People can make laggy saves that spark hundreds of blocks at the same time or go something like !set life deut 999999 and blow it all up while commands are running

    3. It would be cool!

  • Voyager15
    25th Oct 2014 Member 0 Permalink

    I WISH, but the danger is too much :(

  • jacob1
    25th Oct 2014 Developer 0 Permalink
    This may sound weird but I added DRAY as a workaround for needing an element like this sometimes. As long as you can isolate a single pixel of an element, DRAY can copy it anywhere by changing the .tmp and .tmp2 values.

    Running lua commands would of course be a bad idea though, and just make TPT even more complicated to learn. And you can't run the old format commands, because those are strings and also elements don't have access to the console. You would have to make a new format for commands that isn't lua or !set.
  • Voyager15
    25th Oct 2014 Member 0 Permalink

    @jacob1 (View Post)

     Which is what the community will do, to add command-block like features...