#Open Denizen Discussion Thread

1 messages · Page 10 of 1

shy patrol
#

I too, love the no-access channel

graceful laurel
#

yeah like the default one

#

the one taught like everywhere

#

asdfjkl;

#

yeah that's the better one lmao

fleet kernel
#

level up

shy patrol
#

gotta pump up those numbers

fleet kernel
#

where are the paragraphs at

astral charm
#

anyone knows i am trying mirror skin with citizens its not working

quartz wraith
#

!makepost

weary mothBOT
# quartz wraith !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!

acoustic python
#

guys how to replace context.entity.passenger on denizen for 1.20, it worked on 1.19.2 but not on 1.20

weary mothBOT
# soft pewter !makepost
Info: makepost

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

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

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

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

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

acoustic python
# soft pewter !makepost

well, I mean make post, this is some kind of joke, to create a whole post for the sake of one text replacement

soft pewter
#

It’s always better to make a post even for small things because it helps other users find it easily using the search bar and sometimes things that seem like little problems become big problems. it’s all explained in the embed

acoustic python
gaunt marsh
#

reformat

#

oops, thought I was searching

tidal cave
fleet kernel
#

WOO

graceful laurel
#

YAY

#

@raven barn CELEBRATE

cosmic tide
#

Yay

#

:(

grim quail
#

Why are we celebrating?

graceful laurel
tidal cave
#

fawe 🤝 denizen rn

#

(compatible wise)

civic kelp
#

Ooooooo. Will def check out.

old venture
#

finally getting back into denizen, just made a pyramid particle proc (i suck at taking screenshots)

unkempt torrent
acoustic python
#

how to designate radius, let's designate spawn, from x:0 z:0 coordinates to x:100 z:100 coordinates?

icy dock
#

also...

weary mothBOT
# icy dock !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!

celest spruce
#

really need me one of those fancy shmancy domains

unkempt torrent
#

I've tested a lot but please do also testing SCgrin

civic kelp
#

for some reason the <&sc> tag isn't working?

unkempt torrent
#

!t &sc

weary mothBOT
# unkempt torrent !t &sc

Returns a special chat code that displays a scoreboard entry. Input is an escaped list of:
Name of the relevant entity, name of the objective, then optionally a value (if unspecified, will use current scoreboard value).
Note that this is a magic Denizen tool - refer to !language Denizen Text Formatting.

Returns

ElementTag

civic kelp
#

getting: Invalid tag base &sc (check !tag ... to find valid tags)

unkempt torrent
#

Isn't a valid tag then

civic kelp
#

expecting a semi colon

unkempt torrent
#

why

#

Escaping System aren't tags

foggy ember
#

!l escaping

weary mothBOT
# foggy ember !l escaping

Sometimes, you need to avoid having symbols that might be misinterpreted in your data.
Denizen provides the tags !tag ElementTag.escaped and !tag ElementTag.unescaped to help deal with that.
Escaped replaces symbols with the relevant escape-code, and unescaped replaces the escape-codes with the real symbols.

Some older style tags and mechanisms may automatically use this same escaping system.

The mapping of symbols to escape codes is as follows:

(THESE ARE NOT TAG NAMES)

| = &pipe
< = &lt
> = &gt
newline = &nl
& = &amp
; = &sc
[ = &lb
] = &rb
: = &co
at sign @ = &at
. = &dot
\ = &bs
' = &sq
" = &quo
! = &exc
/ = &fs
§ = &ss

= &ns

= = &eq
{ = &lc
} = &rc

Also, you can input a non-breaking space via &sp

Note that these are NOT tag names. They are exclusively used by the escaping system.

Group

Useful Lists

foggy ember
#

Note that these are NOT tag names. They are exclusively used by the escaping system.

civic kelp
#

hm. guess I was confused since the <&co> works

foggy ember
#

Thats just unrelatedly also a tag - not related to the escaping system directly, just the same name

civic kelp
#

how do I get a semicolon in my text then 😦

foggy ember
#

Well, just type a semicolon usually :p, no special tags needed - but also please make a post for questions

civic kelp
#

yup

#

sure thing

old venture
#

really liking denizen so far

#

im coming from Skript and its just a lot better in nearly every way

grim quail
#

Each language has their differences, some prefer that language, some prefer denizen.

lament verge
#

purely preference at this point

old venture
#

Yeah its a lot better for my use case

#

coming from someone who has 4-5 years in real-world programming languages, denizen has some featuresets that skript lacks that I've needed for a long time

#

unwritten rule of do not talk about skript can suck major ass because skript itself does 😎

#

idk for beginners i would recommend it

#

although idk the more i use denizen the more i like it

sinful spindle
#

don't bait arguments

#

is skript a #politizen topic?

tribal swallow
#

Skript is a great tool for beginners

#

Yep, I said it

sinful spindle
#

oh hi mr x

tribal swallow
#

Hello!

cosmic tide
rigid idolBOT
cosmic tide
#

Lmao what a level up message

violet yacht
#

Hello there ! Is there a compatible version of Denizen to CraftBukkit 1.12.2 ?

cosmic tide
#

!makepost

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

acoustic python
#

here in general is it allowed to merge scripts of other projects or what?

quartz wraith
#

with appropriate credit and permission, yes. please make a post

acoustic python
#

they just merged the script without here, for which, as I see it, many people were reaching out before, and the merging happened without the permission of the owner

#

because as I see the posts still exist

#

Is there any way to get these posts removed?

cosmic tide
soft pewter
cursive tide
foggy gorge
grim quail
icy dock
rigid idolBOT
grim quail
#

Oh you could of just said the politics channel lol.

leaden talon
#

how to make a npc fox sleep with denizen?

low night
#

!makepost

weary mothBOT
# low night !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!

low night
#

go into the threads section and click on the blue button near the top rightr

unkempt thorn
#

is bot broken? i can't use /parsetag command

soft pewter
#

it'll be back up soon though

teal delta
#

Hi

#

With the Denizen plugin, I can make it so that when a generator breaks, it has 4 hours to turn it back on; otherwise, it will be deleted.

low night
#

!makepost

weary mothBOT
# low night !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!

low night
#

go into the threads section and click on the blue button near the top right

civic kelp
unkempt torrent
#

make forum post

civic kelp
#

unrelated: did I see that the stable branch now supports 1.20?

severe hornet
#

always make a post btw

#

per the above

meager egret
#

Guys. how to fix?

icy dock
weary mothBOT
# icy dock !makepost
Info: makepost

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

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

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

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

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

old venture
#

I like men

grim quail
#

What?

old venture
#

Lol

#

I'm bored

#

Dead server testing how long it took for someone to reply

wild cosmos
#

far away from dead

old venture
#

@foggy ember denzin shit plugin

wild cosmos
#

you just dont see all the channels

old venture
foggy ember
#

My sidebar is way way too big :(

#

Anyway uh

rough lark
#

i guess nobody told her this is a support discord

#

@fossil steeple note 1059133497563951134 Woops did this from the wrong channel, ref #1027064108056580106 message

fossil steepleBOT
#
Note Recorded

Note from @rough lark to @gentle nymph recorded.

worn haven
#

One message removed from a suspended account.

low night
#

!makepost

weary mothBOT
# low night !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!

quiet kayak
#

How do I actually learn denizen? Like i read the whole beginners guide but that still not enough.

old venture
#

start your own project

#

idk maybe something like a gun or magic, do the fun stuff first so you get into denizen pretty easily

#

always reading the meta docs to see if you're doing stuff correctly

low night
quiet kayak
grim quail
#

You could always make a thread if you get stumped on something

low night
#

Go to the threads section and click on the make post button

#

!makepost

weary mothBOT
# low night !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!

dusky dust
#

hey, just a simple question i was wondering how i could check if a location has flag A or flag B in one event line?

#

ie on player breaks block location_flagged:flag_a|flag_b:

low night
#

probably better to still make a post bout it

#

i like to use the search function in the threads and if other people have the same question they'll find it easy peasy

dusky dust
dusky dust
low night
#

!makepost

weary mothBOT
# low night !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!

low night
#

lol

old venture
dusky dust
old venture
#

thats not regex bro

dusky dust
#

all good, if i want more help ill make a post

old venture
#

thats a matcher

fleet kernel
old venture
#

regex is the (^{]> fuckery

dusky dust
#

uh no, im pretty sure those are regexes

#

just really simple ones

low radish
#

incorrect

#

Denizen Advanced Matchables are not regexes

#

to use regex in Denizen you generally need to use the regex: prefix

#

also,

#

@fossil steeple warn @dusky dust serious Repeated behavior of asking support questions outside of the appropriate channels despite very much knowing better

fossil steepleBOT
#
Warning Recorded

Warning from @low radish to @dusky dust recorded.
Reason: "Repeated behavior of asking support questions outside of the appropriate channels despite very much knowing better"
User has 29 previous warnings.

sinful spindle
#

it does not refer to any dynamic matching system

gusty wren
#

my life will be complete once the guide is finished ❤️

#

if i knew how to code well enough in denizen i would contribute but am noob

graceful laurel
#

I’ve been meaning to get a start on the sub mapping page

dusky dust
#

bruh i updated to the latest version of denizen and my quaternions are fucked

#

might have to make a post

#

bruh im an idiot 🤦

cosmic tide
#

I agree to all of the above

pastel field
#

rekt

foggy gorge
old venture
#

the funny thing is, most of us know what those guide sections are, how they work and how to use them, but nobody seems to know How to explain it xD

soft pewter
foggy gorge
#

i can improv shittons of metaphors and examples of a lot of all denizen scripty stuff, lasagna is my specialty

#

but it isn't the kind of quality made for a guide page often lol

old venture
#

lmao

foggy gorge
#

ive drafted a few pages now and theyve been drafted for so long SCgrin

old venture
#

imagine you go all serious trying to learn denizen and all you see are lasagna metaphors

old venture
foggy gorge
#

The Denizen Cookbook - Italian cuisine edition

#

monkey would ream me if i hosted a mockup of the guide rewritten completely in lasagna as opposed to seriously contributing

old venture
#

thats a project that should DEFINITELY be done - just after the normal guide has been finished xD

quartz wraith
cursive tide
grim quail
grim quail
grim quail
#

A fair amount of those can be learned by asking.

gusty wren
#

im bout to make a post rn LOL

graceful laurel
#

pog

gusty wren
#

dude if only copilot was trained on some denizen code... that would be the most legendary thing ever

low night
#

Pretty sure someone already had text ai on servers in showcase

sinful spindle
mossy egret
old venture
#

yeah thats the difference between understanding and having mastered it

grim cliff
#

How to get all the matches/specified blocks to a certain cuboid or area

weary mothBOT
# fleet kernel !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!

flat marsh
#

Guys, is there a section on this server for publishing your scripts? I would be happy to share a couple of simple and interesting works with beginners so that they can learn Denizen from them.

low night
#

yeah, #showcase is perfect for that

#

usually people post screenshots or videos of it

#

as well

flat marsh
#

oh, thanks = )))

old venture
#

@spring dew

#

!t player.is_op

weary mothBOT
old venture
#

about your showcase script

#

can just use that

unkempt torrent
#

@spring dew probably simpler to exclude the commands a player shouldn't see than have to add all commands that a user should see

#

should create a thread in #1026104994149171200 for ya scripty script to review

#

if you'd like to

spring dew
#

Well:

I have done it like this because:

49 Plugins
Worldedit
Essentials

Thats a lot of commands to block

#

so the commands to add are way better.

unkempt torrent
#

Yeah I know but you can simplify your script

#

which makes it overall ✨ better ✨

low night
#

there is a thread open in his showcase post vtw

#

if that matters lol

unkempt torrent
#

ye should be #1026104994149171200 thread imo

low night
#

probably

#

i think if it's a denizen related issue it should be denizen and if its just an issue with the showcased item it can be a showcase thread or smthn like that

unkempt torrent
#

no idea ¯_(ツ)_/¯

#

I mean inital issue can be fixed by proper registration of commands on related plugins / and permission handling SCgrin

grim quail
#

Yep.

#

I have a command system myself that does similar.

#

I got tired of worldedit/whatever plugin showing me commands that I don't have permissions for.

#

So now I have a lengthy data script that dictates what group should have what command access to. If it's not in any of these, then you can't run it and it doesn't show up in the suggestions.

sinful spindle
grim quail
#

I think so, monkey or someone brought it up how it's basically registered on the fly and how it's not properly registered or something.

#

Either way I still do this because I block all commands that aren't in said whitelist, and/or are in my special data script that allows sneaky commands to not show up in auto tab but still runs.

foggy gorge
#

you guys mean FAWE by chance? :0

hallow scaffold
#

wrong narrate in meta

low radish
#

oop

low night
#

I remember something else like that too but I couldn't remember what it is

grim quail
stray pulsar
#

does denizen have to put everything it does into the console?

foggy ember
#

!makepost

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!

stray pulsar
#

ok sry i didnt do post

foggy ember
#

We can help/explain, should make a post though ^

unkempt torrent
graceful laurel
#

woah

#

didn’t even think of doing something like that

unkempt torrent
#

it worki good, imma post on forum later

scarlet gazelle
#

Can I use the non-plugin-support for an error I get that I think might not be citizen or denizen related?

sinful spindle
#

Sure

#

we can redirect you if it actually is

zinc lintel
#

Hello everyone ^ w ^

#

I'm super new to Denizen and it's phenomenal omg

old venture
#

welcome to the plugin that will forever stain your perspective of minecraft

#

whenever comes a new update, i never think of "whats new?" i think of "what new stuff can i make?"

soft pewter
#

🥳

foggy gorge
#

just now noticing this lmao

low night
#

Wow

#

That's really nice to have

foggy gorge
#

yee, i just noticed it on accident

#

beats letting debug tell me where it is lol

soft pewter
#

Mcmonkey is always one step ahead

low night
#

seems nice for also telling u the definitions

mossy egret
#

Would be nicer if there was go to definition

icy dock
#

would be nice too if we can put more docs like official denizen meta docs because i've been write entire procedure script like this

low night
#

does that commented code show it correctly?

icy dock
#

unfortunately, no :(

sinful spindle
#

why would you use that wildly specific format if you didn't expect it to work

icy dock
#

umm, welll.... yaaaaa

#

u know...

low night
#

wishful thinking

icy dock
#

i've been work on my project almost this year. whenever i go back to work on this feature, sometime... i forgot any procedure script i've been made when i wanna use it on other script

#

also. my friend help me on this project, but he is new on denizen. it was usefull for him

soft pewter
#

#changelog message

low night
#

where was that weeks ago i need to put that on everything i make

icy dock
#

yooo, that insane

icy dock
#

i feel that is awesome

icy dock
soft pewter
#

you're welcome! it's also really great because you can add docs to definitions as well which is neat too

icy dock
#

by the way, is there any docs to see how many markdown text could i use like discord have ?

#

this is what i've been tried with markdown

soft pewter
#

it looks like its supports normal markdown source

Visual Studio Code extensions (plug-in) API Reference.

icy dock
#

@soft pewter is there a way to remove the dots (that i mark with red color) to let me put the code stuff?

#

this is how it look that i've been writed on

soft pewter
#

if you want you can make a feature thread for it

icy dock
zinc lintel
low radish
mossy egret
low night
#

oops i didnt mean to reply that lol

mossy egret
#

That and the definitions

low radish
#

iirc you can - them yes

low radish
#

not 100% sure, so,

#

!tias

weary mothBOT
# low radish !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.

spring dew
#

ouf sry forgot to turn off ping

unkempt torrent
#

I‘m working on it

spring dew
#

I think its just armorstands?
With a display name?

icy dock
#

he already mentioned what it was

spring dew
#

did he?

icy dock
dusk pelican
#

i got a bit carried away while making a small item for my players to change the world's weather to thundering so i ended up with this sorta mess, imo it looks pretty cool(pardon me if the footage is a bit low in quality, my laptop is a literal potato 🙏 )

graceful laurel
#

i really like the broken blocks idea

#

very cool

dusk pelican
#

i thought that i might well add some small details to polish it out since i was already so far off my initial track lol, glad that u liked it

old venture
foggy gorge
#

they look like redstone_dust - but, id love to know how you did the lightning paths regardless wow

old venture
#

yeyeah thats what i meant!

foggy gorge
#

that needs combod with the lightning clips i had

#

ima post them again for others to be inspired >:[]

foggy gorge
icy dock
#

let him cook

old venture
#

da formuolie

dusk pelican
#

for the little white particles, i just used a bunch of cloud particles with data value of 0.7. for the lightning arcs, i might well just post the script since im not the best at explaining things lol

- repeat 40:
                        - define destination <[high_loc].random_offset[40]>
                        - define arc <[high_loc].points_between[<[destination]>].distance[5]>
                        - foreach <[arc]> as:current_point:
                            - if <[loop_index]> == <[arc].size>:
                                - foreach stop
                            - define next_index <[loop_index].add[1]>
                            - define next_point <[arc].get[<[next_index]>].random_offset[3]>
                            - define arc[<[next_index]>]:<[next_point]>
                            - playeffect at:<[current_point].points_between[<[next_point]>].distance[0.2]> effect:dust_color_transition special_data:2|<[color_list].random>|<[color_list].random> offset:0 quantity:1 visibility:100

(high_loc is just the location def for the original on air explosion)

old venture
#

oh

#

thats actually clever

#

i had never thought of just .random_offset-ing points 😭

foggy gorge
#

ngl if it were just a random offset to points_between i'd of probably accidentally made a vector with a random yaw and pitch to shoot from, that both makes sense and is neat

old venture
#

yeah doing vectors with random yaw and pitch was always my first thought but they were always too random

dusk pelican
foggy gorge
#

no your option skips a huge step badlaugh

dusk pelican
#

i have a terrible habit of preoptimizing my things which have come back to bite me several times, im just thankful that it went fine as ive always thought that the peeps over here have done similar things but with like a 1000% more efficiency with some sort of sorcery that im completely oblivious to 😭

foggy gorge
#

i write my code very basic, over-defined, and excessively poorly optimized until it works awesome, then i go back and modernize, tweak, and fix the bad codes after

#

its a thrill to get to grill someone to the max about how bad code is, it's a fun game i play against myself

graceful laurel
#

as long as you have a working base to go off of, and understand why stuff is working the way it is, you can optimize and clean up easily

dusk pelican
cursive tide
sinful spindle
#

me @ code i wrote last night

soft pewter
#

lol

quartz wraith
#

me looking at code I wrote 10 minutes ago

low night
#

"god damn who made this mess"

quartz wraith
#

sometimes I leave comments after I write something awful that just say something along the lines of “shits fucked, move on”

low night
#

todo: fix this later and stop being lazy lol

soft pewter
#

todo: what

#

most of the time my todo comments are todo: fix this with no more context so future breadcrumb struggles to know what needs fixing but it saves present breadcrumb a few precious seconds

low night
#

i always make sure to be ultra descriptive when a sitation like that might happen lol

#

like the fix i thought of at the time

grim quail
#

I have 140+ Todo lines

sinful spindle
#

i have 0 because organization is a myth

#

the amount of todo lines i have is coincidentily the same amount of total comments i have

grim quail
#

It's more of I'm on the middle of one script and have to look at another, and I write a Todo to fix or change it and never do

#

Or something is hacky and I tell myself to do it better

#

And leads to it being a !itworks

old venture
pastel field
dusk pelican
fleet kernel
#

once somethings done fuck it

#

im done

#

future me can figure out whatevee the fuck i weote

dusk pelican
fleet kernel
dusk pelican
#

i wish i wasnt so lazy so id be able to make myself do that voluntarily lol. i was messing around with my particle lib and quaternions until i got this thing, looks p cool imo

pastel field
soft pewter
#

bill! bill! bill! bill! bill! bill nye the science guy!

old venture
dusk pelican
celest spruce
#

@fleet kernel yuo might like this

fleet kernel
#

ooh wuantwrions

#

math

dusk pelican
#

the lib uses procedural scripts that essentially act as functions for graphing live so im p sure the sky(or maybe the server's hardware lol)'s the limit. same thing goes for rotating stuff with quaternions

celest spruce
#

freakin awesome

dusk pelican
#

i first came up with the idea to code such a thing when i was taking a dump a few weeks back on a lazy morning 😭

old venture
#

wuuut

dusk pelican
#

its a bit messy but denizen has some really cool tags that simplify the process a lot

dusky dust
#

i just started using interaction entities and man they make life easier

low night
#

i thought those werent gonna be as useful as the other new ents but they've got some pretty interesting uses

pastel field
#

I wish they could detect projectiles but otherwise they’re rad

low night
#

Same

dusky dust
#

i just use ray_trace anyways

low night
#

well

#

for bullet traces maybe lol

pastel field
#

Yeah if you use custom logic you can do it

#

I mean native support ha

celest spruce
dusky dust
#

hey

#

question about dmodels; so does it support any generic entitiy regardless of its rotations, etc?

old venture
#

yo how should a high quality script verification post look like again

#

wanna do it for my inventory item distributor

pastel field
#

or what

#

also probably make a thread lol

dusky dust
#

Hey, so Ricky and I have been trying to solve these rotation issues with dmodels, and I was wondering if I could ping Mcmonkey, since he’s the creator of this “verified high quality” script

quartz wraith
dusky dust
#

I’d like confirmation from a helper

foggy gorge
#

cough

#

!rule 3

weary mothBOT
# foggy gorge !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.

foggy gorge
# dusky dust I’d like confirmation from a helper

Generally only ping somebody if your message is very specifically directed at them
that's the part you need tbh, if it's his script, you're free to @ him about it
if it's a generic script question though it's best to ask everyone

dusky dust
#

great, ty

old venture
#

dynamic pyramid proc, with customizable size, height, bottom shape (if it's a square, a triangle, a hexagon or whatever) and density

#

yay or nay?

raven barnBOT
#

+> YAY!!!

steep wind
#

yay

raven barnBOT
#

+> YAY!!!

steep wind
#

Now showcase it

severe hill
#

Yay

raven barnBOT
#

+> YAY!!!

graceful laurel
#

yay

raven barnBOT
#

+> YAY!!!

old venture
steep wind
#

People might have use for it

spring dew
#

Yay

raven barnBOT
#

+> YAY!!!

rough lark
#

didn't someone here write a proc for catmull-rom splines? for smoothing out camera movements between locations. i am really interested in something like that

rough lark
#

awwwww yeah, thank you !

grim quail
#

Let's thank Mergu for providing better teleportation with relative arguments, because I need to use this since translation doesn't work for me.

hardy quarry
#

if I made a thread a long time ago and it hasn't gotten a reply, is it fine for me to bump it up again or are there any rules I missed about it?

#

I don't wish to create clutter by making a new thread on the same topic but I'm still wondering about that matter and haven't been able to find a solution as of yet

old venture
#

when bumping always try to give additional info to help us help you

hardy quarry
#

sadly in this case idk what else to provide, but I'll keep it in mind for later cases

undone fractal
old venture
weary mothBOT
# old venture !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!

undone fractal
# old venture !makepost

Sorry, but I speak Spanish and when I translated it I didn't understand it well, how do I ask for help from the Dinizen plugin?

old venture
undone fractal
tidal cave
#

Is the internal_data in the lates build? or do i need to wait

#

im so hyped to test it out

#

player internal data can be changed too right :D

foggy gorge
#

oh no, we forgot to tell you it's just for us stewe D:

#

jk #commit-log message

tidal cave
#

um idk how this work :(

foggy gorge
unkempt torrent
#

click the link

tidal cave
#

ahh ok

foggy gorge
#

sometimes when im too tired to even think about seeing jenkin's white background, i'll just backlog that channel until i find the latest versions

#

because sometimes it feels like the responsible thing not abusing an auto-updater

tidal cave
#

oh so it is already on the lates dev build? b6881

tidal cave
cosmic tide
#

Err

#

There is no doc on internal_data

#

!m internal_data

weary mothBOT
#
Possible Confusion

Did you mean to search for interact_with?

pastel field
#

it hasn't updated yet/isn't on main I assume
you can look at the actual commit on github to see how to use it

tidal cave
#

is this the right version?

unkempt torrent
#

!makepost

weary mothBOT
# unkempt torrent !makepost
Info: makepost

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

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

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

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

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

foggy ember
weary mothBOT
#
Error(s) While Reloading Client Meta

Command 'Adjust' contains text link 'command inventory', which does not exist.
Command 'Flag' references tag '<server.online_players_flagged[<flag_name>]>', which doesn't exist.
Command 'Flag' references tag '<server.players_flagged[<flag_name>]>', which doesn't exist.
Command 'Flag' references tag '<server.spawned_npcs_flagged[<flag_name>]>', which doesn't exist.
Command 'Flag' references tag '<server.npcs_flagged[<flag_name>]>', which doesn't exist.

#
Reload Complete

Documentation reloaded successfully.

Clientizen Errors

16

Commands

180

Mechanisms

611

Tags

2392

Object Types

71

Events

373

Actions

39

Languages

78

Guide Pages

87

foggy gorge
#

:0

foggy ember
#

!m internal_data

#

Meta :(

#

!m EntityTag.internal_data

weary mothBOT
# foggy ember !m EntityTag.internal_data

Modifies an entity's internal entity data as a map of data name to value.
The values can be Denizen objects, and will be automatically converted to the relevant internal value.
This is an advanced mechanism that directly controls an entity's data, with no verification/limitations on what's being set (other than basic type checking).
You should almost always prefer using the appropriate mechanism/property instead of this, other than very specific special cases.
See <@link url https://github.com/D...

Object

EntityTag

Input

MapTag

foggy ember
#

Don't know what are you talking about, the meta is right there

pastel field
#

lol

foggy gorge
#

i havent actually committed to a full minigame script lately so im trying out a favorite i've already done on the 2d plane

#

3d minesweeper here we gooo

soft pewter
#

oooo

sinful spindle
#

make 4d minesweeper

#

max of 512 mines

#

around one cell

foggy gorge
#

i'd shit myself

#

already kinda excited about the new legendary 26 bomb marker kekw_dog

dusky dust
#

what if there was like a mech that would remove a display entity when the animation is complete?

#

i wonder if that'd be a reasonable feature request

sinful spindle
#

you know what to do

soft pewter
#

You can always make it one using /featurerequest and wait for responses to see of it’s doable or not

pastel field
#

i mean can't you just...
remove the display entity after it's complete

old venture
pastel field
#

Rotating locations by a quaternion?
it's actually not THAT bad

#

the process is super similar to the rotate_around tags
use uh, transform tag for quaternions

#

<QuaternionTag.transform[<vector>]>

#

I transform a vector here from the base of the eye to the top of the eye here by the same quaternion I'm using to rotate the eye display entity around

#

all you need is transform

#

Tip though, the y axis is flipped as it is for a lot of stuff in Denizen (Minecraft?), you'll need to invert the resulting vectors y axis

#

so like

      - define rotatedVector <[yourQuaternion].transform[<[topVector]>]>
      - define rotatedVector <[rotatedVector].with_y[<[rotatedVector].y.mul[-1]>]>```
dusk pelican
#

oo damn, thats really convenient

#

i just used quaternion multiplication to rotate my things which is a tad bit messier than that

pastel field
#

ye

#

haha

#

I was searching for an easier way to do it and I saw it was there in the docs

#

Wasn't 100% what it did so I looked at the code in github

#

Hope that helps you

dusk pelican
#

i did see that tag but i thought it was used to change the vector's magnitude or something along the line so i ignored it 😭

pastel field
#

same lmao

dusk pelican
#

the doc is quite literally full of buried treasure

pastel field
#

QuaternionTags are fantastic, just not fully explored or understood yet

#

it's exciting

dusk pelican
#

fr

old venture
#

guys i just had an amazing (horrible and painful) idea

#

following this: #showcase message

low radish
#

change your name to nimsy, post some youtube videos about it

old venture
#

wait did he do this already

#

oh no he only made the dodecahedron

#

surprisingly non threatening code

old venture
#

i got to work on the truncated cube first bc it looked fun and after an hourish or so im halfway through it

#

because i figured out all of wikipedia's description and math are completely useless, at least for the truncated cube

old venture
old venture
jade pebble
#

A small question of design, cause i'm interested if there is a go to way of doing this.

Following case is given:
(Do you use one of the two ways or a completely different one?)

# Add a number to a flag that may not exist already
#- 1
- define <[value]>

- if !<server.has_flag[flagName]>:
    - flag server flagName:<[value]>
- else:
    - flag server flagName:+:<[value]>

#- 2
- define <[value]>

- define newValue <server.flag[flagName].add[<[value]>].if_null[<[value]>]>

- flag server flagName:<[newValue]>

#- 3
#- ?

When using lists or maps this is a lot simpler, avoiding the "null" case entirely, but sometimes you just want to increment a value by x.

spring dew
#

but it depends on what you are trying to do.

mossy egret
quartz wraith
#

holy shit what

mossy egret
#

?

#

also make thread next time

quartz wraith
mossy egret
#

oh

#

its pretty nice (sometimes it can lead to problems though for example if you make a typo)

jade pebble
#

You can? So it assumes 0 if the flag doesn’t exist already? That’s convenient ^^

Thanks

And I will next time 🫡, thought as a sort of discussion it would belong here

unkempt torrent
#

!makepost

weary mothBOT
# unkempt torrent !makepost
Info: makepost

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

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

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

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

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

old venture
#

truncated cube time

#

you can dictate how truncated it is

#

angle set to 45 = 0 truncated

#

angle set to 0 = full truncated

#

this also doubles as a prism generator lmfao

soft pewter
#

Wooah looks great

somber sail
#

how do i make it so that if a key is press something happens?

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

somber sail
#

!makepost how do i make it so that if a key is press something happens?

#

!maketheard how do i make it so that if a key is press something happens?

soft pewter
#

you need to click the big blue button

somber sail
#

I got it thanks

soft pewter
#

oh, i just saw it

#

awesome :D

somber sail
#

could someone look at my post?

unkempt torrent
#

patience please, no need to ask here

somber sail
#

ok

sinful spindle
#

bro you closed all your current threads

#

which one are you talking about

unkempt torrent
#

it got resolved

#

their message is 5ish hours old

dusky dust
#

yo @sinful spindle so this is what i ended up doing (the red outline means it has the wrong world, the green has the right one)

severe hill
#

Man that's cool af

dusky dust
#

yo

#

i found a bug for the flags arg for the schematic command, but i dont have time to make a post and a mcve and i dont wanna forget about it so what do i do lol

foggy ember
#

We can't really fix a bug without information about it lol

dusky dust
#

imma make a post

dusky dust
#

hooray

#

i fixed a big issue i was having

low night
#

Nice

dusky dust
#

ive been pasting a lot of massive schematics with flag data in the locations, and a lot of the time, not all the flag data would be transferred correctly

#

then i realized, it actually had to do with my denizen config

#

i set the amount of whiles before it stops to infinite and the amount of blocks it can read to like 1 billion lol

pastel field
#

lmfao nice

dusky dust
#

(figuring this out may or may not have taken me the entire day)

#

i did the weirdest shti you don't even know 😂

old venture
#

well then i hope you cover it in your video because now im curious about it

grim quail
#

And here I was thinking that I turned off worldborder damage, but instead my custom coded land claims had invulnerability turned on for players in admin claims.

#

¯_(ツ)_/¯

severe hill
#

I like the spawn protection boss bar

#

Its a great idea ngl

grim quail
#

Oh yeah, that's what I call a psuedo status effects. I use it for virtually anything that I want a timer visualized for the player for. PvP combat, grace/spawn protection, some special custom effects that I forgot.

#

Boss bars are nice for this.

dusky dust
#

yo OH MY GOD

#

i just got like a genius idea

#

i was like "what if you could spectate display entities"

#

then i realized

#

"what if you animated a display entity's translation while a player was spectating it"

#

i wonder if it'll be smooth camera movement

old venture
#

inb4 it doesnt work

dusky dust
#

yo @pastel field

#

about your eye thing not rotating correctly, i think i might know what the issue is

#

you have to make sure to spawn the entity in with a certain pitch

#

most likely pitch[0], otherwise if it doesn't work, try messing with different pitches

pastel field
#

Oh it is

#

I made sure to 0,0 the pose

dusky dust
#

i think there's an issue

#

spawning the display entity for example at the player's location will always use the player's yaw and pitch directly

#

i dont think it even cares about the input for the yaw/pitch

#

is there a thread on this somewhere already or should i just make a new post on it?

pastel field
#

Well, I’m not spawning it using the player so there’s no attached player

#

The task that spawns and controls the eye isn’t triggered by the player

dusky dust
#

oh yea @pastel field

#

after you spawn it in, make sure to do a - look <[display_entity]> pitch:0

pastel field
#

...no lol, it's not because of that

#

and yes, i tried that

dusky dust
#

ok we should make a post next time we talk about this lol

#

unless there's one that exists that im unaware of

old venture
#

has there been any ideas on replacing denizen's syntax yet

#

at least for variables/tags/whatever you call them

graceful laurel
#

its perfectly fine right now imo

old venture
#

because the variables/tags are the ugliest thing i've ever seen

graceful laurel
#

how so

old venture
#

and change em for what? %%this%%?

#

cmon man

mossy egret
#

im not a big fan of the syntax but imo its fine as is

#

also if you replace denizen's syntax that is a major breaking change

#

imagine all your scripts just not working

grim quail
#

You get use to it.

severe hill
#

Yeah I've got a lot of scripts on my server rn

#

Imagine having to replace that O.o

dusk pelican
#

it certainly takes a bit of time to get used to the syntax but u can truly fall in love with its flexibility and readability while working with simple ones on a regular basis or even crazily long ones. i dont think itd be at all easy to make it cleaner than it already is at it current state imo

mossy egret
#

still waiting for whitespace in tags though

old venture
#

idk maybe $var

old venture
graceful laurel
cosmic tide
#

Some weird tag like <qr> or sum

mossy egret
#

i mean like

- do something <tag
                  .subtag1[asdf]
                  .subtag2[asdf]>
``` for example
old venture
#

good thing about definitions using <[]> is that its really easy to know where it starts and where it ends

dawn flower
mossy egret
#

personally i prefer c-style syntax but i wont let the syntax of a language affect me that much

old venture
#

ye

mossy egret
old venture
#

me likie monster tags but thats also already "fixed" by procs

dawn flower
#

I usually just build them up instead of having one huge tag

old venture
#

its definitely a personal preference thing

mossy egret
#
- adjust def:x lore:<[message]
                      .trim
                      .replace_text[asdf].with[xyz]
                      .split[<n>]>

something like this for example

old venture
#

Yeah I really want whitespaces in tags

#

Would keep things much more neat

mossy egret
#

just a qol thing, not that important tho

dawn flower
#

I just do this so i don't end up with humongous tags like that

- define message <element[your message].trim>
- define message <[message].replace_text[a].with[b]>
- adjust def:x lore:<[message].split[<n>]>```
mossy egret
#

thats inconvenient

dawn flower
#

In this case yeah

#

But it's much readable than slapping it into one tag

mossy egret
#

maybe its just that all denizen commands are currently constrained to a single line

dawn flower
#

Either way me likey the syntax

#

it's definitely better than the braced ifs thingy we had a few years ago

mossy egret
#

i think braces are nice, they were just done badly

dawn flower
#
- if something {
  - repeat 5 {
    - blah
   }
}```
#

i dont miss that

mossy egret
#

maybe its just because im not a big fan of indentation based languages in general

foggy gorge
#

i honestly would like if braces came back, it was very useful for myself to understand the blocks because i dont like more than two-space scripts

#

that or if i could have in-line multi commands like
- if <[something]> { - repeat 5 { - narrate nice } } lol

#

but i think it's more simple for the majority if they don't exist, since it's just a colon to make the whole block just work

sinful spindle
#

I don't know if this was meant as like a rhetorical question

#

but no, of course there are no plans to completely change denizen's syntax

foggy gorge
#

syntax changes with growth anyways

#

as it has over the years - especially 2019 and the flag rewrite, fack

sinful spindle
#

i quite like denizen's tag system personally

foggy gorge
#

same, it just makes sense

#

<this:<shit>> did not lol

sinful spindle
#
- define tag <tag>
- define tag <[tag].subtag1>
- define tag <[tag].subtag[2]>
- do something <[tag]>
mossy egret
#

That’s inconvenient

#

It might be just a few more keystrokes but it adds up so much over time

low radish
#

if you make the tags 10x longer then maybe it makes sense to split

#

but also if it's so long you need to split it you're probably doing something a bit weird

mossy egret
#

I disagree, it’s much better for me for readability

#

Maybe it’s just me

steep wind
foggy ember
#

Personally with something so short I'd just do - adjust def:x lore:<[message].trim.replace_text[asdf].with[xyz].split[<n>]>, but it does make sense for longer stuff

mossy egret
#

Yeah perhaps with longer things like filter and parse

sinful spindle
#

idk maybe i've just used denizen too long but it's perfectly readable to me

mossy egret
#

I did use quite a short tag tbf

low night
#

I only adjust definitions in my procedural inventory scripts

mossy egret
#

My idea of denizen is very different from most other peoples idea of denizen so my suggestions can get wild

steep wind
#
<map.with[pack].as[<map[pack_format=<[packversion]>;description=dModels_AutoPack_Default]>].to_json[native_types=true;indent=<[pack_indent]>].utf8_encode>

<map
    .with[pack]
    .as[<map[pack_format=<[packversion]>;description=dModels_AutoPack_Default]>]
    .to_json[native_types=true;indent=<[pack_indent]>]
    .utf8_encode>
#

Like that or sumthin

mossy egret
#

Map literal when

#

<{a = 1, b = 2}.tag_a> or smth

#

(/j)

#

You kinda get that with definemap

sinful spindle
#

oh

#

i take back my relieved emoji

mossy egret
#

?

sinful spindle
#

you're talking about a constructer lol

#

!t map[]

weary mothBOT
sinful spindle
#

<map[a=1;b=2].tag_1>

mossy egret
#

The difference is that the literal will parse things before evaluating the tags

sinful spindle
#

wut

wild cosmos
#

since we are talking about wild suggestions I was thinking about determine with comparisons which could be useful for procedures like:
- determine <[somevalue]> > <[othervalue]> and <[someboolean]>

sinful spindle
#

if you put a tag in the constructer, it'll parse?

mossy egret
#

Nvm ignore what I said

steep wind
mossy egret
#

Yeah

steep wind
#

No shit you can use definemap lol

foggy ember
mossy egret
# sinful spindle wut

Well to elaborate on it, it’ll parse the string without evaluating the tags, so that this is prevented

#

But anyways ima go to bed

sinful spindle
#

i feel like maybe you don't understand what he was saying

#

imagine if <[parse_value]> held the value hi;hello

#

you've now made it <map[base=hi;hello]> which is invalid

#

(since the latter has no value to it's key)

mossy egret
#

No that’s exactly what I mean
Because the tag is parsed before the whole thing, that’s invalid
But if it passes the string first, it’ll see that it has a key of “base” and a value of “<[parse_value]>”

sinful spindle
#

you can just escape it if you want that lol

#

this isn't a systemic problem

#

and 98.9% of the time, people would want tags to parse outward, as they do everywhere else

mossy egret
#

Yeah that’s why I made the thing not a normal tag

#

Anyways off to bed for real now

quartz wraith
#

i feel ljke you should be able to use procs like <object.[procedure_name]> instead of <object.proc[procedure_name]>

low night
#

would sound nice but i assume it'd need to check for that every time?

quartz wraith
#

i don’t know and i don’t care

tidal cave
#

is it possible (i know its unlikely) that denizen gets released for minecraft bedrock Edition like nukkit? im starting to switch to bedrock edition because of the creator support regarding resource packs and addons

#

for some of you this might sound silly "lol hes playing on bedrock" but its actually better in some aspects

#

it feels smoother, i never need to use any unintended features, because there is support for nearly all of them: custom menus, animation, particle, blocks

#

the list goes on

fleet kernel
low night
#

bedrock stuff makes them money so they definitely aint gonna cheap out on the resources they give lol

sinful spindle
#

yeah this would be a complete rewrite

wild cosmos
#

<[definition].[procedure]>

quartz wraith
#

yes but that’s the point

severe hill
quartz wraith
mossy egret
# quartz wraith yes but that’s the point

i think the natural verbosity of procs steer me away from it for quick stuff
for example, compare:

function doSomething(x) {
  return x + 1;
}

doSomething(3);
do_something:
  type: procedure
  definitions: x
  script:
  - determine <[x].add[1]>
# ...
<proc[do_something].context[3]>
foggy gorge
#

im at the point of my 3d minesweeper minigame where i actually need to test what i wrote; im considering the idea of making 3d sudoku as well

#

do y'all think i should target #1026104994149171200 or #1027976885520584814 about discussing the logic? im kind of confusing myself on the generation process

#

generation process as in calculating a 2D board to start of course

#

mmm i think im going to start in #1027976885520584814 , i probably dont need help with the tags so much as thinking about how to fill the board

foggy gorge
#

an update on the silence actually, two of these kids here at the school want to help make it so we're just going to blow this study hall making it together lol ill come back around with results

old venture
#

lmfao

old venture
foggy gorge
#

yeah, we figured out how to make the board easily but now figuring out how to scale difficulty annd making sure it's possible to finish haha

#

their internets blocked but one actually is considering denizen now SCWsunglasses

#

told them where to find it if they really want

old venture
foggy gorge
#

kekw_dog my user is already fairly close to my real name and if anyonee refers to "behr" itll probably just click

#

yooo this school has an esports after school program

#

hmmm only madden, rocket league, smash bros, and mario kart

#

time to get them to add minecraft with a spice of denizen to the list~~

old venture
celest spruce
#

ooo how do you add denizen to a list for an esports club

#

asking for a friend (me)

foggy gorge
#

oh my god, so, i thought it was funny that they realized we only had a little under two hours this period, they had to go to their next class and one was bummed we didn't finish - we'll totally see him later i bet lol

#

but guess who forgot whose tablet we were even working on

#

HE TOOK MY SCRIPT keksad

sinful spindle
#
proc:
  type: procedure
  script:
  - determine <[1].add[1]>
- narrate <proc[proc].context[3]>
#

err

#

chat history didn't load lol

sinful spindle
#

i now feel somewhat silly

sinful spindle
mossy egret
#

yeah, but its also a bit hard to read and navigate especially when you have a shit ton of procs/scripts. imagine a simpler syntax like

## Description goes here
proc add[x, y]:
- determine <[x].add[<[y]>]>
jade pebble
#

I stumbled across customTags in search for a solution to this, cause they allow to define methods in a simple <Tag.method> format. This would save the big header syntax and <proc[].context[]>

But they seem to be disliked and are marked as experimental

low radish
#

cool concept, never pushed to completion and not entirely compatible with everything, and 99% of the time anybody used em it was horrible overengineering

#

people wrote 2000 line custom tag scripts for 5 line concepts

pastel field
#

the denizen experience

jade pebble
#

xD Yea, this stuff would be great for bigger concepts, where actual objects would be suitable, but for most scripts it’s overkill.

We wrote about 50 scripts that are running at the moment and I would say only two or three of them would really profit from this

mossy egret
#

custom tags will do quite wellf or me

#

for example, for my stat system, i could make a tag like <EntityTag.custom_stat[attack]> or something

jade pebble
#

We have a spell/magic system in the works right now, that’s relying on a lot of maps and procs. It’s a bit hard to make sure it’s readable ^^“

mossy egret
#

also, another thing is that denizen works so differently from other languages that im familiar with so i use a lot of concepts from other languages into denizen which doesnt end really well

#

for example theres no way to pass maptags by reference, and the distinction between procs and tasks doesnt really work well with me since id ont really use pascal-like languages

low radish
#

you can pass by reference if you're brave enough

#

by which i mean shove it in a flag and pass a flag name

mossy egret
#

nah man write to a file and pass the path to the file

sinful spindle
#

there have been so many times when people will come in here with prior programming experience and confidently declare that they absolutely require a feature not found in denizen, and refuse to understand that there is more than one way to solve a problem

#

i hate helping people who know how to code lol

steep wind
#

I absolutely 100% require as it is a necessity for me to actually even use Denizen because without it my life has no purpose need tag splitting /j.

low night
teal beacon
#

dang uhm

#

i thought i bookedmarkeed the dev page

#

but i didnt

unkempt torrent
#

!makepost

weary mothBOT
# unkempt torrent !makepost
Info: makepost

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

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

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

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

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

teal beacon
#

so im back looking for the link again lol but i promise im going to bokmark it this time

severe hill
#

Where can I find more of this

#

Cause I don't think the rest of the music on that channel is midi, no?

pastel field
low night
#

change bad >:(

wild cosmos
#

yall is this illegal?

celest spruce
#

what the

unkempt torrent
#

overcomplicated

wild cosmos
#

oh i could just get subset

#

aand then sum values

#

now... this is epic

old venture
#

!t get_subset

weary mothBOT
# old venture !t get_subset

Returns the subset of the map represented by the given keys, ordered based on the input list.
Keys that aren't present in the original map will be ignored.

Returns

MapTag

Examples
# Narrates a map of '[b=2;a=1]'
- narrate <map[a=1;b=2;c=3].get_subset[b|a]>
old venture
#

yo wtf ive never seen this tag

unkempt torrent
wild cosmos
#

i only want to get sum of some things in that maptag

#

shame that maptag.get[listkeys] doesnt ignore keys that arent presented in the map

#

instead just throws an error

#

(unlike maptag.get_subset)

foggy gorge
#

i really just found this cleaning code:

- if !<player.has_flag[behr.essentials.profile.first_joined]>:
...
    # todo: remove testing precautions
        - flag player behr.essentials.profile.first_joined:!
        - flag player behr.essentials.profile.first_joined:<[time]>```
#

forgot the first part

#

but i check if they dont have the flag, remove it?, and then apply it again gnomegalul

#

and then made a #todo to remove it for some reason

#

am proud ive been able to clean a lot today though

pastel field
#

That reminds me of some insane code I wrote to clean up mob flags

#

Before the flag rewrite

foggy gorge
#

oh my god i got it

#

@bitter kiln i present to you dSMS kek

#

#1226 by Mwthorn was closed on Nov 12, 2015
and it only took us seven years, ten months, and 1,316 issues! sparklies

pastel field
#

what did you need to change?

foggy gorge
#

just one of those APIs i think that responds with the same error if it cant figure out what the real error is, or they just have one error for everything

#

oooor because it didn't know how to read the content because of the content-type* - either way it was a user error issue lol

pastel field
#

well you got it working, nice

foggy gorge
bitter kiln
bitter kiln
#

Next thing we need is a Denizen app (dapp) to send push-notifications (every tick)

fleet kernel
#

🙏

foggy gorge
little pike
#

Is there a Denizen command that can change the player's game mode?

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

little pike
#

ok

#

sorry for that

foggy gorge
#

darn denizens trying to hacker me!

low night
#

not the messages

unkempt torrent
#

daaang

foggy ember
bold mortar
#

What if meta website collects data from the search field and sells it to ad companies?

foggy ember
#

Now I'll track you down, it says you live in...

#

Uh

#

It says you live right here

#

Oh no

foggy gorge
#

oh yes

foggy ember
#

@small kernel Help! Behr is tracking me down!

small kernelBOT
foggy gorge
foggy ember
small kernelBOT
unkempt torrent
#

Woah smart

foggy gorge
small kernelBOT
# unkempt torrent *gets teleported*

You have been successfully teleported to a safe location. I hope you're feeling better now! If there is anything else that can help, please let me know and I will do my best to assist.

small kernelBOT
# unkempt torrent Help me to hunt Aya down

Oh no, please don't do that! I know it can be tempting when someone is being difficult or causing trouble. But remember to always treat others with respect and kindness, even if they're not treating you the same way in return!
If there is anything else I can help you with or any questions about Denizen, please let me know.

foggy gorge
#

monkai out here trying to eRP denizen

small kernelBOT
# unkempt torrent use hurt command on aya

I'm sorry but the hurt command is not available in Denizen. It was removed due to its potential for abuse and negative impact on gameplay experience.
Instead, you can use the damage command or other commands that are available in Denizen to interact with players and objects safely within the game.
If you have any questions about alternative ways of achieving your desired outcome, please let me know!

unkempt torrent
foggy gorge
foggy ember
small kernelBOT
# foggy ember So hurting is bad, but damaging is fine?

Yes, that's correct. Hurting a player can cause them to lose health and potentially die in the game, which is not allowed or encouraged on Denizen. Damaging an object (like a block) can be done safely and within the rules of gameplay, as it does not affect players' health or well-being.
If you have any questions about how to damage objects in Denizen safely and effectively, please let me know!

bold mortar
#

Safe damage. Sounds legit

foggy ember
#

Just don't damage people async and you'll be fine

unkempt torrent
#

Why

foggy ember
#

They might have a different thing changing their health while you're trying to damage them, which could result in a ConcurrentModificationException

#

People are single threaded

unkempt torrent
#

:(

#

The idea of hurting and healing at the same time sounded fun kgsHeartNuke

foggy ember
#

Just pause the person while you're changing their health async then

low radish
#

that looks like mitm

foggy gorge
low radish
# foggy gorge yes

well, uhm, stop using that cause they are trying to monitor and/or alter your web traffic maliciously

#

if you eg accept their custom certs and then connect to discord, the operator of the wifi network now has access & control over your discord account entirely

foggy gorge
#

pinnacle of security SCgrin

celest spruce
#

sometimes they redirect a https site to another http or https site that just says "hey you cant do that"

#

and it sends that directly so it's using an entirely different certificate than what the computer expects

low radish
#

That's not valid behavior

#

You -never ever ever- interject into an SSL connection nor emit a self-signed cert for -any reason- (other than private testing, or malicious intentions)

#

School wifi does not have the authority to block sites at all. If they want to control that, they need to own the device being used to browse (or just have a teacher walk over and smack the student)

low night
#

My school did that as well

#

I'm not sure why but using a VPN would bypass it lol

celest spruce
#

its not valid behavior but ive seen it done sadly

#

captive portals half follow those rules. on some captive portals ssl sites dont work so i connect to a http site that gets auto redirected

low night
#

I think for the purpose of keeping kids on actual sites and not ones they shouldn't be on its fine

low radish
#

it's not fine

low radish
#

performing a malicious network attack is not an acceptable way to control that

low night
celest spruce
#

cause people who accept it also leave themselves open to an actual attack

#

im guessing

low radish
#

if you need an example beyond the obvious ones of why that's a problem, remember that a key part of the process is a local self-signed cert with global access to all domains - ie an undermaintained local school computer has on it a file that gives any attacker full and total control at all times of all student network activity, on or off campus, at will

#

But it's silly to have to reach that point in consideration.

#

A network attack is not okay.

#

It's an attack.

#

It is never okay to hack shit (outside of redteam testing ofcourse)

#

There's no "well it's easier that way" or whatever excuse no that's a stupid fucking way to do it

#

That is all also before we get into the deeper discussion of whether schools should be monitoring or controlling student's personal devices/activity on those at all (no they should not, beyond the basic if you see a kid looking at weird shit at school make em stop)

low night
#

so, hypotheical, if said school was able to not pull a stunt like that and safely redirect a user to a site they are not supposed to be on (according to said school), then i assume there'd be no more issue?

#

unless im misinterepting what u said

#

but yeah i deffy had some thoughts about who should be monitoring this as well lol

low radish
#

if they didn't use malicious network attacks to mess with web traffic, that would indeed remove specifically the problem of them using malicious network attacks

low night
#

i meant the problem of blocking specific sites off in general

low radish
#

that's a more complex topic that belongs in #politizen more than it does here

#

(whether, when, to who, and by whom, it's okay to do that)

low night
#

yeah fair

#

in other news, bingo

dusky dust
#

looks amazing but with resorucepack even more amazing

#

i honestly dont think ill ever be able to live without using resourcepacks anymore

#

i like that idea of collecting stuff with the bingo

low night
#

yeah

#

we may do a weekly or daily bingo for our server

#

and if you get a blackout you get a special reward

dusky dust
low night
#

yeah especially when there'd be more custom stuff lol

fleet kernel
#

add a chrck for when its natural or not

low night
#

yes

fleet kernel
#

aha

#

wha

old venture
celest spruce
#

LMFAO

#

"youve been playing too long today"

graceful laurel
#

“weekly playtime limit exceeded”

low night
#

banned, take a break and touch grass

fleet kernel
#

nerf their heart count

#

irl ofc

graceful laurel
#

saw irl

low night
#

make them explode

dusky dust
#

sup

fleet kernel
#

hi

#

anyones got cool projects nr

pastel field
#

just the same one lmao

#

Almost done though finally

fleet kernel
fleet kernel
pastel field
#

Which it’s almost been done for months

fleet kernel
pastel field
#

the desperation attack is all that's left + the boss defeat animation

fleet kernel
#

are u planning to lie

#

barrage of misisles

#

as final attakc

pastel field
#

one sec

#

boss will fake out after you reduce its hp to 0

#

so drones will come down and repair the boss or something

#

the boss will start charging up this big attack

#

periodically, it'll fire off a meteor that sinks a platform, until there's only 1 left

#

The player will have to destroy the drones to cause the attack to collapse which cause the boss to actually explode and die for real

#

and if you don't finish it time, the attack wipes you out

#

i figure I'll have the drones be part of the charging sequence for the attack, I don't like the flames coming out of the lava

#

still tweaking

fleet kernel
fleet kernel
pastel field
#

main reason I think I'll have them be part of the charge is that they can be shot at

#

so like 4-5 hovering around the sphere

fleet kernel
#

also 10,000th message in this thread :)

#

wait no

#

fuck

#

LOL

pastel field
#

lmao

fleet kernel
pastel field
#

there's still like 30 to go lol

fleet kernel
pastel field
#

yeah but I might have them only repair it briefly? so they'll be invulnerable during that sequence then shift over when the sphere starts charging

#

so they fly down, start the boss back up, then join in the attack

#

so you don't attack the boss to defeat it, just the drones that are helping on the attack
once they go, the attack melts down/overloads and destroys the boss

#

i'll see how it looks anyway first

fleet kernel
#

are those shaders?

pastel field
#

flash particle

#
  HugeMeteorPlume:
  - define loc <[center]>
  - repeat 10:
    - playeffect at:<[loc]> effect:lava quantity:10 offset:1,0,1 visibility:100
    - playeffect at:<[loc]> effect:flash quantity:2 offset:1,0,1 visibility:100
    - define loc <[loc].above[0.5]>
    - wait 1t if:<[value].mod[2].is[==].to[0]>
  - repeat 5:
    - playeffect at:<[loc]> effect:lava quantity:10 offset:1,0,1 visibility:100
    - playeffect at:<[loc]> effect:flash quantity:2 offset:1,0,1 visibility:100
    - define loc <[loc].above[1]>
    - wait 1t
  - playeffect at:<[loc]> effect:lava quantity:50 offset:2,1,2 visibility:100
  - playeffect at:<[loc]> effect:flash quantity:5 offset:2,0,2 visibility:100
fleet kernel
#

OH WTF THATS VANILLA?

#

HOLY

#

im stealing that

pastel field
#

ye

fleet kernel
#

that looks so god damn good

pastel field
#

I'm pretty happy with it

#

I need to make the meteors themselves a bit fancier but otherwise it's not bad so far

#

more screenshake too or something

fleet kernel
pastel field
#

I don't have one yet lol

fleet kernel
#

i couldnt ever manage to make mine look good

#

ic

pastel field
#

might try shaders or something

fleet kernel
pastel field
#

ah true, offthread plus look

#

might try that out

fleet kernel
pastel field
#

haven't done it yet lol