I am only getting the number of the bungeecord players, for a lobby scoreboard. Is the server crashing because it?That's pretty strange.
Are you using any sintax?
Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
I am only getting the number of the bungeecord players, for a lobby scoreboard. Is the server crashing because it?That's pretty strange.
Are you using any sintax?
I am only getting the number of the bungeecord players, for a lobby scoreboard. Is the server crashing because it?
Sorry for not replying, i wasn't at home. I tried it, and it stopped crashing.Try to remove every sintax that your using from skellett , and check if it still crash.
every 0.5 second:
set {_all} to size of all bungeecord players
set name of sidebar of loop-player to "&b&lUnion &7&lNetwork"
set score " &f&l%{_all}%" in sidebar of loop-player to 1
set score "&c&lOnline players:" in sidebar of loop-player to 0
Fixes for SkellettProxy and adds server switch event
code_language.skript:[on] (skellett[ ][(cord|proxy)]|bungee[ ][cord]) [player] switch server[s] [on] (skellett[ ][(cord|proxy)]|bungee[ ][cord]) [player] server[s] switch
This version of SkellettProxy need Skellett 1.9.1+ in order to run
This version of SkellettProxy needs Skellett 1.9.2+ in order to run
Added the server switch event and fixed some bugs.
Fixed a bug where some events wern't working right.
Fixed a bug where player's couldn't chat in some cases.
Fixed a bug where player's couldn't enter commands.
you could use the bungee evaluate and send one to every player.It's possible to send json message in all my server ?
# Skellett the addon with the beast name!
# By LimeGlass
# The Host must be the main IP of the BungeeCord that is hosting SkellettProxy.
# If the bungeecord and this server are on the same machine, you can leave it as localhost.
# The port must match the same port that is in the SkellettProxy config.
SkellettProxy: true
Host: localhost
Port: 7332
# Heartbeat is a running task that SkellettProxy uses to check that servers are still connected.
# This is in milliseconds.
Heartbeat: 50
# Disconnect if the Bungeecord is offline.
# If this is set to false. Skellett will keep making attempts at connecting.
Disconnect: false
# Enable Bungeecord events.
# This will run a repeating task to handle the listener.
# This needs to be enabled if you want to use;
# Bungeecord events, Evaluate effect, Max players, Whitelisted players, Network variables, Global scripts and much more!
Events: true
# The event port is what SkellettProxy looks for when a bungee event has been triggered.
# This can match the port defined in the SkellettProxy settings above. It doesn't really matter.
# The port above is the port from the bungeecord side SkellettProxy config, where as this port is for this server.
# This port has to be DIFFERENT on every one of your bungeecord server if your servers run on the same machine.
EventPort: 7331
# A message that is displayed to the console to notify that a GlobalScript has been reloaded.
GlobalScriptReloadMessage: true
# SkellettProxy config file
#
# The port must match the port in SkellettProxy.yml from Skellett on servers connected to this Bungeecord.
version: "1.3.3a"
debug: false
Port: 7332
# If a spigot server fails to send a packet to SkellettProxy.
# How many trys should be allowed before claiming that server as offline.
AllowedTrys: 5
# If a spigot server goes unresponsive and this is true, SkellettProxy will stop tracking it.
# This will throw a harmless error in your console everytime a server goes unresponsive though.
DisableTracking: false
# If you have scripts in the folder plugins/SkellettProxy/scripts/
# SkellettProxy will relay these scripts to all connected servers.
# This acts like global scripts to keep all servers up to date.
# All connected servers need to have the "events" option enabled in the SkellettProxy settings.
GlobalScripts:
Enabled: true
# Network variables allow you to create shared varaibles between multiple servers on the bungeecord.
# SkellettProxy will handle the variables on the Bungeecord instance.
NetworkVariables:
Enabled: true
# Allow variables to be re-writen if a server calls for it.
AllowOverrides: true
# Automatic sharing means that SkellettProxy will try to make Skellett's (Spigot side) variables
# match the exact variables as Bungeecord.
# So basically if you update a global variable, SkellettProxy will make every Spigot server variables match that.
# So all you need todo is
#
# set network variable {test} to "Hello world!"
#
# Then on every other server, the variable {test} will be be set to "Hello world!"
#
# WARNING: Keep in mind this will override any variable names that match SkellettProxy's.
# If this is enabled SkellettProxy variable names will be priority!
# It should be harmless if you don't care about your old data.
# And last thing, this is cap sensitive, can't change or fix that. That's Skript.
AutomaticSharing: true
Backups:
# Backup the variables when the bungeecord ends.
End: true
# Backup the variables every X minutes.
Interval: true
# Time is in minutes.
IntervalTime: 120
# Broadcasts a message to console saying backups have been saved.
ConsoleMessage: false
# RedisBungee support will be soon.
command /arena <player>:
trigger:
send "&aJoining the Lobby with your current inventory..."
set {_slot} to 0
loop 41 times:
if slot {_slot} of arg-1 is not air:
set network variable {inv::%uuid of arg-1%::%{_slot}%} to "%slot {_slot} of arg-1%"
add 1 to {_slot}
set network variable {equip::%uuid of arg-1%} to true
send "%arg-1%" to "lobby"
on join:
if network variable {equip::%uuid of player%} is set:
set {_slot} to 0
loop 41 times:
if network variable {inv::%uuid of player%::%{_slot}%} is set:
set slot {_slot} of player to "%network variable {inv::%uuid of player%::%{_slot}%}%" parsed as item
reset network variable {inv::%uuid of player%::%{_slot}%}
add 1 to {_slot}
send "&aYour Inventory has been transferred"
reset network variable {equip::%uuid of player%}
[09:01:31 ERROR]: The server has stopped responding!
[09:01:31 ERROR]: Please report this to https://aquifermc.org/
[09:01:31 ERROR]: Be sure to include ALL relevant console errors and Minecraft crash reports
[09:01:31 ERROR]: Paper version: git-Paper-1152 (MC: 1.12)
[09:01:31 ERROR]: ------------------------------
[09:01:31 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[09:01:31 ERROR]: ------------------------------
[09:01:31 ERROR]: Current Thread: Server thread
[09:01:31 ERROR]: PID: 19 | Suspended: false | Native: true | State: RUNNABLE
[09:01:31 ERROR]: Stack:
[09:01:31 ERROR]: java.net.SocketInputStream.socketRead0(Native Method)
[09:01:31 ERROR]: java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
[09:01:31 ERROR]: java.net.SocketInputStream.read(SocketInputStream.java:171)
[09:01:31 ERROR]: java.net.SocketInputStream.read(SocketInputStream.java:141)
[09:01:31 ERROR]: java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2620)
[09:01:31 ERROR]: java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2636)
[09:01:31 ERROR]: java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3113)
[09:01:31 ERROR]: java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:854)
[09:01:31 ERROR]: java.io.ObjectInputStream.<init>(ObjectInputStream.java:349)
[09:01:31 ERROR]: com.gmail.thelimeglass.Sockets.send(Sockets.java:92)
[09:01:31 ERROR]: com.gmail.thelimeglass.SkellettProxy.CondOnlinePlayer.check(CondOnlinePlayer.java:55)
[09:01:31 ERROR]: ch.njol.skript.lang.Condition.run(Condition.java:56)
[09:01:31 ERROR]: ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[09:01:31 ERROR]: ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[09:01:31 ERROR]: ch.njol.skript.effects.Delay$1.run(Delay.java:94)
[09:01:31 ERROR]: org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:58)
[09:01:31 ERROR]: org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356)
[09:01:31 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:832)
[09:01:31 ERROR]: net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423)
[09:01:31 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:766)
[09:01:31 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:664)
[09:01:31 ERROR]: java.lang.Thread.run(Thread.java:748)
You need to set global sharing on and you need to use the network variables syntax to set them and/or read them.Network variables don't work.
They are created in bungee skellett variable.csv but when I am trying to grab this variable from server I see <none>
Bungee:
View attachment 1082
View attachment 1083
Spigot:
View attachment 1084
View attachment 1085
Halp ;-;
Yes I have this option on already. Global variables are working but sometimes Im getting this error on bungee:You need to set global sharing on and you need to use the network variables syntax to set them and/or read them.
19:11:28 [SEVERE] java.net.SocketException: Socket closed
19:11:28 [SEVERE] at java.net.SocketInputStream.socketRead0(Native Method)
19:11:28 [SEVERE] at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
19:11:28 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:171)
19:11:28 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:141)
19:11:28 [SEVERE] at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2620)
19:11:28 [SEVERE] at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2636)
19:11:28 [SEVERE] at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3113)
19:11:28 [SEVERE] at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:853)
19:11:28 [SEVERE] at java.io.ObjectInputStream.<init>(ObjectInputStream.java:349)
19:11:28 [SEVERE] at com.gmail.thelimeglass.BungeeEventRunner.send(BungeeEventRunner.java:18)
19:11:28 [SEVERE] at com.gmail.thelimeglass.VariableStorage.write(VariableStorage.java:184)
19:11:28 [SEVERE] at com.gmail.thelimeglass.PacketHandler.handlePacket(PacketHandler.java:251)
19:11:28 [SEVERE] at com.gmail.thelimeglass.SocketRunnable.run(SocketRunnable.java:23)
19:11:28 [SEVERE] at java.lang.Thread.run(Thread.java:748)
[19:11:51] [Server thread/INFO]: [Skellett] Incorrect SkellettProxy details, No socket found or was denied access. For socket at 127.0.0.1:7332
[19:11:51] [Server thread/ERROR]: [Skript] If you're 100% sure your details are correct, this can be caused because some server's want a number host rather than localhost. Try inserting 0.0.0.0 or 127.0.0.1 instead of localhost. Error:
[19:11:51] [Server thread/INFO]: [Skellett] Attempting to reconnect and fix myself...
[19:11:51] [Craft Scheduler Thread - 357/INFO]: [Skellett] Bungeecord went offline. Attempting to reconnect...
[19:11:51] [Server thread/INFO]: [Skellett] Connected to SkellettProxy!
[19:11:51] [Craft Scheduler Thread - 381/INFO]: [Skellett] SkellettProxy connection established on port 7898
This update fixes a possible bug that causes SkellettProxy to hold SkellettPacket's from being sent, waiting for a response from Skellett. This issue was causing console errors, some harmless, and some not so much.
Side notes:
- This version has RedisBungee stuff disabled as I compiled this version on my new PC and I don't have RedisBungee's source/jar.
- New versions reset your config's to make sure they have the latest config options, so make sure you save your config if you...
[01:26:40] [Craft Scheduler Thread - 12/INFO]: [0;30;1m[[0;32;1mSkellett[0;30;1m] [0;33;1m[0;31;1mIncorrect SkellettProxy details, No socket found or was denied access. For socket at 0.0.0.0:7332[m
[01:26:40] [Craft Scheduler Thread - 12/ERROR]: [Skript] If you're 100% sure your details are correct, this can be caused because some server's want a number host rather than localhost. Try inserting 0.0.0.0 or 127.0.0.1 instead of localhost. Error:
[01:26:40] [Craft Scheduler Thread - 12/INFO]: [0;30;1m[[0;32;1mSkellett[0;30;1m] [0;33;1m[0;31;1mAttempting to reconnect and fix myself...[m
[01:26:40] [Craft Scheduler Thread - 29/INFO]: [0;30;1m[[0;32;1mSkellett[0;30;1m] [0;33;1m[0;31;1mBungeecord went offline. Attempting to reconnect...[m
[01:26:40] [Server thread/WARN]: java.io.EOFException
[01:26:40] [Server thread/WARN]: at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2917)
[01:26:40] [Server thread/WARN]: at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1502)
[01:26:40] [Server thread/WARN]: at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)
[01:26:40] [Server thread/WARN]: at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
[01:26:40] [Server thread/WARN]: at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
[01:26:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71)
[01:26:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
[01:26:40] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739)
[01:26:40] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
[01:26:40] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
[01:26:40] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
[01:26:40] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:748)