Mod
Cycle Limit (
Cycle Limit
Limits hotbar slot switching
Cycle Limit (cycle_limit)
Makes switching between inventory slots take time.
About
Cycle Limit only depends on modlib. Code by Lars Mueller aka LMD or appguru(eu) and licensed under the MIT license.
Part of the Limit Series: item_limit, place_limit and cycle_limit
Features
- When switching between inventory slots, the item you are switching to will be "hidden"
- A bar appears showing you the time left, and after it's over (or if you switch again) the hidden items reappear
- During switching you can only use your hand
- Hidden items are not lost if the server crashes
cycle_limitpriv allows evasion- Alternative mode works by granting/removing
interact- To prevent players from having interact, revoke both
interactandinteract_mods
- To prevent players from having interact, revoke both
Known issues:
- The item is temporarily removed from the inventory
- Can't be circumvented because else
get_wield_itemwould return item that is being switched to - Accordingly, it can't be seen
- Can't be circumvented because else
Screenshot

Links
Configuration
Configuration can be found under <worldpath>/conf/cycle_limit.json.
Default configuration:
{
"name": "Switching",
"duration": 2,
"color": "545AA7",
"interact": true
}
nameis the timer namedurationis the time it takes to switch in secondscoloris a hex color (but without#)interactis a boolean indicating whether theinteractprivilege should be revoked
Links
- Source: https://github.com/appgurueu/cycle_limit
- Forum: https://forum.luanti.org/viewtopic.php?t=24614
- Issues: https://github.com/appgurueu/cycle_limit/issues
- Original ContentDB page: content.luanti.org/packages/LMD/cycle_limit/
License
MIT
| Version | Date | Min engine | Size | Download |
|---|---|---|---|---|
| 2022-11-18 | 2022-11-18 17:31:59 | 9.9 KB | Download |