All Projects → SpongePowered → Ore

SpongePowered / Ore

Licence: mit
Repository software for Sponge plugins and Forge mods

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to Ore

NT-RPG
A new rpg plugin for Sponge & Spigot
Stars: ✭ 21 (-66.67%)
Mutual labels:  minecraft, sponge
Minecraftdev
Plugin for IntelliJ IDEA that gives special support for Minecraft modding projects.
Stars: ✭ 645 (+923.81%)
Mutual labels:  minecraft, sponge
Spongevanilla
The SpongeAPI implementation for Vanilla Minecraft.
Stars: ✭ 254 (+303.17%)
Mutual labels:  minecraft, sponge
Luckperms
A permissions plugin for Minecraft servers.
Stars: ✭ 1,100 (+1646.03%)
Mutual labels:  minecraft, sponge
Libby
A runtime dependency management library for plugins running in Java-based Minecraft server platforms.
Stars: ✭ 36 (-42.86%)
Mutual labels:  minecraft, sponge
sbt-jni
SBT Plugin to ease working with JNI
Stars: ✭ 110 (+74.6%)
Mutual labels:  sbt, jvm
Minecraftdeveloperguide
📝Minecraft developer Chinese guide,我的世界开发者中文指南
Stars: ✭ 574 (+811.11%)
Mutual labels:  minecraft, sponge
Skinsrestorerx
SkinsRestorer development repository
Stars: ✭ 171 (+171.43%)
Mutual labels:  minecraft, sponge
E
A zero-dependency micro library to deal with errors
Stars: ✭ 21 (-66.67%)
Mutual labels:  sbt, jvm
Almura
The official mod of the Almura Client and Server.
Stars: ✭ 14 (-77.78%)
Mutual labels:  minecraft, sponge
Sponge
The SpongeAPI implementation targeting vanilla Minecraft and 3rd party platforms.
Stars: ✭ 241 (+282.54%)
Mutual labels:  minecraft, sponge
Redprotect
RedProtect Easy and Light Weight Antigrief plugin.
Stars: ✭ 51 (-19.05%)
Mutual labels:  minecraft, sponge
Craftbook
🔧 Machines, ICs, PLCs, and more!
Stars: ✭ 226 (+258.73%)
Mutual labels:  minecraft, sponge
TotalEconomy
All in one economy plugin for Minecraft and Sponge.
Stars: ✭ 32 (-49.21%)
Mutual labels:  minecraft, sponge
Geyser
A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.
Stars: ✭ 2,851 (+4425.4%)
Mutual labels:  minecraft, sponge
Viaversion
Allows the connection of newer clients to older server versions for Minecraft servers.
Stars: ✭ 463 (+634.92%)
Mutual labels:  minecraft, sponge
Nucleus
The Ultimate Essentials Plugin for Sponge.
Stars: ✭ 144 (+128.57%)
Mutual labels:  minecraft, sponge
Worldedit
🗺️ Minecraft map editor and mod
Stars: ✭ 2,288 (+3531.75%)
Mutual labels:  minecraft, sponge
Scala Logging
Convenient and performant logging library for Scala wrapping SLF4J.
Stars: ✭ 804 (+1176.19%)
Mutual labels:  sbt, jvm
Spongeapi
A Minecraft plugin API
Stars: ✭ 1,043 (+1555.56%)
Mutual labels:  minecraft, sponge

Ore

Build Status Hydra

Repository software for Sponge plugins and Forge mods https://ore.spongepowered.org/

Ore is written in Scala using the Play framework.

Clone

The following steps will ensure your project is cloned properly.

  1. git clone https://github.com/SpongePowered/Ore.git
  2. cp scripts/pre-commit .git/hooks

Setup

After cloning Ore, the first thing you will want to do is create a new PostgreSQL 11 database for the application to use. This is required in order for Ore to run. Learn more about PostgreSQL here.

You will also need to enable a few extensions for Ore. These are:

In addition, you need to install Node.js and Yarn. Installation instructions are available for Node.js and Yarn.

After setting up a database, create a copy of application.conf.template named application.conf and configure the application, for the application you want to run. This file is in the .gitignore so it will not appear in your commits. Your local copy needs to get updated every time you pull changes, which add a new setting to the config. Currently valid applications are ore and jobs, and their configuration files can be found in ore/conf/application.conf.template and jobs/src/main/resources/application.conf.template.

In a typical development environment, most of the defaults are fine. Here are a few you might want to take a look at though.

For ore:

  • You can disable authentication by setting application.fakeUser to true.

Running

Running Ore is relatively simple.

With SBT

  • Download and install the latest SBT version.
  • Execute sbt ore/run in the project root to run the web app.
  • Execute sbt jobs/run in the project root to run the jobs processing.
  • Note: You are advised to keep the sbt shell open when doing development instead of starting it for each task.

With IntelliJ Community Edition

  • Install the Scala plugin.
  • Import the build.sbt file.

For ore:

  • Create a new SBT Task run configuration. Enter ore/run in the Tasks field.
  • Untick the box that says Use sbt shell
  • Run it.

For jobs:

  • Either repeat the process for ore, but use jobs/run instead of ore/run.
  • Or, click the green triangle next to OreJobProcessorMain when opening up the file.

Note: You might encounter a stack overflow exception when compiling ore. This is not unexpected. Just assign more stack size to sbt in the way you're starting sbt. -Xss4m should be enough. If you're using IntelliJ, you can set this in the VM arguments field. If you're invoking sbt directly, the most common ways to set this is either through the SBT_OPTS environment variable, or with a file named .jvmopts with each flag on a new line.

Using Hydra

Hydra is the world’s only parallel compiler for the Scala language. Its design goal is to take advantage of the many cores available in modern hardware to parallelize compilation of Scala sources. This gives us the possibility to achieve a much faster compile time. Triplequote has kindly provided us with some licenses. If you have a license and want to use Hydra, follow these steps:

  1. Create the file project/hydra.sbt

  2. Put in this content into the newly created file:

    credentials += Credentials("Artifactory Realm",
        "repo.triplequote.com",
        "<username>",
        "<password>")
    resolvers += Resolver.url("Triplequote Plugins Releases", url("https://repo.triplequote.com/artifactory/sbt-plugins-release/"))(Resolver.ivyStylePatterns)
    addSbtPlugin("com.triplequote" % "sbt-hydra" % "<version>")
    
    • The <username> and <password> placeholders have to be replaced with your credentials.
    • The <version> placeholder has to be replaced with the lastest version of sbt-hydra which can be obtained from the offical changelog.
  3. Open the sbt console and make use of the following command where <license key> is your personal hydra license key:

    hydraActivateLicense <license key>
    
  4. Go and start compiling!

Further instructions can be found at the official Hydra documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].