[Feature] discord-plotsystem-api v1.2.3#196
Closed
tintinkung wants to merge 7 commits intoAlpsBTE:mainfrom
Closed
Conversation
* Proper integrations for discord-plotsystem plugin * Wrote a wrapper class `at com.alpsbte.plotsystem.utils.DiscordUtil` as a singleton to manage all discord event system * DiscordUtil is designed to ever be initialized if the discord-plotsystem exist in the class path, so Plot-System plugin can stay running even if the discord feature isn't installed * Cherry picked from 33c69e7
Contributor
Author
|
Actually this works |
Some method path might still be wrong # Conflicts: # src/main/java/com/alpsbte/plotsystem/PlotSystem.java # src/main/java/com/alpsbte/plotsystem/commands/plot/CMD_Plot_Abandon.java # src/main/java/com/alpsbte/plotsystem/core/system/plot/generator/AbstractPlotGenerator.java # src/main/java/com/alpsbte/plotsystem/core/system/plot/utils/PlotUtils.java # src/main/java/com/alpsbte/plotsystem/core/system/review/PlotReview.java # src/main/resources/plugin.yml
* Using minutesDiff <= 75 may run 3 times a day * Edited minute-window to 60 which the actual windows will be minutesDiff < (60 / 2) (cherry picked from commit 31c6900)
* make inactivity notification for discord configurable in config.yml * make notification window calculation clearer (cherry picked from commit 0fda613)
Contributor
Author
|
nah nvm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FROM #175 W/ ISSUE #176
Important
Proper integrations for discord-plotsystem plugin
Wrote a wrapper class
at com.alpsbte.plotsystem.utils.DiscordUtilas a singleton to manage all discord event systemDiscordUtil is designed to ever be initialized if the discord-plotsystem exist in the class path, so Plot-System plugin can stay running even if the discord feature isn't installed
Cherry picked from 33c69e7