Skip to content
Snippets Groups Projects
Commit 539cd97d authored by Miniontoby's avatar Miniontoby :writing_hand_tone1:
Browse files

First import.... Does nothing

parent 9ea51adb
No related branches found
No related tags found
No related merge requests found
Showing
with 67 additions and 44 deletions
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Gradle.gitlab-ci.yml
# This is the Gradle build system for JVM applications
# https://gradle.org/
# https://github.com/gradle/gradle
image: gradle:alpine
# Disable the Gradle daemon for Continuous Integration servers as correctness
# is usually a priority over speed in CI environments. Using a fresh
# runtime for each build is more reliable since the runtime is completely
# isolated from any previous builds.
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
build:
stage: build
script: gradle --build-cache assemble
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths:
- build
- .gradle
test:
stage: test
script: gradle check
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- build
- .gradle
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
# MindustrIRC
# MinDiscory
## What?
MindustrIRC is an IRC Plugin for the game [Mindustry](https://mindustrygame.github.io)
MinDiscory is an Discord Plugin for the game [Mindustry](https://mindustrygame.github.io)
## What does it do?
It relays all messages which are send in the game to the IRC channel and the other way round
It also relays JOIN, PART, QUIT, NICK and NOTICE
It also comes with some IRC sided commands, like `players`. To use them send at IRC: `<YOURBOTNICK>: <command>`
## How to install?
To install this mod, go to your `config/mods/` folder and run the following command in shell:
$ wget "https://edugit.org/Miniontoby/mindustrirc/-/raw/main/build/libs/mindustrirc.jar?inline=false"
## How to use?
At default it will connect to irc.ircforever.org:6667 #mindustry
Using the Core.settings I have done that, but I don't know how to change it from commandline atm... Will change it soon
You can change the code to change the server address and then build the .jar with the `./update.sh`
## How to stop your server again?
At the moment I dont have it auto stop on the `exit` command, but I am still working on it!
So just execute the `exit` command and then CTRL-C to stop the server
It relays all messages which are send in the game to the Discord channel and the other way round
File added
File deleted
File deleted
File added
File deleted
File deleted
No preview for this file type
Manifest-Version: 1.0
#!/bin/ksh
if [[ "x$1" == "x" ]]; then
FILE="MindustrIRC"
FILE="MinDiscory"
else
FILE="$1"
fi
nano src/com/miniontoby/MindustrIRC/$FILE.java
nano src/com/miniontoby/MinDiscory/$FILE.java
displayName: "MindustrIRC"
name: "mindustrirc"
description: "IRC Mod for Mindustry"
displayName: "MinDiscory"
name: "mindiscory"
description: "Discord Plugin for Mindustry"
author: "Miniontoby"
version: 1.1.0
version: 1.0.0
minGameVersion: 122
hidden: true
main: "com.miniontoby.MindustrIRC.MindustrIRC"
main: "com.miniontoby.MinDiscory.MinDiscory"
java: true
package com.miniontoby.MinDiscory;
import java.net.*;
import java.io.*;
import java.util.*;
import arc.*;
import arc.util.*;
import arc.struct.*;
import mindustry.*;
import mindustry.content.*;
import mindustry.game.EventType.*;
import mindustry.gen.*;
import mindustry.mod.*;
import mindustry.net.*;
public class MinDiscory extends Plugin {
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment