Easy way to execute remote admin commands?

Easy way to execute remote admin commands? - Car driving through green fields on sunny day

So I'm finishing up my survival games map, adding final touches and such, but... I need an easy way to execute remote admin commands, like setting my own gamemode to creative, starting the game, or resetting the game. Right now, I am using a tellraw command on a clock, so I can easily and quickly click on the options in the chat.

Here is my current setup: enter image description here

Often times, though, it spams the chat and gets in the way... Is there any way to play in the game, and be able to control the game remotely without using the current setup? Or maybe have the tellraw occupy one line, always on the bottom of the chat?



Best Answer

You can have a book that in which you can execute commands. I don't fully understand the detailed method of creating books with commands but there's a very simple tool on minecraftjson.com.

For example, here's a simple book to set your gamemode to creative or survival:

/give @p written_book 1 0 {pages:["[\"\",{\"text\":\"Hello, \"},{\"selector\":\"@p\"},{\"text\":\"!\n\n\"},{\"text\":\"Gamemode:\n - \"},{\"text\":\"Creative\n\",\"color\":\"blue\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode 1 @p\"}},{\"text\":\" - \",\"color\":\"none\",\"underlined\":\"false\"},{\"text\":\"Survival\",\"color\":\"blue\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode 0 @p\"}}]"],title:Book,author:TellrawGenerator}

Alternatively you can have triggers you can type to execute a series of commands or just a trigger to bring up the menu you are using right now.




Pictures about "Easy way to execute remote admin commands?"

Easy way to execute remote admin commands? - Drone view of curvy roads running through winter forest
Easy way to execute remote admin commands? - Tram riding on railroad on city street in summer in evening time near buildings
Easy way to execute remote admin commands? - Country road in green forest on daytime



How can you execute commands on a remote computer?

How to: Run a command on a remote computer
  • Step 1: Open an Administrative Command Prompt. Open the Command Prompt windows. Make sure you run as admin and use credentials with admin rights on the remote machine.
  • Step 2: Run your command. Use this command.


  • How do I run as administrator remotely?

    To start the ISE with administrator privileges:
  • Click on the Start menu (or the Windows key).
  • Type powershell ise in the search box, and select Windows PowerShell ISE.
  • Press CTRL+SHIFT+ENTER to start the ISE (enter the administrator credentials if prompted).


  • How do you connect to a remote server and execute some commands?

    SSH tip: Send commands remotely
  • Run the command "ssh username@host" to log in to the system.
  • At the command prompt, run "top" to view process activity on the remote system.
  • Exit top and be dropped to the remote command line.
  • Type "Exit" to close the command.


  • How do I run an elevated command prompt remotely?

    PsExec allows you to run the command simultaneously on multiple remote computers. To do this, you can set the computer names separated by commas: psexec PC1,PC2 \u201cipconfig /all\u201d or save them in a text file, and then specify a path to this file: psexec @c:\\ps\\computer_list. txt ipconfig.



    How to Run Cmd Commands on Remote Computers - PsExec




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Kelly, Serkan Bayraktar, Adrien Olichon, Kelly