Commit Graph

2150 Commits

Author SHA1 Message Date
Vankka
27c2492599 DiscordSRV plugin data by Vankka (#743) 2018-10-05 22:30:57 +03:00
Vankka
a33ca5b004 LuckPerms Plugin Data by Vankka (#742) 2018-10-04 20:32:34 +03:00
Rsl1122
bca1371774 [V] Updated PluginBridge jar 2018-09-29 12:17:28 +03:00
Rsl1122
a18dc2d3f2 [Fix] Prevented NPE due in PluginData
This exception was caused by analysisData being null during PluginData
analysis - This should not occur unless two analysis are being performed
concurrently & first analysis finishes and clears the variable.

Additional work is required for preventing two concurrent analysis.

Affected issues: #711
2018-09-29 12:16:07 +03:00
Rsl1122
93951f1f25 [Fix] Increased database clean task start delay
1 second delay is not enough when a patch system has not applied all
patches, and some data requiring patching is scheduled for removal.

Affected issues: #732
2018-09-26 20:43:49 +03:00
Rsl1122
92ce37dda3 [Fix] Patch System column addition fixes
This affects KillsServerIDPatch and IPHashPatch issues.

Affected issues: #732
2018-09-26 20:40:41 +03:00
Rsl1122
e72b89571e [Fix] Order of Registration to PluginData values
Old addValue method added the values in an arbitrary label order,
Order of adding makes more sense and gives developers more control.
2018-09-23 18:04:03 +03:00
Rsl1122
836bf28348 [V] Version bump to 4.4.6 2018-09-23 17:52:33 +03:00
Rsl1122
d1d2753422 [Fix] Fix MySQL query for "Has Column"
MySQL query for has column did not take database name into account.
This means that a database with multiple Plan databases would provide
wrong results for the Patch system, leading to patch failiure

Affected issues: Fixes #732
2018-09-23 17:51:36 +03:00
Rsl1122
cbb45bf49d [Fix] Locale lang group replacement changes
Changed the Lang that was being used to replace things on the html, now
some of the Lang is no longer used. (CmdHelpLang, CommandLang, etc)
GenericLang caused page breakage due to wrong replacements, so it is no
longer used for replacement

Affected issues: Fixes #706
2018-09-23 17:39:15 +03:00
Sprungente
ef9bf00ddf Improved DE Locale (#730) (Sprungente) 2018-09-15 18:56:37 +03:00
Rsl1122
764a1c661c Fixed a possible buffer memory leak in GeolocationCache on first enable
http://www.evanjones.ca/java-native-leak-bug.html
"TL;DR: Always close GZIPInputStream and GZIPOutputStream since they use
native memory via zlib."
2018-09-15 14:38:42 +03:00
Rsl1122
3ae0855ef5 Named Plan ExecutorService pools, Fixed WebServer thread leak on reload
WebServer ThreadPoolExecutor was never shutdown, as it was assumed
HTTPServer.shutdown() would perform that.
In extreme cases 250 reloads could lead to a OutOfMemoryException due to
Heap size allocation for threads not being possible.

Change: Shut down ThreadPoolExecutor manually.
2018-09-15 10:38:05 +03:00
Rsl1122
f846bd5b0e AnalysisContainer no longer held in memory by PluginData objects.
Since PluginData objects are more persistent than AnalysisContainer,
objects related to the each analysis can not be freed until the next
analysis has been performed, because a reference was held in each
PluginData object.

Change: set the reference to point to null in a finally block after
getServerData call. AnalysisContainer can now be freed by GC at any time

Affected issues: #685
2018-09-15 10:03:35 +03:00
Rsl1122
d28e20bf9a Implemented equals & hashCode for UserImportData 2018-09-09 17:14:20 +03:00
Rsl1122
26f64990d3 Fixed new code smells in development branch
- static final class variable names in PingCountTimerBukkit
- plugin field hiding protected variable in SpongeTaskSystem
- InspectPageResponse not overriding equals method
2018-09-09 13:50:38 +03:00
Rsl1122
18be484c0d
Update versions.txt 2018-09-08 17:57:24 +03:00
Rsl1122
3781115311 Reduce memory usage with changes to player page refreshing
Old way:
Pre-render & cache the html for a player page when the player joins,
leaves or switches server

New way:
Render & cache the html when requested. Remove the rendered html from
cache if the player joins, leaves or switches server

This should prevent server from crashing if a bunch of bots join

Impacts #685
2018-09-08 17:43:38 +03:00
Rsl1122
7954796582 Attempt to reduce memory usage with selective caching in DataContainer
Reduced use of CachingSupplier in every DataContainer to reduce the
amount of String variables ending up in heap for a longer period of
time.

Impacts #685
2018-09-08 17:36:52 +03:00
Rsl1122
2c5a97d0b1 Fixed MySQL with multiple plan databases returns wrong table count #724 2018-09-08 17:15:50 +03:00
Rsl1122
ac3e9a969c Fixes Last Peak time not showing up #726 2018-09-08 17:11:29 +03:00
Rsl1122
0fceaaf9e1 Updated PluginBridge jar 2018-09-08 17:00:24 +03:00
Rsl1122
31f00cbb1a
Merge pull request #725 from Brycey92/permissions-fix
Fixed plan.inspect and plan.qinspect permission nodes for Sponge
2018-09-08 16:05:45 +03:00
Brycey92
4475c44c22 Fixed plan.inspect and plan.qinspect permission nodes for Sponge 2018-09-06 16:34:33 -04:00
Yannick Schinko
67712f9b26 Implemented support for sponge economy (#721)
* Implement basic economy support for Sponge

* Implemented global server stats
2018-09-06 23:19:43 +03:00
Vankka
2783841e4b Nucleus PluginData (#723)
Implements Nucleus PluginData in #583
2018-09-05 20:22:35 +03:00
Yannick Schinko
00cdd6e251 Bungee pingAdded PinCoutTimerBungee (#717)
* Implemented Bungee ping measurement

* Removed unused import

* Removed second unused import
2018-09-01 22:59:09 +03:00
Rsl1122
2bf4020763
Merge pull request #716 from BrainStone/sponge-ping
Added PingCountTimerSponge
2018-09-01 21:15:54 +03:00
BrainStone
7cce168133
No need for a cast 2018-09-01 18:15:07 +02:00
BrainStone
81992a5676
Using correct way to register listener 2018-09-01 18:01:10 +02:00
BrainStone
8a4b23649d
PingCountTimerSponge 2018-08-31 18:57:53 +02:00
Rsl1122
333936cfa8 Implemented afk check on kick event #705 Note about AFK ignore perm:
- Players kicked by afk that have plan.ignore.afk will be counted as "real" kicks.
2018-08-30 18:10:16 +03:00
Rsl1122
08d1067bd8 Fixed #710 2018-08-30 18:02:24 +03:00
Rsl1122
bee9966450 Ignored exception in #715 2018-08-30 17:52:50 +03:00
Rsl1122
be2be530ca Reproduced #710 with a test 2018-08-30 17:43:43 +03:00
Rsl1122
0bb2922329 Fixed #693 2018-08-30 17:22:33 +03:00
Rsl1122
446aec2a0a Reproduced issue #693 in a test 2018-08-30 17:18:57 +03:00
Rsl1122
c30650c0ee Changed ResponseCache to use caffeine (5 minute invalidation) #685 2018-08-30 16:36:14 +03:00
Rsl1122
fd5e02e1c9 Reduced html page size by compressing result html #685 2018-08-30 16:11:34 +03:00
Rsl1122
192c06354b
Add install_dependencies.bat 2018-08-28 15:33:40 +03:00
Rsl1122
c2b54e4254
Merge pull request #703 from Rsl1122/development
Pull Request for 4.4.5
2018-08-27 15:24:16 +03:00
Rsl1122
9898bf8264 Bukkit/Bungee pom - comment relocation & uncomment ignore for Sponge pom 2018-08-27 15:23:46 +03:00
Rsl1122
91905bc665
Update versions.txt 2018-08-27 13:02:41 +03:00
Rsl1122
a21b91fae8 Version bump to 4.4.5 2018-08-27 12:02:12 +03:00
Rsl1122
86f99cbe1b Fixed Sponge CPU usage gathering 2018-08-27 12:02:00 +03:00
Rsl1122
e09f821071 Updated PluginBridge jar 2018-08-27 11:49:41 +03:00
Rsl1122
f610e014c1 Cleaned up AdvancedBanData class 2018-08-27 11:45:51 +03:00
Rsl1122
870b929a9e Added ASkyBlock challenges to player page #686 2018-08-27 11:37:57 +03:00
Rsl1122
f5b6b43aec Added a progress bar utility 2018-08-27 11:37:22 +03:00
Rsl1122
58512dbd19 Fixed uninstalled subcommand 2018-08-27 11:36:37 +03:00