Changed version to v1.0, added license and readme, changed run-every default to 4 ticks (5 times a second)
This commit is contained in:
1 parent
5d90484642
commit
fc6a1d36e1
4 files changed
+33
-2
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
group=me.deac
|
||||
version=1.0-SNAPSHOT
|
||||
version=1.0
|
||||
description=Caps the speed of pearls, prevents abuse
|
||||
org.gradle.configuration-cache=true
|
||||
org.gradle.parallel=true
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 DeactivatedMan
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is furnished
|
||||
to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
||||
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -0,0 +1,11 @@
|
||||
## Why use this plugin
|
||||
You may just want to make ender pearls slower to reduce their range and make them less overpowered. Though the main focus of this plugin is to try prevent players from abusing the chunkloading capabilities of pearls to lag the server.
|
||||
|
||||
## What this plugin does
|
||||
This plugin limits ender pearls to always be under a certain speed. The cap and how often the check runs can be configured in the config.yml file, you can even choose to remove speeding pearls too. The default of 3 should only affect pearls shot by a cannon or fast-moving player. If you wish to tweak the speed limit then you should enable `dev-mode` as this logs every pearl's speed, making it easier for you to determine the right value for your application.
|
||||
|
||||
## Config
|
||||
`max-speed` - The (roughly) maximum speed a pearl can travel with this plugin
|
||||
`kill-pearl` - Destroys any speeding pearls if enabled
|
||||
`run-every` - How many ticks between speed checks, 20 means one check a second
|
||||
`dev-mode` - Logs every pearl's speed, only enable when tweaking the max speed
|
||||
@@ -1,4 +1,4 @@
|
||||
max-speed: 3 # Ender pearls below this speed are unaffected, anything over 3 is practically impossible *without* a cannon
|
||||
kill-pearl: false # Destroys speeding pearls if enabled
|
||||
run-every: 20 # How many ticks between speed checks, 20 = 1 second
|
||||
run-every: 4 # How many ticks between speed checks, 20 = 1 second
|
||||
dev-mode: false # Just logs every pearl's speed, keep disabled unless you want to change the max-speed value
|
||||
Reference in new issue
Block a user