feat: rewrite workshop_admin UI – remove adapter terminology, make configurations primary
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/3fc88263-c1c0-46f6-95f1-7070fc6f9d02 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
e799f5ee5d
commit
86f825e388
6 changed files with 98 additions and 80 deletions
|
|
@ -105,54 +105,59 @@ return [
|
|||
'error_missing_query' => 'Enter a search term before querying the Workshop.',
|
||||
|
||||
// -------------------------------------------------------
|
||||
// Workshop profile admin (WorkshopProfileController)
|
||||
// Workshop game configuration admin (WorkshopProfileController)
|
||||
// -------------------------------------------------------
|
||||
'nav_workshop_profiles' => 'Workshop Profiles (DB)',
|
||||
'profile_heading_list' => 'Workshop Game Profiles',
|
||||
'profile_intro' => 'One profile per supported game. Each profile drives mod install and caching behaviour.',
|
||||
'profile_btn_create' => 'Create Profile',
|
||||
'profile_list_empty' => 'No Workshop profiles defined yet.',
|
||||
'config_heading_list' => 'Workshop Game Configurations',
|
||||
'config_intro' => 'One configuration per supported game. Each configuration controls how SteamCMD downloads and installs Workshop mods for servers of that game type.',
|
||||
'config_btn_create' => 'Add Game Configuration',
|
||||
'config_list_empty' => 'No Workshop configurations defined yet. Add one for each game that supports Steam Workshop mods.',
|
||||
'config_confirm_delete' => 'Delete this Workshop configuration? Servers using it will no longer have Workshop mod support.',
|
||||
'config_back_list' => 'Back to configurations',
|
||||
'config_heading_edit' => 'Edit Workshop Configuration: %s',
|
||||
'config_heading_create' => 'Add Workshop Game Configuration',
|
||||
'config_steamcmd_heading' => 'How mods are downloaded',
|
||||
'config_steamcmd_note' => 'Workshop mods are downloaded using SteamCMD with the command: +workshop_download_item {app_id} {mod_id}. The cache path below is where SteamCMD stores downloaded mod files on the agent machine. The install path below is where those files are copied into the game server directory.',
|
||||
'config_label_app_id' => 'Steam App ID',
|
||||
'config_hint_app_id' => 'The Steam App ID used with +workshop_download_item, e.g. 107410 for Arma 3',
|
||||
'config_hint_game_key' => 'Short identifier matching the game XML key, e.g. arma3_linux',
|
||||
'config_section_copy' => 'Copy / sync method',
|
||||
'config_hint_launch_tpl' => 'Extra launch parameters added when this game has Workshop mods enabled. E.g. -mod=@{mod_id}',
|
||||
'config_label_enabled' => 'Configuration enabled (allows servers to use Workshop mods for this game)',
|
||||
'profile_col_game' => 'Game',
|
||||
'profile_col_key' => 'Game Key',
|
||||
'profile_col_method' => 'Copy Method',
|
||||
'profile_col_method' => 'Install Method',
|
||||
'profile_col_restart' => 'Restart?',
|
||||
'profile_col_status' => 'Status',
|
||||
'profile_confirm_delete' => 'Delete this Workshop profile? This will not affect already-installed server mods.',
|
||||
'profile_back_adapters' => 'Back to adapter management',
|
||||
'profile_back_list' => 'Back to profiles',
|
||||
'profile_heading_edit' => 'Edit Workshop Profile: %s',
|
||||
'profile_heading_create' => 'Create Workshop Profile',
|
||||
'profile_saved' => 'Workshop profile saved.',
|
||||
'profile_save_error' => 'Failed to save Workshop profile.',
|
||||
'profile_deleted' => 'Workshop profile deleted.',
|
||||
'profile_delete_error' => 'Failed to delete Workshop profile.',
|
||||
'profile_not_found' => 'Profile not found.',
|
||||
'profile_section_basic' => 'Basic info',
|
||||
'profile_section_paths' => 'Paths & templates',
|
||||
'profile_section_copy' => 'Copy / sync method',
|
||||
'profile_section_config' => 'Config & launch parameters',
|
||||
'profile_section_flags' => 'Flags',
|
||||
'profile_label_game_name' => 'Game name',
|
||||
'profile_label_os' => 'Supported OS',
|
||||
'profile_label_cache_path' => 'Cache path template',
|
||||
'profile_label_cache_path' => 'SteamCMD cache path template',
|
||||
'profile_hint_cache_path' => 'Where SteamCMD downloads mods on the agent. E.g. {steamcmd_path}/steamapps/workshop/content/{workshop_app_id}/{mod_id}',
|
||||
'profile_label_install_path' => 'Install path template',
|
||||
'profile_hint_install_path' => 'Server-side mod directory. E.g. {server_path}/mods/{mod_folder}',
|
||||
'profile_label_install_path' => 'Server install path template',
|
||||
'profile_hint_install_path' => 'Where mod files are placed inside the game server directory. E.g. {server_path}/mods/{mod_folder}',
|
||||
'profile_label_folder_name' => 'Mod folder name template',
|
||||
'profile_hint_folder_name' => 'Folder name for each mod. Default: @{mod_id}',
|
||||
'profile_label_copy_method' => 'Copy method',
|
||||
'profile_label_install_script'=> 'Custom install script (admin-defined only, optional)',
|
||||
'profile_hint_folder_name' => 'Folder name for each mod inside the install path. Default: @{mod_id}',
|
||||
'profile_label_copy_method' => 'Method used to copy mod files from SteamCMD cache to the server',
|
||||
'profile_label_install_script'=> 'Custom install script (optional, admin-defined)',
|
||||
'profile_hint_install_script' => 'Only used when copy method is custom_script. Template variables are replaced before execution.',
|
||||
'profile_label_config_tpl' => 'Config file template (optional)',
|
||||
'profile_label_launch_tpl' => 'Launch parameter template (optional)',
|
||||
'profile_label_requires_restart' => 'Restart required after mod install/update',
|
||||
'profile_label_enabled' => 'Profile enabled',
|
||||
'profile_label_requires_restart' => 'Server restart required after mod install or update',
|
||||
'profile_template_vars' => 'Available: {home_id} {agent_id} {workshop_app_id} {mod_id} {mod_title} {mod_folder} {steamcmd_path} {server_path} {install_path} {cache_path}',
|
||||
'profile_saved' => 'Workshop configuration saved.',
|
||||
'profile_save_error' => 'Failed to save Workshop configuration.',
|
||||
'profile_deleted' => 'Workshop configuration deleted.',
|
||||
'profile_delete_error' => 'Failed to delete Workshop configuration.',
|
||||
'profile_not_found' => 'Configuration not found.',
|
||||
'button_delete' => 'Delete',
|
||||
'error_game_key_invalid' => 'Game key may only contain letters, digits, underscores, dots, and hyphens.',
|
||||
'error_game_name_required' => 'Game name is required.',
|
||||
'error_app_id_required' => 'Workshop App ID is required (numeric).',
|
||||
'error_cache_path_required' => 'Cache path template is required.',
|
||||
'error_install_path_required' => 'Install path template is required.',
|
||||
'error_cache_path_required' => 'SteamCMD cache path template is required.',
|
||||
'error_install_path_required' => 'Server install path template is required.',
|
||||
|
||||
// -------------------------------------------------------
|
||||
// User mod management (WorkshopModController)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue