Commit Graph

44 Commits (2eeff350f8255a428051164fcddd44d7afe2c4f2)

Author SHA1 Message Date
trivernis 2eeff350f8 Add circular shape class 5 years ago
trivernis 53aec18a06 Change group for Chunkmaster dynmap markers
- Change the group to "Chunkmaster" to be able to disable all of those markers.
- Add a marker that displays the last chunk that has been generated and refreshes
every 30 seconds.
5 years ago
trivernis d967dfd06d Change sqlite-jdbc to be a compileOnly dependency 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 bdac496ce2 Fix unique world sql error
Fix error thrown by unique constrain for the world name in the sql table. The error occurs because the data from the database is loaded lazily after several seconds. If a task was started before that it wouldn't be checked against the existing tasks since they haven't been loaded yet. Fixed by loading the tasks if none exists when the generate command is invoked.
5 years ago
trivernis ecc3165f1f Add delay to starting of generation tasks
Add a delay to the starts of the tasks so that they don't all start on the same tick. To completely avoid two tasks being executed on the same tick, the "period" config option should be set to the expected number of tasks or higher.
5 years ago
trivernis 6cb39ce843 Remove logging of eta in seconds 5 years ago
trivernis 109699f639 Remove unused dependencies 5 years ago
trivernis e5f812e3bc Fix unicode loading of i18n files 5 years ago
trivernis 1c94ced875 [wip] Try to load i18n file with utf-8 encoding 5 years ago
Trivernis a4115ebdf7 Add ETA to periodic reports
Closes #17
5 years ago
Trivernis 965598de2b Add i18n to every output
Closes #16
5 years ago
trivernis bd731c85f0 Add i18n to generation manager 5 years ago
trivernis 900600714e Add i18n structure 5 years ago
trivernis f88100be5f Fix chunk center coordinate being calculated the wrong way
Fixes #19
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 ce826419f1 Added config parameter
- made database filename configurable
5 years ago
Trivernis 3a0012ef3f Added connection close safety
- moved connection close outside of try catch to finally to ensure that the connection is closed even on error (SqliteManager)
5 years ago
Trivernis 8b63643f7a Changes to sql structure
- changed SqliteUpdateManager to SqliteManager
- added methods to execute sql with values and callback to the SqliteManager
- added auto close of statements
- switched to establishing a connection only when sql should be executed
5 years ago
Trivernis b09b96d95c Fixes and version change
- increased version number
- fixed stacktrace print for sql update manager
- closed table info in the update manager
5 years ago
Trivernis d7052e1ac9 enabled error reports for sql update manager 5 years ago
Trivernis 160ee13ac8 Removed Chunk unloading on save event 5 years ago
Trivernis 9cf4fb8c78 Fixed blockradius calculation 5 years ago
Trivernis a8729f2e03 Fixes and Generation progress
- added generation progress display
- fixed spigot generation task
- fixed generation units
- fixed generation configuration
5 years ago
Trivernis 350e774bb2 Fixes and Generation units
- generate command now accepts a unit parameter
- fixed the skipping of not generated chunks
5 years ago
Trivernis 7c953ac085 Added tpChunk command
- added tpchunk command
- changed help display on chunkmaster command
- removed autostart table column
5 years ago
Trivernis 209c84b9e7 Less verbose console output
- removed pausing and resuming message when no tasks are running
- stopping and resuming tasks on reload
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 b9443c7487 Added bStats and changed jar build 5 years ago
Trivernis 5d0f158427 Changes to task cancelation and fix
- fixed generate command error on multiple tasks for one world
- changed check of task completion from polling to interrupt (via callback function)
5 years ago
Trivernis 132294d683 TabComplete for all subcommands
- added tab complete to all subcommands
- added list of paused task when no task is running
- added possibility to remove paused tasks
5 years ago
Trivernis 638ae07fe5 Code cleanup, Version correction
- changed version from 0.10-beta-SNAPSHOT to 0.10-beta
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 c49036e35b Performance improvements
- improved performance on paper servers by using chunk coordinates instead of chunk instances to check if the chunk was generated
- moved generation stuff to lib/generation
5 years ago
Trivernis 08bec14df9 Generation task seperation
- Added interface GenerationTask
- added method to GenerationManager that creates a task depending on the server type
- added generation task for paper and spigot (to profit from async chunk loading)
5 years ago
Trivernis 726e4ba34c Added Progress percentage to periodical task status 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 ecf7f10f52 Fixes and SQL auto Update
- fixed removegentask command
- added autostop of generation task after a certain amout of chunks or at the world border
- added SqlUpdateManager to check  if tables need to be created or updated
5 years ago
Trivernis 29720e8451 Fixes and readme update
- fixed stop and resuming on player join/leave
- fixed stop command
5 years ago
Trivernis d69740851e Added generation list task 5 years ago
Trivernis 1343dbf249 Working version 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 4d233480fe Added Spiral class
- Spiral class to create spirals around a coordinate
5 years ago