I had a /scoreboard objectve to track the use of spawneggs (/scoreboard objectives add pause stat.useItem.383). I made it so if someone who used a spawnegg, everyone would get:
/effect @a 3 9999, /effect @a 4 9999 99, /effect @a 8 9999 200,
/effect @a 15 9999, effect @a 16 9999, /effect @a 11 9999 4
and last (but not least),
/give @a[score_pause=1,score_pause_min=1] spawn_egg 1 0 {display:{Name:"Pause / Resume",Lore:["Rightclick this to pause the game",,"please don't over-use this,","other players might get angry at you"]}}. I used "Texelelf"'s MCedit fiter to input the last command.
Once that one person would use a spawnegg again, they would get:
/effect @a clear, /effect @a 3 9999, /effect @a 4 9999 99, and then /give @a[score_pause=1,score_pause_min=1] spawn_egg 1 0 {display:{Name:"Pause / Resume",Lore:["Rightclick this to pause the game",,"please don't over-use this,","other players might get angry at you"]}}
All of this worked on a superfast clock and /testfor commands. But once I used a spawnegg once, it would give me the effects but not the new spawnegg. I tried using a spawnegg, but it didn't work (as I could see on the scoreboard). Also, any commands I tried wouldn't work. I decided to re-log, but when I did that, my inventory and llocation would be the same as about 10 seconds before I used the spawnegg, as if nothing ever happened.
Attachments
Comments 2
I tested the /give command (/give @ascore_pause=1,score_pause_min=1 spawn_egg 1 0 {display:{Name:"Pause / Resume",Lore:["Rightclick this to pause the game",,"please don't over-use this,","other players might get angry at you"]}}) seperately, and it turned out THAT was the problem. I used placed two comma's right next to eachother. I'm sorry I've wasted your time and thanks for the help! Happy hollidays!
At least your Java :
and graphics driver :
are outdated.
You may update both to exclude that as cause of the problem:
Your Java version is out of date! Please update your Java to the latest version (1.7.0_45): http://www.java.com/en/download/.
When using a 32-bit browser on a 64-bit operating system the automatic version detection will only show the 32-bit version of Java, the 64-bit version needs to be downloaded manually: http://www.java.com/en/download/manual.jsp.
Please update your graphics card drivers following these instructions: Updating Graphics Card Drivers.
If you are using Java arguments to increase the amount of memory, please reduce it to the default 512MB.
Do not rely on automatic searches for driver updates.
Do not use Windows Update or Device Manager - Microsoft doesn't install OpenGL, they promote DirectX.
If you know the brand and type of your graphics card, go to the links provided above and search manually for the most recent driver for your card. The automatic detection tools of the card manufacturers are not recommended.