Releases: faketunaPrivateCamp/SkriptWebAPI
Releases · faketunaPrivateCamp/SkriptWebAPI
Version 0.1.2
What's Changed
- Fix: java.io.IOException: too many bytes to write to stream error by @faketuna in #15
- Add get remote IP expression in HTTP server by @faketuna in #16
Full Changelog: 0.1.1...v0.1.2
Version 0.1.1
What's Changed
Full Changelog: v0.1.0...0.1.1
Version 0.1.0
Caution
This version only supports Skript 2.7.3 or higher and Minecraft version 1.13 or higher.
I will only provide official support if Skript is 2.7.3 or higher and Minecraft version 1.20.2 or higher.
Whats new
New syntax
Now able to send PATCH and any custom request method
Version 0.0.4
Whats new
- Plugin now able to load in 1.13 or newer.
Version 0.0.3b
Fixed plugin wont load due to package rename.
Version 0.0.3a
Version 0.0.3
What added
Added async web request feature.
Syntax
Added:
event-value
event-connection
event
[on] [skeb] get [web] [request] response
[on] [skeb] put [web] [request] response
[on] [skeb] post [web] [request] response
[on] [skeb] delete [web] [request] response
effect
[skeb] send get [web] request to [url] %string% [[(with|and)] header %header%] [[(with|and)] body %string%]
[skeb] send put [web] request to [url] %string% [[(with|and)] header %header%] [[(with|and)] body %string%]
[skeb] send post [web] request to [url] %string% [[(with|and)] header %header%] [[(with|and)] body %string%]
[skeb] send delete [web] request to [url] %string% [[(with|and)] header %header%] [[(with|and)] body %string%]
Full Changelog: v0.0.2...v0.0.3
Version 0.0.2
This update have breaking changes in syntax.
What changed
Changed internal code.
Changed Syntax more than half.
What removed
Some Syntax has removed.
Syntax
Removed:
- any
parsed as text
is no longer available. event-body
event-header
event-[user]agent
event-[sender]address
event-[context]path
Changed:
response of delete request
is no longer returns%string%
. now returns%httpurlcon%
response of put request
is no longer returns%string%
. now returns%httpurlcon%
response of post request
is no longer returns%string%
. now returns%httpurlcon%
response of get request
is no longer returns%string%
. now returns%httpurlcon%
Added:
For event processing
%httpexchange%['s] request header properties %string%
%httpexchange%['s] body
%httpexchange%['s] [context][-]path
%httpexchange%['s] [target][-]host
%httpexchange%['s] [user][-]agent
For web request
%httpurlcon%['s] response body
%httpurlcon%['s] response code
%httpurlcon%['s] response header [(properties|prop)] %string%
Full Changelog: v0.0.1...v0.0.2
Version 0.0.1
Initial release