#Classes blocked by default requires allowing them? What classes are blocked?

9 messages · Page 1 of 1 (latest)

brave wrenBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

gloomy laurelBOT
#

[➤](#boots message)
Some things you do require access to classes that are blocked by default, but never fear! You can disable that!
kubejs/config/common.properties –> disableClassFilter –> true

This will not unblock classes that are explicitly excluded, such as java's networking and file management classes.

zenith fjord
#

Oh, the link was deleted out of it by Gnome

#

@stable bear What classes are blocked?

#

Classes blocked by default requires allowing them? What classes are blocked?

stable bear
#

This is the default KubeJS class filter.
- before the name of a class/package means that class/package is forbidden.
+ before the name of a class/package means that class/package is allowed if it has been forbidden before.
https://github.com/KubeJS-Mods/KubeJS/blob/4829f956837d50d44dc20e06d06c01028373e57c/src/main/resources/kubejs.classfilter.txt

GitHub

Contribute to KubeJS-Mods/KubeJS development by creating an account on GitHub.

#

All classes ARE allowed by default unless explicitly forbidden by the class filter of KubeJS or any addons

stable bear
#

Having to explicitly disable the class filter was a thing in 1.18.2 KubeJS, idk about 1.19.2 KJS, 1.20.1 KJS allows all classes that aren't explicitly forbidden, same for 1.21.1

zenith fjord
#

Thanks