Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Notes
I'd been wanting to do this for a while, and today felt like a good day to do it.
This implements a new system of parameters for the
!tnt
command. This does not replace the previous system, but rather is a simpler alternative. The best way I can summarize how this work is with this "guide" I made:Guide
(Feel free to add this to the guide doc.)
Basically, the parameters are the same. What changes is:
yaw
is required in the command. Everything else has a default value if not specified.yaw
can be specified with:top
/right
/bottom
/left
) and shorthands (t
/r
/b
/l
).north
,southwest
) and shorthands (e.g.n
,sw
).pitch
withup
/down
(andu
/d
).power
withclose
/far
/veryfar
(c
/f
/v
).ttl
withquick
/slow
(q
/o
).Overall this makes the command easier to use, and it makes it harder to write it in an invalid way.
Besides this change, I also updated the required TPS for the game to start. It seems like the
/tps
command only updates once per minute, so it can take up to that much for the game to start even if the server is already performing well. Based on some quick testing,18.5
seems to be a good value for this.Demo
Recorded a demo with some examples:
ARSimpleDemo.mp4