Yatopia/README.md

55 lines
3.9 KiB
Markdown
Raw Normal View History

2020-02-26 17:23:57 +01:00
# YAPFA
2020-03-21 17:29:35 +01:00
## (Yet another ~~Paper~~ Tuinity fork attempt)
2020-03-23 22:42:28 +01:00
[![Github-CI](https://github.com/tr7zw/YAPFA/workflows/CI/badge.svg)](https://github.com/tr7zw/YAPFA/actions?query=workflow%3ACI) [![CodeMC-CI](https://ci.codemc.io/job/Tr7zw/job/YAPFA/badge/icon?style=plastic)](https://ci.codemc.io/job/Tr7zw/job/YAPFA/)
[![Discord](https://img.shields.io/discord/342814924310970398?color=%237289DA&label=Discord&logo=discord&logoColor=white)](https://discordapp.com/invite/yk4caxM)
[![Patreon](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.herokuapp.com%2Ftr7zw%2Fpledges&style=for-the-badge)](https://www.patreon.com/tr7zw)
2020-03-23 22:42:28 +01:00
2020-02-26 17:23:57 +01:00
## What ##
2020-05-11 23:10:56 +02:00
This Fork tries to import universal/performance patches from [EMC](https://github.com/starlis/empirecraft), [Lithium](https://github.com/jellysquid3/lithium-fabric), [Akarin](https://github.com/Akarin-project/Akarin) and [Purpur](https://github.com/pl3xgaming/Purpur), while adding a few more (optional via config) "extrem" patches that modify the vanilla minecraft gameplay for more performance(noteable killing entity pushing/collisionboxes). This fork was based on Paper, but is now based on [Tuinity](https://github.com/Spottedleaf/Tuinity).
2020-02-26 17:23:57 +01:00
2020-06-19 22:25:02 +02:00
## Config entries
### itemStuckSleepTicks
``Default``:``1`` Controlls how often a dropped item checks rather it's stuck inside a block(Their most expansive operation). Higher values like ``15`` can be savely used and greatly improves dropped item performance if your server has thousends of them(from big farms/tnt/farming players etc).
### disableEntityWaterChecks
``Default``:``false`` Entities don't check for drowning. Legacy option that probably doesn't do that much.
### disableEntityStuckChecks
``Default``:``false`` Entities don't check if they are stuck in a wall and should sufficate. Usefull in for example 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.
### onlyPlayerCollisions
``Default``:``false`` Does the same as ``disableEntityCollisions`` except that players are still able to push other entities.
### disableEntityCollisionboxes
``Default``:``false`` Removes the collisionbox from entities. This only really affects shulker mobs(not the shulker box) 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 ingame behavior.
### checkEntityBlockCollisionTicks
``Default``:``1`` How often entities trigger blocks like pressureplates/cactus/nether portals. Legacy option that probably doesn't do that much, breaks the nether portal logic and will be removed later.
2020-02-26 17:23:57 +01:00
## Building and setting up
Run the following commands in the root directory:
```
git submodule init
git submodule update
2020-05-11 23:10:56 +02:00
./fetchUpstream.sh
./yapfa build
./yapfa paperclip
2020-02-26 17:23:57 +01:00
```
## LICENSE
Everything is licensed under the MIT license, and is free to be used in your own fork.
2020-05-11 23:10:56 +02:00
See [EMC](https://github.com/starlis/empirecraft), [Lithium](https://github.com/jellysquid3/lithium-fabric), [Akarin](https://github.com/Akarin-project/Akarin), [Purpur](https://github.com/pl3xgaming/Purpur) and [Tuinity](https://github.com/Spottedleaf/Tuinity)
2020-02-26 17:23:57 +01:00
for the license of material used/modified by this project.
2020-05-11 23:10:56 +02:00
**By using this project you accept the Mojang EULA! Starting the server-jar requires that you have read and accepted the EULA because of [this patch](https://github.com/tr7zw/YAPFA/blob/master/patches/server/0017-EMC-Accept-the-EULA.patch)!**