#Using skript as Plugin?

1 messages · Page 1 of 1 (latest)

grave cave
#

I am making a bloodmoon skript which has classic specifies

#

I want to use it with LevelledMobs but it only dedects as the ss below

zinc otter
#

use skript-reflecg !:jjxxxzz 🤤

grave cave
zinc otter
#

what are you trying to do

#

check if a mob is a mob of blood night?

grave cave
#

yes

zinc otter
#

why not just use that method instead of dealing with pdc

grave cave
#

I have my own bloodnight skript

#

I want to use it on LevelledMobs plugin

#

but it seems like the bloodnight event is only for the bloodnight plugin

#

and I am asking for the

zinc otter
#

oh

#

do you know java?

grave cave
#

not much

#

scripts are better for me

zinc otter
#

ok ill explain skript-reflect in 1 message

#

importing a class:

import:
  me.eren.package.Class

subclasses require $ sign
me.eren.package.Class$Subclass

#

everything else is same as java

#
set {_server} to Bukkit.getServer()
{_server}.doStuff()
#

just no ;

grave cave
#

yeah I know these

zinc otter
#

whats the issue then

#

new NameSpacedKey(plugin ...) part?

grave cave
#

I am confused

zinc otter
#

i meant if you know reflect whats the issue

zinc otter
grave cave
#

prob I can't

#

i'll talk with the LevelledMobs devs

#

the main problem is there is nothing i can import

zinc otter
#

where the hell is ExternalCompatibility.BLOOD_NIGHT coming from

#

there is no such class

grave cave
#

it's working on pdcs

#

as I said first

#

I was trying to do using same pdcs as bloodnight plugin

#

in script

#

so it'll work as plugin

#

but seems not possible

zinc otter
#

it doesnt have to be a plugin (probably)

grave cave
#

how then

zinc otter
#

you could get it to work but it would be too much work

#

easier to just fork it and edit it

grave cave
#

I don't think my java knowledge is enough for it

#

I already talk with the levelledmobs devs

#

they said the developers like me will be able to import levelup-system for their plugins