Sueta

MyCommand for BungeeCord

v1.3.0

MyCommand Bridge and Standalone plugin to create proxy-side custom commands.

·Plugin
  1. v1.3.0latestRegistered commands changes.Jun 27, 2020
    1.3.0 Command are now registered individually. The console can now run commands without the help of /bmycmd-run (unless it's an un-registered command). ENABLE_CUSTOM_COMMANDS changed to ENABLE_CHAT_LISTENER: true Non registered commands need the chat listener on, to be able to work. (non Registered commands, are the one who can override other plugin one's.) Removed some things i forgot to remove in the 1.2.2, and other small adjustments. If you're using this plugin in a offline server, i suggest you to update to this version. Authme and similar weren't able to block the commands created with older version. 1.2.2 Added the support fox hexadecimal rgb colors. Use the placeholder : "$hex%#123456% Text" to get the color you want. Code (Text): hexcolorexample: command: /hexcolormessage type: TEXT text: - "$hex%#16a085%This is how you can set-up a custom color using the HEX RGB code." - "$hex%#ff7111%Just $hex%#760fcb%some $hex%#8b7d6b%color $hex%#ffe181%here $hex%#c3cde6%and $hex%#760fcb%there" permission-required: false Added the CHANGE_SERVER command type : Code (Text): teleport_example: command: /hub type: CHANGE_SERVER server_name: hub Allows you to create cleaner tp, without having to dealing with the spam in the chat, (that a /send command can do) Added /bmycmd tellto <player_name> <message> Added an un-releated feature that i needed, and thats allow's you to disable all the commands in a specific server. You can find it in the config.yml Code (Text): BLOCK_ALL_BUNGEE_COMMANDS_ON_SPECIFIC_SERVER: ENABLE: false ERROR_MESSAGE: "&cSorry, but you can't do that." SERVER_LIST: - ffa ALLOWED_COMMANDS: - /server - /glist
    5576 downloads
  2. v1.2.2Hex colors and some extrasJun 25, 2020
    1.2.2 Added the support fox hexadecimal rgb colors. Use the placeholder : "$hex%#123456% Text" to get the color you want. Code (Text): hexcolorexample: command: /hexcolormessage type: TEXT text: - "$hex%#16a085%This is how you can set-up a custom color using the HEX RGB code." - "$hex%#ff7111%Just $hex%#760fcb%some $hex%#8b7d6b%color $hex%#ffe181%here $hex%#c3cde6%and $hex%#760fcb%there" permission-required: false Added the CHANGE_SERVER command type : Code (Text): teleport_example: command: /hub type: CHANGE_SERVER server_name: hub Allows you to create cleaner tp, without having to dealing with the spam in the chat, (that a /send command can do) Added /bmycmd tellto <player_name> <message> Added an un-releated feature that i needed, and thats allow's you to disable all the commands in a specific server. You can find it in the config.yml Code (Text): BLOCK_ALL_BUNGEE_COMMANDS_ON_SPECIFIC_SERVER: ENABLE: false ERROR_MESSAGE: "&cSorry, but you can't do that." SERVER_LIST: - ffa ALLOWED_COMMANDS: - /server - /glist
    141 downloads
  3. v1.2.1New Features and AdjustmentsMay 14, 2020
    MyCommand for BungeeCord v1.2.1 Added broadcast_to_specific_servers : Send broadcast messages to a specific server. If you want, you can use this togheter with broadcast_message_permission_node: perm.a.b to make even more restricted broadcast messages. Code (YAML): broadcast_only_to_specific_servers: command : /bungee_bc_sky type : BROADCAST_TEXT text : - '&aHello players of skygames!' broadcast_to_specific_servers : - bedwars - skygames permission-required : true Added /bmycmd-run (Perm. bmycmd.run) This command allows you to run bMycmd Commands from the console. This command works only from the console. Added /bmycmd broadcast <server> <message> A command to broadcast directly to a specific server (... why not) Added /bmycmd edit <command_name> A command to edit the commands directly in-game. PlaceHolders added : $display_name (Differently from $player, this return with the name formatted, with color ecc.) $main_hand (Returns with the default hand set up from the player. LEFT or RIGHT ) $chat_mode (Returns with HIDDEN, SHOWN or COMMANDS_ONLY. Useful to determinate if a player has the chat limited in one of this state) $server_online (Returns with the amount of people connected in that same server) Fix/Change: TEXT and BROADCAST_TEXT commands now parse correctly the color also when the line break to a new one. NOT RAW_TEXT, only normal text commands.
    359 downloads
  4. 1.2.0Some ScriptsApr 4, 2020
    Added the ADD_PERMISSION command type. Useful to block commands like /bungee or otherone's who still shows some informations. example : Code (Text): block_bungee_command: command: /bungee type: ADD_PERMISSION permission-required: true register: false Added a MyCommand-like Script system. Not fully complete like the main plugin, but it works, also with delay's in it. Example with a random script : Code (Text): script_example: command: /bscript_example type: RUN_COMMAND runcmd: - $Script$%if%$server_name==lobby - $delay$ - $text$You're in the lobby, and the massage waited one second to appear cause the $delay! - $Script$%if%$server_name==lobby<and>$arg1==password - $text$&aAccess Granted! - $text$&aTo see this message you had to soddisfy 2 condition. Servername lobby and the correct password! - $Script$%else% - $text$&cYou're not in the lobby and the password isn't correct too permission-required: false delaytimer: 1 Of course with that you can make more dynamic commands, like per-server, with specific key (password) ecc. The supported Scripts are basically the same on MyCommand one. $Script$%if% , $Script$%elseif% , $Script$%else% Conditions are supported : Code (Text): condition1 <or> condition2 condition1 <and> condition2 condition1 <and> condition2 <or> condition1 <or> ecc ecc ecc Supported the same operations available on MyCommand : > < <= >= == != .args.length> .string.length> .string.length< .isanumber .contains= .notcontains= HasPermission== HasNotPermission==
    340 downloads
  5. 1.1.2Minor updateMar 9, 2020
    1.1.2 Tested on 1.15 Added BROADCAST_TEXT Added "broadcast_message_permission_node: permission.to.see.this.message" can be used with BROADCAST_TEXT and BROADCAST_RAW_TEXT Added $log$ for RUN_COMMAND type. Show the message as a log online in the console prompt. minor adjustments.
    189 downloads
  6. 1.1.1Raw_Text and Titles.Nov 30, 2019
    Added RAW_TEXT , BROADCAST_RAW_TEXT, TITLE and BROADCAST_TITLE Placeholder added : $random_color Both the command type added and a adapted version directly taken from MyCommand. Raw message example : Code (Text): rawmessage_example: command: /bungee_raw type: RAW_TEXT text: - "&aHello &b$player! &aHover your mouse over me!; &dMAGIC" - "&0[&d*&0]&e Click me; &eClick here to suggest the command &d/bmycmd;/bmycmd" - "$RUN_COMMAND$&0[&e*&0]&c Set the time to day; &eClick to Execute;/time set day" - "$OPEN_URL$&0[&e*&0]$random_color Open Google.com; &eClick to open;http://www.google.com" permission-required: false Title examples : Code (Text): dynamic_title_example: command: /bungee_dynamic_title type: TITLE text: - '&aHello &e$player' - '&aha&3ve a &4nice &bDAY' title: effect_type: 1 title_example2: command: /bungee_broadcast_title type: BROADCAST_TITLE text: - '&0[&cINFO&0]&a $multiargs' - '&9(&bBroadcast message&9)' title: effect_type: 0 fadein: 1 stay: 5 fadeout: 2 Minor changes. P.S. I released the same file, with a formatting fix in the file commands.yml. If you downloaded the old file, and tried to start it, remove the old command.yml file inside the MyCommand folder, and let the plugin generate a new one.
    270 downloads
  7. 1.1.0Register, TabCompleter and minor stuffsNov 27, 2019
    The commands by default are now "registered". This means that by a player perspective they appears real (ex. They turn white instead of remain red). If you want to hide them, or, override another plugin command, use "register: false". Another update is that the commands, now shows up a simple TabCompleter who returns with a list of the players connected to the proxy. BungeeCord Api's doesn't provide a way to register commands on the fly, that's why for now, those features are limited in this way. No custom TabCompleter, and no Console support. New Placeholder also got added, and they are : $uuid $language $online $randomnumber%10% or $randomnumber%5<to>10%
    69 downloads
  8. 1.0Nov 1, 2019
    145 downloads

Similar projects

Plugin →