https://github.com/lross2k/randomfighter
Spigot plugin that implements a simple minigame
https://github.com/lross2k/randomfighter
java maven minecraft-plugin spigot-plugin
Last synced: about 2 months ago
JSON representation
Spigot plugin that implements a simple minigame
- Host: GitHub
- URL: https://github.com/lross2k/randomfighter
- Owner: lross2k
- Created: 2021-12-10T14:39:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-15T15:17:10.000Z (over 4 years ago)
- Last Synced: 2025-03-31T03:47:22.301Z (about 1 year ago)
- Topics: java, maven, minecraft-plugin, spigot-plugin
- Language: Java
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RandomFighter
Minigame plugin for Minecraft Spigot Servers, tested in version 1.17.1
Written in Java 16 using the Spigot API and storing data using SQLite and the SQLite-JDBC driver,
mainly done for fun and learning purposes, I haven't included a license yet so standard GitHub
rules apply to the licensing.
## Compiling
### IDE
As this was created only using Maven it's really easy to integrate into any IDE or fancy setup that
you like, therefore ***if you use an IDE just load the project for Maven and the `pom.xml` should
configure almost everything.***
### CLI
Using Maven just set yourself at the root of the project (where the `pom.xml` is located)
For compiling individual `.java` files into bytecode files, use
```bash
mvn compile
```
For packaging into a `.jar` at the `target\` folder, use
```bash
mvn assembly:single
```
For cleaning both compiling and packaging process, use
```bash
mvn clean
```
All of these operations can be combined into a single one
```bash
mvn clean compile assembly:single
```
## Adding to your server
I have to make a guide for this... But the plugin is still in development, so I don't know how you
got here really.
## Useful sources of information
In case you want to learn more of this subject, I'll leave here some websites that came in handy
while I was searching for information.
- [Spigot Wiki](https://www.spigotmc.org/wiki/index/)
- [Spigot API Javadocs](https://hub.spigotmc.org/javadocs/spigot/)
- [Java SDK 16 API Javadocs](https://docs.oracle.com/en/java/javase/16/docs/api/index.html)
- [SQLite JDBC repo](https://github.com/xerial/sqlite-jdbc)
- [Bukkit wiki](https://bukkit.fandom.com/wiki/Main_Page)
- [Maven CLI blog post](https://www.sohamkamani.com/java/cli-app-with-maven/)