Commit Graph

3969 Commits

Author SHA1 Message Date
games647
cc2128b612
Protect unknown data too 2021-06-19 18:22:54 +02:00
games647
e437321f8f
Code clean up 2021-06-19 17:53:13 +02:00
games647
b1a9abc019
Perform all restriction checks only on cache
Cache registration status for online players. The cache stays valid until the player leaves the server or logs manual in.
2021-06-19 17:48:11 +02:00
games647
c04a72ba55
Allow unregistered players in not enforced config to use tab 2021-06-19 17:48:11 +02:00
games647
f52e6a1a2f
Allow unregistered players in not enforced config to use tab 2021-06-19 11:53:29 +02:00
games647
a8ebe70900
Only leave inventory untouched if registration is not enforced 2021-06-19 11:46:12 +02:00
games647
25f7e1321a
Check inventory authentication status only on cache
Fixes #2212

In #2112, we found out that in configurations with disabled cache (like Bungee), this adapter will perform blocking queries on the main thread which impacts the performance.

The original code (81cf14fbc1) is in place to
preserve the inventory for unregistered and configurations without enforcing a registration (#1830, #1752). Alternatives are:

1. Send the inventory on registration like p.updateInventory()
  * Still hides it before for unregistered
2. Checking for the enforce registration setting would mean it hides also the inventory for unregistered players
3. Get a notification on player status changes
  * Requires a complex setup to propagate the changes across spigot servers
  or different solution for web interfaces
  * Refresh events, when the status is updated within the plugin itself would be possible, however requires previous queries like registration/login requests. Instant reports about registration will still be complicated. Example: Every time we make queries, save the result locally and fire an event for our components to check for potential changes without making the same query again. Nevertheless this again delays changes if there is no need to that.
2021-06-18 15:05:42 +02:00
Gabriele C
7a1411c283 Bump spigot and protocollib version 2021-06-14 15:22:59 +02:00
dependabot[bot]
d8c9407792
Bump postgresql from 42.2.20 to 42.2.21 (#2350)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.20 to 42.2.21.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/REL42.2.21/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.20...REL42.2.21)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-13 01:51:58 +02:00
dependabot[bot]
e36e0b43d5
Bump mockito-core from 3.10.0 to 3.11.0 (#2347)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 02:27:38 +02:00
dependabot[bot]
1363b4a9b5
Bump checker-qual from 3.13.0 to 3.14.0 (#2346)
Bumps [checker-qual](https://github.com/typetools/checker-framework) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.13.0...checker-framework-3.14.0)

---
updated-dependencies:
- dependency-name: org.checkerframework:checker-qual
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 02:27:19 +02:00
Gabriele C
f2a660712e Move onJoinMessage to HIGH priority 2021-06-07 02:26:58 +02:00
ljacqu
5be9b380e5 Fix failing AuthMeInitializationTest 2021-05-27 10:26:29 +02:00
dependabot[bot]
0cd17dfe29
Bump maven-javadoc-plugin from 3.2.0 to 3.3.0 (#2340)
Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.2.0...maven-javadoc-plugin-3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 21:42:38 +02:00
dependabot[bot]
4af1eb6fd3
Bump mockito-core from 3.9.0 to 3.10.0 (#2337)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 21:42:06 +02:00
dependabot[bot]
1b06ea2af5
Bump jacoco-maven-plugin from 0.8.6 to 0.8.7 (#2332)
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.6 to 0.8.7.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.6...v0.8.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 21:42:00 +02:00
dependabot[bot]
0b382154c8
Bump checker-qual from 3.12.0 to 3.13.0 (#2330)
Bumps [checker-qual](https://github.com/typetools/checker-framework) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.12.0...checker-framework-3.13.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 21:41:54 +02:00
Typical
04831c8dcd
Update messages_vn.yml (#2327) 2021-05-26 21:41:43 +02:00
dependabot[bot]
6a5344ef67
Bump postgresql from 42.2.19 to 42.2.20 (#2326)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.19 to 42.2.20.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/REL42.2.20/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.19...REL42.2.20)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 21:41:22 +02:00
Andrea Cavalli
3393d989d9
Fix java 16 compatibility issue (#2342) 2021-05-26 21:40:59 +02:00
Gabriele C
d2a36b95d6
Update dependabot.yml 2021-04-20 11:38:46 +02:00
dependabot[bot]
cacd7a914f
Bump mockito-core from 3.8.0 to 3.9.0 (#2319)
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[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-09 02:23:29 +02:00
dependabot[bot]
62c80f65fe
Bump argon2-jvm-nolibs from 2.9.1 to 2.10.1 (#2317)
Bumps [argon2-jvm-nolibs](https://github.com/phxql/argon2-jvm) from 2.9.1 to 2.10.1.
- [Release notes](https://github.com/phxql/argon2-jvm/releases)
- [Changelog](https://github.com/phxql/argon2-jvm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phxql/argon2-jvm/compare/v2.9.1...v2.10.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-09 02:23:22 +02:00
Gabriele C
bfe92977de
Update dependabot.yml 2021-04-09 02:22:47 +02:00
Gabriele C
5490a1cf23 Fix wrong shading filter rule 2021-04-09 02:18:35 +02:00
Gabriele C
40261c9217 Create legacy jar to include the latest mysql connector version #1779 + Enhance maven shade resource filtering 2021-04-09 01:53:41 +02:00
Gabriele C
ea22552f7d Back to snapshot 2021-04-04 21:36:04 +02:00
Gabriele C
740935a204 5.6.0-beta2 release 2021-04-04 21:35:02 +02:00
dependabot[bot]
40a98fe4ec
Bump checker-qual from 3.11.0 to 3.12.0 (#2313)
Bumps [checker-qual](https://github.com/typetools/checker-framework) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/changelog.txt)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.11.0...checker-framework-3.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-04 21:23:56 +02:00
Kristjan Krušič
745ed18e1c
Updated README to better fit 2021. (#2314)
* Updated README to better fit 2021.

* Changed Java to JDK in README.
2021-04-04 01:58:50 +02:00
Pietro T
12cf3aa060
Fix #2018. using player's health value instead of isDead (which is unreliable) (#2302) 2021-03-31 20:47:34 +02:00
games647
fc8c9d8748
Open GEO connection after checking config values
(Related #2289)
2021-03-28 22:41:03 +02:00
Gabriele C
d50ad908d7
Fix typo in database setrings properties 2021-03-15 10:20:56 +01:00
Hex3l
b1e9b43294
adds proxy sessions, fixing auto login from bungee messages issues (#2285) 2021-03-15 02:49:45 +01:00
Gabriele C
543c9782be
Fix wrong default mysql driver class #2303 2021-03-15 02:46:37 +01:00
Gabriele C
8a42a77519 Bump spigot and bstats version 2021-03-14 03:12:01 +01:00
Eric-01
4e55f26a41
Added /log command to the allowCommands sequence (#2290) 2021-03-14 02:53:00 +01:00
MacacoLew
f2bdaa0454
Specify the Driver Class Name ("com.mysql.cj.jdbc.Driver") (#2262)
* Specify the Driver Class Name ("com.mysql.cj.jdbc.Driver")

TODO: Configurable Driver Class Name

* Update DatabaseSettings.java

* Update MySQL.java
2021-03-14 02:46:17 +01:00
dependabot[bot]
f6392d2d5c
Bump argon2-jvm-nolibs from 2.8 to 2.9.1 (#2273)
Bumps [argon2-jvm-nolibs](https://github.com/phxql/argon2-jvm) from 2.8 to 2.9.1.
- [Release notes](https://github.com/phxql/argon2-jvm/releases)
- [Changelog](https://github.com/phxql/argon2-jvm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phxql/argon2-jvm/compare/v2.8...v2.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 02:44:27 +01:00
dependabot[bot]
1da34cf894
Bump junit from 4.13.1 to 4.13.2 (#2288)
Bumps [junit](https://github.com/junit-team/junit4) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13.1...r4.13.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 02:43:55 +01:00
dependabot[bot]
8c687dcb7e
Bump postgresql from 42.2.18 to 42.2.19 (#2292)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.18 to 42.2.19.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/REL42.2.19/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.18...REL42.2.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 02:43:38 +01:00
dependabot[bot]
43e4088690
Bump mockito-core from 3.6.28 to 3.8.0 (#2294)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.6.28 to 3.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.28...v3.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 02:43:20 +01:00
dependabot[bot]
e04a139a7e
Bump checker-qual from 3.8.0 to 3.11.0 (#2295)
Bumps [checker-qual](https://github.com/typetools/checker-framework) from 3.8.0 to 3.11.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/changelog.txt)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.8.0...checker-framework-3.11.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 02:43:08 +01:00
dependabot[bot]
1a4f73c37e
Bump HikariCP from 3.4.5 to 4.0.3 (#2297)
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 3.4.5 to 4.0.3.
- [Release notes](https://github.com/brettwooldridge/HikariCP/releases)
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES)
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-3.4.5...HikariCP-4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 02:42:44 +01:00
dependabot[bot]
6311915310
Bump api from 5.2 to 5.3 (#2298)
Bumps [api](https://github.com/lucko/LuckPerms) from 5.2 to 5.3.
- [Release notes](https://github.com/lucko/LuckPerms/releases)
- [Commits](https://github.com/lucko/LuckPerms/compare/v5.2...v5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 02:42:36 +01:00
dependabot[bot]
d76131c8e7
Bump argon2-jvm-nolibs from 2.7 to 2.8 (#2245)
Bumps [argon2-jvm-nolibs](https://github.com/phxql/argon2-jvm) from 2.7 to 2.8.
- [Release notes](https://github.com/phxql/argon2-jvm/releases)
- [Changelog](https://github.com/phxql/argon2-jvm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phxql/argon2-jvm/compare/v2.7...v2.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-18 12:33:53 +01:00
dependabot[bot]
bb83fd85b5
Bump sqlite-jdbc from 3.32.3.2 to 3.34.0 (#2243)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.32.3.2 to 3.34.0.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.32.3.2...3.34.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 19:16:02 +01:00
DoctorPCComputers
06de3fde9a
Added password change (#2239) 2020-12-12 19:15:50 +01:00
dependabot[bot]
fcd4a2fad7
Bump checker-qual from 3.7.1 to 3.8.0 (#2236)
Bumps [checker-qual](https://github.com/typetools/checker-framework) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/changelog.txt)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.7.1...checker-framework-3.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 13:56:44 +01:00
Gabriele C
56ad6b6b44 Make postgresql dependency optional 2020-11-28 03:48:57 +01:00