Cover image
Try Now
2024-12-13

Servidor minecraft rápido y súper eficiente escrito en C ++

3 years

Works with Finder

7

Github Watches

4

Github Forks

92

Github Stars

image

License: MIT Current version)

Fast and super efficient C++ 1.21.1 Minecraft Server. Compatible with Java Clients. Designed to feel like Vanilla Minecraft, but with the power of C++.

image

MCpp Server is a high-performance Minecraft server developed entirely in C++. Designed for speed, efficiency, and extensive customization, MCpp Server aims to provide a seamless and enjoyable experience for players while trying to maintain full compatibility with the latest Minecraft features.

⚠️ Important ⚠️

This project is in early development and may contain bugs and incomplete features, aswell as temporary and unoptimized code.

🙌 Progress

Want to see what I’m working on? Check out the discussion tab under Show and Tell!

🚀 Features

🏎️ Performance

  • Multi-threaded Architecture: Leverages multiple threads to handle various server tasks simultaneously.
  • Super fast and efficient Chunk Loading and Generation: Uses multiple threads to load and generate chunks with minimal Memory usage.
  • Optimized Codebase: Written in C++ for maximum efficiency and low latency.

🔧 Customization & Extensibility

  • Configurable Settings: Easily adjustable configuration files to tailor server behavior to your needs.
  • Plugin Support soon: Provides a foundation for developing and integrating custom plugins.

🌐 Networking

  • Packet Compression: Reduces bandwidth usage by compressing data packets.
  • Server Status & Ping: Provides real-time server status information and latency measurements.

🧩 Supported and WIP Features

  • Login
    • Authentication (online mdoe)
    • Encryption
    • Packet Compression
  • Server Configuration
    • Server Links
    • Registries
    • Resource Packs (multiple)
    • Server Brand
    • Cookies
  • Server
    • Lua Plugin API
    • Query
    • RCON
    • Commands
    • Chat
    • Translations
  • World
    • World Joining
    • Chunk Loading
    • Tablist
    • Entity Spawning
    • World Loading
    • Chunk Generation
    • World Border
    • World Time
    • Bossbar
    • Weather
    • Scoreboard
    • World Saving
  • Player
    • Player Skins
    • Client brand
    • Movement
    • Inventory
    • Equipment
    • Item Pickup
    • Combat
  • Entities
    • Players
    • Mobs (Animals, Monsters)
    • Entity AI
    • Boss
    • Minecart
    • Lightning Bolt
  • Physics
    • Item Physics
    • Falling Blocks

🌍 Use Pre-Generated World

Just put the world folder of your Vanilla Minecraft world in the Directory where the server executable is and it will be loaded when the server starts.

⚠️ Important Notes

  • Linux Compatibility: The Linux version has not been thoroughly tested. You may encounter issues when running MCpp Server on Linux systems. To still be able to join the server, you should turn off online mode in the config.json file.
  • Ongoing Development: MCpp Server is actively being developed. Contributions and feedback are welcome to help improve the server.

🛠️ Installation & Building

📋 Prerequisites

  • C++20 Compiler: Ensure you have a modern C++ compiler installed (e.g., GCC, Clang). On Windows you need MingW.
  • CMake: Version 3.14 or higher.
  • Git: To clone the repository.

🔧 Build Instructions

Linux:

  1. Clone the Repository

    git clone https://github.com/Noeli14/MCppServer.git
    cd MCppServer
    
  2. Create a Build Directory

    mkdir build
    cd build
    
  3. Generate Build Files with CMake

    cmake ..
    

    For Debug Build:

    cmake -DCMAKE_BUILD_TYPE=Debug ..
    

    For Release Build:

    cmake -DCMAKE_BUILD_TYPE=Release ..
    
  4. Compile the Project

    make
    

Windows (MingW & Make):

  1. Clone the Repository

    git clone https://github.com/Noeli14/MCppServer.git
    cd MCppServer
    
  2. Create a Build Directory

    mkdir build
    cd build
    
  3. Generate Build Files with CMake

    cmake .. -G "Unix Makefiles"
    

    For Debug Build:

    cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
    

    For Release Build:

    cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
    
  4. Compile the Project

    make
    

Windows (MingW & Ninja):

  1. Clone the Repository

    git clone https://github.com/Noeli14/MCppServer.git
    cd MCppServer
    
  2. Create a Build Directory

    mkdir build
    cd build
    
  3. Generate Build Files with CMake

    cmake .. -G "Ninja"
    

    For Debug Build:

    cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug ..
    

    For Release Build:

    cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ..
    
  4. Compile the Project

    ninja
    

🚀 Running the Server

After a successful build, execute the server binary:

./MCppServer

📦 Data Sources

MCpp Server utilizes data from the PrismarineJS Minecraft Data repository to ensure accurate and up-to-date game mechanics and data.

🤝 Contributing

Contributions are welcome! Whether it's reporting bugs, suggesting features, or submitting pull requests, your help is greatly appreciated.

📄 License

MCpp Server is licensed under the MIT License.

📫 Contact

For any questions or support, feel free to open an issue or discussion on the GitHub repository

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • GeyserMC
  • Una biblioteca para la comunicación con un cliente/servidor de Minecraft.

  • awslabs
  • Servidores AWS MCP: servidores MCP especializados que traen las mejores prácticas de AWS directamente a su flujo de trabajo de desarrollo

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

    Reviews

    5 (1)
    Avatar
    user_T9HCC2kw
    2025-04-17

    MCppServer is an impressive and efficient C++ server application created by Noeli14. The project, available on GitHub, showcases excellent coding practices and robust functionality, making it an essential tool for any developer working with C++. The clear and welcoming start URL documentation makes setup a breeze. Highly recommend checking it out!