SlapPlugin

一个用于SMP服务器的简单插件,可以拍玩家。

资源图片
**[EN]** This simple plugin allows you to "slap" players. By pressing SHIFT + RMB on a player - particles are spawned and two messages are written to the chat for both players. Messages/particles can be configured in the config, which is attached below. **[RU]** Этот простенький плагин позволяет "шлепать" игроков. Нажимая ШИФТ + ПКМ по игроку - спавнятся частицы и пишутся два сообщения в чат обоим игрокам. Сообщения/частицы можно настраивать в конфиге, который прекреплен ниже. Default config: ```yml # List of messages for the person who clicked on the player # Placeholders: # {nickname} - nickname of the player who was clicked clicker-messages: - "<#99e81a>你拍了<#f7a12e>{nickname} <#99e81a>的肩膀!" - "<#99e81a>你打了<#f7a12e>{nickname} <#99e81a>的屁股!" # List of messages for the player that was clicked # Placeholders: # {nickname} - nickname of the player who clicked clicked-messages: - "<#f7a12e>{nickname} <#99e81a>拍了你的肩膀!" - "<#f7a12e>{nickname} <#99e81a>打了你的屁股!" # Cooldown between player slaps (ticks - seconds * 20) slap-cooldown: 60 # Show dust particle when slapped show-dust-particle: true # The color of the dust that appears when slapped dust-color: "#bef2ff" # Dust size that appears when slapped dust-size: 2 # Play sound when slapped play-slap-sound: true ```