Code Monkey home page Code Monkey logo

simplefreeze's Introduction

simplefreeze's People

Contributors

7rory768 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

simplefreeze's Issues

CPU Usage

This plugin is using 60% of my cpu which is 3x as much as the anticheat, why is this and how can i fix this. Its getting sort of annoying whenever i check the server ram and SimpleFreeze is constantly at the top even without players online.

12.12 23:30:43 [Server] INFO ==================[ Server Status ]==================
12.12 23:30:43 [Server] INFO Last restart: 12 December 2021 22:29 Players: 0 / 1000
12.12 23:30:43 [Server] INFO TPS: 20.0 Average TPS: 20.0
12.12 23:30:43 [Server] INFO Memory usage: 486 MB / 5333 MB (1099 MB allocated)
12.12 23:30:43 [Server] INFO Timed 44 plugins for 96.24s
12.12 23:30:43 [Server] INFO |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| SimpleFreeze
12.12 23:30:43 [Server] INFO |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Spartan
12.12 23:30:43 [Server] INFO |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ViaVersion
12.12 23:30:43 [Server] INFO |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ProtocolLib
12.12 23:30:43 [Server] INFO |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| PlaceholderAPI

As you can see simplefreeze is at the top (normally would be color coded but this is the console)

Unfreeze disable flying

After using the unfreeze command the plugin disable flying for the specific player and can not disable this option anywhere.

GUI closing before it's able to be viewed.

In my config, I've got the 'allow-close' in the gui section set to true, as I just want it as a 1 time popup when a player is first frozen, however I also have a default location set and if the player is teleported to that location without having the chunks already loaded, the gui pops up the closes itself almost instantly. When I change allow-close to false, it stays open of course, but I'd rather not force the player to have to close the game if they wish to leave. To be clear, if the player is already near where the default location they are sent to is and already have the chunks loaded, the gui pops up and is only closed when the player closes it, but if the player is anywhere else, not near the location they get sent to, the gui pops up, but closes itself a split second later. Maybe a brief delay on opening the gui after a player is teleported would fix this? There are no console errors or anything of the sort.

Some things to block

If a player is frozen, this things should be blocked too:

  • Bow usage
  • Book writing
  • Portal usage

Bow usage is maybe blocked by the interact listener, but book writing is maybe possible and the usage of portals could be possible too. (Portal usage is "PlayerPortalEvent")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.