#Open Denizen Discussion Thread

1 messages · Page 12 of 1

low night
#

That as well lol

spiral veldt
#

Makes sense. I didn't know that was a thing GH does lol.

low night
#

There were talks about a lesser showcase channel as well

spiral veldt
#

Wait that's not gh XD

old venture
cursive tide
#

my scripts made it up there so you know there is no quality standard kekw_dog

graceful laurel
#

same here kek

soft pewter
#

Dont be so hard on yourselves, you are both awesome scripters

rough lark
#

nobody's as bad as me

#

i write 3 lines and get distracted and do nothing for the rest of the week

grim quail
#

I haven't posted much or anything unless I know I can do it and as best as it can be. The problem is I'll keep adjusting it because I don't feel like it's presentable to it's highest standard.

grim quail
#

I didn't ask for a personal attack.

low night
#

Anything i make is presentable as long as I don't want to stab my eyes from the code

mossy egret
old venture
#

if your code is spaghetti then mine would be pre-frozen, re-heated, soggy french fries or some other nasty "food"

foggy gorge
#

make script that makes bat often decide to go off and bite people for a few ticks or two of poison

#

thank <3

grim quail
#

I actually want that.

#

They're really annoying to hit as-is.

grim quail
#

TIL you can include color codes into tab completion determinations.

low radish
#

when they added that, if you used em, it will instantly kick you for sending illegal characters. Don't know if they've fixed that since

grim quail
#

Let's find out.

#

It still does.

#

But I'm a little out of date, but I bet it kicks on current paper.

#

It's useful to display for null entries, so you can go <&c><bold>NO DATA in the determination list.

mossy egret
foggy ember
#

Pretty sure there is a proper system for that in Brigadier

#

Displaying hints above args & client-side arg checking (I.e. instantly getting errors instead of having to run the command and get it checked by the server)

foggy gorge
sinful spindle
#

lmao

#

I tried for many many dozens of minutes to wrangle the tab complete suggestor into doing what i wanted and I never managed

tidal cave
#

where da extension for vscode at?

cursive tide
tidal cave
#

thanks

#

thats what i like to see not a "!makepost"

#

W community

cursive tide
#

Well now you are going to get me in trouble 😂

tidal cave
#

oh frick, he helped me instead of annoying me PRISON HIM!!

graceful laurel
unkempt torrent
#

@fossil steeple warn @tidal cave serious rule 9 - asking questions in discussion channels, ignoring their history about asking support questions in discussion channels

fossil steepleBOT
#
Warning Recorded

Warning from @unkempt torrent to @tidal cave recorded.
Reason: "rule 9 - asking questions in discussion channels, ignoring their history about asking support questions in discussion channels"
User has 1 previous warnings.

unkempt torrent
#

I have to mute you the next time you're ignoring this rule. This happened too many times before.

foggy ember
low night
#

many of my questions have already been previously answered by a thread so it's much quicker to find your answer as well that way

#

and if not, you make it quicker for others who will have that question in the future

tidal cave
#

NAAAA

rare mojang WWW

tidal cave
unkempt torrent
#

@fossil steeple warn @tidal cave instant_mute trying to pull up a fight additional ref: #edit-logs message

fossil steepleBOT
#
Warning Recorded

Warning from @unkempt torrent to @tidal cave recorded.
Reason: "trying to pull up a fight additional ref: https://discord.com/channels/315163488085475337/358800231598653440/1204887488238325810"
User has 2 previous warnings.

#

User @tidal cave has been muted automatically by the warning system.
(Attn: @low radish)

Mute Notice

This mute was applied by moderator request (INSTANT_MUTE). You may not speak except in the incident handling channel. This mute lasts until an administrator removes it, which may in some cases take a while.
Any user may review warnings against them at any time by typing @ModBot listwarnings.

grim quail
#

Whoops* Goodness, I hope to see more actual discussion.

foggy gorge
#

that sounds wild

old venture
#

safe fall distance is also wild

old venture
foggy gorge
#

goes hand in hand imo if that gravity effects players

old venture
#

block break speed attribute 🤤

foggy gorge
fleet kernel
#

HOLY SHIT HOYL SHIT SHOLY SHIT @graceful laurel

#

THIS IS LIT

#

yooo we can also stop jumping entirely now too

grim quail
fleet kernel
grim quail
#

Well, through better means.

#

Isn't it a bit complicated like having to do faking the block breaking animation and stuff?

#

Although this might deserve it's own thread because I know it's been asked a million times before.

grim quail
#

By writing my own custom event I'm now able to properly check when the player actually equips an item and even block it as necessary, having full control over things like this pleases me.

sinful spindle
#

you could just add the enchantmnet

grim quail
#

Oh you know what, I'm thinking of making mining faster per specific materials.

#

And making mining work on specific ores. Ex: Custom pickaxe mining diamonds, despite the material being stone.

#

Which would require it's own thread.

dawn flower
sinful spindle
#

will be very very slow

grim quail
#

I mean yeah.

sinful spindle
#

Oh, i assumed your point was to have it be as fast as a tier-appropriate pickaxe

grim quail
#

That too.

#

Both preferably.

dawn flower
#

honestly can't wait for the block speed attribute it seems very fun to play around with

pine horizon
#

yo im new with denizen and idk how to script paper when you right click in air with, it transform into bone meal can someone help me ?

weary mothBOT
# grim quail !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

pine horizon
#

ok i created it

foggy gorge
#

so now my tablist has online players in-game and the discord's presence lol

#

looks like it also just has everyone's pfp

#

eheheh

#

@dusky dust that stache' was a hilarious add btw

dusky dust
#

thanks i worked very hard on it

foggy gorge
#

masterpiece

old venture
#

heh

old venture
glass fog
#

is this all with animating armor stands or is it citizen npcs?

low night
#

My guess is a bit of both but now you'd be using display entities instead armor stands aren't the best thing to use anymore

#

Could definitely do a boss purely in denizen tho

#

I made one that used citizens for pathfinding and targeting

rough lark
#

i keep writing this expecting it to work in denizen
- for item in <[...]>:

quartz wraith
#

honestly i like that syntax better

wild cosmos
#

we def should get an allias for "foreach" as "for"

grim quail
#

True.

unkempt torrent
#

how do we write when iterating through a map

sinful spindle
#

for key|value in <[map]>

#

presumebly that'd be the denizen translation

old venture
#

nono thats way too real code-y

foggy ember
old venture
#

denizen's whole shabang is to be non programmer/coder friendly

quartz wraith
fleet kernel
#

for key,value in <[map]>

#

oh

#

thats lua syntax

#

isnt it

rough lark
#

python

#

kinda

#

for key, value in map

grim quail
#

Yeah it's close to lua

rough lark
#

maybe for denizen, uh

grim quail
#
for k,v in ipairs(player.Getall()) do
  print(v)
end
rough lark
#

for key=value in <[map]>

#

since key=value is very well established

fleet kernel
rough lark
#

so does your mo- nevermind jk

graceful laurel
#

lmao

rough lark
#

i am not suggesting denizen really needs a new foreach syntax, i just keep on punching in python because of monky brain

graceful laurel
#
- for thing in thing [
  - do thing
]
fleet kernel
#

honestly how bad of a syntax can we make

graceful laurel
#

time to move to #1098024603756015726

#

(:

sinful spindle
#

commas don't denote anything in yaml

reef wharf
#

for k, v in pairs(table)

#

Oh, lol legacy already did that

old venture
#

people choose denizen over java because its easier

mossy egret
#

if im gonna be completely honest

#

i prefer java as a language but i prefer denizen for its workflow and api

graceful laurel
#

agreed

mossy egret
#

no way, i have emotional validation

#

my ideal denizen is one that is closer to a C-style language, but i know not everyone likes that

graceful laurel
#

lol c# is cool but a good few parts are confusing to me

#

not sure about c though, don’t think I’ve ever touched it

sinful spindle
#

denizen being easier to learn than, say, java doesn't mean that somehow who knows java is going to struggle with denizen

mossy egret
graceful laurel
#

real

glass fog
low night
#

modelengine uses display entities now and so does the denizen version of it

#
old venture
#

no way

#

does this mean that dmodels can finally handle a ton of models hanging around?

glass fog
low night
#

blockbench is its own program so would want to learn that first if you have trouble on the denizen side you should definitely make a post in #1026104994149171200 though

glass fog
low night
#

should make a post for that one

dusky dust
foggy gorge
#

part of me is wondering if this would be useful or if it's too tiny

soft pewter
#

Maybe it can expand

grim quail
#

Is that a custom ui or is that actually the stone cutter.

foggy gorge
#

i slapped a /ex narrate <element[copy].on_click[<server.material_types.filter[name.contains_text[stairs]].parse[name.to_lowercase].parse_tag[<script.parsed_key[data.scripp].separated_by[<n>]>].separated_by[<n>]>].type[copy_to_clipboard]> copypasta into a script to generate it

#

so now i just have 56 item scripts of just stairs >.> lol

grim quail
#

So I'm a bit confused.

foggy gorge
#

?

grim quail
#

I never used the stone cutter before, how is this different from vanilla?

foggy gorge
#

i was thinking about using it for a UI for a custom one with a scrollbar

#

my /ex wouldnt have worked i just realized/forgot copying it out of the script i had

grim quail
#

Ah.

#

That'd be smart.

#

Wait does stonecutter even support inventory script containers? Because that'd probably help.

hallow scaffold
#

can someone please short test the following command?
/ex modifyblock <player.cursor_on> SOUL_FIRE

#

soul_fire is not working on my side

#

ah okay, it needs soulsand under it... strange

thorn bone
hallow scaffold
#

yepp, you are right - my fault

foggy ember
#

No, you should use VS code for Denizen scripting

shy remnant
#

hey whats the command for custom achievements?

soft pewter
weary mothBOT
# soft pewter !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

foggy gorge
sinful spindle
#

What does it look like if you put a redstone torch on top of a receiver?

soft pewter
#

i love the different block textures and the inventory UI

soft pewter
#

that's so cool!

foggy gorge
#

OH

#

i see what you meant inq lol

#

it doesnt deactivate it but uh

#

i should make that a thing

foggy gorge
thorn bone
#

oh. they do .blocks_flagged[].within[]?

foggy gorge
thorn bone
#

try to plug tick machine to transmitter

foggy gorge
#

maybe tomorrow SCchomp

#

i hate that message so much

#

it makes me want to do everything offline localhost

#

ill let you know what a tick machine does to it lol

thorn bone
#

I saw mods that can refresh your session from the game

foggy gorge
#

this was odd to see from google

#

oh god, it gave me the links to Denizen/0.7 lol

#

evolution did a great job within denizen kekw_dog

low radish
#

"Narration", "Fail", ...

#

it, uh, sure tried

sinful spindle
#
on player jumps:
- fail

lgtm

thorn bone
#
on player poops:
- if <player.age> > 30:
  - fail
old venture
pulsar dagger
#

Can you flag vanilla items?
Ill do a /ex flag <player.item_in_hand> test:true

then try to show it with /ex narrate <player.item_in_hand.flag_map>
but it returns an empty map.
It seems like I can flag items in a chest but as soon as I take it out of the chest the flag is gone.

grim quail
#

!makepost

weary mothBOT
# grim quail !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

fleet kernel
#

im so mad

#
- define newList <list>
        - define endLine 0

        - foreach <[item].lore> as:term:
            - if <[term].equals[<empty>]>:
                - define newList:->:<empty>
                - define endLine <[loop_index]>
                - foreach stop
            - narrate <[term]>
            - define newList:->:<[term]>

        - foreach <[data.stats]> key:key as:stat:
            - define newList:->:<[item].lore.get[<[loop_index].add[3]>].replace[<[statData.<[key]>.ss]>].with[<util.random.int[<[stat.min_range]>].to[<[stat.max_range]>]>]>
        - narrate <[endLine]>
        - foreach <[item].lore.get[<[endLine]>].to[<[newList].size>]> as:term:
            - narrate <[term]>
            - define newList:->:<[term]>


        - define sortedList <[newList].sort_by_value[length]>
        - define top <[sortedList].reverse.first.length>
        - define listy <list>

        - define newItem <item[<[item]>].with[lore=<[newList].deduplicate>]>
        - give <[newItem]>
#

i wrote all this code

#

FOR IT TO JUST BE THE

#

!t listtag.set

weary mothBOT
fleet kernel
#

😭

old venture
weary mothBOT
# old venture !t listtag.set.at

Returns a new ListTag with the items specified inserted to the specified location, replacing the object already at that location.
Note the index input options described at !objecttype listtag

Returns

ListTag

Examples
# Narrates a list of "one|potato|three"
- narrate <list[one|two|three].set[potato].at[2]>
# Narrates a list of "one|potato|taco|hotdog|three"
- narrate <list[one|two|three].set[potato|taco|hotdog].at[2]>
old venture
#

LOL

dreamy orbit
#

was checking all my old scripts and noticed that i was checking the on player block break event 7 times in 7 different scripts pikasurprise

#

horrifying

wild cosmos
dreamy orbit
#

nha they where working fine

#

but i just modified everything like this now

#

more clean

wild cosmos
#

i think it will just be harder to debug / maintain 🤷‍♂️

lament verge
#

this is why I fire most of my event in a custom event

#

just to get them organized

foggy gorge
#

i try to practice making sure if im listening to an event like player does x, i try to make sure it doesn't fire when other things would anyways and only cancel it then

#

that and cause i prefer them be explicitly all in their relevant files lol

fleet kernel
dreamy orbit
#

and i have already placed various debug strings commented out in various places of the sub-scripts

foggy gorge
#

in the rare case something goes wild and i cant for the life of me believe an event is behaving the way it should, i use /denizen debug -o to see if anything else is happening + make use of a localhost and isolate lol

unkempt torrent
#

if you do not put everything into a single event you can make use of switches, cancelling events, script priority + bukkit priority

#

ie your script event currently fires everytime

sinful spindle
#

Consolidating events is not helpful

#

it doesn't help performance or organization unless something is going very wrong already

foggy gorge
#

i use an on server ping for a random flavorful motd for my server, and i have two server listings to make sure both play.behr.dev is working and have 192.168.1.19 for a 0ms ping connection - interesting to see they ping separately though lol

#

!event server list ping

weary mothBOT
# foggy gorge !event server list ping
Group

Server

Event Lines

server list ping

Triggers

when the server is pinged for a client's server list.

Context

<context.motd> returns the MOTD that will show.
<context.max_players> returns the number of max players that will show.
<context.num_players> returns the number of online players that will show.
<context.address> returns the IP address requesting the list.
<context.hostname> returns an ElementTag of the server address that is being pinged. Available only on MC 1.19+.
<context.protocol_version> returns the protocol ID of the server's version (only on Paper).
<context.version_name> returns the name of the server's version (only on Paper).
<context.client_protocol_version> returns the client's protocol version ID (only on Paper).

Determine

"MAX_PLAYERS:<ElementTag(Number)>" to change the max player amount that will show.
"ICON:<ElementTag>" of a file path to an icon image, to change the icon that will display.
"PROTOCOL_VERSION:<ElementTag(Number)>" to change the protocol ID number of the server's version (only on Paper).
"VERSION_NAME:<ElementTag>" to change the server's version name (only on Paper).
"EXCLUDE_PLAYERS:<ListTag(PlayerTag)>" to exclude a set of players from showing in the player count or preview of online players (only on Paper).
"ALTERNATE_PLAYER_TEXT:<ListTag>" to set custom text for the player list section of the server status (only on Paper). (Requires "Allow restricted actions" in Denizen/config.yml). Usage of this to present lines that look like player names (but aren't) is forbidden.
"MOTD:<ElementTag>" to change the MOTD that will show.

foggy gorge
#

"ICON:<ElementTag>" of a file path to an icon image, to change the icon that will display.
time to randomize that next kekw_dog

foggy gorge
#

oh nooo it isnt the same for the proxy lol and i just made eight icons for st patties day

grim quail
#

What the hell are those.

limpid nest
#

(yes or no question) Can I make a chat manager with denizen, e.g. /chatcolor, if someone says a word to not send it, prefix, etc etc

unkempt torrent
#

Yes

graceful laurel
#

speaking of /chatcolor

thorn bone
#

Did you know villagers have inventory?

#

And you can't open it, because it has size 8

#

Villagers secret inventory

weary mothBOT
# grim quail !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

old venture
graceful laurel
#

imma go eat then get to it :)

hallow scaffold
#

there is no example for teleport with relative_axes :/

foggy ember
dreamy orbit
#

Imagine discovering only now procedure scripts pikasurprise

grim quail
#

How... were you returning results before?

old venture
#

i dont blame. i did know what a proc was but just never understood it. only used it more than a year after being introduced to denizen

sinful spindle
#

I can only think of 2 or 3 times i've ever had cause to use one

low night
#

they're pretty helpful but denizen has almost everything i need with tags lol

dreamy orbit
#

But i think i Will implement some in my xp system

old venture
#

i use them for even simple stuff.

#

<player.flag[root.map.submap.submap.key].to_lowercase> or something? nah, just <player.proc[something]>

sinful spindle
#

When people post overly abstracted scripts like that, i don't even try to read them lol

grim quail
#

I guess it's context is important to why you need a procedure.

#

If you're doing same logic in a lot of scripts then a procedure is probably best.

#

Or if you want things to look cleaner.

#

Or maybe even writing a utility procedure that you might be using later.

sinful spindle
#

the former, yes

#

If you have the same code more than twice in a script, it's generally a good idea to abstract it away into a task or proc

#

'looking' cleaner is kind of a weird thing to want

#

It actively makes the script harder to read to no advantage

dreamy orbit
#

As soon as i get home from my vacation i Will probably have a look in my scripts if i can simolify something with procedures. But i think i Will really Need them only in my custom profession leveling system.

#

Good night 🦎

hallow scaffold
#

question for ya all, what kind of proxy version do you all use?
simple bungeecord? waterfall? flamecord?
there is no velocity support für depenizen :C

unkempt torrent
#

bungee if even

foggy gorge
#

it's a golden standard that really has never had a reason to be gone away from

hallow scaffold
#

i was using waterfall all the time since start...

#

now i checked for velocity, - but without depenizen, i didnt take a step

foggy gorge
#

paper recommends you do not anymore

unkempt torrent
#

iiirc waterfall was like bungee but was just created for the sake of having a fork?

hallow scaffold
#

xD

unkempt torrent
#

yeah here its in their readme

hallow scaffold
#

i think velocity will be the new standard in the future...

foggy gorge
cosmic tide
#

Using forks just for the sake of saying you do is kinda useless

#

Kinda like compiling an open source plugin except changing the name of it to fit your server's name

foggy ember
# foggy gorge probably not, just another waterfall

I will say that velocity isn't completely useless or anything - it does have certain advantages, but (not that I'm an expert or anything, but from what I've personally seen) generally don't make as much of a difference vs using Bungee for the average server

#

I.e. unless something drastic happens, if you're not you're running a massive server/have a very specific use-case or anything like that, you're probably fine just using Bungee

hallow scaffold
#

I want the better security from velocity, the only problem is depenizen

unkempt torrent
#

security?

cosmic tide
#

Its all the same

tepid hull
#

A while ...

old venture
#

holy 6+2/3 years

hallow scaffold
#

someone already have bungee chat over denizen?

old venture
#

bo'o of wa'a

lone pivot
#

Hello, guys! I'm new in Denizen. Can I learn denizen well from the Denizen Beginner's Guide?

grim quail
#

Generally, yes.

#

!guide

weary mothBOT
foggy ember
#

Yeah, it's meant specifically for that :p, feel free to make a post here if you need any help going through it and we'd love to help you out!

lone pivot
#

What is define? How to use it?

unkempt torrent
#

That's explained in the guide

#

that was linked to you earlier

lone pivot
unkempt torrent
#

!makepost

weary mothBOT
# unkempt torrent !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

unkempt torrent
#

Could you make a post then for your questions please?

fleet kernel
#

at what point does denizen think its a 0

#

0.000000000000000000000000000000001 like

#

should make a post

graceful laurel
#

that sounds like an excellent forum post question

#

yay there it is

raven barnBOT
#

+> YAY!!!

lone pivot
#

can I speak russian? / можно разговаривать по-русский?

cosmic tide
#

No

#

English only

lone pivot
#

Which is better: Java or Denizen?

#

Что лучше: Джава или Денизен?

foggy ember
#

E.g. Denizen is usually easier to learn and use, Java might be easier for integrating with existing plugins if Denizen doesn't have an existing integration for them (although with newer reflection tooling and such you can do that using Denizen pretty well) - overall just use whatever you prefer

mossy egret
#

Personally I far prefer Java as a language itself, but not a big fan of the build-restart-test workflow, or having to make sure your plugin works across versions, nms, and other stuff that make it really inconvenient

mossy egret
#

Also I forgot to mention but editor language support for Java to me is much better

thorn bone
old venture
#

thats a ping

#

your id is 254628717526122506

if i do <@ 254628717526122506> it'd ping you

flint swallow
#

Good evening! Does anyone know how to make falling blocks in denizen? For example, a tree fell after you approached it closer than 5 blocks

foggy ember
#

Should make a post for your question

flint swallow
#

sorry, please

fleet kernel
feral stirrup
#

Anyone have any cool potion concepts? I feel like I'm in a rut trying to come up with more. I'm trying to fill out a brewing system with some more stuff. Rn I have:

Potion of Experience Gain
Potion of Bee Friendship
Potion of Diamond Vision
Potion of Gold Vision
Potion of Neterite Vision
Potion of Diamond Vision
Potion of Smithing (xp back when smithing)
Potion of Iron Vision
Potion of Experience Gain
Potion of Bee Attraction

Plus all the usual longer/stronger/unused effects.

soft pewter
#

Potion of Axolotl/Dolohin (makes you swim fast)

#

Potion of the Baker (when making items like cakes or cookies it gives you a random amount)

#

Potion of Shulker (attacking another entity will cause it to fly)

feral stirrup
#

Already have dolphin's grace, those other two are chef's kiss

cosmic tide
#

When Denizens 1.20.5

#

Its been so long omg

old venture
sinful spindle
#

Next #1204239476897878036 prompt?

old venture
#

potion of momentum: makes you move like you're walking on ice

#

absolutely no clue if thats doable or not but its a cool idea

graceful laurel
unkempt torrent
#

or vanilla tags maybe probably

feral stirrup
#

Thanks for all the great ideas all!

hallow scaffold
#

Is there a performance difference between using <context.item> in a click event or just using <player.item_in_hand>?

graceful laurel
#

a wonderful post question

hallow scaffold
#

sometimes i just think, hey - why open up a thread for just one little question to get a yes or no :/

dawn flower
#

your question needs more context to be answered

#

eg what event are we talking about

hallow scaffold
#

item click on block event, already wrote it

dawn flower
#

then use context.item

#

I think it can fire for main and offhand

#

I haven't tested with empty mainhand and item in offhand without a switch tho

#

Without a switch either tag would work, but personally I'd use <context.item>

#

But yeah open a post next time, not every question has a yes/no answer including this one

weary mothBOT
# foggy ember !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

old venture
#

working w sentinel is so wonky, like wdym i have to -execute sentinel commands instead of there being an innate denizen command for it

#

but also the high level of wonkyness makes it fun lmao

fleet kernel
#

it should be built in

low radish
#

plis PR sentinel NPC mechs into Depenizen

graceful laurel
#

go dax go

fleet kernel
graceful laurel
#

ask the monkey

low radish
#

!guide contributing

weary mothBOT
dry lily
#

how long until the first 1.20.6 build? im not impatient, just asking

#

like 1 day or 1 week

foggy ember
#

The PR is open and being worked on, so should hopefully be soon - it's got a whole bunch of breaking changes from several different places, so it's taking a bit longer than usual

dry lily
#

alright

#

ty

dry lily
foggy ember
#

Yep

dry lily
#

yayyyy

raven barnBOT
#

+> YAY!!!

dry lily
foggy ember
dry lily
#

no i meant it completely doesnt work

dry lily
#

but you said a few features are broken, not the entire plugin

#

maybe im blind sorry

foggy ember
#

Denizen currently doesn't start on Paper due to some recent changes
Paper made changes to things Denizen used to check the server version, so currently it only works on Spigot until we can update that

dry lily
#

oops

dry lily
#

sry i forgot to disable ping

unkempt torrent
#

1.20.6 is a new version and denizen dev builds were just updated, please have some patience

mint summit
#

I am really excited for what will be capable with 1.20.6+ & Denizen :D

old venture
#

yayy i'm so excited to find out what the error in my script is 😑

raven barnBOT
#

+> YAY!!!

graceful laurel
#

yay

raven barnBOT
#

+> YAY!!!

cosmic tide
#

Wooo

old venture
#

what was the method for doing rpg style healthbars on mobs again? attaching or mounting?

#

i vaguely remember attach being wonky

#

and mounting having a considerable delay

grim quail
#

It use to be mounted armor stands, but I use mounted text displays.

dark hill
#

Out of curiosity, how did you get around Minecraft hiding custom name tags for mounted entities? Or did you only have them applied to mobs that wouldn't have a custom name?

grim quail
#

There are mechanics for custom entity names, but this deserves it's own thread.

old venture
#

!update

weary mothBOT
#
Update Paper

Paper is a higher-performance alternative to Spigot that is 100% compatible with the equivalent Spigot version. It's much easier to update than Spigot itself, and carries a lot of performance and quality-of-life benefits.

Latest Paper builds are at https://papermc.io/downloads/paper.

(If you would prefer to use a Spigot build, refer to !update spigot).

grim quail
#

No need to use these in discussion channels.

final pier
#

Hello to everybody
Denizen supports 1.20.4?

#

Nvm I found the answer

frozen portal
#

is it possible to make an in-game denizen editor using denizen script or a plugin?

sinful spindle
#

technically, yes, but there's no point

#

further on this goes into a thread

fleet kernel
#

was it mergu?

dawn flower
#

#showcase message

sullen bay
#

Actually, it appears you can't write any file within the script folder, regardless of the config's security settings

#

Actually, you can write any file you want using that simple tweak in your config file:

Commands:
  General:
    Allow unrestricted file access: true
    Confirm allowing unrestricted file access: true
    Unrestricted file access is very bad and dangerous are you sure you want that: true
#

The best part of open source is you get all the keys to be stupid

#

Anyways, the point is: no, you can't make anything that automates or messes with scripts in any way excepts if you turn off all file system securities as a whole which (based on the config keys) isn't recommended

#

(considering the fact i.e. Mergu's solution doesn't "edit scripts", but rather "mocks them", which is not a denizen editor as per the question)

sinful spindle
#

I feel like you missed the point of what i said

#

I wasn't encouraging trying it

old venture
#

damn nice clean 24.000

sullen bay
old venture
#

my pc slow

white plume
#

hi guys, have been searching far and wide on the web, can anyone please recommend any Reliable super newbie latest tutorials on denizen scripting? Ive got everything in place like vscode connected to a server etc just need a tutorial on how to start scripting to kick it off with... any help will be massively appreciated ❤️

unkempt torrent
#

!getstarted

weary mothBOT
unkempt torrent
#

The guide teaches you the start and everything else :D

white plume
#

really appreciate it 🙂 may I jump right into what Im mostly after? I need to create dialogues and set up quests, will those links help me figuring out how to do that? x

unkempt torrent
#

Yes, that's also part of the guide. I would recommend you going it through page by page.

#

So you get all the info you need to write fancy dialogues

white plume
#

thank you 🙂 u r awesome, much appreciated! 😊 🙏

cloud sigil
white plume
#

please teach me 😄

#

better yet, come play with us be part of the team 😄

#

u'll be an appreciated part of the team 😄

#

Ive started reading but need to take a break

graceful laurel
#

have also done that

#

did not go well lol

white plume
#

its a long shot but honestly, anyone who would like to teach me? I'm a good learner, very committed 😄 came this far!

cloud sigil
#

The guide is amazing, start out with that

white plume
#

understandable 🙂

cloud sigil
#

If you then have any questions:

  1. go to the docs and type in keywords of what you want to do and read it
  2. found nothing? Go to this discord and search for previous messages that handle the same issue/question (sometimes faster than waiting for a response)
  3. found nothing? Ask here 🙂
white plume
#

thanks, will do 🙂

white plume
#

not sure where to ask this, would like a dialogue with choices, found this, trying it out but it doesnt work, what is wrong with it pls? I did change the npc ID to the correct one

npc_dialogue_with_choices:
type: interact
steps:
1:
click trigger:
script:
- if <npc.id> == 0:
- narrate "<npc.name> says: 'Hello, Adventurer! Welcome to this area, would you like to hear the story that is tied to this place?'"
- wait 2
- narrate "<&a>Yes<&f> or <&c>No"
- wait 1
- narrate "Click on Yes or No in the chat to respond."
- wait 2
- narrate "<hover:show_text:"Click to say Yes">click:run:yes_responseYes</click></hover> <hover:show_text:"Click to say No">click:run:no_responseNo</click></hover>"

yes_response:
type: task
script:
- narrate "<npc.name> says: 'Great! Here is the story...'"
- narrate "Once upon a time, this land was ruled by..."

no_response:
type: task
script:
- narrate "<npc.name> says: 'Alright, feel free to explore the area on your own.'"

unkempt torrent
#

!makepost

weary mothBOT
# unkempt torrent !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

unkempt torrent
#

Oh, I thought it has some form of tutorial, how to.

white plume
#

I wish

unkempt torrent
#

Well, click on #1026104994149171200 and then you can create one at the top.

white plume
#

hope thats better. 🙂

unkempt torrent
#

Yep :D

sullen bay
#

Is there generally an issue with storing large amount of data in flags ?

#

i.e. storing the archive of players' inventories everytime they die

#

(which can be pretty huge as they keep on dying with complexe items)

#

in the end there'd be some kind of cache busting, but the question is how frequently it should happen and if the "ok-threshold" is 5, 50 or 500 inentories

unkempt torrent
#

pspsps

#

!makepost

sullen bay
#

😭

#

!makepost

weary mothBOT
# sullen bay !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

sullen bay
#

But it's just a yes/no question!

old venture
#

minecraft native support for circular momentum when

sinful spindle
mossy tide
#

Hey @dawn flower thanks for the help with telling me Item_Display scaling actually worked I feel so dumb since I didn't have to go through all that trouble since I was impatient to wait for stuff to be ironed out. <3

dawn flower
#

That looks super cool by the way

foggy gorge
#

@fleet kernel i want to see your vscode theme

#

ples SCblushy

graceful laurel
#

hmmm

#

i have an idea

foggy gorge
#

yup lol

hallow scaffold
#

june 13. is releasedate for 1.21

foggy gorge
#

mojingles will surely find a way to make this funny lol

fleet kernel
#

home

#

remind me in 5 hours

old venture
graceful laurel
#

lol

fleet kernel
#

@foggy gorge

#

oh

#

wrong channel

foggy gorge
dreamy orbit
#

it's been 2 days since last response on one of my posts, if i ping the staff member that was helping me do i get annihilated? 💀
it's a kind of important info i need since it will decide the crafting system of my server.

foggy gorge
#

ie, if i were to ask "whats the tag for x? @ icecapade" - thats not very appropriate, because anyone can attempt to answer

#

a gray area would be moreso "hey @ icecapade, you and i talked about this before, whats the tag we used again?"

#

its just about consent, really

#

ill also mention, your question is hard lol

dreamy orbit
#

bdw still not answered my post but i kinda understand why, noticed that my issue got mentioned in the Denizen contrib channel so i assume it's something more complicated that it seems to me at first glance.

dreamy orbit
foggy gorge
#

yeah its one of those "shit, i have to log in and actually test wtf is going on to figure this out" kinda questions lol

dreamy orbit
#

luckly i managed to find a way around that issue it seems. i decided to not use mmoitems anymore for giving items to players. this way all the items will stack since i will use denizen for that.

#

i created a container and noted it. inside are all my custom items and i will give them calling the itemtag reference from that

#

and luckly mmoitems seems not to bother since all the nbt tags are the same

#

items will not stack this way too since it's how denizen parse the item but not an issue anymore i hope this way.

cloud sigil
#

Why are some denizen commands named the most confusing things lol
I wanted to summon lightning so I thought "hmm maybe there's a -smite nope, what about -thunder, nope... what about -lightning, nope..." turns out it's - strike

#

who the heck came up with strike

#

Same for giving someone the nausea effect. Why is it called confusion lmao

dark hill
#

To be fair, the strike command does show up when searching for "lightning" - it has a search synonym configured for it.
And is nausea not just nausea for the effect?

foggy ember
#

^

#

!s lightning

weary mothBOT
# foggy ember !s lightning
Search Results

[Partial Name Match] !Event lightning strikes,
[Perfect Synonym Match] !Command strike,
[Semi-Strong Match] !Event pig zapped, !Event creeper powered because cause,
[Semi-Decent Match] !Language enchantment script containers.

foggy ember
cloud sigil
cloud sigil
unkempt torrent
#

!e pig zapped

weary mothBOT
# unkempt torrent !e pig zapped
Group

Entity

Event Lines

pig zapped

Triggers

when a pig is zapped by lightning and turned into a pig zombie.

Context

<context.pig> returns the EntityTag of the pig.
<context.pig_zombie> returns the EntityTag of the pig zombie.
<context.lightning> returns the EntityTag of the lightning.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

True - this adds <context.cancelled> and determines cancelled + cancelled:false.

cloud sigil
#

I wouldnt be surprised if they also used an "electrocuted" tag somewhere instead of any of the other million different synonyms for lightning

#

just to purposefully confuse players

foggy ember
#

We're not trying to purposefully confuse people lol - these still have synonyms for searching, and most newer features have much better naming; stuff like the strike command have slightly weird naming just because they were added a while ago at a time where everyone was much less experienced & and features usually just matched whatever Bukkit/Spigot called them

foggy ember
sullen bay
#

i love how he went from 0 commit at all to 10 commits a day in a single day

graceful laurel
#

real

foggy gorge
low radish
#

minecraft's internals were obfuscated, so people just made shit up

#

in modern Denizen we try to add @Synonyms to stuff with confusing names to make it easier to find in a search

#

i'll go add some for those

cloud sigil
#

awesome

low radish
#

confusion is supported as the legacy bukkit name

cloud sigil
#

so it exists but it doesnt get autocompleted?

#

that mightve caused my confusion

low radish
#

oooh

#

VS Code ext is probably using the wrong enum for it

#

could you please open a thread and /bugthread it to track that

cloud sigil
#

Could be cool for parkour

#

I think the not being lifted up part when it's moving is more realistic because I doubt it's easy trying to stand on a 1m³ rock thats being magically lifted up

#

also I was too lazy to add the feature

#

and yes getting the right sounds for this took me about 3 lifetimes

#

and yes it deals like 4-5 hearts if it falls on your head

sullen bay
#

effect is actually pretty cool

#

too bad you didn't make it walkable

#

isn't there a way to add it "easily" ? a shulker box maybe or else ? there's definitely a solid entity you can move around to provide a movable walkable hitbox

cloud sigil
cloud sigil
#

you can walk over it, did you see the vid lol

#

just not stand when it's moving up or down

sullen bay
cloud sigil
#

ignore the chat and the music in the background

cloud sigil
#

Do you guys prefer splitting a script into multiple scripts (talking about .dsc files when I say scripts), or do you prefer to keep everything together? My script file just reached 1600 lines of code and it's getting kinda long

grim quail
#

It varies on how big the system is.

#

I try to keep them segregated by types. Procedures. Scripts. Events. Data script containers. Commands.

#

However, my event file for my custom claim system is pretty long.

#

Oh it turns out my claim commands file is very long too.

cloud sigil
#

oh damn

grim quail
#

It's because I got a lot of sub commands.

cloud sigil
#

I feel like I should maybe throw all my variable handling stuff into another script because thats like 600 lines of repetitive code. But then again, don't fix something that isn't broken

grim quail
#

If I see the same code being repeated more than 3 times I usually try to make it's own script/proc.

cloud sigil
#

yeah but it's all custom items

#

the layout is the same but the text is different

#

not easy to make a proc for that afaik. Would be less clear to see what's what imo

grim quail
#

Somewhat understandable.

#

I got tired of copy pasting emojis into my item descriptions so I made procedures to return them for my click actions.

cloud sigil
#

I did try simplifying my gui inventory from 5 different inventory scripts into 1 proc script, and see how that's going 😂 still trying to make it work and I started with that 2 days ago

grim quail
#

I had to make injectable scripts just for building chat based clickables too for multiple pages of information.

cloud sigil
#

After all this coding I still dont know what injections are lol

grim quail
#

It's just scripts that can access all previous definitions and context.

dawn flower
#

big scripts are yuck

grim quail
cloud sigil
#

hmm I see

#

So injections are just a pro version of tasks

grim quail
#

I abuse injections really hard for a lot of my gui.

#

You could say that.

dawn flower
#

it's just a task script you dont have to pass defs to

cloud sigil
#

seems useful

dawn flower
#

in some cases yea

cloud sigil
#

But whats wrong with passing defs?

grim quail
#

I put a lot of my scripts for entering custom GUI as subscripts that I inject into, because I felt it cluttered up the inventory click events that I had.

#

But that might be my personal style.

dawn flower
#

i use inject when i want to cut down code

#

or at least make the script more readable ig

#

i prefer passing defs tho

#

much easier to construct the code around values you pass

#

at least imo

cloud sigil
#

yeah I get that

#

Id probably be confused where I got the definitions from lol (for the injections)

grim quail
#

If it's a subscript it may not be that confusing, but I guess it's dependant on what you're making really.

dawn flower
#

yeh you also have to write it in a way where you always have the defs you need available in the queue before you run it

#

i think its just preference tbh

grim quail
#

Usually I only make subscripts if it's relative to only that script and I find it better to keep as a subscript instead of cluttering up the main script I'm working on.

dawn flower
#

both do the same thing in a slightly different way

grim quail
#

I obviously can't do this with my 150+ line script to replicate player death.

dawn flower
#

im a sucker for readibility

grim quail
#

( If you need to know why I have a script to simulate player death, the bed message for it being missing/obstructured is client only and cannot be suppressed )

cloud sigil
#

only way to find anything in my code is by using ctrl f

dawn flower
#

D: what.

#

i dont think ive ever done that

dawn flower
#

i just scroll

cloud sigil
#

crazy

dawn flower
#

and leave like the red comment thingys

#

to separate/mark stuff

cloud sigil
#

ahh I do that too, sometimes

dawn flower
#

crazy how much ive come to use comments tbh

#

mainly because 90% of the code i write is for other people but still

#

i used to just forget they exist

foggy gorge
cloud sigil
#

hmm I see

#

yeah I might spread everything over a few seperate files when im done with my abomination

sterile hare
#

i know this isnt a place for support but i have just a quick question that i dont think requires a thread, can i ask it here? its just like one tag probably

weary mothBOT
# dawn flower !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

sterile hare
#

okay understood ill remember it 👍

next magnet
#

should i learn denizen

cloud sigil
#

for Minecraft

next magnet
#

Well i already have

#

in java

#

and in skript for smaller stuff

cloud sigil
#

Denizen > Java

next magnet
#

im just wondering if knowing denizen and being able to help people using it is worth it

next magnet
cloud sigil
#

The amount of people using Denizen is way smaller than Java so idk if it's best if you purely want to help a lot of people out. But tbh, if you already know Java and have made multiple plugins with it, it really won't take long to learn Denizen

next magnet
#

yeah i know

#

i know hte logic

#

i just need the syntax

cloud sigil
#

Not sure what you're asking here lol. Maybe someone else should answer that's more experienced with Denizen

next magnet
#

i just need denizen docs

dawn flower
#

!help

weary mothBOT
# dawn flower !help
Bot Command Help
**Available Informational Commands:**

help shows help output
hello shows a source code link
update [project ...] shows an update link for the named project(s)
github [project ...] shows a GitHub link for the named project(s)
issues [project ...] shows an issue posting link for the named project(s)
info <name ...> shows a prewritten informational notice reply
rule [rule ...] shows the identified rule
quote [quote] shows a random quote that matches the search (if any)

**Available Utility Commands:**

logcheck <link> gathers information from a server log paste
versioncheck <version text> checks whether a project version is current
script <link> checks a linked script for basic syntax validity

**Available Meta Docs Commands:**

command [name] [usage/tags] to search commands
mechanism [name] to search mechanisms
tag [name] to search tags
objecttype [name] to search object types
event [name] to search world script events
action [name] to search NPC assignment actions
language [name] to search language docs
guide [name] to search the beginner's guide pages
search [keyword] to search all meta docs

dawn flower
#

anything that comes up here has a link to it that takes you the meta website too

#

also

#

!guide

weary mothBOT
next magnet
#

cool beans

#

also hi iroh

dawn flower
#

hi :)

next magnet
#

hmm

#

this syntax is a little cringe

dawn flower
#

personally i have no issue w it

#

you get used to it after a while

#

you can also setup vsc script editor for highlights and stuff

next magnet
#

Bukkit doesn't have an event for messages sent to a player i mean it does let you get all recipients from a chat event

#

unless it means denizen has an event that will fire whenever any message is sent to a player's chat

#

which u can do with packets

foggy gorge
#

spigot however does

wild cosmos
next magnet
#

well yeah bukkit doesnt

#

seeing as it was shutdown in 2014

#

but spigot and paper do

foggy gorge
#

thats uh, why im responding lol

#

i mean it does let you get all recipients from a chat event
youre stating it does

#

it does not

cloud sigil
next magnet
#

bukkit does not

foggy gorge
#

no worries

#

If you want to react to what players say, you can use the AsyncPlayerChatEvent

#

but its not recommended

foggy ember
next magnet
#

mhm

foggy ember
#

One is for any message being sent to a player, one is for a player chatting

next magnet
#

well i mean im bored and ik the logic so theres no real reason not to learn denizen

#

and then surely next i hop on KubeJS

foggy gorge
#

if you see issues, you can always pr directly to denizen :D

next magnet
#

does denizen have api for denizen addons, like skript does, or does a user have to PR to suggest new syntax?

foggy gorge
#

!github depenizen

weary mothBOT
foggy gorge
#

!github ddiscordbot

weary mothBOT
next magnet
#

i assume depenizen is an addon allowing for citizen syntax with denizen?

low radish
#

full addon support

next magnet
#

cool beans

low radish
#

we just try to centralize things more vs skript leaves a spread out mess

low radish
#

Depenizen is a bulk addon for a variety of other plugins

#

essentials, mythicmobs, etc. etc. bunch of random plugins, Depenizen adds script features for them

next magnet
#

ah, awesome

#

1 more thing

#

does denizen have placeholder support?

low radish
next magnet
#

so it can interact with, use, and create placeholers?

low radish
#

yes

next magnet
#

ok that sgood just needed to know that so i can comminucate between it and my skripts

next magnet
#

alright ty

#

i'll probably get around to it

soft pewter
#

@next magnet I love your profile picture, hollow knight is an amazing game

next magnet
#

i comissioned this from someone they're great

soft pewter
#

Awesome!

cloud sigil
#

If I notice certain effect or particle names not working in Denizen, (such as MCJava sound poof being called explosion in denizen, which is the same as in bedrock), should I mention that in a bugthread/featurethread or is that usually intentional or cant that be fixed?

#

Or not worth fixing

#

Ive been confused multiple times with denizen bcs sound effects or particles are named differently than when using the in game /playsound or /particle commands

dawn flower
#

can't go wrong with making a thread imo

#

if it's intentional/can't be fixed someone will let you know

cloud sigil
#

bug or feature thread in that case?

dawn flower
#

uhhh

#

good question

#

id mark it as bug i guess, helpers n devs can change to what they see fit

next magnet
#

✨ spigot names ✨

cloud sigil
#

(About 25% will still follow you, it's divided over the 4 you's)

sullen bay
#

I know someone who watched Naruto

cloud sigil
#

what?

#

Only thing I know about Naruto is that stupid run

sullen bay
#

I think he can clone himself

#

Your effect, pretty much

cloud sigil
#

My effect is cooler

sullen bay
#

i'm onto something

#

from this

#

to this

#

and this

#

and finally, this

cosmic tide
#

!rule 2

sullen bay
#

not my cleanest script but it gets the job done in 53 lines, featuring:

  • -a -bc -defg -h-format flags -> li@a|b|c|d|e|f|g|h
  • --foo=bar and/or --baz qux-format options -> map@[foo=bar;baz=qux]
  • positional arguments
  • optional description for each option, flag and positional argument provided to the user if they type ?
  • parsing of the command into a maptag of its components
#

also, simple validation while typing

#

and tells you to shut up when there are no longer arguments

#

not gonna lie, shit's good

cosmic tide
#

Since when can you color the autofill?!

sullen bay
#

since the dawn of time

#

been doing this since 2021

#

are you proud of my proc monkey ?

dawn flower
#

Looks very yummy

sullen bay
#

just added a setting so you can allow an option to be set multiple times
the option will continuously be tab completed if true

foggy gorge
#

im not posting the gifs available kek

cloud sigil
#

my eyes

#

why

#

why did you make me look that up

foggy gorge
#

its like one of the first things naruto does

#

hilarious af

cloud sigil
#

....

#

this was in no way inspired by naruto why does everyone mention him lol

foggy gorge
#

it absolutely is lol he was supposed to perform like, a shadow clone jitsu, but instead did a sexy jitsu

#

it definitely worked badlaugh

cloud sigil
#

...

foggy gorge
#

@small kernel when does naruto perform sexy jitsu first

small kernelBOT
foggy gorge
#

wait

#

NO LOL

cloud sigil
#

how is this even close lol

foggy gorge
#

he uses it in battle once and makes like twenty of them KEK

cloud sigil
#

...

old venture
#

excuse me that's the harem jutsu

#

which comes with it's counterpart, the reverse harem jutsu (yep you guessed it, bunch of handsome naked men)

cloud sigil
#

little thing I made

old venture
#

oooo thats cool

#

can you share?

cloud sigil
#

Would love to but I'm making this for another server, along with the other things I've (and all of you through the threads lol) been working on in the past 2 weeks

#

And they don't allow me to share the plugin which is reasonable imo

sullen bay
#

Do they pay you ?

cloud sigil
#

no

#

To be fair, I offered to do it for them

#

so I didn't expect payment

#

also didn't expect this to take MORE THAN 200* FUCKINGS HOURS (the todo list kept getting bigger and bigger lol.)

#

*estimated number that's probably very accurate

foggy gorge
#

id agree, i see you a lot lol

cloud sigil
#

but... to be fair, again, I simultaneously made this plugin and learnt denizen

#

wouldve probably gone way faster if I knew denizen

cloud sigil
grim quail
#

You say plugin.

#

Do you mean script?

cloud sigil
#

script yeah

#

but we call it a plugin

#

Because all you have to do is plug it in the plugin

#

so plugin makes sense for plugging plugins in plugins

cosmic tide
#

Most plugins aren't plugin

#

But mine is and that makes me proud

#

You should be too

#

"Keep it simple stupid" is a good motto

cloud sigil
#

what makes a plugin a plugin?

#

that its easy to plug it in and use?

sullen bay
#

drop in ready i believe ye ?

#

keeping things drop in ready is limitating tho

#

there are many things in my scripts that make them not plug and play-able, but makes life so much easier

bitter crown
#

do you think denizen will support velocity instead of just bungee?

papermc discontinued waterfall

cloud sigil
#

this was so surprisingly easy to make

#

and probably one of my favourites

soft pewter
#

yooo that's epic

dawn flower
#

looks neat

fleet kernel
#

i wish unity was as easy as denizen

#

or have as good of a support idsocrd

graceful laurel
#

port denizen over to unity

#

ez

cursive tide
cloud sigil
#

what do you guys prefer:```

  • define items <context.args.get[2].split[|]> #returns li@[bolt:20|microprocessor:5|...]

  • foreach <[items]> as:item:

    • define amount <[item].split[:].get[2]>
    • define item <[item].split[:].get[1]>
    • define items:->:<[item].mul[<[amount]>]
  • foreach <[items]> as:item:

    • define items:->:<[item].split[:].get[1].mul[<[item].split[:].get[2]>]>```
      being the crazy dumbass that I am, I prefer the latter
dawn flower
#

specifically at .mul[]

cloud sigil
#

the second one just merges everything together that's in the first one

dawn flower
#

yes i get that

#

but you can't multiply something that isn't an integer

#

or am i too sleep deprived

cloud sigil
#

Im probably wrong. I wrote this in notepad

#

let me check the docs

foggy ember
#

#actives-only message

cloud sigil
#

whats that

cloud sigil
dawn flower
#

so like bolt|bolt|bolt|bolt...?

cloud sigil
#

yes

foggy ember
#

But also, <context.args.get[2].split[|].parse_tag[<[parse_value].contains_text[:].if_true[<[parse_value].before[:].repeat_as_list[<[parse_value].after[:]>]>].if_false[Invalid input!]>].merge> easy

#

If that somehow works without syntax errors, I'll uh

frozen brookBOT
#

Tag parse results for <list[bolt:7|microprocessor:5].parse_tag[<[parse_value].before[:].repeat_as_list[<[parse_value].after[:]>]>].combine>: https://paste.denizenscript.com/View/123694

li@bolt|bolt|bolt|bolt|bolt|bolt|bolt|microprocessor|microprocessor|microprocessor|microprocessor|microprocessor|
cloud sigil
#

I was thinking about parsing it but gave up lmao

#

hippity hoppity that code is now my property

foggy ember
#

Oh, it's .combine

dawn flower
#

smh .merge

#

!badanswers

weary mothBOT
foggy ember
#

I'm using 4 different languages at once :(

dawn flower
#

it's ok, you can have a cookie too

#

🍪

foggy ember
#

The amount of times I tried typing if () {/- if in Python today

sinful spindle
#

- define items <context.args.get[2].split[|]> #returns li@[bolt:20|microprocessor:5|...]
uhh

#

oh

#

nevermind lol

cloud sigil
#

Had that when switching from C# to python

frozen brookBOT
cloud sigil
#

ffs

#

it wasnt even long

frozen brookBOT
cloud sigil
#

wtf

#

I inputted 3 items

#

<context.args.get[2].split[|].parse_tag[<[parse_value].contains_text[:].if_true[<before[:].repeat_as_list[<[parse_value].after[:]>]>]>].if_false[<[parse_value]>].combine>

frozen brookBOT
dawn flower
#

I didn't know tag parser was a script :o

cloud sigil
#

tagparser is just a group of people checking every channel 24/7 and processing scripts asap

#

Ill just combine my entire script into one line using a parsetag

sullen bay
#

then i can do <[ARGS.OPTIONS].get[bolt]>

old venture
#

true

#

i love making procs

wild cosmos
#

🤭

grim quail
#

Also wondering if anyone has tried to replicate essentials in denizen and made a public script for that, I noticed essentialsx wasn't updated and made me consider just porting almost everything.

sullen bay
sullen bay
foggy gorge
#

im seeing a lot of changes not being mentioned anywhere here yet i feel like, or im not finding it via search

#

playeffect's redstone effect is now red_dust - that broke so many of my scripts lol

foggy ember
#

That's part of the 1.20.6 unstableness, Spigot renamed a bunch of stuff - were probably going to have backwards compatibility + a proper deprecation for that

foggy gorge
#

oooof

foggy ember
#

It is a nice change overall because it makes stuff match the Minecraft names, just a bit annoying to update to (although scripts using the old names will keep working for a while ofc)

thorn bone
#

why does some of my expired threads appear randomly?

#

my only guess was: somebody mentioned it

low radish
#

not expired, just haven't been posted in a while

#

Discord has a 1 month timeout on threads but we have a bot that blocks the timeout and keeps them open

#

when that timeout bounce hits it temporarily moves back up as if activity happened

thorn bone
#

oh I see

old venture
#

#changelog message

wind charge entity?? what??

fleet kernel
#

the explosion

#

pew pew

old venture
#

i have no idea what that is

#

is minecraft slowly turning into an rpg?? is that an actual wind enemy??

#

wtf is a wind_charged potion effect 😭

soft pewter
#

yay armadillo

raven barnBOT
#

+> YAY!!!

old venture
#

ooooOOOoooOOooooOOOooo

#

i'll definitely update to 1.21

cloud sigil
#

Maybe the auto crafters not but thats the exception

mossy tide
#

Oooh we get modifiers to block break speed?? Finally the last part to custom tools

#

Really a lot of these modifiers are stuff mods have already added, so it'll be nice to finally have it properly in-game

old venture
old venture
#

bring notch back wtf they're turning minecraft into generic pixel rogue-like #3

fleet kernel
#

its not item nbt??

#

wait so is there block hardness

foggy ember
#

Or sounds* I guess

#

A wind charge is a projectile though

foggy ember
foggy gorge
#

Data Pack version is now 48 Resource Pack version is now 34
jfc we got high up there pretty fast

old venture
# foggy ember Or sounds* I guess

yeah but sounds are generally formatted like type_name_sound, such as entity_zombie_death. so seeing entity_wind_charge_throw implies there's a wind charge entity

old venture
#

does it set the item's tool equivalent?

#

like modifyblock's tool arg?

foggy ember
#

NBT was entirely removed and replaced with item components in 1.20.5

#

One of these is the tool component, which lets you set tool stuff about items (e.g. breaking speed, blocks it's good for, etc.)

old venture
#

yooooooo

#

alright yeah i have a lot of stuff to learn when i update to 1.21 lol

foggy ember
#

Someone didn't read every single snapshot changelog in it's entirety

mossy tide
#

Ooh I didn't realize stuff was changed that much. Excited regardless. Now all my tools don't have to have iron mining speed. Can we manage max durability too?

foggy ember
#

Yep

#

You can go through the release notes, they include all of them

next magnet
#

does denizen have the ability to import java classes with reflection?

weary mothBOT
# soft pewter !makepost
Info: makepost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

next magnet
#

im just curious i dont need help with it

#

i mean i canmake a post

foggy gorge
soft pewter
#

omg that's so cool

unkempt torrent
#

maaaagic 🪄

dawn flower
#

super cool

barren elm
#

Anyone know if Denizens is on Aternos? I searched it up and didn't find it, but Aternos likes to mess with the names of the plugins

sullen bay
#

!nos

weary mothBOT
# sullen bay !nos
Info: nos

The name of our project is "Denizen" (there's no "s" on the end, unlike "Citizens").

barren elm
#

Denizen just brings up Citizens2

barren elm
sullen bay
#

can't mention Aternos messing up names if you mess up names yourself, huh

barren elm
#

it's not there regardless

sullen bay
#

!freeservers

weary mothBOT
barren elm
#

it didn't say anything about availability of denizens

#

two times its mentioned:
"If you really really really need it to get to the exact decimal perfect coordinates, you'll have to write a script using Denizen or similar, that teleports the NPC after pathfinding ends."
"D: You can build your own shop system and directly integrate it with NPCs by writing a Denizen Script."

sullen bay
# weary moth

this only refers the specific part about free servers

#

tl;dr: you won't get far with Denizen on a free server (especially with Denizen), so you better try and run either a VPS or homehost

cosmic tide
#

Also make a post next time

barren elm
#

wasn't sure how significant the question would be

barren elm
sullen bay
#

no clue

rigid idolBOT
sullen bay
#

the simple fact you can't just put the jar you need to use is a problem

#

so you might get it to work, or might not
if you happen to make it work, you might or not be able to edit scripts

#

also ye, denizen requires file system access since it uses scripts (which are put in files)

barren elm
#

ohh ok

#

aternos moment

sullen bay
#

so assuming you can't put jars, you likely can't access the filesystem for scripts either
don't know Aternos enough but would be expected

#

so ye, homehost or just get a server

barren elm
#

aternos is a tyrant so you can't add any jar you want but you can add text files i think

sullen bay
#

make a threadpost for follow up

barren elm
#

ok

#

i think thats' it though thank you

soft pewter
barren elm
#

fair fair

sullen bay
soft pewter
#

!makepost

sullen bay
#

But I don't want to annoy the helpers

sullen bay
soft pewter
#

Your questions never annoy us yay

sullen bay
#

But it's not worth bothering

foggy gorge
#

yay

raven barnBOT
#

+> YAY!!!

sullen bay
#

yay

raven barnBOT
#

+> YAY!!!

soft pewter
sullen bay
#

where does the +> thing comes from