Commit graph

219 commits

Author SHA1 Message Date
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
Luna
4f1d2a0eab
Remove a few patches (#297) 2021-07-06 18:06:32 +03:00
Quad
41b19fe6ea
Prevent usage of @ selectors with spreadplayers (#294) 2021-04-26 22:01:53 +03:00
kaboom
235d2c9788 Sync changes 2021-04-18 05:34:59 +03:00
mathiascode
95d3e151df Update command restrictions 2021-04-18 05:27:58 +03:00
Business Goose
811178d30a
Patch integers of value 20 million and up in commands (#17)
* Patch integers of value 20 million and up in commands

* You know, like, patch the bug?
2021-04-18 05:25:43 +03:00
Quad
a3ea2d7498
Patch title unicode kick exploit (#293) 2021-04-18 05:00:12 +03:00
kaboombot
97b0177d08
Remove unused ProtocolLib dependency 2021-04-10 15:14:47 +03:00
Apmunute
211ef6e96a
Patch exploits (#290)
/execute as @e run banlist
/execute as @e run difficulty
/execute as @e run help
/execute as @e run list
/execute as @e run locate
/execute as @e run locatebiome
/execute as @e run seed
/execute as @e run whitelist

/execute as @e facing entity @e eyes run seed

most of these are spam exploits
2021-04-10 15:02:02 +03:00
Business Goose
e55536472f
Change "I killed Tim." to "I killed Martin." (#291) 2021-04-05 01:23:25 +03:00
Business Goose
0e6db230d4
Add ping command (#14)
* Add ping command

* Add new command to readme

* Make command description make sense

* Add alpha-sort and a tab.

* No longer use CraftBukkit to get the player's ping, and instead use the Player's spigot object.

* Make command description shorter
2021-03-02 22:36:25 +02:00
mathiascode
97696ae601 Catch title command in /execute 2021-01-20 10:12:47 +02:00
mathiascode
207387a028 Improved target selector detection for /title command 2021-01-20 09:38:26 +02:00
mathiascode
1adb54013a Remove check for /say command
There are more commands in addition to /say that allow target selectors, and the exploit only targets Minecraft 1.12.2 and older. As those versions are over 3 years old, there isn't much point in supporting them.
2021-01-20 09:17:13 +02:00
mathiascode
9594db67af Remove ProtocolLib dependency
Time will tell if this patch is still necessary or not.
2021-01-07 09:50:06 +02:00
mathiascode
2c1cf457a3 Remove custom server ping code 2021-01-07 09:29:55 +02:00
Apmunute
317d930731
Additional fix for distance exploit (#7) 2020-12-30 07:44:34 +02: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
6568b2e87d Add latest changes 2020-12-12 18:32:33 +02:00
mathiascode
a695524743 Update ping message to 1.16.4 2020-11-27 19:43:19 +02:00
mathiascode
c5a46d6b68 Add missing command to README 2020-08-03 17:30:03 +03:00
mathiascode
7eaf813228 Add limiter for command block minecarts 2020-08-02 22:48:51 +03:00
mathiascode
dbd71922d0 Push internal changes 2020-08-02 19:10:40 +03:00
mathiascode
55e588aa9f Update ping info to 1.16.1 2020-07-16 02:14:59 +03:00
mathiascode
e184b0c3bf Ensure the server always stops 2020-06-14 18:24:39 +03: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