Skip to content

Commit

Permalink
Release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wode490390 committed Sep 28, 2020
1 parent 0169764 commit 3ff4db5
Show file tree
Hide file tree
Showing 15 changed files with 588 additions and 107 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2

jobs:
build:
docker:
- image: circleci/openjdk:8-jdk-stretch

steps:
- checkout

- restore_cache:
keys:
- v1-dependencies-{{ checksum "pom.xml" }}

- run:
command: |
mvn dependency:go-offline
mvn clean package
mkdir artifact
cp target/*.jar artifact
- save_cache:
paths:
- ~/.m2
key: v1-dependencies-{{ checksum "pom.xml" }}

- store_artifacts:
path: artifact
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
*.java text=auto eol=lf
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: "cn.nukkit:nukkit"
35 changes: 35 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Java CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn clean package

- name: Copy artifacts
run: |
mkdir artifact
cp target/*.jar artifact
- name: Archive artifacts
uses: actions/upload-artifact@v1
with:
name: artifacts
path: artifact
229 changes: 229 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,229 @@
# Created by https://www.gitignore.io/api/java,maven,eclipse,netbeans,intellij+all
# Edit at https://www.gitignore.io/?templates=java,maven,eclipse,netbeans,intellij+all

### Eclipse ###
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# CDT- autotools
.autotools

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

# Annotation Processing
.apt_generated/

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet

### Eclipse Patch ###
# Eclipse Core
.project

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Annotation Processing
.apt_generated

.sts4-cache/

### Intellij+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### Intellij+all Patch ###
# Ignores the whole .idea folder and all .iml files
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360

.idea/

# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin
.idea/sonarlint

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Maven ###
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar

### NetBeans ###
**/nbproject/private/
**/nbproject/Makefile-*.mk
**/nbproject/Package-*.bash
build/
nbbuild/
dist/
nbdist/
.nb-gradle/

# End of https://www.gitignore.io/api/java,maven,eclipse,netbeans,intellij+all

# Windows
desktop.ini
*/desktop.ini
Thumbs.db
*/Thumbs.db
ehthumbs.db
*/ehthumbs.db

# Mac
.DS_Store
*/.DS_Store
__MACOSX
__MACOSX/*
*/__MACOSX
*/__MACOSX/*

# Java
*.MF

# Jrebel
rebel.xml
rebel-remote.xml
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: java

jdk:
- openjdk8

install:
- mvn clean package

cache:
directories:
- '$HOME/.m2/repository'
49 changes: 42 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,48 @@
# Atlantis Generator
[![](https://i.loli.net/2019/05/22/5ce467febb25970305.png)](http://www.mcbbs.net/thread-867768-1-1.html "亚特兰蒂斯生成器")
[![Nukkit](https://img.shields.io/badge/Nukkit-1.0-green)](https://github.com/NukkitX/Nukkit)
[![Build](https://img.shields.io/circleci/build/github/wode490390/AtlantisGenerator/master)](https://circleci.com/gh/wode490390/AtlantisGenerator/tree/master)
[![Release](https://img.shields.io/github/v/release/wode490390/AtlantisGenerator)](https://github.com/wode490390/AtlantisGenerator/releases)
[![Release date](https://img.shields.io/github/release-date/wode490390/AtlantisGenerator)](https://github.com/wode490390/AtlantisGenerator/releases)
<!--[![MCBBS](https://img.shields.io/badge/-mcbbs-inactive)](https://www.mcbbs.net/thread-867768-1-1.html "亚特兰蒂斯水世界生成器")
[![Servers](https://img.shields.io/bstats/servers/4840)](https://bstats.org/plugin/bukkit/AtlantisGenerator/4840)
[![Players](https://img.shields.io/bstats/players/4840)](https://bstats.org/plugin/bukkit/AtlantisGenerator/4840)-->

Atlantis generator plugin for Nukkit
Waterworld generator plugin for Nukkit.

![](https://i.loli.net/2020/09/28/1Bz6E7UHtrvRwJV.png)

If you found any bugs or have any suggestions, please open an issue on [GitHub](https://github.com/wode490390/AtlantisGenerator/issues).

If you like this plugin, please star it on [GitHub](https://github.com/wode490390/AtlantisGenerator).

*Note: Please back up old worlds before using this plugin.*

## Download
- [Releases](https://github.com/wode490390/AtlantisGenerator/releases)
- [Snapshots](https://circleci.com/gh/wode490390/AtlantisGenerator)

## Configuration
<details>
<summary>config.yml</summary>

Please see [mcbbs](http://www.mcbbs.net/thread-867768-1-1.html) for more information.
## config.yml
```yaml
# 0-255
sea-level: 254
# Enable biome?
# Allowed values: Integers in the range [0, 255]
sea-level: 128
# enable biome
biome: true
# register limited old world generator
old: true
```
</details>

## Compiling
1. Install [Maven](https://maven.apache.org/).
2. Run `mvn clean package`. The compiled JAR can be found in the `target/` directory.

## Metrics Collection

This plugin uses [bStats](https://github.com/wode490390/bStats-Nukkit). You can opt out using the global bStats config; see the [official website](https://bstats.org/getting-started) for more details.

<!--[![Metrics](https://bstats.org/signatures/bukkit/AtlantisGenerator.svg)](https://bstats.org/plugin/bukkit/AtlantisGenerator/4840)-->

###### If I have any grammar and/or term errors, please correct them :)
Loading

0 comments on commit 3ff4db5

Please sign in to comment.