The Most Powerful and Feature Rich Minecraft Server Software!
Go to file
2020-07-26 23:08:57 +02:00
.github Update issue templates 2020-07-20 23:23:36 -04:00
patches Update 0005-Add-NBT-API-as-first-class-lib.patch 2020-07-25 20:07:48 +02:00
scripts Changes 2020-07-16 21:02:27 -05:00
Tuinity@699f5f2fb0 Update upstream, add Global Eula patch 2020-07-25 17:16:49 +02:00
.gitignore Update upstream 2020-07-17 18:05:50 +02:00
.gitmodules Fix 2 2020-07-15 14:48:29 -05:00
api init 2020-02-26 17:23:57 +01:00
current-tuinity Fix 2 2020-07-15 14:48:29 -05:00
pom.xml init 2020-02-26 17:23:57 +01:00
README.md Update README.md 2020-07-20 17:48:25 +03:00
server init 2020-02-26 17:23:57 +01:00
yapfa Real Fix 2020-07-16 22:44:48 -05:00

YAPFA

(Yet another Paper Tuinity fork attempt)

Github-CI CodeMC-CI Discord Patreon

What

This Fork tries to import universal/performance patches from EMC, Lithium, Akarin and Purpur while adding a few more (optional via config) "extreme" patches that modify the vanilla Minecraft gameplay for more performance (notable killing entity pushing/collision boxes). This fork was based on Paper but is now based on Tuinity.

Config entries

disableEntityStuckChecks

Default: false Entities don't check if they are stuck in a wall and should suffocate. E.g useful in hubs where player damage is canceled anyway.

disablePlayerOutOfWorldBorderCheck

Default: false Players don't check if they are outside of the world border (to take damage). Can be used everywhere where the world border doesn't apply anyway like hubs/minigames.

disableEntityCollisions

Default: false All entities stop pushing each other. The only exception is that players still will be pushed since this is clientside and controlled by a scoreboard team flag. This also breaks the entity cramming (which players can bypass anyway with ladders). Greatly improves performance where entity pushing is not required.

disableEntityCollisionboxes

Default: false Removes the collision box from entities. This only really affects shulker mobs (not shulker boxes) so that mobs will fall through them like any other mob. Players still can walk over them since that is clientside. Greatly improves performance, with minimal impact on in-game behavior.

onlyPlayerCollisions

Default: false Does the same as disableEntityCollisions except that players are still able to push other entities.

pistonPushLimit

Default: 12 Just a fun option that enables you to modify the maximum amount of blocks that a piston can push. Together with slime/honey blocks and pushable tiles from Tuinity this allows a lot of new machines/doors.

itemStuckSleepTicks

Default: 1 Controls how often a dropped item checks rather it's stuck inside a block (their most expansive operation). Higher values like 15 can be safely used and greatly improves dropped item performance if your server has thousands of them (from big farms/TNT/farming players etc).

villager.simplerVillagerBehavior

Default: false Replaces the entire villager AI to the old AI system that all other mobs use. This breaks iron farms/villager breeders/villages (WIP to fix these problems), all villagers get a random profession (if they didn't have one) like in 1.8, don't need nor use workstations and refresh their trades after some time (trades are completely unaffected). This makes villagers as performant as all the other mobs by getting rid of their "brain" (Mojang's name^^) and behavior controller system, instead using the normal goal selector system. This way villagers are over twice as performant, but with the drawbacks that for now Iron farms/villager breeders are broken, so they can just be used for trading systems.

villager.villagersHideAtNight

Default: false Addon for villager.simplerVillagerBehavior, gives villagers the ability to drink an invisibility potion like wandering traders at night to make it less likely for them to be killed since (for now) they don't stay at the village/use their houses at night and no ability for them to respawn.

Building and setting up

Run the following commands in the root directory:

git submodule update --init --recursive --force
./yapfa jar

LICENSE

Everything is licensed under the MIT license and is free to be used in your own fork.

See EMC, Lithium, Akarin, Purpur and Tuinity for the license of material used/modified by this project.

To use this project you'll have to accept the Mojang EULA!