palworld_rcon 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edf9612a8d262bd8711f89f26188e06ec6bd2a952816f5969109e1bfd03b3475
4
- data.tar.gz: bc890a53c5317ca5a1d7f78c60c4343241e16189eab9f50fe09e6b874573158f
3
+ metadata.gz: '09ee170496be37bf56728b632cfa7ea854b1827cd04f67510ef50dc3808c49c7'
4
+ data.tar.gz: 0dcd5ba12d13f1de0c5721de10c8141cdf9fc8d2895554e7270de794053e3766
5
5
  SHA512:
6
- metadata.gz: 3023b5e9be0c0691622a6d4ee932de2882ad9bac04165c9d8efdb0433b3206ad9ad77f39ef160c9138ae94f9ca2e4688a5a3a84ea19ad83d8be15011583e6fcf
7
- data.tar.gz: 7793a1b4100a4dc2845c89acfba68c0ddbe147a3efc268e00f539f7cf9bacc08510f13f8364d862d979f98bb1a17bb1eb12cc9a57af3e400ee54763526b3b12d
6
+ metadata.gz: 780d152cb8f3bb6b8eb8ac9149bd77438035347fb5ef95b2d8731466c7e594b1c8feeefbe767f30b6c3bcc1d3624a6422a9abb8b1cacca9fc84ce2d7670cc266
7
+ data.tar.gz: 6acbbd2bf5c637b04522d01c787a42d80e9d84df168b0a118f641c49fe9197c06bd8fe9e3fb2796e0136bd6aef0a68975c3ac624d4c0807b96c6aeaa2a9da67b
data/CHANGELOG.md CHANGED
@@ -3,3 +3,11 @@
3
3
  ## [0.1.0] - 2024-01-29
4
4
 
5
5
  - Initial release
6
+
7
+ ## [0.1.1] - 2024-01-29
8
+
9
+ - Replenish commands
10
+
11
+ ## [0.1.2] - 2024-01-29
12
+
13
+ - Fix gemfile.lock issue
data/README.md CHANGED
@@ -1,18 +1,16 @@
1
1
  # PalworldRcon
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
4
-
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/palworld_rcon`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ A ruby Palworld RCON client.
6
4
 
7
5
  ## Installation
8
6
 
9
7
  Install the gem and add to the application's Gemfile by executing:
10
8
 
11
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
9
+ $ bundle add palworld_rcon
12
10
 
13
11
  If bundler is not being used to manage dependencies, install the gem by executing:
14
12
 
15
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
13
+ $ gem install palworld_rcon
16
14
 
17
15
  ## Usage
18
16
 
@@ -30,6 +30,22 @@ module PalworldRcon
30
30
  execute_command("ShowPlayers")
31
31
  end
32
32
 
33
+ def shutdown(count_down, message)
34
+ execute_command("Shutdown #{count_down} #{message}")
35
+ end
36
+
37
+ def save
38
+ execute_command("Save")
39
+ end
40
+
41
+ def server_info
42
+ execute_command("Info")
43
+ end
44
+
45
+ def do_exit
46
+ execute_command("DoExit")
47
+ end
48
+
33
49
  private
34
50
 
35
51
  def execute_command(cmd)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PalworldRcon
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: palworld_rcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - uooobarry