#Open Denizen Discussion Thread
1 messages · Page 9 of 1
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
oh, one of those weird mojingles things
oh nice
for potion effect particles you have to use the offset to change the colors for it
its how mch it spreads out
speed
set data:2 to flame particles
and see
oh wait
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
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.
!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!
absolutely no clue! i know jack shit about vanilla features
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
would be very useful
does it auto split stacks to take up multiple slots?
oh wait I see nvm
yeeee
pseudo randomly though
the only thing truly random is the slot
it just halves the quantity for each slot
for the wheat, you can see it does 30-15-7 etc etc
oh interesting
but players wont notice that xD
true
holy sht tahts exacly how it looks in vanilla
@tidal cave@quartz wraith #showcase
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.
actually, kek, if you guys already downloaded it, download it again because i accidentally posted an old file
This is just what I needed for my system, thanks.
i'm glad you found a good use for it! ur welcome :)
thanks for creating this
np :) maybe someday i try making it work with all inventory types and not just chests
Proof reading is hard at 4 am lol.
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"
Me the time i couldnt figure out why a task wasnt working and it was bc i wrote "defintitions"
do y’all like
have the extension installed
it frequently will yell at you for your dumb shit
It won't tell you that SERBER is invalid when flagging something though.
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
officially requesting someone to go over at forums and accept my name change from Bill Gates to Krilliant
ye, done
thankies mcdonalds primate
monkey whatever plan you had for getting more contributors, it worked
@acoustic python this you? Please delete the review and post a thread so we can resolve whatever error you have
armor trims are gonan be a game fuanhwr
changer
you get yo have custom mmo srmor without texture packs
finally
odo i do preyuu good
good slep
true
looks like this user joined the same day they wrote this and is attempting to run folia
he's five and half okay
Not really, the tooling is extremely basic for now
i)
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
make a thread then, we'd be happy to help out with any issues :)
and if I am not a connoisseur of the denizen language and they wrote custom scripts for me, will you help me?
🤔
Yep!
I don't think so
Unless you have scripts from a decade ago or something, there should be complete back-support - if you are having issues open a thread
ok, I'll collect all the necessary data and open
I started denizen I guess 2 years ago and my scripts still works. I'm guessing your script is from way way way back
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/
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
run commands inside your procs
wdym?
nope
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.
Then post a thread???
I thought hypotenuse was only for triangles I never knew rectangles can have them
I'd imagine it would be the diagonal of a rectangle
Ohhh that too
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)
which one is more intuitive?
<[list].proc[closest_from_list].context[<[location]>]>
or
<[location].proc[closest_from_list].context[<[list]>]>
depends on what the procedure does
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
i think the first one would make more sense then imo
!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.
ObjectTag
# 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>
im just packing things neatly on procs so i dont have to think much
nice thankies didnt see this message
the sproingle boingle generator
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.
yeah definitely seems better
maybe if you included a space before it, it'd be even better
A space before the bullets?
Hmm, that's not terrible.
Think I'll use bullets for more stuff like this.
looks cool
I do a colored | before them so it just looks like a line.
Lines instead of bullets huh? That's a thought.
that's 5 random corners (.random_offset)
goddamn this is fun
skrangle mangle generator (8 points)
BWAHAHAHAHAHAHHA
GUYS
LMFAOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
this is the coolest geometry i have ever seen in minecraft
AMONG US IMPOSTER??????
🙀 🙀 🙀 🙀 🙀 🙀
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
!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!
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
if you ignore instructions we'll also ignore your questions
Sorry, I just do not understand much English, so I did not understand what the bot wrote
open a post for your question, this channel is not for support
If it is possible, try to translate it online
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
Thanks for the help, but I tried to create a new entry, but the button is not clickable
You might have to make a title and a description first
The spaces are inside tag params
Why do you use a light theme, I think it would burn out my eyes from doing so.
istg this shit caused me immense confusion in my early days
do we even have that written down anywhere
i dont think so, but kinda if you look hard enough haha #changelog message
a smart person would have made a thread or searched for existing threads and found discussion of this exact issue
no need to be rude though
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 
ok you got me xD
i hate you. look at what you've made me do. i'm unhealthily invested in THE KRILLIANT LIBRARY. give me ideas, give me your biggest challenges I NEED THEM
i wrote half of those on my phone, while coming home from work
need
thats like my tickutils but on steroids
do you have a script for progress bars? it could be really useful
ice posted one in #showcase really recently
better than mine so i alr replaced it xD
there are TWO tasks there, the rest are all procs, i remember tickutils was more of commands/tasks?
soon, my friend, soon
it feels incomplete, needs everything that someone could ever ask for
yeah kinda? its a combination of tasks and procedures
https://github.com/0tickpulse/TickMC/blob/master/plugins/Denizen/scripts/tickutil/tickutil_progress_bar.dsc heres my progress bar script btw
you can take the last proc and make it a standalone tbh
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
i think they serve a different purpose
feels like it
if you look here, i have multiple "presets" that automatically get flagged on the player so you can just use the flag tag anywhere
yeah that was what i meant when i said yours was extremely personalized
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
im glad you think that way, definitely takes a weight from my shoulders kek
im thinking of uploading the lib to my github tomorrow
and thats also a flaw of using java plugins, theyre hard to modify on your own
gotta restart learning how to use github
what, you stole the logic part, which is the only way todo a specific thing? 
how could you!
modbot warm
noooo!!! i will get bamned!!
i still use 0ticks slash proc in every project of mine
i just took the task and slapped a comment "# made by 0tick"
is there? i hadn't noticed
and no
side note, apparently i'm subscribed to nimsy
gotta fix that
theres like 5 posts from new people within 24 hours
which is rare
unless i forgot
wait nvm
i think im just
hallucinating
Oh so I'm not the only one who credits people when they make something that I didn't originally make.
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π
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.
definitely a good n proper thing to do
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
I didn't know about that description bit
maybe we need a lang page for correctly formatting procs, tasks, anything that is intended for others to use
Hello, if I define a player flag without expire, then it is always valid and never expires?
!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!
Can answer that in a thread if u make one
kinda like my library (that I haven't touched in way too long)
oh whoops, I thought I clicked the reply thing. I was referring to your library you're working on
it's in resources
libraries everywhere! 
imma see it
This contains, just, oh so many different utilities, from procs to tasks to commands that I all use on a day to day basis when working on projects.
CONFIG
The config contains some stuff you might want to change for your particular setup...
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.
goddamn it stays true to the name
i'll have some fun w it later
is it just me or did they make the text HUGEer then usual
looks intentional
i don't feel like opening a thread for this, why does denizen say Unsupported API version 1.17 and doesn't start?
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!
Nice
done
👍 thanks
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?
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
View the Denizen Beginner's Guide at https://guide.denizenscript.com/
Hmm I see, and what about the second question?
When it comes to intricate questlines (including sidequests)
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
Alright, thanks!
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
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)?
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
Denizen is one of the best plugins to achieve something like this
How come?
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
Boss fight for the second dungeon, the Forest Citadel on our server.
Still needs some moveset tweaks and cooldowns but he's basically finished.
Uses the Denizen and MythicMobs plugins, made by Ricky/frosty_winds.
Checkout some of my other work!
https://www.reddit.com/user/Frosty_Winds/posts/
Denizen:
https://www.spigotmc.org/resources/deniz...
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
Yes that's possible. If you need help with ideas on how you could accomplish that, create a post.
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
For more examples on what is possible you should check out #showcase also check out @dusky dust 's YouTube channel he made Valorant in MC using Denizen.
W plug W denizener
does anyone have a /skin command that works exactly like skinsrestorer's?
Tired of having to organize your skins?
Or do you happen to get this error often when you change your skin and try to relog real quick?:
Invalid session (Try restarting your game)
Well, now you don't even have to log out to change your skin, AND...
so of course i have a webserver for my site, for fun
i just finished putting together my great 404 page
It's a fun place to be - but uhhh, it looks like you typed the site wrong. https://home.behr.dev/yeeHaw doesn't exist!
that's awesome
the embed image changes to a different guy acting confused or shrugging each time a new link that isn't discord-cached comes around 
you should click the link itself
i already have

45 points!
im so happy with my inefficient website kek
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
not really an answer but ive seen so much done with rp's that i just cannot believe that anything isnt possible
Little vague but I'd make a post for that
what is the denizen term for freeze effect? you know, the frost visual when a player walks on powdered snow.
!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!
- adjust <[target].find.living_entities.within[4]> freeze_duration:30s
how come blockcrack doesn't take a list of locations like playeffect or literally everything else lol
Hmm that’s a good question. Maybe it’s worth making a feature request as I can’t think about how it could be an issue
,agic
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]>]>!
bc tagparser bork
it totally would work on a server
its not working on my server
wut
!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!
ye make post
#denizen-contrib message missed opportunity to call the mech sunscreen
😔
😔
missed opportunity to call the mech is_vampire
Or is_introvert
missed opportunity to call the mech melanin
missed opportunity to call the mech hates_the_deadly_laser
/gamerule TheSunIsADeadlyLaser
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”
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]>
!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!
what about
"but this is a discussion thing and not something i need help with, because it works fine just looks ugly"
That could fall under the last two points
but it doesnt 😃
just an open discussion about code quality
i don't need assistance
this is a silly argument, and i don't think you're genuninely struggling to understand the point
yeah but you’re asking if there’s a cleaner way to write it
asking for answers is support
ok ima reword it cuz ur kinda right it reads like i need help
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
valid,, im good tho! sounds like the question isn't that .. discussive.. ?
the primary reason this post exists is to direct people to make their own posts in the correct way
or stupid shit like this lmao
anything actually productive should go in it's own post
even if you're 'discussing', we have a discussion tag for your posts lol
gotcha gotcha
that makes sense
am i crazy for thinking that "open denizen discussion thread" is a misleading name then
yeah
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
i'm going to end this here but i think u missed my point
ok
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
what's the benefit to using a custom event vs a task script?
They achieve the same thing really
Someone made a good point for using one or the other but I forgot
oh my god ur the best
The search feature is a life saver
ahh so it's basically a semantic thing
used to implicitly distinguish the context between different computes
i like how this person thiinks
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
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
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
Iirc using the spawn event with a matcher was way more sane then cancelling prespawn
wdym?
Disable debug for performance tests
^ the resource intensive thing there is generating the debug
neither, it's the same
not literally, but functionally
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?
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
Returns a simple debuggable stats report for all ScriptEvents during this server session.
ElementTag
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
Did you mean to search for command customevent?
Deprecated in favor of !mechanism system.reset_event_stats
server
None
oh deprecated for system
@dusky dust how did you make your agent selector screen?
shaders and armor stands
oh armor stands
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.'
- if flag player_version matches_regex version_([0-9]+\.[0-9]+\.[0-9]+):
!guide
View the Denizen Beginner's Guide at https://guide.denizenscript.com/
- this isnt the channel to ask for help
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
I 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
But what about .02
AI generated denizen scripts don't really work. Make a post, and we can help you learn how to put this together
uhhhh
my screen was here, sorry
gotta love discord
@tranquil wave ^ since i don't see a post by you yet
refresh_player is for 1.19+ only?
Yes, but also - !makepost
i have 3]
And you should really consider updating - you're 2 major versions behined at this point (you use 1.18 iirc?)
yes
I just wanted to do an open alpha test on a tested version
and now it's done and i can do updates
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?
!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!
thanks 🙂
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
No
noot noot
nevermind, I was using the wrong version. Thanks tho
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]>
In my opinion it makes code less clean
If even I would use it for stop command only, when I dont have to narrate text to a player
^ 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)
i found out that if: argument is actually faster than classic - if
so i use it in single lined ifs
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.
what is clean?
if you can read it, then it's clean
Feel like it's more a debate about width vs height
Which is really just up to preference
my elevator script is the most garbage script i have
just walls of text
i can't read it
I don't think it's because "walls of text"
meh
Put on dark mode 
i can try, but i'm afraid to lose color settings
out of everything in that picture, that was the true crime
looking at old code makes my head squishy
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"
Still finding scripts I wrote two years ago that does - define my_stuff:my_value :(
ewww!
Still finding scripts that use the % symbol for defs
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)
- if true if:<[tag]>: 
imagine alternative world where denzien vscode extension used semantic tokens
Wdym
WAIT THAT GIVES PERFORMANCE??? ADDING TO MY TWO SCRIPTS IMMEDIATELY
if youre that considerate about optimizing performance you shouldn't be using scripting software anyways
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
now we need to know ALL weird hacky ways to get minimal amounts of performance
imagine how many posts in cursed scripts
Go talk to tony
why not all denizen coders team and make better server than hypixel
Time
because we have our own servers?
or not everyone has the time and effort to do a big project that would require tideious collaboration?
this uhh
kind of was/is a thing
denizen centered servers have been attempted
adriftus was somewhat successful and consistented primarily of talented denizen scripts iirc
yeah and hypixel devs are paid
everyone here has a different passion
so
like maybe if mc monkey started a server and paid us
ppl might do it
Or someone whos interested sponsors the project
yeah
this, but it kind of died just from a lack of interest
it appears to me that everyone in this community suffers from adhd
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
id say we had some real crazy shit going on when we were successful though lol

insecurizen ran shell commands and it wasnt really safe lol
actually that whole conversation was golden #denizen-pre-forum message
😂
https://github.com/Adriftus-Studios/network-script-data/graphs/contributors
there were 14 of us who worked on adriftus from here also
can really see when i took a break 
kek
Adriftus was super cool
I loved the spawn area
I wonder if it’s still up and running
i'd try and build a team for b but xeane is done with minecraft he says 
Coming soon this Spring 2023. Experience a dramatic tale unfold with Minecraft’s Dungeons & Dragons DLC. Explore iconic locations in the Forgotten Realms like Icewind Dale and Candlekeep, battling Beholders, Mimics, and more.
#dnd #dungeonsanddragons #minecraft
this is what killed his motivation i think lol
it is bedrock though so
we should totally build some denizen teams for when clientizen is really viable so we can compete with bedrock
real
@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

i guess im in second place for a denizen team then lol
where do I find this
funky needs his shell commands and he needs them NOW
i have a weak spot in my brain for power scaling grind fests
id totally throw money at any comission aiming to PR ~shell to denizen
unfortunately I am stupid
im fairly confident i would be in very bad trouble if i shared that file lol
I will make hellizen with no safety features
dms exist for a reason my friend
lol
his server inspired me a lot
- ~shell "<insert very dangerous reverse shell script>"
and just like that youre in the news!
i just want git pull 
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.
funny:
type: command
name: funny
description: Does something
usage: /funny [something]
permission: *
script:
- ~shell <context.args.first>
If this was #1098024603756015726 I'd suggest shutting down the server if you're not op.
what could possibly go wrong giving regular users a shell command 
the first thing mergu did when he found my test server and i gave him op was tried spawning boats
what's the best way to troll a denizen server with /ex without actually hurting people
spawning a bunch of sheep or smth
lame
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
can't cancel events with /ex
ah
/ex while <!server.online_players.is_empty> { - title per_player "title:<red>Hi <player.name>!" }
oh yeah
or narrate it, either way it'll be annoying lol
there's always the old credits loop
That's invalid syntax, but would also most likely crash the server because no wait
||And also use .any||
works for me o.o
but ya a nice little wait would be nice too lol
while true: - repeat 10: - announce to_console "hello console!" - wait 1t
/ex while <server.online_players.any> { - title per_player "title:<red>Hi <player.name>!" - wait <util.random.int[60].to[1000]>s }
That would also only send it to the linked player iirc
#787765855617286170 message
- Adjust biomes with random
foliage_colors - Mess with player's
body_arrows can_pickup_itemsfake_teleport/fake stuff in generalfreeze_durationgravity- Adjusting their pose,
gliding, etc. mirror_player
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 }
skin_layers
Don't forget a -q lol
has_friction
Doesn't work for players, but can still be funny
And map - give them random pictures
You can give them the demo screen!
lol i guess you can step this whole thing up a bit if you set up a web server to webget stuff from
Adjust show_demo
for that matter, how hard is it to download an arbitrary file to the /scripts folder? i assume massively difficult
but surely possible somehow
generate_tree, make random trees start poping up around people
Specifically blocked
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
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
vanilla_tags has some fun stuff you can mess with
Also yeah that's always a fun one
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-
!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.
EntityTag
ElementTag
<EntityTag.uuid> Returns the permanent unique ID of the entity. Works with offline players.
o-0
the <!server tag works for you?
man has a custom denizen build just to enable that
Not with that attitude!
You can randomly give the player sound effects
that looks super cursed 😓
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:
Like ambient cave or warden anger
Tag parse results for <!server>: https://paste.denizenscript.com/View/111955
<!server>
Nice
Content of Server Log Paste #111954: Denizen Debug Logs From If We Have A Tag Parser To Parse Tags, Can We Have A Parse Tagger To Tag Parses?... pasted 2023/07/05 15:43:42 UTC-07:00, Paste length: 1576 characters across 22 lines, Content: Java Version: 17.0.7Up-time: 8h 42m
Paper version git-Paper-380 (MC: 1.19.3)-- (:warning: Outdated build, behind by 170... Current build is 550)
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)
@foggy ember
4 (:white_check_mark: Online)
17.0.7 :white_check_mark:
Tag parse results for <!server.online_players.any>: https://paste.denizenscript.com/View/111956
<!server.online_players.any>
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
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
Oh I didn’t know it was only with /ex I thought it was just crappy ideas haha
ex run my_complicated_task LMAO
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
I had something somewhat similar to that lol
Oops
😆 lol
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"
thats evil haha
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
haha



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.
sweet!
Math is hard :(
https://cdn.discordapp.com/attachments/635304225219411988/1126305792107221124/image.png Also TIL the brush exists in 1.19.4, happen to find this when looking for items that have durability and aren't a block.
Looks great! i like the little icon
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?
oooooh did we?
yeah i vaguely remember that
I think
Might of been this.
Or maybe it was the uh
the uniform font being updated?
only a couple more levels till i can see that ch
Ngl you sound slappable
Just a face that says "slap me"
Pardon?
I must resist my urges
if i went telling everyone i think is slappable that i think that of them, i'd have no friends anymore
Lmao
Exactly! Krilliant knows what it means that someone is slappable
@grim quail 2 v 1
you're slappable
I agree
Can you stop pinging me for inane stuff.
But everyone is with the right attitude
oh we in denizen discussion thread
This is Denizen related
yes. i will write a script that'll - slap you 100 times per tick
Ah yes the slappble scrappble
slap command when? 👀
!c push
entity
push [<entity>|...] (origin:<entity>/<location>) (destination:<location>) (speed:<#.#>) (duration:<duration>) (script:<name>) (def:<element>|...) (force_along) (precision:<#>) (no_rotate) (no_damage) (ignore_collision)
Pushes entities through the air in a straight line.
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.
...
i wonder if this is better than shoot
two entirely different things
i mean for my purpose
i wanted to shoot smth in a straight line and i had no idea push existed
push is for pussies (i never understood how it worked or made it succesfully work)
real MEN just adjust velocity
They can all achieve similar goals
I feel the same about adjusting velocity
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
uhm???? gravity false adjust velocity HeellOOOOO??
i'll die on the hill that push is useless and dumb and noob
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 )
the nether version used for striders
it works suprisingly different from the regular carrot lol
oh cool
Looks around at the dozens of projects I have started and not finished.... Maybe
I wish the event on player item takes damage wasn't a hack to get the players item slot.
Same with mends item
we also got krilly
still recruiting
The 'hurt' animation does not work on the Entity.
!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!
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
refer to the message above yours
Alr tnx
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.
Oh wow that looks epic
howd u log the cheats
did you write that anticheat w denizne??
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.
Whats the easiest way to jump from 1 task script to another while keeping definitons (I tried Zap and then realized my mistake)
!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!
such a thing does exist and we will tell you about it if you make a post 🙂
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
my dude thats only an info box, not an actual command
they made a post
dude imagine an "on event cancelled" event
There was pr with mythicskill modernization. Like sending variables etc
Where did it go?
My pr became too big
cough
If i have time I can split it
I think force_no_persist tag should have inverted output
right now it's
return new ElementTag(object.getBukkitEntity().isPersistent());
!s spawned_entities
[Just Barely Matched] !Command spawn.
Did you mean to search for hide_entities?
@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
I understand 🙂
lol
looks like outdated script that was using display entity preview code
https://forum.denizenscript.com/resources/item-display-editor.136/
downloaded from the forum
A utility which lets your players place item_displays.
Documentation comes later I'm lazy and tired..
@unkempt torrent how could you
and you were right)
can this be fixed somehow?
eeek!
Collection of simple Denizen Scripts for everyone. - Hydroxycobalamin/Denizen-Script-Collection
github semi-updated, will work but have to replace that quaternion proc later
the same
can you open a thread
and make sure that you throw that item away and get a new one
!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!
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.
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. )
oh sweet looks great
embarrassing moment for me but i totally forgot - random: exis ted
I've been meaning to use it.
Although for most of my uses I haven't had a need to use it.
!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!
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
poor cats 😢
cats
shadow clone jutsu
that would be sick
Working cannons
I don’t care. Make a big ball shooty thing
Lmao
"make something i want for me"
nukes
I want to see it. I don’t need it. I call it late stage capitalism.
hello, is it possible to add an offset to a mount? like have the riding entity 5 blocks away from its mount
in which direction
theres no specific direction, i was just wondering if its possible
!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!
holy sht that sounds damn scary
- playsound sound:item_elytra_flying <player> pitch:<util.random.decimal[0.505].to[0.5]> volume:1000```
...!
anyone know of any entities that can still be picked up when the player's inventory is full?
xp orbs?
I think the problem with that is it moves
not a bad idea tbh, i was trying tridents and arrows and some other things
Smh
Lead by example
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
🧌
i don't need denizen support
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.
Aha!
i don't need support period
dies
You could also 'fake_pickup'
i am not looking for suggestions on how to write the script
What are you trying to accomplish though?
oh
i wrote a special item you can pick up even with a full inventory
about 3-4 hours ago
Interesting
i will note.. fake_pickup does nothing related to detecting the pickup in the first place
Yeah you'd have to manually detect that which is kind of a waste
.
Kind of interested n this.
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
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.
experience_orb[experience=-1;hide_from_players=true] mounted on top of a dropped item
listen to absorb event
prevents merging
set time_lived for long-lasting orbs once my PR is merged #denizen-contrib message
https://www.spigotmc.org/threads/fake-item-pickup-playerpickupitemevent-with-full-inventory.156983/ This was an interesting read just now regarding your issue.
Well, not issue. Subject.
But that's still a clever workaround.
xp orb suggestion is genius since they collect just like items when mounted
& still collect when hidden
it is just their normal behavior without being able to move
Neat
Oh cool using xp orbs is a great idea
I made my first script today and am very proud. 
and yes I know it's a super easy script hehe
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"
you could totally use the playsound command and mythicmob spawn command in there, and also not use raw object notation
!c playsound
world
playsound (<location>|...) (<player>|...) [sound:<name>] (volume:<#.#>) (pitch:<#.#>) (custom) (sound_category:<category_name>)
Plays a sound at the location or to a list of players.
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...
!c mythicspawn
Depenizen, MythicMobs
Depenizen
mythicspawn [<name>] [<location>] (level:<#>)
Spawns a MythicMob at a location.
This allows you to spawn a MythicMob at a location using the mob's internal name.
!g raw object notation
View the guide page 'Common Mistakes - Don't Type Raw Object Notation' at: https://guide.denizenscript.com/guides/troubleshooting/common-mistakes.html#don-t-type-raw-object-notation
note locations for spawning the mob at + where to play sounds at
I don't think they did? the locations there were input to the mm commands
wait i think im misnaming it
ooohhh Thank you! I will take a look and improve 
View the guide page 'Common Mistakes - Don't Script Raw Locations' at: https://guide.denizenscript.com/guides/troubleshooting/common-mistakes.html#don-t-script-raw-locations
(Which still isn't raw object notation, just hard-coded locations - raw object notation would be like, - teleport <player> l@1,2,3,world)
yeah my bad misnamed it
And also that's very cool :D, we're always happy to provide feedback if you'd like that - although should make a separate post in this channel for that
it's good to reference these guide pages for when they swap to mythicspawn so they don't just carry the locs over
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?
Yeah, the raw location guide page though
Right here, can just create a new post
(Right here being #1026104994149171200)
#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. :^)
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
I've had that happen once or twice.
stack overflows can also do em
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.
I always get exception errors or smthn like that
Which is extra annoying when that happens for debugging
@low radish looks like @frozen brook is offline
oh haha yeah i gotta fix that i nuked and reset that machine the other day
o.o
i love you guys
i love you guys
🥺 💋
i love you, you love me, we are a denizen family
with so many big scripts
and constructive criticism from me to you
wont you say you love denizen too?
ye zoomed out to showcase all the beautifull pyramids
well almost pyramids it is missing all the bottom part

it's a young denizzle's heartbeat until it either gives up or joins the dark side
i opened it in my browsers and zoomed in
ahahahahah
triend untangling it but i think it's just faster to completly rewrite it lol
what does a flat line look like i wonder
.
all code commented out
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
that was a close one
Yes hahahahah
nugget is a very dangerous word now that i see the keyboard
i saw "20 niggits pls" and i just
i wasnt sure what to take of that for a good twenty seconds
Im dying lauthing hahahaha
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)
reee qwerty is le badderino!!! you should use this obscure keyboard manufactured by an old alaskan grandma instead!!
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
“custom hand posture”
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"
anyways time to move to #actives-only because of the off-topic-ness
true
two Hs??? wut the heellll

