Commit Graph

152 Commits (3cfc49baa851e3123c2c75e9aae1eb5f94c0d08c)
 

Author SHA1 Message Date
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 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
trivernis 94f70c39b0 Fix #66, #70 Task progress being discarded on resume 4 years ago
Trivernis 602b7c92e7
Update bug_report.md
People just don't report the exact server version!
4 years ago
Trivernis 4b93fc8dd8
Merge pull request #71 from Trivernis/develop
Version 1.2.0
4 years ago
Trivernis 64795b341b
Update bug_report.md 4 years ago
trivernis 3dec787d0e Fix commands for worlds with numeral names 4 years ago
Trivernis 6a133410ac
Update README.md 4 years ago
trivernis 615280a2ed Add stats command to print chunkmaster stats
- Server information
- Worlds chunk information
4 years ago
Trivernis 8ad6bc44af
Merge pull request #63 from Trivernis/patch/1.0.1
Patch/1.0.1
4 years ago
trivernis 928dfbf264 Fix #61 incorrect progress percentage 4 years ago
trivernis c2fad45c26 Update README 4 years ago
Trivernis af03dc0325
Merge pull request #60 from Trivernis/develop
Add Stalebot Config
4 years ago
trivernis 7b7fdd1969 Merge branch 'develop' of https://github.com/Trivernis/spigot-chunkmaster into develop 4 years ago
trivernis a2673b4952 Add stalebot config 4 years ago
Trivernis f836052e20
Merge pull request #59 from Trivernis/develop
Version 1.0
4 years ago
Trivernis d5ce796f9e
Merge pull request #58 from Trivernis/release/1.0
Release/1.0
4 years ago
trivernis 3f28c89f8d Make chunk coordinates for setCenter optional
- use the player location if no coordinates have been provided (closes #41)
4 years ago
trivernis 0bc38384b4 Change pause on join to have a configurable player count
Closes #31
4 years ago
trivernis ecc9309b41 Update README 4 years ago
trivernis 29d0f8991e Add option to pass the world name for cancel
- Add the option to pass the world name to chm cancel to cancel
generation tasks
- Fix #46 by adding additional error handling
4 years ago
Trivernis 4a6f7d98cf
Merge pull request #56 from Trivernis/develop
Update README
4 years ago
trivernis fd6b1e9190 Update README 4 years ago
Trivernis 9c5f486414
Merge pull request #55 from Trivernis/develop
Release Beta 1.16
4 years ago
trivernis a6d5462433 Add abstruse badge to README 5 years ago
Trivernis 18ac52cab8
Merge pull request #33 from Trivernis/ci-config
Add caching to ci-config
5 years ago