3a46ec4fa4
Migrate player list gui to scenario ( #421 )
...
* Migrate player list gui to scenario
Move modules/gui/player-list into exp_scenario/gui/player_list using the
new exp_gui element API, matching the other scenario guis.
- Store the selected player and action on the container's player data
instead of a datastore, folding the datastore on_update reactivity
into explicit setter functions
- Switch the actions config to injected accessor functions and the
exp-gui_player-list locale namespace
- Add the locale section, register in control.lua, and disable the
legacy module in the file loader
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
* Align names and call patterns to best practice
Apply the conventions from the rocket info gui review to the player list,
and remove the now migrated legacy module.
- Move row building onto the table def as calculate_row_data, and refresh
via refresh_player which computes the row data once per player
- Store the selection on the container with private/public accessor
methods instead of poking element data directly
- Store the selected player as a LuaPlayer rather than a string and update
the actions config to match
- Use :style{} on the player table and make the action and reason bars
their own element definitions
- Delete the migrated legacy gui and its file loader entry
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
* Address player list review feedback
- Rename the player table element data class to element_data
- Remove the redundant offline selection clear; on_player_left_game
already clears any selection pointing at a player who disconnects
- Move the action bar and reason bar visibility into their own refresh
methods so refresh_player just delegates to them
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
* Style and locale fixes
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2026-06-26 12:42:33 +01:00
Cooldude2606
31c18c7851
Style and locale fixes
2026-06-26 12:41:49 +01:00
Cooldude2606 and GitHub
068548889b
Merge pull request #420 from bbassie/feature/rocket-info-gui
...
Migrate rocket info gui to scenario and fix for Space Age
2026-06-22 23:12:24 +01:00
Cooldude2606
05cb831b30
Update Locales
2026-06-20 16:43:26 +01:00
Cooldude2606
05b586fb8c
Align names and call patterns to best practice
2026-06-20 16:35:44 +01:00
Cooldude2606 and GitHub
2c7b88bb81
Merge pull request #419 from Cooldude2606/plugin/groups
...
Add plugin for permission group syncing
2026-05-27 00:41:18 +01:00
Cooldude2606
7318fc3602
Fix lint for global usage
2026-05-27 00:29:12 +01:00
Cooldude2606
b5cae0b0b7
Remove node ci cache
2026-05-27 00:13:56 +01:00
Cooldude2606
bb788f33da
Final Cleanup
2026-05-25 20:43:51 +01:00
Cooldude2606
2248f23a8d
Added web UI
2026-05-23 03:51:16 +01:00
Cooldude2606
a521cdd901
Change to dev env to fix building
2026-05-22 20:15:36 +01:00
Cooldude2606
230c835103
Add controller plugin
2026-05-21 00:30:17 +01:00
Cooldude2606
dca5086ce3
Add instance plugin
2026-05-20 22:39:44 +01:00
Cooldude2606
7ddfa8e735
Add messages and permissions
2026-05-20 22:39:33 +01:00
Cooldude2606
01af5dbc68
Update deps
2026-05-20 22:04:53 +01:00
Cooldude2606
90d63952d3
Add lua module code
2026-05-20 01:51:09 +01:00
Cooldude2606
b64e109bf1
Plugin Setup exp_groups
2026-05-20 01:48:26 +01:00
Cooldude2606
538714acdb
Remove existing plugin
2026-05-19 22:23:47 +01:00
Cooldude2606 and GitHub
73e53a656d
Merge pull request #418 from Cooldude2606/gui/readme
...
Refactor readme gui
2026-05-19 22:21:34 +01:00
Cooldude2606
cfa9cc980a
Fix lint warning
2026-05-19 22:21:01 +01:00
Cooldude2606
620161938f
Refactor readme gui
2026-05-13 23:31:33 +01:00
Cooldude2606
91b6d25597
Fix scenario web code
2026-01-15 13:51:00 +00:00
Cooldude2606
9be43e9896
Bump dependencies
2026-01-14 20:15:23 +00:00
Cooldude2606 and GitHub
550cf09967
Refactor task list ( #414 )
2025-12-15 14:52:27 +00:00
Cooldude2606 and GitHub
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
360247d292
Fix surface bonus application
2025-09-21 19:45:42 +01:00
Cooldude2606
478de7e42d
Fix no player character during bonus reset
2025-09-16 21:08:12 +01:00
Cooldude2606
6bb26f60ad
Add webpack to all plugins
2025-09-12 20:47:32 +01:00
Cooldude2606 and GitHub
f1f4117e0f
Fix blueprint revive and missing script raise event ( #401 )
...
Fixes : #397
2025-09-05 12:45:55 +01:00
Cooldude2606
06d98458d4
Fix module table row data not being cleared
...
Fixes : #411
2025-09-04 14:01:44 +01:00
Cooldude2606
d654005dae
Fix server ups active on first start
2025-09-04 11:58:14 +01:00
Cooldude2606
5bd6183bb3
Fix desync of online_player_dropdown._player_names
...
Fixes : #410
2025-09-04 11:38:05 +01:00
Cooldude2606 and GitHub
27a2feaae9
Refactor Selection Util ( #409 )
...
* Add Selection to ExpUtil
* Convert modules to use new lib
* Bug Fixes
2025-09-04 10:54:55 +01:00
Cooldude2606
85c7cce740
Fix uninitialised data in research milestones
...
Fixes : #407
2025-09-01 19:29:17 +01:00
Cooldude2606 and GitHub
d85f69b9cb
Pause server ups when no players online ( #405 )
2025-08-30 20:40:02 +01:00
Cooldude2606 and GitHub
8bcb65101b
Switch to sp/mp init events ( #404 )
2025-08-30 20:39:54 +01:00
Cooldude2606 and GitHub
82c2c7f23c
Reattempt set slot after filter fail ( #403 )
2025-08-30 20:39:46 +01:00
Cooldude2606 and GitHub
3e5043d29e
Add space platform event to entity protection ( #402 )
2025-08-30 20:39:37 +01:00
Cooldude2606
688a6dda18
Fix uninitialised data in player bonus
...
Fixes : #406
2025-08-30 20:18:37 +01:00
Cooldude2606 and GitHub
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
5b9259d166
Fix server ups using incorrect exit hook
2025-08-08 21:44:32 +01:00
Cooldude2606 and GitHub
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
Cooldude2606
69909e3202
Disable type mismatch unless opened
2025-08-06 17:05:44 +01:00
Cooldude2606
c5b9138e4e
Fix type names for Commands
2025-08-06 16:46:57 +01:00
Cooldude2606
1d95d899ea
Fix lint issue
2025-08-04 21:26:56 +01:00
Cooldude2606
53716aa934
Bump Luals version in CI Runner
2025-08-04 21:10:33 +01:00
Cooldude2606 and GitHub
aedc3cff6b
Fix lint errors on new luals version ( #384 )
2025-04-06 17:05:40 +01:00
Cooldude2606
3dbdb2071f
Update deps
2025-04-06 16:03:58 +01:00
Cooldude2606
994bfba6ed
Disallow rocket gui
...
This gui has been causing too many issues in space age.
2025-04-06 15:39:18 +01:00
Cooldude2606
64e31adbc9
Fix toolbar buttons not showing on role assign
2025-03-07 14:38:31 +00:00
Cooldude2606
7504043b05
Remove admin_only from get-roles
2025-03-07 14:37:23 +00:00
Cooldude2606
55c39bd513
Fix missing default in server ups
2025-03-07 14:25:37 +00:00
Cooldude2606
d27129da26
Fix incorrect element name in rocket info
2025-03-07 14:22:29 +00:00
Cooldude2606
e9fc417399
Fix missing quotes in storage debug
2025-03-01 16:25:29 +00:00
Cooldude2606
b9725d0808
Use unit numbers for silo data
2025-02-26 21:18:00 +00:00
Cooldude2606
1bd656e09a
Fix invalid research in base game milestones
2025-02-09 17:24:18 +00:00
Cooldude2606 and GitHub
13248d08dd
Merge pull request #369 from Cooldude2606/package/gui
...
Refactor core library "gui" to new package "exp_gui"
2025-02-02 22:41:41 +00:00
Cooldude2606
d5fd466246
Allow toolbar to be deleted from lib
2025-01-30 00:24:59 +00:00
Cooldude2606
6850cfa968
Add player as an event argument
2025-01-30 00:08:46 +00:00
Cooldude2606
1a88592a8a
Remove legacy gui module
2025-01-30 00:08:45 +00:00
Cooldude2606
824c5fe772
Add toolbar saving and better consistency
2025-01-30 00:08:45 +00:00
Cooldude2606
e34a320d97
Convert toolbar minus datastore
2025-01-30 00:08:44 +00:00
Cooldude2606
a2b4fd119b
Convert player list, data, module, and vlayer
2025-01-30 00:08:38 +00:00
Cooldude2606
81c1e17429
Convert bonus, research, sups, and cctv
2025-01-30 00:07:09 +00:00
Cooldude2606
242545b007
Convert tasks, production, tools, and landfill
2025-01-30 00:07:09 +00:00
Cooldude2606
cc274595c7
Convert rocket info and autofill
2025-01-30 00:07:08 +00:00
Cooldude2606
6f9a062190
Convert readme and science info
2025-01-30 00:07:07 +00:00
Cooldude2606
bd6781b3a0
Start converting GUI modules
2025-01-30 00:07:07 +00:00
Cooldude2606
88a47e3edc
Add core elements
2025-01-30 00:07:06 +00:00
Cooldude2606
ee6359582c
Make GuiData more lean
2025-01-30 00:07:06 +00:00
Cooldude2606
0b665bbd46
Add control stage asserts
2025-01-30 00:07:06 +00:00
Cooldude2606
e67959a239
Remove anchor
2025-01-30 00:07:05 +00:00
Cooldude2606
f534355861
Add property_from_args and global_data
2025-01-30 00:07:05 +00:00
Cooldude2606
d52ab6d2dc
Add module exports
2025-01-30 00:07:05 +00:00
Cooldude2606
2fc922218d
Add events for data clean up
2025-01-30 00:07:05 +00:00
Cooldude2606
8572e156a2
Add generic event handlers and anchor
2025-01-30 00:07:05 +00:00
Cooldude2606
ce560ca157
Minor adjustments to ExpElement
2025-01-30 00:07:04 +00:00
Cooldude2606
d752b01076
Add ExpElement
2025-01-30 00:07:04 +00:00
Cooldude2606
49e08af7ed
Add ExpGui_GuiIter
2025-01-30 00:07:04 +00:00
Cooldude2606
3b9d895682
Add ExpGui_GuiData
2025-01-30 00:07:04 +00:00
Cooldude2606
a924a211ae
Add exp_gui
2025-01-30 00:06:59 +00:00
Cooldude2606
1a17f11062
Multiple fixes for role commands
...
- Fix server being 'Guest' for commands
- Make autocomplete of arguments more intuitive
- Fix usage text for commands
2025-01-25 18:26:59 +00:00
Cooldude2606
b666758a54
Fix time format with nil plural
2025-01-19 23:47:22 +00:00
Cooldude2606
1d1a03cf6a
Fix issues with format
...
- Remove tailing 'join'
- Remove 'and' with single unit
- Pad time values to 2 digits
2025-01-19 00:30:27 +00:00
Cooldude2606
b29a141d5d
Fix sudo command
...
- Fixes autocomplete using patterns by default
- Fixes required argument for sudo
- Fixes format player name for table type
2025-01-15 21:02:44 +00:00
Cooldude2606
ff833a9b0b
Fix LuaObject inheritance from userdata
2025-01-13 21:16:55 +00:00
Cooldude2606
0e6bce6975
Fix get_storage_for_stack errors with invalid stacks
...
Fixes `entity` is nil inside of `ExpUtil.get_storage_for_stack` #352
2025-01-13 21:00:01 +00:00
Cooldude2606
e1c1fa2767
Fix copy error in remote_only
2025-01-13 20:37:27 +00:00
Cooldude2606
3e6ec6a867
Fix issues with util and commands
...
- Use rawget when testing for locale strings
- Use player index 0 for errors in rcon commands
2025-01-11 00:42:41 +00:00
Cooldude2606
b781198841
Update Issue Templates
2025-01-08 21:24:59 +00:00
Cooldude2606
47b57a9c51
Fix decon planner selection edge case
2025-01-04 18:44:35 +00:00
Cooldude2606
1042897d0f
Fix comparator for all role types
2025-01-03 23:32:34 +00:00
Cooldude2606
4a087a3324
Fix cache for get_storage_for_stack
2025-01-03 19:12:17 +00:00
Cooldude2606
7f14fd359b
Fix comparator for lower_role type
2025-01-03 18:10:01 +00:00
Cooldude2606
993670909d
Do no default alt-view to false on load fail
2025-01-03 18:08:21 +00:00
Cooldude2606
b72135f39f
Fix tree decon for remote driving
2025-01-01 18:16:29 +00:00
Cooldude2606
61888d6515
Added missing asserts to external interface
2024-12-31 19:06:56 +00:00
Cooldude2606
83deb568bf
Fix exp_commands logging
2024-12-31 19:02:50 +00:00
Cooldude2606
2e2e7c8518
Fix types on item transfer
2024-12-31 18:57:54 +00:00
Cooldude2606
b50f0ffff5
Fix Rocket Control
2024-12-31 18:57:27 +00:00