Commit Graph

222 Commits

Author SHA1 Message Date
Rsl1122
8161488747 [#777] Configuration format change
- Added a new config updater that can move and remove config values
- Updated the config format to be easier to understand and read.
- Made config updater update old configs to the new format
- Removed Settings enum
- Added generics to Setting, changed from interface to a class
- Created new classes that hold static Setting objects
- Added generics to PlanConfig
- Added PlanConfig#get for getting Setting with generic types.
- Moved config calls made during object initialization,
  possibly eliminating bugs that ignored config settings on first boot
- Added more export settings
- Added JSON Export (#700)
- Fixed Buycraft graph not following Locale setting for timestamps
- Extracted PluginBridge Bridge interface for mocking during tests
2018-12-08 11:44:10 +02:00
dependabot[bot]
82b8cc09df
Bump nucleus-api from 1.6.3-S7.1 to 1.7.0-S7.1 in /PlanPluginBridge (#832) 2018-12-04 13:14:33 +00:00
Rsl1122
9aa0f0865d Removed pluginbridge jar from the repository and travis scripts 2018-11-17 11:47:05 +02:00
Rsl1122
024c0ca9bb Distribution management for PlanPluginBridge 2018-11-17 11:42:01 +02:00
dependabot[bot]
4be6fec077
Bump maven-compiler-plugin from 3.7.0 to 3.8.0 in /PlanPluginBridge (#811) 2018-11-13 09:14:37 +00:00
dependabot[bot]
8386ed37a6
Bump jacoco-maven-plugin from 0.7.9 to 0.8.2 in /PlanPluginBridge (#810) 2018-11-12 19:40:26 +00:00
dependabot[bot]
78ea829683
Bump commons-text from 1.3 to 1.6 in /PlanPluginBridge
Bumps commons-text from 1.3 to 1.6.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 05:36:00 +00:00
dependabot[bot]
40caeed313
Merge pull request #794 from Rsl1122/dependabot/maven/PlanPluginBridge/development/me.clip-placeholderapi-2.9.2 2018-11-11 11:22:56 +00:00
dependabot[bot]
961a89b328
Merge pull request #795 from Rsl1122/dependabot/maven/PlanPluginBridge/development/org.spongepowered-spongeapi-7.1.0 2018-11-11 11:22:23 +00:00
dependabot[bot]
9662714f7a
Bump spongeapi from 7.0.0 to 7.1.0 in /PlanPluginBridge
Bumps [spongeapi](https://github.com/SpongePowered/SpongeAPI) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/SpongePowered/SpongeAPI/releases)
- [Commits](https://github.com/SpongePowered/SpongeAPI/compare/v7.0.0...v7.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-11 11:17:28 +00:00
dependabot[bot]
f0de6af355
Bump placeholderapi from 2.9.1 to 2.9.2 in /PlanPluginBridge
Bumps placeholderapi from 2.9.1 to 2.9.2.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-11 11:17:27 +00:00
dependabot[bot]
d63a60b384
Merge pull request #790 from Rsl1122/dependabot/maven/PlanPluginBridge/development/net.milkbowl.vault-VaultAPI-1.7 2018-11-11 11:13:00 +00:00
dependabot[bot]
441992c38a
Bump VaultAPI from 1.6 to 1.7 in /PlanPluginBridge
Bumps [VaultAPI](https://github.com/MilkBowl/VaultAPI) from 1.6 to 1.7.
- [Release notes](https://github.com/MilkBowl/VaultAPI/releases)
- [Commits](https://github.com/MilkBowl/VaultAPI/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-11 11:07:43 +00:00
dependabot[bot]
5072c2e036
Bump nucleus-api from 1.6.0-PR1-S7.0 to 1.6.3-S7.1 in /PlanPluginBridge
Bumps nucleus-api from 1.6.0-PR1-S7.0 to 1.6.3-S7.1.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-11 11:07:37 +00:00
Rsl1122
a68fde3e9e [Fix] Compile issues on PluginBridge 2018-11-04 19:42:08 +02:00
Rsl1122
ded4d01e53 [#768] Fixed issues with plugin bridge listeners 2018-10-28 11:02:09 +02:00
Risto Lahtela
916a0d3aed
[License] Updated license headers (#767) 2018-10-28 10:10:56 +02:00
Rsl1122
7d1f70e5a1 [#759] Fix No enum constant errors related to AAC
This fix prevents these errors in the future if the Enum changes again.
2018-10-27 11:19:18 +03:00
Rsl1122
6cd77fd7fd [Fix] IllegalStateException on test, DiscordSRV version 2018-10-23 13:21:09 +03:00
Rsl1122
7e85752e66 Updated pluginbridge jar 2018-10-14 15:19:38 +03:00
Rsl1122
644082bf56 [Debt] Fixed PluginData registration of Bridge
Created dagger modules for each platform and turned Bridge abstract.
Injections to classes that require Plugin specific objects are not
possible, and will lead to compile time errors.

Classes that require information about another class at runtime cause
Plan to fail to start if the class is not present - another solution has
to be worked for PlaceholderAPI.
2018-10-14 15:18:47 +03:00
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
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
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
Rsl1122
192c06354b
Add install_dependencies.bat 2018-08-28 15:33:40 +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
af2eed4d88 Added Bungee PluginData rendering support #571
Added Bungee Plugin Support: AdvancedBan, BuyCraft, LiteBans, ViaVersion
Added Sponge Plugin support: BuyCraft
2018-08-27 10:33:21 +03:00
Rsl1122
5295d56f3c Updated PlanPluginBridge dependencies to latest versions 2018-08-26 18:15:51 +03:00
Vankka
9d45fa1c40 AdvancedBan support (#688)
+ Make Hook not check if the class extends JavaPlugin
2018-08-16 16:59:54 +03:00
Rsl1122
8867189b65 Added "Given" row to Server page litebans table #643 2018-08-08 11:28:13 +03:00
Rsl1122
03268b464b Now displaying UUIDs instead of "Unknown to Plan" on Litebans #643 2018-08-08 11:18:34 +03:00
Rsl1122
ea15ff1b4f Fixed Litebans errors #647 2018-08-08 11:17:23 +03:00
Rsl1122
1eb456d35a Fixed Towny accordion not appearing. Fixed town block counting 2018-07-19 10:09:45 +03:00
Rsl1122
c34903482c Added back missing pluginbridge 2018-07-18 12:25:00 +03:00
Rsl1122
2161e26a3f Fixed "BungeeCord" appearing as network name on player and network pages 2018-07-18 11:54:25 +03:00
Rsl1122
d7de65c098 Updated pluginbridge 2018-07-18 10:54:26 +03:00
Rsl1122
28186a06f6 Fixed Litebans table taking too large width on Player page #633 2018-07-18 10:53:33 +03:00
Rsl1122
f6a10e9faf Updated pluginbridge 2018-07-16 18:05:49 +03:00
Rsl1122
0b5805a39f Fixed unique constraint issue #548, added 1.13 protocol 2018-07-16 18:03:51 +03:00
Rsl1122
4b6953c403 Fixed fort-awesome icons #630 2018-07-16 17:40:14 +03:00
Rsl1122
7c64ec7b16 Updated pluginbridge jar 2018-07-10 11:38:25 +03:00
Rsl1122
571de4e15d Fixed plugin icons and plugin bugs #615, #605, #606 2018-07-10 11:36:24 +03:00
Rsl1122
cd87fd3cce Updated pluginbridge jar 2018-07-09 10:29:19 +03:00
Rsl1122
3ecddd19f4 Fixed Litebans ban status #608 2018-07-09 10:26:46 +03:00
Rsl1122
721c8ebe44 Fixed compile issues in PluginBridge 2018-07-09 10:25:49 +03:00
Rsl1122
1039c54f58 Merge remote-tracking branch 'origin/data-refactoring-bridge-fixes' into data-refactoring
# Conflicts:
#	Plan/src/main/java/com/djrapitops/plan/data/Actions.java
#	Plan/src/main/java/com/djrapitops/plan/data/PlayerProfile.java
#	Plan/src/main/java/com/djrapitops/plan/data/ServerProfile.java
#	Plan/src/main/java/com/djrapitops/plan/data/container/Action.java
#	Plan/src/main/java/com/djrapitops/plan/data/container/GeoInfo.java
#	Plan/src/main/java/com/djrapitops/plan/data/container/StickyData.java
#	Plan/src/main/java/com/djrapitops/plan/data/store/mutators/HealthInformation.java
#	Plan/src/main/java/com/djrapitops/plan/system/database/databases/operation/SaveOperations.java
#	Plan/src/main/java/com/djrapitops/plan/system/database/databases/operation/TransferOperations.java
#	Plan/src/main/java/com/djrapitops/plan/system/database/databases/sql/operation/SQLFetchOps.java
#	Plan/src/main/java/com/djrapitops/plan/system/database/databases/sql/tables/ActionsTable.java
#	Plan/src/main/java/com/djrapitops/plan/system/info/server/BukkitServerInfo.java
#	Plan/src/main/java/com/djrapitops/plan/system/listeners/bukkit/PlayerOnlineListener.java
#	Plan/src/main/java/com/djrapitops/plan/system/listeners/sponge/SpongePlayerListener.java
#	Plan/src/main/java/com/djrapitops/plan/system/processing/processors/player/FirstLeaveProcessor.java
#	Plan/src/main/java/com/djrapitops/plan/system/webserver/pages/parsing/AnalysisPage.java
#	Plan/src/main/java/com/djrapitops/plan/system/webserver/pages/parsing/NetworkPage.java
#	Plan/src/main/java/com/djrapitops/plan/system/webserver/pages/parsing/Page.java
#	Plan/src/main/java/com/djrapitops/plan/utilities/html/structure/SessionTabStructureCreator.java
#	Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/ActionsTable.java
#	Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/SessionsTableCreator.java
2018-07-09 08:33:03 +03:00
Rsl1122
36a9825442 Made McMMO PluginData use database instead Fixes #567, Implements #589 2018-06-02 13:32:04 +03:00
Rsl1122
5c53368f28 Fixes Towny exception #595 2018-06-02 13:20:25 +03:00
Pyves
3412968039 Merge PR #596 from PyvesB/aach to 4.3.3
* Updated hook to use new Advanced Achievements API Maven artifact

* Removed spurious tab
2018-06-02 12:32:57 +03:00
Rsl1122
d677fb816e Fixed compile issues in PluginBridge 2018-06-02 08:07:06 +03:00
Rsl1122
3ed62ffb1a Disabled React hooks since the implementation is unfinished 2018-05-31 09:46:55 +03:00
Rsl1122
818e93ac95 Fixed ReactHook registration and a bug with data collection 2018-05-26 10:58:42 +03:00
Rsl1122
90fd06194b Removed use of FormatUtils.formatLocation in PluginBridge 2018-05-26 10:18:46 +03:00
Rsl1122
19068d8f81 Task registration to ReactHook, Table cleaning 2018-05-26 10:16:22 +03:00
Rsl1122
2a06c57c71 Added database storage functionality for React data 2018-05-26 10:09:34 +03:00
Rsl1122
ef781723b3 Removed use of MiscUtils#getTime in PluginBridge 2018-05-25 10:05:54 +03:00
Rsl1122
2274f9204e Updated PluginBridge jar 2018-05-24 15:50:19 +03:00
Rsl1122
5b23bddc04 Postponed PlaceholderAPI support due to unexpected NoClassDefFoundError 2018-05-24 15:49:22 +03:00
Rsl1122
ecd56a1bf7 Fixed #572 GP Data erasure (Removed calls & Added delays)
Addresses https://github.com/TechFortress/GriefPrevention/issues/279
2018-05-24 15:22:28 +03:00
Rsl1122
58592f0777 Added Plan placeholders to PlaceholderAPI 2018-04-09 00:26:03 +03:00
Rsl1122
3ff39d43cf Updated plugin bridge jar 2018-04-04 21:48:38 +03:00
Rsl1122
b0d19134d2 Fixed NoSuchMethodErrors related to PluginBridge #555 2018-04-04 21:47:25 +03:00
Rsl1122
187ac708f0 Updated pluginbridge jar 2018-04-04 12:08:03 +03:00
Rsl1122
1f84cd556b Removed PluginData functionality reliant on PlayerProfile OfflinePlayer 2018-04-02 18:37:16 +03:00
Rsl1122
aaf1d8a28c Updated PluginBridge jar (2/2) 2018-02-23 10:35:31 +02:00
Rsl1122
d5f924191a Updating PluginBridge jar (1/2) 2018-02-23 10:34:34 +02:00
Rsl1122
ec6fb4106e Fixed SuperbVote related NoSuchMethodErrors 2018-02-23 10:28:05 +02:00
Rsl1122
70cfe0984b Updated PluginBridge jar 2018-02-02 13:29:18 +02:00
Rsl1122
98d55b2ff2 Added World Name to GameMode slices (#491) 2018-02-01 18:17:53 +02:00
Rsl1122
a6bd3eadcc Added a Stack graph for BuyCraft. (Each currency has own series) 2018-02-01 18:07:18 +02:00
Rsl1122
4ed3b4ae62 Fixed litebans Player page table. 2018-01-30 13:45:29 +02:00
Rsl1122
5df1145199 Bridge now registers listeners during reload (they're unregistered) 2018-01-30 12:06:04 +02:00
Rsl1122
62264ce1fd Fixed LiteBansData (Broken due to refactoring) And improved it a lot. 2018-01-30 12:01:20 +02:00
Rsl1122
bd96978917 Fixed BuyCraft PluginData 2018-01-29 23:46:34 +02:00
Rsl1122
554eb83efd First attempt at BuyCraft support (#475) 2018-01-29 23:01:20 +02:00
Rsl1122
547b191464 Added support for GriefPreventionPlus (#494) 2018-01-29 21:45:23 +02:00
Rsl1122
f0efc39c83 Litebans PluginData no longer uses hardcoded table prefix (#480) 2018-01-29 21:31:19 +02:00
Rsl1122
f9883473f5 Fixed NPE related to Factions (#486) 2018-01-29 21:26:33 +02:00
Rsl1122
2e6ca6aa8e Fixed Bad ID values in Plugin Accordions (#504) 2018-01-29 21:19:07 +02:00
Rsl1122
d697c4875c Fixed RedProtect API call in PluginBridge (#502) 2018-01-29 21:14:41 +02:00
Rsl1122
922562989a Sonar Code smell clean-up 2018-01-28 20:46:03 +02:00
Rsl1122
0d4c065b52 PluginBridge now split into Bukkit & Bungee for future compatibility. 2018-01-27 17:37:42 +02:00
Rsl1122
2b412f6f7b Fixed PlanPluginBridge compile issues 2018-01-24 20:26:38 +02:00
Rsl1122
4b33c5882d Moved all packages from main.java.com.djrapitops to com.djrapitops 2018-01-11 14:17:09 +02:00
Rsl1122
a99d49bab0
Delete Risto.xml 2018-01-11 13:10:33 +02:00
Rsl1122
7f250251f1
Delete Maven__com_destroystokyo_paper_paper_1_12_R0_1_SNAPSHOT.xml 2018-01-11 13:10:24 +02:00
Rsl1122
37415f21b6
Delete Maven__com_gamingmesh_jobs_4_0_1.xml 2018-01-11 13:10:18 +02:00
Rsl1122
1b1b54de61
Delete Fix__198.xml 2018-01-11 13:10:09 +02:00
Rsl1122
c462c46a8e Updated PluginBridge jar 2017-12-16 12:46:17 +02:00
Rsl1122
b35d7abf53 Fixed plugin bugs caused by poor refactor copy of Hack table for AAC #474 #473 #471
Renamed plan_viaversion_protocol to plan_version_protocol
Renamed HackerTable from plan_viaversion_protocol to plan_aac_hack_table
And use of wrong method for enum name #470
2017-12-16 12:43:44 +02:00
Rsl1122
d3bf6b4063 Removed old pluginbridge jar 2017-12-06 15:40:29 +02:00
Rsl1122
9c76f7293b Updated PluginBridge jar 2017-12-06 15:38:47 +02:00
Rsl1122
4612ccd13f Fixed NPE related to Factions #451 2017-12-06 15:34:59 +02:00