add teleport option support to checkpoint - #76
Conversation
allow PluginUtils.fromString() accept loc without yaw and pitch
MartenM
commented
Sep 27, 2023
Wouldn't this effectively set the location to yaw and pitch 0 0? |
alan67160
commented
Sep 27, 2023
sorry that was a mistake. I'm trying to keep the viewing angle, so I think removing the pitch and yaw will do it, but the truth is not. |
MartenM
commented
Sep 27, 2023
Creating an argument for points that teleport which could be (keepYawPitch) could be a thing. |
let me give you a reasonable example |
MartenM
commented
Sep 28, 2023
Wouldn't disabling the teleport on the checkpoint make more sense? That's already possible. |
alan67160
commented
Sep 28, 2023
I have already tried it to disable the teleport but it still teleport tutorials:
t1:
stats:
plays: 13invisible: falsepermission: falseblock-chat: falseblocks-commands: falserewards: []command-whitelist: []points:
'6':
type: CHECKPOINTlocation: plot 37.5 97.5 2.5 1.91 -5.11time: 0.5locplayer: falselocview: falseteleport: falsemessages: []commands:
- custom_events_delaymsg 0.5 %player_name% <&a教學喵蟲&f> GoGo!!animation: CIRCLEcolour: 244 153 0distance: 1.0repeatActionbar: truedrawguide: trueguidecolour: 244 244 244(0 to 5 was removed as it doesn't related) |
on github I only see the teleport argument loaded for ClickBlockPoint ClickBlockPoint.java CheckPoint.java |
MartenM
commented
Sep 28, 2023
You should try to edit these things in-game using the commands. It will tell you if something is available or not. |
alan67160
commented
Sep 30, 2023
moved to #77 |
allow PluginUtils.fromString() accept loc without yaw and pitch