Commit Graph
22 Commits
Author SHA1 Message Date
bbassie a59b2a8414 Remove the warning system
Warnings were a moderator tool layered on top of reports and had no
callers left outside their own command and the player list button. The
legacy module, its config and locale, the exp_scenario command and its
permissions, the discord alert block and the player list button are all
removed. Reporting from the player list no longer depends on whether the
player could give warnings, anyone can report a player who is not immune.
2026-09-05 19:22:37 +00:00
bbassieandClaude Fable 5 7034f17b5d Move the scenario onto exp_roles and remove the legacy role system
Every call site of expcore.roles now uses exp_roles, and the legacy module,
its config, and the glue which refreshed guis on role events are deleted.
Where a file only renamed the require and the permission strings the change is
mechanical; the rest:

- Jail is now "give the Jail role" and unjail "take it away". The role has a
  higher priority than every other so holding it suppresses them, which is
  what stashing and restoring the roles was for.
- The command role authority derives exp_scenario.command.<name> from the
  command name, and the role parsers use player_outranks rather than comparing
  indexes with their own root check.
- The admin and spectator triggers, and the gui refresh on role changes, live
  in exp_scenario/control/roles.lua; the system commands trigger stays with
  the command authority.
- The player list warn button is keyed on create_warning, the permission
  the command behind it already required, and report on create_report. Both
  were keyed on names no role held, so only root ever saw them.
- The warps and tasks configs say exp_roles where they said expcore.roles.
- The role tables the readme and player list read are replaced by
  get_player_names and get_roles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-19 11:36:58 +00:00
Cooldude2606 05cb831b30 Update Locales 2026-06-20 16:43:26 +01:00
Cooldude2606 620161938f Refactor readme gui 2026-05-13 23:31:33 +01:00
Cooldude2606 550cf09967 Refactor task list (#414) 2025-12-15 14:52:27 +00:00
Cooldude2606 9bd699ebf1 Refactor legacy addons into Clusterio format (#413)
* Refactor custom start

* Refactor afk kick

* Fix use of assert get player

* Refactor chat popup

* Refactor chat auto reply

* Refactor help bubbles

* Refactor damage popups

* Refactor death markers

* Refactor deconstruction log

* Remove FAGC logging

* Refactor discord alerts

* Refactor insert pickup

* Refactor inventory clear

* Refactor extra logging

* Refactor nuke protection

* Refactor pollution grading

* Refactor protection jail

* Refactor report jail

* Refactor mine depletion

* Refactor degrading tiles

* Refactor station auto name

* Refactor spawn area

* Refactor fast deconstruction

* Bug Fixes
2025-12-02 18:34:24 +00:00
Cooldude2606 7ab721b4b6 Refactor some of the Guis from the legacy plugin (#399)
* Fix bugs in core and add default args to Gui defs

* Refactor production Gui

* Refactor landfill blueprint button

* Fix more bugs in core

* Consistent naming of new guis

* Refactor module inserter gui

* Refactor surveillance gui

* Add shorthand for data from arguments

* Make element names consistent

* Add types

* Change how table rows work

* Refactor player stats gui

* Refactor quick actions gui

* Refactor research milestones gui

* Refactor player bonus gui

* Refactor science production gui

* Refactor autofill gui

* Cleanup use of aligned flow

* Rename "Gui.element" to "Gui.define"

* Rename Gui types

* Rename property_from_arg

* Add guide for making guis

* Add full reference document

* Add condensed reference

* Apply style guide to refactored guis

* Bug fixes
2025-08-29 14:30:30 +01:00
Cooldude2606 ce80ae9021 Refactored UPS monitor as clusterio plugin (#398)
* Refactor server ups

* Use catalogs

* Move to own plugin

* Use web config

* Remove External.get_server_ups

* Update workspace version requirement

* Remove need for storage

* Add locale

* Fix CI
2025-08-08 16:36:22 +01:00
phidiasandCooldude2606 e200533c6c GUI Production (#380)
* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Fix table size

* Update gui.cfg

* Update gui.cfg

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2025-04-06 15:36:42 +01:00
phidias b1063ce55e Show Locale in Player Data Gui (#381)
* Update playerdata.lua

* Update data.cfg

* Update data.cfg

* Update data.cfg

* Update playerdata.lua

* Update playerdata.lua
2025-03-07 15:41:23 +00:00
phidias a5114af8d4 A research requirement to space platform vlayer power (#367)
* Update vlayer.lua

* Update vlayer.lua

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg
2025-02-02 22:45:17 +00:00
Cooldude2606 1a88592a8a Remove legacy gui module 2025-01-30 00:08:45 +00:00
Cooldude2606 e34a320d97 Convert toolbar minus datastore 2025-01-30 00:08:44 +00:00
phidias 99ca4c8b52 Fix vlayer selection locale (#361)
* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update vlayer.lua
2025-01-19 23:50:29 +00:00
phidias 45883d6ce2 Fix Deconlog Surface Tags (#350)
* Update deconlog.lua

* Update addons.cfg

* Update addons.cfg

* Update addons.cfg

* Update deconlog.lua
2025-01-08 21:11:27 +00:00
phidias df584d861c Update Guthub links (#351)
* Update addons.cfg

* Update addons.cfg

* Update addons.cfg
2025-01-08 21:10:26 +00:00
phidiasandCooldude2606 c1730e7799 Add Tool GUI Locale (#21)
* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Fix use of created_entity in events

* Remove redundant keys

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2024-12-28 18:00:09 +00:00
phidiasandCooldude2606 25289fd606 Update Module Gui to 2.0 (#13)
* Update module.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update module.lua

* Update module.lua

* Update module.lua

* Update module.lua

* Update gui.cfg

* Update module.lua

* Fix use of created_entity in events

* Update module.lua

* Improvements using 'module_slots' property

* Add quality support

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2024-12-28 17:53:08 +00:00
Cooldude2606 9aee1c425f Fix start, join, formatting, and locale issues 2024-11-19 22:37:49 +00:00
Cooldude2606 4b6872c14c Migrate all commands to new lib 2024-11-19 22:36:52 +00:00
Cooldude2606 32a8ba8f3a Update method of getting player language 2024-11-19 22:32:09 +00:00
Cooldude2606 65145b5d34 Move files to exp_legacy 2024-11-19 21:55:07 +00:00