-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource Packs Update #7069
base: dev/feature
Are you sure you want to change the base?
Resource Packs Update #7069
Conversation
Added, EffSecSendResourcePack Added, EffRemoveResourcePack Added, Utils.convertUUID Removed, EffSendResourcePack
…ism/SkriptTest into dev/resource-packs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First round of requested changes, more to come
src/main/java/ch/njol/skript/effects/EffResourcePackValues.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffResourcePackValues.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffResourcePackValues.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffResourcePackValues.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more changes to be made, unsure if round 3 will commence awaiting lang member reviews for now
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffResourcePackValues.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffResourcePackValues.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
Alot of changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No time for a proper review at the moment, but just some styling stuff I saw off the bat. There are other annotations in the PR that I didn't mark with a comment, but they should be fixed too
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
A lot more changes
Removed, my custom UUID converter. Added, checks to ensure uuid is valid Added, if UUID is provided, but is invalid, will not send/remove resource, encouraging users to look at console.
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/effects/EffRemoveResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/sections/EffSecSendResourcePack.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for registration API for a better solution to restricted loadCode.
Description
This PR aims to allow users to use additional options when sending a resource packs to players.
As well as remove all resource packs or by uuid that were sent from the server.
Target Minecraft Versions: any
Requirements: none
Related Issues: #6222