Comments (7)
Digging up this old thread in case anyone else is interested in using this mod on paper/spigot servers - I've implemented the server-side component as a plugin here: https://github.com/jmattingley23/AppleSkinSpigot
from appleskin.
That description is only talking about the player's saturation/exhaustion values. All food values will be accurate no matter what.
from appleskin.
Ohh, okay! Thank you! Is there any way to get those values sent to the client from a spigot server, or would that require a port of the part of this mod?
from appleskin.
Not familiar with Spigot, but yeah it'd need something like this: https://github.com/squeek502/AppleSkin/tree/1.12/java/squeek/appleskin/network
IIRC the default Minecraft hunger packet could be re-used for the purpose of syncing saturation; you'd just need to make the server send it more often than it usually does (in vanilla, it only sends the packet when saturation hits zero or hunger changes). Exhaustion syncing would be harder to do with a purely server-side plugin, though, since there's no existing packet used for that in Minecraft.
from appleskin.
Am I understanding this: right now, the client-side AppleSkin is only an estimate of true values; it could drift some amount between packets?
IIRC the default Minecraft hunger packet could be re-used for the purpose of syncing saturation; you'd just need to make the server send it more often than it usually does
This is a mostly client-side mod, but it needs to be on the server in order to display accurate saturation/exhaustion values on the client.
So… is there available a server-side plugin for this?
I see this plugin, but it appears to be an unmaintained 3rd-party implementation.
from appleskin.
the client-side AppleSkin is only an estimate of true values
Not really an estimate, it just shows the current values that the client has (which don't update on their own).
So… is there available a server-side plugin for this?
Not sure. If that plugin does what it says, then it might work fine (i.e. install that on the server, and then load AppleSkin on the client).
from appleskin.
Thanks @jmattingley23, added a link to it in the description on Curseforge.
from appleskin.
Related Issues (20)
- 1.20.5 Support HOT 11
- appleskin not working on multiplayer HOT 1
- Config menu doesn't use scroller and scroller background from resourcepacks
- Compatibility Issue with Sinytra Connector, Forge, and AppleSkin HOT 1
- Add appleskin-neoforge-mc1.20.5-3.0.0 crashes HOT 2
- [Fabric 1.20.6] hide_tooltip crash HOT 1
- Investigate switching to Configured for Fabric mod config menu
- There seems to be an issue with the satiety displayed on the server. HOT 2
- Fabric 1.21 port HOT 4
- [1.21] Overlays still visible when F1 mode is active HOT 1
- AppleSkin crash problem in 1.21 HOT 2
- Crashes when altering max health HOT 1
- Saturation Bar HOT 6
- Latest 1.21 Version is seen as Virus. HOT 4
- [Enhancement] Add config for offsets to clientside HUD items HOT 4
- Need an update for NeoForge >= 21.0.82-beta HOT 4
- Tooltips have stopped working in recent JEI versions HOT 5
- Resource pack not working in 1.21 HOT 4
- Food properties in 1.21 HOT 1
- Question : Can you merge sat/food tooltip into one line ?
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 appleskin.