rcon_cs 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2fed2b9453f1776e0269509d51510be2550e99b2e602349188c7f2a075f9d24b
4
+ data.tar.gz: a4e0bc72671adc23de2cfac8cb65c26aa5db129fc507ec19364c9c437f6e59df
5
+ SHA512:
6
+ metadata.gz: f682a3f11f4945d26c2fe13a4116dca44d028a4b1d145622a8c59ceb8a1f697e6821f189b8b5894bceea2f13b8ce9bd77f2a8a3421c313a9f0b06dcc01e3669f
7
+ data.tar.gz: 40fb508b83d7662e5faeeaa57dc56c759a25b950092997c15bd41dd5a7339405af46956537fa4ffe6823ed0e70d5a042a644951e53df6f2a65bb3d40de4d57f9
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,8 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.0
3
+
4
+ Style/StringLiterals:
5
+ EnforcedStyle: double_quotes
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ EnforcedStyle: double_quotes
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.3.4
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2025-03-20
4
+
5
+ - Initial release
@@ -0,0 +1,132 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Mohit Kumar Yadav
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # RconCs
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/rcon_cs`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
14
+
15
+ If bundler is not being used to manage dependencies, install the gem by executing:
16
+
17
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Development
24
+
25
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+
27
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rcon_cs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/rcon_cs/blob/master/CODE_OF_CONDUCT.md).
32
+
33
+ ## License
34
+
35
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
36
+
37
+ ## Code of Conduct
38
+
39
+ Everyone interacting in the RconCs project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/rcon_cs/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RconCs
4
+ module Packets
5
+ # Info packet class, provides methods to create and parse Source Query
6
+ # protocol info packets.
7
+ class InfoPacket
8
+ # Creates a new info packet.
9
+ #
10
+ # @return [InfoPacket] the new info packet.
11
+ def initialize
12
+ @packet = "\xFF\xFF\xFF\xFF\x54Source Engine Query\x00"
13
+ end
14
+
15
+ # Returns the info packet as a string.
16
+ #
17
+ # @return [String] the info packet.
18
+ def to_s
19
+ "#{@packet}\xFF\xFF\xFF\xFF"
20
+ end
21
+
22
+ def with_challenge(challenge)
23
+ @packet = "#{@packet}#{challenge.force_encoding("UTF-8")}"
24
+ self
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RconCs
4
+ module Packets
5
+ # Players packet class, provides methods to create and parse Source Query
6
+ # protocol player packets.
7
+ class PlayersPacket
8
+ # Creates a new info packet.
9
+ #
10
+ # @return [InfoPacket] the new info packet.
11
+ def initialize
12
+ @packet = "\xFF\xFF\xFF\xFF\x55"
13
+ end
14
+
15
+ # Returns the players packet as a string.
16
+ #
17
+ # @return [String] the players packet.
18
+ def to_s
19
+ "#{@packet}\xFF\xFF\xFF\xFF"
20
+ end
21
+
22
+ def with_challenge(challenge)
23
+ @packet = "#{@packet}#{challenge.force_encoding("UTF-8")}"
24
+ self
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RconCs
4
+ module Responses
5
+ # Query response class, provides methods to parse the response from a Source server.
6
+ class QueryResponse
7
+ RESPONSE_TYPES = {
8
+ "41" => :challenge,
9
+ "44" => :players,
10
+ "45" => :rules,
11
+ "49" => :info
12
+ }.freeze
13
+
14
+ attr_reader :type, :body, :raw_body
15
+
16
+ def initialize(body)
17
+ @raw_body = body
18
+ parse body
19
+ end
20
+
21
+ def to_s
22
+ "Type: #{@type}, Body: #{@body}"
23
+ end
24
+
25
+ private
26
+
27
+ def parse(data)
28
+ @type = RESPONSE_TYPES[data[4].ord.to_s(16).rjust(2, "0")]
29
+ @body = data[5..]
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "./lib/rcon_cs/utils/parsers"
4
+
5
+ module RconCs
6
+ module Servers
7
+ # Source server class, provides methods to interact with Source servers
8
+ # using the Source Query protocol.
9
+ class SourceServer
10
+ include RconCs::Utils::Parsers
11
+ attr_reader :ip_address, :port, :players, :info, :rules, :ping
12
+
13
+ def initialize(ip_address, port)
14
+ @socket = UDPSocket.new
15
+ @socket.connect(ip_address, port)
16
+
17
+ @ip_address = ip_address
18
+ @port = port
19
+
20
+ fetch_info
21
+ fetch_players
22
+ end
23
+
24
+ def fetch_info
25
+ response = send_packet(Packets::InfoPacket.new)
26
+ @info = parse_cs2_server_info(response.raw_body)
27
+ end
28
+
29
+ def fetch_players
30
+ @players = send_packet(Packets::PlayersPacket.new)
31
+ end
32
+
33
+ def send_packet(packet)
34
+ response = send_packet_to_server packet
35
+
36
+ # retry with challenge if needed
37
+ response = send_packet_to_server packet, response.body if response.type == :challenge
38
+
39
+ response
40
+ end
41
+
42
+ private
43
+
44
+ def send_packet_to_server(packet, challenge = nil)
45
+ time_begin = Time.now
46
+ packet = packet.with_challenge(challenge) if challenge
47
+
48
+ @socket.send(packet.to_s, 0)
49
+ reply = @socket.recv 1400
50
+ @ping = (Time.now - time_begin) * 1000
51
+
52
+ Responses::QueryResponse.new(reply)
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
4
+ module RconCs
5
+ module Utils
6
+ # Utility parser methods
7
+ module Parsers
8
+ def parse_cs2_server_info(data)
9
+ body = data[4..]
10
+
11
+ result = {}
12
+ result[:protocol] = body[1].ord
13
+
14
+ server_name_end = body[2..].index("\x00") + 2
15
+ result[:server_name] = body[2...server_name_end].force_encoding("UTF-8")
16
+ body = body[server_name_end + 1..]
17
+
18
+ map_name_end = body.index("\x00")
19
+ result[:map_name] = body[0...map_name_end]
20
+ body = body[map_name_end + 1..]
21
+
22
+ game_folder_end = body.index("\x00")
23
+ result[:game_folder] = body[0...game_folder_end]
24
+ body = body[game_folder_end + 1..]
25
+
26
+ game_name_end = body.index("\x00")
27
+ result[:game_name] = body[0...game_name_end]
28
+ body = body[game_name_end + 1..]
29
+
30
+ result[:app_id] = body[0..1].unpack1("S<")
31
+ body = body[2..]
32
+
33
+ result[:players] = body[0].ord
34
+ body = body[1..]
35
+
36
+ result[:max_players] = body[0].ord
37
+ body = body[1..]
38
+
39
+ result[:bots] = body[0].ord
40
+ body = body[1..]
41
+
42
+ result[:server_type] = body[0]
43
+ body = body[1..]
44
+
45
+ result[:environment] = body[0]
46
+ body = body[1..]
47
+
48
+ result[:visibility] = body[0].ord
49
+ body = body[1..]
50
+
51
+ result[:vac] = body[0].ord
52
+ body = body[1..]
53
+
54
+ version_end = body.index("\x00")
55
+ result[:version] = body[0...version_end]
56
+ body = body[version_end + 1..]
57
+
58
+ edf = body[0].ord
59
+ body = body[1..]
60
+
61
+ if edf & 0x80
62
+ result[:port] = body[0..1].unpack1("S<")
63
+ body = body[2..]
64
+ end
65
+
66
+ if edf & 0x10
67
+ result[:steam_id] = body[0..7].unpack1("Q<") # Little-endian 64-bit
68
+ body = body[8..]
69
+ end
70
+
71
+ # SourceTV port and name (not present in this case)
72
+ if edf & 0x40
73
+ # Skip if present
74
+ end
75
+
76
+ if edf & 0x20
77
+ keywords_end = body.index("\x00")
78
+ result[:keywords] = body[0...keywords_end]
79
+ body = body[keywords_end + 1..]
80
+ end
81
+
82
+ result[:game_id] = body[0..7].unpack1("Q<") if edf & 0x01
83
+
84
+ result
85
+ end
86
+
87
+ end
88
+ end
89
+ end
90
+ # rubocop:enable Metrics/MethodLength, Metrics/AbcSize
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RconCs
4
+ VERSION = "0.1.0"
5
+ end
data/lib/rcon_cs.rb ADDED
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "logger"
4
+
5
+ require_relative "rcon_cs/version"
6
+ require_relative "rcon_cs/responses/query_response"
7
+ require_relative "rcon_cs/packets/info_packet"
8
+ require_relative "rcon_cs/packets/players_packet"
9
+ require_relative "rcon_cs/servers/source_server"
10
+ require_relative "rcon_cs/utils/parsers"
11
+
12
+ LOGGER = Logger.new($stdout)
13
+
14
+ module RconCs
15
+ class Error < StandardError; end
16
+ # Your code goes here...
17
+ end
data/sig/logger.rbs ADDED
@@ -0,0 +1 @@
1
+ LOGGER: Logger
@@ -0,0 +1,9 @@
1
+ module RconCs
2
+ module Packets
3
+ class InfoPacket
4
+ @packet: string
5
+
6
+ def with_challenge: -> self
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ module RconCs
2
+ module Packets
3
+ class PlayersPacket
4
+ @packet: string
5
+
6
+ def with_challenge: -> self
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,15 @@
1
+ module RconCs
2
+ module Responses
3
+ class QueryResponse
4
+ RESPONSE_TYPES: hash[string, string]
5
+
6
+ attr_reader body: string
7
+ attr_reader raw_body: string
8
+ attr_reader type: string
9
+
10
+ private
11
+
12
+ def parse: -> void
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,24 @@
1
+ module RconCs
2
+ module Servers
3
+ class SourceServer
4
+ @socket: UDPSocket
5
+
6
+ attr_reader info: Responses::QueryResponse
7
+ attr_reader ip_address: string
8
+ attr_reader ping: float
9
+ attr_reader players: Responses::QueryResponse
10
+ attr_reader port: int
11
+ attr_reader rules: string
12
+
13
+ def fetch_info: -> void
14
+
15
+ def fetch_players: -> void
16
+
17
+ def send_packet: -> Responses::QueryResponse
18
+
19
+ private
20
+
21
+ def send_packet_to_server: -> Responses::QueryResponse
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,7 @@
1
+ module RconCs
2
+ module Utils
3
+ module Parsers
4
+ def parse_cs2_server_info: -> hash[string, string | int]
5
+ end
6
+ end
7
+ end
data/sig/rcon_cs.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module RconCs
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rcon_cs
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Mohit Kumar Yadav
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2025-03-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.21'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.21'
41
+ - !ruby/object:Gem::Dependency
42
+ name: simplecov
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: rcon_cs is a simple RCON client for Counter Strike servers.
56
+ email:
57
+ - me@only4.dev
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".rspec"
63
+ - ".rubocop.yml"
64
+ - ".ruby-version"
65
+ - CHANGELOG.md
66
+ - CODE_OF_CONDUCT.md
67
+ - LICENSE.txt
68
+ - README.md
69
+ - Rakefile
70
+ - lib/rcon_cs.rb
71
+ - lib/rcon_cs/packets/info_packet.rb
72
+ - lib/rcon_cs/packets/players_packet.rb
73
+ - lib/rcon_cs/responses/query_response.rb
74
+ - lib/rcon_cs/servers/source_server.rb
75
+ - lib/rcon_cs/utils/parsers.rb
76
+ - lib/rcon_cs/version.rb
77
+ - sig/logger.rbs
78
+ - sig/rcon_cs.rbs
79
+ - sig/rcon_cs/packets/info_packet.rbs
80
+ - sig/rcon_cs/packets/players_packet.rbs
81
+ - sig/rcon_cs/responses/query_response.rbs
82
+ - sig/rcon_cs/servers/source_server.rbs
83
+ - sig/rcon_cs/utils/parsers.rbs
84
+ homepage: https://github.com/mohitkyadav/rcon_cs
85
+ licenses:
86
+ - MIT
87
+ metadata:
88
+ homepage_uri: https://github.com/mohitkyadav/rcon_cs
89
+ source_code_uri: https://github.com/mohitkyadav/rcon_cs
90
+ changelog_uri: https://github.com/mohitkyadav/rcon_cs/blob/main/CHANGELOG.md
91
+ post_install_message:
92
+ rdoc_options: []
93
+ require_paths:
94
+ - lib
95
+ required_ruby_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: 3.0.0
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ requirements: []
106
+ rubygems_version: 3.5.11
107
+ signing_key:
108
+ specification_version: 4
109
+ summary: rcon_cs is a simple RCON client for Counter Strike servers.
110
+ test_files: []