LiveToggle
1.0.0Livestreaming? do /live to enable or disable Live Stream Modus, (config partially in Dutch)
LiveToggle
LiveToggle is an extremely lightweight Paper/Spigot plugin that allows players to toggle a LIVE mode using /live.
The plugin:
- Executes console commands (e.g. LuckPerms suffix)
- Supports multiple custom commands
- Is fully configurable
- Uses no schedulers, no loops, no listeners
- Uses virtually no memory
- Built for JDK 21 + Gradle
✨ Features
/livetoggle (on / off)- LuckPerms suffix set / remove (configurable)
- Multiple custom commands on:
- LIVE enabled
- LIVE disabled
- Fully customizable messages
/livetoggle reload- Persistent per-player storage (1 byte)
- Lag-free design
🧠 Performance & Lag
LiveToggle is designed with performance as the highest priority:
No repeating tasks
No async/sync schedulers
No event listeners
No HashMaps or growing caches
Code runs only when
/liveis executedStorage via PersistentDataContainer (1 byte per player)
Result: no noticeable lag and negligible memory usage
📦 Requirements
- Paper / Spigot
- Java 21
- Gradle
- (Optional) LuckPerms
🔧 Installation
- Download or build the plugin
- Place
LiveToggle-*.jarin yourplugins/folder - Start the server
- Edit
config.ymlto your liking - Use
/livetoggle reloadafter changes
⚙️ Commands
/live
Toggles LIVE mode on or off
/livetoggle reload
Reloads the configuration without restarting the server
🔐 Permissions
| Permission | Description |
|---|---|
livetoggle.use | Access to /live |
livetoggle.reload | Access to /livetoggle reload |
📝 Configuration (config.yml)
permission: "livetoggle.use"
reloadPermission: "livetoggle.reload"
luckperms:
enabled: true
priority: 100
suffix: " &c[LIVE]&7"
setSuffixCommand: 'lp user {player} meta setsuffix {priority} "{suffix}"'
removeSuffixCommand: "lp user {player} meta removesuffix {priority}"
commands:
onEnable:
- "say &a{player} is now LIVE!"
onDisable:
- "say &c{player} is no longer LIVE!"
messages:
noPermission: "&cYou do not have permission."
enabled: "&aLIVE mode enabled."
disabled: "&cLIVE mode disabled."
reloaded: "&aConfig reloaded."
reloadNoPermission: "&cYou do not have permission to do this."
reloadUsage: "&cUsage: /livetoggle reload"
Similar projects
Config →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta