Skip to content

Commit fc65463

Browse files
committed
Improve readme
1 parent b6f69ac commit fc65463

File tree

1 file changed

+141
-0
lines changed

1 file changed

+141
-0
lines changed

README.md

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# Template Project
2+
3+
[[_TOC_]]
4+
5+
## How to prepare my project
6+
7+
Edit following files:
8+
- settings.gradle.kts
9+
- build.gradle.kts
10+
- .gitlab-ci.yml
11+
- gradle/libs.versions.toml
12+
13+
14+
---
15+
16+
## Important information
17+
18+
MariaDB Login Credentials
19+
20+
| Username | Password |
21+
|----------|----------|
22+
| root | password |
23+
24+
[Docker Repo](https://hub.docker.com/_/mariadb)
25+
26+
---
27+
28+
Redis Login Credentials
29+
- No login data required!
30+
31+
32+
**We are using a fork of redis that is multithreaded**
33+
34+
[Docker Repo](https://registry.hub.docker.com/r/eqalpha/keydb)
35+
36+
---
37+
38+
### Dependencies
39+
40+
| Name | Version | Group | ArtifactID |
41+
|----------------------|----------------------|------------------------|------------------------|
42+
| paper | 1.18.2-R0.1-SNAPSHOT | io.papermc.paper | paper |
43+
| cloudnetPerms | 3.4.5-RLEASE | de.dytanic.cloudnet | cloudnet-perms |
44+
| cloudnetBrdige | 3.4.5-RLEASE | de.dytanic.cloudnet | clodunet-bridge |
45+
| cloudnetDriver | 3.4.5-RLEASE | de.dytanic.cloudnet | cloudnet-driver |
46+
| cloudPaper | 1.6.2 | cloud.commandframework | cloud-paper |
47+
| cloudAnnotations | 1.6.2 | cloud.commandframework | cloud-annotations |
48+
| cloudMinecraftExtras | 1.6.2 | cloud.commandframework | cloud-minecraft-extras |
49+
| commdore | 1.13 | me.lucko | commodore |
50+
| hibernate | 6.1.0.Final | org.hibernate | hibernate-core |
51+
| hibernateEnvers | 6.1.0.Final | org.hibernate | hibernate-envers |
52+
| hibernateHikariCP | 6.1.0.Final | org.hibernate | hibernate-hikaricp |
53+
| mariadbJavaClient | 3.0.5 | org.mariadb.jdbc | mariadb-java-client |
54+
| redisson | 3.17.3 | org.redisson | redisson |
55+
| liquibaseCore | 3.4.1 | org.liquibase | liquibase-core |
56+
| liquibaseHibernate5 | 4.9.1 | org.liquibase.ext | liquibase-hibernate5 |
57+
58+
59+
### Plugins
60+
61+
| Id | Version |
62+
|---------------------------------|---------|
63+
| com.github.johnrengelman.shadow | 7.1.2 |
64+
| xyz.jpenilla.run-paper | 1.0.6 |
65+
| net.minecrell.plugin-yml.bukkit | 0.5.1 |
66+
| org.liquibase.gradle | 2.1.0 |
67+
68+
69+
### runPaper plugin configuration
70+
71+
Tasks section
72+
```kt
73+
tasks {
74+
runServer {
75+
minecraftVersion("1.18.2")
76+
}
77+
}
78+
```
79+
80+
81+
### shadowJar plugin configuration
82+
83+
Tasks section
84+
```kt
85+
tasks {
86+
shadowJar {
87+
archiveFileName.set("${rootProject.name}.${archiveExtension.getOrElse("jar")}")
88+
}
89+
}
90+
```
91+
92+
### bukkit plugin configuration
93+
94+
Bukkit section
95+
96+
```kt
97+
tasks {
98+
TODO("")
99+
}
100+
bukkit {
101+
main = "${rootProject.group}.MAINCLASS"
102+
apiVersion = "1.18"
103+
104+
authors = listOf("TheMeinerLP", "OneLiteFeather")
105+
106+
depend = listOf("helper") // Hard depended
107+
softDepend = listOf("CloudNet-Bridge") // Soft dependencies
108+
}
109+
110+
```
111+
112+
113+
### liquibase plugin configuration
114+
115+
liquibase section
116+
```kt
117+
tasks {
118+
TODO("")
119+
}
120+
liquibase {
121+
activities {
122+
create("diffMain") {
123+
(this.arguments as MutableMap<String, String>).apply {
124+
this["changeLogFile"] = "src/main/resources/db/changelog/db.changelog-diff.xml"
125+
this["url"] = "jdbc:mariadb://localhost:3306/elytrarace"
126+
this["username"] = "root"
127+
this["password"] = "%Schueler90"
128+
// set e.g. the Dev Database to perform diffs
129+
this["referenceUrl"] = "jdbc:mariadb://localhost:3306/elytraracediff"
130+
this["referenceUsername"] = "root"
131+
this["referencePassword"] = "%Schueler90"
132+
}
133+
}
134+
}
135+
}
136+
```
137+
138+
### sonarqube plugin configuration
139+
140+
sonarqube section
141+

0 commit comments

Comments
 (0)