Freeze

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Stephen

Irrelevant ☕️
Deactivated
Feedback score
8
Posts
2,326
Reactions
1,412
Resources
0
There's already free and/or leaked versions of plugins like this. If anything - sell for $.50
 

Latouth

Troubled on Linux? Ask me!
Supreme
Feedback score
18
Posts
1,213
Reactions
504
Resources
0
You can still move by jumping xD You would listen for the PlayerMoveEvent but doing a pitch and yaw check so they can move around their head.

EDIT: Pretty sure you know this ItsMonkey Idk why I wrote that buy whatever.
Damn ninja!
I was gonna say dat
 

Shortninja

♥ Java Enthusiast ♥
Supreme
Feedback score
2
Posts
1,143
Reactions
734
Resources
0
ItsMonkey You do realize that PlayerMove is being called hundreds of times a second if the player is looking around? Even with an if statement to check if they actually moved, it is still inefficient compared to vanilla potion effects.
 

Shortninja

♥ Java Enthusiast ♥
Supreme
Feedback score
2
Posts
1,143
Reactions
734
Resources
0
ItsMonkey Yes, if any sort of location change is made then PlayerMoveEvent is called. Like I said in my earlier post, checking with an if statement to see if the player actually moved a block is still inefficient because an unnecessary event call is still being made to your plugin.
 
Status
This thread has been locked.
Top