X

NOTICE

Are you sure you want to report this?

We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

352

Add the /customcommand

56 Comments

Post a new comment:

Please sign in to leave a comment.

  • 1
    iGODfSOUND commented
    Comment actions Permalink

    This would be usefull

    /customcommand add <commandname> (extra) (trigger|function)
    <commandname> : name of the command used

    /customcommand add <commandname> function <function> <operator>
    ex.  /customcommand add home function gos_sethome:home false
           /customcommand add god function gos_admin:god true

    /customcommand add <commandname> trigger <trigger> <parameter> <operator>
    ex.  /customcommand add bid trigger bid true false
           /customcommand add giveDiamond trigger giveItem 8 true
    /customcommand add <commandname> extra <name> trigger <trigger> <parameter> <operator>
    ex.  /customcommand add warp extra spawn trigger warp 1 false
           /customcommand add warp extra adminZone trigger warp 10 true

    /customcommand remove <commandname>
    /customcommand list

  • 0
    Zane sambell commented
    Comment actions Permalink

    yyeeesss as a map maker I NEED this.. BUT not custom commands (to much coding) simply a shortcut command similar to /function. but you wouldn't have to type /function. this NEEDS to be added!!!

  • 1
    Comment actions Permalink

    not gonna lie, I like that idea!

  • 1
    Platacats commented
    Comment actions Permalink

    Agreed

    Would be great for:

    • /discord - For server / realm voicechats
    • /rules - Again for servers

    Adding the ability to use JSON elements with it or a separate file to control them.

  • 0
    Dylan Jones commented
    Comment actions Permalink

    This could work as a shortcut, especially for functions. I have heard suggested the command /alias for that. Another suggestion for custom commands is to let datapacks set such aliases, which would be more powerful (it would allow more information for inputs).
    Even if datapacks implement command aliases, a command like this would could be very convenient.

  • 0
    Comment actions Permalink

    Ywjs
    Svetabaranuk9@e-mails.co

  • 0
    Quipsi Quips commented
    Comment actions Permalink

    Eventually in a Datapack.

  • 0
    Comment actions Permalink

    I'd be happy if they just made it not so ugly to trigger scoreboard objectives

  • 0
    tanteturner commented
    Comment actions Permalink

    could just be /custumcommand "add/remove/modify" "name of the to be added command" "some command that is executed" so for example: "/customcommand add spawn tp @s 0 10 0" or something

  • 0
    Comment actions Permalink

    That is stupid and impossible

  • 0
    ElProAhreNo commented
    Comment actions Permalink

    Very GOOD

  • 0
    John Taylor commented
    Comment actions Permalink

    this would be great for map creators and people who don't have a lot of coding experience! 1000 IQ to whoever put this.

     

  • 0
    Comment actions Permalink

    XD i wish this was in the game but just think about it you would technically make a infinite command or for short infinite cmrar/infinite command run around reverse kinda :/

     

  • 1
    Esgow commented
    Comment actions Permalink

    This already exist... You can use the /trigger [Custom Command] there are plenty tutorials on youtube

  • 0
    Comment actions Permalink

    so coooooooooooooooooooooooooool

  • 0
    Nathan Hall commented
    Comment actions Permalink

    I think this could work fine if the idea was to

    1) Just rename an often used function to something more user friendly then always using /function

    ETC: /CustomName | instead of /function mod:folder/file

    2) Allow a way to create functions for your world from in game. So you don't have to leave/reset world.

    ETC: /createfunction{CustomName:"",ParentDatapack:""} <line1> <line2> <etc>

     

  • 0
    Comment actions Permalink

    this is possible using a behavior pack/datapack and /function

  • 0
    Comment actions Permalink

    It could be /createcommand add execute at ... Or something like that

  • 0
    Sponsje3000 commented
    Comment actions Permalink

    Instead of that, activating functions using commands would probably much easier to code for mojang

  • 0
    NukeNinJared commented
    Comment actions Permalink

    This would be so useful for Bedrock because servers aren’t easy to make, and realms and worlds don’t have custom commands. For Example, I make UHCs on world in Bedrock weekly, I want there to be commands like /scen (scenario), and /leave, so players can see what scenarios there are and leave the game without messing up the player count, because it only goes down when someone dies. Also /report would be nice so I don’t have to go into creative mid game to see who’s hacking and if they are hacking, because I play my own UHCs too

  • 1
    Louis Spielt commented
    Comment actions Permalink

    It already exists, is called bukkit / spigot.

    Hopefully this mention is allowed here.

  • 0
    Comment actions Permalink

    Post

  • 1
    Comment actions Permalink

    I would have put in the description:

     

    So let's say that you have a survival world. You made a spawn and you want to teleport to it. You use /customcommand add spawn=[execute=tp coordiates]

    and you use that command like: /spawn

     

    or a rules command: 

    /customcommand add rules=[execute=say these are the rules: igdueweiugewyf]

    and you use that one as /rules.

     

    other subcommands of the /custom command would be /customcommands add[usable=(op / everyone] (command)[execute=command you want it to execute]

    and

    /customcommands remove <command name>

     

    please support this idea if you like it. I have always wanted to have custom commands in minecraft!

  • 0
    theTNTArrow commented
    Comment actions Permalink

    To op.

    I think a command that test for a message in the chat could be a more balanced way of achieving a similar outcome.

  • 0
    Nick19943280 commented
    Comment actions Permalink

    That will be awsome

  • 1
    Comment actions Permalink

    Guys check out this site to create your own custom item copy the commands and see the magic but first do the /customcommand before doing it!

    Link:- https://crafting.thedestruc7i0n.ca/