Skip to content

Fork Changes

CaptainObvious0 edited this page Mar 28, 2019 · 6 revisions

A quick walk through of all changes with this fork and some information about them.

In Progress

Fixing 1.13 Swimming

Information: 1.13 Allows the player to toggle into swimming. When the player toggles their swim, they move positions similar to toggling elytra and the player can also move faster than previous versions. This aquatic update also included new blocks and entity's. Swimming near a dolphin gives the player the 'dolphins grace' effect, allowing them to move even faster. 1.13 also adds the Riptide enchant, which combined with tridents can lift off players when they are in water or rain.

The Issue: With the new swimming ability, it allows faster speeds. This faster speed is faster than the speed allowed by NoCheatPlus. Dolphins Grace allows an even faster speed, which NoCheatPlus thinks the player is speeding in water. The new blocks in 1.13 have not been added to NoCheatPlus's block list, therefore, it did not have any block flags. Without any block flags, NoCheatPlus does not have any information on how to handle these blocks. When a player toggles their swim, their position changes similar to flying with elytra. Because of this, they are allowed to swim in 1x1 spaces. The riptide enchant can give players fast vertical and horizontal speed, which were not accounted for by NoCheatPlus.

The Fix: The new swimming speed was fixed by raising the allowed speed for NoCheatPlus. Faster speeds also needed to be applied to different movements/transitions in water, such as allowing a faster vertical speed. Dolphins Grace effect was fixed by checking if the player has the effect applied, then allows a faster swimming speed. Passable check was fixed by exempting the player from 'raytracing_collide' when they are swimming. Riptide was fixed by checking if the player is riptiding, and then allowing a faster speed.

NoCheatPlus Issues Some issues taken from NoCheatPlus/Issues has been fixed with this fork.

Feeding a parrot a cookie flags for NoSwing - Fixed by exempting parrots

Placing blocks on ladders and carpets would flag for Blockplace.Direction - Fixed by allowing blocks to be placed against ladders and carpets

In some cases, KeepAlive could be flagged when a player first joins the server - Fixed by adding a configurable time until the check enables after the player joins

Added Checks/Improvements

InventoryMove - Prevents players from interacting with their inventory if they should not be allowed to (Can fix some mods such as AutoArmor, AutoPotion, AutoSoup, etc...)

NoSlowDown - Added speeds to soul sand to prevent faster speeds walking on soul sand

Clone this wiki locally