You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to somehow identify the block a player just placed. At the moment im using Quarry as a proxy for the server.
What I am trying to do is essentially create an anti-grief 'plugin' where new players cant destroy other players blocks until a player has > 1 hour play time for example.
So my current strategy is to place a specific block as a 'marker' to 'protect' a 20 block radius for example. Then record that info 'proxy side' to then allow / stop users breaking blocks in that area.
At the moment I cant see an obvious way for a player to place a certain block down then get that block ID and the player who placed it through the proxy.
I have been going through this list of packets and cant seem to find anything that could be useful. However I am obviously missing something, im sure its possible to capture the info i need
Any ideas?
Thanks.
The text was updated successfully, but these errors were encountered:
packet: player_block_placement, just cancel it to stop block placements
If you want help msg me for discord info
also just so you know, look into https://wiki.vg/Protocol#Set_Border_Center , warning, and distance to make the player not be able to click or you can just send the packet (https://wiki.vg/Protocol#Set_Cooldown) constantly while in the area to make the animation not play at all or place on their screen and display a white outline on all their items (set ticks to a large number then when they leave set it to 0)
Hey,
I have been trying to somehow identify the block a player just placed. At the moment im using Quarry as a proxy for the server.
What I am trying to do is essentially create an anti-grief 'plugin' where new players cant destroy other players blocks until a player has > 1 hour play time for example.
So my current strategy is to place a specific block as a 'marker' to 'protect' a 20 block radius for example. Then record that info 'proxy side' to then allow / stop users breaking blocks in that area.
At the moment I cant see an obvious way for a player to place a certain block down then get that block ID and the player who placed it through the proxy.
I have been going through this list of packets and cant seem to find anything that could be useful. However I am obviously missing something, im sure its possible to capture the info i need
Any ideas?
Thanks.
The text was updated successfully, but these errors were encountered: