Skip to content

Commit

Permalink
Remove 'mods' subcommand for 1.2.0 release
Browse files Browse the repository at this point in the history
Will be featured in 1.3.0 instead.
  • Loading branch information
mschnitzer committed Nov 7, 2023
1 parent a2ff7f5 commit 851cdae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 37 deletions.
27 changes: 0 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ This repository provides a step by step guide for Linux administrators to host A
* [Applying server updates](#applying-server-updates)
* [Daily restarts](#daily-restarts)
* [Executing RCON commands](#executing-rcon-commands)
* [Managing Mods](#managing-mods)
* [Prerequisites](#prerequisites)
* [Setting up a second server](#setting-up-a-second-server)
* [Addressing "Connection Timeout" issues](#addressing-connection-timeout-issues)
* [RUMOR (not 100% confirmed): Server too far away/in a different timezone](#rumor-not-100-confirmed-server-too-far-awayin-a-different-timezone)
Expand Down Expand Up @@ -354,31 +352,6 @@ docker exec -t asa-server-1 asa-ctrl rcon --exec 'saveworld'

**NOTE:** As opposed to ingame cheat commands, you must not put `admincheat` or `cheat` in front of the command.

### Managing Mods

The mod management tool delivered by this container is currently considered a beta. If you are experiencing any issues following these steps, please open a GitHub issue. The tool is present starting from version `1.2.0` of this container
image.

#### Prerequisites

Make sure that the ASA server is stopped and that the container is launched in [debug mode](#debug-mode) before you proceed!

#### Installing Mods

##### 1. Downloading Mods

Mods can be downloaded from [CurseForge](https://www.curseforge.com/ark-survival-ascended). Once you downloaded the mods you want to install, upload them to your VPS cloud server, so that they can be moved to your container eventually.

##### 2. Installation

Mods are provided as a zip archive and should not be extracted by yourself, as the mod management tool provided by this container image will take care of that for you.

Copy the downloaded archives to your containers `mods-to-be-installed` directory.

```
docker cp /vps/path/to/my/mod.zip asa-server-1:/home/gameserver/mods-to-be-installed
```

## Setting up a second server

Setting up a second server is quite easy and you can easily add more if you want (given that your hardware is capable of running multiple instances). There's already a definition for a second server in the `docker-compose.yml` file,
Expand Down
2 changes: 1 addition & 1 deletion root/usr/share/asa-ctrl/cli/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def self.passed_command(args)
end

def self.print_usage
puts "Usage: asa-ctrl [rcon|mods] (--help)"
puts "Usage: asa-ctrl [rcon] (--help)"
end

def self.exit_with_error!(message, code)
Expand Down
9 changes: 0 additions & 9 deletions root/usr/share/asa-ctrl/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@
AsaCtrl::Cli::RconInterface.new(opts)
end

args.on 'mods', 'Interface to manage mods' do
opts = Slop.parse(ARGV[1..-1]) do |opt|
opt.integer '--enable', 'Mod ID/CurseForge Project ID of the mod'
opt.bool AsaCtrl::Cli::HELP_ARGUMENT, AsaCtrl::Cli::HELP_DESCRIPTION
end

AsaCtrl::Cli::ModsInterface.new(opts)
end

args.on AsaCtrl::Cli::HELP_ARGUMENT, AsaCtrl::Cli::HELP_DESCRIPTION do
# handled once slop exits
end
Expand Down

0 comments on commit 851cdae

Please sign in to comment.