[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

EinBexiii/CustomHeads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CustomHeads [Project is closed down!]

Installation

  1. Download the Jar here.
  2. Put the Jar into your plugins folder.
  3. Start your nukkit server, and have fun.

Features to be added soon

  • Load head from a png file.
  • Get head from a player who's offline.
  • Config
  • Update checker

Commands

  • /head < name >

Permissions

  • For command: customheads.admin

Events

There are two events, so you can use them:

1. HeadDestroyEvent

@EventHandler
public void onDestroy( HeadDestroyEvent e ) {
  Player player = e.getPlayer();
  
  if(!player.hasPermission("example.test") {
    e.setCancelled( true );
  }
}

2. HeadPlaceEvent

 @EventHandler
 public void onPlace( HeadPlaceEvent e ) {
   Player player = e.getPlayer();
  
   if(!player.hasPermission("example.test") {
     e.setCancelled( true );
   }
 }

Contact

Releases

No releases published

Packages

No packages published

Languages