Oh yeah and run
/gamerule commandBlockOutput false
So your chat dosent get spammed
Okay this can be done!
First run these two commands in the chat to set things up
/team add Players
/scoreboard objectives add PVP dummy
/scoreboard objectives add hidden dummy
/scoreboard players set 0 hidden 0
Next run these commands in their own repeating (purple) command blocks so they are constantly active
/team join Players @a
/scoreboard players remove count PVP 1
/execute as @a if score count PVP < 0 hidden run team modify Players friendlyFire false
/execute as @a if score count PVP > 0 hidden run team modify Players friendlyFire true
/execute as @a if score count PVP > 0 hidden run scoreboard objectives setdisplay sidebar PVP
/execute as @a if score count PVP < 0 hidden run scoreboard objectives setdisplay sidebar
Now have a normal command block with the command
/scoreboard players set count PVP 18000 -(The last number is about 15 minutes I think but you can change it to be bigger or smaller)
Whenever you want pvp enabled you simply have to power that command block, you could hook it up to a normal redstone clock or a button of some sort. The system will automatically count down then turn off pvp when it is done.
I hope this helps! Let me know if you need more assistance
I'm sure we have all experienced this glitch at least once. You log into your world only to find some chunks have mysteriously reset and switched places in the world. Sure you can load a backup, or use mcedit to reset the chunks, however these errors can tear apart structures and even ruin worlds if you are unlucky.
Now the cause of these, I believe, is not a mystery. Memory leakage usually from closing out your world improperly or using snapshots can increase your risk. Personally however, I have experienced this glitch even in the most stable releases since 1.12, and it seems like a problem that has become more and more common with time.
This is a topic worth discussing because unfortunately I see no way of preventing it. Its simply not possible to continue on in worlds that consistently break down. I have even tried logging off in the nether, or far away from my home. Nothing works.
So, any ideas? Surly i'm not the only one with this issue. How can we prevent, fix, and all together avoid this problem?
PS: This is not a problem specific to my computer because it happens just as frequently on my brothers beefy PC as my laptop.
PSS: I cant get mcedit to work past 1.12 anyways so no fixing new worlds for me.
I am very interested and hope to be considered!
I am currently experimenting because I cant find any existing ways that work. If anyone knows, please tell me, I am trying to build an ice farm and its not worth afk time. If I find a method I will update this forum!
As i'm sure we all know, before 1.13 you could rerun a command you just typed by hitting the up arrow. With the recent snapshot it no longer does this, is there a new way or are we doomed to retyping the same commands over and over again?
I went ahead and built it because I have nothing better to do, it could be made more compact but it works.
Note: the three items in the droppers have to be swords
also, you have to reset the items after each use via a clock or manually.
Theres lots of ways to do this, just the first simple idea that popped into mind.. each time a torch goes off invert the signal so it activates a dropper that puts an item into another one. Use a comparator to detect when three items are in the dropper, when this happens a gate is opened that allows the remaining line to pass on and do what you want with that.
Okay so I have a survival world were I built a large dome under the ocean and I want to fill it with farms and whatnot, unfortunately by pure misfortune it happens to coincide with a slime chunk, causing a lot of difficulties.
Is there a way to edit a game configuration or mod something in order to stop slime spawning for this one specific chunk?
I don't know if this is possible but it is worth a shot. And no, I don't want to use a command block. I want to be as non-intrusive to my world as possible.
Perhaps you could use channels. You could have as many as you want and basically you have a pool of unique armor stands (by name or score or whatever) and when a crime is detected, it teleports an available armorstand to the player and the appropriate tellraw command is run.
Its not quite as dynamic as your scoreboard method, but I think this is the easiest way, plus it can hold memory for as long as you need to (So an admin doesn't have to attend to a scene right away for whatever reason.)
1. Crime is detected
2. Machine checks for next available channel and a named armorstand is teleported to that player (Or summoned if that's easier, it really dosent matter)
3. A corresponding tellraw command is sent into the chat that is unique to the armorstand
4. Admin clicks to teleport
5. When done the channel can be reopened and the armorstand either killed (if summoned) or left be
I am yet to find a practical way to do this otherwise, but ill keep thinking about it.
And sorry I took so long, I was on Vacation
Perhaps this is information the modders will know.
Right, so my method plays off of the fact that you have an incident Id.
You change the zero to the number given in the incident Id correct?
How are you getting this incident ID?
Because if this information exists you can replace the incident Id with a click activated command that I made above using the same method. Ill try to explain better but I need more details on exactly how your system works.