So, I posted this on another of my threads but was suggested to make another thread, so here I am. So, the issue is that when I do: set {_numKitPvP} to size of all bungeecord players in server "KitPvP", an error shows:
Here is my SkelletProxy.yml for Hub:
Here is my SkelletProxy.yml for KitPvP:
And here is my config.yml for the SkelletProxy folder in Bungeecord:
So, if there is an error in my setup for SkelletProxy & Skellet, it would be awesome if you could help me out as I did basically exactly what the video told me to do. Thanks <3
[doublepost=1499750337,1499742542][/doublepost]Never mind. I fixed it myself. I actually don't know what I did. I just fiddled with the SkelletProxy.yml files.
[doublepost=1499794251][/doublepost]Ok. So, I started up my server and it didn't work... It worked yesterday perfectly. I joined KitPvP with an alt account and nothing happens. Here is my code for the scoreboard in hub. I don't think it is that though that is causing the problem because it was working fine yesterday, so I think it has to do with the SkelletProxy set up. The same error pops up as I posted above. Thanks <3
[doublepost=1499882054][/doublepost]Bump
code_language.skript:
[19:59:15 ERROR]: Can't understand this expression: 'size of all bungeecord players on server "KitPvP"' (scripts.sk, line 24: set {_numKitPvP} to size of all bungeecord players on server "KitPvP"')
Here is my SkelletProxy.yml for Hub:
code_language.skript:
# 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: 7330
# A message that is displayed to the console to notify that a GlobalScript has been reloaded.
GlobalScriptReloadMessage: true
Here is my SkelletProxy.yml for KitPvP:
code_language.skript:
# 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
And here is my config.yml for the SkelletProxy folder in Bungeecord:
code_language.skript:
# 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: false
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.
So, if there is an error in my setup for SkelletProxy & Skellet, it would be awesome if you could help me out as I did basically exactly what the video told me to do. Thanks <3
[doublepost=1499750337,1499742542][/doublepost]Never mind. I fixed it myself. I actually don't know what I did. I just fiddled with the SkelletProxy.yml files.
[doublepost=1499794251][/doublepost]Ok. So, I started up my server and it didn't work... It worked yesterday perfectly. I joined KitPvP with an alt account and nothing happens. Here is my code for the scoreboard in hub. I don't think it is that though that is causing the problem because it was working fine yesterday, so I think it has to do with the SkelletProxy set up. The same error pops up as I posted above. Thanks <3
code_language.skript:
every second:
set {_numKitPvP} to size of all bungeecord players on server "KitPvP"
set {_numCreative} to size of all bungeecord players on server "Creative"
set {_numPrison} to size of all bungeecord players on server "Prison"
wait 5 ticks
loop all players:
wipe loop-player's sidebar
set name of sidebar of loop-player to "&9&lHUB"
set score "&8&m|&r &7Welcome Back," in sidebar of loop-player to 9
set score "&8&m|&r &b%loop-player%!" in sidebar of loop-player to 8
set score "&8&m|----------------" in sidebar of loop-player to 7
set score "&8&m|&r &c&lHUB&7: &f%number of all players%" in sidebar of loop-player to 6
if {_numKitPvP} is "<none>":
set score "&8&m|&r &b&lKITPVP&7: &f0" in sidebar of loop-player to 5
else:
set score "&8&m|&r &b&lKITPVP&7: &f%{_numKitPvP}%" in sidebar of loop-player to 5
if {_numCreative} is "<none>":
set score "&8&m|&r &d&lCREATIVE&7: &f0" in sidebar of loop-player to 4
else:
set score "&8&m|&r &d&lCREATIVE&7: &f%{_numCreative}%" in sidebar of loop-player to 4
if {numPrison} is "<none>":
set score "&8&m|&r &6&lPRISON&7: &f0" in sidebar of loop-player to 3
else:
set score "&8&m|&r &6&lPRISON&7: &f%{_numPrison}%" in sidebar of loop-player to 3
set score "&8&m|&r&8&m----------------" in sidebar of loop-player to 2
set score "&8&m|&r &fTrojan Network" in sidebar of loop-player to 1