Commit Graph

138 Commits (82662bc4d3fad46ff6369173b7f3ef10bc4cdbff)
 

Author SHA1 Message Date
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 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 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 4 years ago
Trivernis 18ac52cab8
Merge pull request #33 from Trivernis/ci-config
Add caching to ci-config
4 years ago
trivernis a377392fd2 Remove creation of .gradle directory due to errors 4 years ago
trivernis ac3c068f5d Add dependency resolving to install task 4 years ago
trivernis 3367af9adc Create .gradle dir before installation
Create .gradle directory to avoid errors when unpacking cached files (I hope this helps).
4 years ago
trivernis 3cfa38e03d Add .gradle to cache to speed up building 4 years ago
Trivernis 95102b1e86
Merge pull request #32 from Trivernis/ci-config
Ci config
4 years ago
trivernis b587f491cf Remove gradle install instructions from buildfile 4 years ago
trivernis d52bc304f4 Rever to openjdk image
I've read it wrong lol
4 years ago
trivernis dc802f9e00 Change to default docker and add jdk to install 4 years ago
trivernis bd57087427 Remove openjdk version tag 4 years ago
trivernis 72618e3e50 Change version of image for ci 4 years ago
trivernis b06018ec0d Add abstruse ci config 4 years ago
trivernis 03eaf52dc3 Add more comments 4 years ago
trivernis c090977021 Revert optimizations on spigot
Revert the optimizations which check if the chunk is already generated because
the function doesn't report the right value.
https://hub.spigotmc.org/jira/browse/SPIGOT-5541?attachmentOrder=desc
4 years ago
trivernis be130adc6f Improve spigot chunk generation
Add skipping of already generated chunks.
An issue remaining is that some chunks are still
not generated and the shape doesn't always match.
4 years ago