Comments (5)
You can't do this with it's own Syntax or Configuration, but you can set up indices to grab from.
set {_server} to current server
set network variable {server::%{_server}%::something} to "something"
#getting
set async {_something} to network variable {server::%{_server}%::something}
from skungee.
I have now tried to customize a script for your script but somehow it is not yet ..
logfile:
[18:23:23] [Thread-195/INFO]: [Skungee] Recieved packet: UPDATEVARIABLES with data: proxy.playerdata..punkte with settable data: [type=string, data=[-128, 1, 49]]
error:
[17:44:06] [main/INFO]: [CHAT] {_server} can only be set to one object, not more (sync.sk, line 79: set {_server} to current server')
Skript:
on quit:
set network variable {proxy.playerdata.%{_uuid}%.punkte} to "%{playerdata.%{_uuid}%.punkte}%"
on join:
set async {playerdata.%{_uuid}%.punkte} to network variable {proxy.playerdata.%{_uuid}%.punkte}
from skungee.
Ok there are a few issues.
1.) A variable sync feature between servers is an enhancement, added enhancement lable.
2.) There is a bug where the current server syntax returns multiple rather than single, added bug label.
3.) In your script you provided, you're not setting the local variable {_uuid}
before you use it, so you're setting a blank variable you will never be able to grab again, creating wasted space in the database.
from skungee.
The multiple return error has been fixed in 1.1.0
from skungee.
And the variable sync suggestion is a duplicate of #34
from skungee.
Related Issues (20)
- Async error message HOT 1
- [ServerSocket couldn't be created on port: 57921] HOT 2
- Skunge 1.15 only only one works network variable HOT 3
- How to install skungee on your minecraft server HOT 1
- Error Network Variable HOT 1
- Error in console HOT 2
- Error in console while using "online/not online" statement HOT 1
- After trying to save network variable all skungee function froze HOT 4
- Broadcast message
- Executing commands in bungee doesnt work HOT 1
- There was no socket found or was denied access at localhost:6969 HOT 14
- signal bug
- When my server start, skungee event not works but when I /sk reload, all works. HOT 1
- Error
- not connecting people HOT 1
- Skungee doesn't work HOT 2
- Client doesnt connect
- ㅤ
- The latest version does not work, sk reports an error, no wiki.hub is unclear
- Can't understand this condition: 'server "hub" is online'
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 skungee.