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

Add common job implementation and add job support to Sponge #419

Merged
merged 84 commits into from
Jul 21, 2024

Conversation

ericgrandt
Copy link
Owner

@ericgrandt ericgrandt commented Jul 7, 2024

Action Implementation Status

  • break
  • kill
  • fish
  • place

#418

  • Sponge
  • Bukkit

@ericgrandt
Copy link
Owner Author

#418

@ericgrandt ericgrandt merged commit 7a91d20 into master Jul 21, 2024
3 checks passed
@ericgrandt ericgrandt deleted the common-job-impl branch July 21, 2024 01:01
ericgrandt added a commit that referenced this pull request Sep 27, 2024
* Prepare for new implementation

* Prepare for new implementation

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Add data test for getJobExperience

* Add updateJobExperience

* Add addExperience service logic

* Fix checkstyle warnings

* Cleanup

* Add CommonJobListener and tests

* Send message to player on level up

* Start moving to CommonJobListener

* Lots of changes

* Start swapping out code to use new common job service

* Use DTOs for JobService and Data

* Temporarily comment out the job command

A common job command will be created in a later commit

* Continue moving to common job service

* Add getAllJobExperience and integration test

Still need some unit tests to verify exception catching and such

* Add unit tests for getAllJobExperience

* Add service for getAllJobExperience

* Add common job command and tests

* Create JobCommandExecutor for Bukkit

* Address checkstyle warnings

* More cleanup

* Remove old JobService

* Add createJobExperience and tests

* Migrate more PlayerListener logic to common

* Fix checkstyle warning

* Update changelog

* Fix version number

* Some changes

* Continue working towards common job stuff

* Remove experience bar stuff, will handle later

* Fix checkstyle warnings

* Remove job experience bar for now

* Add common player join handler

* Migrate bukkit player listener to common player listener

* Add common player listener to Sponge

* Temp

* Remove JobExperienceBar

Will implement a common approach later

* Fix checkstyle warnings

* Updates

* Updates

* Start implementation of job service in Sponge

* Checkpoint

* Checkpoint

* Add break action to Sponge

Currently doesn't work due to the way we store ids in the database. Will
fix next.

* Cleanup

* Misc changes and add job command executor to sponge

* Add job command to Sponge

* Fix checkstyle

* Update version to 0.13.0

* Update changelog to call out breaking change

* Add kill action; still needs tests

* Add more actions and tests

* Fix some checkstyle warnings

* Add remaining fishAction tests

* Checkpoint

* Add remaining tests for new PlaceAndBreak action handler

* Get place and break action handler working

* Fix schema to use item instead of crop for place action

* Update bukkit listener to use key instead of name

* Fix up sponge listener to work properly with ids on place and break

* Add new wrapper function and fix tests

* Fix tests

* Fix checkstyle warning

* Attempt to update gradle GitHub action to jdk21

* Update workflow to use latest gradle

* Use common command as param instead

* Fix tests

* Add one more test

* Remove dangling semicolon

* Set release date

* Fix query to avoid rewards being returned for wrong actions

* Update changelog
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.

1 participant