This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #============================================================================== | |
| # Streamlined System Initialisation and Configuration Script | |
| # | |
| # Author: Craig Wilson | |
| # Version: 1.0 | |
| # Last Modified: 28/05/2026 | |
| # | |
| # Description: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| ############### | |
| ## Variables ## | |
| ############### | |
| # Timestamp and host/model for log filename | |
| timestamp=$(date +"%Y%m%d_%H%M%S") | |
| hostname=$(hostname) | |
| # Detect CPU model (short) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #============================================================================== | |
| # Minecraft Fabric Server Setup Script (Local Workstation Edition) | |
| # | |
| # Original Author: Craig Wilson | |
| # Modified for Local Use | |
| # Version: 2.1-local | |
| # Last Modified: 2025-07-08 | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #============================================================================== | |
| # Minecraft Fabric Server Setup Script | |
| # | |
| # Author: Craig Wilson | |
| # Version: 2.1 (Fabric Edition) | |
| # Last Modified: 2025-07-05 | |
| # | |
| # Description: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #============================================================================== | |
| # Streamlined System Initialization and Configuration Script | |
| # | |
| # Author: Craig Wilson | |
| # Version: 1.2 | |
| # Last Modified: 2025-07-05 | |
| # | |
| # Description: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #============================================================================== | |
| # Minecraft Java Server Setup Script | |
| # | |
| # Author: Craig Wilson | |
| # Version: 1.2 | |
| # Last Modified: 2025-06-21 | |
| # | |
| # Description: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function authenticate(helper, paramsValues, credentials) { | |
| var loginUrl = paramsValues.get("Login URL"); | |
| var csrfTokenName = paramsValues.get("CSRF Field"); | |
| var csrfTokenValue = extractInputFieldValue(getPageContent(helper, loginUrl), csrfTokenName); | |
| var postData = paramsValues.get("POST Data"); | |
| postData = postData.replace('{%username%}', encodeURIComponent(credentials.getParam("Username"))); | |
| postData = postData.replace('{%password%}', encodeURIComponent(credentials.getParam("Password"))); | |
| postData = postData.replace('{%' + csrfTokenName + '%}', encodeURIComponent(csrfTokenValue)); | |
| var msg = sendAndReceive(helper, loginUrl, postData); | |
| return msg; |