#Open Denizen Discussion Thread

1 messages Β· Page 15 of 1

unkempt torrent
#

!t proc.context_map

weary mothBOT
wild cosmos
#

yea its in my thread

wild cosmos
#

the fact that the gamerule command doesnt take list of worlds as an input makes me craaazy

fleet kernel
#

featuretheead

grim quail
#

Was going to make something for my admins to have attached text holograms for admin-specific areas, so that it would display certain things like who owns that area and whatnot and also allow them to edit those text holograms.

I realize I'd be copy pasting code from my hologram module I made and it'd be highly redundant, so I'm building my own little PAPI replacement and I've got it mostly working.

#

It tries to search for things like %player_nameuser_USERNAMEHERE% in a sentence and tries to use whats after the PAPI-like target, with a data config for the procedures pulling information. Though I still have to make things on a choose/case basis it'll be nice to let admins basically pull whatever information they need to for holograms.

#

It even works with my custom chat replacer that you may see where it searches for color codes based on words. [w] for white, [blue] for obviously blue. Etc.

#

I can probably do things a lot better though.

#

Also my limited understanding of PAPI is the plugin just pulls information the same way I do, with something like %denizen_placerholder_blah%.

fleet kernel
#

wha

dawn flower
#

This is cool but "nameuser" for nickname is questionable naming

#

At least make it "username"😭

fleet kernel
#

name user

#

😭

grim quail
#

The naming is bad I know

#

It's to get the display name of a player's username.

#

Because I let players rename themselves.

cloud sigil
#

"nickname"?

#

"displayname"

grim quail
#

That's a better one.

next plaza
#

Bros

#

Why denizen be created?

fringe hamlet
#

#info message

hallow scaffold
#

From when can we report bugs for 1.21.6 dev? πŸ˜„

foggy ember
#

Well, once the build is out

cloud sigil
#

I also want to add a shockwave of dust hovering over the ground but that seems impossible

rain sun
#

not sure if this is the right place to ask so direct me where it should go if its not.
i was looking at the denizen source code but i couldnt figure out where the NSMHandler functions are implemented.
where are the abstract functions from the NMSHandler and other helper classes implemented?

cloud sigil
#

I guess?

rain sun
#

thanks

shrewd estuary
#

Ooh I get to have a Denizen tag. 🏷️

cloud sigil
#

there's a denizen tag?

#

interesting... how do you see if servers have a tag?

unkempt torrent
#

there was a popup for me

cloud sigil
#

huh

wild cosmos
#

click on it

unkempt torrent
#

but you can also set tags in your discord profile settings

cloud sigil
#

oh interesting

hallow scaffold
#

1.21.6 secure function? clicking inside books >.<

wild cosmos
#

😭 gg

hallow scaffold
#

found this

#

to use /trigger instead,... i have dozens of npcs with clickables >.<

cloud sigil
#

well, that sucks

#

hopefully they remove it quickly. I doubt people will be happy with that

low radish
#

why the fuck can non-permissions'd players emit click events tho

hallow scaffold
hallow scaffold
#

can denizen redirect denizenclickable to Trigger?
sry i have no clue about the technical background of the trigger command

low radish
#

Denizen already has a safe special thingo for that, just need to mark the denizenclickable command as not "require elevated permissions" to the client

hallow scaffold
#

i searched for that in the options menu ... where m$ hide that? or is there something like the mod to hide the dumb Securechat Toasts

low radish
#

I think it'd have to be data on the command somewhere

#

like, in the java code denizen uses to register it

#

though we are already doing fucky shit with it

worn oak
#

in our scripts we ( @hallow scaffold ) use
example 1 and 2 - still the same thing - so thats not the solution

low radish
#

that wasn't a proposed solution that was just suggesting double check it's even a relevant issue

#

but yeah so that interception will need to be changed to (A) not hide the command and (B) mark it as not-elevated-permissions

worn oak
#

So wait and hope for the best
i doubt it would take long ^^

mossy tide
#

Ah shite I also use clickables for my dialogue system. I hope it's just for books and not chat issues

shrewd estuary
low radish
versed venture
#

@low radish why is @frozen brook down πŸ˜₯

low radish
#

oh it didn't autorestart

hallow scaffold
#

paper has mappings ready as i saw

hallow sparrow
#

Hi guys, I'm trying to load a script I made for an NPC to perform an action, but in the end, Denizen doesn't recognize the script. Could you help me? I've attached a test.

weary mothBOT
# mossy tide !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!

mossy tide
#

:)

grim quail
#

I can already see problems, but I'll wait for the post.

hallow sparrow
#

Thanks, I already made the publication

tight verge
low radish
next magnet
cloud sigil
#

@lapis turret (#1388610598954074202 message) what is in that img?

#

how close are you to the thing

#

(want to move it here to not flood their thread)

lapis turret
#

Maybe ~ 150 - 200

#

I dont have the script rn

#

So cant be sure

cloud sigil
#

I can also spawn smth that looks like it came from far away, but it'll still disappear after the player moves 200 blocks away

lapis turret
#

Maybe that's clientside mods to nake the game smoother

#

Like sodium or sth

#

Have you tried with vanilla?

cloud sigil
#

I'm on vanilla

hallow scaffold
#

is someone interested in newest error logs from paper 1.21.7? πŸ™‚

foggy ember
shy patrol
#

Is BreweryX in Depenizen or is that not a thing

fringe hamlet
shy patrol
foggy gorge
#

i might need to open a thread for <player.bed_spawn.exists> throwing a stacktrace error on 1.21.6 if they don't have one; gotta update first

foggy gorge
#

ah nice

#

bold of me not to just search for it first :kekw

wild cosmos
#

all goood haha

hallow scaffold
#

that moment when all the bug threads want to be closed

#

thanks alot! *testing boost*

worn oak
#

πŸ™„

hallow scaffold
hallow scaffold
mossy tide
#

All I've got so far is a GUI, I need to do some heavy brainstorming for going forward. I think I want to have a physical inworld repair like my cooking system with fancy display entities.

cloud sigil
#

Ooh that's pretty cool

heavy tide
#

where i can download denizen for 1.21.4?

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!

hallow scaffold
low radish
#

denizen code thing

hallow scaffold
#

okay, thanks for info - so i hope for the next updates :3

hallow scaffold
hallow scaffold
sonic rain
#

Is making a post in #1023545298640982056 for unsupported denizen versions against the rules or is it fine?

#

I saw on #info that I shouldnt ask for support for old versions but it didn't say anything about hiring so I just wanted to make sure lol

fringe hamlet
#

β€’ Your server must be running latest or second-to-latest server version (at time of writing, that is MC 1.19.2 and 1.18.2 - when 1.20 is released, that will be 1.20 and 1.19.2, no longer allowing 1.18.2... similar as more releases come) (outdated subrevisions, such as 1.19.1 instead of 1.19.2, are never allowed... you MUST be on the latest sub-revision, as is a base requirement for support in general)
#1023546486975373443 message

cloud sigil
#

You guys ever wrote such terrible scripts you genuinely don't even understand what you're writing?

#

Like... wtf is this

#

(this is the rewritten version too of an even worse version πŸ’€ )

#

my brain is so fried at this point

cedar bane
#

maybe get rip of flag.flag.flag and use
-define -define -define ?
leading to code which might be readable from outside people instead of saving 2ms runtime πŸ˜„
I usually do something like
- define angle <[diff].add[180].add[360].mod[360].sub[180]>
cause nobody can guess why you would add 540 instead of a half circle and a full circle aka 180+360

grim quail
#

I thought we were in #1098024603756015726

cedar bane
#

also if you struggling with many line of codes with many if/else or in while loops, use sub-path and procedures to do the job
e.g. when I would write the code of my proc_rift procedure into the loop itself I would have 20 line of more code in the while loop.
Now you can read get the nearest rift and angle between and to what those statements will lead to

grim quail
#

if argument being for borderline any command is really nice.

#

I like condensing things, I don't like nesting.

#

If I can, I will do:
- narrate "Blah blah" if:<[bool]>

cedar bane
#

yeah thanks that's a good advice as long those line are not too long for me
e.g. I could move the == null easily in the if statement behind the - while at the beginning, but the line was too long for me personally, so I move sometimes those in the while loop.
It reads now more like do this until the player did'nt have the item in hand or the item is not longer on

grim quail
#

Wait.

#

I thought you're not suppose to use periods in script names?

cedar bane
#

my procedure usage are object hacking? damn that sounds not what I expected
I saw the people using subpath with
- run task.subpath and tried it with procedures and they worked well.. but yeah I know about

#

!itworks

weary mothBOT
# cedar bane !itworks
Info: itworks

Many newer scripters tend to not realize the important difference between "it works" and "it is correct". Just because a script works does not mean everything's fine.

Helpers are encouraged to refuse to continue helping a user with the "if it works it's good enough" mindset until they fix all the things that are wrong (but seem to work) in their script.

Read a longer writeup explaining this idea on the forum here: https://forum.denizenscript.com/threads/public-information-writeup-the-it-works-fallacy.265/

grim quail
cedar bane
#

nope

#

its a subpath from my procedure

grim quail
#

Oh. Huh.

cedar bane
#

please ignore the - determine true its a placeholder

#

I never use them without subpath

grim quail
#

I remember this not being a good idea.

#

I forget why.

cedar bane
#

maybe some devs might be rotateing at this moment I guess? Should I open a thread for clarification?

grim quail
#

#1176604853406019735 message

#

Otherwise, yeah I dislike nesting usually. I'll try to stop scripts early if I can just to preventing more nests instead of adding more.

cedar bane
#

ookay so a procedure should only have one output?
I mean.. I could technically use a procedure determination inside of a procedure to get the same result..
like passing player and nearest_rift which the second argument returns the determination of the nearest_rift procedure.

#

something like this. Or are - inject not supposed to used in procedure?

grim quail
#

You can inject in procedures, nothing wrong with that at all.

#

It's just that subscripts should generally be in their own sub key, as per my thread. subscripts injectables etc, as per what Inquisitor said.

#

Think we're devolving into worth a thread though.

cedar bane
#

yeah got it, using - inject proc_rift.subscripts.PLAYERS_IN_RANGE and moving the lines to right thanks.
and for clarification my first usage like <proc[proc_rift.subscripts.PLAYERS_IN_RANGE]> is still not valid, or was the only itworks fault the missing subscripts: ?
so should I stay on argument as input or go back? ^^

cedar bane
grim quail
#

Yeah, if you want more help on this it's worth a thread.

cedar bane
#

Will do thanks, I make an mcve

dawn flower
#

cant you just - inject proc_rift.<[argument]>

cedar bane
#

*fine

dawn flower
#

i havent gone thru that thread the choose command just really bugged me 😭

cedar bane
#

actually it looks so

dawn flower
#

also if you have - define some_list:->:value you don't need to define it beforehand as an empty list

#

if it doesnt exist it'll be created with the value you're giving it as the first entry

cedar bane
#

technically, when nobody is online it will throw an error instead of en empty list

dawn flower
#

fall backs :)

cedar bane
#

gotcha, one line less πŸ˜„

dawn flower
#

it not a big deal i just really like as little lines as possible 😭

wild cosmos
#

in that case

#

you dont need foreach at all

dawn flower
#

you could totally one line it

#

πŸ‘¨β€πŸ¦―β€βž‘οΈ

#

wait

#

i just actually read your code

#

!t find_players_within

weary mothBOT
dawn flower
#

just use that from the center 😭

fringe hamlet
#

you could totally one line it

dawn flower
#

we need to have a one line competition

#

where we try to one line extremely messy stuff

fringe hamlet
#

depending on what you're doing, that doesn't really seem like too bad a challenge

#

!t if_true.if_false

weary mothBOT
# fringe hamlet !t if_true.if_false

If this element is 'true', returns the first given object. If it isn't 'true', returns the second given object.
If the input objects are tags, only the matching tag will be parsed.
For example: "<player.exists.if_true[<player.name>].if_false[server]>"
will return the player's name if there's a player present, or if not will return 'server', and won't show any errors from the '<player.name>' tag even without a player linked.

Group

element checking

Returns

ObjectTag

fringe hamlet
#

^ savior

dawn flower
#

depending on what you're doing

fringe hamlet
#

new #1204239476897878036?

cedar bane
#

I can easily half the lines yeah good catch, but ternaries or if_true if_false I use in tags on lore-items, not in procedures. one line is nice, but 3 lines good to read bothers nobody

fringe hamlet
#

sometimes, it's not about whether you should, but because you can

cedar bane
# cloud sigil

that leads us to the reason why I'm here in this channel ^^

cedar bane
#

πŸ˜„

fringe hamlet
#

hang on let me pull up a less-messy part of my /help script...

dawn flower
#

no offense much love justin

fringe hamlet
#

- narrate "<&hover[<&c>First Page]><&c><&lt><&lt><&lt><&end_hover> <&a>Page 1/<[admin].if_true[4].if_false[<[moderator].if_true[3].if_false[2]>]> <&6><&hover[<&6>Click to navigate.]><&click[/help 2].type[RUN_COMMAND]> <&gt><&gt><&gt><&end_click><&end_hover>" if:<[staff]>

cedar bane
#

I mean I had 3 minutes to realise what a .flag.flag.flag could be until yeah, flag a flaggable object with an flaggable object, repeat

dawn flower
fringe hamlet
#

i just don't like repetitive sections when i know i could shorten it to something like this

dawn flower
#

as long as console isnt screaming i am not touching it

fringe hamlet
#

i did shorten my "error catching" script because i have 10 tags in there that i didn't want on one line

#

(yes, i use the on script generates error event and broadcast it to a dedicated discord channel, sue me)

dawn flower
#

honestly mood

#

i miss the ddiscordbot era i used it for everything

#

discordsrv could never

cloud sigil
#

I write my scripts in a way only I can understand. It makes me impossible to replace, because if one thing needs to be edited Im the only one who can

wild cosmos
#

two steps ahead

grim quail
fringe hamlet
grim quail
#

Hm.

#

Interesting.

#

That's something that has been on my todo list, is changing /help into it's own thing and making /commands the alter for vanilla help.

#

I already have injects for text based clickys.

#

Old example.

#

I inject the header, and then put in stuff with specific definitions it expects, then inject the footer.

#

I forgot I converted the timestamps to icons.

lapis turret
wild cosmos
sullen scaffold
#

Any recent updates towards denizen on folia? Last questions I saw about it were back in May, and folia has made some huge updates recently. For my purposes on a server I'm working on, I'd fit the specific usecase of folia where it would benefit me greatly, but I have a lot of good experience using denizen for small custom projects that I'd like to not have to write and compile plugins for. The versatility of just being able to reload the scripts in development is a huge bonus to me πŸ˜…

#

If the answer is no, thats perfectly understandable, I'll just have to look around at alternative options.

grim quail
#

#1150554880864424057 message Last answered in 2023, but it's been two-ish years so.

#

Might be worth a thread if another developer doesn't say something.

sullen scaffold
foggy ember
#

It's not that it'll 100% never happen, its just a lot of work, for at the end of the day probably single/double-digit numbers of servers who actually benefit from running Folia, have the hardware to support it, and use Denizen.
Basically just, currently we'd rather focus dev time on better support for recent MC additions and such for the vast majority of users, rather then invest a ton of effort into Folia.

sullen scaffold
mossy tide
#

Getting progress goin on the repair system

#

Now I gotta spawn in the interaction points for repairing with the tools

#

oh god has it really been two months working on this

#

burnout is hell

cloud sigil
#

dude, at this point just make your own game instead of completely changing minecraft πŸ’€

mossy tide
#

that was fast to get the clickers' displays setup, now I gotta actually code it in to work :)

#

I def need to remake the tools icons to be better 3d models

#

here's what it's like with hitboxes

#

You can def see that the models on the tools are all offcentered and jank lol

bitter crown
#
    debug: false
    type: world
    events:
      on command:
      - define serverdate <placeholder[server_time_dd-MM-yyyy]>
      - define servertime <placeholder[server_time_hh-mm-ss]>
      - if <context.source_type.equals[player]>:
        - log "[<[servertime]>] [<player.name>] ran command: <context.command> <context.raw_args>" file:commandlogs/<[serverdate]>.log```
wild cosmos
dire dew
#

what is the version till which denizen is supported?

#

is there any dev release for 1.21.4?

#

I am sorry if this is the wrong channel to ask

wild cosmos
wild cosmos
dire dew
dire dew
wild cosmos
#

dont worry about it

#

yea it doesnt

#

1.21.8 is supported

#

older patch versions arent

#

!patchversion

weary mothBOT
# wild cosmos !patchversion
Info: patchversion

We support only the latest patch-version of Minecraft for any recent main version (and Mojang, Spigot, Paper, etc. all generally also follow the same rule).

"Patch version" means the last number in a version label, for example in 1.20.6, the main version is 1.20, and the patch version is .6.
So if 1.20.6 is the latest patch version, then 1.20.3, and 1.20(.0) are all outdated patch versions, and therefore are unsupported.

Note that we do still support recent older main versions (such as 1.19 and 1.18) so long as you are on the latest patch-version of those main versions (like 1.19.4 and 1.18.2).

See also CitizensWiki/Supported_versions

dire dew
#

I see

#

thanks :D

#

Sorry for the wrong channel usage

bitter crown
#

it makes player command history easier to look through than server logs which contain everything

fleet kernel
#

i had a script that logged

#

every player action

winter plover
wild cosmos
fleet kernel
#

<util.time_now>

#

😭

lament gyro
#

someone have 1.21.1 denizen?

fringe hamlet
weary mothBOT
# fringe hamlet !patchversion
Info: patchversion

We support only the latest patch-version of Minecraft for any recent main version (and Mojang, Spigot, Paper, etc. all generally also follow the same rule).

"Patch version" means the last number in a version label, for example in 1.20.6, the main version is 1.20, and the patch version is .6.
So if 1.20.6 is the latest patch version, then 1.20.3, and 1.20(.0) are all outdated patch versions, and therefore are unsupported.

Note that we do still support recent older main versions (such as 1.19 and 1.18) so long as you are on the latest patch-version of those main versions (like 1.19.4 and 1.18.2).

See also CitizensWiki/Supported_versions

fringe hamlet
#

For further questions, please make a post

unkempt torrent
#

[21:37:18 INFO]: [HorriblePlayerLoginEventHack] You have plugins listening to the PlayerLoginEvent, this will cause re-configuration APIs to be unavailable: [Denizen]
lmao what

wild cosmos
#

yea we still using deprecated login event

#

aya will probably pr the new ones

teal sedge
#

this is almost too stupid of a question to make a thread but does anyone know how i could check if a cave_vines or cave_vines_plant has berries: true

#

i cannot fhr the life of me figure it out

cloud sigil
#

since when do cave vines have berries

#

oh wait glow berries?

#

check <player.cursor_on.material.type>

#

it's either NORMAL or BERRIES

#

easy way to find this out is by placing the block in game an narrating the material btw

teal sedge
#

you are my hero

#

thank you

grim quail
#

Questions like those deserve their own thread usually.

#

Even simple questions.

teal sedge
#

i will bring a new question to a thread with more of a challenge next time that's a promise

teal sedge
#

shout out to large jungle trees for ruining every timber script I ever try and write

grave thicket
#

is the mechanism: potion_effects still broken?

foggy ember
#

Shouldn't be?

#

But I mean

#

!tias

weary mothBOT
# foggy ember !tias
Info: tias

Try it and see!

If somebody pulled this up for you, you're probably asking a question of the public channel that's easier and faster to figure out by just attempting your idea in-game and looking at the result of that attempt.

molten karma
#

Hi, can you send me guys, denizen for mc 1.21.1 i need this please

weary mothBOT
# grim quail !channel
Info: channel

When you have an issue or question, please create a thread for it in the most relevant channel. Don't use #chatter, it's not a support channel.
#1026104994149171200 is for Denizen questions.
Citizens questions go in #1027028179908558918.
Questions about Sentinel should be put in #1024101613905920052.
Other minecraft/tech topics can go in #1027976885520584814.

Also look in #info for the description of each channel, or at the topic bar (at the top of the screen within each channel). That topic bar also links to the relevant readme file for each project, which contains lots of handy information and links to builds and stuff like that.

stiff tree
#

hi, what ver does everyone use for 1.21.4?

foggy ember
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!

halcyon jungle
#

Anyone here experienced with megizen? If so, how do you usually handle your mobs' AI?

wooden drum
#

Seeing the last Denizen dev build was over a month ago, can I safely assume it's stable enough to upgrade (I'm still on 1.20.4)?

wild cosmos
#

most of them are bugfixes

#

but im running on 1.21.8 just fine

#

so you could give it a shot with proper testing and backups

wooden drum
#

I see. It's nice to hear there's active ongoing development

#

I think I'll wait for a tiny bit longer before updating then

fleet kernel
#

we love denizen spheres

grim quail
#

Might make the trip to latest minecraft, realize there might be a lot make work.

#

That sentence might be stroke inducing. I realize that there might be a LOT to make it work, since I've been running 1.20.4 for a good fat while.

#

Been waiting for more mechs to be segregated from item components so we don't have mega item components.

mossy tide
#

Been on 1.20.5 myself, haven't had the energy to make the big update

fleet kernel
#

wiped my entire server that has been on 1.20.4

#

just gonna make a new one atp

frozen portal
#

the server's tag should be changed to .dsc like skUnity has a .sk discord tag, I think it would look nicer

frozen portal
#

This DNZN tag is not it

fleet kernel
#

but yeah i agree

mossy tide
#

When the item is from vanilla, it gets it's durability converted to the new system

grim quail
#

Neat.

spice cosmos
#

Looks good

hallow scaffold
#

Was there a transparent entity that was clickable and could be scaled depending on size? Interaction is always only as a square, is something other than a rectangle possible? There was something like that...

unkempt torrent
#

you're looking for something that is not a square in minecraft? heh

mossy tide
#

Wish it could be a rectangle or rotated

hallow scaffold
#

Yep...

unkempt torrent
#

i mean technically you could add multiple interact entities with different squared shapes and combine them together

mossy tide
#

Ooh I hate that

#

I remember doing a jank interaction to make barrel blocks

tender cliff
#

@low radish why denizen never update

#

?

#

Since 1.20.4

cloud sigil
#

Denizen has updated. Check the jenkins website that has a link on tbe spigot site, or check #news . Also, dont ping for help please.

grim quail
weary mothBOT
# grim quail !rule 3
Rule 3

Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).

If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.

If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.

tender cliff
#

...

weary mothBOT
#
Rule 3

Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).

If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.

If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.

tender cliff
#

Depenizen?

wild cosmos
#

what that question mean

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!

grim quail
#

(Same with depenizen)

grim quail
hallow scaffold
#

cheating!! πŸ˜„

#

ladderbuilding like scaffolding-placement...

#

nonono

foggy gorge
#

if it typically stacks against it like wall signs do i might not use that same idea, but it looks really convenient and i like it a lot haha

mint summit
#

ladders can't be placed on ladders

foggy gorge
#

cool, then im totally copying this idea haha

foggy gorge
grim quail
#

It just places it beneath the ladder and checks continously.

foggy gorge
#

ah, i like the simple concept but im going to do the former with your idea as heavy inspiration if you don't mind 🀠

grim quail
#

Sure.

foggy gorge
#

i love vanilla-esque adds like that haha

grim quail
#

Uses a custom proc or two.

#

I bet I'm missing something.

foggy gorge
#

actually everything you have there is a huge helping start, ive been away so long that i feel like i wouldnt have came up with the basics you wrote for the location stuff

grim quail
#

I had to make a thread regarding some of it.

foggy gorge
#

oo actually

#

oh nevermind

grim quail
#

Theres a slew of vanilla stuff I did, some of it I'm not sure I even did properly and need to go back to double check.

#

Like I have a event... somewhere that makes it so if you right click fuel on a furnace it'll auto slot it into the furnace. Same with cookable items.

foggy gorge
#

that's a really nice addition too actually

edgy egret
#

ive applied a script to a citizen, upon right click they perform a set of commands. would it be possible to me to be able to perform a command and have that npc perform that script from that?

wild cosmos
#

i mean create a post here 😭

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!

rigid idolBOT
grim quail
#

There is no reason to forward that here.

winter plover
grim quail
#

Ah.

#

That was my second guess.

#

Quick on the draw does that.

gloomy valve
#

Does anyone know what I can use to upgrade the healthScale when an event happens with 2 hearts ?

celest heath
#

Does anyone know what build I need of citizens for 1.21.4?

weary mothBOT
# graceful laurel !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!

graceful laurel
gloomy valve
foggy gorge
deep zodiac
#

whats the point of denizen

#

when skript exists

wild cosmos
#

hows that even an argument

#

😭

tribal depot
#

Bit of a loaded question mate. They're similar concepts, just different design philosophies. Naturally we're biased toward Denizen, others prefer Skript.

obsidian owl
#

^ Whatever that guy said is false.

We just want to crumble the Skript Monopoly

rigid idolBOT
foggy gorge
#

but golly i cant wait for denizen 1.21.9 :B

#

ive literally been waiting to update because i didnt feel like running the separate subversions

foggy ember
foggy gorge
graceful laurel
#

we have to pick up our skript mention numbers guys!!!!

#

(/j)

foggy gorge
#

i honestly forgot it existed 😭

#

ive been in and out for a while recently but still feels like years lol

halcyon jungle
#

β€œwhats the point of c# when java exists”

obsidian owl
#

"whats the point of any high level coding language, when assembly exists?"

mossy egret
#

just hard wire it into the transistors

halcyon jungle
#

why not just write directly in binary

unkempt torrent
#

why even writing, let your ai do your job

halcyon jungle
#

what's the point of humans when AI exists

foggy ember
#
  • Humans are now deprecated
worn oak
#

highly appreciated

graceful laurel
#
  • all chats are now parsed and monitored through a unremovable, server-side llm
mossy tide
frozen portal
#

denizen is so niche πŸ₯Ή

#

could never be a skript user

halcyon jungle
#

what would really be cursed is if you used both at the same time

grim quail
#

Some people do.

#

That is their decision.

mossy tide
#

one of my friends keeps telling me to do everything using kubeJS

wooden drum
#

- execute as_server "send [the] action[ ]bar [with text] %string% [to %players%]"

sinful spindle
#

Do not recommend lol

mossy tide
#

my friend was using chatgpt to read the documentation for him lol

fleet kernel
#

maybe its time we all move to minestom β€οΈβ€πŸ©Ή

#

(said nimsy)

graceful laurel
#

lol

#

port denizenscript to minestom

foggy ember
#

I mean, you could

hallow scaffold
#

i know there is a command to create those, how? toast is diffrent

#

its from the narrator i think

grim quail
gloomy valve
#

How can I spawn a mythic entity in a noted location ?

weary mothBOT
# wild cosmos !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!

wild cosmos
#

wtf sorry for caps lol

grim quail
gloomy valve
wild cosmos
#

monkey should definitely add that alias haha

tiny elk
#

@frozen brook <material[stone]>

frozen brookBOT
tiny elk
#

@frozen brook <player>

frozen brookBOT
tiny elk
frozen brookBOT
foggy ember
mossy tide
#

That's actually funny, how many of the tags default to Monkey's data?

mossy egret
#

i think dtagparser is a discord bot linked to an actual server where hes just logged on

#

theres a line in the source code that goes like this

- inject tag_parser_process_tag_task player:<server.players.get[1]> npc:<server.npcs.get[1]>
mossy tide
#

Oh neat

frozen portal
#

@frozen brook <server.has_file[../../plugins]>

frozen brookBOT
# frozen portal <@349935669956706304> <server.has_file[../../plugins]>

Tag parse results for <server.has_file[../../plugins]>: https://paste.denizenscript.com/View/136529

server.has_file[../../plugins]
Had error: Some 'server.' tags for core features are deprecated in favor of 'util.' equivalents, including 'java_version', '*_file', 'ram_*', 'disk_*', 'notes', 'last_reload', 'scripts', 'sql_connections', '*_time_*', ...
Had error: Cannot read from that file path due to security settings in Denizen/config.yml.
Had error: Tag <server.has_file[../../plugins]> is invalid!
Had error: Unfilled or unrecognized sub-tag(s) 'has_file[../../plugins]' for tag <server.has_file[../../plugins]>!
Had error: The returned value from initial tag fragment 'server' was: '(Base-Object)'.
Had error: Almost matched but failed (possibly bad input?): has_file
frozen portal
#

dang it

grim quail
gloomy valve
#

How can I create a list in denizen ?

wild cosmos
#

by using data actions for example

mossy egret
#

i think you should create a thread and detail what you need, and then people can suggest more specific ways

mossy tide
#

What's the wrong way to make a list, but still somehow do it anyways?
Answer: Somehow my coding often enough

foggy gorge
grim quail
frozen portal
#

spread the gospel

graceful laurel
#

ten more messages after this one and we'll have 14444 messages in this channel

stray pulsar
#

how can i tell which version of denizen to get for whatever version of the server

mossy tide
#

#news

stray pulsar
#

ty

grand badger
#

<@&315163832861589505> PLS GIVE Denizen for version 1.21.1

open pivotBOT
#

@fossil steeple timeout @grand badger 12h Automatic Timeout (Rule 3) - Abusive role pings. Please read and follow the #rules

fossil steepleBOT
fossil steepleBOT
graceful laurel
#

lol

fleet kernel
#

why can we even ping admin

graceful laurel
#

o.o

sinful spindle
grand badger
#

Denkzen is there 1.21.1

grim quail
foggy gorge
#

dankenizen, where you script dank denizen

wooden drum
#

^ accidentially getting a ton of polite German-speaking users

hallow scaffold
unkempt torrent
#

is it possible to jump to a task in vscode when you hover over it and press a keyboard shortcut or is my brain bamboozlin me

hallow scaffold
#

i only know that for PHP functions

worn oak
#

i use it like that

tiny wing
#

!lang forma script

weary mothBOT
#
Possible Confusion

Did you mean to search for format script containers?

weary mothBOT
# tiny wing !lang forma script

Format script containers are very simple script containers used for formatting messages.


Format_Script_Name:

    type: format

    # The only key is the format. The format can use '<[text]>' as a special def to contain the message being sent.
    # | All format scripts MUST have this key!
    format: [MyProject] <[text]>

'<[name]>' is available as a special def as well for use with the 'on player chats' event to fill the player's name properly.
Note that 'special' means special: these tags behave a little funny in certain circumstances.
In particular, these can't be used as real tags in some cases, including for example when determining a format script in the 'player chats' event.

Group

Script Container System

fringe hamlet
thorny coral
#

whats the latest version that works with 1.21.8?

grim quail
#

#news, but in the future make a thread since this channel isn't for questions or support.

foggy gorge
#

like, i dont even know who or what extended_clip is and it's not mentioned here before

#

oh pf, maybe ill check out the spigot discord

grim quail
#

Not based on real events (hopefully), for fun only! Posts every hour.

foggy gorge
#

i didnt even look at their profile yet actually, good look

grim quail
#

How oddly specific.

low radish
foggy gorge
#

pffff thats stupid

#

minimal effort spambot at best

low radish
#

it's kinda funny, but yeah it posting a new random thing every hour is excessive

quartz wraith
#

kind of funny sometimes=completely justified in spam

mossy tide
#

Me when I waste space on the Internet for good boy points

foggy gorge
#

||disclaimer: i know duuids arent spam||

grim quail
#

I got really annoyed with my procedure for item text centering and clamping being wrong whenever it felt like, I really didn't feel like trying to unfuck whatever I was doing so I just made it again in a clean environment.

#

Happy to say it's seemingly working.

#

https://paste.denizenscript.com/View/137313 If anyone wants the script that I used, here it is.
This is the outdated version, check below.

I use /fixitem when holding an item to auto-generate a lore, which should give a randomly centered text, and then clamped down text to match the text width of the border.

#

This may not even fully fix my issue lol, but at least it'll be fine for text. I realize this might be an issue because I'm using unicode in my fancy item descriptors.

grim quail
#

Alright. Don't think it actually fixed my problem but I feel better knowing it works as it should though. Though I did oopsie it.

#

https://paste.denizenscript.com/View/137316 Forgot to accommodate for the final word if it's exceeding the width, oopsie.

Threw in some gradient on the center text for fun too.
Doesn't resolve the issue on my actual dev environment, but I have such a complicated set of scripts that I'll have to tear things apart until I find out why my text isn't centering, despite it using the same exact proc I just wrote.

#

Found out my previous issue, somehow extending the border I made in my custom items for... no real good reason? Don't have an explaination.

grim quail
#

The real reason I am going through any of this is to replicate the smithing table, and add to it. Mostly because of #1350649389135302748 message but also beecause it's giving me a reason to play with custom GUI, which is mostly working.

I fear the day I'm gonna have to look into how Arzero managed to make aligning text properly.

graceful laurel
#

they left the discord pensivebread

grim quail
#

They have like 3 public resources laying around.

#

I plan to use them to learn how they're doing alignment with stuff.

graceful laurel
grim quail
#

#moderators message Cough, wheeze, hack. Not important to this channel though.

#

Point being is, I plan to look at their stuff sometime.

graceful laurel
#

yeah very cool shenanigans

grim quail
#

They've got some procedure for aligning text that I don't fully understand yet.

#

I realized my typo now.

#

I am not trying to sue them.

#

I am going to use their scripts.

fringe hamlet
#

hire wahr to see if you have a case

grim quail
#

I realized I typo'd again. I better stop before I say something else like how my dog did eight backflips because I wrote a denizenscript to do so.

grim quail
#

Oh man, trying to slap in two player names into a gui kind of sucks ass.

#

I'm doing hypothetical names and I think H has the longest text width of any character, and someone technically has that name.

#

If I tried really hard I could probably get them centered or something, but you'd never be able to get them side by side probably.

#

Unless like.. I guess I shrink the text????

grim quail
#

(I'll probably ask for help in my thread, but I just found it funny how long names get.)

foggy ember
#

One name above one name below Β―_(ツ)_/Β―

#

Might not look terrible if you design the rest of the UI around that

wild cosmos
#

strip the name if you really need it πŸ€·β€β™‚οΈ

#

!t elementtag.text_width based on width for example

weary mothBOT
foggy ember
wild cosmos
#

output:
Gre... Gre...

foggy ember
#

Although I guess you could make the full name a hover

unkempt torrent
#

You - Them

#

done

unkempt torrent
#

please create a thread in #1026104994149171200

grim quail
unkempt torrent
#

whatcha mean unless its noted?

grim quail
#

If you had a noted inventory, then it'd be confusing when you open it up and it says YOU THEM, and you tried to put an item in as the target underneath the YOU slots, then it shouldn't work because it's based on the requester?

#

It's why the name idea was a thing, but realistically you'd probably just want like TRADER TRADER and player heads next to them.

unkempt torrent
#

oh yeah, then have two noted inventories :p

grim quail
#

At that point just use generic inventories.

#

Well, non-noted inventories.

#

I can fit the names in if I really want to, I'll just have to figure out negative spacing properly so that they stay relatively on top of their respective areas. Which when I get to it (because I'll need to) I'll ask in my gui thread.

humble flower
#

oh my godddddddddd i have no clue how to denizen anymore

#

i'm reading my old scripts and i'm seeing hieroglyphs

#

like i can understand the logic behind it but not what its actually doing

#

uughghhhh

grim quail
#

Is this like your third account.

#

Did you sell your other account again.

sinful spindle
#

@fossil steeple note @humble flower alt of @old ventureand @old venture

fossil steepleBOT
#
Note Recorded

Note from @sinful spindle to @humble flower recorded.

sinful spindle
#

cursed

fleet kernel
#

😭

grim quail
#

Seriously can you like, keep to one account?

fleet kernel
grim quail
#

Okay but like.

#

This is their third account.

#

What happened to the second.

sinful spindle
#

and his first had like 5 distinct identities lol

fleet kernel
grim quail
#

I remember my name flipping on and off depending on what mood or "theme" I had going on for like a few years. Until I just stuck with what I have now.

#

(Despite being LG_Legacy here, this is not what I normally go by.)

humble flower
humble flower
#

there were 5 accounts in the time between my last appearances here

#

now i officially retired from 'cord drama :> this one'll last

low radish
#

tf have you been doing

humble flower
#

trolling 4channers

grim quail
#

Brother.

#

(Or sister. I don't know your pronouns)

#

Play stupid games, win stupid prizes.

sinful spindle
grim quail
#

I wouldn't put it past monkey.

humble flower
#

the egregious red arrow shall not pass anywhere near my beautiful presence

humble flower
hallow scaffold
#

Is there a Meta changelog?

unkempt torrent
#

denizen meta information is updated through denizen code

hallow scaffold
#

hmm okay, then its not easy to detect whats changed on examples or descriptions

fringe hamlet
#

In the meta, you can click on the reference link at the bottom of each box to file the file, and at the top it'll show the last commit that included that file

#

Or for specific lines, you can select the "blame" tab and it'll show when each line was updated

unkempt torrent
#

I think they would like to have an overview of changes

old venture
#

im eager to understand how powerfulk Denizen is. I klnow the documentation says "very" but I had some interesting ideas for Minecraft plugins/functions and wondered if this is the correct place to ask more generic questions on wwhats feasible?

unkempt torrent
#

you can technically do anything and beyond what the spigot/paper api allows you to do so

#

you can also host webservers and discordbots from your minecraft server

old venture
#

Happy for me to spitball here?

unkempt torrent
#

(and also order pizzas in reallife)

#

sure

#

if it goes into detail you should make a thread though

foggy gorge
old venture
#

ok.

  1. NPC (or group of NPCs) that walk from village to village picking up "things" in a specifically named chest (named after the village they are for) and dropping them off in chests in other villages also named.

  2. Cell towers. Build a tower from 10 x fence + 1 redstone torch on top as an example and tag it in some way. This becomes a cell tower with a specific radius. I'd like to use this with SimpleVoiceChat which I specifically limit its current local radius, to create a wider cell network for anyone whos within a cell and whose cell is connected to other cells.

old venture
#

Yes I saw that πŸ™‚

fringe hamlet
#

The first one is definitely possible, the second may require a Depenizen bridge to fully function depending on how SimpleVoiceChat sets its radiuses

old venture
#

do NPCs operate over long distances?

#

ie can their linear paths be very long?

unkempt torrent
#

yes but it sometimes helps if you have checkpoints

old venture
#

nice! and what about NPCs operating if there are no players on the server. Do I need to use some clever mechanisms to keep the server alive and tus the NPCs wandering?

unkempt torrent
#

npcs can load chunks iiirc

old venture
#

even better

#

i'll do some testing

wild cosmos
#

would you acutally need to operate them if none can see them? o.o

foggy gorge
# old venture nice! and what about NPCs operating if there are no players on the server. Do I ...

personally, when i have instances where I know NPCs are going to be "doing things" when players aren't around to see it happening like doing mundane tasks. the only example i can think of is a shop NPC i once had pretending that it was going back and forth between the furnace/stove, cooking the raw items it was sold, and stocking their shop with the cooked items at their booth. when players werent online though, i just kept track of how long it would have taken it to of done it otherwise and just swapped out that much raw food for cooked food when it could have been relevant

#

a thread would be great for brainstorming all sorts of stuff you can do, including experimenting and getting more ideas with others

old venture
#

will do

foggy gorge
#

like actually making the npc mirror the player, always decide that it hates pet cats in it's shop, making it shoot lasers out of it's feet, and initiating your server's grandmaster boss fight when it finds out the player doesn't like lasagna

#

oh and giving it a shop pet chicken chicken jockey wizard who only speaks in broken spanish

old venture
#

I like the sound of your server!

foggy gorge
#

you'll love it until you see the skeletons i make riding the phantoms that spawn three times their normal size

#

everyone loves a phantom that uses ranged attacks

#

oh nooo i dont have on my repo the script that also makes phantoms have a chance to "pick up" players and drag them up like thirty feet into the air when they swoop down to attac, dropping you from tall heights lol

zealous parrot
#

Is thee a working denzien version for 1.21.10?

unkempt torrent
#

please make a thread for your question in #1026104994149171200

#

also could you please remove the website from your nick

foggy gorge
rotund plaza
#

copper golem :?

wild cosmos
#

copper golem :!

foggy gorge
#

i wonder if copper golems mounted ontop of copper golems are any efficient

#

someone should /ex mount copper_golem|copper_golem|copper_golem for experimentation SCblushy

mossy tide
#

We should strike one with lightning to see if its more efficient

dark hill
#

Mounting them is amusing - bottom two appear to access chests, while the top one just seems to be lazy.

dark hill
grim quail
#

I wonder if theres a publicly available stat for how many github projects (Just a number) use denizen script.

sinful spindle
#

yes and no

#

^ 147 identify as denizenscript

#

some larger amount probably use denizen but github doesn't realise that

feral stirrup
# dark hill Mounting them is amusing - bottom two appear to access chests, while the top one...

Anyone you know could be one (three) of them
Original by @ChaseNoseworthy - https://www.youtube.com/watch?v=QsLN542nvGg
Another Verse by @bryanboston2572 - https://www.youtube.com/watch?v=kqfjyjqAoKo
Special thanks to Bryan for transcribing the notes for the vocals for me!

All art, animations, vocals, and instrumentals by JoCat (except the 3d i...

β–Ά Play video
foggy ember
sinful spindle
#

and is also only public repo's

winter copper
#

!pleaseclose

#

!pleaseclose

grim quail
fossil steepleBOT
#
Warning Recorded

Warning from @grim quail to @winter copper recorded.
Reason: "Attempting to pleaseclose random threads."

grim quail
#

This is unnecessary. Stop attempting these.

fleet kernel
#

lmao can you even close this thread

#

./invalid

low radish
#

bot doesn't know the difference between this thread and any other

sinful spindle
#

Only the thread owner(monkey) and helpers(Β±lite) can close a thread though afaik

foggy gorge
cursive tide
#

What a great meme brought to life.

foggy gorge
#

Honestly looks like a super simple and cool script idea tbh

#

i already have a QoL script for dispensers that places sand and concrete powder for an easy redstone mechanic to farm up concrete a bit easier than just manually wetting them kek this is an awesome idea

rain coyote
foggy gorge
#

But it now makes me think of Indiana Jones heh

foggy ember
#

Not that I understand the original ofc, but they seem to match what's going on lol

foggy gorge
#

Too much morphine and fentanyl at thr Ement 5ill check thjd out when I wake up lay soon

#

It sounds nife

modern gyro
#

First time using custom fonts. Made this healthbar with it. Really happy with the result.

#

it also adjusts to your max hp

wild cosmos
#

niceee

foggy gorge
#

i made something kind of like that with countdown timers for mini-game waiting rooms, i love the fancy display bars with resource packs you're able to make

modern gyro
#

Looks good!

foggy gorge
#

yeah you do ;D

modern gyro
#

:0

foggy gorge
#

i cant wait to make showcase pages of those old projects

#

we need a star sticker board for all the good denizzles kek

fleet kernel
#

πŸ˜”

#

maybe a thread channel

foggy gorge
#

a refrigerator door of sorts

grim quail
#

That sounds like a jrpg enemy.

humble flower
# fleet kernel showcase but less formal

just make it less formal!
i noticed some people dont post in it because they're "scared" that it's held to a higher standard of script quality and post formatting

ofc, the script quality should stay, but if everyone started writing more casually in it, it'd eventually become more informal ;)

fleet kernel
foggy gorge
fleet kernel
graceful laurel
foggy gorge
#

so @graceful laurel i had the idea that i was going to go ahead and whip up another version of the script with a configuration at the top or from another file, so server owners could determine how they'd like their spear events work for themselves:

#

making it so the players get totally launched just from spam clicking with that was always funny to watch

foggy gorge
#

@urban nexus I found a video uploaded by you showcasing a grappling hook of sort and having mentioned you used Denizen - but i dont see any kind of presence of yours here before; do you still actively develop with Denizen? would love to see more of your stuff

foggy gorge
#

^ o jk i just learned who you are lol nevermind - cool stuff and nice server!

foggy gorge
#

my fellow Denizzles, i have achieved what i believe is one of the most based and exciting surprise for myself with my future with Denizen and a C# project idea i wanted to contribute to
i wanted to wait until she actually joined so i could ping her here to throw a spotlight at her face but my verysoontobe wife is both interested AND planning on learning some Denizen later today! clappy

#

she took some programming classes in college and actually worked with java which is fun, but we have been both coming up with fun ideas for B and little things we could do together to put it together; something also fantastic is that with both her degree in industrial design and being Significantly better than I am with modeling, she's able to help me with that being one of my biggest struggles lol

#

i'm setting up like, the whole workplace setup i think would be easiest for her to start working with, and we're gonna run through the whole guide, run a few exercises, and probably run through a bunch of resource pack stuff so we can implement that as we go too

#

but super excited SCgrin it feels awesome to be with someone and share like, 95% of hobbies and interests to the point that we can actually do something like this together

mossy tide
#

Force her to accept your PRs, dev maxxing

foggy gorge
#

we were playing Part Time UFO with some friends yesterday at a party, and thought that we could totally make a minigame on Minecraft out of it

#

we'd just use happy ghasts as vehicles, create a fun claw type model to attach to an invisible armor-stand or something and leash it to the ghast to pick up and drop display entities disguised as oversized blocks or random furniture models kek

storm shore
#

Just wanted to say: the person who created quaternions is as much a genius than a demon. It's such a powerful tool but so hard to understand in an intuitive way πŸ₯²

mossy egret
#

you can thank the goat william rowan hamilton

#

i know him more for hamiltonian mechanics though

low radish
#

when working with Denizen or any similar interface, the trick to understanding quaternions is: don't

#

funky math inside? Who cares, you don't need to know it. We had to know to impl in Denizen, but that's it

#

as far as you need to care, it's a rotation

#

you have an object that represents a rotation, you can combine multiple rotations together, you can pull the rotation between existing things, or you can use it to rotate an entity or whatever

storm shore
#

I was a bit disapointed when I discovered that multiplying twice in a row by the same quaternion is like "doing nothing". And also that we can also change the scale of objects if we forget to normalize

low radish
#

you also shouldn't ever need to normalize in normal usage

storm shore
frozen brookBOT
low radish
#

you can just repeatedly multiply by that

frozen brookBOT
#

Tag parse results for <location[0,1,0].to_axis_angle_quaternion[<element[-30].to_radians>].mul[<location[0,1,0].to_axis_angle_quaternion[<element[-30].to_radians>]>].represented_angle.to_degrees>: https://paste.denizenscript.com/View/138147

59.999999999999986
low radish
#

as you can see, double that quaternion is a 60 degree rotation

#

whatever issue you had was likely how you were handling inputs, not the basic usage of quaternions

exotic raft
#

@frozen brook <material[light]>

frozen brookBOT
storm shore
spiral yew
#

How is everyone doing?

#

Been a while

foggy gorge
#

and she's been like, giving me tons of inspiration and motivation to script again

spiral yew
#

That's good.

#

Congrats ^^

foggy gorge
spiral yew
#

I was looking into typewriter, that thing looks interesting but I don't have the patience to learn anything new lol

#

And, it doesnt integrate cleanly with Citizens they use their own NPC system so I'm not sure how I feel about that. There's a reason Citizens is such a big project the features are hard to maintain.

#

Also, not sure i'm a fan of using in-game editor mods to edit the npcs and scripts etc

#

Which is what it looked like was how it worked to me

foggy gorge
#

what is that other than an old people keyboard lol

#

i literally cannot find it because i suck at browsing

spiral yew
#

In this case it's a plugin for writing and scripting quest chains and adding custom functionality

#

kinda like denizens

foggy gorge
#

ah icic

spiral yew
#

but all in-game

#

using a plugin (I think)

spiral yew
#

Plus what if I want to make the NPC do something truly complicated? If I can't control it with denizens what's the point

foggy gorge
#

maybe once my AGI Champagne is fully capable of writing large, dense, and functional code, she could generate helpful resources for this

foggy gorge
#

a very dead project i had was a denizen script to procedurally generate structures to be placed in the world; heavily inspired by Fallout, i wanted to make Vaults that are compiled of villagers like villages - each with their own 'evil experiment' behind their shelter from the overworld and all the mobs and stuff, underground

#

and that's actually both coming back up now and might become my Tuesday/Thursday projects. It'd be nice to have a system like that to integrate into something like that

proud drum
#

@foggy gorge and I are getting me started on the beginner guide and we noticed the buttons to advance through the articles are looking a little funky on mobile. They light up once you've navigated to it, as if it's registering that you've previously clicked a link lol

foggy gorge
#

Is she really pinging me from less than nine inches away

foggy gorge
#

I think most people are doing this on a computerlmao

foggy gorge
#

Lol it do be weird on windows though

#

Iunno if monkey would want a thread for that kind of stuff since it's bootstrap

#

or because they should be on a computer alternatively

low radish
low radish
#

so we haven't bothered validating on mobile at all

graceful laurel
foggy gorge
late cairn
#

Does anyone know how to share player flags across two proxy-connected servers w/o using a backend DB?

grim quail
#

Sounds like it's worth a thread.

#

(Pretty sure we've had this asked before.)

foggy gorge
foggy gorge
#

I know it's not us but it's still funny to see this is the best search result behind the beginners guide lol

fringe hamlet
#

It may be us, #actives-only message

hallow scaffold
#

Happy New Yearnizen!

foggy ember
#

Er no sorry yeah I meant to say I use 2 lol

unkempt torrent
#

look how cursed I am with using 4 spaces

foggy ember
#

4 spaces is the norm mostly lol

#

#changelog message heh I just realized I posted an example script in #changelog with 2-spacing lol

low radish
#

bad

foggy ember
#

Stop being spacist monkey >:(

low radish
#

4 spaces is actually obligatory sometimes

#

also 2 spaces is extremely annoying to read as you can't clearly make out the blocking

foggy ember
#

It's how I obfuscate my scripts

#

But Idk, just never bothered me I guess

sinful spindle
quartz wraith
#

6??!?!??!

mossy egret
#

i use 1 space because its funny

halcyon jungle
#

Hell nah 6 is another degree of unhinged

spiral yew
#

Anyone have any half decent midi collections

#

lol

#

only song I have is pokerface and it's like the entire 3 minutes song

mossy tide
#

A good one I go for always is the Sea Shanty 2 from Old school Rune Scape

kindred sierra
#

Is denizen still working?

sinful spindle
#

yes

#

Please make a post if you're having trouble

kindred sierra
#

the plugin won't load in my 1.21.11 server

#

i'll make a post

foggy gorge
#

i love MOTD randomizer - 'Ping the human' made me chuckle

#

i only imported Minecraft's funky random text at the start screen - i dont think i've ever even made much of an attempt to read them until i made them my own lol

foggy gorge
#

lmao it wasnt exactly directly from you but you had the best working example usage i could reference immediately so thanks for that @storm shore

#

wait heck wrong screenshot

#

thought it'd be cute if the introduction to necromancy only meant you were only allowed to have baby skeletons

#

this actually would be a very cute pet script

arctic flower
#

pet script seems cool

foggy gorge
#

little tiny baby creepers

arctic flower
#

thats what imma call my kids

foggy gorge
#

i shall call him Little Dynamite Timmy

grim quail
#

Lil Bombers

#

Reminds me of uh..

arctic flower
#

me

grim quail
#

Scale is fun.

#

I don't remember if negative scale is possible.

foggy gorge
#

i made my smol boi with /ex spawn creeper[has_ai=false;attribute_modifiers=<map[scale=<map[key=custom:scale;operation=MULTIPLY_SCALAR_1;AMOUNT=-0.5]>]>]

#

and now, mwahaha

creeper_handler:
  type: world
  debug: false
  data:
    modifiers:
      scale:
        key: custom:scale
        operation: MULTIPLY_SCALAR_1
        AMOUNT: <[amount]>
  events:
    after creeper spawns:
      - define amount <util.random_decimal.round_to_precision[0.1].max[0.1]>
      - define modifiers <script.parsed_key[data.modifiers]>

      - adjust <context.entity> attribute_modifiers:<[modifiers]>

    after creeper explodes:
      - define amount <context.entity.attribute_modifiers.get[scale].first.get[amount]>
      - determine <context.strength.mul[<[amount]>]>```
#

fixed that sorry

mossy tide
#

Oh god baby skeletons, I'm getting PTSD from playing old Mekanism which constantly had baby skeletons spawning and being OP

foggy gorge
mossy tide
#

Idk, here's a skeleton which spawned with better than diamond armor and you can't hit it due to their strafing mechanic. What's that its only night 1 and you have stone equipment?

graceful laurel
spiral yew
#

What if instead of exploding they randomly chose between exploding and getting larger haha, so you're on edge.

halcyon jungle
#

What if when they grow large enough they collapse under their own gravity and form a black hole

storm shore
storm shore
unkempt torrent
#

upside down entities? owo

graceful laurel
#

name them dinner bone and hide their name tag

foggy gorge
#

I did want to learn of course, I just wanted to see if it was true kek

#

I'll try making it a negative number sometime later haha

mossy tide
#

What's it look like in the inv gui when hidden?

spiral yew
#

empty lsots

#

I think it used to be visible but there must be a change on the client code side

#

Maybe that's why it broke. Not sure.

#

The effects still seem to apply for the extra breathing.

#

and whatnot

mossy tide
#

have you tried changing the item_model to something that doesn't have an armor render?

#

Like a stone button

spiral yew
#

I have not. Not a bad idea.

#

That might make them equip the item on their head though (clientside)

#

Send me a snippet i can try rq

mossy tide
#

No no, change the item component for it

#

Gimme sec to find it

#

inventory adjust slot:hand components_patch:[item_model=string:minecraft:stone_button]

#

Oh I think it'd be easier to set a custom asset_id for the armor texture

#

That way the player still can equip and de-equip the armor, but it just has no texture or custom cosmetics

spiral yew
#

What would be the right way to disable the patch?

mossy tide
#

Probably change it to what it normally is minecraft:diamond

spiral yew
#

Well I can send you my snippet that works and then I can test it later if you don't want to try it. I have to setup my staging server before I can get around to it.

mossy tide
#

But hey I have no idea really what I'm talkin about haha

spiral yew
#

No it's cool, I like the idea of showing armour.

mossy tide
#

Probably on the thread you had would be better

spiral yew
#

Be worth it to try anyhow.

#

Yeah for sure, I'll go reopen it.

spiral yew
#

That is awesome.

#

How do you do something like that?

#

Is that a custom model?

mossy tide
#

Jank and lots of jank

cloud sigil
spiral yew
#

I wanted to get into blockbench and add some custom stuff but I don't know how haha.

spiral yew
mossy tide
#

But yes, it's a 3d item_display, then a text_display, and finally a interaction entity to tie them together

spiral yew
#

You should write a mini guide on how to do it. I'd love to try making something and adding it to my server haha.

cloud sigil
spiral yew
#

Does it work on Geyser? That could be why.

mossy tide
#

Uh

spiral yew
#

I have to use geyser, just a friend group requirement.

#

And that would be one of the reasons I couldn't even touch it if I wanted to.

mossy tide
#

I was going to say you can technically do custom textures with some jank using Geyser, but 3d models is a nogo

#

Supporting Bedrock is ass anyways

spiral yew
#

Oh trust me I know.

#

I'm using skinrestorer so they can use their actual skins they want to use

cloud sigil
#

Convince your friends to switch to java

#

lol

spiral yew
#

It's all a headache

#

They play on Xbox.

#

Otherwise I would.

mossy tide
#

pain

spiral yew
#

NPC's already all show up as steve

#

nothing you can do to even fix that haha

#

I even bought them java but good luck convincing them to play using it.

mossy tide
#

If only mojang never made bedrock and instead just did a java emulator port to consoles

spiral yew
#

If they ever make an Xbox again it'll probably just be a windows desktop with a fancy GUI for controller users.

foggy ember
spiral yew
#

I feel like the amount of money the game brings in we shouldn't need mob polls just add them all and prioritize adding one of them first based on the poll results.

grim quail
#

I want to support bedrock but my cool tooltip stuff doesn't work well on bedrock.

spiral yew
#

But fair enough, I don't develop for the game so I wouldn't know.

mossy tide
#

If models and custom textures worked, I'd support it

rigid idolBOT
mossy tide
#

cool

spiral yew
#

They are supposedly deobfuscating java, do you think or feel like that would immediately let server softwares like spigot and paper catch up way faster, and by consequence, modders and plugin devs would have less issues keeping plugins up to date and stable?

foggy ember
#

It won't greatly effect development, Paper already had entire toolchains to deobfuscate and remap the server source & are currently releasing their jars way before the full Minecraft release

#

It'll just make everything overall easier for the most part, and help with some specific parts of the source being more readable

foggy ember
spiral yew
#

I see

humble flower
foggy gorge
foggy gorge
#

:p

#

oh sorry i didnt realize that was the same user both replies

#

i wouldnt have ponged the second time

#

but custom items ^ is an easy way to add objects via display entities

fleet kernel
dawn flower
#

i've written something similar but other players could see my armor if i were to teleport away and back

#

or if they had joined after i fakeequipped my armor etc

#

it worked very conditionally

graceful laurel
#

it's a mod ye

foggy gorge
#

it spooked me because that would feel so nice to be able to do in vanilla lol

humble flower
#
example_script:
  type: task
  debug: false
  script:
  - stop
  main_task:
  - ...
  utility:
  - ...
  another_utility:
  - ...

caller:
  type: task
  debug: false
  script:
  - run example_script.utility
  - run example_script.main_task
  - run example_script.another_utility

currently doing this and wondering if it's frowned upon, bad practice or whatnot, or if it's just cool and okay and just a different style

#

πŸ‘€

#

inb4 "sure, but why"

unkempt torrent
#

sure, but why

#

there's a special key for subscripts to prevent a: vscode marking subscripts as errors, and b: scripts from breaking, if we add new keys into script containers

humble flower
#

there's a subscript key?! oh wow!
where is that in meta

mossy tide
#

you can fucking do what?!

sinful spindle
#

it's not a denizen 'feature' per se, it's a vs code one

#

you can technically read any key because that's just how yaml works

low radish
#

iirc task is allowed arbitrary subscripts and most others need the special key

#

anthony always spammed subscripts for everything way back when

grim quail
#

I also didn't meant to ping respond.

#

It's handy when you have different calls for opening a main menu of an inventory with sub inventories, and keeping track of pages whatnot.

humble flower
rigid idolBOT
unkempt torrent
humble flower
humble flower
wild cosmos
#

there are more languages than denizen??

humble flower
halcyon jungle
humble flower
#

nyegehehehhehehehe

sinful spindle
humble flower
#

every other programming/scripting lang is just a denizen reskin

humble flower
#

just fully working, no downsides

sinful spindle
#

.... does it highlight other errors?

humble flower
#

...... i dont know. now that you mention it, its been quite a while since i got vscode screaming at me

low radish
#

actually, correction: a bunch of container types can have random scripts. All the ones not marked here

humble flower
#

oh yeah missing definitions get highlighted

spiral yew
#

And yes that's a third person camera mod on fabric I can grab the name in a bit

humble flower
#

my methods of telling vscode to shut up just went from noob to pro to hacker by understanding how ##ignorewarning works

grim quail
#

Did you just recently change your name.

humble flower
grim quail
#

I'd jest and change my name to LG_Legacy (ping for warn) but I don't think monkey would like that.

humble flower
#

LMFAO

#

LG_Legacy (ping for ignore)

unkempt torrent
humble flower
#

i know what im doing bro trust

#

trqst the plvn

grim quail
#

I can't even trust your spelling.

spiral yew
#

But you can trust that you can't trust his spelling.

humble flower
#

that just shows how disconnected ive become to normal people...... LMFAO
that's some internet lingo, kind of like leetspeak (y0u kn0w, typ1ng l1k3 th15), but with q's and v's

spiral yew
#

Trqst is not leetspeek

humble flower
#

kind of like

spiral yew
#

Don't you dare slander the very much readable and legible art of l33tsp34k

humble flower
#

it's supposed to be trvst the plqn

#

i did it wrong

#

πŸ˜”

#

i'm a poser

spiral yew
#

1337SP34K is not for the faint of heart

#

I grew up in the trenches

grim quail
#

I can read leet speak, but I cannot type it.

spiral yew
#

I dug them so you could crawl

grim quail
#

I was there gandalf.

mossy tide
#

I'm going to have a stroke

humble flower
spiral yew
mossy tide
#

No

spiral yew
grim quail
#

Let's not.

humble flower
#

πŸ˜”

grim quail
#

Gotta remember the target audience for minecraft.

#

Whats the rule again?

#

!rule 11

weary mothBOT
# grim quail !rule 11
Rule 11

Don'tn't.

If a helper pulled this up for you, stopn't do.

spiral yew
#

I'm gonna make a thread

#

About something I was gonna ask in here

#

I'm evolving

grim quail
#

I just realized my fish stat system is going to be problematic for cooking the fish, that'll be fun to work around.

unkempt torrent
#

why's that

humble flower
#

πŸ€¦β€β™‚οΈ

humble flower
graceful laurel
#

a bow trajectory visualizer would be a neat little scripting project

humble flower
#

with possibility of going from easy to hard depending on how you do it xD

kind hill
#

hello where i can download denizen for 1.21.8

grim quail
#

@fossil steeple cracked 589522164420706304

fossil steepleBOT
mossy tide
#

What's the oldest version/first version of denizen that people can still download?

grim quail
#

Well the jenkins only goes back to 1.0.3-b500-dev

#

Which who knows what that version targets specifically.

fringe hamlet
#

there's denizen pre-release 0.8 from 2012, which seems to be around 1.4.6-7

mossy tide
#

Alright time to open and advertise a custom content MC server on 1.4.7 and suffer trying to do anything since we wouldn't have fancy features back then

humble flower