Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

It could be great if there were an option in the server.properties file to disable some anti-cheats checks, example :

 

(the code is from NetHandlerPlayServer.class)

 

if(*boolean*) //*boolean* is the boolean from the server.properties file

if (!this.hasMoved)

                {

                    return;

                }

 

                double d11 = d8 - this.playerEntity.posX;

                double d12 = d9 - this.playerEntity.posY;

                double d13 = d10 - this.playerEntity.posZ;

                //BUGFIX: min -> max, grabs the highest distance

                double d14 = Math.max(Math.abs(d11), Math.abs(this.playerEntity.motionX));

                double d15 = Math.max(Math.abs(d12), Math.abs(this.playerEntity.motionY));

                double d16 = Math.max(Math.abs(d13), Math.abs(this.playerEntity.motionZ));

                double d17 = d14 * d14 + d15 * d15 + d16 * d16;

 

                if (d17 > 100.0D && (!this.serverController.isSinglePlayer() || !this.serverController.getServerOwner().equals(this.playerEntity.getName())))

                {

                    logger.warn(this.playerEntity.getName() + " moved too quickly! " + d11 + "," + d12 + "," + d13 + " (" + d14 + ", " + d15 + ", " + d16 + ")");

                    this.setPlayerLocation(this.lastPosX, this.lastPosY, this.lastPosZ, this.playerEntity.rotationYaw, this.playerEntity.rotationPitch);

                    return;

                }

}

 

Because currently my server has a lot of "[Player] move to quickly..." but this check is useless because it will be a friends-only server.

 

(sorry if my english is bad)

No.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Guest
This topic is now closed to further replies.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.