`.asc`, `.desc` and `.top`
Describe the feature
I suggest that you add a few commands that use .vclip under the hood, inspired by their counterparts from WordEdit and EssentialsX:
-
.floor- similar to//ascor//descfrom WE. It takes one integer argument different than 0:- if the argument is a positive number, it attempts to vclip the player
nfloors above - if the argument is a negative number, it acts as opposite (attempts to vclip the player
nfloors below)
- if the argument is a positive number, it attempts to vclip the player
-
.top- similar to/topfrom EssentialsX: it takes no argument and it attempts to vclip the player to the block with the highest Y elevation on the current X and Z coordinates
How .floor works is illustrated on the following simple sketch which hopefully serves to explain my idea better:
The main challenge is to calculate to what Y coordinate (how many blocks up/down) to teleport the player. But since this has already been done in the plugins mentioned above, I am sure that it is possible to port such idea here. It would be a great time saver, so you don't have to manually calculate the correct Y coordinate for .vclip when glitching through floors, caves, nether roof, etc...
Before submitting a suggestion
-
[X] This feature doesn't already exist in the client. (I have checked every module and their settings on the latest dev build)
-
[X] This wasn't already suggested. (I have searched suggestions on GitHub and read the FAQ)