Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

AIGLEZMA/optimised-move

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Optimised Move

I am not the owner of this project, i have forked it and it seems that the owner abondonned this projet and deleted the repository

Optimised Move adds new events to make the PlayerMoveEvent more optimised

  • Has multiple events
  • Easy to Use
  • Free + Open Source

Events

  • PlayerAimChangeEvent
  • PlayerBlockChangeEvent
  • PlayerPitchChangeEvent
  • PlayerXChangeEvent
  • PlayerYChangeEvent
  • PlayerYawChangeEvent
  • PlayerZChangeEvent

Todo

  • Nothing

Example:

    @Override
    public void onEnable() {
        new OptimisedMove(this);
        Bukkit.getServer().getPluginManager().registerEvents(this, this);
    }

    @EventHandler
    public void onBlockChange(PlayerBlockChangeEvent e) {
        e.getPlayer().sendMessage(ChatColor.GREEN + "You moved from " + e.getFrom().getBlockX() + ", " + e.getFrom().getBlockY() + ", " + e.getFrom().getBlockY() + " to " + e.getTo().getBlockX() + ", " + e.getTo().getBlockY() + ", " + e.getTo().getBlockZ());
    }

Terms

  1. No claiming as your own
  2. You may include this in premium plugins, with credit

Contact

Discord - Cole#3895 Twitter - @ThatDevCole Telegram - @ThatDevCole

© Runic Holdings LLC. 2019

About

Optimised Move adds new events to make the PlayerMoveEvent more optimised

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages