Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.4.0 #19

Merged
merged 15 commits into from
Nov 24, 2024
Merged

Release 1.4.0 #19

merged 15 commits into from
Nov 24, 2024

Conversation

tastybento
Copy link
Member

No description provided.

tastybento and others added 15 commits August 4, 2023 21:35
…heckpoint teleports + fix replacing checkpoints with the pressure plate (#14)

* add currentlyTeleporting field to the run manager

* update listeners
use currentlyTeleporting to ensure only players teleported by the plugin (for respawning at checkpoint) will be allowed to continue their run
refactor uuid
use more descriptive names for locations
change checkpoint store to use block locations, so comparisons can more accurately be made

* increase location mock to make tests pass

* stop adding 0.5x ?y 0.5z on teleport to warpspot. also correctly replace exisitng warps on placement of further pressure plates

instead, the conversion from block location (on pressure plate place)  to player location (on teleport) is done just for that one path

* make teleport async
* add changeworld listener

* simplify logic, add notification for run exit on death
remove portals from canceling run, ensure gamemode is only changed in certain teleport events

make it more explicit that IslandEnterEvent checks source world before changing gamemode

non-parkour -> parkour: PlayerChangedWorldEvent set gm
non-parkour -> non-parkour: none
parkour -> parkour:
        same island: PlayerTeleportEvent set gm if not running
        between islands: IslandEnterEvent set gm
parkour -> non-parkour: none

---------

Co-authored-by: tastybento <[email protected]>
* refactor, add join listener + delay changing gamemode by 2 ticks when changing work and joining.

* add run-tests intellij configuration

* Delete run-tests.run.xml

---------

Co-authored-by: tastybento <[email protected]>
still excludes actually playing the course
not given by default to avoid op perms including it
@tastybento tastybento merged commit f7005e7 into master Nov 24, 2024
3 checks passed
Copy link

sonarcloud bot commented Nov 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants