You have a bug in the 1.8-2.0.0 version. When you use either /sethome or the other method for setting the home, when you try to use the command to go home or the other method for going home, it doesn't take you to the coordinates it said you set for the home. There are no log errors.
However maybe the following excerpt from my client log might explain things better.
[/p]
[p][21:13:43] [Client thread/INFO]: [CHAT] /spawnhelp - Displays quick help for this mod.[/p]
[p][21:13:53] [Client thread/INFO]: [CHAT] Your bed/home location is now set.[/p]
[p][21:14:29] [Client thread/INFO]: [CHAT] �2Kreezxil is at ( x-223, y66, z428 )[/p]
[p][21:14:29] [Client thread/INFO]: [CHAT] World spawn coordinates ( x144, y72, z4088 )[/p]
[p][21:14:29] [Client thread/INFO]: [CHAT] Bed spawn point ( x-83, y136, z2957 )[/p]
[p][21:14:44] [Client thread/INFO]: [CHAT] Operator only command. You are not an op.[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] �RSpawnCommands quick help:[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] /spawn To the main world spawn point.[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] /spawn. To your bed/home location if it is set.[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] /spawn! Sets your bed/home location.[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] /spawn? Displays coordinates.[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] �e/spawn+ mylavabase�R Creates your named spawn point.[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] �e/spawn mylavabase�R Teleports you there.[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] /spawn- mybasename Removes a named location.[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] /spawn+ enable /spawn+ disable /spawns /spawn help[/p]
[p][21:14:50] [Client thread/INFO]: [CHAT] /home /sethome /back /spawn+ myplace -123 65 42[/p]
[p][21:17:09] [Client thread/INFO]: [CHAT] You have no named locations.[/p]
[p][21:17:15] [Client thread/INFO]: [CHAT] Advanced spawn commands are not enabled.[/p]
[p]
Specifically I set my spawn point for home and when I issued the home command it sent me to
Kreezxil is at ( x-223, y66, z428 ) instead. Which is not what I set and apparently in some dimension other than where I set my home. Very perplexing.
[EDIT] I have been able to reproduce the bug repeatedly. It is only in minecraft 1.8. It is in multiplayer and singleplayer. The details are as follows: My mod commands /spawn! and /sethome do work only onceif you have NOT yet ever set a bed location. The sleeping in a bed does work perfectly at any time to set your bed location. Oddly when dieing you still end up at your bed location even if your bed is not there.
Aparently something has changed in the minecraft 1.8 code more than expected. For coders this is what i used here to set the bed location:
player.setSpawnChunk( pos, true, 0 )
from this definition:
EntityPlayer.setSpawnChunk(BlockPos pos, boolean forced, int dimension)
I am now looking for the proper way to do this.
Temporary solution is to sleep in a bed instead of /spawn! or /sethome
Feature: set a maximin number of named locations regular players can create in the misc config will be easy and i will add this. (i work slowly due to life) For my understanding please tell me what you beilieve a maximum number would be set to and why? Examples are good.
Feature: /tpa: I have thought about this and it seems like it will be easy to impliment. As I envision it a person would /tpa destination-player-name,meaning "teleport ask player" then the destination player could type /tpa which means "teleport accept" or type /tpd meaning "teleport deny". Just some thoughts. This would work well with my existing command /back. Just fyi: any command in SpawnCommands may be fully disabled or renamed. This should be easy to code as well.
Feature: function similar to Portal Gates 2. This needs discussion and detail, both for my understanding and because there are a variety of ways to handle portals or gates or pads or simple teleport points, and many options for such including effects or restrictions or costs or free etc. So in short: explain more please lol
Also, I took a good look at the documentation for ForgeEssentials (FE) and at the Portal Gates 2. I love the FE and like the Portal Gates as well. In FE i found nothing relating to telporting except 2 things: 1. the setting of the main spawn points in different worlds (very nice!) and their /jump command. I really love Forge Essentials. I need to look into the Portal Gates a little more and wish to consider other ways of setting up transport points. I do not wish to offend the other modders and I really dont this this will. Please do explain more, I am interested.
[EDIT] You said "said crafted portals allow the power to exceed the limitations imposed by my request above" I have no idea what you mean by this.
PS: unrelated: this message editor was terrible to begin with now its even worse!!! every time i edit this message and add color to some of the print it changes my words to say "undefined". Its maddening.
Ok, well then FE must've gotten rid of the teleport stuff. Perhaps Essentials for Bukkit still has the commands in it's core.
The reason to set the number of maximum saved locations is to encourage your players to actually use the other mods in your modpack that do some of the same thing. Like if you have expanded rails and would rather see someone setting up a huge monorail system. It'll never happen if there are too many teleport spots that player can make. Or maybe there is a cool teleport device with nifty effects like Portal Gates 2 has, again no one will ever experience it if there too many of the easy teleport options via slash command. Personally, for server owners that like to restrict this, I don't see a real need beyond the following: /spawn, /sethome, /home, /tpa <player> -- anything else would be icing on the cake.
A good maximum would be 3 for named locations for a default setting.
Also can you not just supply arguments to your slash commands I think you add confusion by making the commands all one world; For instance all of your spawn commands could've been written as:
/spawn [+|-|!|.|?]
so your implementation of tpa might be:
/tpa <[player|accept|deny]>
using linux parlance, <> means mandatory and [] means optional and | is the seperator
In this way there won't be ton of commands to memorize or hunt for in the helps, just a few.
For me modded minecraft, requires complex crafting, nothing in the modpacks are truly rewarding unless you had to use up resources to craft them and even more to maintain them. So perhaps an idea might be to have a craftable override item for the maximum named locations, call it teleportation ring maybe, you could wear it if baubles was installed. Depending on the quality of the ring, like was it crafted with diamonds? You could store extra names in it. Then if you teleported to one of the extra names stored in your ring, it's durability would go down, if it disintegrates the names go with it, if you repair the ring, well you get the idea. I see your mod as giving that little bit of umph to attract players and then my idea as the extra load of umph to give the reason to mine everything and build lots of other things to maintain what they think is the end goal.
Actually you aren't offending anyone, just make sure your mod is relatively bug free, respond to us who talk to you in the threads and shove out updates frequently, even if you get caught up in real life, like hunting for Bantas on Hoth, at least push out a minor update once in a while. We'll love you!
Yeah, the editor is horribly broken, I only use it to set links, bolds, insert images and stuff, it is fully BB CODE compliant tho, so if you hunt that down and learn it or print out some cheat sheets, you can do everything rather reliably.
[EDIT] I have been able to reproduce the bug repeatedly. It is only in minecraft 1.8. It is in multiplayer and singleplayer. The details are as follows: My mod commands /spawn! and /sethome do work only onceif you have NOT yet ever set a bed location. The sleeping in a bed does work perfectly at any time to set your bed location. Oddly when dieing you still end up at your bed location even if your bed is not there.
Aparently something has changed in the minecraft 1.8 code more than expected. For coders this is what i used here to set the bed location:
player.setSpawnChunk( pos, true, 0 )
from this definition:
EntityPlayer.setSpawnChunk(BlockPos pos, boolean forced, int dimension)
I am now looking for the proper way to do this.
Temporary solution is to sleep in a bed instead of /spawn! or /sethome
Ok, so, lol. I found the problem. It was so small and so simple that I feel stupid.
In my defence: I did multiple checks of my code and studied Minecraft and Forge code for hours.
The problem with the bug was totally mine and was NOT a bug in forge or minecraft at all. When I upgraded my code to mc1.8 I changed 1 tiny little thing from a set of coordinates to a BlockPosition and it was wrong. LOL. oops! This will be released in a new version of SpawnCommands Teleport soon.
I actually learned a bit from studying the Minecraft and Forge source code. It was long and fun.
I am looking into an issue that seems to have been here from the beginning. Teleporting out of the "end" dimension seems to block loading the world you are going to. Teleporting to another non-end then to where you want works, and logging out and back into the game also works to get that world to load. But I am looking to fix this to work properly. Possibly not allowing teleporting out of the "end" untill after the dragon is dead. Just a thought.
I will be including the op command /spawnblockdata for each version of minecraft as well. This command is already in this for mc1.8. It is used to identify what blocks you are standing in such as vines or grass etc. It is there to let you define other "blocks" you may teleport into safely. You would display the block names with this command then add them as appropriate to the config file for such exceptions (_canSpawnInsideBlockNameList.config).
I may also include the /tpa and related things from the above discussion as well.
This may take a few days as life does interfere with the coding fun.
My apologies and appreciation to those that make Mineraft and MinecraftForge!
What happened to the opening post? Nothing is showing up for the links or images.
The message editor here in this forum is broken very badly.
It MinecraftForum's fault. Aparently they had a computer programmer "update" their message editor here for this forum. This programmer made the editor disastrously worse and aparently did not test his changes before they implimented it. This shows imcompetence in programming skills and a lack of professionalism. I submitted a support ticket to curse.com about it. They responded with
"citricsquid
Last Friday at 09:34
Hello,
I'm sorry for the inconvenience caused by the new editor, although
the editor introduced a wide range of improvements it did introduce a
small number of issues. We are aware of this specific issue and the
development team will investigate and resolve this issue as soon as
possible. Thank you for your patience.
Regards,
Curse Support"
and later said
"I can't provide an ETA at this time but be assured we are taking issues
with the editor seriously and will have a resolution as soon as
possible."
I appreciate that they said they were taking this seriously but I still do not see results and this affects everyone on this forum (quite a few people)
I tried to edit the 1st post in this thread with new info but it broke the whole page. Immediately after I saw the problem which you are asking about I tried to use the tool to revert to the last good looking version of the message. I thought I clicked the right button to commit to the rollback and aparently I failed to click that and it remained a broken message. I just rolled it back.
Incidently: the edit I was trying to post was supposed to let people know I havent fixed the bug in the version for minecraft 1.8 yet but will soon. The bug is that /spawn! and /sethome arent actually changing the bed location. everything else works. Fixing it soon.
All good thanks for responding. It looks better right now. Yes - often developers don't test their changes very well I completely understand and sorry they messed up your post.
There will be a release for Minecraft 1.8 that is fully functional. Life interferes with my coding time.
The release for mc1.8 that is shown now works in 1.8 with only 1 exception. That exception is that the /spawn! and /sethome do not set the home/bed location. The problem and solution has been found.
Sorry about the delay but it will be soon.
I will check the version numbers before compiling it. I normally check every time.
[EDIT] I downloaded the version for 1.8. The file name shows its for Minecraft 1.8. I looked in the mcmod.info file and it shows its for 1.8. I looked in the included source code and it shows its for 1.8. I checked the direct link and the adf.ly link and they are for 1.8. Is it possible you downloaded the wrong file?
A new release for SpawnCommands Teleport for Minecraft 1.8 is almost ready. I plan to port this to Minecraft 1.7.10, 1.7.2, 1.6.4 later.
1. BUG FIX of the /spawn! and /sethome is good now. They actually set the bed location as they are supposed to.
2. requested feature to have the ability to limit the number of named spawn locations per player is done.
3. a bigger requested feature to have the functionality of the old /TPA command to ask other players if you may teleport to them, then do so. is done and well tested. Interestingly enough it took over 400 lines of code to do it right.
4. the /spawnblockdata is fully integrated and configurable.
5. a good bit of code refinement has been done. (invisible to you, unless you study the included source code)
6. BUG FIX (or workaround) for an issue when teleporting out of the end dimension.
Almost ready. NOT relased yet. Currently testing everything again before release.
Includes bug fixes and new requested features and is thoroughly tested. More detail in the change log spoiler on post number 1 in this thread.
New features:
Requested feature to have the ability to limit the number of named spawn locations per player is done and changable in the misc onfig file.
Requested feature to have the functionality of the old /TPA command to ask other players if you may teleport to them, then do so. is done and well tested. It is available using the /ta (Teleport Ask) command. Interestingly enough it took over 400 lines of code to do it right.
When I update to the latest version , do I just delete the old .jar file and put the new one in ?
Or must I delete all config files out of the world save folder as well ?
Will current named spawn locations be lost when updating ?
Thanx
Remove the old jar file from the mods folder. Put the new jar file in the mods folder. Restart.
This will keep all your old info completely. It automatically updates the old files with the additional settings and converts any old stuff to the new. All your old locations will still be there as they were.
Remove the old jar file from the mods folder. Put the new jar file in the mods folder. Restart.
This will keep all your old info completely. It automatically updates the old files with the additional settings and converts any old stuff to the new. All your old locations will still be there as they were.
Updated to 2.1.0 , the /home and /sethome commands still don't work for me. Using MC 1.8 /sethome says that it sets the home position , but /home does nothing. I slept in my bed but that didn't help
Looks great! It functions really well with other mods and I had no problem getting it to work with a heavily modded game. But would it be possible to add a command to delete homes?
You have a bug in the 1.8-2.0.0 version. When you use either /sethome or the other method for setting the home, when you try to use the command to go home or the other method for going home, it doesn't take you to the coordinates it said you set for the home. There are no log errors.
However maybe the following excerpt from my client log might explain things better.
Specifically I set my spawn point for home and when I issued the home command it sent me to
Kreezxil is at ( x-223, y66, z428 ) instead. Which is not what I set and apparently in some dimension other than where I set my home. Very perplexing.
Checking the bug now...
[EDIT] I have been able to reproduce the bug repeatedly. It is only in minecraft 1.8. It is in multiplayer and singleplayer. The details are as follows: My mod commands /spawn! and /sethome do work only once if you have NOT yet ever set a bed location. The sleeping in a bed does work perfectly at any time to set your bed location. Oddly when dieing you still end up at your bed location even if your bed is not there.
Aparently something has changed in the minecraft 1.8 code more than expected. For coders this is what i used here to set the bed location:
player.setSpawnChunk( pos, true, 0 )
from this definition:
EntityPlayer.setSpawnChunk(BlockPos pos, boolean forced, int dimension)
I am now looking for the proper way to do this.
Temporary solution is to sleep in a bed instead of /spawn! or /sethome
Im on it...
PS: Thank you for letting me know.
my published mods
Ok, well then FE must've gotten rid of the teleport stuff. Perhaps Essentials for Bukkit still has the commands in it's core.
The reason to set the number of maximum saved locations is to encourage your players to actually use the other mods in your modpack that do some of the same thing. Like if you have expanded rails and would rather see someone setting up a huge monorail system. It'll never happen if there are too many teleport spots that player can make. Or maybe there is a cool teleport device with nifty effects like Portal Gates 2 has, again no one will ever experience it if there too many of the easy teleport options via slash command. Personally, for server owners that like to restrict this, I don't see a real need beyond the following: /spawn, /sethome, /home, /tpa <player> -- anything else would be icing on the cake.
A good maximum would be 3 for named locations for a default setting.
Also can you not just supply arguments to your slash commands I think you add confusion by making the commands all one world; For instance all of your spawn commands could've been written as:
/spawn [+|-|!|.|?]
so your implementation of tpa might be:
/tpa <[player|accept|deny]>
using linux parlance, <> means mandatory and [] means optional and | is the seperator
In this way there won't be ton of commands to memorize or hunt for in the helps, just a few.
For me modded minecraft, requires complex crafting, nothing in the modpacks are truly rewarding unless you had to use up resources to craft them and even more to maintain them. So perhaps an idea might be to have a craftable override item for the maximum named locations, call it teleportation ring maybe, you could wear it if baubles was installed. Depending on the quality of the ring, like was it crafted with diamonds? You could store extra names in it. Then if you teleported to one of the extra names stored in your ring, it's durability would go down, if it disintegrates the names go with it, if you repair the ring, well you get the idea. I see your mod as giving that little bit of umph to attract players and then my idea as the extra load of umph to give the reason to mine everything and build lots of other things to maintain what they think is the end goal.
Actually you aren't offending anyone, just make sure your mod is relatively bug free, respond to us who talk to you in the threads and shove out updates frequently, even if you get caught up in real life, like hunting for Bantas on Hoth, at least push out a minor update once in a while. We'll love you!
Yeah, the editor is horribly broken, I only use it to set links, bolds, insert images and stuff, it is fully BB CODE compliant tho, so if you hunt that down and learn it or print out some cheat sheets, you can do everything rather reliably.
I would post the question to the Forge team.
I would post the question to the Forge team.
Yep. I've searched and tested in the code more to no avail.
Only 2 things allow any mod to set the bed spawn point.
1. A new map where no bed point has been set.
2. A player death where an actual bed was slept in then destroyed or removed before the death.
These reset the ability to use /sethome or /spawn! one more time.
In java code this means using one of these 2 functions with a true flag:
1. player.setSpawnChunk(bedPos, true, playerDimension);
2. player.setSpawnPoint(bedPos, true);
Neither of these work after any bed or home location is set unless the above 2 things happen again.
The documentation in the source code says this should work though.
Luckily this is a problem only in Minecraft 1.8 not the other versions of SpawnCommands.
I will pose quesions in the dev forum for MinecraftForge and in the dev section of MinecraftForum. I will do this soon.
Beds still set the home location every time. (best we can do for now)
[EDIT March 26] I have been and still am studying source code to find a solution. Also I have an active thread on MinecraftForge mod forum and a thread on MinecraftForum modder dev area.
my published mods
SOLUTION FOUND!
Ok, so, lol. I found the problem. It was so small and so simple that I feel stupid.
In my defence: I did multiple checks of my code and studied Minecraft and Forge code for hours.
The problem with the bug was totally mine and was NOT a bug in forge or minecraft at all. When I upgraded my code to mc1.8 I changed 1 tiny little thing from a set of coordinates to a BlockPosition and it was wrong. LOL. oops! This will be released in a new version of SpawnCommands Teleport soon.
I actually learned a bit from studying the Minecraft and Forge source code. It was long and fun.
I am looking into an issue that seems to have been here from the beginning. Teleporting out of the "end" dimension seems to block loading the world you are going to. Teleporting to another non-end then to where you want works, and logging out and back into the game also works to get that world to load. But I am looking to fix this to work properly. Possibly not allowing teleporting out of the "end" untill after the dragon is dead. Just a thought.
I will be including the op command /spawnblockdata for each version of minecraft as well. This command is already in this for mc1.8. It is used to identify what blocks you are standing in such as vines or grass etc. It is there to let you define other "blocks" you may teleport into safely. You would display the block names with this command then add them as appropriate to the config file for such exceptions (_canSpawnInsideBlockNameList.config).
I may also include the /tpa and related things from the above discussion as well.
This may take a few days as life does interfere with the coding fun.
My apologies and appreciation to those that make Mineraft and MinecraftForge!
my published mods
What happened to the opening post? Nothing is showing up for the links or images.
The message editor here in this forum is broken very badly.
It MinecraftForum's fault. Aparently they had a computer programmer "update" their message editor here for this forum. This programmer made the editor disastrously worse and aparently did not test his changes before they implimented it. This shows imcompetence in programming skills and a lack of professionalism. I submitted a support ticket to curse.com about it. They responded with
"citricsquid
Last Friday at 09:34
Hello,
I'm sorry for the inconvenience caused by the new editor, although
the editor introduced a wide range of improvements it did introduce a
small number of issues. We are aware of this specific issue and the
development team will investigate and resolve this issue as soon as
possible. Thank you for your patience.
Regards,
Curse Support"
and later said
"I can't provide an ETA at this time but be assured we are taking issues
with the editor seriously and will have a resolution as soon as
possible."
and later I suggested http://ckeditor.com/ a free opensource possible solution.
I appreciate that they said they were taking this seriously but I still do not see results and this affects everyone on this forum (quite a few people)
I tried to edit the 1st post in this thread with new info but it broke the whole page. Immediately after I saw the problem which you are asking about I tried to use the tool to revert to the last good looking version of the message. I thought I clicked the right button to commit to the rollback and aparently I failed to click that and it remained a broken message. I just rolled it back.
Incidently: the edit I was trying to post was supposed to let people know I havent fixed the bug in the version for minecraft 1.8 yet but will soon. The bug is that /spawn! and /sethome arent actually changing the bed location. everything else works. Fixing it soon.
my published mods
All good thanks for responding. It looks better right now. Yes - often developers don't test their changes very well I completely understand and sorry they messed up your post.
This isn't for Minecraft 1.8. When I downloaded it, it said 1.7.10.
There will be a release for Minecraft 1.8 that is fully functional. Life interferes with my coding time.
The release for mc1.8 that is shown now works in 1.8 with only 1 exception. That exception is that the /spawn! and /sethome do not set the home/bed location. The problem and solution has been found.
Sorry about the delay but it will be soon.
I will check the version numbers before compiling it. I normally check every time.
[EDIT] I downloaded the version for 1.8. The file name shows its for Minecraft 1.8. I looked in the mcmod.info file and it shows its for 1.8. I looked in the included source code and it shows its for 1.8. I checked the direct link and the adf.ly link and they are for 1.8. Is it possible you downloaded the wrong file?
my published mods
A new release for SpawnCommands Teleport for Minecraft 1.8 is almost ready. I plan to port this to Minecraft 1.7.10, 1.7.2, 1.6.4 later.
1. BUG FIX of the /spawn! and /sethome is good now. They actually set the bed location as they are supposed to.
2. requested feature to have the ability to limit the number of named spawn locations per player is done.
3. a bigger requested feature to have the functionality of the old /TPA command to ask other players if you may teleport to them, then do so. is done and well tested. Interestingly enough it took over 400 lines of code to do it right.
4. the /spawnblockdata is fully integrated and configurable.
5. a good bit of code refinement has been done. (invisible to you, unless you study the included source code)
6. BUG FIX (or workaround) for an issue when teleporting out of the end dimension.
Almost ready. NOT relased yet. Currently testing everything again before release.
my published mods
OFFICIAL RELEASE of SpawnCommands Teleport 2.1.0
Includes bug fixes and new requested features and is thoroughly tested. More detail in the change log spoiler on post number 1 in this thread.
New features:
Requested feature to have the ability to limit the number of named spawn locations per player is done and changable in the misc onfig file.
Requested feature to have the functionality of the old /TPA command to ask other players if you may teleport to them, then do so. is done and well tested. It is available using the /ta (Teleport Ask) command. Interestingly enough it took over 400 lines of code to do it right.
my published mods
I downloaded it a long time ago, but now it says "1.8". Tip: Stop mining coal!
I have a question re updating the mod.
When I update to the latest version , do I just delete the old .jar file and put the new one in ?
Or must I delete all config files out of the world save folder as well ?
Will current named spawn locations be lost when updating ?
Thanx
Remove the old jar file from the mods folder. Put the new jar file in the mods folder. Restart.
This will keep all your old info completely. It automatically updates the old files with the additional settings and converts any old stuff to the new. All your old locations will still be there as they were.
You are very welcome.
my published mods
Awesome thanx. I love things that is easy to use.
Great mod btw , make my life a lot easier in MC
Updated to 2.1.0 , the /home and /sethome commands still don't work for me. Using MC 1.8 /sethome says that it sets the home position , but /home does nothing. I slept in my bed but that didn't help
I specifically tested that.
Is the minecraft version you are playing on matching the mod "mc" version?
The SpawnCommands 2.0.0 has that problem but the 2.1.0 does not.
Each time /home or /spawn. is triggered it looks up the home coordinates.
Are you in the overworld(main world) when you try /home?
Are you playing in single player or on a server?
When you put in the latest (v2.1.0) jar file into the /mods folder did you restart the server right after that?
It sound very much like you are using the 2.0.0 version of SpawnCommands.
my published mods
Looks great! It functions really well with other mods and I had no problem getting it to work with a heavily modded game. But would it be possible to add a command to delete homes?