Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Loving11ish

Slow down them players!

Report SpeedLimit?

Have you ever wanted to be able to dynamically slow down your players flight or walking speeds within the game, without having to use commands, scripts or command blocks?

With this simple, efficient and lightweight plugin, you can do just that!

This plugin allows you to configure the maximum speed that any player can fly, walk or use elytra, each value is independent of one another, so you can really tailor this plugin to meet you exact needs!

Want to try out the very latest dev builds? [Click here] Use the above dev build at your own risk! Please follow any and ALL instructions provided with EACH dev build released!


![YouTube](https://youtu.be/tWzwkWshWgE) Video graciously created by RAMShard

Want to see this plugin in action, you can join my dev server and try out the speed limits for your self!

[mc.crapticraft.com]


Want to discuss my plugin: Visit our discord channel [Discord]


Want to be able to let mods or donators bypass the set limits? Sure can! Simply give the player or group the relevant permission node and boom, they can fly at normal speeds again!

Want to only have this plugin run in certain worlds? Can do! Just add the world names that you wish to disable the limits in to the list in the config file and just like that, those worlds return to vanilla speeds!

Do you want to simply disable all Elytra usage? Indeed! Just set the following to true and boom! All Elytra usage is disabled!


elytra-flight-event:
  #Do you want to disable the use of elyta's completely?
  disable-all-elytra-flight: false #[Default: false]

Permissions:

  • SpeedLimit.bypass.elytra
  • SpeedLimit.bypass.walking
  • SpeedLimit.bypass.flying
  • SpeedLimit.update
  • SpeedLimit.reload
  • SpeedLimit.help
  • SpeedLimit.*

Commands:

  • /slreload - This reloads the plugins config file.
  • /slhelp - Shows a detailed help menu for the plugin.

**Configs:

config.yml


#----------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------#
#                            ------------------------                              #
#                            SpeedLimit Configuration                              #
#                                 By Loving11ish                                   #
#                            ------------------------                              #
#----------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------#
#                            --[Plugin Config File]--                              #
#----------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------#
#SpeedLimit config for 5.4.5
#----------------------------------------------------------------------------------#
#For a player or group to bypass this limit, give them 'SpeedLimit.bypass.walking'.
walking-event:

  #This enables the SpeedLimit for the player's walking speed.
  enabled: false #[Default: false]

  #This sets the maximum speed that the player can walk at. (0.00 to 1.00)
  speed: 0.10 #[Default: 0.10]
#----------------------------------------------------------------------------------#

#----------------------------------------------------------------------------------#
#For a player or group to bypass this limit, give them 'SpeedLimit.bypass.flying'.
flying-event:

  #This enables the SpeedLimit for the player's flying speed.
  enabled: true #[Default: true]

  #This sets the maximum speed that the player can fly at. (0.00 to 1.00)
  speed: 0.02 #[Default: 0.02]
#----------------------------------------------------------------------------------#

#----------------------------------------------------------------------------------#
elytra-flight-event:

  #Do you want to disable the use of elyta's completely?
  ##THIS REQUIRES A SERVER RESTART TO TAKE EFFECT!##
  disable-all-elytra-flight: false #[Default: false]

  speed-limit:
    #For a player or group to bypass this limit, give them 'SpeedLimit.bypass.elytra'.
    #This enables the SpeedLimit for the player's elytra flying speed.

    ##When this check is triggered the plugin will automatically either cancel the event##
    ##completly or TP the offending player back to the point in 3D space that they triggered##
    ##the check! IT DOES NOT JUST SLOW DOWN THE PLAYER AS THIS HAS BEEN KNOWN TO CAUSE FALSE##
    ##TRIGGERS WITH ANTI-CHEAT PLUGINS!##
    enabled: true #[Default: true]

    #This sets the maximum speed that the player can elytra fly at before the plugin
    #triggers and resets their flight speed. (1.0 to 5.0)
    #Speed Multiplier Checking Limits:
    #(Relaxed: 5.0, Default: 2.5, More strict: 2.0, Extremely Strict: 1.0)
    trigger-speed: 2.5 #[Default: 2.5]

    #If triggered, do you want to cancel the elytra event or TP the player back?
    cancel-event: false #[Default: false]

    #Do you want to send a warning message to the player?
    send-message: true #[Default: true]
#----------------------------------------------------------------------------------#

#----------------------------------------------------------------------------------#
tps:
  console:
    #Do you want to print the severs TPS value to the console?
    ##This DOES NOT disable the TPS task!##
    enabled: true #[Default: true]

  #This sets the interval between TPS checking tasks
  #If your server is lightweight try increasing this
  run-interval: 300 #[Default: 300] {range: 60 - 900} 300 = 5 minutes.

  dynamic-elytra-check:
    #Do you want to use the server TPS to dynamically disable Elytras based on the value?
    enabled: false #[Default: false]

    #This is the TPS value you want the plugin to trigger at or if below it.
    trigger-value: 15.0 #[Default: 15.0] {recommended: do not set above 17.0}

    #Do you want to send a warning message to the player?
    send-warning-message: true #[Default: true]
#----------------------------------------------------------------------------------#

#----------------------------------------------------------------------------------#
#Do you wish to disable the SpeedLimits in certain worlds?
#Enter the world names in the list below (THEY ARE CASE SENSITIVE)
#Remove the '[]' and the '#' in front of the '-' listed below.
disabled-Worlds: [] #[Default: NONE]
#  - 'world_nether'
#  - 'world_the_end'
#----------------------------------------------------------------------------------#

messages.yml


#----------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------#
#                            ------------------------                              #
#                            SpeedLimit Configuration                              #
#                                 By Loving11ish                                   #
#                            ------------------------                              #
#----------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------#
#                           --[Plugin Messages File]--                             #
#----------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------#
#SpeedLimit messages config for 5.4.5
#Changing the prefix requires a restart or '/reload' to take effect.
plugin-prefix: "&7[&bSpeed&3Limit&7]"
#----------------------------------------------------------------------------------#
plugin-no-update-1: "&a*-------------------------------------------*"
plugin-no-update-2: "%PREFIX% &a- Plugin is up to date"
plugin-no-update-3: "&a*-------------------------------------------*"
#----------------------------------------------------------------------------------#
plugin-update-available-1: "&c*-------------------------------------------*"
plugin-update-available-2: "%PREFIX% &c- A new version is available!"
plugin-update-available-3: "&c*-------------------------------------------*"
#----------------------------------------------------------------------------------#
update-check-failure-1: "&c*-------------------------------------------*"
update-check-failure-2: "%PREFIX% &c- Unable to check for updates: &4%ERROR%"
update-check-failure-3: "&c*-------------------------------------------*"
#----------------------------------------------------------------------------------#
plugin-help-1: "&e[---------------------------------------------------]"
plugin-help-2: "%PREFIX% &f/slreload &7- &dThis command reloads the main config file."
plugin-help-3: "%PREFIX% &f/slhelp &7- &dThis command shows this help menu."
plugin-help-4: "%PREFIX% &bPermissions:"
plugin-help-5: "%PREFIX% &fAll permission &7- &dSpeedLimit.*"
plugin-help-6: "%PREFIX% &f/slreload &7- &dSpeedLimit.reload"
plugin-help-7: "%PREFIX% &f/slhelp &7- &dSpeedLimit.help"
plugin-help-8: "%PREFIX% &fWalking Bypass &7- &dSpeedLimit.bypass.walking"
plugin-help-9: "%PREFIX% &fFlying Bypass &7- &dSpeedLimit.bypass.flying"
plugin-help-10: "%PREFIX% &fElytra Bypass &7-&dSpeedLimit.bypass.elytra"
plugin-help-11: "&e[---------------------------------------------------]"
#----------------------------------------------------------------------------------#
reload-successful-1: "&e[---------------------------------------------------]"
reload-successful-2: "%PREFIX% &7- &aPlugin by Loving11ish"
reload-successful-3: "%PREFIX% &7- &aConfiguration files have been successfully reloaded!"
reload-successful-4: "&e[---------------------------------------------------]"
#----------------------------------------------------------------------------------#
help-no-permission: "%PREFIX% &4You do not have the permission &7'&eSpeedLimit.help&7' &4required to execute that command!"
reload-no-permission: "%PREFIX% &4You do not have the permission &7'&eSpeedLimit.reload&7' &4required to execute that command!"
#----------------------------------------------------------------------------------#
elytras-disabled-warning: "%PREFIX% &cElytra's have been disabled by an administrator"
#----------------------------------------------------------------------------------#
TPS-elytras-disabled-warning: "%PREFIX% &cYour elytra has been disabled due to TPS drop!"
#----------------------------------------------------------------------------------#
elytra-triggered-warning: "%PREFIX% &cYou are flying too fast! Slow down!"
#----------------------------------------------------------------------------------#
console-TPS: "%PREFIX% &eServer TPS: &a%TPS%"
#----------------------------------------------------------------------------------#

To Do:**

  • Add Elytra movement check and limit. - DONE v5.2-BETA
  • Add dynamic TPS checking system. - DONE v5.4.0
  • Add multiple speed limits per world.

Thank you very much for taking the time to view my resource, if you have any issues, please leave a post on the discussions tab. Happy Minecrafting!

**

DO NOT POST ISSUES OR ERRORS IN THE REVIEWS SECTION! ANY POSTED IN THERE WILL BE IGNORED! PLEASE POST IN THE DISCUSSION THREAD OR JOIN OUR DISCORD AND CREATE A SUPPORT TICKET!

Information

CategoryAdmin Tools
Published onOctober 11, 2023
LicenseMIT
Downloads28
Stars0
Watchers0
Supports Folia

Pinned Versions

Members