Added:
- Async world creation
- SkellettProxy switch server event
- Get folder path of a world
- Move file
- Copy file
- Fully tested 1.12 support
- DataWatcher grabber (Info below) (Ultimate entity data finder)
- DataWatcher type grabber (Info below)
Fixed:
- A bossbar issue
- Some SkellettProxy bugs
- Made the delete file accept directories
- Made the create file accept directories
- Bugs
- Bug in 1.12 where version dependent syntax were not getting registered (Due to unsupported version)
- Fixed an optional spamming issue caused by 1.12
- Fixed some syntax not working in 1.12
Syntax:
Code (Text):
#Events:
[on] (skellett[ ][(cord|proxy)]|bungee[ ][cord]) [player] switch server[s]
[on] (skellett[ ][(cord|proxy)]|bungee[ ][cord]) [player] server[s] switch
#Effects:
#Create or load a world Async and/or with a generator.
#Info You can't have a generator option if you're loading the world Async, Because FAWE is your generator.
#Also the node Async has to be enabled in the Skellett config.yml and FAWE installed for the async to work.
[skellett] (load|create) world %string% [with generator %-string%] [[and] [with] [fawe] async[hronous]]
#Expresions:
#Get the world folder file path
world folder of %world%
#Get any data possible from an entity
data watcher value %number% from %entity%
data watcher type (of|from) %*object%
Data Watcher info: Basically the data watcher is a system built into Minecraft itself, it's a variable system that mojang uses to send a bunch of variables all at once to the server and client about an entity. It contains lots and almost everything you need about an entity, from it's display name to it's health. Here is a really good wiki about what and how to use this system
http://wiki.vg/Entities#Entity_Metadata_Format
Example:
Code (skript (Unknown Language)):
command /dw <integer>:
trigger:
broadcast "%data watcher value arg 1 from target entity%"
So assuming i'm looking at a boat
I could type
/dw 8 and it would return a number of how much damage this boat has taken.
I could type
/dw 10 and determine if the boat's Right paddle is turning! This system has so much data and it's yours to explore within Skript!
Other syntax examples I was playing with:
Simple way to determine how large a chest should be:
Code (skript (Unknown Language)):
command /sizedChest:
trigger:
loop 6 times:
if size of all players is within row loop-number:
set {_size} to loop-number
exit loop
open "CHEST" with {_size} rows named "&6This" to player
Code (skript (Unknown Language)):
on bungeecord player disconnect:
broadcast "%event-string%"
broadcast "%event-uuid%"
broadcast "%event-offlineplayer%"
on bungeecord player switch server:
broadcast "%event-string%"
broadcast "%event-uuid%"
broadcast "%event-offlineplayer%"
Hope you enjoy this update!
This version needs the latest SkellettProxy 1.3.2+ in order to run SkellettProxy stuff!