Commit graph

15 commits

Author SHA1 Message Date
Allink 88298b7007
Enforce stricter sender type checks across all player-only commands
Previously it was possible to bypass the "ConsoleCommandSender" check by running the command in a command block, and causing the server to throw an exception in console. Exceptions are bad.
2023-04-02 00:25:41 +01:00
Allink b3555d92d8
Display prefixes and display names in tab (#332) 2022-12-27 19:50:26 +02:00
kaboom 1a0c094f4a Use guard clauses when possible
Closes #322
2022-10-16 03:08:35 +03:00
Allink 04b8ce1c3c
Migrate commands to Adventure, add new commands
New additions are Adventure-centric.
2022-10-15 23:25:26 +01:00
kaboom 0cda7acb6a Use consistent style for imports 2022-05-21 00:53:30 +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
mathiascode 177d2ce452 Use consistent equals style 2020-02-14 23:44:00 +02:00
mathiascode 164f6b5524 Fix style errors in command code 2019-12-21 15:39:31 +02:00
mathiascode d3d5140fe4 Fix package paths 2019-12-17 14:37:59 +02:00
mathiascode 3a3b450921 Don't hardcode join titles 2019-12-01 01:04:08 +02:00
mathiascode 2c6e2a8b31 Cleanups, better optimizations 2019-09-28 03:29:48 +03:00
mathiascode 6b22761698 Better command handling in console 2019-09-22 05:37:43 +03:00
mathias 8d5271e3fd Separate command classes into files 2019-07-30 17:41:54 +03:00