Commit Graph

29 Commits (0e0166c7e3d0bf2433f8403a82b2d25f5a9c2d0b)

Author SHA1 Message Date
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 1ebf3c96a8 Bump version and mention translators in README 4 years ago
trivernis efb28e5ff9 Bump Version for Release 4 years ago
Trivernis 4b93fc8dd8
Merge pull request #71 from Trivernis/develop
Version 1.2.0
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 c2fad45c26 Update README 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 fd6b1e9190 Update README 4 years ago
trivernis a6d5462433 Add abstruse badge to README 5 years ago
trivernis 8953b63c2b Add integration for dynmap
By integrating with dynmap the plugin can show the area of the generation task for each world via an area marker and
triggers the rendering of tiles for generated chunks.
5 years ago
Trivernis 832b1c4b55 Add command to set and get the center
- Add getCenter command to get the center of the world used for generation
- Add setCenter to set the world center for generation tasks. If there is already a task running for the world the center for that task will not be  affected.
- Fix SQL problem with multiple queries at the same time creating new connections
- Add translations for new commands
- Add Examples to Readme
- Add new table to safe world centers
- Add query to Generation manager to get the center of the world for new generation tasks
5 years ago
trivernis a09bebb6fa Update README 5 years ago
Trivernis 5f14885737 Update Plugin version in gradle file and README 5 years ago
trivernis f89be3a73c Update Readme 5 years ago
Trivernis 24b2707293
Merge branch 'master' into develop 5 years ago
trivernis f89262e538 Add ignore-worldborder config option
- [Convert to unix linebreaks]
- Add ignore-worldborder config option to generate past the vanilla world border
5 years ago
Trivernis 707ba0e8cb
Merge pull request #8 from Trivernis/develop
Beta 1.12 Changes
5 years ago
Trivernis c36ffc887c Updated Readme 5 years ago
Trivernis 38800b4b8d circleci badge to readme 5 years ago
Trivernis 8134ccde9c Fixes and speed improvement
- added config parameter to define the number of chunks that should be generated per step
- probably fixed #3 by processing or canceling pending chunks before the world is saved
5 years ago
Trivernis 5a5fe74d9c Performance and stability improvements
- improved performance of paper generation task
- improved stability of spigot generation task
- Updated Readme
- added configuration parameters for max pending chunks and max loaded chunks
5 years ago
Trivernis 52ba24390f Bug fixes, config file, more commands
- fixed chunk skips skipping not-generated chunks
- changed command structure to /chunkmaster <operation>
- added config options
- updated readme
5 years ago
Trivernis f726f3e15c Updated Readme 5 years ago
Trivernis 29720e8451 Fixes and readme update
- fixed stop and resuming on player join/leave
- fixed stop command
5 years ago
Trivernis 9bf9c61b0d Readme changes and generation manager
- added the GenerationManager class to be implemented for chunk generation task management
5 years ago
Trivernis 16439c5afb Initial commit 5 years ago