diff --git a/FightSystem/README.md b/FightSystem/README.md new file mode 100644 index 00000000..b63cbb99 --- /dev/null +++ b/FightSystem/README.md @@ -0,0 +1,34 @@ +# FightSystem + +## Server setup + +1. Install a WorldEdit plugin and the FightSystem plugin on the server +2. Start the server once (will instantly shutdown due to missing FightSystem configuration) +3. Configure FightSystem by modifying `plugins/FightSystem/config.yml` +4. Create a `backup` folder inside your world folder and copy your `region` folder and `level.dat` into it +5. Create a `config.yml` in the world folder and configure the file as described at the end of `plugins/FightSystem/config.yml` +6. Start and join the server (as op), create a basic kit, save it with `/ak [kitname]` +7. Configure the kit as default kit +8. Restart the server and have fun! + +If you don't want FightSystem taking control over spawning and the whole world, set `Arena.Leaveable = true`. +To start a server in the testarena mode start the server with the flag `-DfightID=-1` prior to `-jar`. + +## Compiling + +Building SteamWar.de software requires certain libraries, +which cannot be provided over traditional ways (like maven) +due to copyright issues with compiled Spigot packages. +The following libraries are required to be in the `lib` +directory exactly named like in the list: + +- `Spigot-1.8.jar` https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.8.9) +- `Spigot-1.9.jar` https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.9.4) +- `Spigot-1.10.jar` https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.10.2) +- `Spigot-1.12.jar` https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.12.2) +- `Spigot-1.14.jar` https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.14.4) +- `Spigot-1.15.jar` https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.15.2) +- `Spigot-1.18.jar` https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.18.2, Use the jar from Spigot/Spigot-Server/target) +- `SpigotCore.jar` https://steamwar.de/devlabs/SteamWar/SpigotCore +- `WorldEdit-1.12.jar` https://dev.bukkit.org/projects/worldedit/files (6.1.9) +- `WorldEdit-1.15.jar` https://dev.bukkit.org/projects/worldedit/files (newest) diff --git a/steamwarci.yml b/steamwarci.yml index 0f26bee8..1a1a8d26 100644 --- a/steamwarci.yml +++ b/steamwarci.yml @@ -4,4 +4,29 @@ build: - "JAVA_HOME=/usr/lib/jvm/java-17-openj9-amd64 ./gradlew build" - "./gradlew --stop" -artifacts: {} \ No newline at end of file +artifacts: + "/binarys/bausystem2.0.jar": "BauSystem/build/libs/BauSystem-all.jar" + + "/binarys/fightsystem.jar": "FightSystem/build/libs/fightsystem.jar" + "/binarys/FightSystem_Standalone.jar": "FightSystem/FightSystem_Standalone/build/libs/FightSystem_Standalone.jar" + + # KotlinCore !! + + "/binarys/lobbysystem2.0.jar": "LobbySystem/build/libs/LobbySystem-all.jar" + + "/binarys/missilewars.jar": "MissileWars/build/libs/MissileWars-all.jar" + + "/binarys/realtime.jar": "Realtime/build/libs/Realtime-all.jar" + + "/binarys/schematicsystem.jar": "SchematicSystem/build/libs/SchematicSystem-all.jar" + + "/binarys/spigotcore.jar": "SpigotCore/build/libs/SpigotCore-all.jar" + + "/binarys/Builder.jar": "Teamserver/build/libs/Teamserver-all.jar" + + "/binarys/towerrun.jar": "TowerRun/build/libs/TowerRun-all.jar" + + "/binarys/tutorialsystem.jar": "TutorialSystem/build/libs/TutorialSystem-all.jar" + + "/binarys/PersistentVelocityCore.jar": "VelocityCore/Persistent/build/libs/Persistent.jar" + "/binarys/VelocityCore.jar": "VelocityCore/Persistent/build/libs/VelocityCore-all.jar"