im starting a new realms and the only "cheat" that I want enabled is gamemode 3. This server is going to be super technical so I want people to be able to get into other builds and check out how they work without breaking blocks etc. so I had this idea at like... 2:30 AM haha...
What if a command block could check when a player typed a code in chat and gave them game mode 3?? Then it would TP them back into the same pos they were standing before gm3 when they type the next code to go to survival.
I want this because I don't want to admin everyone. its relatively worth it for me so I don't mind even making one for each player if that's how the commands have to be. And compromises are acceptible obviously. I figured for the tp back that there would have to be a separate command block for every player in order to save the variables of their position but I don't even know if that's possible...
im starting a new realms and the only "cheat" that I want enabled is gamemode 3. This server is going to be super technical so I want people to be able to get into other builds and check out how they work without breaking blocks etc. so I had this idea at like... 2:30 AM haha...
What if a command block could check when a player typed a code in chat and gave them game mode 3?? Then it would TP them back into the same pos they were standing before gm3 when they type the next code to go to survival.
I want this because I don't want to admin everyone. its relatively worth it for me so I don't mind even making one for each player if that's how the commands have to be. And compromises are acceptible obviously. I figured for the tp back that there would have to be a separate command block for every player in order to save the variables of their position but I don't even know if that's possible...
Thanks in advance !!
you could have a button hooked up to a command block with a gamemode 2 command testing for a specific spot and then once there done they can hit a button and it teleports people to the other button location. if you need help you can add me my minecraft name is DiamondMiner177
This is a great thought, but without plugins it is impossible to test for what a player has typed into the chat. However, you could use a scoreboard and carrot_on_a_stick to set up a system for gamemode changing and teleportation. You could use a system of tags given to individual players to send them back to their previous coordinates. If you want me to dig deeper into this and build a complete system, let me know. I'd be happy to help
Hey thanks so much for looking into this! I'm new to the forums so quick question: should I contact you about this privately or continue here so people can see the work?
as for your idea, I love it and if you could work on it that would be great because I have a very Minimal understanding of command blocks. Two thoughts: could other items be used? Not that I want that but just wondering why a carrot on a stick? And also, could the items have specific name tagged IDs so that only one belongs to each player? That would also allow the actual items to be used without every one of them creating this teleportation thing.
I thought of the but the problem is the server is going to be pretty expansive and I don't want command blocks scattered around the world. The best thing would be to just have a few under the world in the spawn chunks
you could have a button hooked up to a command block with a gamemode 2 command testing for a specific spot and then once there done they can hit a button and it teleports people to the other button location. if you need help you can add me my minecraft name is DiamondMiner177
Sorry still new to the posting methods... I posted a reply not a quote but yeah... It's down there
The Meaning of Life, the Universe, and Everything.
Location:
Gammatoid Studios
Join Date:
1/7/2016
Posts:
58
Location:
Gammatoid Studios
Minecraft:
Gammatoid
Member Details
If you only want players to be able to move between Survival (gm1) and Operator (gm3) you could have a command that testsfor if a player is in a gamemode other than 3 and 1 then puts them back in survival:
If you only want players to be able to move between Survival (gm1) and Operator (gm3) you could have a command that testsfor if a player is in a gamemode other than 3 and 1 then puts them back in survival:
/execute @a[m=0] ~ ~ ~ /gamemode 1 @p
/execute @a[m=2] ~ ~ ~ /gamemode 1 @p
That should solve half of your problem.
Oohhhh good to know. That's a good little safety back up if something goes wrong @ mushroommantoad if you want to add that in
OK, I've been gone for two days now, but I'm back and ready to pick up on this project. The reason that it HAS to be a carrot on a stick is that the game can detect a right-click update for this item and the map item. I can actually make it so that only a named carrot_on_a_stick works, so the regular item will still be usable. I'm sitting down to work on it right now. I'll get back to you with progress soon
1.8 or 1.9 ? This is an important factor in how I set this up. I'll start with 1.9 because I can better experiment with this project, but if I need to port it to 1.8.X I can.
But the numbers for the mode seem wrong. M1 is Creative, and M0 is Survival. Just adding this for future reference.
Ah! I've hit a bit of a snag! I'm going to have to alter it so that to go back to gamemode s the player will have to look straight up. Is this alright with you, as I don't believe that it will interfere too much with anything.
OK, I'm going to work more on it tomorrow. Here's a screenshot of great progress made in the last 45 minutes:
OK, I've been gone for two days now, but I'm back and ready to pick up on this project. The reason that it HAS to be a carrot on a stick is that the game can detect a right-click update for this item and the map item. I can actually make it so that only a named carrot_on_a_stick works, so the regular item will still be usable. I'm sitting down to work on it right now. I'll get back to you with progress soon
1.8 or 1.9 ? This is an important factor in how I set this up. I'll start with 1.9 because I can better experiment with this project, but if I need to port it to 1.8.X I can.
1.9 it will always be current because it is a realms server.
All everything will work in all dimensions unless I specify otherwise, which is nice. I'm thinking I could make this a one-command creation
EDIT 1: chanzan2000, I can't believe I've overlooked this! This project just got way easier!
EDIT 2: But can't a player with the trigger enabled change another player's trigger? This would easily become problematic. There must be a better way to do this... I'll think about it.
EDIT 3: Actually. I created a one-command creation for 1.9 a while back that that implemented separate teams for each individual player (Up to 8). I could modify it to use the gamemode changing feature, but you'd be unable to add teams to your realms world. If you don't intend for it to be that complicated, this would work perfectly. I'll wait for your reply.
EDIT 4: To set up this system, all eight players would have to be on at the same time when the command is activated, and you would have to be the closest one to the box. I hope that this won't be too difficult.
Hmmm it seems like it's starting to get pretty limited. Simply because the realms world will have more than 8 people and its going to be pretty big so people will never know who is going to be closest. One command is not important to me if that helps though and I really wouldn't mind having a chain of commands for each Player. Since its white listed I would know their names and could easily add it.
I'm glad to hear its not a pain because id love to have it work perfectly. Realms can have a max of twenty total players (which I will fill eventually) however, if this helps, only a max of 10 can be on at a time. Again ill just reiterate the important features and the rest can be compromised if you need.
1: everyone should be able to use this anywhere in the world at any time and while others are as well
2: it should tp the player back to where they were in survival (facing any position is okay as long as it doesn't risk planting them in a wall or dropping them in a void due to a tiny inaccuracy.)
3: the process shouldn't damage any builds for example if the arrow that someone suggested above were to remove item frames. That isn't even a huge deal but if there are similar occurrences with larger scale damages.
Like I said if things have to be a little different its okay but those requirements are most important. And if it is absolutely impossible for you to return the players safely to where they started then we can just forget that feature and let them switch back anywhere they choose.
All everything will work in all dimensions unless I specify otherwise, which is nice. I'm thinking I could make this a one-command creation
EDIT 1: chanzan2000, I can't believe I've overlooked this! This project just got way easier!
EDIT 2: But can't a player with the trigger enabled change another player's trigger? This would easily become problematic. There must be a better way to do this... I'll think about it.
EDIT 3: Actually. I created a one-command creation for 1.9 a while back that that implemented separate teams for each individual player (Up to 8). I could modify it to use the gamemode changing feature, but you'd be unable to add teams to your realms world. If you don't intend for it to be that complicated, this would work perfectly. I'll wait for your reply.
EDIT 4: To set up this system, all eight players would have to be on at the same time when the command is activated, and you would have to be the closest one to the box. I hope that this won't be too difficult.
Happy to help and no players cannot change other player's triggers unless they're oped
I want to apologize. I've been sick lately, and I have had and have coming a crazy busy week. I'm trying to find time to do this project for you, but it could be a while. Just wanted to let you know that I still intend to finish this.
(keep in mind this is on a realms world)
im starting a new realms and the only "cheat" that I want enabled is gamemode 3. This server is going to be super technical so I want people to be able to get into other builds and check out how they work without breaking blocks etc. so I had this idea at like... 2:30 AM haha...
What if a command block could check when a player typed a code in chat and gave them game mode 3?? Then it would TP them back into the same pos they were standing before gm3 when they type the next code to go to survival.
I want this because I don't want to admin everyone. its relatively worth it for me so I don't mind even making one for each player if that's how the commands have to be. And compromises are acceptible obviously. I figured for the tp back that there would have to be a separate command block for every player in order to save the variables of their position but I don't even know if that's possible...
Thanks in advance !!
you could have a button hooked up to a command block with a gamemode 2 command testing for a specific spot and then once there done they can hit a button and it teleports people to the other button location. if you need help you can add me my minecraft name is DiamondMiner177
This is a great thought, but without plugins it is impossible to test for what a player has typed into the chat. However, you could use a scoreboard and carrot_on_a_stick to set up a system for gamemode changing and teleportation. You could use a system of tags given to individual players to send them back to their previous coordinates. If you want me to dig deeper into this and build a complete system, let me know. I'd be happy to help
Hey thanks so much for looking into this! I'm new to the forums so quick question: should I contact you about this privately or continue here so people can see the work?
as for your idea, I love it and if you could work on it that would be great because I have a very Minimal understanding of command blocks. Two thoughts: could other items be used? Not that I want that but just wondering why a carrot on a stick? And also, could the items have specific name tagged IDs so that only one belongs to each player? That would also allow the actual items to be used without every one of them creating this teleportation thing.
I thought of the but the problem is the server is going to be pretty expansive and I don't want command blocks scattered around the world. The best thing would be to just have a few under the world in the spawn chunks
Sorry still new to the posting methods... I posted a reply not a quote but yeah... It's down there
If you only want players to be able to move between Survival (gm1) and Operator (gm3) you could have a command that testsfor if a player is in a gamemode other than 3 and 1 then puts them back in survival:
/execute @a[m=0] ~ ~ ~ /gamemode 1 @p
/execute @a[m=2] ~ ~ ~ /gamemode 1 @p
That should solve half of your problem.
Oohhhh good to know. That's a good little safety back up if something goes wrong @ mushroommantoad if you want to add that in
OK, I've been gone for two days now, but I'm back and ready to pick up on this project. The reason that it HAS to be a carrot on a stick is that the game can detect a right-click update for this item and the map item. I can actually make it so that only a named carrot_on_a_stick works, so the regular item will still be usable. I'm sitting down to work on it right now. I'll get back to you with progress soon
1.8 or 1.9 ? This is an important factor in how I set this up. I'll start with 1.9 because I can better experiment with this project, but if I need to port it to 1.8.X I can.
And yes, I'll add that safety feature in.
But the numbers for the mode seem wrong. M1 is Creative, and M0 is Survival. Just adding this for future reference.
Ah! I've hit a bit of a snag! I'm going to have to alter it so that to go back to gamemode s the player will have to look straight up. Is this alright with you, as I don't believe that it will interfere too much with anything.
OK, I'm going to work more on it tomorrow. Here's a screenshot of great progress made in the last 45 minutes:
How to do everything you asked for:
1) Set up a trigger command to put them in gamemode 3 (This is the type something in the chat part)
1.5) Set up a trigger to get them out of gamemode 3
2) When they type in the trigger to get in gm3 summon an arrow (or something like it) with a custom name and/or tag, then put them in gamemode 3
3)When they type in the trigger to get them out of gm3 set them to gm(whatever) and tp them to the arrow
Set up a couple of arrows with custom tags or names (one for each player)
1.9 it will always be current because it is a realms server.
Any compromise is fine really! as long as it doesn't risk damaging anything in the world and can be done safely anywhere (all dimensions if possible!)
All everything will work in all dimensions unless I specify otherwise, which is nice. I'm thinking I could make this a one-command creation
EDIT 1: chanzan2000, I can't believe I've overlooked this! This project just got way easier!
EDIT 2: But can't a player with the trigger enabled change another player's trigger? This would easily become problematic. There must be a better way to do this... I'll think about it.
EDIT 3: Actually. I created a one-command creation for 1.9 a while back that that implemented separate teams for each individual player (Up to 8). I could modify it to use the gamemode changing feature, but you'd be unable to add teams to your realms world. If you don't intend for it to be that complicated, this would work perfectly. I'll wait for your reply.
EDIT 4: To set up this system, all eight players would have to be on at the same time when the command is activated, and you would have to be the closest one to the box. I hope that this won't be too difficult.
Hmmm it seems like it's starting to get pretty limited. Simply because the realms world will have more than 8 people and its going to be pretty big so people will never know who is going to be closest. One command is not important to me if that helps though and I really wouldn't mind having a chain of commands for each Player. Since its white listed I would know their names and could easily add it.
What's the maximum number of players for a Realms server? I can set it up for as many as 16 with my preset system.
And don't worry about complexity. I'm having fun with this
I'm glad to hear its not a pain because id love to have it work perfectly. Realms can have a max of twenty total players (which I will fill eventually) however, if this helps, only a max of 10 can be on at a time. Again ill just reiterate the important features and the rest can be compromised if you need.
1: everyone should be able to use this anywhere in the world at any time and while others are as well
2: it should tp the player back to where they were in survival (facing any position is okay as long as it doesn't risk planting them in a wall or dropping them in a void due to a tiny inaccuracy.)
3: the process shouldn't damage any builds for example if the arrow that someone suggested above were to remove item frames. That isn't even a huge deal but if there are similar occurrences with larger scale damages.
Like I said if things have to be a little different its okay but those requirements are most important. And if it is absolutely impossible for you to return the players safely to where they started then we can just forget that feature and let them switch back anywhere they choose.
you can have a execute detect repeating command block like this
/execute @a ~ ~ ~ detect ~ ~-1 ~ gold_block /gamemode 1 @p
that would detect for a block under a person and if a player is on the specified block it executes the command.
-DiamondMiner177
Happy to help and no players cannot change other player's triggers unless they're oped
I want to apologize. I've been sick lately, and I have had and have coming a crazy busy week. I'm trying to find time to do this project for you, but it could be a while. Just wanted to let you know that I still intend to finish this.