ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Minecraft Command Format

by destruc7i0n ALL

A Sublime Text Plugin to Format Minecraft Commands

Details

Installs

  • Total 4K
  • Win 3K
  • Mac 389
  • Linux 274
Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20
Windows 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 2 1 1 0 0 0 0 1 0 0 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Minecraft Command Formatter

A Sublime Text Plugin to Format Minecraft Commands

Installation

Install this Sublime Text 2/3 package via Package Control search for package: “SublimeMinecraftCommandFormat

(How-To here: https://packagecontrol.io/installation , message me if needed more info)

or manually install

  • cd <Packages directory>
  • git clone https://github.com/destruc7i0n/SublimeMinecraftCommandFormat.git
If you do not have git or Package Control
  • Download me and extract.
  • Place the folder inside that one into <Packages directory>. (At the Preferences > Browse Packages... menu item in Sublime Text 2/3 to get into Packages folder!)

Usage

To prettify your command, make selection of the command (or else it will try to use full view buffer) and go to the Command Palette Ctrl+Shift+P. Find “Minecraft Format: Format (Pretty Print) Minecraft Command” (you can search for part of it like 'minecraft format')

Compress / Minify JSON

Using Command Palette Ctrl+Shift+P find “Minecraft Format: Minify (compress) Minecraft Command” (you can search for part of it like 'minecraft minify'). This convert the whole document or your selection as one line command which later you can use in your command blocks.

Thanks