I'm a Chinese secondary school student,so my written English may not very well. How can i send packages (like some words) on a Minecraft Client (Use a Fabricmc Mod to send) and receive it on the bukkit server on MC Multiplayer?
How can i send packages on a Minecraft Client (With Fabricmc) and receive it on a Bukkit Server?
1.6k views Asked by Sudo-su-Bash At
1
There are 1 answers
Related Questions in BUKKIT
- Cannot get content from HashMap in Java/Bukkit
- How to update victim's scoreboard inside onPlayerDeath in below piece of code
- java.lang.IllegalStateException: Asynchronous player kick
- How to prohibit so that the player cannot put an item in any chests
- Question about vectors (player velocity) and Spigot API
- Bukkit create 2 Instances of the same item
- BukkitScheduler doesn't repeat the task correctly
- Spigot - Creating, writing, and reading YAML files in Command class
- How to save a scoreboard in a Minecraft Bukkit 1.20.4 Plugin
- Tracking items dropped to the ground
- Bukkit / Java : Problem with recursive method
- Create brand new weapon with BlockBench and a MineCraft Plugin API
- Is it possible to programatically add plugins to a Bukkit server properly?
- Minecraft 1.18.2 spigot economy plugin coding
- How to get every entity between two locations
Related Questions in MINECRAFT-FABRIC
- Fabricmc cannot cast minecraft class to injected interface
- A problem occurred configuring root project(minecraft mod)
- MinecraftClient.getInstance().player returns null
- GenIntellIjRuns is not found in root project
- How to grab or store coordinates in mcreator from a 2d arraylist?
- Fabric Mod: BlockRenderLayerMap is not importing properly and is giving this error location: package net.minecraft.client.render
- How can i register the DamageType in Minecraft Fabric 1.20.1
- Why wont my fireball go in the correct direction upon spawning?
- Geckolib3 - custom renderer for the player?
- Why Is Fabric draw Squares not working in Minecraft 1.20.4
- java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'modid'
- Intellij Minecraft Fabric mod exit value -1
- Fabric. A string as an argument to the command
- PowerShell Exception calling "readkey"
- Minecraft 1.20.4 fabric 0.15.3 mod recipe not working
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
This is done using what's known as the 'plugin messaging channel'. Take a look at this Fabricmc wiki to read about client networking (messaging). See this Spigot wiki on the plugin server-side messaging channel; ignore that this wiki talks a lot about bungee, it's just because that's a common use case. You can make your own channel.
The code below is copied from said wikis and is very much pseudo-code:
Client
Sending from the client
Receiving on the client
Where you see
TutorialNetworkingConstants.HIGHL..., that's the Identifier for the channel.Server (Spigot/Bukkit)
Sending from the server
Receiving on the server
Take a thorough read of those tutorials, they should cover all you need to know. Just be sure to unregister your channels on both the client and server.