Giter VIP home page Giter VIP logo

raceassist-core's Introduction

RaceAssist-core

FOSSA Status Gradle Build Action License: GPL v3

RaceAssist is a plugin that enables horse races and other races to be conducted within Minecraft.

RaceAssits-example

Wiki

Wiki

structure

atanを使用してθを求めその差により順位決定をするためレース場は一周し交差のない形である必要があります。
今後、交差させたレース場にも対応させるためベクトルによる算出に置き換える予定です。

Recommended

レースごとに新しい名前のレースを作成することを必ずしてください
copyコマンドを使用すると賭けられたデータ、sheetId、スタッフ、出場者を除きコピーすることができます

命名規則 : <レースの名前>_<回数>

translate

plugins/RaceAssist/Lang内に翻訳されたpropertiesファイルを入れるとその言語を使用している場合はその言語が表示されます。
標準ではja_JPを使用します。

crowdin

License

GPLv3ライセンスでの公開です。ソースコードの使用規約等はGPLv3ライセンスに従います。

FOSSA Status

raceassist-core's People

Contributors

dependabot[bot] avatar fossabot avatar nikomaru1990 avatar nlkomaru avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

fossabot

raceassist-core's Issues

Change from arc-tangent to vector

In the current configuration, it isn't possible to detect crossings, ups and downs, etc., and decide rankings, so it's necessary to move to vectors in the future.

お金の管理の変更

現在raceIdの所有者にお金を保管しているが、払い戻し前にお金を使用し払い戻せないなどの問題が発生する可能性がある。
そのため、raceData側にお金を持ち、そこから払い戻すことにする。
きちんとトランザクションを実施すること。

Change the process for getting staff to set a race.

現在このようにしてレース作成者を取得しその人のみにレースについて変更する権限を与えている。

suspend fun getRaceCreator(raceId: String): UUID? {
        var raceCreator: String? = null
        newSuspendedTransaction(Dispatchers.IO) {
            raceCreator = RaceList.select { RaceList.raceID eq raceID }.firstOrNull()?.get(RaceList.creator)
        }
        raceCreator ?: return null
        return UUID.fromString(raceCreator)
    }

それを動的に生成させるパーミッションを複数人に以下のように与え権限のある人は、レースの設定を変更できるようにする。

fun addPerm(player:Player,raceId: String){
permission.playerAdd(player, "raceassist.manage.${raceId}");
}

鞭での加速

鞭などを使用して馬を加速させる。
加速も遺伝子で調整する。

Change to Mini message

The conversion from String -> Message format -> Component to String -> replace placeholder -> Mini message -> Component is necessary and difficult to implement.
However, it has advantages such as the ability to freely convert colors, so there is a need to convert in the future.

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.