HeadSpawner

31.8k Downloads

Features

Plugin allowing you to spawn player-textured heads into your inventory or other player's inventory Permission support


Installation

Simply put the JAR file in your server's PLUGINS folder and restart or reload the server.


Configuration

The configuration is simple, it only contains configurating the dropping of player heads on player killing each other (good for pvp servers)

features:
  #Description: Show head owner on right click with bare hands
  #Values: true / false
  #Default: true
  show-owner: true
  ##############################
  headdrop:
    #Description: Allowing player head dropping feature.
    #Values: true / false
    #Default: false
    enabled: false
    
    #Description: Chance of head drop on player kill in % (100 = always)
    #Values: 0 - 100 (inclusive)
    #Default: 10
    chance: 10
    
    #Description: World with allowed head drop
    #Values: List of strings (world names) or '*' for all
    #Default: world
    whitelist:
      - world
      
    #Description: If the list contains allowed or disallowed worlds
    #Values: true / false
    #Default: false
    use-as-blacklist: false
  ##############################
  chat:
    #Description: Prefix for messages in chat
    #Value: String
    #Default: "&9[&7HS&9]"
    prefix: "&9[&6HS&9]"
    
    #Description: Translation code to fetch messages
    #Value: Any translation code found in the config (you can also add your own and send them to '[email protected]')
    #Default: "en_us"
    translation: "en_us"
 
translations:
    en_us:
      headGiven: "&aGiven head of player &l{playerName}"
      noPermission: "&cYou don't have the required permissions for this command."
      playerNotFound: "&cPlayer '{playerName}' could not be found."
      headGivenTo: "&aGiven head of player &l{firstPlayer} &r&ato player &l{secondPlayer}&r&e."
      badSyntax: "&cInvalid arguments, syntax is &l{syntax}"
      headOwner: "&aPlayer &l{owner} &r&ais shown on this head."
    cs_cz:
      headGiven: "&aHlava dana hraci &l{playerName}"
      noPermission: "&cPro tento prikaz nemas dostatecna prava."
      playerNotFound: "&cHrac '{playerName}' nebyl nalezen."
      headGivenTo: "&aDana hlava hrace &l{firstPlayer} &r&ahraci &l{secondPlayer}&r&e."
      badSyntax: "&cSpatny prikaz, spravna sytaxe je &l{syntax}"
      headOwner: "&aNa teto hlave je zobrazen hrac &l{owner}"

Permissions and Command

PermissionCommandAliasDescription
headspawner.give.self/head <player>/hd <player>Gives you head of player (case-sensitive)
headspawner.give.other/head <player1> <player2>/hd <player1> <player2>Gives player1 head of player2 (case-sensitive)

headspawner.give, headspawner.* or headspawner.give.* denotes all the permissions above


Metrics

As of v1.3.1, I hooked the plugin to Plugin Metrics (http://mcstats.org/) to send statistics of servers and players. You can disable it in /plugins/PluginMetrics/config.yml by setting opt-out to true

HeadSpawner Stats Page


Credits

This plugin is made 100% by me an no-one else. My nick in-game is DragonCz if you want to leave credits somewhere or if you just find me on some server and want to say a little thanks. Also, I noticed some players misspelling my nickname - that's alright, I am from the Czech Republic and it can be hard for some people :)


TODO

If you would like some features, leave feedback ;)
  • Showing head owner's name over placed / dropped head - Not possible yet
  • Changing head picture in hotbar - Not possible yet
  • Disallowing head block update to keep skin as it was when placed - Not possible
  • More languages
  • iConomy, BOSEconomy hooks (allowing player to "buy" heads)
  • Permission chance
  • Implementing for Forge mod

Videos

EN: http://www.youtube.com/watch?v=yztqK6T8_gg

DE: http://www.youtube.com/watch?v=3y2PYwI3KdU,http://www.youtube.com/watch?v=OsFNz1FQs48


Place, contact me on my email ([email protected]) if there is any problem with the plugin as I check my email every hour or so

If you are feeling generous, you can donate so I can continue my work on this plugin and also pay my own server, thank you!

Donate