Bungee - Proxy MyCommand for BungeeCord v1.3.0

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

  1. Any idea why the change server command is not working? This is what I added to commands.yml in the bungee plugin.

    teleport_skyblock:
    command: /server Skyblock
    type: CHANGE_SERVER
    server_name: skyblock

    It just ignores the command. It comes up for tab autocomplete and I can select it, but it does not do anything except say "Uknown command. Type "/help" for help"
     
  2. MRI

    MRI

    Probably because you can't register commands with multiple sections "server skyblock". You can do, like other user here before you, create a command called /server, and in the script checking if $arg1 == skyblock, you run the command called /skyblock who does that.

    Or, you can always use the built in /server command of bungeecord.
     
    • Like Like x 1
  3. Hola, estoy intentando crear un comando para que los usuarios VIP vean cuánto tiempo les queda. Estoy usando el complemento Luckperms, el marcador de posición que estoy usando es: %luckperms_group_expiry_time_ <groupname>%

    ¿Cómo puedo hacer que el marcador de posición funcione correctamente?
    Aquí hay un ejemplo de cómo quiero que aparezca el mensaje: https://i.imgur.com/WAZiYqh.png

    Aquí hay una parte de la configuración: https://pastebin.com/ZQd0yc4P
    ¿Podría decirme si esto está bien o mal?

    He usado el comando / papi eclow download luckperms para el servidor "Lobby / Hub" pero el comando aún no funciona, no sé qué estaría haciendo mal :(
     
  4. MRI

    MRI

    BungeeCord plugins can't comunicate with server one's if not with appositely developed plugins. For now the only placeholders you can use are the one's included in my plugin. I'll see in future if i'm able to create something with the "bridge" that send the text to the server, MyCommand converts and send it backs. Should be possible, but takes time, and can be buggy.
     
  5. Hello, thank you very much for your quick response. So if I put the Mycommand plugin on a spigot server there if it could work?
     
  6. What about adding playerdata and mysql support on bungee? we could store spigot placeholders in the database and get them on bungee.

    edit: also could you add "playerevents" such as Join/Switch/Quit ?
     
  7. the built in /server command has stopped working. I can not figure out why for the life of me.
     
  8. i have a problem. I did a command to send global messages upload_2020-8-26_16-31-14.png
    but when you type /g g its sends nothing upload_2020-8-26_16-31-48.png and its with all g letters example: i type upload_2020-8-26_16-32-33.png , but it sends upload_2020-8-26_16-32-48.png
     

    Attached Files:

  9. Hey guys could i use this plugin to run a command from one server and have it action on another server?

    Example: /sendcmd <server> <cmd>
    /sendcmd survival money give notch 1

    This way i can set-up shops to allow players to buy (with In-game currency) rewards on other servers.
     
  10. Hi, why RUN_COMMAND Doesn't support server-side commands (not just proxy, but normal spigot), and RAW_TEXT supports it?
    Code (Text):
    survival:
    command: /survival
    type: RUN_COMMAND
    runcmd:
      - $Script$%if%$server_name==survival
      - $text$Již jsi na tomto serveru!
      - /shop MistoHry
      - $Script$%else%
      - /survivaltp
    permission-required: false
    How can I combine this to make 2 commands there:
    1. - $text$Již jsi na tomto serveru! - just text
    2. - /shop MistoHry - opens main menu, server-side one
     
  11. How do I create spaced commands? that way in print, it doesn't work!

    upload_2020-10-18_9-6-14.png
     
  12. Could you please add a cooldown function like the spigot mycommand has?
     
    • Agree Agree x 2
  13. Sikatsu

    Patron

    Hey MRI,

    I'm trying to make a command with MyCommand, so I can trigger a litebans kick from the proxy console, through the console of the survival server.

    The below works from in-game, but not from the survival console.

    Code (Text):
    'ackick':
    command: /anticheatkick
    type: RUN_COMMAND
    runcmd:
    - "$bungeecord_runasproxy$/litebans:kick $multiargs"
    register: true
    permission-node: mod.permission
    permission-required: true
    Then I tried mycmd bungee ''mycmd bungee runasproxy litebans:kick {player} {reason} -s'', this works but it's being triggered in a loop rather then once.

    Log: https://pastebin.com/JDUQACAF

    Are you able to assist me in this perhaps?
     
  14. MRI

    MRI

    I've read your PM, when i have time i recreate the problem and i can tell you better. I've leaved it there to be seen later with calm or when i have time to check it.
     
  15. Sikatsu

    Patron

    Awesome, thank you - hopefully theres a solution. I rather use this then having to install another plugin, I'm so close to getting it to work for my feeling haha.
     
  16. Any plans for a Velocity compatible version....this is desperately needed?
     
  17. MRI

    MRI

    Apparently Velocity is a different thing, and it's not based on BungeeCord ecc. That means i should port the plugin over, and if anything works differently i have to see an alternative, so it's not a fast task and something i want to put the hand into.
     
  18. Hi, any idea on creating script with allowing multiple pages for command? With Next page and previous page buttons?
     
  19. Tried to use your example here
    SO I've created
    Code (Text):
    opravidla:
    command: /opravidla
    type: RUN_COMMAND
    runcmd:
      - '$Script$%if%$arg1==2'
      - '$text$&a&m<-=----------------&r       &b&lTrinity&c&lMC &b&m----------------=->'
      - '$text$&a- &7Zákaz obcházení trestu'
      - '$text$&a- &7Zákaz sdílení osobních informací jiných hráčů'
      - '$text$&a- &7Zákaz používání modifikací hry, které ti dají výhodu nad ostatními hráči (X-Ray, fly, průhledné balíčky modifikací a podobné)'
      - '$text$&a- &7Zákaz se neprávem vydávat za jakékoliv známé osobnosti (youtubery, politiky, herce, sportovce a další)'
      - '$text$&a- &7Povinnost respektovat veškeré hráče, tým a jeho rozhodnutí'
      - '$text$&a- &7Připojením na tento server automaticky souhlasíš se zpracováním tvých osobních údajů'
      - '$text$&a- &7Zakoupením výhod v obchodě souhlasíš se zpracováním údajů a s možnou ztrátou výhod z důvodu zaniknutí, potrestání či rozhodnutí týmu'
      - '$text$&a- &7Vedení si vyhrazuje právo pravidla individuálně pozměnit, nejnovější znění vždy v /rules a /grules'
      - '$text$&a&m---------------------------------------------------'
      - '$Script$%if%$arg1==3'
      - '$text$&a&m<-=------------&r &c&lSurvival & Semi &b&m------------=->'
      - '$text$&a- &7Zákaz griefu a kažení krajiny'
      - '$text$&a- &7Zákaz 1x1 věží'
      - '$text$&a- &7Nestavět v netheru a endu (reset světa)'
      - '$text$&a- &7Pokud tě někdo zabije nebo najde věci po tvé smrti, není povinen ti je vracet'
      - '$text$&a&m---------------------------------------------------'
      - '$Script$%else%'
      - '$text$&a&m<-=----------------&r       &b&lTrinity&c&lMC &b&m----------------=->'
      - '$text$&a- &7Zákaz poskytování výhod z prémiových ranků hráčům bez nich'
      - '$text$&a- &7Zákaz reklamy na cizí server, projekt či web'
      - '$text$&a- &7Zákaz využívání jakýchkoliv bugů a chyb'
      - '$text$&a- &7Zákaz spamu, capsu, floodu, nadávek, žebrání apod.'
      - '$text$&a- &7Zákaz rasismu, nacismu, pornografie aj.'
      - '$text$&a- &7Zákaz kažení hry jiným hráčům a trollingu'
      - '$text$&a- &7Zákaz prosby o op, ranky, předměty'
      - '$text$&a- &7Zákaz vydávání se za člena AT'
      - '$text$&a- &7Zákaz logování se na jiné hráče'
      - '$text$&a- &7Zákaz multi účtu pro zneužívání výhod (1 osoba smí mít pouze 1 účet)'
      - '$RUN_COMMAND$&a- &c/svanilla &7- čistý SkyBlock, rozděleným inventář;&eKlikni pro teleport;/svanilla'
      - '$text$&a&m---------------------------------------------------'
    But "
    - '$RUN_COMMAND$&a- &c/svanilla &7- čistý SkyBlock, rozděleným inventář;&eKlikni pro teleport;/svanilla'

    And ideally I would need 2 run cmds on one line for previous and next page

    Doesn't work there.... :( So any way to do it?
     
  20. MRI

    MRI

    You need the RAW_TEXT in there? Yeah, it isn't impemented inside runcmd. For now i can suggest you to create an external RAW_TEXT command and run it on the line you need.