/xspawn

Re: /xspawn

Postby LogicaLucidity » 26 Feb 2013, 12:42

Conner, does this send the user to spawn and then set the point in which you pulled them from as their custom spawn point so they can hit R and immediately return to that point ?

...Or does this simply send the user to the spawn?

If it simply sends them to spawn, please tell me how this is different from /reveal.

Toystory_justin still has yet to explain anything in any detail.

I would like to know the difference.

If they are the same...and all that was wanted was the command to be /xspawn ... just set the shortcut of /reveal to xspawn.

This can now be done in the command tab.

- Logic
- [Logic] Lava Survival -
User avatar
LogicaLucidity
 
Posts: 104
Joined: 17 Oct 2011, 09:36

Re: /xspawn

Postby Conor » 26 Feb 2013, 13:06

Yes, that command simply sends them back to the spawn, it doesn't set their default spawn like the 'enter' key does so they can press 'r' to go back there, as that is client-side. It would be possible to make a server-side command for this (e.g. /spawnset, /spawngo) but that would be pointless as the 'enter' and 'r' key are already available.

This is just like using '/make player spawn', or the player themself using /spawn (goes to the main spawn of the map).

As for /reveal, it is slightly different to /spawn. /reveal will reload the map for the player and all of the players within it will send their data to the player who revealed (e.g. how they appear - skin/name). Hence the loading screen comes up for a little while. Also if a player uses /highlight, /reveal will return all the blocks to their actual state (not green or red). /spawn simply moves the player in the map without all of this reloading.
Conor (Conanza121)
User avatar
Conor
Coder
 
Posts: 390
Joined: 10 Oct 2012, 21:36
Location: @21Conor

Re: /xspawn

Postby LogicaLucidity » 26 Feb 2013, 13:11

Thank you Conner for the confirmation.

/reveal <name> does indeed send player <name> back to spawn.

The result is the same in the end.

I have been using /reveal to remove people from other users builds since the beginning.

The idea that /xspawn creates a custom spawn point for the player to return to is False.

This would defeat the purpose of the command... obviously.

Toystory_justin was misinformed and incorrect in stating that it indeed did.

This was the question and issue the whole time that was never answered.

My points remain valid. I am done here.

Thank you,

- Logic
Last edited by LogicaLucidity on 26 Feb 2013, 13:15, edited 1 time in total.
- [Logic] Lava Survival -
User avatar
LogicaLucidity
 
Posts: 104
Joined: 17 Oct 2011, 09:36

Re: /xspawn

Postby Conor » 26 Feb 2013, 13:15

Rookie wrote:Hi, I'm wanting the /xspawn command but I have no idea how to code and can't find it anywhere.
/xspawn respawns a player back to the spawn. I would love you even more if you could somehow get it to work with an /xundo.

This command helps a bunch with block spammers. Thanks in advance. ;)


Also, if you want it to work with xundo, you can use the following code instead.

Code: Select all
if (String.IsNullOrEmpty(message) || message.IndexOf(' ') != -1)
{
   Help(p);
   return;
}

Player who = Player.Find(message);
if (who != null && !who.hidden)
{
   if (who.group.Permission < p.group.Permission)
   {
      Command.all.Find("spawn").Use(who, "");
      if (p != null)
      {
            Player.SendMessage(who, p.color + p.PublicName + Server.DefaultColor + " sent you to the spawn.");
      }
      else
      {
            Player.SendMessage(who, "The console sent you back to the spawn.");
      }
      Command.all.Find("xundo").Use(p, who.PublicName);
      Player.SendMessage(p, "You sent " + who.color + who.PublicName + Server.DefaultColor + " to the spawn.");
   }
   else
   {
      Player.SendMessage(p, "Cannot spawn players of greater or equal rank.");
   }
}
else
{
   Player.SendMessage(p, "Player could not be found.");
}
Conor (Conanza121)
User avatar
Conor
Coder
 
Posts: 390
Joined: 10 Oct 2012, 21:36
Location: @21Conor

Re: /xspawn

Postby LogicaLucidity » 26 Feb 2013, 13:17

Now that ^^^ .... That's the gravy. :D

Thank you Conner,

Logic
- [Logic] Lava Survival -
User avatar
LogicaLucidity
 
Posts: 104
Joined: 17 Oct 2011, 09:36

Re: /xspawn

Postby Conor » 26 Feb 2013, 13:45

LogicaLucidity wrote:Now that ^^^ .... That's the gravy. :D

Thank you Conner,

Logic


Lmao, anytime.

Also, I don't want to sound rude but please try and spell my name right, you're as bad as my teachers! :P
Conor (Conanza121)
User avatar
Conor
Coder
 
Posts: 390
Joined: 10 Oct 2012, 21:36
Location: @21Conor

Re: /xspawn

Postby LogicaLucidity » 26 Feb 2013, 14:03

Wow...I had no idea that I was spelling it wrong.

I know a 'Conner' and when I read your name...I then type it ...it just comes out that way.

My last name is a bit of a puzzle so I do understand your concern. Trust me.

I do apologize for the multiple mistakes. I will be more observant in the future.

- Logic
- [Logic] Lava Survival -
User avatar
LogicaLucidity
 
Posts: 104
Joined: 17 Oct 2011, 09:36

Re: /xspawn

Postby toystory_justin » 26 Feb 2013, 14:15

Sorry Logic, for misunderstanding. I didn't read the full story of the command, one more, sorry^_^
toystory_justin
 
Posts: 224
Joined: 11 Nov 2012, 07:12
Location: On a dark place

Re: /xspawn

Postby Conor » 26 Feb 2013, 14:23

This suddenly feels like a family reunion. Anybody else feeling this? Probably just me.
Conor (Conanza121)
User avatar
Conor
Coder
 
Posts: 390
Joined: 10 Oct 2012, 21:36
Location: @21Conor

Re: /xspawn

Postby LogicaLucidity » 26 Feb 2013, 14:29

toystory_justin wrote:I didn't read...sorry


No worries man. It is what it is.

...And no, I was not mad. I do realize that when people read my words I do tend to sound a bit....firm.

This has been pointed out to me in the past. Please do not mistake this for an ill tone.

I am extremely tolerant and try to go out of my way to assist anyone anyway I can, when I can.

Speaking of...I am glad to see you got that link in your signature working.

Be sure to post future questions on the forum as I may not see the Private Message for several days.

The more eyes you have at your disposal the faster your issue will be solved.


Conor wrote:This suddenly feels like a family reunion.


:lol:

- Logic
- [Logic] Lava Survival -
User avatar
LogicaLucidity
 
Posts: 104
Joined: 17 Oct 2011, 09:36

PreviousNext

Return to Requests for Addon

Who is online

Users browsing this forum: No registered users and 2 guests

cron