Everytime my players on my server click c they zoom in. Like the optine mod, thx.
You could detect the offhand switch for 1.9+ if it was possibleThis isn't possible lol
Cool idea but not possible, you can't detect key presses![]()
No that's correct. That's how I made it[DOUBLEPOST=1483317745][/DOUBLEPOST]superfastiggy I triedCan't this be done with the slow potion effect? Players wouldn't quite be able to move but at least they would be able to zoom in, kind of like binoculars. If I got that horribly wrong, then my bad, I haven't launched minecraft in months.
command /optifine:
aliases: zoom
permission: optifine.use
trigger:
if {zoom.%player%} is set:
message "&aOptifine is on"
clear {zoom.%player%}
stop trigger
message "&cOptifine is off"
remove slowness from player
remove speed from player
set {zoom.%player%} to true
stop trigger
on leftclick:
if {zoom.%player%} is not set:
set {optifine.%player%} to true
cancel event
apply slowness 5 to player for 999 days
else:
delete {optifine.%player%}
if {zoom.%player%} is set:
stop trigger
on join:
delete {zoom.%player%}
