Comments (5)
Hi. This should already be possible.
To receive a message, hook the 'plugin_message' packet:
def packet_plugin_message(self, buff):
p_channel_name = buff.unpack_string()
p_channel_data = buff.read()
# do something with the message
To send a message:
self.send_packet(
"plugin_message",
self.buff_type.pack_string("yourchannelname") + b"yourchanneldata")
Does that work for you?
from quarry.
Hey Barney
Oh yeah that works, but it will only send a package to register, so that it has a channel number to send to.
Like the number packet_upstream_player_position usses to get noticed.
So i will get the register data bug nog the data that gos over that channel.
I might be wrong but i think that is the gist of it
Greetings !
from quarry.
I don't know much about plugin channels, but perhaps you have to acknowledge the registration? Quarry doesn't do any handling of plugin channels - you'll need to build that yourself.
from quarry.
Well, im kanda bussy with my own thing like seperating the nether chunks end chunks and overworld chunks, but when i need it i will get to it !
from quarry.
Nice one. Log an issue if you come across any bugs.
from quarry.
Related Issues (20)
- Error with hide chat proxy HOT 5
- Possible to get block player placed? HOT 2
- Examples issues HOT 2
- Port Forwarding a proxy HOT 2
- I got this error
- fcntl not found HOT 1
- According to wiki.vg this data type is wrong. And how to respond to tab completes? HOT 7
- import quarry.net.proxy could not be resolved HOT 1
- The chat logger example doesn't work, microsoft login. HOT 3
- 1.19.3 is not supported HOT 2
- Issue with spoofing client messages HOT 2
- errors when using client_player_list.py HOT 2
- The skeleton client from readthedocs does not work for me HOT 3
- How to create a dynamic proxy? HOT 1
- Support for 1.19 is purely fictional. HOT 5
- 1.20
- How do i get "quarry" to run (E:\quarry-master\examples\proxy_hide_chat.py) HOT 2
- quarry.net.protocol.ProtocolError: Packet is too long: chat_message
- 到1.20.2
- Why is this project called "quarry"? What is the name backstory?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarry.