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 best solutions below
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
- Fabric - EntrypointException crash upon loading game
- fabric-code that make the client chat automatically when connecting to the server
- Minecraft Fabric: Overriding vanilla registries
- How can I get lines to be drawn in Minecraft 1.18.2?
- how to export Fabric 1.20 mod correctly
- Could not resolve me.shedaniel:RoughlyEnoughItems-api-fabric:13.0.666
- How to add in third party API/library to Minecraft Fabric project?
- FAILURE: Build failed with an exception when running gradle build
- Build Fails When Running "./gradlew genSources"
- Rendering minecraft fabric error: cannot find symbol
- Minecraft Fabric: 'net.minecraft.util.Identifier net.minecraft.util.registry.RegistryKey.method_29177()'
- How to draw a line in Minecraft with Fabric
- How can i send packages on a Minecraft Client (With Fabricmc) and receive it on a Bukkit Server?
- Explosion Enchantment Fabric Minecraft Modding
- There is an false error output on @Override. How do I fix it?
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)
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?
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.