Skip to content
Player Uploader

Quick rating

Community listing page, reviews may not be monitored by the author.

Player Uploader

By MinecraftMSOwner

No reviews yet

A simple mod that allows you to send the host player's coordinates to a specified HTTP server, with configurable reporting interval and server address in the configuration.

Mod Loaders
Minecraft

About

Description

A lightweight mod

that uploads the player's current position to an HTTP server (default: 127.0.0.1:5000). The reporting interval and server address are fully configurable.

Here is a Python code example (the Flask library is required).

from flask import Flask, request, jsonify

app = Flask(__name__)

@app.route('/api/player_position', methods=['POST'])
def receive_position():
    data = request.get_json()
    for name, pos in data.items():
        print(f"📍 {name}: X={pos['x']:.1f}, Y={pos['y']:.1f}, Z={pos['z']:.1f}")
    return jsonify({"status": "ok"}), 200

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)

This will output the player's coordinates to the console.