Commit Graph

95 Commits

Author SHA1 Message Date
Lett
a18c5d148d Improve server control and logging of the DOS blacklist (#10904)
* Log kicks related to DOS bans

* unBlacklistDos method

Added a method to remove an IP that was blacklisted for being a potential DOS attack.

* Added a command to add/remove/list DOS bans

* Switched from spaces to a tab in the subnet-ban command

Switched from spaces to a tab in the subnet-ban command's listing function. This is better for accessibility and customizability.

* Use info(String, Object...) instead of String.format

* Fixed formatting to fit style guidelines
2025-06-07 00:13:15 -04:00
Anuken
65146f9a11 Reduced liquid transport explosiveness to mostly pre-capacity-increase levels 2025-04-19 00:46:17 -04:00
Anuken
c6262f5211 Closes #10537 2025-04-04 15:08:15 -04:00
Buj
88388fffeb Bring back language in trace, except it actually works now (#10420)
* Re-added 'language' in trace info (it actually works now)

* Updated c locale

---------

Co-authored-by: buj <buj351@outlook.com>
2025-02-04 13:44:58 -05:00
BalaM314
dc4f3ba972 Add bool Config::isDefault() (#9510)
* Add `bool Config::isDefault()`

* use Structs.eq instead of ==
2024-02-02 10:52:28 -05:00
Anuken
700dd38a36 Fixed #9011 2023-09-04 00:04:22 -04:00
Anuken
2715d4954f Ignore ratelimit for local 2023-08-17 09:17:47 -04:00
Даркнесс#3729
6566f1c554 ServerControl improvements (#8928)
* Update ServerControl.java

* Update Administration.java

* Update Maps.java

* Update ServerControl.java

* Update ServerControl.java

* Update Administration.java

* Update ServerControl.java

* Update Maps.java
2023-08-15 09:51:52 -04:00
Anuken
053afcace9 Fixed #8795 2023-07-23 15:43:04 -04:00
Anuken
4b0824a20c Admin player team switch + more trace info 2023-06-11 23:18:04 -04:00
Даркнесс#3729
94caca680a Make PlayerInfo map public (#8655) 2023-05-31 18:26:04 -04:00
Anuken
c2262cc9cf Fixed #8235 / Fixed #8221 2023-02-01 14:42:50 -05:00
Даркнесс#3729
30dcbe1af3 Administration improvements (#8167)
* Administration improvements

Reduced the interval for preventing sending the same message because 50 seconds is too much and kinda confusing
Added saving and loading kicked IPs so they are saved even when the server crashes
Fixed smth in Config

* skill issue
2023-01-12 16:24:51 -05:00
Anuken
b422e041f4 Fixed #7906 2022-11-13 09:57:09 -05:00
Anuken
4c51b97667 Fixed #7893 / Fixed #7902 2022-11-13 09:35:48 -05:00
Anuken
e3d7acc556 Show world processors in darkness in editor mode 2022-10-31 17:51:34 -04:00
Anuken
b9892335d4 Misc balance, tweaks, configuration... 2022-10-28 15:13:52 -04:00
Anuken
c8ebe0cd87 Packet rate limit 2022-10-27 10:30:28 -04:00
Anuken
8c78f37566 More tweaks to Karst / Default player limit of 30 2022-10-24 10:59:10 -04:00
zenonet
dde9f895cf Added autoPause config for servers (#7405)
* Extracted the method ServerControl.setPauseState()

* Added a comment to EventType.PlayerLeave

* Added the `pauseWithoutPlayers` config

* Revert "Extracted the method ServerControl.setPauseState()"

This reverts commit 45f5b01547.

* Renamed pauseWithoutPlayers to autoPause,
fixed manual- and automatic pausing to interfere
and made the server pause when hosting a new game

* Added a dot to the config description of `autoPause` and added my name to the contributors list

* Refactoring

* Merged remote-tracking changed I guess

* More refactoring

* More refactoring

* Removed logging about autoPause

* Removed another log I forgot in the last commit

Co-authored-by: Anuken <arnukren@gmail.com>
2022-08-21 10:32:58 -04:00
Anuken
495250850e Custom Config support / Corrupt crux 2022-04-17 10:21:44 -04:00
Anuken
c0ac84fbc6 Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features
 Conflicts:
	core/src/mindustry/core/NetServer.java
2022-03-28 15:18:13 -04:00
TranquillyUnpleasant
580fcd1fbc Apply color stripping to player names in console wherever applicable. (#6672)
* utility method

* plainName for all console outputs

* plainLastName for all console outputs

* some formats

* slightly reformat trace output

* Slightly nicer admin indicator

* A space
2022-03-28 10:09:01 -04:00
Anuken
5fa28e6090 Server-side fog clip + Omnidirectional flare + resprite 2022-02-20 10:17:20 -05:00
Anuken
9f3af412f0 Commandable blocks 2022-02-17 16:19:07 -05:00
Anuken
fa79c5e93a Unit pathfinding 2022-02-09 17:13:02 -05:00
buthed010203
5c3ecaabb5 Fix incorrect return value (#6401)
* Fix incorrect return value

the javadoc is a lie

* Update Administration.java
2021-12-04 20:41:29 -05:00
Anuken
d468a4f328 Removed unnecessary TODOs 2021-06-22 16:07:19 -04:00
Anuken
28b235ef07 Partial 7.0 merge - API preview 2021-06-02 11:08:08 -04:00
키에르
a40731624a Add uuid return to PlayerBanEvent (#4982)
* Update EventType.java

* Update Administration.java
2021-03-24 10:02:21 -04:00
Patrick 'Quezler' Mounier
ae838b9392 Trace times joined & kicked (#4844)
* Trace times joined & kicked

* Make mindustry.* import obsolete
2021-03-03 09:09:05 -05:00
Anuken
a3bf39d86b Minor cleanup 2021-02-20 10:08:15 -05:00
Anuken
abdccbb1bd Fixed #3487 / Fixed #3484 2020-11-20 09:13:36 -05:00
Skat
f84e780f3b Merge branch 'master' into cleanup-2 2020-11-09 20:21:01 +04:00
Anuken
a211fceab4 SFX changes 2020-11-08 13:55:09 -05:00
Skat
ed36390f3c Great cleanup 2020-11-07 11:37:46 +03:00
Anuken
c8ef7ebafb Fixed #3078 + action listeners for player control events 2020-10-23 15:59:52 -04:00
Anuken
9ab272a01f Better server colors 2020-10-20 11:21:47 -04:00
Anuken
35af71c613 Moved Nullable to utils package 2020-10-02 23:11:26 -04:00
Anuken
199be4d13d Implicit non-nullability for fields 2020-10-01 13:33:43 -04:00
Anuken
0a07458186 Power-based ammo / Refactoring / IP kicks / Fixes 2020-09-24 13:05:39 -04:00
Anuken
f87bd78674 Placement config code cleanup 2020-09-05 20:41:50 -04:00
Anuken
ad7692b110 Added debug logging for erroneous rate limit
I still don't know what causes this and I can't reproduce it locally
2020-09-05 11:51:50 -04:00
Anuken
739c4f2de2 Final mech boss unit (unfinished) 2020-09-04 22:05:15 -04:00
Anuken
c7522ff89f Fixed more unit warp 2020-09-04 11:07:01 -04:00
Anuken
6a23439fce Fixed #2424 2020-08-25 19:46:14 -04:00
Anuken
c191dd8855 Cleanup 2020-08-25 15:06:09 -04:00
Anuken
de6cde6ddd Bugfixes 2020-08-24 23:16:24 -04:00
Anuken
d902878f63 Bugfixes 2020-08-24 13:12:58 -04:00
Anuken
26acf7cbbc Bugfixes 2020-08-18 16:56:30 -04:00