MyCommand v5.6.1

Details

  • Filename
    MyCommand.jar
  • Uploaded by
  • Uploaded
    Jan 17, 2020
  • Size
    403.89 KB
  • Downloads
    3,706
  • MD5
    3d894e65d633de3dc79db5085179d10e

Supported Bukkit Versions

  • 1.15
  • 1.14
  • 1.13
  • 1.12
  • 1.11
  • 1.10
  • 1.9
  • 1.8

Changelog

Tested with Spigot 1.15.1 API's

 

 

 

Addition to the "blockset" feature :

 

 - Added left click interaction.

 - Command added : "/mycmd-blockset addleftclick <cmd>"

config.yml :

BLOCKS:
  MATERIAL:
    LEFT_CLICK_INTERACTION:
    - STONE_BUTTON

 

 

Cooldowns :

 cooldown-message: "Message %s" didn't loaded properly.

 

IconMenu:
 - Fixed Heads not showing on older server version using SKULL_ITEM
 - PLAYER_LIST type now load on older server (still heads skin not shows somehow?)

 - iconmenu_autofill, now doesn't show the itemname anymore.

NPC's feature:
 - Fixed the Rightclick interaction triggering 2 times.

Added new placeholders :


1) $distanceto%0,60,0%

 

Show's you the amount of blocks left to reach a point. (it sums up all the coordinates in once)

Example :

 

distance_to_test:
 command: /distanceto
 type: RUN_COMMAND
 runcmd:
  - "$text$&aYou are &6$distanceto%0,60,0% &ablocks away from &6X=0 &6Y=60 &6Z=0"

 

 

2) $split_text% STRINGTEXT, TEXT2, PART3<s>,<s>0%

This one allows you to split the text by a given character (in this case ",") and return only the part wanted, this case 0, will return STRINGTEXT. If is was "2", you are going to get "PART3".

 

So, string<s>regex<s>part

 

 

splittext_example:
 command: /splittext
 type: RUN_COMMAND
 runcmd:
  - "$text$ $split_text%Player1,Player2,Player3<s>,<s>0%"
 permission-required: false