#Open Denizen Discussion Thread
1 messages Β· Page 15 of 1
Returns the 'determine' result of a procedure script with the given context.
ObjectTag
yea its in my thread
the fact that the gamerule command doesnt take list of worlds as an input makes me craaazy
featuretheead
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%.
wha
This is cool but "nameuser" for nickname is questionable naming
At least make it "username"π
The naming is bad I know
It's to get the display name of a player's username.
Because I let players rename themselves.
That's a better one.
#info message
Well, once the build is out
Any suggestions?
The obsidian blocks in the airstrike will be changed to models with a resource pack. The missing block (purple checkerboard) particles I'm also fixing with a resource pack.
Also going to add something that will remove floating blocks.
I also want to add a shockwave of dust hovering over the ground but that seems impossible
and one of my coolest of all (imo), area regeneration
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?
make a thread/post
I guess?
thanks
Ooh I get to have a Denizen tag. π·οΈ
there was a popup for me
huh
click on it
but you can also set tags in your discord profile settings
oh interesting
1.21.6 secure function? clicking inside books >.<
π gg
found this
to use /trigger instead,... i have dozens of npcs with clickables >.<
well, that sucks
hopefully they remove it quickly. I doubt people will be happy with that
why the fuck can non-permissions'd players emit click events tho

can denizen redirect denizenclickable to Trigger?
sry i have no clue about the technical background of the trigger command
Denizen already has a safe special thingo for that, just need to mark the denizenclickable command as not "require elevated permissions" to the client
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
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
Have you tested how it behaves re clickables? see first example @ https://meta.denizenscript.com/Docs/Commands/clickable
in our scripts we ( @hallow scaffold ) use
example 1 and 2 - still the same thing - so thats not the solution
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
So wait and hope for the best
i doubt it would take long ^^
Ah shite I also use clickables for my dialogue system. I hope it's just for books and not chat issues
rip my Denizen tag
capitalized it and apparently that ripped it off everyone, you can just reapply
@low radish why is @frozen brook down π₯
oh it didn't autorestart
paper has mappings ready as i saw
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.
!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!
:)
I can already see problems, but I'll wait for the post.
Thanks, I already made the publication
Out of pure curiosity, what is the technical reason of "never ever" using .equals in an if or while loop? Link
Tag search for 'elementtag.equals'
because those are commands where you can ==
Lmao thatβs so hacky
@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)
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
Maybe that's clientside mods to nake the game smoother
Like sodium or sth
Have you tried with vanilla?
I'm on vanilla
is someone interested in newest error logs from paper 1.21.7? π
Logs for what? a build isn't even out yet
Is BreweryX in Depenizen or is that not a thing
Not yet. There a PR open for it at https://github.com/DenizenScript/Depenizen/pull/430, but it could be awhile before it gets merged
Ah coolio, thatβs what I thought but I confused myself lol. Ty!
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
pr opened for this already
all goood haha
that moment when all the bug threads want to be closed

thanks alot! *testing boost*
π

Is there something to configure for this, or does it still require an denizen-update?
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.
Ooh that's pretty cool
where i can download denizen for 1.21.4?
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!
is this an action i have to do or is this a denizen code thing?
denizen code thing
okay, thanks for info - so i hope for the next updates :3


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
β’ 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
My bad then, sorry
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
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
I thought we were in #1098024603756015726
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
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]>
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
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
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/
Oh. Huh.
please ignore the - determine true its a placeholder
I never use them without subpath
maybe some devs might be rotateing at this moment I guess? Should I open a thread for clarification?
#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.
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?
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.
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? ^^
Is that an advice to open a ticket/thread? I 'm still developing english as it's not my native language
Yeah, if you want more help on this it's worth a thread.
Will do thanks, I make an mcve
is that choose command necessary
cant you just - inject proc_rift.<[argument]>
https://discord.com/channels/315163488085475337/1395197369259393075
referring to this ^ inject ist finde, but as - inject proc_rift.subscripts.<[argument]>
*fine
i havent gone thru that thread the choose command just really bugged me π
actually it looks so
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
technically, when nobody is online it will throw an error instead of en empty list
fall backs :)
gotcha, one line less π
it not a big deal i just really like as little lines as possible π
you could totally one line it
π¨βπ¦―ββ‘οΈ
wait
i just actually read your code
!t find_players_within
Returns a list of players within a radius.
Result list is sorted by closeness (1 = closest, 2 = next closest, ... last = farthest).
finding
ListTag(PlayerTag)
just use that from the center π
you could totally one line it
we need to have a one line competition
where we try to one line extremely messy stuff
depending on what you're doing, that doesn't really seem like too bad a challenge
!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.
element checking
ObjectTag
^ savior
new #1204239476897878036?
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
that leads us to the reason why I'm here in this channel ^^
preachh
π
hang on let me pull up a less-messy part of my /help script...
if you think this is the worst justin has created you're in for a treat
no offense much love justin
- narrate "<&hover[<&c>First Page]><&c><<><<><<><&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]> <>><>><>><&end_click><&end_hover>" if:<[staff]>
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
when i was still doing denizen half my scripts looked like this and i knew i could make them pretty but there were so many i couldnt be bothered
i just don't like repetitive sections when i know i could shorten it to something like this
as long as console isnt screaming i am not touching it
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)
honestly mood
i miss the ddiscordbot era i used it for everything
discordsrv could never

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
two steps ahead
Is this... Narration text with page stuff?
Yes. Different ranks have their own page of commands they can access under /help, this is a bar for them to click and go to the next or previous page without having to retype the command every time
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.
how did you highligh that text yellow?
#todo
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.
#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.
yeah, saw that thread π
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.
perfectly valid answer. Fewer users, not enough dev hours to branch for the minority of users. Appreciate the fast response. Denizen is a wonderful plugin. I've developed on servers where they ran half their custom items and seasonal events on it (bit extreme, but it worked π€£).
Appreciate what you guys do.
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
dude, at this point just make your own game instead of completely changing minecraft π
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
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```
is this #1098024603756015726 ? π
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
1.21.8
should make your own post for more questions
Sorry my bad
But it didnt work on my 1.21.4 server?
dont worry about it
yea it doesnt
1.21.8 is supported
older patch versions arent
!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
?
it makes player command history easier to look through than server logs which contain everything
and good mspt
using placeholders to get time is cursed enough
someone have 1.21.1 denizen?
!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
For further questions, please make a post
[21:37:18 INFO]: [HorriblePlayerLoginEventHack] You have plugins listening to the PlayerLoginEvent, this will cause re-configuration APIs to be unavailable: [Denizen]
lmao what
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
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
i will bring a new question to a thread with more of a challenge next time that's a promise
shout out to large jungle trees for ruining every timber script I ever try and write
is the mechanism: potion_effects still broken?
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.
Hi, can you send me guys, denizen for mc 1.21.1 i need this please
!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.
hi, what ver does everyone use for 1.21.4?
!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!
Anyone here experienced with megizen? If so, how do you usually handle your mobs' AI?
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)?
uh this is mostly due to mcmonkey not having enough time rn to review open PRs
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
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
we love denizen spheres
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.
Been on 1.20.5 myself, haven't had the energy to make the big update
the server's tag should be changed to .dsc like skUnity has a .sk discord tag, I think it would look nicer
This DNZN tag is not it
its cuz its denizen and citizens
but yeah i agree
BAM, still needs work, but damn I got it done.
When the item is from vanilla, it gets it's durability converted to the new system
Neat.
Looks good
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...
you're looking for something that is not a square in minecraft? heh
Wish it could be a rectangle or rotated
Yep...
i mean technically you could add multiple interact entities with different squared shapes and combine them together
Denizen has updated. Check the jenkins website that has a link on tbe spigot site, or check #news . Also, dont ping for help please.
!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.
...
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.
Depenizen?
what that question mean
If you're having trouble with denizen then make a post.
!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!
(Same with depenizen)
It's neat when you can just replicate ideas from other mods straight into vanilla.
so i can save myself the time of updating and logging in (lol) what happens normally when you try placing a ladder against a ladder?
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
ladders can't be placed on ladders
cool, then im totally copying this idea haha
does your script check if the player is trying to place a ladder closer towards the bottom or top or does it default to trying to place a ladder at the bottom every time?
It just places it beneath the ladder and checks continously.
ah, i like the simple concept but im going to do the former with your idea as heavy inspiration if you don't mind π€
Sure.
i love vanilla-esque adds like that haha
https://paste.denizenscript.com/View/136236 Source if interested.
Content of Denizen Script Paste #136236: Unnamed Denizen Script Paste... pasted 2025/09/17 06:30:20 UTC-07:00, Paste length: 1039 characters across 17 lines, Content: tidbits_ladders:Β Β Β Β Β Β type: worldΒ Β Β Β Β Β debug: falseΒ Β Β Β Β Β events:
Uses a custom proc or two.
I bet I'm missing something.
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
I had to make a thread regarding some of it.
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.
that's a really nice addition too actually
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?
i mean create a post here π
!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!
There is no reason to forward that here.
I accidentally
Does anyone know what I can use to upgrade the healthScale when an event happens with 2 hearts ?
Does anyone know what build I need of citizens for 1.21.4?
!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!
#1027028179908558918
I did but no one replied!
that's how it works, now you wait for someone to reply
Bit of a loaded question mate. They're similar concepts, just different design philosophies. Naturally we're biased toward Denizen, others prefer Skript.
^ Whatever that guy said is false.
We just want to crumble the Skript Monopoly
skript mentioned 3 times in the last three months here in our discord; the Citizens and Denizen Discord.
it's almost like Skript users prefer the Skript discord and Denizen users use the Denizen discord - it's not a competition or anythinglol
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
aaaaaamojangchangedsomuchrandomstuff

denizen is mentioned quite a bit over there lol
we have to pick up our skript mention numbers guys!!!!
(/j)
i honestly forgot it existed π
ive been in and out for a while recently but still feels like years lol
βwhats the point of c# when java existsβ
"whats the point of any high level coding language, when assembly exists?"
just hard wire it into the transistors
why not just write directly in binary
why even writing, let your ai do your job
what's the point of humans when AI exists
- Humans are now deprecated
highly appreciated
- all chats are now parsed and monitored through a unremovable, server-side llm
inbefore 1.21.10 due to copper golems causing some gamebreaking bug
what would really be cursed is if you used both at the same time
one of my friends keeps telling me to do everything using kubeJS
- execute as_server "send [the] action[ ]bar [with text] %string% [to %players%]"
I had to use it for a modded server i ran, there's essentially no documentation anywhere
Do not recommend lol
my friend was using chatgpt to read the documentation for him lol
its a mod
maybe its time we all move to minestom β€οΈβπ©Ή
(said nimsy)
I mean, you could
i know there is a command to create those, how? toast is diffrent
its from the narrator i think
You know you should make a thread for this.
How can I spawn a mythic entity in a noted location ?
!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!
wtf sorry for caps lol
I'd like to imagine for a moment you just yelled MAKE A POST.
"MAKE A FKN POST " that's what I heard
monkey should definitely add that alias haha
@frozen brook <material[stone]>
Tag parse results for <material[stone]>: https://paste.denizenscript.com/View/136506
m@stone
@frozen brook <player>
Tag parse results for <player>: https://paste.denizenscript.com/View/136507
p@460e96b9-7a0e-416d-b2c3-4508164b8b1b
@frozen brook <player.name>
Tag parse results for <player.name>: https://paste.denizenscript.com/View/136508
mcmonkey4eva
Please use #bot-spam
That's actually funny, how many of the tags default to Monkey's data?
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]>
Oh neat
@frozen brook <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
dang it
#bot-spam as suggested above please.
How can I create a list in denizen ?
by using data actions for example
theres a lot of ways, it depends on your specific usage
i think you should create a thread and detail what you need, and then people can suggest more specific ways
What's the wrong way to make a list, but still somehow do it anyways?
Answer: Somehow my coding often enough
tomorrow iiii iwill wake up, eat a spicy chicken biscuit from chic fil a, meander on youtube for 3-19 hours, update myself on the Amazing Digitial Circus, watch 1-2 episodes, eventually pass out after hours of tv, and then wonder if i found a new tv show or if i accidentally signed up for a free trial that aired on a commerical that i fell for
Amazing digital circus mentioned.
spread the gospel
ten more messages after this one and we'll have 14444 messages in this channel
how can i tell which version of denizen to get for whatever version of the server
#news
ty
<@&315163832861589505> PLS GIVE Denizen for version 1.21.1
@fossil steeple timeout @grand badger 12h Automatic Timeout (Rule 3) - Abusive role pings. Please read and follow the #rules
Non-ASCII nickname for @grand badger changed to base username. Please only use a readable+typable US-English ASCII nickname.
@open pivot has timed out @grand badger for 12 hours.
lol
why can we even ping admin
o.o
trap
Denkzen is there 1.21.1
Was, not supported anymore.
Make a thread if you're having issues since this isn't a support thread.
dankenizen, where you script dank denizen
^ accidentially getting a ton of polite German-speaking users

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
i only know that for PHP functions
double klick on it. and then strg+shift + f
i use it like that
!lang forma script
Did you mean to search for format script containers?
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.
Script Container System
#bot-spam
whats the latest version that works with 1.21.8?
#news, but in the future make a thread since this channel isn't for questions or support.
so im scrolling through #Denizen #Minecraft posts on BlueSky and i found this: https://bsky.app/profile/spigotdrama.bsky.social/post/3lmo5w5amy42f
extended_clip ignores the Minecraft community's complaints about Denizen, causing more incompetence
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
Not based on real events (hopefully), for fun only! Posts every hour.
i didnt even look at their profile yet actually, good look
i ended up finding a profile https://www.spigotmc.org/members/clip.1001 ,
who is mentioned here: https://www.spigotmc.org/threads/noclip-block-extended_clip-from-joining-your-server.448427 too
How oddly specific.
that account randomly generates a mix sentence from a keyword list
it's kinda funny, but yeah it posting a new random thing every hour is excessive
kind of funny sometimes=completely justified in spam
Me when I waste space on the Internet for good boy points
duuid's in a nutshell
||disclaimer: i know duuids arent spam||
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.
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.
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.
they left the discord 
They didn't leave but I know what you mean.
They have like 3 public resources laying around.
I plan to use them to learn how they're doing alignment with stuff.
oh i thought i saw them leave via #joins-leaves o.o
#moderators message Cough, wheeze, hack. Not important to this channel though.
Point being is, I plan to look at their stuff sometime.
yeah very cool shenanigans
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.
hire wahr to see if you have a case
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.
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????
(I'll probably ask for help in my thread, but I just found it funny how long names get.)
One name above one name below Β―_(γ)_/Β―
Might not look terrible if you design the rest of the UI around that
strip the name if you really need it π€·ββοΈ
!t elementtag.text_width based on width for example
Returns the width, in pixels, of the text.
The width used is based on the vanilla minecraft font. This will not be accurate for other fonts.
This only currently supports ASCII symbols properly. Unicode symbols will be estimated as 6 pixels.
If the element contains newlines, will return the widest line width.
element manipulation
ElementTag(Number)
GregorySmithTheFirst and GregorySmithTheSecond trading:
output:
Gre... Gre...
Although I guess you could make the full name a hover
is this some form of trading menu
You - Them
done
please create a thread in #1026104994149171200
Yeah this was more of a concept. You/them would work unless it's noted lol.
whatcha mean unless its noted?
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.
oh yeah, then have two noted inventories :p
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.
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
@fossil steeple note @humble flower alt of @old ventureand @old venture
Note from @sinful spindle to @humble flower recorded.
cursed
π
Seriously can you like, keep to one account?
his main got spam reported and poofed
and his first had like 5 distinct identities lol
bill gates to jesus
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.)
i TRY lmfao
believe it or not. mass reported.
there were 5 accounts in the time between my last appearances here
now i officially retired from 'cord drama :> this one'll last
tf have you been doing
trolling 4channers
Brother.
(Or sister. I don't know your pronouns)
Play stupid games, win stupid prizes.
donottrust comeback?
I wouldn't put it past monkey.
the egregious red arrow shall not pass anywhere near my beautiful presence
brother, yeah. dw its cool
Is there a Meta changelog?
what do you mean exactly?
denizen meta information is updated through denizen code
hmm okay, then its not easy to detect whats changed on examples or descriptions
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
I think they would like to have an overview of changes
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?
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
Happy for me to spitball here?
(and also order pizzas in reallife)
sure
if it goes into detail you should make a thread though
one of the funniest achievements people here make is actively replacing premium plugins with Denizen with more performant, prettier, and kooler functionalities
ok.
-
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.
-
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.
spiderman_pizza_time.gif
Β» Twitter!: https://twitter.com/jumpsplat120
Β» Patreon: https://www.patreon.com/jumpsplat120
Game link: Minecraft.net
===== ATTRIBUTION =====
Bossa Antigua by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song/3454-bossa-antigua
License: http://creativecommons.org/licenses/by/4.0/
Deuces by Kevin MacLe...
Yes I saw that π
The first one is definitely possible, the second may require a Depenizen bridge to fully function depending on how SimpleVoiceChat sets its radiuses
yes but it sometimes helps if you have checkpoints
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?
npcs can load chunks iiirc
would you acutally need to operate them if none can see them? o.o
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
will do
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
I like the sound of your server!
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
Is thee a working denzien version for 1.21.10?
please make a thread for your question in #1026104994149171200
also could you please remove the website from your nick
its time for chrimas denizenscript music videoes 
throwback to mwthorn's awesome christmas show: https://www.youtube.com/watch?v=owfdBOGZYwo
https://discord.com/channels/315163488085475337/315163488085475338 you said you were coming back :(
copper golem :?
copper golem :!
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 
We should strike one with lightning to see if its more efficient
Mounting them is amusing - bottom two appear to access chests, while the top one just seems to be lazy.
trickle down economics
Top dude is "supervising" the work
I wonder if theres a publicly available stat for how many github projects (Just a number) use denizen script.
yes and no
^ 147 identify as denizenscript
some larger amount probably use denizen but github doesn't realise that
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...
And also since it's relatively new if a repo hasn't been touched in a while it might not show up I think
and is also only public repo's
@fossil steeple warn 1350500152313385000 minor Attempting to pleaseclose random threads.
Warning from @grim quail to @winter copper recorded.
Reason: "Attempting to pleaseclose random threads."
This is unnecessary. Stop attempting these.
bot doesn't know the difference between this thread and any other
Only the thread owner(monkey) and helpers(Β±lite) can close a thread though afaik
This thumbnail reminds me of when @cursive tide brought the idea of "three baby zombies in a trenchcoat" alive 
What a great meme brought to life.
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
this is an awesome idea
imagine this in some egyptian tomb map
Funny context, I am from indiana
But it now makes me think of Indiana Jones heh
Its that time of the year again 
https://www.youtube.com/watch?v=Q916o3JnB30
That's really cool (I used the auto-translated subtitles, they're not too bad actually)
Not that I understand the original ofc, but they seem to match what's going on lol
Too much morphine and fentanyl at thr Ement 5ill check thjd out when I wake up lay soon
It sounds nife
First time using custom fonts. Made this healthbar with it. Really happy with the result.
it also adjusts to your max hp
niceee
i like it, picasso!
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
Looks good!
yeah you do ;D
:0
i cant wait to make showcase pages of those old projects
we need a star sticker board for all the good denizzles 
showcase but less formal
π
maybe a thread channel
are you a good noodle
That sounds like a jrpg enemy.
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 ;)
sometimes i dont wanna post my scripts lmao
should of saw hyper and i's mess ten minutes into collaborating via liveshare on VSCode Lmfao
hyper leaking the entire harbormc codebase
its so messy that i don't think there'd be much benefit in doing that lmfao
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:
funny enough, one of the first ideas i had was the fact that people cling so hard to Minecraft's 1.8 combat...
making it so the players get totally launched just from spam clicking with that was always funny to watch
make spear bigger
@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
^ o jk i just learned who you are lol nevermind - cool stuff and nice server!
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! 
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
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
Force her to accept your PRs, dev maxxing
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 
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 π₯²
you can thank the goat william rowan hamilton
i know him more for hamiltonian mechanics though
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
Yeah, I had some trouble when starting to do some "movement simulation" with display entities and their interpolation between rotation properties
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
that multiplying twice in a row by the same quaternion is like "doing nothing"
That's not twice: mult by one quat twice is equivalent to rotating that amount twice. It'd only be doing nothing if the rotation is 180 degrees
you also shouldn't ever need to normalize in normal usage
I don't know exactly how I came to that result but I had a script which was supposed to apply a rotation of a few degrees (~30Β°) every second but the result was an oscillation between two states (0 and 30Β°) by growing up a bit each time.
I eventually understood how I was supposed to to it, instead of multiplying by a "magic" hand-made quaternion
Tag parse results for <location[0,1,0].to_axis_angle_quaternion[<element[-30].to_radians>]>: https://paste.denizenscript.com/View/138146
quaternion@-0,-0.25881904510252074,-0,0.9659258262890683
you can just repeatedly multiply by that
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
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
@frozen brook <material[light]>
Tag parse results for <material[light]>: https://paste.denizenscript.com/View/138148
m@light[level=15;waterlogged=false]
Yes, that's how I do it now
I don't know what issue that was but it's now solved
fantastic - im going to be marrying a lady soon and she's willfully attempting to become a faithful Denizzle here with us 
and she's been like, giving me tons of inspiration and motivation to script again

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
oh, is typewriter a uh
what is that other than an old people keyboard lol
i literally cannot find it because i suck at browsing
In this case it's a plugin for writing and scripting quest chains and adding custom functionality
kinda like denizens
ah icic
this makes sense then
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
maybe once my AGI Champagne is fully capable of writing large, dense, and functional code, she could generate helpful resources for this
ohyeah this is sketch, for sure
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
@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
Is she really pinging me from less than nine inches away
The buttons do look kinda hard to see at the bottom but uh
I think most people are doing this on a computerlmao
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
-# don't comment on the "nine inches" don't do it monkey this is a nice place don't make a comment don't no no aaa
doesn't really make sense to go through the guide on mobile generally, since you'd generally have a PC logged into minecraft and all in front of you while looking at it
so we haven't bothered validating on mobile at all
I think I remember reporting this bug around when I started too lol
i don't know if i should feel proud or bothered by how alarmingly faster she is learning Denizen than i did 
Does anyone know how to share player flags across two proxy-connected servers w/o using a backend DB?
It'd imagine it has to be a common thing for bungee servers using denizen, I wouldn't see why you wouldn't if you actively script haha
I know it's not us but it's still funny to see this is the best search result behind the beginners guide lol
It may be us, #actives-only message
Happy New Yearnizen!
look how cursed I am with using 4 spaces
4 spaces is the norm mostly lol
#changelog message heh I just realized I posted an example script in #changelog with 2-spacing lol
bad
Stop being spacist monkey >:(
4 spaces is actually obligatory sometimes
also 2 spaces is extremely annoying to read as you can't clearly make out the blocking
this is why i vary the spacing from 2, 4 and 6 spaces completely on whim. If nobody can read it without having a seizure, nobody can steal my code :D
6??!?!??!
i use 1 space because its funny
Hell nah 6 is another degree of unhinged
Anyone have any half decent midi collections
lol
only song I have is pokerface and it's like the entire 3 minutes song
A good one I go for always is the Sea Shanty 2 from Old school Rune Scape
Is denizen still working?
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
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
lol
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
pet script seems cool
little tiny baby creepers
thats what imma call my kids
i shall call him Little Dynamite Timmy
me
https://cdn.discordapp.com/attachments/1027064108056580106/1267814580751569057/image.png?ex=695da296&is=695c5116&hm=b0c56465a7ebb55330ff9038254fae1af7a3ab47076eaeb282bdbb3e94a8fe6a& When I was trying to replicate infernal mobs.
Scale is fun.
I don't remember if negative scale is possible.
negative scale is smoller i think?
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
Oh god baby skeletons, I'm getting PTSD from playing old Mekanism which constantly had baby skeletons spawning and being OP
at least they aren't Bedrock skeletons
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?
what if, instead of exploding, creepers just kept getting bigger after priming
What if instead of exploding they randomly chose between exploding and getting larger haha, so you're on edge.
What if when they grow large enough they collapse under their own gravity and form a black hole
Nice that it could help! I had some trouble figuring that out lmao
Note that here the scale is (-0.5 (your amount) +1 (constant))Γ1(original scale)
I don't know what would result a real negative scale amount i.e. -2 for example (giving a scale of -1)
But I assume that a lower boundary exists
upside down entities? 
name them dinner bone and hide their name tag
Yeah so no lie I really just copied and pasted so I wasn't thinking about that multiply_scalar bit - that makes sense! I appreciate that, thank
I did want to learn of course, I just wanted to see if it was true 
I'll try making it a negative number sometime later haha
What's it look like in the inv gui when hidden?
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
have you tried changing the item_model to something that doesn't have an armor render?
Like a stone button
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
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
What would be the right way to disable the patch?
Probably change it to what it normally is minecraft:diamond
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.
Content of Denizen Script Paste #138479: Hidden Armour... pasted 2026/01/07 15:39:56 UTC-08:00, Paste length: 1498 characters across 36 lines, Content: spellbook_inventory:Β Β Β Β Β Β debug: trueΒ Β Β Β Β Β type: inventoryΒ Β Β Β Β Β inventory: chest
But hey I have no idea really what I'm talkin about haha
No it's cool, I like the idea of showing armour.
Probably on the thread you had would be better
Spinnnnn
Jank and lots of jank
Mann why does minecraft not have this yet
I wanted to get into blockbench and add some custom stuff but I don't know how haha.
Too busy running a mob poll so they can add 1 mob per year
But yes, it's a 3d item_display, then a text_display, and finally a interaction entity to tie them together
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.
adding blockbench stuff to your server is so annoyingly easy idk why theres not way more people doing it, I think it's great
Does it work on Geyser? That could be why.
Uh
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.
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
Oh trust me I know.
I'm using skinrestorer so they can use their actual skins they want to use
pain
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.
If only mojang never made bedrock and instead just did a java emulator port to consoles
If they ever make an Xbox again it'll probably just be a windows desktop with a fancy GUI for controller users.
What do you mean lol, if anything Mojang has been adding too many features recently
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.
I want to support bedrock but my cool tooltip stuff doesn't work well on bedrock.
But fair enough, I don't develop for the game so I wouldn't know.
If models and custom textures worked, I'd support it
cool
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?
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
Also they don't even do these anymore, haven't had mob votes for a while now
I see
yknow, i cant look at mojingles nowadays and think they're doing something good. so im kind of scared much like an abused dog wondering how this will be used to enshittify java minecraft even more
...wait .... are you rotating your camera view without changing your player's perspective??
!guide resource pack
View the guide page 'Resource Packs - Custom Items And Sounds' at: https://guide.denizenscript.com/guides/non-denizen/resource-packs.html
: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
a mod i think
does this work from other player's perspective?
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
it's a mod ye
it spooked me because that would feel so nice to be able to do in vanilla lol
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"
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
there's a subscript key?! oh wow!
where is that in meta
you can fucking do what?!
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
iirc task is allowed arbitrary subscripts and most others need the special key
anthony always spammed subscripts for everything way back when
I use subscripts for inventory events.
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.
nahh i much prefer it
that remembers me of inventory actions
ever since i learnt other languages aside from denizen, i started using more and more subscripts
they dont NEED it, i have tons of world scripts with an "inject" key that i put all my subscripts into
there are more languages than denizen??
portuguese, english, and many many more
fake news
nyegehehehhehehehe
i think he means to not scream* in the editor
every other programming/scripting lang is just a denizen reskin
it doesnt scream either xD
just fully working, no downsides
.... does it highlight other errors?
...... i dont know. now that you mention it, its been quite a while since i got vscode screaming at me
actually, correction: a bunch of container types can have random scripts. All the ones not marked here
oh yeah missing definitions get highlighted
Yes
And yes that's a third person camera mod on fabric I can grab the name in a bit
my methods of telling vscode to shut up just went from noob to pro to hacker by understanding how ##ignorewarning works
Did you just recently change your name.
ya, at the exact same time when you pinged me and apologized for it
I'd jest and change my name to LG_Legacy (ping for warn) but I don't think monkey would like that.
almost all warnings that vscode prints to you are relevant
I can't even trust your spelling.
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
Trqst is not leetspeek
kind of like
Don't you dare slander the very much readable and legible art of l33tsp34k
IN MY DEFENSE, i f'd it up
it's supposed to be trvst the plqn
i did it wrong
π
i'm a poser
I can read leet speak, but I cannot type it.
I dug them so you could crawl
I was there gandalf.
I'm going to have a stroke
same, cant figure out which letters turn into which numbers
Phrasing
No
Let's not.
π
Don'tn't.
If a helper pulled this up for you, stopn't do.
I just realized my fish stat system is going to be problematic for cooking the fish, that'll be fun to work around.
why's that
update: i didn't, and the ignorewarning was completely unneeded. actual fix: found β
π€¦ββοΈ
just posted the script that made me question this in #showcase. go check it out!
a bow trajectory visualizer would be a neat little scripting project
with possibility of going from easy to hard depending on how you do it xD
hello where i can download denizen for 1.21.8
@fossil steeple cracked 589522164420706304
Role applied.
Thread created: #1459060929177321626
What's the oldest version/first version of denizen that people can still download?
Well the jenkins only goes back to 1.0.3-b500-dev
Which who knows what that version targets specifically.
there's denizen pre-release 0.8 from 2012, which seems to be around 1.4.6-7
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
have this gif fav-ed cus of you specifically
MWAHAHAHAHAHA
