LirCrashFix
PluginLicenseRef-All-Rights-Reserved

LirCrashFix

A plugin that can slightly protect/optimize against server crashes

244
Downloads
4
Followers
1 years ago
Updated
📦
3
Versions

📖About LirCrashFix

LirCrashFix - plugin that allows you to fix or even optimize some server related issues.

Need Java 16!

This plugin is currently very poorly implemented and doesn't fix anything. Wait for 2.0; it will be much better.

Advantages

  1. Enable/Disable limitation on mobs in chunk. And ability to change number of mobs in chunk.
  2. Enable/Disable automatic removal of mobs. And the ability to change the cooldown for removing a mob.
  3. Automatically removes redstone when player quickly turns on and off. [V1]
  4. Ability to kick a player if he spams a command, and change the reason for the kick.
  5. Support hex colors.
  6. Command that will delete all mobs that are registered in the config "entities".
  7. Update notification, So that you don't have to constantly check whether an update has been released or not.

Permissions

  1. lircrashfix.reload: With this permission the player can reload the plugin configuration.
  2. lircrashfix.killmobs: If a player has this permission, he will be able to kill mobs using the command: /killmobs

Commands

  1. /lircrashfix reload: Reloads the plugin configuration
  2. /killmobs: Removes all mobs in the world, only removes mobs or entities listed in "entities".

Messages (old)

Messages

kick-reason

config.yml

#--------------------------------------------------------------------#
#                  LirCrashFix Configuration File                    #
#--------------------------------------------------------------------#
#                       All plugin commands:                         #
#                                                                    #
# /LirCrashFix reload: Reloads the main plugin config                #
#                                                                    #
# /killmobs: Removes all mobs in the world, removes only those mobs  #
# or entities that are listed in "entities"                          #
#--------------------------------------------------------------------#
#                      All Plugin Permission:                        #
#--------------------------------------------------------------------#
#                                                                    #
# lircrashfix.reload: If a player has this permission, then the      #
# player who has this permission can reload the plugin configuration #
#                                                                    #
# lircrashfix.killmobs If the player has this permission, the player #
# will be able to kill mobs using the command: /killmobs             #
#--------------------------------------------------------------------#

# When the plugin starts, it will check for updates.
enable-update-checker: true

# You can change any message if you don't like what is there now.
messages:
  reload-success: "&aThe plugin configuration has been successfully reloaded."
  no-permission: "&cYou do not have permission to execute this command."
  mob-limit-message: "&6You can't spawn more mobs in &cthis place!"
  kick-reason: "&6You have been kicked for &ccommand spamming!"
  kill-success: "&6You have killed &c%count% mobs!"

# Specify here the mobs or entities that will be deleted after using the command /killmobs
entities:
  - BOAT
  - ARMOR_STAND
  - MINECART
  - ZOMBIE
  - SKELETON
  - CREEPER

# Max count of mobs in a chunk
max-mobs-per-chunk: 50

# Enables the limit of mobs in chunks
enable-mob-limit: true

# Enables disabling mob intelligence when the maximum number of mobs in a chunk is reached
enable-mob-ai: true

# A timer that will remove mobs when they spawn.
removing-mobs-per-secound: 60.0 # Recommended 180.0

# Enables the removal of mobs taking into account the timer
enable-removing-mobs: true

# Timer for using a command, if a player has entered a command and the timer has not yet passed, the player will be kicked from the server
spam-threshold-seconds: 1.0 # Recommended 0.2

# Redstone timer, if the player activates the redstone and the timer does not pass then the redstone will be destroyed
redstone-cooldown: 0.1