EmilHernvall / tregmine

The tregmine plugins
http://tregmine.info/
BSD 4-Clause "Original" or "Old" License
8 stars 10 forks source link

New Event and Pickup Listener #272

Closed lDiverse closed 10 years ago

lDiverse commented 10 years ago

New event: PlayerMoveBlockEvent

This is pretty much exactly the same as PlayerMoveEvent, However, it does not trigger when you move your camera - Only when you actually move position. This is a little more efficient than PlayerMoveEvent as it triggers a lot less often.

Pickup Listener

This was a new perk, People on the server and I thought up - The ability to pick up items from further a field based on your rank. So I added a new section to the ranks. Minecraft's default distance: 1.

I made residents get 1.5 - Generally because I can, change if you want. Donators get double the pickup distance. Staff a little more, and admins more.

Alter values as you feel appropriate.

Basic testing completed.