Giter Club home page Giter Club logo

diskuise's Introduction

Hey there! πŸ‘‹

I'm Tud, a student who loves coding and creating cool stuff! πŸš€

About Me

  • 🌍 Based in Saudi Arabia
  • πŸŽ“ Your typical highschool student

GitHub Stats

_tud's GitHub stats

Top Langs

_tud's WakaTime stats

Tech Stack

  • πŸš€ Currently vibing with: Java
  • πŸ’‘ Always learning and exploring new things

Projects

βš™οΈ I'm currently working on Machine: A 1.20.1 lightweight server implementation

Reach Me

πŸ“¬ _tud on Discord

diskuise's People

Contributors

hapily04 avatar underscoretud avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

hapily04

diskuise's Issues

[BUG] Server won't start with Diskuise installed

Skript/Server version
Skript version: 2.6.4
Server version: Purpur 1.18.2 (build 1632)
Diskuise version: 0.3.3
LibsDisguise version: 10.0.31-Free
ProtocolLib version: 4.8.0

Describe the bug
The server failed to start with Diskuise installed.

To Reproduce
Steps to reproduce the behavior:

  1. Start a new Purpur 1.18.2 (build 1632) server.
  2. Install Diskuise and it's dependencies.
  3. Server throw "Encountered an unexpected exception" error.

Expected behavior
Server should start normally and able to use Diskuise.

Screenshots
https://imgur.com/a/6jEQe5f
Crash report: https://pastebin.com/XGW1uyYz

Additional context
Server start as usual without Diskuise.jar

[BUG] The server crashes once i put it in the plugins

Skript/Server version 1.19.2, latest version of skript for 1.19.2
Information about Skript and its addons, and the Minecraft server that it's running on

Describe the bugI was just playing around, and tried to install diskuise, when it started up again (once i'd install the plugin onto it) it crashed
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

Expected behavior I think it needs to be fixed as soon as possible, i get that it may not be immediate though, so take your time
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
Add any other context about the problem here.

armor stand doesn't change its size with the age effect

So I don't know if it's intended or not but the armor stand size doesn't change with the age effect

Make disguise of {pet::%player's uuid%} a baby

The disguise is an armor stand. if this is intended how do I change the size of an armor stand to small?

Using 1.18 API

Hey, I would like to use the addon on my server, but aren't able because of the use of 1.18 API.
My server version is 1.17.1

I saw on your changelog that you said it supports 1.16+, but it doesn't :)

[00:43:51 ERROR]: Could not load 'plugins/Diskuise.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.18

I have a question :)

[13:39:58 INFO]: Can't understand this expression: 'disguise type player with username "%{_Disguise}%"'

I am getting an error here, why is that?

if arg-1 = "disguise":
if arg-2 is a offline player:
set {Streamermode::skin::%uuid of player%} to arg-2
Disguise(player, arg-2)

function Disguise(p: player, Disguise: offline player):
set {_u} to uuid of {_p}
set {Disguise::%{_u}%} to disguise type player with username "%{_Disguise}%"
set {_p}'s disguise to {Disguise::%{_u}%}
message "{@p}Du er forklædt som &6%{_Disguise}%" to {_p}
stop

[BUG] 1.16.5 version not working

Skript/Server Version

Server Version: git-Paper-790 (MC: 1.16.5)
Skript Version: 2.6.3
Addons:
- skript-placeholders v1.5.2
- BungeeSK v2.0.0
- DiSky v2.1
- Diskuise v0.3
- skript-db v1.3.6
- Reqn v1.2.3
- skRayFall v1.9.26
- SkQuery v4.1.5
- SkBee v1.15.0

Bug Description

You recently add 1.16+ support (#3) 1.16.5 version not working, because it need Java 17.

I have tried to do Java 17 with 1.16.5 with a tech, and the server start.
But this doesn't work, there are some class errror (errors are in Errors or Screenshots section).
So Diskuise is disabled, and Skript crash when command is executed.

Expected Behavior

So, I think it's crash because it can't found Axolotl class, which exist in MC 1.17+, but not in 1.16.5.

Steps to Reproduce

Start an 1.16.5 server with Java 16 or 17 with Diskuise.

Errors or Screenshots

[Diskuise] Enabling Diskuise v0.3
[11:33:21] [Server thread/ERROR]: Error occurred while enabling Diskuise v0.3 (Is it up to date?)
java.lang.NoClassDefFoundError: org/bukkit/entity/Axolotl$Variant
	at me.tud.diskuise.elements.types.TypAxolotlVariant.<clinit>(TypAxolotlVariant.java:10) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:467) ~[?:?]
	at ch.njol.skript.SkriptAddon.loadClasses(SkriptAddon.java:117) ~[?:?]
	at me.tud.diskuise.Diskuise.onEnable(Diskuise.java:47) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Paper-790]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.16.5.jar:git-Paper-790]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Paper-790]
	at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Paper-790]
	at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Paper-790]
	at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:599) ~[patched_1.16.5.jar:git-Paper-790]
	at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.16.5.jar:git-Paper-790]
	at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Paper-790]
	at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-790]
	at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassNotFoundException: org.bukkit.entity.Axolotl$Variant
	at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155) ~[patched_1.16.5.jar:git-Paper-790]
	at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114) ~[patched_1.16.5.jar:git-Paper-790]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	... 15 more
[11:33:21] [Server thread/INFO]: [Diskuise] Disabling Diskuise v0.3

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

[FEATURE] Add 1.16.5

  • 1.16.5

Hello, I recently discovered your addon, and I find the concept simply amazing.
Unfortunately, it only works in 1.17, and my Minecraft servers are in 1.16.5.
1.16.5 is a very used version, so I find it very unfortunate that the addon is not available in 1.16.5.
So please update to add it to 1.16.5, I really need it!

If you say to yourself "but he is annoying", know that my servers have a community of almost 300 members, so many expect from you that the addon is available in 1.16.5.

Also, I would advise you to create a discord server, or give us the link.

Thanks in advance !

1.21support

Suggestion

1.21support

Why?

Version 0.3.4 does not work under 1.21

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.

Bug with entity's display names

Skript/Server version
Skript: 2.6.3, Server: 1.19.2

Describe the bug
I added every 1 second event and when the entity walks it leaves a trail of names and you can't delete them even with /kill @e

To Reproduce
every second: loop all entities: loop-entity is not a player if name of loop-entity is "ABC": set {name::%loop-entity's uuid%} to "ABC" set {dispname} to "&8[&7Lvl &6%loop-entity's max health * 2%&8] &c%{name::%loop-entity's uuid%}% &8[&a%loop-entity's health%&8/&a%loop-entity's max health%&8]" disguise loop-entity as "%{dispname}%" set skin of disguise of loop-entity to "ABC" set name of disguise of loop-entity to "%{dispname}%"

Screenshots
image

Additional context
`command /summoncustommob :
permission: op
permission message: &cYou do not have the permission to use this command!
trigger:
set {custommob} to arg-1
set {custommobname} to arg-2
spawn {custommob} at player:
set display name of event-entity to "%{custommobname}%"
on spawn:
event-entity is not a player
if name of event-entity is "KajusLion":
set max health of event-entity to 10
set health of event-entity to 10
set {name::%event-entity's uuid%} to "KajusLion"
set {dispname} to "&8[&7Lvl &6%event-entity's max health * 2%&8] &c%{name::%event-entity's uuid%}% &8[&a%event-entity's health%&8/&a%event-entity's max health%&8]"
disguise event-entity as "%{dispname}%"
set skin of disguise of event-entity to "KajusLion"
#disguise event-entity as husk
set walk speed of event-entity to 0.12
set event-entity's held item to {hand::KajusLion}
set event-entity's helmet item to {helmet::KajusLion}
set event-entity's chestplate item to {chestplate::KajusLion}
set event-entity's leggings item to {leggings::KajusLion}
set event-entity's boots item to {boots::KajusLion}
set name of disguise of event-entity to "%{dispname}%"

every 1 tick:
loop all entities:
if loop-entity's name is "KajusLion":
set name of disguise of loop-entity to "&8[&7Lvl &6%loop-entity's max health / 10%&8] &c%{name::%loop-entity's uuid%}% &8[&a%loop-entity's health%&8/&a%loop-entity's max health%&8]"
on death of vindicator:
cancel drops
command /setcustommobwear :
trigger:
if arg-2 is "helmet":
set {helmet::%arg-1%} to player's held item
if arg-2 is "chestplate":
set {chestplate::%arg-1%} to player's held item
if arg-2 is "leggings":
set {leggings::%arg-1%} to player's held item
if arg-2 is "boots":
set {boots::%arg-1%} to player's held item
if arg-2 is "hand":
set {hand::%arg-1%} to player's held item

every second:
loop all entities:
loop-entity is not a player
if name of loop-entity is "KajusLion":
set {name::%loop-entity's uuid%} to "KajusLion"
set {dispname} to "&8[&7Lvl &6%loop-entity's max health * 2%&8] &c%{name::%loop-entity's uuid%}% &8[&a%loop-entity's health%&8/&a%loop-entity's max health%&8]"
disguise loop-entity as "%{dispname}%"
set skin of disguise of loop-entity to "KajusLion"
set name of disguise of loop-entity to "%{dispname}%"`
Full code ^

Not disguise to falling block type

Skript/Server Version

Skript - 2.6.3
Server - 1.19.2
Diskuise - 0.3.2

Bug Description

disguise player as Falling sand Block - this code does not work for masking into a falling block
disguise player as Falling Block - turns into stone, but other arguments for turning, for example, into a block of land could not be done.

Expected Behavior

the design is built under the earth block

Steps to Reproduce

disguise player as Falling sand Block

Errors or Screenshots

No errors but not work
image

Other

I wanted to make a code that disguises the player as a block lying in his hand

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

[FEATURE]

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When using the (Disguise Effect)[https://skripthub.net/docs/?id=7818] I noticed it doesn't have the exact result as /disguise, specifically the nametag not being visible when it is, by default, enabled in the libsdisguises config.

Describe the solution you'd like
A clear and concise description of what you want to happen.

This should be an option in the diskuise config to have default properties from the libsdisguises follow through to diskuise when using elements.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Another alternative would be to just align with libsdisguises and always just follow what was set in their config.

Additional context
Add any other context or screenshots about the feature request here.

Nametag not shown (effect cmd ran)
https://i.imgur.com/nerMfV9.png

Nametag shown (command ran)
https://i.imgur.com/42hooBZ.png

[BUG] Failure to load due to security

Skript/Server version
2.7.0-beta2

Describe the bug

java.lang.RuntimeException: Directory 'plugins\Diskuise.jar' failed to load!
        at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:59) ~[paper-1.19.4.jar:git-Paper-538]
        at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.lambda$registerProviders$1(DirectoryProviderSource.java:34) ~[paper-1.19.4.jar:git-Paper-538]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
        at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
        at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:32) ~[paper-1.19.4.jar:git-Paper-538]
        at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:14) ~[paper-1.19.4.jar:git-Paper-538]
        at io.papermc.paper.plugin.util.EntrypointUtil.registerProvidersFromSource(EntrypointUtil.java:14) ~[paper-1.19.4.jar:git-Paper-538]
        at io.papermc.paper.plugin.PluginInitializerManager.load(PluginInitializerManager.java:100) ~[paper-1.19.4.jar:git-Paper-538]
        at net.minecraft.server.Main.main(Main.java:126) ~[paper-1.19.4.jar:git-Paper-538]
        at org.bukkit.craftbukkit.Main.main(Main.java:309) ~[paper-1.19.4.jar:git-Paper-538]
        at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
        at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:340) ~[?:?]
        at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:282) ~[?:?]
        at java.util.jar.JarVerifier.processEntry(JarVerifier.java:321) ~[?:?]
        at java.util.jar.JarVerifier.update(JarVerifier.java:234) ~[?:?]
        at java.util.jar.JarFile.initializeVerifier(JarFile.java:762) ~[?:?]
        at java.util.jar.JarFile.getInputStream(JarFile.java:845) ~[?:?]
        at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProviderFactory.create(SpigotPluginProviderFactory.java:36) ~[paper-1.19.4.jar:git-Paper-538]
        at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProviderFactory.create(SpigotPluginProviderFactory.java:16) ~[paper-1.19.4.jar:git-Paper-538]
        at io.papermc.paper.plugin.provider.type.PluginFileType.getConfig(PluginFileType.java:77) ~[paper-1.19.4.jar:git-Paper-538]
        at io.papermc.paper.plugin.provider.type.PluginFileType.register(PluginFileType.java:70) ~[paper-1.19.4.jar:git-Paper-538]
        at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:57) ~[paper-1.19.4.jar:git-Paper-538]
        ... 20 more

To Reproduce
Install on paper 1.19.4

Expected behavior
no error and ability to enable

Lock rotation for disguises

Suggestion

Add a way to set and lock rotation (pitch / yaw) to a set value for disguises.

Why?

You can already know if a disguise is rotation locked but you can't actually lock its rotation... (maybe you've already added it but i haven't found any mention of that on the sk unity docs or skript hub docs...)

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.

[BUG] Server Don't Start

Skript/Server version
Skript tested ver. : 2.7.0 Beta 3 and 2.6.4
Server ver. : Spigot 1.19.2

Installed plugins:

  • Skbee
  • Skrayfall
  • skript-gui
  • SkQuery
  • Skellett
  • SharpSK

ALL DEPENCIES OF DISKUISE IS INSTALLED

Describe the bug
The server isn't start if plugin is installed

To Reproduce
install diskuise and her depencies and done !

Screenshots
image

[BUG] Missing enums in .lang

Skript/Server version
2.7.0-beta2 on paper 1.19.4

Describe the bug

[19:20:33 INFO]: [Skript] Missing lang enum constant for 'paintingarts.EARTH'
[19:20:33 INFO]: [Skript] Missing lang enum constant for 'paintingarts.WIND'
[19:20:33 INFO]: [Skript] Missing lang enum constant for 'paintingarts.WATER'
[19:20:33 INFO]: [Skript] Missing lang enum constant for 'paintingarts.FIRE'
[19:20:33 INFO]: [Skript] Missing lang enum constant for 'paintingarts.EARTH'
[19:20:33 INFO]: [Skript] Missing lang enum constant for 'paintingarts.WIND'
[19:20:33 INFO]: [Skript] Missing lang enum constant for 'paintingarts.WATER'
[19:20:33 INFO]: [Skript] Missing lang enum constant for 'paintingarts.FIRE'

To Reproduce
Install the plugin

Expected behavior
enums to be in the lang file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.