HomeJavaModsPlayerRightClickCommands [1.8-1.9.4]
PlayerRightClickCommands [1.8-1.9.4]
Install:

1- put the plugin in plugins directory
2- reload the server

[​IMG]

when a player right click on a player executes a command,sound,message

[​IMG]

Code (Text):

# PlayerRightClickCommands by Marius
# Command: is command who player right click sends to target player
# PlaySound: if is enabled on player right click sends to target player a sound
# Minecraft sound: http://minecraft.gamepedia.com/Sounds.json
# Messages: sends to target player messages
# ActionBarMessage: if is enabled on player right click sends to target player an ActionBarMessage
# NoPermissionsMessage: if player do not have permissions sends him a message
Commands:
- say Hello <target>
PlaySound:
  enabled: true
  Sound: ENTITY_CHICKEN_EGG
  VolumeOfSound: 3
  PitchOfSound: 3
NoPermissionsMessage: '&4No permissions'
ActionBarMessage:
  enabled: true
  Message: '&a&lMesaj'
Messages:
- Hello <target>!
Title:
  enabled: true
  fadeIn: 3
  stay: 10
  fadeOut: 3
  title: '&bTitle is enabled'
  subtitle: '&b&lSubtitle'


 
[​IMG]Variable:

<player> show the player name
<target> show the target name

[​IMG]:


playerightclick.command --> to use command on right click
playerightclick.sound --> to use sound on
playerightclick.message --> to use message
playerightclick.actionbarmessage --> to use actionbar message
playerightclick.reload --> to reload the plugin
playerightclick.* --> permissions for all



Leave five stars if you appreciate that plugin.
If you have ideas for this plugin you can write me on PM or leave a message at section "Discussion"


Donate me for appreciate my development work:


[​IMG]



___________________________________________________________

DONATORS

NameOFDonator
Donate:
Server-ip:
Website:
Description:





Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

PlayerRightClickCommands [1.8-1.9.4] is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9. Downloaded 1,863 times (via Spigot). Download it and open it directly in the game.

Explore more