Skip to content

Commit a2fbd32

Browse files
authored
Merge pull request #4 from BentoBoxWorld/develop
Initial Alpha Release
2 parents 3fe9fd0 + 021025b commit a2fbd32

21 files changed

+2330
-1
lines changed

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Compiled class file
2+
*.class
3+
4+
# Log file
5+
*.log
6+
7+
# BlueJ files
8+
*.ctxt
9+
10+
# Mobile Tools for Java (J2ME)
11+
.mtj.tmp/
12+
13+
# Package Files #
14+
*.jar
15+
*.war
16+
*.nar
17+
*.ear
18+
*.zip
19+
*.tar.gz
20+
*.rar
21+
22+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23+
hs_err_pid*

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,23 @@
1-
# ControlPanel
1+
# ControlPanel Addon
2+
[![Discord](https://img.shields.io/discord/272499714048524288.svg?logo=discord)](https://discord.bentobox.world)
3+
[![Build Status](https://ci.codemc.org/buildStatus/icon?job=BentoBoxWorld/ControlPanel)](https://ci.codemc.org/job/BentoBoxWorld/job/ControlPanel/)
4+
5+
This is simple ControlPanel for all BentoBox GameMode addons. Allows to customize GUI for users.
6+
7+
## How to use
8+
9+
1. Place the addon jar in the addons folder of the BentoBox plugin
10+
2. Restart the server
11+
3. Use admin command to import control panels.
12+
13+
## Compatibility
14+
15+
- [x] BentoBox - 1.7.0 version
16+
- [x] BSkyBlock
17+
- [x] AcidIsland
18+
- [x] SkyGrid
19+
- [x] CaveBlock
20+
21+
## Information
22+
23+
More information can be found in [Wiki Pages](https://github.com/BentoBoxWorld/ControlPanel/wiki).

pom.xml

Lines changed: 245 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,245 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>world.bentobox</groupId>
8+
<artifactId>controlpanel</artifactId>
9+
<version>${revision}</version>
10+
11+
<name>ControlPanel</name>
12+
<description>This is simple ControlPanel for all BentoBox GameMode addons.</description>
13+
<url>https://github.com/BentoBoxWorld/ControlPanel</url>
14+
15+
<inceptionYear>2019</inceptionYear>
16+
17+
<!-- SCM is a GitHub link to your project -->
18+
<!-- Can be removed -->
19+
<scm>
20+
<connection>scm:git:https://github.com/BentoBoxWorld/ControlPanel.git</connection>
21+
<developerConnection>scm:git:[email protected]:BentoBoxWorld/ControlPanel.git</developerConnection>
22+
<url>https://github.com/BentoBoxWorld/ControlPanel</url>
23+
</scm>
24+
25+
<!-- ciManagement is a build server that runs builds for your project -->
26+
<!-- Can be removed -->
27+
<ciManagement>
28+
<system>jenkins</system>
29+
<url>http://ci.codemc.org/job/BentoBoxWorld/job/ControlPanel</url>
30+
</ciManagement>
31+
32+
<!-- issueManagement is a link to issues page. -->
33+
<!-- Can be removed -->
34+
<issueManagement>
35+
<system>GitHub</system>
36+
<url>https://github.com/BentoBoxWorld/ControlPanel/issues</url>
37+
</issueManagement>
38+
39+
<!-- distributionManagement contains public maven repositories for your addon -->
40+
<!-- Can be removed -->
41+
<distributionManagement>
42+
<snapshotRepository>
43+
<id>codemc-snapshots</id>
44+
<url>https://repo.codemc.org/repository/maven-snapshots</url>
45+
</snapshotRepository>
46+
<repository>
47+
<id>codemc-releases</id>
48+
<url>https://repo.codemc.org/repository/maven-releases</url>
49+
</repository>
50+
</distributionManagement>
51+
52+
<!-- Properties contains all variables that can offten change, f.e. BentoBox API version -->
53+
<properties>
54+
<!-- Some JAVA encoding settings -->
55+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
57+
<java.version>1.8</java.version>
58+
59+
<!-- SPIGOT API version -->
60+
<spigot.version>1.14.4-R0.1-SNAPSHOT</spigot.version>
61+
62+
<!-- BentoBox API version -->
63+
<bentobox.version>1.7.0</bentobox.version>
64+
65+
<!-- Revision variable removes warning about dynamic version -->
66+
<revision>${build.version}-SNAPSHOT</revision>
67+
<!-- This allows to change between versions and snapshots. -->
68+
<build.version>1.7.0</build.version>
69+
<build.number>-LOCAL</build.number>
70+
</properties>
71+
72+
<profiles>
73+
<profile>
74+
<id>ci</id>
75+
<activation>
76+
<property>
77+
<name>env.BUILD_NUMBER</name>
78+
</property>
79+
</activation>
80+
<properties>
81+
<!-- Override only if necessary -->
82+
<build.number>-#${env.BUILD_NUMBER}</build.number>
83+
<!-- GIT_BRANCH -->
84+
</properties>
85+
</profile>
86+
<profile>
87+
<id>master</id>
88+
<activation>
89+
<property>
90+
<name>env.GIT_BRANCH</name>
91+
<value>origin/master</value>
92+
</property>
93+
</activation>
94+
<properties>
95+
<!-- Override only if necessary -->
96+
<revision>${build.version}</revision>
97+
<!-- Empties build number variable.-->
98+
<build.number></build.number>
99+
</properties>
100+
</profile>
101+
</profiles>
102+
103+
<!-- Repositories contains links from were dependencies will be searched -->
104+
<repositories>
105+
<repository>
106+
<id>spigot-repo</id>
107+
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots</url>
108+
</repository>
109+
<repository>
110+
<id>spigotmc-public</id>
111+
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
112+
</repository>
113+
<repository>
114+
<id>codemc-repo</id>
115+
<url>https://repo.codemc.org/repository/maven-public/</url>
116+
</repository>
117+
<repository>
118+
<id>vault-repo</id>
119+
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
120+
</repository>
121+
</repositories>
122+
123+
<!-- Your addon must contain Spigot and BentoBox APIs dependencies. -->
124+
<dependencies>
125+
<dependency>
126+
<groupId>org.spigotmc</groupId>
127+
<artifactId>spigot-api</artifactId>
128+
<version>${spigot.version}</version>
129+
<scope>provided</scope>
130+
</dependency>
131+
132+
<dependency>
133+
<groupId>world.bentobox</groupId>
134+
<artifactId>bentobox</artifactId>
135+
<version>${bentobox.version}</version>
136+
<scope>provided</scope>
137+
</dependency>
138+
</dependencies>
139+
140+
<!-- Build contains information for maven. It allows to create correct jar file. -->
141+
<build>
142+
<finalName>${project.name}-${revision}${build.number}</finalName>
143+
144+
<defaultGoal>clean package</defaultGoal>
145+
<resources>
146+
<resource>
147+
<directory>src/main/resources</directory>
148+
<filtering>true</filtering>
149+
</resource>
150+
<resource>
151+
<directory>src/main/resources/locales</directory>
152+
<targetPath>./locales</targetPath>
153+
<filtering>false</filtering>
154+
<includes>
155+
<include>*.yml</include>
156+
<include>*.json</include>
157+
</includes>
158+
</resource>
159+
</resources>
160+
<plugins>
161+
<plugin>
162+
<groupId>org.apache.maven.plugins</groupId>
163+
<artifactId>maven-clean-plugin</artifactId>
164+
<version>3.1.0</version>
165+
</plugin>
166+
<plugin>
167+
<groupId>org.apache.maven.plugins</groupId>
168+
<artifactId>maven-resources-plugin</artifactId>
169+
<version>3.1.0</version>
170+
</plugin>
171+
<plugin>
172+
<groupId>org.apache.maven.plugins</groupId>
173+
<artifactId>maven-compiler-plugin</artifactId>
174+
<version>3.7.0</version>
175+
<configuration>
176+
<source>${java.version}</source>
177+
<target>${java.version}</target>
178+
</configuration>
179+
</plugin>
180+
<plugin>
181+
<groupId>org.apache.maven.plugins</groupId>
182+
<artifactId>maven-surefire-plugin</artifactId>
183+
<version>2.22.0</version>
184+
</plugin>
185+
<plugin>
186+
<groupId>org.apache.maven.plugins</groupId>
187+
<artifactId>maven-jar-plugin</artifactId>
188+
<version>3.1.0</version>
189+
</plugin>
190+
<plugin>
191+
<groupId>org.apache.maven.plugins</groupId>
192+
<artifactId>maven-javadoc-plugin</artifactId>
193+
<version>3.0.1</version>
194+
<configuration>
195+
<show>public</show>
196+
<failOnError>false</failOnError>
197+
<additionalJOption>-Xdoclint:none</additionalJOption>
198+
</configuration>
199+
<executions>
200+
<execution>
201+
<id>attach-javadocs</id>
202+
<goals>
203+
<goal>jar</goal>
204+
</goals>
205+
</execution>
206+
</executions>
207+
</plugin>
208+
<plugin>
209+
<groupId>org.apache.maven.plugins</groupId>
210+
<artifactId>maven-source-plugin</artifactId>
211+
<version>3.0.1</version>
212+
<executions>
213+
<execution>
214+
<id>attach-sources</id>
215+
<goals>
216+
<goal>jar-no-fork</goal>
217+
</goals>
218+
</execution>
219+
</executions>
220+
</plugin>
221+
<plugin>
222+
<groupId>org.apache.maven.plugins</groupId>
223+
<artifactId>maven-shade-plugin</artifactId>
224+
<version>3.1.1</version>
225+
<configuration>
226+
<minimizeJar>true</minimizeJar>
227+
</configuration>
228+
<executions>
229+
<execution>
230+
<phase>package</phase>
231+
<goals>
232+
<goal>shade</goal>
233+
</goals>
234+
</execution>
235+
</executions>
236+
</plugin>
237+
<plugin>
238+
<groupId>org.apache.maven.plugins</groupId>
239+
<artifactId>maven-install-plugin</artifactId>
240+
<version>2.5.2</version>
241+
</plugin>
242+
</plugins>
243+
</build>
244+
245+
</project>

0 commit comments

Comments
 (0)