Sueta
TE

Team Fixer

1.0

Free up RAM allocated to unused teams generated by plugins like Citizens!

·Plugin

Plugin description

Team Fixer is a simple plugin that allows you to free up RAM space by remove all allocated memory to empty teams.
Useful if you want to preserve a small RAM usage while using plugins like Citizens or HologramDisplays which requires of teams to keep certain functionalities working but they're not removed while it's not needed anymore.

Advantages

  • Lightweight and asynchronous
  • Free up RAM space!
  • Keep your team amount under control
  • Easy configuration for custom messages and team bypass filter!

How does it work?

When you run the /fixteams command the plugin will create an asynchronous server thread to iterate through the team list checking for empty teams. If the team is not in the bypass filter (configurable under the bypass section on config.yml), it will get unregistered automatically.

Setup guide

Commands:

fixteams - Main and only command of the plugin. Runs the cleaning algorithm.

Permissions:

teamfixer.fix - Gives execution access to the fixteams command

Configuration file:

See configuration file defaults
#
# Team Fixer by JustBernie
#

# Messages from the plugin.
# List of placeholders: $count; $skipped
messages:
    no-permission: '&cInsufficient permissions'
    success: |
            &aTeams fixed!
            &eTotal teams removed: &c$count
            &eTotal teams skipped: &a$skipped
  
# Teams that the filter will bypass
# To disable the bypass filter set
# bypass to []
#
# BEWARE! This is a case sensitive setting!
# You need to set the team name not its display name.
#
bypass:
    - RED
    - BLUE

Servers using Team Fixer

Oops... nothing to show here yet :(

If you have a Minecraft Server and you are using my plugin and want to be part of this section you can contact me on the discussion section or via private message.

_________________________________________

If you have a suggestion or question feel free to leave it on the discussion section.
If you found this plugin helpful please consider donating to encourage me to continue developing for the Spigot/Minecraft community via this link.

Similar projects

Plugin →