forked from SteamWar/SteamWar
Instead of a block occluding as a whole, the hull stores which of its six faces are full, using the occlusion shapes the client culls faces with. A ray inside a block can only leave it through an open face and enter the next block through its open opposite face; if only that face is full, the ray reaches its surface, so the block is visible, but stops there. Slabs, stairs and stacked slabs now hide what is behind them; double slabs need no special case anymore. Faces only open up on block updates, after which the rays that could not get into, out of or past the block are continued. Hidden blocks occlude by the same decision as the techhider, so waterlogged blocks count as well when water is hidden. The hull therefore takes the ObfuscationConfig, which the fight shares with its TechHiderWrapper.
FightSystem
Server setup
- Install a WorldEdit plugin and the FightSystem plugin on the server
- Start the server once (will instantly shutdown due to missing FightSystem configuration)
- Configure FightSystem by modifying
plugins/FightSystem/config.yml - Create a
backupfolder inside your world folder and copy yourregionfolder andlevel.datinto it - Create a
config.ymlin the world folder and configure the file as described at the end ofplugins/FightSystem/config.yml - Start and join the server (as op), create a basic kit, save it with
/ak [kitname] - Configure the kit as default kit
- 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.jarhttps://hub.spigotmc.org/jenkins/job/BuildTools/ (1.8.9)Spigot-1.9.jarhttps://hub.spigotmc.org/jenkins/job/BuildTools/ (1.9.4)Spigot-1.10.jarhttps://hub.spigotmc.org/jenkins/job/BuildTools/ (1.10.2)Spigot-1.12.jarhttps://hub.spigotmc.org/jenkins/job/BuildTools/ (1.12.2)Spigot-1.14.jarhttps://hub.spigotmc.org/jenkins/job/BuildTools/ (1.14.4)Spigot-1.15.jarhttps://hub.spigotmc.org/jenkins/job/BuildTools/ (1.15.2)Spigot-1.18.jarhttps://hub.spigotmc.org/jenkins/job/BuildTools/ (1.18.2, Use the jar from Spigot/Spigot-Server/target)SpigotCore.jarhttps://steamwar.de/devlabs/SteamWar/SpigotCoreWorldEdit-1.12.jarhttps://dev.bukkit.org/projects/worldedit/files (6.1.9)WorldEdit-1.15.jarhttps://dev.bukkit.org/projects/worldedit/files (newest)