Commit Graph

3718 Commits

Author SHA1 Message Date
Fuzzlemann
b091e13ad5 Replaces 'if' statements with && or || where possible 2017-07-23 14:10:41 +02:00
Fuzzlemann
f1ae1c3f8f Removes redundant casts and array creations 2017-07-23 14:07:47 +02:00
Fuzzlemann
0f14efbc46 Simplifies 'if' statements 2017-07-23 14:04:55 +02:00
Fuzzlemann
a45f092208 Replace String concatenation in loop with StringBuilders 2017-07-23 13:54:24 +02:00
Fuzzlemann
7337801124 Replaces Arrays.asList with Collections.singletonList when only one argument is present
This change saves resources
2017-07-23 13:53:10 +02:00
Fuzzlemann
5cf5eaf1ad Replaces .compareTo with Long.compare when possible 2017-07-23 13:51:54 +02:00
Fuzzlemann
8a90f60142 Further migration to Java 8 and more things
1. Replace unnecessary statement lambda to expression lambda (without the {} when only one expression is present)
2. Change map.get(i) == null ... to map.computeIfAbsent
3. Simplifies comparators
2017-07-23 13:51:00 +02:00
Fuzzlemann
cb860d16f4 Replace unnecessary lambda with Method References 2017-07-23 13:47:15 +02:00
Fuzzlemann
1decc82957 Adds annotation @SafeVarargs in the Setup class
Replace Collections.sort() with #List.sort()
2017-07-23 13:44:29 +02:00
Fuzzlemann
6966ed2206 Replaces 'for' and 'while' loops with 'foreach' 2017-07-23 13:41:37 +02:00
Fuzzlemann
7e03c1dcc0 Fixes NullPointerException at parse by checking if the line is null instead of checking if the line is empty 2017-07-23 13:36:18 +02:00
Rsl1122
cf721a84a1 Update Dependencies.md 2017-07-23 14:22:07 +03:00
Risto Lahtela
16aabd16ee 3.5.4 2017-07-23 13:09:31 +03:00
Risto Lahtela
407cdf987e Merge branch 'master' of github.com:Rsl1122/Plan-PlayerAnalytics 2017-07-23 08:24:36 +03:00
Risto Lahtela
93e8f8a3a7 Fix #174 #173 (Temporary fix) #151 2017-07-23 08:24:10 +03:00
Rsl1122
073855dd84 Update Configuration.md 2017-07-22 17:03:47 +03:00
Rsl1122
7c04533c88 Update config.yml 2017-07-22 17:03:20 +03:00
Rsl1122
ad05c8b78d Update Configuration.md 2017-07-22 17:00:26 +03:00
Rsl1122
465c2bbb11 Update CommandsAndPermissions.md 2017-07-22 16:59:06 +03:00
Risto Lahtela
8c72202657 3.5.2 2017-07-22 11:33:38 +03:00
Risto Lahtela
c17693331b 3.5.1 2017-07-09 16:13:29 +03:00
Rsl1122
c72440d689 Fix bugs 2017-07-09 14:25:36 +03:00
Risto Lahtela
4a78790638 [3.5.0] Merge pull request #142 from Rsl1122/3.5.0
Pull Request for 3.5.0
2017-07-09 10:12:38 +03:00
Risto Lahtela
42035bfabb 3.5.0 2017-07-09 09:38:28 +03:00
Rsl1122
e6b941e85d Refactoring of RslRunnable, #150, pluginbridge jar 2017-07-07 15:40:22 +03:00
Rsl1122
b274f1ded8 Bugfixes, More in depth enable debug & benchmark messages
Fix #152
Fix #153
2017-07-05 11:46:03 +03:00
Rsl1122
4cbc00d87d Code Cleaning
Cleaned code up to DBCallableProcessor (com.djrapitops.plan.cache)
2017-07-04 23:48:19 +03:00
Rsl1122
8cf22de4b6 Improvements & Fix #147
- RslPlugin v1.4.0
- RunnableFactory
- Prevented a collision if multiple RslPlugin implementations are
installed.
- Queues now wait for each other.
2017-07-04 11:24:50 +03:00
Rsl1122
b0045077f6 Bugfixes
Fix #148
Fixed multiple PluginData issues
Fixed ViaVersion being compiled into final jar
Fixed GMTimesTable get multiple method
Fixed Playerlist being sorted the wrong way (Oldest players shown
instead of most recent)
2017-06-30 14:13:53 +03:00
Rsl1122
b7963a1f03 PluginData for SuperbVote, LiteBans, ViaVersion
#131
#125
2017-06-30 13:34:56 +03:00
Rsl1122
cfe876580f More PluginData, Abstractions, Import Offline players, Optimizations
Permission Group table
PluginData objects now use API#getUserDataInspectCache instead of
getOfflinePlayer (It was slow) - Using FakeOfflinePlayer when
OfflinePlayer is required.
Abstracted CommandSender
New Player UserData Creation optimized
Added Importer for players who haven't joined after Plan was installed.
Added Timings to Status command
Importing now temporarily disables Analysis
BenchmarkUtil now not static
Players Table (On analysis page) now limited to last 3000 players due to
browser performance hit with higher numbers.
GMTimes now saved & Get more efficiently (Batches & Single query)
2017-06-29 22:18:53 +03:00
Rsl1122
d03d0836a1 Automatic PluginData config section, GriefPrevention data
Implemented #132
Implemented N.5 of #125

Moved debug log header to BukkitPluginDependency
Task disabling to BukkitPluginDependency
2017-06-28 13:24:14 +03:00
Rsl1122
64dd0b5a20 Fixes & PluginData objects
Fixed #144
Added #138 (ASkyBlock PluginData)
Added perm groups for #131
Fixed extra space before tables appearing
Total now indicated (Plugindata) with a "Total " modifier.
Added config setting for disabling minotaur player heads from analysis
page
Split tps graph axes to left & right
Added TimeAmount enum (BukkitPluginDependency)
2017-06-27 13:44:32 +03:00
Rsl1122
ab326343e6 Fixed TPS math 2017-06-27 00:17:38 +03:00
Rsl1122
47391ece51 TPS Graph & Collection fixed
Finished implementing #98
2017-06-26 16:10:29 +03:00
Rsl1122
c17c1c5171 TPS collection, array generation. API methods, 3rd party speedups.
- Deprecated Condition, will be removed
2017-06-22 13:01:29 +03:00
Rsl1122
9bbb0b49c3 Didn't add this to last commit for some reason 2017-06-20 13:58:06 +03:00
Rsl1122
18a0d26fc5 TPS table, fixes
Fixed #135
Added process info for db
New batch split method
Craftbukkit no longer needs a local install (added spigot repo)
2017-06-20 13:57:44 +03:00
Rsl1122
754d437fd9 Moved to new abstracted task system to add Status command. 2017-06-19 14:02:50 +03:00
Risto Lahtela
3bc3b2cdf5 Update Configuration.md 2017-06-16 16:22:22 +03:00
Risto Lahtela
c1e7322707 Update Dependencies.md 2017-06-16 16:15:26 +03:00
Risto Lahtela
faca03755d [3.4.3] Merge pull request #133 from Rsl1122/3.4.3
Pull Request for 3.4.3
2017-06-16 16:12:35 +03:00
Rsl1122
386f62b35f Implementing things
#136 #135 #122
2017-06-16 16:08:35 +03:00
Rsl1122
7949113f6e Moved to use new utility package, attempts at #113
New Utility jar BukkitPluginDependency contains new classes that include
methods & classes usually required for me to start creating a project,
such as:
- Version check
- Abstract command classes (For subcommands & commands w/ subcommands)
- UUIDFetcher
- Log utility
- Benchmarking

It was tested with Plan to ensure it works.
It will be used in the future to lower the threshold of starting a new
project.
2017-06-15 15:14:51 +03:00
Rsl1122
6d0819fc45 Split Dependencies to another project, 3.4.3 implementation
Split dependencies into another project to make forking easier in the
future.

Implemented & Fixed:
#129
#130
#124
#123
#126

Did research work for
#74
#128
(Won't be implemented)
2017-06-12 23:03:16 +03:00
Risto Lahtela
ddb796bfda Update Configuration.md 2017-06-07 10:27:30 +03:00
Risto Lahtela
35ea16e5fb [3.4.2] Merge pull request #121 from Rsl1122/Version-3.4.2-or-3.5.0
Version 3.4.2 Pull Request
2017-06-07 10:16:10 +03:00
Rsl1122
bbbe47982c [3.4.2] 2 api methods 2017-06-07 10:15:39 +03:00
Rsl1122
2feb291f11 Version increment to 3.4.2 2017-06-06 19:28:20 +03:00
Rsl1122
5cfc1b5954 Issue template, some log cleanup 2017-06-06 19:27:10 +03:00