MyCommand v5.7.0

Details

  • Filename
    MyCommand.jar
  • Uploaded by
  • Uploaded
    Apr 17, 2021
  • Size
    573.96 KB
  • Downloads
    2,379
  • MD5
    7944a0d8e01c1ed58ba6b259a52f2440

Supported Bukkit Versions

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

Changelog

Changelog of MyCommand 5.7.0


Built-in TAB Completer Command hider:
Added a built in way to hide TAB suggestions. Check the file tabsuggestionblocker.yml

Regex:
Fixed the Regex filter not working properly (working at all)

Registered commands (register: true):
It's now possible easily add aliases to a registered command.

Add the "aliases" field under your interested command:

aliases_example:
  command: /vote
  register: true
  aliases:
  - /v
  - /voting
  - /ecc

 

 

Playerdata's:
Added a way to convert flatfile files into mysql.
Use the command "/mycmd-playerdata convert_flatfile_to_mysql" to start the process

MYSQL:
Fixed an error occurring on newer version of paper.
Added:
"MYSQL:
USE_NEWER_DRIVER: false" in config.yml
if true use "com.mysql.cj.jdbc.Driver" instead of "com.mysql.jdbc.Driver"

By default is false for now. If in future it get removed, you can switch manually to the new one.



execute_mode feature:

Added : execute_mode_bypass_node: permission.to.bypass
Added in language.yml :
SKIPPED_EXECUTE_MODE: "&eYou've skipped the command execution mode check."

LIVE_CHAT command type:

  • answer can now be "*", in this way can accept any value (if you just want to use it as a prompt.
  • Added escape-parameter: "quit" , to add one more word to quit/escape from the LIVE_CHAT.
  • Added exit-message: "You've left the prompt" Costumize the message when leaving.
  • Added incorrect-answer: "&cIncorrect answer. Type &4close &cto quit this prompt"


ICONMENU's:
playerheads are now cached.

Added $BCPlaceHolder%server_name%placeholder_name% <
Needs to work in conjunction of MyCommand for BungeeCord and another intermediary plugin to the target server, but i've realized the pluginmessage channel doesn't work without players connected to the target server. In conclusion it's here if called, but currently non usable.


NPCs:

  • Added /mycmd-npcs silent <id> <on|off> (Turn off the villager sounds)
  • Added /mycmd-npcs age <id> <adult|baby> (Set the age of a villager)
  • Added /mycmd-npcs equipment <id> <hand> <material_name> (Set an item in their hands)
  • Added /mycmd-npcs temptp <id> <world> <x> <y> <z> or /mycmd-npcs temptp <id> <world> <x> <y> <z> <yaw> <pitch>


/mycmd locations
Changed the way locations are saved. The built-in Location save feature of spigot gives error just for having an unloaded world location in otherdb file even if the plugin is not using it. Plus i don't need to put Multiverse and similar as dependencies.

Added TELEPORT command type.
Teleport command type is a easier way to create tp commands, without using %PlayerOptions%teleport. Use "/mycmd location create <name>"
Added location_name : name

Example :

 

teleporttest:
  type: TELEPORT
  location_name: spawn
  command: /tptospawn

 


HTTP GET REQUEST is now made asynchronously.

Added:

Type can be : BALL, BALL_LARGE, BURST, CREEPER, STAR
"%PlayerOptions%spawnCustomFirework TYPE R,G,B R,G,B POWER" -> "%PlayerOptions%spawnCustomFirework BALL 255,0,0 0,0,255 3"
you can test it with /mycmd playeroptions spawnCustomFirework ...


Added in config.yml

If you want disable the hook at all, you can :
HOOKS:
PLACEHOLDER_API: true
PROTOCOLLIB: true

You can now change or remove the message sent by the broadcast radius feature :

language.yml

Added
BROADCAST_RADIUS_NOT_FOUND: "&cNo one received this message"

config.yml

TEXT_OPTIONS:
BROADCAST_SHOW_NO_PLAYER_FOUND: true

runcmd:

It's now possible use $arg1 with $multiargs with text_to_specific_player
- '$text_to_specific_player%$arg1% $multiargs'