Wednesday, July 15, 2026 5:56:40 AM
> server_success_command.rb
# frozen_string_literal: true

module ESM
  module Command
    module Test
      class ServerSuccessCommand < ApplicationCommand
        command_type :player
        requires :registration

        argument :server_id
        argument :nullable, regex: /.*/, default: nil

        def on_execute
          message = ESM::Message.new.set_type(:echo)
          send_to_target_server!(message)
        end

        def on_response
          reply("Yaay")
        end
      end
    end
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7