bukkit 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/bukkit +3 -2
- data/lib/bukkit/start.rb +6 -2
- data/lib/bukkit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2fd888c3cb4f276e1cc7cc78d39cf55e75de556
|
4
|
+
data.tar.gz: 756981781a704db4f4a140f61f3041d2a1e21f8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65a0cfb1fe5a0601299c316a616547f1c86ee3370a0983d7a39cde1385e5408b3153b91926df03a85d46a7bbf82f212ba141e4e3904f73fe9bbf8336ce32a4a9
|
7
|
+
data.tar.gz: 9277658dcddb397f91d953e865dd5bfe3bd0137f37c0f3fac7797ebb051caf0d9ba74e65d94c327aceec069fa63825c37e3f15c847193f02398648bb353ae392
|
data/Gemfile.lock
CHANGED
data/bin/bukkit
CHANGED
@@ -132,9 +132,10 @@ command :website do |c|
|
|
132
132
|
c.option "--url", "Show just the plugin's URL."
|
133
133
|
|
134
134
|
c.action do |args, options|
|
135
|
-
|
135
|
+
plugin_name = args.shift
|
136
|
+
abort "You didn't enter a plugin name." if plugin_name.empty?
|
136
137
|
|
137
|
-
plugin = Bukkit::Plugin.new(
|
138
|
+
plugin = Bukkit::Plugin.new(plugin_name)
|
138
139
|
|
139
140
|
if options.url
|
140
141
|
puts " Website: ".yellow + plugin.website
|
data/lib/bukkit/start.rb
CHANGED
@@ -2,8 +2,12 @@ module Bukkit
|
|
2
2
|
class Server
|
3
3
|
# Start the server.
|
4
4
|
def self.start
|
5
|
-
|
6
|
-
|
5
|
+
if File.exists?("craftbukkit.jar")
|
6
|
+
abort "You're not in your server's root directory.".red
|
7
|
+
else
|
8
|
+
puts "Starting your CraftBukkit server.".green
|
9
|
+
system 'java -jar craftbukkit.jar'
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
9
13
|
end
|
data/lib/bukkit/version.rb
CHANGED