Commit Graph

4959 Commits

Author SHA1 Message Date
dependabot-preview[bot]
148ee6ae57 Bump mysql-connector-java from 8.0.23 to 8.0.24 in /Plan
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.23 to 8.0.24.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-20 05:30:46 +00:00
Yannick Schinko
23509ae69a
Changed gradle warpper to bin distribution (#1852)
That is *significantly* smaller to download. And devs don't need the docs locally.
2021-04-20 08:27:12 +03:00
Yannick Schinko
330dc17035
Added "_raw" placeholder variants for further processing (#1851)
These placeholders can be more easily used to be processed in plugins that process placeholders (like scoreboards)
2021-04-20 08:26:15 +03:00
Risto Lahtela
b1ebf55ce1 Registered ProtectionStones extension
- Adds 3 tables: Owned regions, Member regions and Homes

Affects issues:
- Close #1840
2021-04-19 10:37:24 +03:00
Risto Lahtela
0161f40419 Update Litebans extension
- Added a datapoint for player names of players who connected with the same IP

Affects issues:
- Close #1813
2021-04-18 20:32:28 +03:00
Risto Lahtela
8853793de1 Moved operator status transaction to further down the join event pipeline
Affects issues:
- #1827
2021-04-18 09:34:39 +03:00
Risto Lahtela
74a36a7a7a Added average tps to "During low tps spikes" 2021-04-18 09:26:03 +03:00
Risto Lahtela
599bf4a837 LargeStoreQueries now stores missing world names as well.
Affects issues:
- Fixed #1848
2021-04-18 09:23:09 +03:00
Risto Lahtela
acf15a1e86 Registered KingdomsX Extension
Affects issues:
- Close #1608
2021-04-17 09:43:55 +03:00
Risto Lahtela
2247b9099c Plan API 5.2-R0.8: Reduced builder compiler errors 2021-04-17 09:40:07 +03:00
Risto Lahtela
9bf0838026 Plan API 5.2-R0.7: Group method databuilders & reduced builder compiler errors 2021-04-17 09:35:18 +03:00
Risto Lahtela
1c946e7490 Added missing server UUID to operator and ban status transactions
Affects issues:
- #1827
2021-04-17 08:24:42 +03:00
Risto Lahtela
62b387da53 Add missing server parameter to join address pie method call
Affects issues:
- Fixed #1827
2021-04-17 08:09:38 +03:00
Risto Lahtela
5d32a97154 Added the missing Database Patch class files 2021-04-16 16:42:02 +03:00
Risto Lahtela
a8716e533e Rewrote transactions for storing extension table data
Affects issues:
- Possibly fixed #1522
- Possibly fixed #1838
2021-04-16 16:28:03 +03:00
Risto Lahtela
53120ad65a Registered MyPet extension
- Added data about the current pet of the player

Affects issues:
- Close #1230
2021-04-16 10:58:39 +03:00
Risto Lahtela
3e65d46164 Reduced dynamic table limit for extensions to 25 rows
Affects issues:
- Close #1762
2021-04-15 20:24:34 +03:00
Risto Lahtela
a015925751 Updated DKBans Extension
- Handled cases where player might be null

Affects issues:
- Fixed #1847
2021-04-15 20:22:28 +03:00
Risto Lahtela
5f4ee93f5f Stop using Paper virtual address method for join addresses
It is returning some garbage
2021-04-15 20:03:20 +03:00
Risto Lahtela
d1e00da51a Started using player UUID instead of name in URLs
- Changed instances where player name was given in a link instead of UUID where possible
  - Could not change for Extensions where "isPlayerName=true" is set for String data, the UUID is
    not available from the query

- Changed 404 error message to have '/player/{uuid/name}' instead of '/player/PlayerName'
- Changed export directory from names to uuids, change log should recommend export users to clear
  their player directory and to run /plan export players
- Fixed issue where Web users with level 2 could not access their own player page via /player/{uuid}

Affects issues:
- Close #1841
2021-04-15 10:13:32 +03:00
Risto Lahtela
1bded295e2 Fixed "Plan" appearing as server name on session accordion 2021-04-15 09:42:43 +03:00
Risto Lahtela
272defb205 Prevent use of / & and ? in a server name
Affects issues:
- Fixed #1831
2021-04-15 09:42:17 +03:00
Risto Lahtela
d860fbb606 Remove null character stuff from Join address & truncate
- Truncated the address to 255 characters in case the null character removal doesn't work
  for some reason.

Affects issues:
- Fixed #1842
2021-04-15 09:36:50 +03:00
Risto Lahtela
c401a7516a Registered Quests extension
- Allows tracking how many quests have been completed

Affects issues:
- Close #1632
2021-04-14 19:24:49 +03:00
dependabot-preview[bot]
aacc4c1534 Bump dagger-compiler from 2.34 to 2.34.1 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.34 to 2.34.1.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.34...dagger-2.34.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-14 06:04:29 +00:00
dependabot-preview[bot]
a86e13eac4 Bump dagger from 2.34 to 2.34.1 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.34 to 2.34.1.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.34...dagger-2.34.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-14 05:54:28 +00:00
Risto Lahtela
4ab6c68cdd Registered PlaceholderAPI extension
- Allows tracking any placeholders specified in the Plan config

Affects issues:
- Close #1584
2021-04-13 12:32:37 +03:00
Risto Lahtela
af858b8455 Plan API 5.2-R0.6: InvalidateMethod equivalent to ExtensionDataBuilder 2021-04-13 11:57:38 +03:00
Risto Lahtela
5cecde5500 Update Tebex extension
- Store buycraft payment information on Plan
- Store more than 100 payments, all of them instead
- Show all payments on the server page
- Show player made payments on the player's page

Affects issues:
- Close #1451
2021-04-13 11:43:13 +03:00
Risto Lahtela
439a5743b8 Update Bentobox Extension
- Adds MagicCobblestoneGenerator data
- Adds AOneBlock statistics about the phases

Affects issues:
- Close #1649
2021-04-12 12:47:30 +03:00
Risto Lahtela
65b409df2a Added LogBlock extension
Implemented following things:
- diamonds / stone ratio on the player list
- <ore> / stone ratio tables to player pages for each ore
- <nether ore> / Netherrack ratio tables to player pages for each ore

Affects issues:
- Close #1653
2021-04-11 11:58:52 +03:00
Risto Lahtela
ab31f8a074 Plan API 5.2-R0.5: More lenient TabInfo annotation usage
- No more warning when TabInfo is defined without Tab annotations.
  This is because builders can define tabs regardless.
2021-04-11 11:53:44 +03:00
Risto Lahtela
1dfc7df307 Added Lands Extension
Implemented following data points:
- number of chunk claims per player
- number of chunk to claim available per player
- land spawn coordinates if available
- no server data

Affects issues:
- Close #1429
2021-04-11 11:01:38 +03:00
Risto Lahtela
01d9942d96 Update ViaVersion extension: Added Velocity support 2021-04-11 10:32:21 +03:00
Risto Lahtela
c3ce37bfa9 Plan API 5.2-R0.4: SchedulerService
Allows scheduling async tasks for platforms that don't have static
accessors for registering tasks, such as Velocity
2021-04-11 10:28:08 +03:00
Risto Lahtela
9302067a49 Plan API 5.2-R0.3: ListenerService
Allows registering listeners for platforms that don't have static
accessors for registering listeners, such as Velocity
2021-04-11 10:16:37 +03:00
Risto Lahtela
5af889cba3 Registered React Extension
Affects issues:
- #583
2021-04-10 14:47:38 +03:00
Risto Lahtela
bafbfd65f9 Registered PlotSquared extension
Affects issues:
- #583
2021-04-10 14:09:12 +03:00
Risto Lahtela
2a0474a5c6 Registered Heroes Extension
Affects issues:
- #583
2021-04-09 17:21:34 +03:00
Risto Lahtela
699666e2ce Registered MarriageMaster Extension
Adds data about marriages and weddings.

Affects issues:
- Close #1229
2021-04-09 11:51:29 +03:00
Risto Lahtela
1fafd303d3 Publish Plan API 5.2-R0.2 with DataExtension Builder API 2021-04-09 11:00:53 +03:00
dependabot-preview[bot]
02877fd2fb Bump dagger-compiler from 2.33 to 2.34 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.33 to 2.34.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.33...dagger-2.34)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 05:49:26 +00:00
dependabot-preview[bot]
5793872660 Bump mockito-junit-jupiter from 3.8.0 to 3.9.0 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 05:48:20 +00:00
dependabot-preview[bot]
a085e88be1 Bump dagger from 2.33 to 2.34 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.33 to 2.34.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.33...dagger-2.34)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 05:38:42 +00:00
dependabot-preview[bot]
74bfe68e7a Bump mockito-core from 3.8.0 to 3.9.0 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 05:38:20 +00:00
Risto Lahtela
9466dc3e9d Added a valueBuilder convenience method to DataExtension 2021-04-07 20:11:59 +03:00
Risto Lahtela
113d46669b
DataExtension Builder API (#1833)
* Rewrote annotated extension method extraction
* Enclose annotation based methods into a single ExtensionDataBuilder

All of the reflection related to extension annotation was difficult,
so now it's all dealt with in one place and it's abstracted away with the
upcoming builder based API.

Some odd additions had to be made to the interface, but they are mostly harmless,
as the annotations are used as method parameters where necessary. This way the
users of the API are unable to give weird values.

It was possible to reuse MethodWrapper and Parameters classes for calling the methods.

* Refactored server value storage to use builder data
* Refactored player value storage to use builder data
* Refactored table gathering to use builders
* Handle extension errors properly
* Javadocs for DataExtension builder API
* Removed DataProviders based implementation

- Renamed ProviderValueGatherer to DataValueGatherer
2021-04-07 19:09:38 +03:00
WolverStone
175094b6d6
Update locale_CS.txt (#1830) 2021-04-04 16:22:10 +03:00
Risto Lahtela
57b6ec87fd Updated SB Admin 4.2.1 -> 4.5.3
- Moved some of the custom rules to style.css
- Did not apply some color changes from upstream.
2021-04-04 10:56:44 +03:00
Hasan-Kose
d1e5b93eaa
Update locale_TR.txt (#1826) 2021-04-02 18:18:03 +03:00