Commit graph

245 commits

Author SHA1 Message Date
8c90e54511 Prevent muted players from using chat commands
By chat commands I mean commands for chatting
2022-12-08 12:09:06 -05:00
baddda61aa
Use adventure for death messages (#329) 2022-11-18 16:09:55 +02:00
4a917201b4
Unblock selector even more (#327) 2022-11-05 00:11:40 +02:00
a1007853dd
Replace string concatenation with appending text components (#325)
* Replace string concatenation with appending text

* Fix inconsistent indentation

oops

* indentation

i forgor 💀
2022-11-01 15:02:25 +02:00
03a2fec6f4
Unblock selector in some commands (#324) 2022-10-31 00:10:24 +02:00
kaboom
5ed49c99b4 Bump maven-checkstyle-plugin version to 3.2.0 2022-10-16 03:12:12 +03:00
kaboom
1a0c094f4a Use guard clauses when possible
Closes #322
2022-10-16 03:08:35 +03: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
be3149dc7a
Make clearchat sendMessage to individual players instead of broadcasting 2022-10-15 23:25:56 +01:00
Allink
04b8ce1c3c
Migrate commands to Adventure, add new commands
New additions are Adventure-centric.
2022-10-15 23:25:26 +01:00
Allink
6bb5f374e3
Compile with Java 17 2022-10-15 20:34:14 +01:00
Allink
8296dc7075
Use a ChatRenderer and allow players to use MiniMessage in chat messages 2022-10-15 20:34:12 +01:00
business-fox
30f7768a4b
Block /scissors reload (#321)
* Block /scissors reload

Yeah this is another one of those "spam a random command until it breaks the server"
This only applies to servers which actually run scissors, which to my knowledge kaboom and all clones all run Scissors.
2022-10-11 22:24:00 +03:00
Allink
08f75cb374
Patch execute bypass (#320) 2022-08-13 18:26:59 +03: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
Allink
e1b5b28860
Upgrade Paper API version to 1.18.2 & set the scope to provided 2022-05-21 18:23:41 +01:00
Allink
0f74ce28a6
Add run/ to gitignore 2022-05-21 18:23:18 +01:00
kaboom
afdd1c1b4f Don't attempt to remove broken entities 2022-05-21 20:14:24 +03:00
kaboom
9c42f5d9e9 Make a few entity limits configurable 2022-05-21 20:05:48 +03:00
kaboom
0cda7acb6a Use consistent style for imports 2022-05-21 00:53:30 +03:00
kaboom
9e32dc5c25 Replace existing gamerule checks with WorldGameRuleChangeEvent 2022-05-21 00:32:54 +03:00
Allink
389c55c42b
Update the maven Paper repository URL (#317)
* Update the maven Paper repository URL

* Remove /repo
2022-05-20 22:22: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
e5c30e8195 Remove 'NewlineAtEndOfFile' checkstyle suppression 2022-05-20 07:05:08 +03:00
kaboom
210d6d7d98 Remove force shutdown code
Let's see if this is necessary anymore.
2022-05-20 04:27:27 +03:00
kaboom
28c78be287 Various cleanups for consistency 2022-05-20 01:46:33 +03:00
Allink
23da0661b3
Add more configuration options (#314)
* Add option to randomise spawn locations in config (closes #309)

* Add option to configure entity cap per chunk (closes #311)

* Suppress warnings for star imports

* Add missing return value & whitespace

* Explictly specify type of numbers in spawn randomization

* Upgrade to Java 11

* Make teleport centered

* Final configuration

* Remove star import

* Revert "Suppress warnings for star imports"

This reverts commit 2a2232b0da.

* Let's try 17
2022-05-20 01:42:35 +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
8fdf9b227a EntitySpawn.java: Remove redundant event 2022-05-02 19:33:39 +03:00
kaboom
a2d7885182 Re-add summon command to /execute block list 2022-01-06 17:06:55 +02:00
Luna
613df684e8
Block /geyser dump (#308) 2021-12-02 15:50:29 +02:00
kaboom
f5af75f526 Catch commands containing spaces after slash
Fixes #307
2021-11-29 04:05:48 +02:00
Luna
b07f175fd8
Upgrade paper-api to 1.16.5 (#305) 2021-11-29 02:55:29 +02:00
kaboom
024c4d9f37 Update maven-checkstyle-plugin to 3.1.2 2021-10-23 05:30:44 +03:00
kaboom
ac00026797 Use Java 8 in GitHub Actions workflow 2021-10-23 05:26:55 +03:00
kaboom
6ba24f5edb Don't generate structures in flat world 2021-10-23 04:26:10 +03:00
business-goose
192daa0a9b
Allow ping command to affect other people (#304)
* Add flat world & allow ping command to affect other people

* Finalize worldCreator

* Delete world modules

* Enforce checkstyle
2021-10-23 04:06:31 +03:00
kaboom
972b7a7456 Generate flat world on startup 2021-10-23 03:51:21 +03:00
Kaboom
5e12d92010
Use constants when possible 2021-09-13 22:47:29 +03:00
Kaboom
aa460520ba
Use plugin logger instead of System.out
Fixes #303
2021-09-13 22:32:03 +03:00
LunaWasFlaggedAgain
a57a6030b1
Cleaned up code + unblocked a few things (#301) 2021-09-13 21:50:24 +03:00
Luna
67a9095a73
Add GitHub Actions workflow (#300) 2021-09-03 17:49:14 +03:00
kaboom
7da29aeb6d Improve particle count limiter 2021-08-25 11:04:41 +03:00
4e5e257534
Fixed tab completion for /deop and /op (#299) 2021-07-22 19:26:33 +03:00
e22044a158
Improved execute as/at/facing detection (#298)
* Improved execute as/at/facing detection

* Made atAsPattern a class attribute
2021-07-09 03:36:46 +03:00