1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
Commit Graph

15 Commits

Author SHA1 Message Date
RedRafe
d109a6606b
Drop players armor and weapons (#1430)
* Drop players armor and weapons

* Always drop banned players armors

---------

Co-authored-by: James Gillham <jrdgillham@gmail.com>
2024-08-28 21:37:04 +01:00
grilledham
ad16370301
Check regular/probation against know players. (#1316)
- Also allow force execute if command is rerun.
- Fix error in banning players that are not in game.
2022-05-01 15:51:17 +01:00
grilledham
04856c9ffe
Fix nil inventory when dumping inventory. (#1285) 2022-01-25 19:59:12 +00:00
grilledham
5e57cac9aa
Fix banned player's inventory dump. (#1272) 2022-01-04 20:53:31 +00:00
grilledham
15001b9e6b
Fix dumping corpse for banned players. (#1269) 2021-12-29 16:28:39 +00:00
James Gillham
ac78f22277 Refactor corpse features:
- Turn dump_offline_inventories on by default.
- Reduce corpse_util to storing and removing corpse tags.
- Add death_corpse_tags which handles adding tags for dead players. This prevents dump_offline_inventories from needing a dependency on what is now death_corpse_tags.
- If a player dies with no items, don't create a map tag and remove the corpse.
- Changed the message slightly for dump_offline_inventories to make it consistent with the other corpse messages.
2021-03-08 21:09:31 +00:00
James Gillham
8b429eed8c Add check that player is offline before dumping inventory.
I accidentally removed the check when testing and forgot to put it back in :(
2021-03-04 22:20:29 +00:00
Jayefuu
e2f164cadc Added feedback message. 2021-03-04 08:23:14 +00:00
James Gillham
02e2b59103 dump_offline_inventories fixes. 2021-03-03 20:13:25 +00:00
Jayefuu
e9d197999c Update dump_offline_inventories.lua 2021-03-03 19:09:30 +00:00
Jayefuu
a4d9707f42 WIP 2021-03-03 18:52:30 +00:00
Jayefuu
c0da8fbdc7 Removed some debug messages 2021-03-02 21:09:19 +00:00
Jayefuu
031c62f27b Fixed LUA checks 2021-03-02 21:01:39 +00:00
Jayefuu
be9d32411f oops 2021-03-02 20:47:04 +00:00
Jayefuu
27ba6e412f Dump player inventories (not armor and weapons) after 15 mins 2021-03-02 20:46:42 +00:00