RandomCoords
RandomCoords
RandomCoords adds a random offset to the players coordinates to prevent players using F3 debug screen for positioning info.
When a player logs in or changes world, it generates two random values that it adds to the players x and z coordinate. Chunk borders and cardinal directions stay.
Visit thread on BukkitForums
Before
After
Requirements
Permissions
- randomcoords.bypass
- Receive the actual coords
@aadnk
Can not reproduce on official dev build.
@Folipurba
You might have to do some debugging, unfortunately.
RandomCoords will teleport players back to their login location every second or so (on the unofficial 1.6 fork by MonsieurApple).
From what the minecraft protocol changes look like, it won't need an update. It will still work on 1.6
Will you be updating for 1.6 when it goes live?
@CommodoreAlpha
It happens every now and then since an update of ProtocolLib. I don't know what exactly is causing it, I think the event is receiving a TemporaryPlayer when it shouldn't (anymore) - the Player instance must have been created already, otherwise the client can't respond with a new position.
For some reason, I get this error when someone first logs in, but I've only seen it once and it doesn't happen regularly. I just thought it would be a good idea to post it here anyway though.
I like this plugin
@KevinABC96
No. You could set them to something specific on login/world change (±16 blocks), but as soon as you walk they will change.
@HeIIsing
Improved it how? Yes, I will update it, I just didn't find the time to upload the new version.
Used a decompiler to get the code and improved it, my question is, are you going to update this plugin? If not, may I create a new server-mod page for it and link you as the original author?
Does this plugin still work with the current version of bukkit?
---
Just tested on beta 1.5.2 R0.1 works fine cords are insanely high (awesome!!!).
For learning reasons. I for myself never touched packets in minecraft and it would be nice to see how to handle those, especially for coords. I am currently developing a Hunger Games plugin and it would be cool to have this feature within the own code, if you know what I mean :)
Saves one plugin for me and I can handle it better with the engine of the Games itself.
But well, thanks for changing the console output at least.
world-whitelist is not needed, as you said it can be implemented through permissions.
I don't think its useful enough to have a configuration for it.
The output was more a debugging feature, I thought it would be helpful for the admin.
Running a server using it for quite some time now, I think it actually is just spam and I'll remove it.
Skulls should have been fixed with 1.3, please make sure you are running it.
Sharing the code, depends. What for?
Could you add a config support with these options:
- world-whitelist - no-output
The problem is that we are running a server with constantly more than 200 players and the console just gets spammed with the plugin messages.
Other problem is that in a world with skulls (player heads) the whole head is invisible for players who don't have a bypass. I know that this could be done by a per world permission, but it would be cool to have it in the config.
And one last thing: Are you willing to share the code?
Regards,
Hellsing
@libraryaddict
Sometimes the server teleports you to correct your position (for example, when you are glitching on a ghost block or chunk error). Also some plugins teleport players to their current position to freeze them. I don't think that resending all the chunks around them every time that happens is a good idea.
@Folipurba
But you could resend the chunks manually?
Then again, There's the entities which may or may not appear to the client.
Would still be useful however, Means that say a admin teleports you to his base. Despite him living being under your house as he is vanished. You think you are hundreds of miles away from your home...
@libraryaddict
It causes problems when teleporting to a spot close to where the player is, because he doesn't get the chunks send again. It would be possible to implement that for far teleports though, if there is a need.
This is pretty awesome, Just a question however, Aside from the fact the client would notice that it was teleported.
Would it be possible to change their coordinates if they were tp'd as well?
Or is there several issues with this, Perhaps old chunks are still displayed to the player?
@Bobacadodl
No. It could set the number to a fixed value when you join/respawn/change world, but everything after that is added automatically by the client.
Would it be possible for you to add a mode where the coordinates ALWAYS display a fixed number? (settable in config)