MyCommand icon

MyCommand -----

Make your own, customized Minecraft commands



Fixes and new feature. (release 2)
NOTE FROM 5.6.7. PLAYERDATA flatfile(yml) needs to be converted. If you're using a version older than 5.6.7, before updating to 5.6.8, check the changelog of the 5.6.7 to see how to convert the yml database (no MySQL users)

MyCommand v5.6.9 changelog list :
5.6.9b hotfix -> Fixed a problem that prevented the plugin from being loaded without Vault installed.
also added a little utility /mycmd locations (if you need to create a "warp" in a server without other plugins. aka essentials.)



tab_completer "character based (default mode)", now returns results without checking if it's upper/lowercase


Regex filter:

Added in config.yml an easy way to easily disable the global filter. (By default is on).
Code (YAML):
REGEX:
  USE
: true
  PATTERN
: "^[-a-zA-Z0-9&._ ]+"
Added per command regex filter :

Customize the allowed characters a player can type into that command.
Code (YAML):
regex_pattern : "^[0-9]+"
regex_error_message
: "Only numbers are allowed"

MyCmd Images :
Apply custom images to maps and eventually use them in the itemframes. Images need to be located in /MyCommand/images/ folder 128x128.png files.

  • /mycmd mapimage (Permission : mycommand.mapimage)


MyCmd Regions :
Create simple cuboid regions to be used in a command to check if a player is into it. (Like WG, but without WG).

/mycmd region

Added
Code (YAML):
allowed_mycmd_regions :
 - region1
  - region2
Added $mycmdregionname placeholder. return with the name of the mycmd region the player is in.



Added $get_ip placeholder. Differently from the already existing $getaddress, this only show the IP without the port.


Added
placeholders_replace_mode: NO_REPLACE
placeholders_replace_mode: NO_PLACEHOLDER_API

Added execute_mode: ITEMFRAME_ONLY

Events and other functions (ExtraListeners/Blockset/NPC/Holograms/ItemFrames/Signs)

- can now use Scripts line directly inside their area.
- can now use $rawtext$ , $rawbroadcasttext$ , $log$



Holograms are now spawned after the server is done loading, to prevent to trying to spawn them on unloaded worlds.
get_run_command now works with normal request and not only with get_json_string



New Command Type SIGN_MENU. (Require ProtocolLib !) Resource by :
FrostedSnowman



It will prompt up a sign edit menu where you can retrieve the text and run commands from it.
To open up a SIGN_MENU from a ICONMENU command type, use the usual prefix "%openiconmenu%" Example : "%openiconmenu%/signmenu", Inverse way, its not necessary.

Code (YAML):
sign_menu:
  command
: /signmenu
  type
: SIGN_MENU
  sign_commands
:
  - /say $line1 , $line2 , $line3 , $line4
  - /iconmenu $line1
  sign_layout
:
  - "&f"
  - "^"
  - "type in the name"
  - "of the whatever"

SIGN_MENU doesn't work on older server versions.
----------, Jan 30, 2021
Resource Information
Author:
----------
Total Downloads: 283,877
First Release: Apr 24, 2016
Last Update: Jul 4, 2023
Category: ---------------
All-Time Rating:
245 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings