#Open Denizen Discussion Thread

1 messages · Page 9 of 1

tidal cave
#

/ex playeffect effect:EXPLOSION_LARGE at:<player.location.above.points_around_y[radius=1;points=320]> offset:0 velocity:1.95,0,0 edit: data: is not needed

#

if anyone wants to test it

foggy gorge
#

ah wtf, is the data:1 the size??

#

ive neglected using that damn particle because it's so fucking big

#

or is there one above it that's obnoxiously large, i forget

tidal cave
#

no

#

velocity x is size

#

idk why

#

also 2 is smalles

foggy gorge
#

oh, one of those weird mojingles things

tidal cave
#

this time really

#

no wait

#

x2 is 0 size and then it goes negative

low night
#

oh nice

#

for potion effect particles you have to use the offset to change the colors for it

fleet kernel
#

speed

#

set data:2 to flame particles

#

and see

#

oh wait

old venture
#

finally completing the difficult part of a project is so good

#

actually i think i might've made something useful, like "posting in resources" useful

#

would you guys like to have a script that randomly spreads out a list of itemtags through the empty slots of an inventory? i made it for procedurally generated loot

tidal cave
#

YES PLs omg i need that

#

does it look like the vanilla loot tables? :OO

hushed urchin
#

Quick question that I was not able to find through searching, does <util.random_chance[<percent>]> support decimal/float numbers, or only whole numbers/integers?

#

The description for it says 0 to 100, but isn't clear about whether it can be a decimal number or not.

weary mothBOT
# foggy ember !makepost
Info: makepost

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

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

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

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

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

old venture
#

works like this though:
give it

- diamond[quantity=10]
- emerald[quantity=5]
- wheat[quantity=59]
- stone[quantity=7]
- diamond_sword

and it'll spit out this

#

im just cleaning up code and making it drop ready and then will post

quartz wraith
#

would be very useful

#

does it auto split stacks to take up multiple slots?

#

oh wait I see nvm

old venture
#

pseudo randomly though

#

the only thing truly random is the slot

quartz wraith
#

pseudo?

#

wdym

old venture
#

it just halves the quantity for each slot

#

for the wheat, you can see it does 30-15-7 etc etc

quartz wraith
#

oh interesting

old venture
#

but players wont notice that xD

quartz wraith
#

true

tidal cave
rigid idolBOT
old venture
#

@tidal cave@quartz wraith #showcase

grim quail
#

Oh.

#

You know I was trying to think of a way to do this?

#

This will be excellent for my lootable container module I made.

old venture
#

actually, kek, if you guys already downloaded it, download it again because i accidentally posted an old file

foggy gorge
#

duping his download count!1

#

ping spoofing!

grim quail
old venture
tidal cave
#

thanks for creating this

old venture
#

np :) maybe someday i try making it work with all inventory types and not just chests

grim quail
#

Proof reading is hard at 4 am lol.

reef wharf
#

how much deditated wam do I need for my minecwaft serber

#

but for real, imagine doing the same thing but on a clients server. trying desperately to track down a bug and it's because you spelt "judgement" as "judgment"

viscid pasture
#

Me the time i couldnt figure out why a task wasnt working and it was bc i wrote "defintitions"

quartz wraith
#

do y’all like

#

have the extension installed

#

it frequently will yell at you for your dumb shit

grim quail
#

It won't tell you that SERBER is invalid when flagging something though.

viscid pasture
#

It didnt correct that one fjdhd

#

Since you can add your own keys to scripts to use as like, sub paths and shit, and definitions isnt a required key, it didnt think anything was wrong

old venture
#

officially requesting someone to go over at forums and accept my name change from Bill Gates to Krilliant

old venture
#

thankies mcdonalds primate

quartz wraith
#

monkey whatever plan you had for getting more contributors, it worked

low radish
#

@acoustic python this you? Please delete the review and post a thread so we can resolve whatever error you have

lament verge
#

ngl, I'm really excited for the next update

fleet kernel
#

changer

#

you get yo have custom mmo srmor without texture packs

#

finally

quartz wraith
#

how do you

fleet kernel
#

odo i do preyuu good

quartz wraith
#

misspell “changer” that bad

#

daxz aren’t you like 4 you can’t drink yet

fleet kernel
quartz wraith
#

true

foggy gorge
foggy gorge
severe hornet
acoustic python
#

I will delete this later

#

well deleted

#

with each new version of Denizen, more and more errors appear in debug, and old scripts become inoperable

graceful laurel
acoustic python
#

🤔

acoustic python
old venture
#

wut

#

"will you help me"
"yea"
"actually nah you wont"

foggy ember
acoustic python
lament verge
severe hornet
#

(or, more likely...)

#

!itworks

weary mothBOT
# severe hornet !itworks
Info: itworks

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

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

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

old venture
#

procs be going crazy

#

called this bad boy corners_from_hypothenuse

#

give it a hypothenuse and it'll spit out all the corners of that hypothenuse's rectangle

#

now i'm trying to make a surface_from_corners

#

big if doable

quartz wraith
#

you are insane

#

when will the krilliant library release

old venture
#

someday

#

my goal is to be able to make a full script using nothing but procs

quartz wraith
#

run commands inside your procs

acoustic python
#

they work fine on version 1.2.6 1778 perfectly, no complaints, problems start already from 1.2.7 1785

#

But I'm not going to sit on the old version all the time.

soft pewter
low night
#

I'd imagine it would be the diagonal of a rectangle

soft pewter
#

Ohhh that too

old venture
#

yeah exactly

#

you can divide a square rectangle in 2 triangles, now there IS a hypothenuse

#

i just think its easier to think of hypothenuse (an exact term) instead of diagonal (way too generalized)

soft pewter
#

👍

#

Makes sense

old venture
#

which one is more intuitive?
<[list].proc[closest_from_list].context[<[location]>]>
or
<[location].proc[closest_from_list].context[<[list]>]>

soft pewter
#

depends on what the procedure does

old venture
#

give it a list of locations and a location and it'll find the closest location in that list from the provided location

#

that came out a word salad

soft pewter
#

i think the first one would make more sense then imo

foggy ember
#

I'm pretty sure you can just

#

!t highest

weary mothBOT
# foggy ember !t highest
Cannot Specify Searched Tag

Multiple possible tags: <LocationTag.highest>, <ListTag.highest[(<tag>)]>, <ListTag.highest[(<tag>)].count[<#>]>.

foggy ember
#

!t ListTag.highest

weary mothBOT
# foggy ember !t ListTag.highest

Returns the highest value in a list of decimal numbers.
Optionally specify a tag to run on each list entry that returns the numeric value for that entry.

Returns

ObjectTag

Examples
# Narrates '10'
- narrate "<list[3|2|1|10].highest>
# Narrates the name of the player with the most money currently online
- narrate <server.online_players.highest[money].name>
old venture
#

yeah

#

thats how it goes

foggy ember
#

highest[distance[<[otherloc]>]]

#

Ah, fair enough

old venture
#

im just packing things neatly on procs so i dont have to think much

old venture
#

the sproingle boingle generator

soft pewter
#

beautiful

#

sproingle boingles are my favorite shapes

grim quail
#

Does the bullet make this look beter? Making a way of showing you land claims through text, and I think the bullet really makes it stick out better.

#

Thanks discord.

#

I wish it'd show them better.

#

Also TIL you can use arrow keys when clicking on a gallery in discord.

old venture
#

maybe if you included a space before it, it'd be even better

grim quail
#

A space before the bullets?

#

Hmm, that's not terrible.

#

Think I'll use bullets for more stuff like this.

soft pewter
#

looks cool

cursive tide
grim quail
#

Lines instead of bullets huh? That's a thought.

old venture
#

that's 5 random corners (.random_offset)

#

goddamn this is fun

#

skrangle mangle generator (8 points)

#

BWAHAHAHAHAHAHHA

#

GUYS

#

LMFAOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

soft pewter
old venture
#

🙀 🙀 🙀 🙀 🙀 🙀

echo knot
#

Hello, my problem is that I don't know how to properly delete the ephemeral message. I want to make the user interact with the bot and everything that the bot writes, or rather messages are visible to the user who is talking to it. But at the end of the "conversation" I want to delete the entire ephemeral message.
And another question, is there any way to check whether a user has administrator rights in discord using denizen

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!

echo knot
#

Hello, my problem is that I don't know how to properly delete the ephemeral message. I want to make the user interact with the bot and everything that the bot writes, or rather messages are visible to the user who is talking to it. But at the end of the "conversation" I want to delete the entire ephemeral message.
And another question, is there any way to check whether a user has administrator rights in discord using denizen

old venture
echo knot
old venture
low night
#

You need to make a thread though by going directly to #1026104994149171200 and clicking the blue button with a plus

#

or the button has new post on it

echo knot
low night
#

You might have to make a title and a description first

thorn bone
#

It's in determine

#

same here
it contain spaces

foggy ember
#

The spaces are inside tag params

grim quail
#

Why do you use a light theme, I think it would burn out my eyes from doing so.

old venture
#

do we even have that written down anywhere

soft pewter
#

i dont think so, but kinda if you look hard enough haha #changelog message

severe hornet
#

a smart person would have made a thread or searched for existing threads and found discussion of this exact issue

old venture
#

no need to be rude though

severe hornet
#

it's rude to ignore the rules because you don't want to go to the minimal effort of posting a thread, especially when you know better rollsafe

old venture
#

ok you got me xD

old venture
#

i wrote half of those on my phone, while coming home from work

mossy egret
#

do you have a script for progress bars? it could be really useful

old venture
#

better than mine so i alr replaced it xD

mossy egret
#

ah

#

i think mine is a bit bloated

old venture
old venture
#

it feels incomplete, needs everything that someone could ever ask for

mossy egret
#

you can take the last proc and make it a standalone tbh

old venture
#

yee that seems a bit bloated compared to ice's, but its also extremely personalized while his is general usage

#

as for if it's better or not? idk im tired lmao

mossy egret
#

i think they serve a different purpose

old venture
#

feels like it

mossy egret
#

if you look here, i have multiple "presets" that automatically get flagged on the player so you can just use the flag tag anywhere

old venture
#

yeah that was what i meant when i said yours was extremely personalized

mossy egret
#

mhm

#

most people will only need the last script

old venture
#

you'd have to do it one way or another if you used ice's, so if you're the one organizing it it'll feel way more natural than just slapping someone else's script on yours

#

i have to admit i have done this for some of your scripts in 2022, they were useful but didnt fit my use so i just stole their main logic xD

mossy egret
#

i mean thats completely fine

#

and imo you should be doing that

old venture
#

im glad you think that way, definitely takes a weight from my shoulders kek

#

im thinking of uploading the lib to my github tomorrow

mossy egret
#

and thats also a flaw of using java plugins, theyre hard to modify on your own

old venture
#

gotta restart learning how to use github

unkempt torrent
#

how could you!

mossy egret
#

yeah

#

modbot warn

unkempt torrent
#

modbot warm

old venture
#

noooo!!! i will get bamned!!

fleet kernel
#

i just took the task and slapped a comment "# made by 0tick"

sinful spindle
#

Straight to ban.

fleet kernel
#

wow theres a lot more new denizels lately

#

did nimsy post his video already

sinful spindle
#

is there? i hadn't noticed

#

and no

#

side note, apparently i'm subscribed to nimsy

#

gotta fix that

fleet kernel
#

which is rare

#

unless i forgot

#

wait nvm

#

i think im just

#

hallucinating

grim quail
old venture
#

circumference
two points of a cuboid
huh? does it make a circle with both of them as ends of the diameter?

#

if so, literally just get .distance between them, divide by 2, and multiply that by 2π

grim quail
#

That purpose may be incorrect that I put down.

#

#denizen-pre-forum message The correct purpose is this.

#

I have a lot of scripts/purposes I copy pasted and forgot to edit lol.

#

Originally used for my land claim system, while not used anymore I still plan to use this and keep it handy just-incase.

low radish
#

ps yoink that "Purpose" text (or, well, accurate text for it lol) and slap it in the script itself on a description: key and then VS Code can automatically display it for you when you hover references to the script name

#

... also yeah, name, description, and seeming actually behavior are all entirely different there

grim quail
#

I didn't know about that description bit

quartz wraith
rose harbor
#

Hello, if I define a player flag without expire, then it is always valid and never expires?

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
reef wharf
#

kinda like my library (that I haven't touched in way too long)

old venture
#

whar?

#

what u even replying to

reef wharf
#

oh whoops, I thought I clicked the reply thing. I was referring to your library you're working on

old venture
#

oo

#

lemme see send screen shotty of contents

reef wharf
#

it's in resources

soft pewter
#

libraries everywhere! book_item

old venture
#

imma see it

reef wharf
#

I was doing an overhaul to it, stripping out redundant procs and making the usage of each one more similar, as well as adding things like descriptions and examples for each one, but I only got through maybe half of it.

old venture
#

i'll have some fun w it later

soft pewter
#

is it just me or did they make the text HUGEer then usual

low night
#

looks intentional

foggy gorge
#

it is definitely bigger now lol

#

i like it, picasso

cedar tulip
#

i don't feel like opening a thread for this, why does denizen say Unsupported API version 1.17 and doesn't start?

soft pewter
#

you should make a thread for that

#

!makepost

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!

cosmic tide
#

Nice

cedar tulip
soft pewter
#

👍 thanks

cloud sigil
#

Is it worth learning denizen?

#

Compared to learning java

#

Also, when it comes down to making a quest line and a lot of sidequests, are there other plugins better suited for it than denizen?

soft pewter
# cloud sigil Is it worth learning denizen?

well, personally (i'm a bit biased) yes, i think it is worth it. it lets you do a lot of cool things in half the time if you where using java. it's got easier syntax and is hot-reloadable so you can easily debug and test your scripts quickly. there is also great documentation and this server if you need help with anything. there are a lot of resources avalible to you

#

if you want to start learning, here is a link to the guide

#

!guide

weary mothBOT
cloud sigil
#

When it comes to intricate questlines (including sidequests)

soft pewter
#

i've never personally made quests before, but it has been done with denizen. i'm sure there are other plugins out there, but i think denizen can help make quests pretty easily too. if you want to use NPCs for guides/characters or whatnot, denizen was pretty much built to support Citizens and lets you do stuff with interactions. there are also things like cuboids and flags in denizen that i could see being useful in quest making

cloud sigil
#

Alright, thanks!

soft pewter
#

no problem! if you're interested to see what denizen is capable of and try some stuff out, there are a lot cool things in #showcase and the denizen forum that you can download and take a look at

cloud sigil
#

Oh and one last thing, do you know of any youtubers that do video documentation of Denizen? Or is it all just the written docs (which are pretty good ngl)?

soft pewter
#

there are video tutorials but they are extremely outdated and the docs/guide/help channels are the way to go if you want to learn

low night
low night
#

It wasn't make precisely for rpg-like stuff but it definitely has support for it. For example, citizens is heavily integrated into it, which allows making npcs do stuff much easier

#

It's also just an easy language to learn with very well made documentation

#

99% of the support you'll need can be found on the official denizen website or this discord server

#

It's a perfect language to get into if you're starting out or new to programming

#

If you want an example of what denizen can do, here is a boss that Ricky made

tidal cave
#

this video brought me to deniezn

#

not even kidding

cloud sigil
#

Is it possible to make a sort of menu with denizen that let's you do a lot of a certain similar thing? Example:
Image you're making 100 sidequests. Instead of writing 100 seperate scripts which all handle the similar thing exclusively, is it possible to make your own command/menu that let's you easily create a new quest and asks for inputs such as "name", "description", "objective" (you'd program the objectives seperately),etc.?

#

And for more complex quests you can always make a seperate script for example

unkempt torrent
#

Yes that's possible. If you need help with ideas on how you could accomplish that, create a post.

graceful laurel
#

!makepost

weary mothBOT
# graceful laurel !makepost
Info: makepost

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

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

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

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

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

cursive tide
dusky dust
#

W plug W denizener

old venture
#

does anyone have a /skin command that works exactly like skinsrestorer's?

low radish
old venture
#

oh shit

#

alright yee thanks

foggy gorge
#

so of course i have a webserver for my site, for fun
i just finished putting together my great 404 page

soft pewter
#

that's awesome

foggy gorge
#

the embed image changes to a different guy acting confused or shrugging each time a new link that isn't discord-cached comes around kekw_dog

foggy gorge
soft pewter
#

i already have

foggy gorge
soft pewter
#

45 points!

foggy gorge
#

im so happy with my inefficient website kek

steady cove
#

hey does anyone know if it would be possible to make a special phase of a moon like an eclipse with the use of a resource pack? I know there's been some cool stuff done with images, but idk if something like this has been done before or is even possible

old venture
#

not really an answer but ive seen so much done with rp's that i just cannot believe that anything isnt possible

low night
#

Little vague but I'd make a post for that

shrewd estuary
#

what is the denizen term for freeze effect? you know, the frost visual when a player walks on powdered snow.

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!

shrewd estuary
forest condor
#

how come blockcrack doesn't take a list of locations like playeffect or literally everything else lol

soft pewter
old venture
#

,agic

frozen brookBOT
#

Tag parse results for <map[pages=<list[hi]>]>: https://paste.denizenscript.com/View/111630

map[pages=<list[hi]>]
Had error: Tag-base 'map' returned null.
Had error: Tag <map[pages=li@hi|]> is invalid!
Had error: Unfilled or unrecognized sub-tag(s) 'map[pages=li@hi|]' for tag <map[pages=<list[hi]>]>!
steady cove
#

why does that not work^

#

idk if im tired or what lol i feel so dumb rn

old venture
#

it totally would work on a server

steady cove
#

its not working on my server

old venture
#

wut

soft pewter
#

!makepost

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!

old venture
#

ye make post

quartz wraith
#

#denizen-contrib message missed opportunity to call the mech sunscreen

soft pewter
#

😔

graceful laurel
#

😔

grim quail
cosmic tide
#

Or is_introvert

old venture
#

missed opportunity to call the mech melanin

reef wharf
#

missed opportunity to call the mech hates_the_deadly_laser

grim quail
#

/gamerule TheSunIsADeadlyLaser

soft pewter
#

can_touch_grass

quartz wraith
# soft pewter `can_touch_grass`

/ex narrate <player[breadcrumb].can_touch_grass>

Filled tag <player[breadcrumb]> with p@6173-0922-5472-6189
Filled tag “can_touch_grass” with false

“false”

forest condor
#

how would you guys write this messy bit of code if you wanted to make it cleaner?
(the only thing i'm changing in this entire thing is just tenarily adding .abs to the y velocity if the entity is grounded or not)

      - define velocity <context.projectile.velocity>
      - if <context.hit_entity.standing_on.exists>:
        - define velocity <[velocity].with_y[<context.projectile.velocity.y.abs>]>
      - adjust <context.hit_entity> velocity:<[velocity]>
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!

forest condor
#

what about
"but this is a discussion thing and not something i need help with, because it works fine just looks ugly"

quartz wraith
#

That could fall under the last two points

forest condor
#

but it doesnt 😃

#

just an open discussion about code quality
i don't need assistance

sinful spindle
#

this is a silly argument, and i don't think you're genuninely struggling to understand the point

quartz wraith
#

yeah but you’re asking if there’s a cleaner way to write it

sinful spindle
#

asking for answers is support

forest condor
#

ok ima reword it cuz ur kinda right it reads like i need help

sinful spindle
#

Please make a post if you wish to continue the question. If you don't want to do it because of our basic rules, do it because i'm telling you to

forest condor
#

valid,, im good tho! sounds like the question isn't that .. discussive.. ?

sinful spindle
#

the primary reason this post exists is to direct people to make their own posts in the correct way

sinful spindle
#

anything actually productive should go in it's own post

#

even if you're 'discussing', we have a discussion tag for your posts lol

forest condor
#

gotcha gotcha

#

that makes sense

#

am i crazy for thinking that "open denizen discussion thread" is a misleading name then

quartz wraith
#

yeah

sinful spindle
#

kind of?

#

you're making a massive stretch to consider your support question a discussion

#

if you have a suggestion for what else to call the post, feel free to share lol

forest condor
#

i'm going to end this here but i think u missed my point

sinful spindle
#

ok

low night
#

Making posts allows for much more organization and allows users with similar problems like yours to be easily accessed in the future

#

Even things as simple as asking for a tag you forgot are something that can be posted

forest condor
#

what's the benefit to using a custom event vs a task script?

low night
#

They achieve the same thing really

#

Someone made a good point for using one or the other but I forgot

forest condor
#

nooooo

#

u can't just say that now i'm going to be forever curious ;_;

low night
#

#1027064108056580106 message

#

I got you

forest condor
#

oh my god ur the best

low night
#

The search feature is a life saver

forest condor
#

ahh so it's basically a semantic thing

#

used to implicitly distinguish the context between different computes

#

i like how this person thiinks

low night
#

Yeah it can be used however you want really

#

I thought that was a cool one

forest condor
#

i guess i could also see it being useful when you want to colocate like 30 different event calls that effectively do the same thing but have to be seperated because of switches or something else

foggy ember
#

Also think of API-like stuff

#

If you make a custom weapon system and want to let other scripts listen to stuff, custom events would be a lot simpler and more fitting then tasks

brisk dust
#

Does anyone know if blocking at prespawn via Denizen (lets say for bats) is any more or less resource intensive than using a plugin like WorldGuard to do it?

#

Mostly asking because I am trying to block a few mobs this way, over WorldGuard due to WorldGuard blocking our cosmetic pets and I ran into an issue. So I went to debug, and in like 2 minutes the # of bats that have been stopped has made my debug log just bats. No clue if the other thing worked lol

unkempt torrent
#

Iirc using the spawn event with a matcher was way more sane then cancelling prespawn

unkempt torrent
sinful spindle
#

^ the resource intensive thing there is generating the debug

sinful spindle
#

not literally, but functionally

brisk dust
#

So, for instance, based on my debug, it's causing the server to CONSTANTLY try to spawn bats. Is that technically happening when its blocked by world guard?

unkempt torrent
#

Yes

#

If worldguard listens to the same event, yes

#

prespawns fires a lot, but thats a minecraft thing not a denizen/worldguard one

#

If you wanna do tests you could create a spark report

#

!t util.event_stats

weary mothBOT
unkempt torrent
#

You can also use that tag, but make sure to reset them before running your tests, so the results aren't wrong

#

!m reset_event

weary mothBOT
#
Possible Confusion

Did you mean to search for command customevent?

unkempt torrent
#

system wat

#

!m server.reset_event

weary mothBOT
unkempt torrent
#

oh deprecated for system

fleet kernel
#

how do spawned item entities show as a model

#

the dropped version?

#

or what

fleet kernel
#

@dusky dust how did you make your agent selector screen?

dusky dust
#

shaders and armor stands

fleet kernel
tranquil wave
#

hi, did anybody makedanizen script to connect to citizents to respond differend command/message if clicked on different minecraft player client version? Like i have server with via version, and my npc sending player to specivic server on click, but if he doesnt have minimum requiments of client version i want to just show him message instead of trying to TP him,
i made something like this, but it look like it doesnt work:

skyblock:
type: task
debug: false
script:

  • define version_min: 1.12.2
  • define version_max: 1.18.2
  • define player_version: <player.flag[version]>
  • if flag player_version is_set:
    • if flag player_version matches_regex version_([0-9]+\.[0-9]+\.[0-9]+):
      • define player_version: <player_version.match[1]>
      • if player_version is_at_least version_min && player_version is_at_most version_max:
        • execute as_console command "server SkyBlock"
        • else:
          • narrate 'You cant do that on your minecraft version.'
weary mothBOT
old venture
#
  • this isnt the channel to ask for help
fleet kernel
#

!makepost

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!

low radish
#

I wish the forum resource section had the ability to autoproduce git diffs like my old handbuilt repo did

#

i'm so curious what exactly this means lol

low night
#

But what about .02

sinful spindle
#

AI generated denizen scripts don't really work. Make a post, and we can help you learn how to put this together

#

uhhhh

sinful spindle
#

gotta love discord

#

@tranquil wave ^ since i don't see a post by you yet

thorn bone
#

refresh_player is for 1.19+ only?

foggy ember
thorn bone
#

i have 3]

foggy ember
#

And you should really consider updating - you're 2 major versions behined at this point (you use 1.18 iirc?)

thorn bone
#

yes

#

I just wanted to do an open alpha test on a tested version

#

and now it's done and i can do updates

mellow shoal
#

Hi there. Is the denizen already available for 1.20? I'm using it (version 1.2.7) on my server and it's not loading. Any advice?

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!

mellow shoal
fleet kernel
#

A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

#

this sounds so sarcastic

#

add a /ns

cosmic tide
#

No

fleet kernel
mellow shoal
#

nevermind, I was using the wrong version. Thanks tho

grim quail
#

How do you all feel about using the if: argument to minify code? Because I've been using it if the if argument is short enough and wondering if others use it as well.

And I don't mean

- if <[bool]> then:
  - narrate blah

I mean

- narrate blah if:<[blah]>
unkempt torrent
#

If even I would use it for stop command only, when I dont have to narrate text to a player

foggy ember
#

^ I wouldn't do something like - modifyblock <[area].blocks[air|cave_air]> iron_block|light_gray_wool 25|25 no_physics source:<player> if:!<player.has_flag[block_placements]> personally, but for stuff like - stop if:!<player.has_permision[event.start]> sure

#

(Just personal opinion ofc, it's still valid)

thorn bone
grim quail
#

I use it pretty often unless it looks stupidly long.

#

Or if there is multiple conditions.

#

I just personally think one line of code is cleaner than two at times.

thorn bone
#

what is clean?
if you can read it, then it's clean

low night
#

Feel like it's more a debate about width vs height

#

Which is really just up to preference

thorn bone
#

my elevator script is the most garbage script i have
just walls of text

#

i can't read it

unkempt torrent
#

I don't think it's because "walls of text"

thorn bone
#

meh

unkempt torrent
#

Put on dark mode kekwcry

thorn bone
#

i can try, but i'm afraid to lose color settings

unkempt torrent
#

make a backup

#

But I can't see any non-default colors

low night
unkempt torrent
#

looking at old code makes my head squishy

low night
#

i feel like anyone who has been in a familar position like monkey would be the kind to say "do as i say not as i do"

grim quail
unkempt torrent
#

ewww!

quartz wraith
#

Still finding scripts that use the % symbol for defs

low radish
#

don't yall know the real strat is - repeat 1 if:<[sometag]>:

#

(if @nova nest was still scripting I bet he'd do exactly that for that the .1% performance gain it yields lol)

sinful spindle
#

- if true if:<[tag]>: thonk

mossy egret
#

imagine alternative world where denzien vscode extension used semantic tokens

cosmic tide
#

Wdym

quartz wraith
mossy egret
low night
#

Straight to the binary with you

cosmic tide
# low night Straight to the binary with you

01001000 01100101 01101100 01101100 00100000 01111001 01100101 01100001 01101000 00100001 00100000 01001001 00100000 01101100 01101111 01110110 01100101 00100000 01100011 01101111 01100100 01101001 01101110 01100111 00100000 01101001 01101110 00100000 01000010 01101001 01101110 01100001 01110010 01111001

old venture
tidal cave
#

why not all denizen coders team and make better server than hypixel

grim quail
#

Time

lament verge
#

because we have our own servers?
or not everyone has the time and effort to do a big project that would require tideious collaboration?

sinful spindle
#

kind of was/is a thing

#

denizen centered servers have been attempted

#

adriftus was somewhat successful and consistented primarily of talented denizen scripts iirc

fleet kernel
#

everyone here has a different passion

#

so

#

like maybe if mc monkey started a server and paid us

#

ppl might do it

lament verge
quartz wraith
#

it appears to me that everyone in this community suffers from adhd

foggy gorge
# quartz wraith this, but it kind of died just from a lack of interest

back in 2019, i was a big driver of a lot of it and i think i kinda pissed people off with how adamant i was auditing the scripts being pushed to the repo; then i basically threw a hissy-fit and quit for like a year or two? and then came back for a while, lost interest myself, and then it was just aedia doing everything until she lost interest and time

foggy gorge
#

insecurizen ran shell commands and it wasnt really safe lol

#

actually that whole conversation was golden #denizen-pre-forum message

soft pewter
#

😂

foggy gorge
#

can really see when i took a break kekw_dog

graceful laurel
#

kek

soft pewter
#

Adriftus was super cool

#

I loved the spawn area

#

I wonder if it’s still up and running

foggy gorge
#

i'd try and build a team for b but xeane is done with minecraft he says kekw_dog

soft pewter
#

Thats understandable

foggy gorge
#

this is what killed his motivation i think lol

graceful laurel
#

it is bedrock though so

foggy gorge
#

we should totally build some denizen teams for when clientizen is really viable so we can compete with bedrock

soft pewter
#

real

foggy gorge
#

@dusky dust do you even run a server anymore?

#

the biggest denizen team i know right now is daxz, bot106, and hyper

#

i forget how many people mergu's server has though

soft pewter
#

what about me, myself, and I

foggy gorge
low night
#

i guess im in second place for a denizen team then lol

quartz wraith
#

funky needs his shell commands and he needs them NOW

quartz wraith
foggy gorge
quartz wraith
#

unfortunately I am stupid

foggy gorge
quartz wraith
#

I will make hellizen with no safety features

quartz wraith
soft pewter
#

lol

celest spruce
celest spruce
#

and just like that youre in the news!

foggy gorge
#

i just want git pull SCgrin

grim quail
#

Ah yes, let's make a denizen server soley to remote into our machine and do stuff like restarting the entire machine and writing up word documents.

celest spruce
#
funny:
    type: command
    name: funny
    description: Does something
    usage: /funny [something]
    permission: *
    script:
        - ~shell <context.args.first>
grim quail
#

If this was #1098024603756015726 I'd suggest shutting down the server if you're not op.

foggy gorge
#

what could possibly go wrong giving regular users a shell command kekrvs

#

the first thing mergu did when he found my test server and i gave him op was tried spawning boats

sinful spindle
#

what's the best way to troll a denizen server with /ex without actually hurting people

celest spruce
#

spawning a bunch of sheep or smth

sinful spindle
#

lame

celest spruce
#

or noises

#

or simulated lag, cancel block break events passively, wait a random amount of time, then drop the block

#

that would be a good denizen thing

sinful spindle
#

can't cancel events with /ex

celest spruce
#

ah

graceful laurel
#

/ex while <!server.online_players.is_empty> { - title per_player "title:<red>Hi <player.name>!" }

celest spruce
#

oh yeah

graceful laurel
#

or narrate it, either way it'll be annoying lol

sinful spindle
#

there's always the old credits loop

foggy ember
#

||And also use .any||

graceful laurel
#

but ya a nice little wait would be nice too lol

old venture
graceful laurel
#

/ex while <server.online_players.any> { - title per_player "title:<red>Hi <player.name>!" - wait <util.random.int[60].to[1000]>s }

foggy ember
#

That would also only send it to the linked player iirc

graceful laurel
foggy ember
sinful spindle
#

lol random body arrows sounds entertaining

#

/ex while true { - adjust <server.online_players.random> body_arrows:<util.random.int[0].to[50]> if:<server.online_players.any> - wait 1t }

foggy ember
#

skin_layers

foggy ember
#

has_friction

#

Doesn't work for players, but can still be funny

#

And map - give them random pictures

cosmic tide
#

You can give them the demo screen!

sinful spindle
#

lol i guess you can step this whole thing up a bit if you set up a web server to webget stuff from

cosmic tide
#

Adjust show_demo

sinful spindle
#

for that matter, how hard is it to download an arbitrary file to the /scripts folder? i assume massively difficult

#

but surely possible somehow

foggy ember
#

generate_tree, make random trees start poping up around people

foggy ember
#

Other then the forbidden config options I guess?

#

But I'd say downloading actual scripts into their server is a bit outside the relm of harmless trolling lol

sinful spindle
#

fair lol

#

Can denizen edit the denizen config if the right options are enabled?

#

maybe i shouldn't be theorizing ways to screw up other people's servers in a public channel lol

foggy ember
#

vanilla_tags has some fun stuff you can mess with

foggy ember
#

send_climbable_materials also, can use any block or even air

#

send_server_brand if anyone there is using F3 lol, can put something very random to just show up there

#

There's also show_endcredits - do note that iirc that might TP them back to spawn after?

#

vision is also a fun one, can make them see everything as green, negative, etc.

#

That's probably enough stuff lol

#

Oh one more fun one: make use of the delete_file mechanism and alter_uuid to absolutely tra-

sinful spindle
#

!m alter_uuid

weary mothBOT
# sinful spindle !m alter_uuid

Alters the entity's UUID, changing it to the new input UUID.
This is very likely to break things and is almost never a good idea.
This sorta-works with players, with significant side effects that will need to be compensated for.

Object

EntityTag

Input

ElementTag

Tags

<EntityTag.uuid> Returns the permanent unique ID of the entity. Works with offline players.

sinful spindle
#

o-0

low radish
sinful spindle
#

man has a custom denizen build just to enable that

graceful laurel
#

lol

low night
cosmic tide
#

You can randomly give the player sound effects

soft pewter
frozen brookBOT
#

Tag parse results for <server.online_players.any> ||||| <!server.online_players.any>: https://paste.denizenscript.com/View/111954

false ||||| <!server.online_players.any>
Had error: Potential issue: inconsistent tag marks in command! (issue snippet:  
cosmic tide
#

Like ambient cave or warden anger

frozen brookBOT
cosmic tide
#

Nice

foggy ember
weary mothBOT
# foggy ember !logcheck https://paste.denizenscript.com/View/111954
Server Version

Paper version git-Paper-380 (MC: 1.19.3)-- (:warning: Outdated build, behind by 170... Current build is 550)

Plugin Version(s)

Citizens: 2.0.30-SNAPSHOT (build 2891) -- (:warning:Outdated build, behind by 259)
Denizen: 1.2.6-SNAPSHOT (build 6642-DEV) -- (:warning:Outdated build, behind by 171)
Sentinel: 2.7.0-SNAPSHOT (build 495) -- (Outdated build, behind by 13)
dDiscordBot: 0.7 (build 267) -- (:warning:Outdated build, behind by 22)

Checked For

@foggy ember

UUID Version

4 (:white_check_mark: Online)

Java Version

17.0.7 :white_check_mark:

frozen brookBOT
soft pewter
#

hmm

#

another terrible server idea: have a chance to randomly swap a chest inventory with another player's inventory or another chest inventory. chaos ensues

#

or have an NPC theif that will steal valuble items and you have to catch them and find them to get them back

foggy ember
#

I don't think you can do that much with just /ex

#

I guess if you spawn an interaction entity, attach it to the NPC, then check it's last interaction in a loop

#

That could be a fun challenge lol, how much can you do with just /ex

soft pewter
#

Oh I didn’t know it was only with /ex I thought it was just crappy ideas haha

old venture
sinful spindle
#

No need for that

#

anything you can do with a task, ex should be able to do

#

assuming no limited characters lol

#

i guess technically you could like

#

webget -> execute as_Server "ex even_longer_stuff" lol

#

or uhh

#

just construct an increasingly long string with exs actually

low night
#

Oops

soft pewter
low night
#

But anyways it would spawn a chest next to you and if you opened it you would see all your shit go inside it and the chest would tp away

#

And all that you would have is a note saying "dear victim, it's within 100 blocks"

rigid idolBOT
low night
#

I should release it

#

I did it with a bunch of other trolls

#

And opened a survival server up for my friends

#

These are my 2 favorite clips I got

#

One of my friends actually rage quit from the one I explained above

soft pewter
#

haha

soft pewter
low night
#

It was old!

#

It's just called hard mode u wouldn't understand

grim quail
#

Today I made a custom durability system for my server, it's got a thing or two to squash but now I can tell whatever item how much durability it can ever have and it'll try (it's very best) to update the vanilla durability in terms of percentage of the custom durability.

It was annoying and kind of hacky but I'm enjoying it so far.

soft pewter
#

sweet!

grim quail
#

Math is hard :(

soft pewter
#

Looks great! i like the little icon

grim quail
#

I'm running out of icons to use until I finally jump ship to 1.20

#

Because I think we got a slew of new unicode icons to use in 1.20?

celest spruce
#

oooooh did we?

old venture
#

yeah i vaguely remember that

grim quail
#

I think

#

Might of been this.

#

Or maybe it was the uh

#

the uniform font being updated?

soft pewter
#

#actives-only message

#

yeah they added more unicode icons

celest spruce
#

only a couple more levels till i can see that ch

soft pewter
#

oh my bad haha

#

let me copy the image

#

image couresy of Hedwy :D

celest spruce
#

oh the emojis?!

#

oooooohhhhh yes

grim quail
#

Pardon?

cosmic tide
#

I must resist my urges

grim quail
old venture
#

if i went telling everyone i think is slappable that i think that of them, i'd have no friends anymore

cosmic tide
#

Lmao

#

Exactly! Krilliant knows what it means that someone is slappable

#

@grim quail 2 v 1

cosmic tide
#

I agree

grim quail
#

Can you stop pinging me for inane stuff.

cosmic tide
#

But everyone is with the right attitude

old venture
#

oh we in denizen discussion thread

cosmic tide
#

This is Denizen related

old venture
#

yes. i will write a script that'll - slap you 100 times per tick

cosmic tide
#

Ah yes the slappble scrappble

graceful laurel
#

slap command when? 👀

fleet kernel
#

!c push

weary mothBOT
# fleet kernel !c push
Group

entity

Syntax

push [<entity>|...] (origin:<entity>/<location>) (destination:<location>) (speed:<#.#>) (duration:<duration>) (script:<name>) (def:<element>|...) (force_along) (precision:<#>) (no_rotate) (no_damage) (ignore_collision)

Short Description

Pushes entities through the air in a straight line.

Description

Pushes entities through the air in a straight line at a certain speed and for a certain duration,
triggering a script when they hit an obstacle or stop flying.

You must specify an entity to be pushed.

Usually, you should specify the origin and the destination. If unspecified, they will be assumed from contextual data.

You can specify the script to be run with the (script:<name>) argument,
and optionally specify definitions to be available in this script with the (def:<element>|...) argument.
...

celest spruce
#

i wonder if this is better than shoot

old venture
#

two entirely different things

celest spruce
#

i mean for my purpose

#

i wanted to shoot smth in a straight line and i had no idea push existed

old venture
#

push is for pussies (i never understood how it worked or made it succesfully work)

#

real MEN just adjust velocity

low night
#

They can all achieve similar goals

bold mortar
#

Once I tried to adjust it for 0,1 and it throwed me in the space

#

I completely lost the cozy place where I was and was forced to build a new one cuz I didn't saved coordinates

#

villain was borned in me that moment

low night
#

Push is nice for keeping things in a straight line

#

Especially in the air

old venture
#

uhm???? gravity false adjust velocity HeellOOOOO??

#

i'll die on the hill that push is useless and dumb and noob

grim quail
#

I wish I could see hidden entities properly, shame that it's one of those weird obscure and unfixable problems that cannot be replicated and only producable on my end.

#

For those who don't know: #1067224685273681990 message I had a thread regarding hiding entities from the players and then trying to show them again so only specific people can see them.

#

Reinstall didn't fix it, guess it's just my PC being weird.

#

¯_(ツ)_/¯

#

In other news, if you end up making a custom durability system for items that have vanilla durability make sure you compensate for item tools as well, such as flint and steel, carrot on a stick, fungus on a stick. ( TIL )

graceful laurel
#

fungus on a stick?

#

what o.o

grim quail
low night
#

the nether version used for striders

#

it works suprisingly different from the regular carrot lol

graceful laurel
#

oh cool

cursive tide
grim quail
#

I wish the event on player item takes damage wasn't a hack to get the players item slot.

#

Same with mends item

fleet kernel
#

still recruiting

shut sedge
#

The 'hurt' animation does not work on the Entity.

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!

red mason
#

Yo If I'm trying to make an npc place blocks what script container will I use, I'm very new to denizen and I just finished reading the wiki and practiced a little bit but I'm still lost

graceful laurel
red mason
#

Alr tnx

grim quail
#

It's always so nice when you can find ways to compact information, or just make something look cleaner.

#

I have a custom log system for player actions and I use to just display the time format right in the logs, but now I just use a symbol that you can hover over.

#

It looks cleaner.

soft pewter
#

Oh wow that looks epic

fleet kernel
#

did you write that anticheat w denizne??

grim quail
#

No.

#

I just tell NCP to run a console command.

#

I made a thread months ago about potentially using denizen as an anti cheat.

#

Some things can be easily accomplished but some more advanced things uh.

#

Not sure.

brisk dust
#

Whats the easiest way to jump from 1 task script to another while keeping definitons (I tried Zap and then realized my mistake)

sinful spindle
#

inject it?

#

oh wait

#

make a post lol

#

@brisk dust ^

olive island
#

hi

#

is a tutorial "how to script"?

severe hornet
#

!makepost

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

severe hornet
#

such a thing does exist and we will tell you about it if you make a post 🙂

olive island
#

!makepost

weary mothBOT
# olive island !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
severe hornet
old venture
#

dude imagine an "on event cancelled" event

low night
#

determine cancelled

#

sounds like #1098024603756015726 lol

thorn bone
#

There was pr with mythicskill modernization. Like sending variables etc
Where did it go?

mossy egret
#

My pr became too big

fleet kernel
mossy egret
#

If i have time I can split it

thorn bone
#

I think force_no_persist tag should have inverted output

#

right now it's
return new ElementTag(object.getBukkitEntity().isPersistent());

tepid hull
#

!s spawned_entities

weary mothBOT
#
Possible Confusion

Did you mean to search for hide_entities?

foggy ember
#

@severe hill re #1130990554713423923 message just wanna add - don't take that as don't help at all, users providing support is always welcome; the problem is that a user would take an incorrect answer as a valid one and get entirely mislead, complain about it not working, or even worse - it will work but be unsafe/do the wrong thing.
If you want to start answering support threads there are few core tips though:

  • Always check the meta - any helper (and even monkey, as someone who made most of Denizen) checks it before answering, as it generally just contains the answer if you know how to look (e.g. in that case, you'd look at the event meta and see <context.player> isn't a thing).
  • Use a test server, just throwing together a quick 1 minute test can help you confirm a lot of answers, which again a lot of helpers/devs who've been using Denizen for years still do to
  • Not directly related to providing answers, but a very good way to practice (which I used myself, way before even being a helper) is to look at a thread, think about what your answer would be, then compare it against the actual answer
severe hill
#

I understand 🙂

acoustic python
low radish
#

looks like outdated script that was using display entity preview code

acoustic python
low radish
#

@unkempt torrent how could you

acoustic python
acoustic python
#

can this be fixed somehow?

unkempt torrent
unkempt torrent
#

github semi-updated, will work but have to replace that quaternion proc later

unkempt torrent
#

can you open a thread

#

and make sure that you throw that item away and get a new one

#

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

grim quail
#

Here I was thinking that I need to make a procedure that will dynamically make a text border on my item lore so that it can look all snug, because there are some rare instances of the borders being too long compared to some of the lore I'm putting down.

#

Turns out I already had a procedure that does this for me.

soft pewter
#

ah that's perfect

#

serendipity

grim quail
#

Yeah, looks better than having a stretchy pre-defined border that I have all of my item lore follow. ( Which I still will have them be uniformed, but the border will still try it's best to respect the maximum width possible. )

soft pewter
#

oh sweet looks great

old venture
#

embarrassing moment for me but i totally forgot - random: exis ted

grim quail
#

I've been meaning to use it.

#

Although for most of my uses I haven't had a need to use it.

olive island
#

hi

#

when i install the plugin i don't see the folder

#

what should i do?

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!

severe hill
#

do you guys have any cool ideas for fun/useful scripts that could potentially be used on a server, i'm rly bored these days lmao

soft pewter
#

cat cannon!

#

basic, but effective

severe hill
#

poor cats 😢

severe hill
#

that would be sick

severe hill
#

Like cannons that you have to build with blocks

#

?

quartz wraith
#

I don’t care. Make a big ball shooty thing

severe hill
#

Lmao

old venture
#

"make something i want for me"

quartz wraith
rustic drift
#

hello, is it possible to add an offset to a mount? like have the riding entity 5 blocks away from its mount

tidal cave
#

in which direction

rustic drift
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!

tidal cave
#

holy sht that sounds damn scary

    - playsound sound:item_elytra_flying <player> pitch:<util.random.decimal[0.505].to[0.5]> volume:1000```
fleet kernel
#

...!

rough lark
#

anyone know of any entities that can still be picked up when the player's inventory is full?

thorn bone
#

xp orbs?

lament verge
rough lark
#

not a bad idea tbh, i was trying tridents and arrows and some other things

cosmic tide
#

Lead by example

#

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

cosmic tide
#

🧌

rough lark
#

i don't need denizen support

cosmic tide
#

Then

#

thinks hard

#

!channel

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

cosmic tide
#

Aha!

rough lark
#

i don't need support period

cosmic tide
#

dies

cosmic tide
low night
#

You could also 'fake_pickup'

rough lark
#

i am not looking for suggestions on how to write the script

cosmic tide
#

Smh

low night
#

What are you trying to accomplish though?

rough lark
#

nothing

#

i have accomplished it

low night
#

oh

rough lark
#

i wrote a special item you can pick up even with a full inventory

#

about 3-4 hours ago

low night
#

Interesting

rough lark
#

i will note.. fake_pickup does nothing related to detecting the pickup in the first place

low night
#

Yeah you'd have to manually detect that which is kind of a waste

rough lark
grim quail
low night
#

You would get more control though so things like gravitating through walls or being able to pick up said items could be up to your control

grim quail
#

Wynncraft does this I believe with their resource bag, even if the inventory is full I think your bag still collects items? Or maybe I'm wrong.

rough lark
#

experience_orb[experience=-1;hide_from_players=true] mounted on top of a dropped item

#

listen to absorb event

grim quail
#

Clever.

#

Also why -1 instead of 0?>

rough lark
#

prevents merging

#

set time_lived for long-lasting orbs once my PR is merged #denizen-contrib message

grim quail
#

Well, not issue. Subject.

#

But that's still a clever workaround.

rough lark
#

xp orb suggestion is genius since they collect just like items when mounted

#

& still collect when hidden

low night
#

That's pretty interesting

#

I wonder what makes their behavior change once mounted lol

rough lark
#

it is just their normal behavior without being able to move

low night
#

Neat

soft pewter
scarlet gazelle
#

I made my first script today and am very proud. pikasurprise
and yes I know it's a super easy script hehe

scarlet gazelle
# scarlet gazelle I made my first script today and am very proud. <:pikasurprise:52324874035475253...

Spawns 15 Red Knight mobs at once and sounds the air horn

Spawn_Mini_Invasion:
type: task
script:
- execute as_server "mm m spawn Red_Knight:5 5 world,-1280,87,-2339,0,0"
- execute as_server "mm m spawn Red_Robin:5 5 world,-1280,87,-2339,0,0"
- execute as_server "mm m spawn Blood_Mage:1 1 world,-1280,87,-2339,0,0"
- execute as_server "mm m spawn Molten_Golem:3 3 world,-1280,87,-2339,0,0"
- execute as_server "mm m spawn Bandit_Dog:5 1 world,-1280,87,-2339,0,0"
- wait 2s
- execute as_server "playsound minecraft:event.raid.horn player @a -1254 126 -2272 50000 0.5 1"
- narrate "Enemies have been summoned!"
- wait 5s
- execute as_server "playsound minecraft:event.raid.horn player @a -1254 126 -2272 50000 0.5 1"
- wait 5s
- execute as_server "playsound minecraft:event.raid.horn player @a -1254 126 -2272 50000 0.5 1"

graceful laurel
#

you could totally use the playsound command and mythicmob spawn command in there, and also not use raw object notation

#

!c playsound

weary mothBOT
# graceful laurel !c playsound
Group

world

Syntax

playsound (<location>|...) (<player>|...) [sound:<name>] (volume:<#.#>) (pitch:<#.#>) (custom) (sound_category:<category_name>)

Short Description

Plays a sound at the location or to a list of players.

Description

Plays a sound to a player or nearby players at a location.
The sound is played through the player's client just like any other sounds in Minecraft.

For a list of all sounds, check https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html

Sounds are by default played under their normal sound type (eg zombie sounds are under the type Mobs/Animals).
You can optionally instead specify an alternate sound category to use.
For a list of all valid sound categories, check <@link url ht...

graceful laurel
#

!c mythicspawn

weary mothBOT
# graceful laurel !c mythicspawn
Required Plugins or Platforms

Depenizen, MythicMobs

Group

Depenizen

Syntax

mythicspawn [<name>] [<location>] (level:<#>)

Short Description

Spawns a MythicMob at a location.

Description

This allows you to spawn a MythicMob at a location using the mob's internal name.

graceful laurel
#

!g raw object notation

graceful laurel
#

note locations for spawning the mob at + where to play sounds at

foggy ember
graceful laurel
#

wait i think im misnaming it

scarlet gazelle
#

ooohhh Thank you! I will take a look and improve goat_mob

graceful laurel
#

raw locations, that's it

#

!g raw locations

foggy ember
#

(Which still isn't raw object notation, just hard-coded locations - raw object notation would be like, - teleport <player> l@1,2,3,world)

graceful laurel
#

yeah my bad misnamed it

foggy ember
rough lark
scarlet gazelle
#

Was able to add all of those and it works too :)!!
Where would be a place to ask questions or make a post for denizen scripts?

foggy ember
foggy ember
#

(Right here being #1026104994149171200)

scarlet gazelle
#

Sorry I'm dumb I see where to type pikasurprise

#

Merci!

grim quail
#

#1134964411849777273 message Re, this thread.

Found out my super error, because of some whacky tabacky business going on with enter vehicle event and me trying to cancel the event, I'm essentially providing an infinite loop of removing/attaching something to the player lol.

#

Not asking for support just pointing it out lol.

#

For those wondering what a "super error" is

[21:25:19] [Server thread/INFO]: Error within error (??!!!! SOMETHING WENT SUPER WRONG!): Woah! An exception has been called with this command!
[21:25:19] [Server thread/INFO]: Error within error (??!!!! SOMETHING WENT SUPER WRONG!): Internal exception was thrown!

Generally, when something goes horridly wrong, or an infinite callback like in my case. :^)

low radish
#

Error within error is the key part of that, not "super" lol

#

that error means that an error happened, and while that error was processing the error-handling code itself had an error

#

usually comes from mucking with the server generates exception / script generates error events

grim quail
#

I've had that happen once or twice.

low radish
#

stack overflows can also do em

grim quail
#

Yeah that'll do it.

#

I had an infinite loop going on between two tasks because of an unspawned entity and the event in question not having a fix from spigot for paper.

#

But in other news I was able to use interaction entities today to make floating item displays that when clicked on can open item shops.

#

So something was productive today.

#

If I could get them to float up and down then that would be cool, but I think that deserves it's own thread for figuring out.

low night
#

I always get exception errors or smthn like that

#

Which is extra annoying when that happens for debugging

icy dock
#

@frozen brook <element[null].is_truthy>

#

how do i use that bot?

foggy ember
#

@low radish looks like @frozen brook is offline

low radish
#

oh haha yeah i gotta fix that i nuked and reset that machine the other day

graceful laurel
#

o.o

graceful laurel
#

mcmonkey doin an Oppenheimer rn

#

“I am become death.”

flat marsh
#

i love you guys

tidal cave
#

i love you guys

fleet kernel
#

cmere mwah

flat marsh
celest spruce
#

i love you, you love me, we are a denizen family

foggy gorge
#

with so many big scripts
and constructive criticism from me to you
wont you say you love denizen too?

dreamy orbit
#

i was looking at one of my old scripts. i think there is work to be done here

low night
#

#1098024603756015726 moment

#

i cant even read the text lol

dreamy orbit
#

ye zoomed out to showcase all the beautifull pyramids

#

well almost pyramids it is missing all the bottom part

foggy gorge
low night
#

i opened it in my browsers and zoomed in

foggy gorge
#

just sideways

dreamy orbit
#

ahahahahah

#

triend untangling it but i think it's just faster to completly rewrite it lol

low night
#

what does a flat line look like i wonder

foggy gorge
#

.

low night
#

all code commented out

foggy gorge
#

and uncomment the initial comments

#

and then ask why code not work, but cant test answers because theyre in the drive thru of a mcdonalds

low night
#

we could offer support by ordering for them

#

500 big macs and a grimace shake pleaz ❤️

dreamy orbit
#

1 big mac and 20 niggets pls

#

Nuggets*

#

Wtf Is the corrector writing

low night
#

that was a close one

dreamy orbit
#

Yes hahahahah

low night
#

nugget is a very dangerous word now that i see the keyboard

foggy gorge
#

i saw "20 niggits pls" and i just

#

i wasnt sure what to take of that for a good twenty seconds

low night
#

LMAO

#

look what words are next to u and t... then try and carefully spell nugget

dreamy orbit
#

Im dying lauthing hahahaha

low night
#

one fat finger away from being cancelled

#

not passively

dreamy orbit
#

Funny thing the corrector Say that Is the correct word

#

Wtf

celest spruce
#

yeah people always say the reason qwerty is bad is because of how easy you can say the wrong thing

#

which is like the only good argument ive heard for not using qwerty (ive been typing for probably 80%+ of my life)

old venture
#

reee qwerty is le badderino!!! you should use this obscure keyboard manufactured by an old alaskan grandma instead!!

graceful laurel
#

i have like the worst keyboard typing posture its not even funny lmao

#

but its like, i can adapt to almost any keyboard because of my custom hand posture

#

i find asdfghjhkl to be a weird like resting postion

shy patrol
#

“custom hand posture”

graceful laurel
#

yes

#

my resting position is awdjiop

celest spruce
#

i was already typing by the time they started teaching it in my school

#

so i was very confused when they were like "rest where the bumps are"

graceful laurel
#

anyways time to move to #actives-only because of the off-topic-ness

celest spruce
#

true

old venture