✨ PlotSquared Addon: Hopper-Limit ✨ [1.13 - 1.21] icon

✨ PlotSquared Addon: Hopper-Limit ✨ [1.13 - 1.21] -----

Limits the amount of hoppers per plot



Documentation

/hlreload: Reloads the plugin
/hlscan <current/all/stop>: Scans the plot youre standing on/all plots in the world for hoppers and refreshes the used hoppers value for each plot. This can be useful if players already placed hoppers before you installed the plugin.

Important!!! For the /hlscan command to work you have to install FAWE on your server. Not WorldEdit!!! ⚠

plotsquaredhopperlimit.command.reload: Allows a player to use the /hlreload command
plotsquaredhopperlimit.command.scan: Allows a player to use the /hlscan command
plotsquaredhopperlimit.command.scan.current: Allows a player to scan the plot he is standing on
plotsquaredhopperlimit.command.scan.all: Allows a player to scan all plots
plotsquaredhopperlimit.command.scan.stop: Allows a player to stop the plot scan

%plotsquaredhopperlimit_hoppers_current%: Contains the current amount of hoppers on a plot the player is standing on
%plotsquaredhopperlimit_hoppers_max%: Contains the maximum amount of hoppers a plot the player is standing on can have



Code (YAML):
Settings :
  #Prefix of the plugin shown in console and in game
  Prefix
: '&8 [&1PlotSquared HL&8 ] &7>>'
  #Enables/Disables plugin metrics. Keep this set to true to support us :) - Changing this setting requires a server restart!
  #What are metrics? Metrics are statistics that are sent to us, so we have an overview of how many servers are using the plugin. This statistic is shown on the Spigot plugin page!
  MetricsEnabled
: true
  #Enables/Disables the update check
  CheckForUpdates
: true
  #Defines wether or not an action bar message should be shown to the player when he places/breaks a hopper
  ActionBarMessage
: true
 

Code (YAML):
Messages:
  Flags
:
    HopperLimit
:
      #Description of the flag in PlotSquared
      Description
: '<gray>Set to an integer value to limit the amount of hoppers on the plot.</gray>'
      #Message sent in case a player reaches the limit and tries to place a hopper
      LimitReached
: '&cyou reached the hopper limit for your plot! &7 (&6 %CURRENT_HOPPERS%&8/&6%MAX_HOPPERS%&7)'
      #Defines the message that is shown in action bar when a player places/breaks a hopper - Requires Settings.ActionBarMessage set to 'true' in settings.yml
      ActionBarMessage
: '&8Hoppers : &7(&1%CURRENT_HOPPERS%&8/&1%MAX_HOPPERS%&7)'
      #Defines the text or symbol that is shown when a plot has a hopper limit of unlimited
      Unlimited
: '∞'
  PlaceholderAPI
:
    #Message the current hopper placeholder of PlaceholderAPI will contain
    CurrentHoppers
: ' %CURRENT_HOPPERS%'
    #Message the max hopper placeholder of PlaceholderAPI will contain
    MaxHoppers
: ' %MAX_HOPPERS%'
    #Message the current/max hopper placeholder of PlaceholderAPI will contain when the player is not on a plot/the player is not found
    NotFound
: '&8-'
 

Code (YAML):
Commands:
  Global
:
    #Message that is sent when a player executes a command but does not have any permissions
    NoPermission
: '&cyou are not allowed to use this command!'
    #Message sent in case the player uses the wrong syntax for a command
    WrongSyntax
: '&cplease use : &6%SYNTAX%&c!'
    #Message sent in case the command is not executed by a player
    NoPlayer
: '&cyou can only execute this command as a player!'
  Commands
:
    hlreload
:
      #Message sent in case the reload command was successful
      Success
: '&aplugin reloaded successfully!'
      #Message sent in case the reload command was not successful
      Error
: '&cerror reloading the plugin!'
    hlscan
:
      Settings
:
        ScanHeight
:
          #Height the scan will start at (value between -64 and 320) - set this option to a value between your servers min and max build height! This is not always -64 and 320
          Min
: 0
          #Height the scan will end at (value between -64 and 320) - set this option to a value between your servers min and max build height! This is not always -64 and 320
          Max
: 255
        Progress
:
          #Lowering this value causes the layer progress messages to become rarer (value between 2 and 100) - be careful with changing this value!!!
          LayerProgressDelimiter
: 5
      Messages
:
        #Message sent when the plot scan starts
        Start
: '&2starting plot scan ...'
        #Message sent when the plot scan fails
        Failed
: '&cplot scan failed. Check the console!'
        #Message sent when the plot scan makes area progress
        AreaProgress
: '&7processing area : &8(&7%AREAS_DONE%&8/&7%AREAS_TO_PROCESS%&8)'
        #Message sent when the plot scan makes plot progress
        PlotProgress
: '&7scanning plot : &8(&7%PLOTS_DONE%&8/&7%PLOTS_TO_SCAN%&8)'
        #Message sent when the plot scan makes region progress
        RegionProgress
: '&7scanning region : &8(&7%REGIONS_DONE%&8/&7%REGIONS_TO_SCAN%&8)'
        #Message sent when the plot scan makes layer progress
        LayerProgress
: '&7scanning : &8(&7%LAYER_DONE_PERCENTAGE%%&8/&7%LAYER_TO_SCAN_PERCENTAGE%%&8)'
        #Message sent when the plot scan is finished successfully
        Finished
: '&2plots scanned successfully!'
        #Message sent when the player is not standing on a plot
        NoPlot
: '&cyou have to stand on a plot!'
        #Message sent when the plot does not have an owner
        NoOwner
: '&cthis plot does not have an owner!'
        #Message sent if there is already a scanning process running
        AlreadyRunning
: '&cthere is already a scanning process running!'
        #Message sent if there is no scanning process running
        NotRunning
: '&cthere is no scanning process running!'
        #Message sent if the scanning process got stopped successfully
        StopSuccessful
: '&2scanning process stopped successfully!'
        #Message sent if a player joins the server after quitting while scan process has been running
        QuitMidProcess
: '&cyou left the server while a plot scanning process has been running! The process was stopped. Please restart the scanning process.'
 

Code (YAML):
Permissions:
  Commands
:
    #Permission needed to use the hlreload command
    hlreload
: 'plotsquaredhopperlimit.command.reload'
    hlscan
:
      #Permission needed to use the hlscan command
      command
: 'plotsquaredhopperlimit.command.scan'
      subCommand
:
        #Permission needed to use the hlscan current subcommand
        current
: 'plotsquaredhopperlimit.command.scan.current'
        #Permission needed to use the hlscan all subcommand
        all
: 'plotsquaredhopperlimit.command.scan. all'
        #Permission needed to use the hlscan stop subcommand
        stop
: 'plotsquaredhopperlimit.command.scan.stop'
 


Resource Information
Author:
----------
Total Downloads: 530
First Release: Jun 1, 2024
Last Update: Nov 17, 2024
Category: ---------------
All-Time Rating:
1 ratings
Find more info at epic-josch.de...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings