Movement Speed
$9.99
Sold by: imthenewguyThis plugin allows you to create permissions to increase the run and swim speeds of your players!
- Description
- Reviews (0)
- Version History
- Discussions (1)
- Setup
- Product Enquiry
Description
Description
Movement speed is a plugin that allows servers to create permission based speed increases for running and swimming.
Server owners can create as many custom permission levels as they desire, and permissions are split between swimming and running, allowing for a lot of flexibility.
The plugin allows for multiple speed boost permissions to be applied, and will select the highest speed modifier where applicable.
This plugin will work great with:
- Skill Tree: This plugin can be used to create a new permission based skill inside of the Skill Tree, and supports leveling up.
- Cooking: A new recipe can be created that will give the player a temporary skill buff when consumed.
- Epic Loot: Add the speed value as part of a set bonus to provide players with faster swimming or running when wearing a set of equipment.
Permission:
movementspeed.admin – allows user of commands.
Commands
- msdisablerun <steam id> – forces the players run speed to be disabled.
- msdisableswim <steam id> – forces the players swim speed to be disabled.
- msenablerun <steam id> – re-enables the run speed.
- msenableswim <steam id> – re-enables the swim speed.
- togglerun – Turns run speed on/off for the command user.
- toggleswim – Turns swim speed on/off for the command user.
Config integration examples
Cooking
"energy drink": { "enabled": true, "shortname": "fish.cooked", "skin": 3348991998, "description": "Pretty sure I can hear colors and taste time right now... anyone else vibrating?", "duration": 120, "buffs": { "Permission": 1.0 }, "Commands to run when the player consumes the food [key = command, value = description]": { "o.grant user {id} MovementSpeed.run.5": "Increases your movement speed by 100%." }, "Commands to run when the food buff expires": [ "o.revoke user {id} MovementSpeed.run.5" ], "persistThroughDeath": false, "cookTime": 15.0, "useCooldown": 0.0, "permissionToCook": null, "dropWeight": 100, "allowDefaultEffects": false, "Effect settings": { "Effect to run when the player consumes the meal": "assets/prefabs/clothes/halloween.scarecrow/effects/soul_release_effect.prefab", "Should the effect run server side?": true, "Max distance heard [0 = no limit]": 20.0 }, "Ingredients for meal": { "sugar": 5, "pineapple": 1, "red berry": 2, "blue berry": 2 } },
Skill Tree – Swim speed
"Olympic Swimmer": { "Permission required to show this node": null, "Minimum prestige required to unlock this node": 0, "Skill required to unlock node [Requires max level]": null, "Skill that if unlocked, will prevent this node from unlocking": null, "enabled": true, "max_level": 5, "tier": 3, "value_per_buff": 1.0, "buff_info": { "Key": "Permission", "Value": "Permission" }, "icon_url": "https://www.dropbox.com/s/6blc3eiarm07rku/cooking%20tree%20example.v1.png?dl=1", "skin": 3349007497, "permissions": { "description": "This node provides you with <color=#42f105>20%</color> faster swim speed per level.", "perms": { "1": { "perms_list": { "MovementSpeed.swim.2": "Swim speed - <color=#61e500>+20%</color>" } }, "2": { "perms_list": { "MovementSpeed.swim.3": "Swim speed - <color=#61e500>+40%</color>" } }, "3": { "perms_list": { "MovementSpeed.swim.4": "Swim speed - <color=#61e500>+60%</color>" } }, "4": { "perms_list": { "MovementSpeed.swim.5": "Swim speed - <color=#61e500>+80%</color>" } }, "5": { "perms_list": { "MovementSpeed.swim.6": "Swim speed - <color=#61e500>+100%</color>" } } } } },
Skill Tree – Run Speed
"Athletic": { "Permission required to show this node": null, "Minimum prestige required to unlock this node": 0, "Skill required to unlock node [Requires max level]": null, "Skill that if unlocked, will prevent this node from unlocking": null, "enabled": true, "max_level": 4, "tier": 2, "value_per_buff": 1.0, "buff_info": { "Key": "Permission", "Value": "Permission" }, "icon_url": "https://www.dropbox.com/s/6blc3eiarm07rku/cooking%20tree%20example.v1.png?dl=1", "skin": 3349007405, "permissions": { "description": "This node provides you with <color=#42f105>20%</color> faster run speed per level.", "perms": { "1": { "perms_list": { "MovementSpeed.run.2": "Run speed - <color=#61e500>+20%</color>" } }, "2": { "perms_list": { "MovementSpeed.run.3": "Run speed - <color=#61e500>+40%</color>" } }, "3": { "perms_list": { "MovementSpeed.run.4": "Run speed - <color=#61e500>+60%</color>" } }, "4": { "perms_list": { "MovementSpeed.run.5": "Run speed - <color=#61e500>+80%</color>" } } } } },
API
AddRunSpeedBoost(BasePlayer player, string plugin, float modifier, float duration, bool forceOverwrite) AddSwimSpeedBoost(BasePlayer player, string plugin, float modifier, float duration, bool forceOverwrite) RemoveRunSpeed(BasePlayer player, string plugin) RemoveSwimSpeed(BasePlayer player, string plugin)
Reviews (0)
Reviews
There are no reviews yet.
Only logged in customers who have purchased this product may leave a review.
Version History
- Fixed Fixed an issue with case sensitivity when comparing perms to config.
- Added Added config option to prevent crawling players from being boosted.
- Removed Removed old debug
- Added Added hookmethod: AddRunSpeedBoost(BasePlayer player, string plugin, float modifier, float duration, bool forceOverwrite)
- Added Added hookmethod: AddSwimSpeedBoost(BasePlayer player, string plugin, float modifier, float duration, bool forceOverwrite)
- Added Added hookmethod: RemoveRunSpeed(BasePlayer player, string plugin)
- Added Added hookmethod: RemoveSwimSpeed(BasePlayer player, string plugin)
- Added Added check for IsFlying to prevent speed increases while in noclip.
- Fixed Fixed an issue with the antihack when the run speed is too high.
- Added Added checks for OnPlayerConnected and OnPlayerDisconnected.
- Added Added a check to see if the player is connected to the server before handling behaviour on permission change.
- Added Added commands to toggle run and swim speeds on/off.
- Added Added permission for admin: movementspeed.admin
-
Added
Added command: msdisablerun
- Forces run speed off. -
Added
Added command: msdisableswim
- Forces swim speed off. -
Added
Added command: msenablerun
- allows run speed. -
Added
Added command: msenableswim
- allows swim speed.
Discussions (1)
One thought on "Movement Speed"
Leave a Reply to ping Cancel reply
Setup
Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?
• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.
Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Is it possible to give players the ability to move faster without enableing it through buffs or skills? Giving the permissions doesn’t seem to work.