Expand and mod your server.
Post Reply
Private First Class
Private First Class
Posts: 211
Joined: Sat Apr 23, 2005 3:13 am


Post by Enigma » Sat Dec 29, 2007 12:16 pm

Author: Enigma and whoever wrote Phoenix, as I used Phoenix as a starting point for SpawnRecord.
Required API: Probably at least 2.0.8. Version 2.0.4 might work, but I don't know.

This is a small plug-in that adds the ability to save a spawn position. It is based off of the Phoenix plug-in but functions slightly different: it spawns a player at the last saved position rather than where he or she died. This is accomplished with the /savepos command, which sets the player's current position as the new spawn position for that player.

My motivation for writing this plug-in is influenced by maps that require players to finish some sort of obstacle course, as it gets frustrating having to restart at the beginning after every death. The Phoenix plug-in almost fixes this problem by re-spawning players where they died. There is, however, one extraordinarily large problem: it re-spawns people where they died. This is a problem because, on these maps, people are almost always killed by a world weapon, and the phoenix plug-in would re-spawn people on the same world weapon indefinitely. The only solution to this problem that I could think of is to give people the ability to re-spawn at a last saved position. This is what SpawnRecord does.
Mac Binary, compiled on OS 10.5
(50 KiB) Downloaded 326 times
Source file
(2.81 KiB) Downloaded 382 times

Private First Class
Private First Class
Posts: 369
Joined: Sun Dec 31, 2006 8:30 pm

Post by F687/s » Sat Dec 29, 2007 2:01 pm

This would be a very useful tool, if used properly.

If used improperly, this could open up a host of problems such as spawn camping, flag camping, and the ability to spawn right in advantage places. However, as long as server owners don't blindly include it in every server, and you give them the appropriate warning, and what it really is for, I think it would be really cool.

With a little more work, another thing you could add is a "checkpoint" feature, which could basically be a zone that automatically updates the player's spawn position to that location. For obstacle courses, that might be another viable option.

User avatar
Private First Class
Private First Class
Posts: 336
Joined: Sun Apr 01, 2007 4:50 pm
Location: United States

Post by SkillDude » Sun Jan 27, 2008 6:36 pm

Very useful Enigma. I modified it for our Jumping Skillz map where when you reach a certain platform, you can do /save and you can spawn at that box next time, so it's kinda like a checkpoint. Thanks alot for your work on this Enigma, very useful.

Private First Class
Private First Class
Posts: 5
Joined: Sun Aug 27, 2006 7:17 pm
Location: Cape Towm, South Africa

Post by nuke_em » Tue Oct 28, 2008 4:18 pm

How do I make use of this plugin? How does one use the /savepos command in bzlag?

User avatar
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano » Tue Oct 28, 2008 4:35 pm

You use it on your server, and generally the map has to be designed to make sense to use it. If you are a player on a map, there will generally be instructions on the use of it when the plug-in is loaded on that map.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

User avatar
Private First Class
Private First Class
Posts: 710
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: SpawnRecord

Post by Zehra » Sun May 06, 2018 1:30 am

Updated to 2.4

Special thanks to allejo for helping me solve several issues I couldn't fix on my own.


Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.
Visit for a modern HTML5 server stats site.

Click here to view the 101 Leaderboard & Score Summaries Last updated 2020-09-15 (YYYY-MM-DD)
Latest 101 thread

Post Reply