Welcome to OTServ Inspector! This project is a Node.js application designed to communicate with Open Tibia servers to retrieve comprehensive server and player information. Whether you're a server administrator, a player, or a developer, this tool provides valuable insights into server status, player lists, and detailed player statistics. If you find this project helpful, please give it a star!
- Retrieve Basic Server Information: Get the server's name, IP address, and port.
- Owner Information: Access details about the server owner, including their email.
- Miscellaneous Information: Fetch the Message of the Day (MOTD), server location, URL, and version.
- Player Statistics: View the number of online players, peak players, and maximum capacity.
- Map Details: Learn about the server's map, author, and dimensions.
- Extended Player Information: Get a list of online players along with their levels.
- Detailed Player Status: Access in-depth information about each player, including level, vocation, health, mana, and position.
- Server Software Details: Know the software name, version, and protocol the server is running.
- Node.js: Make sure you have Node.js installed (version 12 or higher is recommended).
- npm: Node Package Manager comes with Node.js and is required to install dependencies.
-
Clone the Repository
git clone https://github.com/yourusername/otserv-inspector.git
-
Navigate to the Project Directory
cd otserv-inspector
-
Install Dependencies
npm install
- Configure the Server IP
-
In the index.js file (located in the src directory), set the serverIp variable to the IP address or hostname of the Open Tibia server you want to query:
const serverIp = 'tibinha.online';
-
Run the Application
node src/index.js
-
View the Output
- The application will output detailed server and player information to the console.
Basic Server Information:
Name: Eldoria
IP: 45.141.214.89
Port: 7171
Owner Information:
Owner: RubinOT Team
Email: rubinot.pix@gmail.com
Miscellaneous Information:
MOTD: Welcome to RubinOT!
Location: Brazil
URL: https://rubinot.com/
Version: null
Players Information:
Online: 778
Peak: 3168
Maximum: 3300
Map Information:
Map Name: realmap
Author: RubinOT Team
Size: 33736 x 31191
Server Software Information:
Software Name: RubinOT
Software Version: MMOServers 1.0
Software Protocol: 13.10
Player List:
Elder Fear (Level: 546)
Hancorzin (Level: 907)
Fiy (Level: 813)
Gabuzerahh (Level: 814)
Trevosa (Level: 757)
Grann Conn (Level: 812)
Tom Back (Level: 490)
Cazador brujas (Level: 13)
El Nenee (Level: 638)
Roots ehunts (Level: 846)
GM Escanor on Eldoria (Level: 2)
Kayzzo (Level: 21)
otserv-inspector/
├── src/
│ ├── buffer/
│ │ └── PacketBuffer.js // Handles packet construction and parsing
│ ├── handler/
│ │ └── ServerResponseHandler.js // Parses and stores server responses
│ ├── network/
│ │ └── OTServer.js // Manages network communication with the server
│ └── index.js // Main script file to run the application
├── package.json // Project metadata and dependencies
└── README.md // Project documentation
- Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the Repository
- Clone Your Fork
- Create a Feature Branch
- Make Your Changes
- Commit Your Changes
- Push to Your Fork
- Create a Pull Request
This project is licensed under the MIT License, which means it's free for personal and commercial use.