GithubHelp home page GithubHelp logo

tasfiqunloader's Introduction

Contributors Forks Stargazers Issues LinkedIn


Logo

Tasfiq Unloader

An awesome minecraft plugin that unloads Loaded chunk in your minecraft server
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Plugin
  2. Getting Started
  3. Contact

About This Plugin

Title

This is a very simple plugin. It will reduce CPU usage to about 0-1% when no players are online on the server. This can be used for a lot of purposes.

Note that this plugin will only be useful for small servers that tend to be empty at night or during schooldays. If you've got 500 players, the plugin will never "enable" and will not make any difference.

Features:

  • Save electricity (if you host the server)
  • Let other software use the CPU when no one is playing Minecraft.
  • Allow more servers to run on your machine
  • Works for all versions of Craftbukkit or Spigot
  • Very lightweight plugin. Does not cause any lag at all. 😄

How does this work? The plugin will intentionally "lag" your server while no players are connected. You can see it as freezing the server. It'll make it dormant until a player connects.

Command (since version 1.02) You can use /hibernate to toggle the plugin off (and on again) this may be useful in situations where you have to generate a world while no players are online or something similar. Does not save over reload/restart! Enabled by default. You have to be OP or have this permission to use the command: tasfiqunloader.toggle

Caveats:

  • The first player to join the server while it is hibernating might have to try to connect twice. In most cases this is not needed, but it is possible
  • Since Hibernate "freezes" the server, plugins like Dynmap will stop working when no players are connected (for Dynmap specifically an advanced workaround could be to not use the built in webserver, but use your own)
  • Plugin won't help if your server is never empty
  • Because of the hibernation, can't keep up messages might show up in your console.
  • While the server is hibernating, your TPS will go down (intentionally). If you have plugins that monitor TPS, these might report issues during hibernation and for a few minutes after due to them using averages of the past X minutes.

(back to top)

Server with no players online

Example

Server with no players online and TasfiqUnloader is installed

Example

Built With

(back to top)

Installation

Download this plugin from the Releases

After downloading it put it in your plugins folder and restart your server and you are done.

(back to top)

Contact

Tasfiq - Discord - [email protected]

Project Link: https://github.com/TasfiqSami/TasfiqUnloader

(back to top)

tasfiqunloader's People

Contributors

nxhma avatar tasfiqsami avatar

Watchers

 avatar

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.