Coder Social home page Coder Social logo

chiyogami's Introduction

chiyogami

Chiyogami-Serverは Paper をフォークしたものであり、Spigotプラグインを動作させつつマルチスレッド実行を可能とするMinecraftサーバーソフトです。

Other version

Notes

  • このサーバーは開発段階であるため十分なテストがされていません
  • このサーバーを実行する前には必ずワールドデータ等のバックアップをしてください
  • issue等のフィードバックをお待ちしています。

How to build

ビルドを実行するには、git, jdk16が必要です。

  1. リポジトリを ダウンロード or clone して解凍します。
  2. 解凍したフォルダ上でWindowsの場合はgit-bash、linux or Macの場合はターミナルを開き./buildChiyogami.shを実行します
  3. Chiyogami-1.17.1.jarが生成されていれば成功です

For developer

このサーバーのマルチスレッド化の仕組みを簡単に説明しておきます。

このサーバーは、通常はMinecraftServerのtick実行の中でWorldServerの処理をシングルスレッドで一つずつ実行しているのに対して並列に実行するように書き換えています。

コマンドやBukkitRunnable系の処理はマルチスレッド化した中には含まれていないので互換性を維持し易くなっています。

Eventには同時に実行されるのを防ぐためロックするように書き換えましたが、ワールドごとに実行スレッドが違うためワールド系のEventの実行順序が入れ替わる可能性があるため注意が必要です。

コードを閲覧したい場合は、ビルドした後に Chiyogami/Paper-Server/src/ をご覧ください。 コードを変更した場合は上記のソースを変更した後に./rebuild.shを実行することでビルドができます。

API

このサーバーの機能を最大限生かす為のAPIが用意されています

以下から利用できます

https://github.com/Be4rJP/ChiyogamiLib

chiyogami's People

Contributors

bea4dev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.