Commit graph

105 commits

Author SHA1 Message Date
Luna 9639dde2df Remove usage of deprecated APIs 2023-07-01 20:44:59 -03:00
Luna 7b51a42080 Remove some unnecessary checks 2023-07-01 17:52:36 -03:00
kaboom c052c8c79c Move skin-related code to player modules 2023-06-21 20:00:54 +03:00
Allink 9e0cc8c034
Make username check stricter 2023-04-08 18:02:45 +01:00
Allink 6c375f0cb5
Make URL regex stricter 2023-04-08 16:49:46 +01:00
Allink 9cf76a8ee6
Make links clickable again with a TextReplacementConfig
Fixes #341
2023-04-02 01:11:43 +01:00
Allink d68dfb5b01
Refactor static final fields in PlayerPrefix module to be consistent 2023-04-02 00:29:39 +01:00
Allink 4183481143
Finalize PlayerPrefix module 2023-04-02 00:28:30 +01:00
Chipmunk 91481b94e4
Append to an empty component instead of the prefix (#334) 2023-01-09 15:09:34 +02:00
Allink b3555d92d8
Display prefixes and display names in tab (#332) 2022-12-27 19:50:26 +02:00
Allink cbbc4937d5
Fix & improve skin command, improve username command (#331)
* Use per-player ratelimit for /username

* Improve the skin system

- Migrates skin getting over to Mojang. I do indeed understand that the Mojang API is more ratelimited and generally harder to use, it should be noted that it has an almost 0% chance of error. Compare that to Ashcon which, on some days, has a 50% chance of actually recognizing your account exists
- Uses CompletableFutures and a ExecutorService for making requests
- Renames SkinDownloader class to SkinManager class
- Makes SkinManager class static
- Limits the /skin command per-player
2022-12-27 19:50:02 +02:00
Chip baddda61aa
Use adventure for death messages (#329) 2022-11-18 16:09:55 +02:00
Kaboom 29207ef8b9
Merge pull request #318 from allinkdev/adventure
Use Adventure instead of legacy Bukkit/Spigot ChatColors
2022-10-16 02:40:37 +03:00
Allink 04b8ce1c3c
Migrate commands to Adventure, add new commands
New additions are Adventure-centric.
2022-10-15 23:25:26 +01:00
Allink 8296dc7075
Use a ChatRenderer and allow players to use MiniMessage in chat messages 2022-10-15 20:34:12 +01:00
kaboom 1ebcae5e0c PlayerInteract.java: Remove dead code 2022-08-08 02:39:42 +03:00
Allink 5780f1a4a6
OOB Random Spawn Fix (#316)
* Add warning for "randomizeSpawn" option about the speed of chunk generation

* Limit random spawn to half a million blocks, which should hopefully fix the OOB error

* Recommend users to use Chunky for pre-world generation

* Add missing period

* Fix checkstyle violation
2022-07-18 20:32:19 +03:00
Allink 7f1057df08
Process player sign commands with Paper event (#319) 2022-07-18 20:30:56 +03:00
kaboom 0cda7acb6a Use consistent style for imports 2022-05-21 00:53:30 +03:00
Allink 69ef06fc32
Handle full server kicks separately from other join restrictions (#315)
* Handle full server kicks separately from other join restrictions (closes #312)

* Add missing condition

* Add bracket back

* Remove extra bracket

Co-authored-by: Kaboom <58372747+kaboombot@users.noreply.github.com>
2022-05-20 07:18:37 +03:00
kaboom 6936749213 Optimize user prefix loading/saving 2022-05-20 07:06:09 +03:00
kaboom 67220510b1 Set maximum line length to 100 characters 2022-05-20 07:06:09 +03:00
kaboom 78067effe2 Use spaces instead of tabs 2022-05-20 07:06:08 +03:00
kaboom 28c78be287 Various cleanups for consistency 2022-05-20 01:46:33 +03:00
kaboom 3d1f8e5247 PlayerConnection.java: Remove hostname check for play.flame.ga
flame.ga is no longer a valid domain.
2022-05-02 19:42:04 +03:00
Kaboom 5e12d92010
Use constants when possible 2021-09-13 22:47:29 +03:00
LunaWasFlaggedAgain a57a6030b1
Cleaned up code + unblocked a few things (#301) 2021-09-13 21:50:24 +03:00
hhhzzzsss 4e5e257534
Fixed tab completion for /deop and /op (#299) 2021-07-22 19:26:33 +03:00
Apmunute 7f33a50977
Fix exploits (#1)
* Fix distance exploit

* fix forceload on execute

* IDE break or smth idk

* fix auto:2b on fill

* fix auto:2b on fill

* block setblock on execute

* block debug on execute

* block datapack on execute

* block datapack and minecraft:datapack

* block summon on execute

* Remove the ability for entity selectors to be used in /say

* Increase chat delay from 5ms to 50ms

* remove debug

* maven checkstyle bypass

* solve conflicts I think idk if this will work since github

* maven checkstyle

* yes.

* Remove extra whitespace

* patch funny reload commands

* amazing

* whoops

* yet another crash exploit

* added to commands.yml

* convert spaces to tabs

Co-authored-by: arclicious <arclicious@vivaldi.net>
Co-authored-by: Business Goose <44676012+business-goose@users.noreply.github.com>
2020-12-12 20:00:19 +02:00
mathiascode 3b29ee5dc0 Preserve pitch and yaw when teleporting 2020-05-10 16:23:33 +03:00
mathiascode cf138a561b Update README command list 2020-04-21 17:39:41 +03:00
mathiascode f74c38f83d Actually remove effects on death 2020-04-21 17:37:04 +03:00
mathiascode 6fe4e56a7f Prevent server from half-crashing 2020-04-21 16:44:24 +03:00
mathiascode 92d9e4ad64 Remove outdated command 2020-04-18 17:13:03 +03:00
mathiascode ca92e0fada Address some entity crash issues 2020-04-17 06:17:59 +03:00
mathiascode d3b171b5db Different way of checking spawn radius 2020-03-18 00:31:47 +02:00
mathiascode fa4868908b Fix player respawn loop 2020-02-28 17:18:20 +02:00
mathiascode 11ce7cf2be Enforce code style check 2020-02-27 17:08:10 +02:00
mathiascode 5c24a9bc44 Attempt to fix max health issues 2020-02-27 16:30:18 +02:00
mathiascode 152962108a Fix redstone physics 2020-02-27 02:00:52 +02:00
mathiascode 78f105fd2b Handle tridents 2020-02-26 22:20:13 +02:00
mathiascode bf6592f9f9 Push latest changes to block physics 2020-02-18 05:34:21 +02:00
mathiascode 44e3d0fbb6 Rate limit skin command 2020-02-17 02:09:28 +02:00
mathiascode 72bc93b970 Rate limit username command 2020-02-17 01:23:13 +02:00
mathiascode 4169747681 Optimize username command 2020-02-16 05:53:06 +02:00
mathiascode 177d2ce452 Use consistent equals style 2020-02-14 23:44:00 +02:00
mathiascode 66e3a3da01 Minecraft 1.15.2 2020-01-22 16:33:19 +02:00
mathiascode 95a3cbd175 Skip API calls for offline players 2020-01-06 00:00:45 +02:00
mathiascode 00e7494dce Don't remove player entities 2020-01-05 22:11:57 +02:00
mathiascode 03b66ccb2c Handle invalid translations 2020-01-04 23:17:55 +02:00