However, a command like /give, which gives an item to a player, needs to know more things to do its job.Īsk: Does anyone know what /give might need to know to do its job? You run it, and it clears your inventory. This means that these commands need extra information to run.įor example, a command like /clear doesn’t need to know anything, because all it does is clear a player’s inventory. Some of these commands are written with angle brackets around some text. On our server: /p home, /p trust, /p deny, /p flag.And many more… A more complete list is on the poster in the classroom, and an even more complete list can be viewed in the appendices or by running /help./gamemode - will set your own gamemode to the gamemode specified, or will set ’s gamemode if a player name is given.If an incorrect option is entered, it will fail. /weather - Will set the weather to clear, rain, or thunder.Coordinates will be discussed later when talking about command blocks. /tp - teleports player to the coordinates (,).Can be used to teleport other players to you. are beyond the scope of this class, but are basically just values that can change more properties of the item, and can do things like renaming it or adding enchantments. will be the damage for tools, or for blocks with several variants like wool, a number specifying which variant to use. /give - Gives of, or 1 of if is not used./time add will add to the current time instead of setting it./time set - Sets the current time of day to, between 0-24000.There are several other commands that do the same thing:.Only the specified player can see this message. /tell - sends a private message with the text. me plays minecraft would result in “PlayerName plays minecraft”) /me - Says your name then, useful for describing actions as if you were doing them (e.g.These are just a few of the most common ones you’ll use (there’s a poster in the room with this list of commands on it, show them that). We’ve actually already used commands, when we first started on the server by making a plot or when you changed your gamemode.Ĭommands always start with a slash “/” to tell the server that we want to talk to it rather than another player. Remember when we talked to other players on the server using the chat box? A command is just like that, except we’re talking to the server and telling it to do something. We’re going to teach about commands first, then they get to build and play.) (Again, start with all the monitors off and all the players frozen. However, we’ll need to turn it on later in the Command Blocks section of this lesson. The server should be set up with permission groups, so the kids should be able to use commands without needing Op (short for operator, means full admin permissions and gives a player a lot of power over the server).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |