Commit Graph

176 Commits (6680e824337ea2a271e54ec848149c00551eefea)
 

Author SHA1 Message Date
Trivernis 6680e82433
Merge pull request #108 from Trivernis/feature/unit-tests
Add unit tests for shapes
4 years ago
trivernis dcfd9f11f1
Add unit tests for shapes
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 49b1f8f1c7
Fix warnings in build.gradle
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 930ae728d0
Add plugin version placeholder and bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
Trivernis b485bf9999
Merge pull request #105 from Doregon/master
Update Kotlin and PaperLib
4 years ago
Trivernis fe3c59df5e
Merge pull request #106 from Trivernis/actions
Actions
4 years ago
trivernis 626003028a
Remove abstruse task
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 7a27618100
Remove gradle folder from gitignore
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 1119942082
Change gradle execution again
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e458757609
Update gradle wrapper and change java version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis cbc0fcdb64
Fix gradle wrapper call
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis aad3bbdb07
Change gradle command in build task
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis af5ed6413d
Remove gradle wrappers from gitignore
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 8567a7ffd1
Add github action
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
Adam Tunnic 0e0166c7e3
Update Kotlin and PaperLib 4 years ago
Trivernis 6144576440
Merge pull request #100 from Trivernis/develop
Develop
4 years ago
trivernis fca6c9eea2
Fix typo in permissions
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 3c07d317d2
Fix french translation
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
Trivernis a0f6f4832f
Merge pull request #95 from Trivernis/develop
Bug Fixes
4 years ago
trivernis 99a48c1465 Merge branch 'develop' of github.com:Trivernis/spigot-chunkmaster into develop 4 years ago
trivernis 4947731718 Remove inaccurate chunk count from worldborder chm list 4 years ago
Trivernis b72c473854
Merge branch 'master' into develop 4 years ago
trivernis 6df01dd137 Add progress report to tasks generating to the worldborder
- Closes #90
4 years ago
trivernis 3cfc49baa8 Fix player count togglable pausing
- Fixes #89
4 years ago
trivernis 9b618eccc2 Fix dynmap version being null when dynmap doesn't support the minecraft versio
- Fixes #69
4 years ago
trivernis 65e3e090bb Fix insertion of pending chunks using too many parameters
- Fixes #91
4 years ago
trivernis f0ea063026 Fix setCenter command throwing an error when only one argument is provided
- Fixes #94
4 years ago
Trivernis 82662bc4d3
Develop (#88)
Merge develop into master

* Update Translation to 1.3.0 (#86)

* Update Translation to 1.3.0

* Tweak SQL_ERROR word order

Co-authored-by: NPBeta <shanhang007@gmail.com>

* Update version to 1.3.1

* Remove empty body of PausedTaskEntry

Co-authored-by: NPBeta <shanhang007@gmail.com>
4 years ago
trivernis 733996e6a9 Remove empty body of PausedTaskEntry 4 years ago
trivernis a91e26652d Update version to 1.3.1 4 years ago
trivernis 3417ffe339 Merge branch 'master' into develop 4 years ago
Trivernis 441b13ec69
Fix/merge conflict (#87)
* Version 1.3.0 (#85)

* Feature/async chunkmaster (#81)

* Change generation to be asynchronous

At this stage it will most likely crash the server at a certain point.
Pausing and resuming isn't stable. Saving the progress isn't stable as well.
Chunks are being unloaded in the main thread by an unloader class.

* Switch to native threads

- Use thread instead of async tasks
- Store pending paper chunks in the database
- Interrupt the thread when it should be stopped

* Fix insertion of pending chunks

Fix an error that is thrown when the sql for inserting pending chunks doesn't have any chunks to insert.

* Add task states

Add states to differentiate between generating and validating tasks
as well as a field in the database to store this information.
A task will first generate a world until the required radius or the
worldborder is reached. Then it validates that each chunk has been generated.

* Add object representation of world_properties table

* Add DAO for pending_chunks table

* Add DAO for generation_tasks table

* Add state updating to periodic save

* Fix loading of world properties

* Add states to tasks and fix completion handling

* Fix progress report and spiral shape

* Modify the paper generation task so it works with spigot

This change is being made because normal chunk generation doesn't allow
chunks to be requested from a different thread. With PaperLib this issue
can be solved.

* Add workarounds for spigot problems

* Fix some blocking issues and update README

* Add locking to ChunkUnloader class

* Add total chunk count to list command (closes #79) (#82)

* Fix shape beign stuck (#83)

* Add autostart config parameter (closes #78) (#84)

* Add circleci badge to readme

* Add codefactor badge

* Update Translation to 1.3.0 (#86)

* Update Translation to 1.3.0

* Tweak SQL_ERROR word order

Co-authored-by: NPBeta <shanhang007@gmail.com>
4 years ago
trivernis aaa614f651 Cleanup 4 years ago
Trivernis 4d4107aaf3
Version 1.3.0 (#85)
* Feature/async chunkmaster (#81)

* Change generation to be asynchronous

At this stage it will most likely crash the server at a certain point.
Pausing and resuming isn't stable. Saving the progress isn't stable as well.
Chunks are being unloaded in the main thread by an unloader class.

* Switch to native threads

- Use thread instead of async tasks
- Store pending paper chunks in the database
- Interrupt the thread when it should be stopped

* Fix insertion of pending chunks

Fix an error that is thrown when the sql for inserting pending chunks doesn't have any chunks to insert.

* Add task states

Add states to differentiate between generating and validating tasks
as well as a field in the database to store this information.
A task will first generate a world until the required radius or the
worldborder is reached. Then it validates that each chunk has been generated.

* Add object representation of world_properties table

* Add DAO for pending_chunks table

* Add DAO for generation_tasks table

* Add state updating to periodic save

* Fix loading of world properties

* Add states to tasks and fix completion handling

* Fix progress report and spiral shape

* Modify the paper generation task so it works with spigot

This change is being made because normal chunk generation doesn't allow
chunks to be requested from a different thread. With PaperLib this issue
can be solved.

* Add workarounds for spigot problems

* Fix some blocking issues and update README

* Add locking to ChunkUnloader class

* Add total chunk count to list command (closes #79) (#82)

* Fix shape beign stuck (#83)

* Add autostart config parameter (closes #78) (#84)

* Add circleci badge to readme

* Add codefactor badge
4 years ago
trivernis 7ffada4100 Add codefactor badge 4 years ago
trivernis cf7ef7d887 Add circleci badge to readme 4 years ago
Trivernis ac6a80ed86
Add autostart config parameter (closes #78) (#84) 4 years ago
Trivernis af875aaca0
Fix shape beign stuck (#83) 4 years ago
Trivernis 1f167285b0
Add total chunk count to list command (closes #79) (#82) 4 years ago
Trivernis acf302e8c1
Feature/async chunkmaster (#81)
* Change generation to be asynchronous

At this stage it will most likely crash the server at a certain point.
Pausing and resuming isn't stable. Saving the progress isn't stable as well.
Chunks are being unloaded in the main thread by an unloader class.

* Switch to native threads

- Use thread instead of async tasks
- Store pending paper chunks in the database
- Interrupt the thread when it should be stopped

* Fix insertion of pending chunks

Fix an error that is thrown when the sql for inserting pending chunks doesn't have any chunks to insert.

* Add task states

Add states to differentiate between generating and validating tasks
as well as a field in the database to store this information.
A task will first generate a world until the required radius or the
worldborder is reached. Then it validates that each chunk has been generated.

* Add object representation of world_properties table

* Add DAO for pending_chunks table

* Add DAO for generation_tasks table

* Add state updating to periodic save

* Fix loading of world properties

* Add states to tasks and fix completion handling

* Fix progress report and spiral shape

* Modify the paper generation task so it works with spigot

This change is being made because normal chunk generation doesn't allow
chunks to be requested from a different thread. With PaperLib this issue
can be solved.

* Add workarounds for spigot problems

* Fix some blocking issues and update README

* Add locking to ChunkUnloader class
4 years ago
Trivernis 400295ac73
Merge pull request #80 from Trivernis/develop
French Translation
4 years ago
trivernis 1ebf3c96a8 Bump version and mention translators in README 4 years ago
Trivernis 8987fe94aa
Merge pull request #77 from Corenb/master
Create fr.i18n.properties
4 years ago
Corentin Boiteau af3739bd65
Create fr.i18n.properties 4 years ago
Trivernis 434deb33d3
Merge pull request #76 from Trivernis/develop
Mandarin Translation
4 years ago
trivernis efb28e5ff9 Bump Version for Release 4 years ago
Trivernis c69b8fd91d
Merge pull request #73 from NPBeta/master
Add zh_CN i18n Support
4 years ago
NPBeta a708c1cfdd
Added Missing Translation & Tweak Translation
Fix unconsistent translation:
Using 失败 for errors that has no further information.
Using 发生错误 for exceptions with stacktrace or other informations.
4 years ago
NPBeta 984c49c644
Add zh_CN i18n Support 4 years ago
Trivernis d078e1150f
Merge pull request #72 from Trivernis/develop
Fix #66, #70 Task progress being discarded on resume
4 years ago