gsd-cli 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cli.rb +1 -1
- data/lib/servers/gmod.rb +1 -1
- data/lib/servers/seven_days.rb +1 -1
- metadata +1 -5
- data/lib/servers/ace_of_spades.rb +0 -14
- data/lib/servers/minecraft_ftb.rb +0 -23
- data/lib/servers/starbound.rb +0 -13
- data/lib/servers/terraria.rb +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d86c0503122de64ad654e63c4825249b9783338c7de600023d8af59ab981e8c
|
4
|
+
data.tar.gz: e1a357816f56b15ab2a13e5d201b3b21da81bad2f6f83ea6f26be16c5e0af95d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0f183c4dbd21e58b32656fb2903b7549d9285e51332bba7e1575f894f14ae04d5c87c63896aca1dd1f2bea3ccd99776e7402d6f77d692b50bd1c7ce6d77eb9d
|
7
|
+
data.tar.gz: 789b6f866ffb0110a5d694ea3c726e6e5fb543343dc453c5ba1a950d929ce15a2fd97ba4440019854e211d7e03cbf4645c47b7c826ff2b4a4461126dc462f332
|
data/lib/cli.rb
CHANGED
data/lib/servers/gmod.rb
CHANGED
@@ -4,7 +4,7 @@ class GarrysMod
|
|
4
4
|
def initialize
|
5
5
|
@name = "gmod"
|
6
6
|
@app_id = "4020"
|
7
|
-
@friendly_name = "Garry's Mod"
|
7
|
+
@friendly_name = "Garry's Mod"
|
8
8
|
end
|
9
9
|
|
10
10
|
def launch(install_path, map = "gm_construct", players = 16, collection_id = "1838303608")
|
data/lib/servers/seven_days.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gsd-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Egee
|
@@ -53,15 +53,11 @@ files:
|
|
53
53
|
- lib/cli/update.rb
|
54
54
|
- lib/game_template.rb
|
55
55
|
- lib/helpers.rb
|
56
|
-
- lib/servers/ace_of_spades.rb
|
57
56
|
- lib/servers/gmod.rb
|
58
|
-
- lib/servers/minecraft_ftb.rb
|
59
57
|
- lib/servers/minecraft_spigot.rb
|
60
58
|
- lib/servers/rust.rb
|
61
59
|
- lib/servers/seven_days.rb
|
62
|
-
- lib/servers/starbound.rb
|
63
60
|
- lib/servers/team_fortress.rb
|
64
|
-
- lib/servers/terraria.rb
|
65
61
|
homepage: https://github.com/Egeeio/gsd-cli
|
66
62
|
licenses:
|
67
63
|
- MIT
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# A class for Feed The Beast Minecraft Server
|
2
|
-
class MinecraftFtb
|
3
|
-
attr_reader :name, :app_id
|
4
|
-
def initialize
|
5
|
-
@name = "ftb"
|
6
|
-
@app_id = nil
|
7
|
-
end
|
8
|
-
|
9
|
-
def launch(install_path)
|
10
|
-
"cd #{install_path} && /bin/bash #{install_path}/ServerStart.sh"
|
11
|
-
end
|
12
|
-
|
13
|
-
def install_server(install_path)
|
14
|
-
system("wget https://media.forgecdn.net/files/2658/240/FTBRevelationServer_2.7.0.zip -O /tmp/server.zip")
|
15
|
-
system("mkdir #{install_path}")
|
16
|
-
system("unzip /tmp/server.zip -d#{install_path}")
|
17
|
-
system("chmod +x #{install_path}/ServerStart.sh")
|
18
|
-
system("chmod +x #{install_path}/FTBInstall.sh")
|
19
|
-
system("/bin/bash #{install_path}/FTBInstall.sh")
|
20
|
-
system("rm #{install_path}/eula.txt")
|
21
|
-
system("echo eula=true > #{install_path}/eula.txt")
|
22
|
-
end
|
23
|
-
end
|
data/lib/servers/starbound.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# A module to produce resources for a Starbound server
|
2
|
-
class Starbound
|
3
|
-
attr_reader :name, :app_id
|
4
|
-
def initialize
|
5
|
-
@name = "starbound"
|
6
|
-
@app_id = "533830"
|
7
|
-
end
|
8
|
-
|
9
|
-
def launch(install_path)
|
10
|
-
"cd #{install_path}/linux &&
|
11
|
-
#{install_path}/linux/starbound_server"
|
12
|
-
end
|
13
|
-
end
|
data/lib/servers/terraria.rb
DELETED