From 874cb3f86fff968924ad11c712f6488adb74d3a4 Mon Sep 17 00:00:00 2001 From: KyGuy2002 Date: Tue, 19 Apr 2022 15:46:51 -0700 Subject: [PATCH 01/19] Initial commit --- example.show | 132 +++++++++++++++++++++++ syntax.md | 294 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 426 insertions(+) create mode 100644 example.show create mode 100644 syntax.md diff --git a/example.show b/example.show new file mode 100644 index 0000000..d122094 --- /dev/null +++ b/example.show @@ -0,0 +1,132 @@ +########################### Show Details +Show Location 0,10,0 +Show TextRadius 150 +Show Name example + + + + + +########################### Start Sequence + +# Set time night +0 Command time set midnight + + +# Start background music in show region +0 AudioRegion show-region 200 70 https://media.server.net/audio/music/show.mp3 + + +# Starting msg +0 Text &eWelcome to the example show! Please wait, the show will be starting very soon. + + +# Welcome title +0 Title title 10 10 40 &aWelcome +0 Title subtitle 10 10 40 &eShow starting soon! + + +# Podium raise up +0 Block STONE 0,11,0 +1 Block STONE 0,12,0 +2 Block STONE 0,13,0 + + +# Paste castle in background +#0 Schematic castle 0 12 0 show-world true + + +# Change stairs to yellow (Packets only) +0 FakeBlock SANDSTONE_STAIRS 0,11,0 STAIRS,TOP,SOUTH,STRAIGHT +0 FakeBlock SANDSTONE_STAIRS 1,10,0 STAIRS,TOP,SOUTH,STRAIGHT +0 FakeBlock SANDSTONE_STAIRS 2,9,0 STAIRS,TOP,SOUTH,STRAIGHT + + +# Pulse redstone signal to start command blocks for waterfall +5 Pulse 0,5,0 + + + + + +########################### Castle Explosion + +# Lightning strikes top of castle +5 Lightning 0,56,0 + + +# Explosion on strike +5.5 Particle SMOKE 0,56.3,0 2 0.2 4 0 20 + + +# Explosion sound +5.6 AudioOnce 70 https://media.server.net/audio/effects/explosion.mp3 + + +# Blocks from castle fly out at audience +5.6 Fountain SPRUCE_PLANKS 5 0,56,0 2,0.3,0 + + +# Explosion fireworks +Effect fire BURST,255;255;255&RED,YELLOW,FLICKER +5.6 Firework 0,56,0 fire 1 0,1,1 1 +5.6 Firework 0,56,0 fire 1 0,1,-1 1 + + +# Big firework comes to audience +Effect bigFire BURST,255;255;255&WHITE,ORANGE,FLICKER +5.6 PowerFirework 0,56,0 bigFire 1,1,0 + +# Make all players glow yellow +6 Glow RED 0,12,0 50 +12 GlowDone + + +# interval must be int, no decimal -------------- +# explosion name must be all caps ----------- +# Explosions all over ground from blocks that fly out (Repeating action) +8 Repeat 5 1 Particle SMOKE 10,12,0 2 0.2 4 0 20 + + + + + +########################### Announcer + +# Spawn announcer +ArmorStand announcer false LEATHER_HELMET,LEATHER_CHESTPLATE,LEATHER_LEGGINGS,LEATHER_BOOTS,STONE ------------- +0 ArmorStand announcer Spawn -6,12,0,0 + + +# Open door +0.2 FakeBlock DARK_OAK_DOOR -5,12,0 DOOR,BOTTOM,WEST,TRUE,LEFT +0.2 FakeBlock DARK_OAK_DOOR -5,13,0 DOOR,TOP,WEST,TRUE,LEFT + + +# Walk up to podium +1 ArmorStand announcer Move 0,12,0 3 + + +# Close door +1.5 FakeBlock DARK_OAK_DOOR -5,12,0 DOOR,BOTTOM,WEST,FALSE,LEFT +1.5 FakeBlock DARK_OAK_DOOR -5,13,0 DOOR,TOP,WEST,FALSE,LEFT + + +# Wave +4 ArmorStand announcer Position ARM_LEFT 0,5,3 0.7 + + +# Play cat disk (2257) +4 Music 2257 + + +# Turn around +6 ArmorStand announcer Rotate -180 1 + + +# Walk away +6.7 ArmorStand announcer Move -6,12,0 3 + + +# Despawn +9 ArmorStand announcer Despawn \ No newline at end of file diff --git a/syntax.md b/syntax.md new file mode 100644 index 0000000..7fcebcb --- /dev/null +++ b/syntax.md @@ -0,0 +1,294 @@ +# Show Plugin Syntax & Actions +All the available actions will be explained in detail below. +All action lines begin with ``, which is how many seconds from the time you start the show before that line is run. +We will omit this argument from the rest of the doc, but it is **mandatory** for all arguments. +
+ +## Show Definitions +All show files **must** begin with the below header. +These lines **do not** start with ``. +``` +Show Location +Show TextRadius +Show Name +``` +`x,y,z` The center of the show. +`Radius` How far away from the shows center will players receive messages from the show. +`Name` The name of the show. +
+ +## Text Actions + +### Text +This sends a simple message to all players in the shows `TextRadius`. +``` +Text +``` +`Text` The text to send, with minecraft formatting codes supported. [Formatting Codes Cheatsheet](https://htmlcolorcodes.com/minecraft-color-codes/) +
+ +### Title & Subtitle +Show a title or subtitle in the middle of players screens. +``` +Title +``` +`Type` Type of title: `title` or `subtitle`. +`In` Fade in speed. +`Out` Fade out speed. +`Stay` How long to show. +`Text` The text to show, with minecraft formatting codes supported. [Formatting Codes Cheatsheet](https://htmlcolorcodes.com/minecraft-color-codes/) +
+ +## Block Actions + +### Real Blocks +Places real blocks, just as if a player did. +``` +Block +``` +`BlockName` Human-readable name of the block. [Block Names & Ids](http://minecraft-ids.grahamedgecombe.com/) +`x,y,z` Coordinates to place the block at. + +
+ Click To View 1.12 Syntax + +``` +Block +``` +`id:data` Numerical id of the block. [Block Names & Ids](http://minecraft-ids.grahamedgecombe.com/) +`x,y,z` Coordinates to place the block at. +
+
+ +### Fake Blocks +Uses packets to make the player think a block was placed, when really its not. +``` +FakeBlock +``` +`BlockName` Human-readable name of the block. [Block Names & Ids](http://minecraft-ids.grahamedgecombe.com/) +`x,y,z` Coordinates to place the block at. +`data` Extra block data (Optional) [Block Data Guide](http://UNKNOWN/) + +
+ Click To View 1.12 Syntax + +``` +FakeBlock +``` +`id:data` Numerical id of the block. [Block Names & Ids](http://minecraft-ids.grahamedgecombe.com/) +`x,y,z` Coordinates to place the block at. +
+
+ +### Pulse +Quickly places and removes a Redstone block, used as a button to start command-block chains and anything else. +``` +Pulse +``` +`x,y,z` Coordinates to place the block at. +
+ +## Other Effects + +### Lightning +Summons and lightning bolt. +``` +Lightning +``` +`x,y,z` Coordinates where the lightning will hit. +
+ +### Particles +Summons and lightning bolt. +``` +Particle +``` +`type` Human-readable name of the particle. [Supported Particle Names](https://docs.google.com/spreadsheets/d/1bqOeC0kg2VRLa5oGHhfYkyoyWwz7Mlt_i0LHrMZ6dvg/edit?usp=sharing) +`x,y,z` Coordinates where the lightning will hit. +`offset(s)` Random offset from coords, so not all particles spawn in same exact location. +`speed` How fast the particles move. (Applies to some particles only) +`amount` How many particles to spawn. (Each at random location within offset) +
+ +### Glow with the Show +Gives all players within the radius a colored helmet. +``` +Glow +``` +`color` Color to glow: `Red`, `Orange`, `Yellow`, `Green`, `Aqua`, `Blue`, `Purple`, `Pink`, `White`, `Black`, `(r,g,b)`. +`x,y,z` Center coordinates. +`radius` Radius to apply. +
+ +### Fountains +Spews flying block entities in the direction specified. +``` +Fountain