Giter Club home page Giter Club logo

sabre's Introduction

Sabre

license downloads discord-banner

Sabre is a server JAR wrapper using the Minestom API as a community-maintained groundwork library.

Features

  • Fully featured configuration
  • Stop, update, and operator commands.
  • Colored terminal
  • Built-in flat generator for testing
  • Import map for easy setup

Installation

Automatic

curl -fsSL https://raw.githubusercontent.com/Project-Cepi/Sabre/master/install.sh | sh

Manual

Download the JAR from Sabre releases or compile it yourself.

Create a run script or run it from the terminal using

java -Xms2000m -Xmx2000m -jar Sabre.jar

With -Xms being the minimum amount of RAM you want to use,

and -Xmx being the max amount of RAM you want to use.

Compile

Create a folder, then Clone the repository using:

git clone https://github.com/Project-Cepi/Sabre.git

Once it is cloned, make sure you have gradle installed, and run

./gradlew shadowJar on Mac or Linux, and

gradlew shadowJar on Windows.

This will output the jar to build/libs in the project directory.

sabre's People

Contributors

benjables avatar cmdrnorthpaw avatar fredster33 avatar geolykt avatar kezz avatar leodog896 avatar mergify[bot] avatar protonull avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sabre's Issues

Sabre cannot make use of external dependencies

I got no idea how to fix that issue nor what It's actually causing it, but I hope you have a better idea.

Server version: 1.1.0 (aff16a9)
OS: GNU/Linux (Fedora 33)
Java:
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment 18.9 (build 11.0.9.1+1)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.9.1+1, mixed mode, sharing)
java-11-openjdk-1:11.0.9.11-4.fc33.x86_64

Stacktrace:

java.lang.UnsupportedOperationException: No format processor for org.jboss.shrinkwrap.resolver.api.maven.MavenResolvedArtifact was found. Supported processors are: class org.jboss.shrinkwrap.resolver.impl.maven.archive.ArchiveFormatProcessor
	at org.jboss.shrinkwrap.resolver.spi.format.FormatProcessors.find(FormatProcessors.java:53) ~[sabre-0.1.1-all.jar:?]
	at org.jboss.shrinkwrap.resolver.impl.maven.MavenFormatStageImpl.as(MavenFormatStageImpl.java:84) ~[sabre-0.1.1-all.jar:?]
	at org.jboss.shrinkwrap.resolver.impl.maven.MavenFormatStageImpl.asResolvedArtifact(MavenFormatStageImpl.java:71) ~[sabre-0.1.1-all.jar:?]
	at org.jboss.shrinkwrap.resolver.impl.maven.MavenFormatStageImpl.asResolvedArtifact(MavenFormatStageImpl.java:40) ~[sabre-0.1.1-all.jar:?]
	at net.minestom.dependencies.maven.MavenResolver.resolve(MavenResolver.kt:62) ~[?:?]
	at net.minestom.dependencies.DependencyGetter.get(DependencyGetter.kt:25) ~[?:?]
	at net.minestom.server.extensions.ExtensionManager.loadDependencies(ExtensionManager.java:371) [?:?]
	at net.minestom.server.extensions.ExtensionManager.loadExtensions(ExtensionManager.java:66) [?:?]
	at net.minestom.server.MinecraftServer.init(MinecraftServer.java:143) [?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
	at net.minestom.server.Bootstrap.bootstrap(Bootstrap.java:29) [sabre-0.1.1-all.jar:?]
	at world.cepi.sabre.BootstrapWrapper.main(BootstrapWrapper.java:11) [sabre-0.1.1-all.jar:?]

Extension json:

{
  "entrypoint": "de.geolykt.easyconomy.minestom.EasyconomyAdvanced",
  "name": "EasyconomyAdvanced",
  "version": "1.1.0",

  "externalDependencies": {
    "repositories": [
      {"name": "Central", "url": "https://repo1.maven.org/maven2/"}
    ],
    "artifacts": [
      "com.typesafe:config:jar:1.4.1",
      "org.spongepowered:configurate-hocon:4.0.0"
    ]
  }
}

I have confirmed that it's not an issue with the Minestom demo server, so It's probably an issue with the server implementation (I don't believe that, but Minestom support told otherwise).

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Stop command doesn't exit out

When using the /stop command, it says that the server has successfully shutdown but it hangs and doesn't fully exit out of the JVM.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.


Warning

Renovate failed to look up the following dependencies: Failed to look up maven package com.github.Minestom:Minestom.

Files affected: build.gradle.kts


Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci-check.yml
  • actions/checkout v3
  • actions/setup-java v3
.github/workflows/detekt-analysis.yml
  • actions/checkout v3
  • github/codeql-action v2
.github/workflows/prerelease.yml
  • actions/checkout v3
  • actions/setup-java v3
gradle
gradle.properties
settings.gradle.kts
build.gradle.kts
  • org.jetbrains.kotlin.jvm 1.7.22
  • org.jetbrains.kotlin.plugin.serialization 1.7.22
  • com.github.johnrengelman.shadow 7.1.2
  • io.gitlab.arturbosch.detekt 1.22.0
  • detekt 1.22.0
  • org.jetbrains.kotlinx:kotlinx-coroutines-core 1.6.4
  • org.tinylog:tinylog-api-kotlin 2.5.0
  • org.tinylog:tinylog-impl 2.5.0
  • org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 1.6.4
  • org.jetbrains.kotlinx:kotlinx-serialization-json 1.4.1
  • net.kyori:adventure-text-minimessage 4.12.0
  • io.ktor:ktor-client-core 2.2.1
  • io.ktor:ktor-client-cio 2.2.1
  • io.kotest:kotest-assertions-core 5.5.4
  • io.kotest:kotest-runner-junit5 5.5.4
  • com.github.Minestom:Minestom 7867313290
  • org.jline:jline 3.21.0
  • org.jline:jline-terminal-jansi 3.21.0
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 7.6

  • Check this box to trigger a request for Renovate to run again on this repository

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.